/*
=======================================
================MODAL==================
=======================================
*/
.modal_gestion {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.85);
    padding-top: 50px;
}

.modal_gestion .animate {
    -webkit-animation: animatezoom 0.6s;
    animation: animatezoom 0.6s
}

@-webkit-keyframes animatezoom {
    from {-webkit-transform: scale(0)}
    to {-webkit-transform: scale(1)}
}

@keyframes animatezoom {
    from {transform: scale(0)}
    to {transform: scale(1)}
}

.modal_gestion .modalbody {
    background-color: rgba(30,30,30, 1);
    margin: 2.5% auto auto auto;
    border: 2px solid rgba(4, 151, 4, 0.9);
    border-radius: 10px;
    width: 500px;
    font-family: 'discordtext', 'sans-serif';
}

.modal_gestion .modalheader {
    text-align: center;
    margin: 1% 0%;
    position: relative;
    border-bottom: 2px solid rgba(4, 151, 5, 1);
}

.modal_gestion .modalmain {
    padding: 20px;
    background: linear-gradient(180deg, rgba(30,30,30,0.5) 0%, rgba(37,37,38,0.5) 65%, rgba(38, 38, 39, 0.5) 95%);
}

.modal_gestion .loadingprocess {
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: linear-gradient(180deg, rgba(30,30,30,0.5) 0%, rgba(37,37,38,0.5) 65%, rgba(38, 38, 39, 0.5) 95%);
}

.modal_gestion .modalheader img {
    width: 80%;
    padding: 1.5%;
}

.modal_gestion .modalheader .close {
    position: absolute;
    right: 2.5%;
    top: -5%;
    color: rgb(106, 108, 110);
    font-size: 35px;
    font-weight: bold;
    transition: 0.5s;
}

.modal_gestion .modalheader .close:hover {
    color: darkred;
    cursor: pointer;
}

.modal_gestion .modalheader .close:focus {
    color: darkred;
    cursor: pointer;
}

.modal_gestion .loadingprocess img {
    width: 100px;
}

.modal_gestion .pswinput {
    display: flex;
    width: 100%;
}

.modal_gestion .pswview {
    margin: 5px 0;
    margin-left: 5px;
    min-width: 40px;
    font-size: 1em;
    font-weight: 700;
}

.modal_gestion .groupbutton {
    display: flex;
    justify-content: center;
}

.modal_gestion .groupbutton button {
    margin: 10px !important;
}

.modal_gestion label {
    color: rgba(43, 106, 17, 1);
    font-size: 1.2em;
    font-weight: 500;
    letter-spacing: 0.075em;
}

.modal_gestion input[type=text],
.modal_gestion input[type=email],
.modal_gestion input[type=number],
.modal_gestion input[type=password] {
    width: 100%;
    padding: 10px 20px;
    margin: 5px 0;
    display: inline-block;
    box-sizing: border-box;
    border: 1px solid rgba(4, 151, 4, 0.9);
    border-radius: 5px;
    background-color: rgba(50, 50, 51, 0.75);
    color: rgba(253, 209, 96, 0.75);
    outline: none;
}

.modal_gestion input[type=text]:focus,
.modal_gestion input[type=email]:focus,
.modal_gestion input[type=number]:focus,
.modal_gestion input[type=password]:focus {
    background-color: rgba(50, 50, 51, 0.75);
    border: 1px solid rgba(253, 209, 96, 0.75);
    color: rgba(4, 151, 4, 0.9);
}

.modal_gestion input::placeholder {
    color: rgba(253, 209, 96, 0.75);
}

.modal_gestion input::-webkit-inner-spin-button,
.modal_gestion input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.modal_gestion #needpsw {
    margin-top: 10px;
    padding: 0 20px;
    background-color: rgba(50, 50, 51, 0.75);
    border: 1px solid black;
    border-radius: 10px;
}

.modal_gestion #needpsw .valid {
    color: rgba(43, 106, 17, 1);
}
.modal_gestion #needpsw .valid:before {
    position: relative;
    left: -20px;
    content: "✔";
}

.modal_gestion #needpsw .invalid {
    color: rgba(253, 209, 96, 0.75);
}
.modal_gestion #needpsw .invalid:before {
    position: relative;
    left: -20px;
    content: "✖";
}

.modal_gestion #needpsw p {
    margin-block-start: 0.5em;
    margin-block-end: 0.5em;
}

