body {
    position: relative;
    height: 100vh;
    margin: 0;
    background-color: #f2f2f2;
    width: 100%;
    height: 100vh;

    padding: 0 !important;
    display: flex;
}

/*.container {*/
/*  width: 100%;*/
/*  height: 100vh;*/
/*  background-color: #dae6f9;*/
/*  padding: 0 !important;*/
/*  display: flex;*/
/*}*/

#coverLogin {
    height: 100vh;
    width: 35%;
    transition: all .8s;
    background-color: #dae6f9;
}

.forgotten-pass {
    transition: all 0.8s;
    /*transform: translateX(185%);*/
    position: absolute;
    right: -35%;
    width: 35%;
    height: 100%;
    background-color: #dae6f9;
}

.fa-lock, .fa-user {
    float: right;
    margin-left: 17px;
    margin-top: 24px;
    position: absolute;
    z-index: 2;
    color: #00000047;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

#authId, #resetButton {
    transition: all .3s;
    transition-behavior: normal;
    transition-duration: 0.3s;
    transition-timing-function: ease;
    transition-delay: 0s;
    transition-property: all;
    box-shadow: none;
    position: relative;
    display: inline-block;
    overflow: hidden;
    background: linear-gradient(to right, var(--f-accent-adpsm) 50%, var(--primary-color-adpsm) 50%) right;
    background-size: 200% 100%;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}

#authId:hover,
#resetButton:hover {
    background-position: left;
}

#authId::before {
    content: "";
    position: absolute;
    top: 0%;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #fff;
    transition: left 0.2s ease-in-out;
    transition-behavior: normal;
    transition-duration: 0.2s;
    transition-timing-function: ease-in-out;
    transition-delay: 0s;
    transition-property: left;
    z-index: -1;
}

#authId:hover::before {
    left: 0;
    color: white;
}

#authId:hover {
    color: #fff;
}


h2.title-login {
    color: var(--primary-color-adpsm);
    text-align: center;
}

#formContent h6,
.login-forms h6 {
    padding-bottom: 20px;
}


#coverLogin::after {
    content: url('..resources/images/fida/logo_fida.png');
    position: absolute;
    right: 30px;
    top: 30px
}

/*#coverLogin::before {*/
/*  background: url('../images/app/logo.png') no-repeat;*/
/*  background-size: 200px auto;*/
/*  content: "";*/
/*  display: inline-block;*/
/*  height: 72px;*/
/*  width: 200px;*/
/*  position: absolute;*/
/*  left: 30px;*/
/*  top: 30px*/
/*}*/

/* BASIC */
body {
    font-family: "Poppins", sans-serif;
    /* height: 100vh; */
}

a {
    color: #92badd;
    display: inline-block;
    text-decoration: none;
    font-weight: 400;
}

h2 {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    margin: 40px 8px 10px 8px;
    color: #cccccc;
}

/* STRUCTURE */
.wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
}

.login-image-container {
    background: url("../images/first_page/loginPageImage.png") no-repeat;
    background-size: 100% 100%;
    width: 65%;
    box-shadow: 0 0 547px 473px #00091645 inset;
    transition: all 0.8s;
}

.login-forms {
    -webkit-border-radius: 10px 10px 10px 10px;
    border-radius: 10px 10px 10px 10px;
    /* background: #fff; */
    padding: 30px;
    width: 90%;
    max-width: 500px;
    position: absolute;
    padding: 0px;
    text-align: center;
    transform: translateX(-900px);
    /* transition: all 0.8s; */
}

#formFooter {
    padding: 15px 45px;
    text-align: center;
    -webkit-border-radius: 0 0 10px 10px;
    border-radius: 0 0 10px 10px;
    display: flex;
    justify-content: flex-end;
}

#formFooter a {
    color: var(--main-color);
    font-weight: 700;
    text-decoration: none;

}

.footer-reset-pass {
    display: flex;
    justify-content: center;
}

.back-to-login {
    margin-top: 12px;
    padding: 5px 6px;
    font-size: 20px;
    color: var(--main-color);
    transition: all .2s;
    border-radius: 50%;
}

.back-to-login:hover {
    background-color: #7575757A;
    color: black;
}

/* TABS */
h2.inactive {
    color: #cccccc;
}

h2.active {
    color: #0d0d0d;
    border-bottom: 2px solid #5fbae9;
}

/* FORM TYPOGRAPHY*/
[type=button], [type=submit], [type=reset] {
    background-color: var(--main-color);
    border: none;
    color: #f5f5f5;
    padding: 15px 35px;
    width: 80%;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    /* text-transform: uppercase; */
    font-size: 13px;
    -webkit-box-shadow: 0 10px 30px 0 rgba(95, 186, 233, 0.4);
    box-shadow: 0 10px 30px 0 rgba(95, 186, 233, 0.4);
    -webkit-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
    margin: 5px 20px 5px 20px;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

[type=button]:hover, [type=submit]:hover, [type=reset]:hover {
    background-color: var(--second-color);
}

input[type=button]:active, input[type=submit]:active, input[type=reset]:active {
    -moz-transform: scale(0.95);
    -webkit-transform: scale(0.95);
    -o-transform: scale(0.95);
    -ms-transform: scale(0.95);
    transform: scale(0.95);
}

input[type=text], input[type=password] {
    background-color: unset;
    /* background-color: #f5f5f5!important; */
    border: none;
    color: var(--main-color);
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 5px;
    width: 80%;
    /*     border: 2px solid #ccc; */
    border-bottom: 2px solid #ccc;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    -webkit-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
    box-sizing: border-box;
}

input[type=text]:focus, input[type=password]:focus, input[type=text]:hover, input[type=password]:hover {
    background-color: #f5f5f5;
    border-bottom: 2px solid var(--main-color);
}

input[type=text]::placeholder, input[type=password]::placeholder {
    color: #cccccc;
}

/* ANIMATIONS */

/* Simple CSS3 Fade-in-down Animation */
.fadeInDown {
    -webkit-animation-name: fadeInDown;
    animation-name: fadeInDown;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

@-webkit-keyframes fadeInDown {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, -150%, 0);
        transform: translate3d(0, -150%, 0);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
    }
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, -150%, 0);
        transform: translate3d(0, -150%, 0);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
    }
}


@-webkit-keyframes fadeInDownSmall {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, -100%, 0);
        transform: translate3d(0, -100%, 0);
    }
    100% {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

@keyframes fadeInDownSmall {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, -100%, 0);
        transform: translate3d(0, -100%, 0);
    }
    100% {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}


/* Simple CSS3 Fade-in Animation */
@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@-moz-keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fadeIn {
    opacity: 0;
    -webkit-animation: fadeIn ease-in 1;
    -moz-animation: fadeIn ease-in 1;
    animation: fadeIn ease-in 1;
    -webkit-animation-fill-mode: forwards;
    -moz-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    -webkit-animation-duration: 1s;
    -moz-animation-duration: 1s;
    animation-duration: 1s;
}

.fadeIn.first {
    -webkit-animation-delay: 0.4s;
    -moz-animation-delay: 0.4s;
    animation-delay: 0.4s;
}

.fadeIn.second {
    -webkit-animation-delay: 0.6s;
    -moz-animation-delay: 0.6s;
    animation-delay: 0.6s;
}

.fadeIn.third {
    -webkit-animation-delay: 0.8s;
    -moz-animation-delay: 0.8s;
    animation-delay: 0.8s;
}

.fadeIn.fourth {
    -webkit-animation-delay: 1s;
    -moz-animation-delay: 1s;
    animation-delay: 1s;
}

/* Simple CSS3 Fade-in Animation */
.underlineHover:after {
    display: block;
    left: 0;
    bottom: -10px;
    width: 0;
    height: 2px;
    background-color: #0d0d0d;
    content: "";
    transition: width 0.2s;
}

.underlineHover:hover {
    color: #0d0d0d;
}

.underlineHover:hover:after {
    width: 100%;
}

/* OTHERS */
*:focus {
    outline: none;
}

#icon {
    width: 60%;
}

.mt-40 {
    margin-top: 40px
}

.mb-40 {
    margin-bottom: 40px
}

.lang-div {
    width: 100%;
    text-align: right;
    padding-right: 20px;
}


@media (max-height: 640px) {
    #coverLogin {
        transform: translateY(0);
        top: 2%;
    }

    .fadeInDown {
        -webkit-animation-name: fadeInDownSmall;
        animation-name: fadeInDownSmall;
    }

    .mt-40 {
        margin-top: 20px
    }

    .mb-40 {
        margin-bottom: 20px
    }
}

@media (max-width: 1260px) {
    #coverLogin {
        width: 100%;
        position: absolute;
        background: #ffffff6e;
    }

    .login-image-container {
        display: none;
    }

    .forgotten-pass {
        width: 100%;
        right: -100%;
    }
}

@media (max-height: 650px) {
    #coverLogin {
        width: 100%;
        position: absolute;
        background: #ffffff6e;
    }

    .login-image-container {
        display: none;
    }

    .forgotten-pass {
        width: 100%;
        right: -100%;
    }
}

@media ( max-width: 500px) {
    .container {
        display: block;
        min-height: 575px;
        height: 100vh;
        max-height: 100%;
    }

    #coverLogin::after {
        float: left;
        bottom: 17px;
        left: 50%;
        transform: translatex(-50%);
        left: 50%;
        transform: translatex(-50%);
        top: unset;
    }

    #coverLogin ::before {
        left: 50%;
        transform: translatex(-50%);
    }

}

@media (max-width: 700px) {
    #formContent {
        left: unset !important;
    }

    #formFooter {
        padding: 25px 35px;
        text-align: left;
    }
}

button {
    cursor: pointer;
}

@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: unset !important;
    }
}