.modal_gestion #needpsw ul {
    list-style-type: none;
    margin-block-start: 0.5em;
    margin-inline-start: 1.2em;
    margin-block-end: 0.5em;
    padding-inline-start: 0.5em;
}

.modal_gestion #needpsw li {
    font-size: 1em !important;
}

.modal_gestion .card {
    padding: 0em;
}

.modal_gestion .contain {
    min-height: 0 !important;
}

.modal_gestion .cardheader {
    display: flex;
    justify-content: space-between;
}

.modal_gestion .cardcontain {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    margin: 0.25em 1em;
}

.modal_gestion .cardcontainer .active {
    background-color: rgba(244, 244, 139, 0.85);
}

.modal_gestion .cardheader h5 {
    margin-inline-start: 0.5em;
    margin-block-end: 0.25em;
    font-size: 0.9em;
}

.modal_gestion .cardheader i {
    position: relative;
    font-weight: 700;
    top: 6px;
    left: -6px;
    color: rgba(43, 106, 17, 1);
}

.modal_gestion .cardcontain p {
    margin-block-start: 0em;
    margin-block-end: 0em;
}

.modal_gestion h5 {
    margin-block-start: 0.5em;
    margin-block-end: 1.5em;
    font-family: 'discordtitle', 'Arial', 'Helvetica', 'sans-serif';
    text-transform: uppercase;
    font-weight: 100;
    color: rgba(43, 106, 17, 1);
    font-size: 1.25em;
}

.modal_gestion h6 {
    margin-block-start: 0.75em;
    margin-block-end: 0.15em;
    font-family: 'discordtitle', 'Arial', 'Helvetica', 'sans-serif';
    text-transform: uppercase;
    font-weight: 100;
    color: darkred;
    font-size: 1.25em;
    line-height: 1.2em;
}

.modal_gestion p {
    font-size: 1em !important;
}

/* LOGIN */
#loginmain { display: block; }
#loginmainerror { display: none; flex-direction: column; align-items: center; }
#loginmainerror img { margin-top: 10px; width: 80px; }
#loginmainerrorbanned { display: none; flex-direction: column; align-items: center; }
#loginmainerrorbanned img { margin-top: 10px; width: 80px; }
#loginmainipChanged { display: none; flex-direction: column; align-items: center; }
#loginmainsuccess { display: none; flex-direction: column; align-items: center; }
#loginmainsuccess img { margin-top: 10px; width: 80px; }
#loginmainsuccess h6 { color: #008040; }
#loginfooter { display: flex; justify-content: space-between; flex-wrap: wrap; border-top: 2px solid rgba(4, 151, 5, 1); }
#loginprocess { display: none; }
#login label:last-child { color: rgba(153, 199, 98, 0.75); font-size: 1em; }
#login .loginbutton { display: flex; justify-content: center; }
#loginmainipChanged img { margin-top: 10px; width: 80px; }
#loginmainipChanged h6 { color: #F79400; }
#loginmainwarnrecaptcha { display: none; flex-direction: column; align-items: center; }

/* LOGOUT */
#logoutmain { display: block; }
#logoutprocess { display: none; }
#logoutmainsuccess { display: none; flex-direction: column; align-items: center; }
#logoutmainsuccess img { margin-top: 10px; width: 80px; }
#logoutmainsuccess h6 { color: #008040; }

/* PASSWORD */
#changemainpsw { display: block; }
#changemaincodepsw { display: none; }
#changemainnewpsw { display: none; }
#changepswprocess { display: none; }

/* EMAIL */
#changemainmail { display: block; }
#changemaincodemail { display: none; }
#changemainmailnew { display: none; }
#changemaincodemailnew { display: none; }
#changemailprocess { display: none; }

/* PSEUDO */
#changepseudoprocess { display: none; }
#changepseudosuccess { display: none; flex-direction: column; align-items: center; }
#changepseudosuccess img { margin-top: 10px; width: 80px; }
#changepseudosuccess h6 { color: #008040; }

/* IMAGE */
#showimg .imgframe {
    background-color: rgba(30,30,30, 1);
    margin: auto;
    border: 2px solid rgba(4, 151, 4, 0.9);
    border-radius: 10px;
    width: 95%;
    height: 90%;
}
#showimg .modalheader { border: none; margin: 0; }
#showimg .modalmain { background: none; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 0; }
#showimg .modalmain img { max-width: 95%; max-height: 95%; }
#showimg .modalheader .close { right: 1% !important; }
