@charset "UTF-8";

* {
    box-sizing: inherit;
}

html {
    height: 100%;
}

body {
    height: 100%;
    margin: 0;
    background-color: #fff;
    color: #000;
    font-size: 1.2rem;
    font-family: "Montserrat", 'Arial', sans-serif;

}

a {
    text-decoration: none;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s, box-shadow 5000s ease-in-out 0s !important;
    -webkit-box-shadow: 0 0 0px 1000px #fff inset !important;
    -webkit-text-fill-color: #727f8b !important;
}

::-webkit-input-placeholder,
:-moz-placeholder,
::-moz-placeholder,
:-ms-input-placeholder {
    font-style: italic;
    color: #727f8b !important;
    opacity: 1 !important;
}



.nowrap {
    white-space: nowrap;
}

.d-none {
    display: none;
}

/* Popup modale de récupération d'identifiants */

#modalRecupId {
    display: none;
    width: 600px;
}

#modalRecupId .modal-content {
    padding: 0;
}

#modalRecupId iframe {
    border: none;
    width: 100%;
    height: 280px;
}

html {
    font-size: 13px;
}

#page {
    min-height: 100vh;
    height: 100%;
    display: flex;
    flex-direction: column;
    font-size: 1.2rem;
    overflow: auto !important;
    background: url(../images/bg.jpg) no-repeat center center;
    background-size: cover;
}

.small-only {
    display: block;
}

.contenu {
    width: 100%;
    margin: 5% 9%;
    display: flex;
    min-height: 44rem;

}

.image {
    width: 60%;
    background: url(../images/image.jpg) no-repeat center center;
    background-size: cover;
    min-height: 100%;
}

.forme {
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(60px);
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: auto;
    padding-left: 3rem;
    padding-right: 3rem;
}


.overlay {
    position: fixed;
    bottom: 0;
    left: 48%;
    width: 7.7rem;
    height: 30%;
    padding-top: 1.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    pointer-events: none;
    z-index: 9999;
    background-color: #eb603a;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.overlay-img {
    width: 80%;
    height: auto;
}



header,
footer,
main {
    width: 100%;
    max-width: 32rem;
    /* margin: 0 auto; */
}

.separateur {
    background: #e87939;
    border: none;
    width: 80%;
    height: 3px;
    margin: 2rem 0;
}

#logo {
    display: flex;
    width: 100%;
    max-width: 100%;
    min-width: 100px;
    margin-left: 0;
    margin-right: auto;
    text-align: left;
    margin-bottom: 1rem;
}

#logo img {
    margin: auto;
    max-width: 30rem;
    height: auto;
    border: 0;
}

h2 {
    font-size: 3.2rem;
    width: 100%;
    text-align: center;
    word-wrap: break-word;
    box-sizing: border-box;
    font-family: "Montserrat", 'Arial', sans-serif;
    font-weight: bold;
    font-display: swap;
    color: #eb603a;
    text-align: left;
    margin: 0;
    line-height: 1;
    margin-top: 3rem;
    text-transform: uppercase;
}

h3 {
    font-size: 1.6em;
    width: 100%;
    text-align: center;
    word-wrap: break-word;
    box-sizing: border-box;
    font-family: "Montserrat", 'Arial', sans-serif;
    font-weight: 600;
    font-style: normal;
    font-display: swap;
    color: #223261;
    text-align: left;
    margin: 0;
    margin-bottom: 1rem;
}

p {
    font-size: 1.1rem;
    line-height: 1.4;
    margin-bottom: 2rem;
}

#fields {
    box-sizing: border-box;
    margin-bottom: 0.8rem;
    max-width: 100%;
    width: 100%;
}

#fields .field {
    position: relative;
    height: 3.1rem;
    background-color: #ffffff;
    border-radius: 15px;
}

#fields .field:first-child {
    margin-bottom: 1em;
}

/* 
#fields .field:last-child {
} */

#fields label {
    position: absolute;
    top: 0;
    left: 0;
    width: 4rem;
    height: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;

}

#fields label img {
    height: 1.5rem;
    width: auto;
    border-right: 1px solid rgba(34, 50, 97, 0.4);
    padding-right: 2rem;
    padding-left: 2.5rem;

}

#fields input[type='email'],
#fields input[type='text'],
#fields input[type='password'] {
    font-size: 1.35rem !important;
    font-weight: 300;
    font-family: "Montserrat", 'Arial', sans-serif !important;
    color: #000000 !important;
    position: absolute;
    z-index: 1;
    bottom: 0;
    left: 5.5rem;
    width: calc(100% - 5rem);
    border-bottom: 0;
    height: 100% !important;
    box-sizing: border-box;
    margin-bottom: 0;
    caret-color: #000000;
    padding: 0 2rem 0 0;
    border-radius: 10px;
}

#fields input[type='email']:focus,
#fields input[type='email'].valid,
#fields input[type='email'].invalid,
#fields input[type='text']:focus,
#fields input[type='text'].valid,
#fields input[type='text'].invalid,
#fields input[type='password']:focus,
#fields input[type='password'].valid,
#fields input[type='password'].invalid {
    color: #000000;
    box-shadow: none;
    outline: 0;
}

#fields input[type='email']:focus:not([readonly]),
#fields input[type='text']:focus:not([readonly]),
#fields input[type='password']:focus:not([readonly]) {
    box-shadow: none;
    border-bottom-color: rgb(22, 25, 42);
}

#fields input[type='email']+span.label,
#fields input[type='text']+span.label,
#fields input[type='password']+span.label {
    color: #000000 !important;
    font-size: 1.2rem !important;
    font-weight: normal;
    font-family: "Montserrat", 'Arial', sans-serif !important;
    position: absolute;
    text-align: center;
    left: 5.73rem;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    transition: -webkit-transform 0.3s ease;
    transition: transform 0.3s ease;
    transition: transform 0.3s ease, -webkit-transform 0.3s ease;
    -webkit-transform-origin: left center;
    transform-origin: left center;
    z-index: 0;
}

#fields input[type='email']+span.label.active,
#fields input[type='text']+span.label.active,
#fields input[type='password']+span.label.active {
    -webkit-transform: translateY(calc(-50% - 16px)) scale(0.7);
    transform: translateY(calc(-50% - 16px)) scale(0.7);
    /* padding-left: 6px; */
}

#fields input::placeholder {
    font-family: 'Poppins', 'Arial', sans-serif;
    color: #000000;
    font-weight: normal;
}

.button_form {
    height: 3.4rem;
    font-family: "Montserrat", 'Arial', sans-serif !important;
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    font-size: 1.4rem;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 3rem 7rem 0rem 7rem;
    border-radius: 50px;
    text-align: center;
    transition: all 0.3s ease-in-out;
    position: relative;
    letter-spacing: 0.05rem;
    background-color: #eb603a;
    transition: all 0.4s ease-in-out;
    text-transform: uppercase;
}

.button_form img {
    margin-left: 15px;
}

.button_form:hover,
.button_form:focus {
    background-color: #bc4c2e;
}

#oubli_form {
    text-align: right;
    margin-bottom: 1rem;
}

#oubli_form a {
    font-family: "Montserrat", 'Arial', sans-serif !important;
    font-weight: 400;
    font-size: 1rem;
    text-align: center;
    transition: all 0.3s ease-in-out;
    position: relative;
    color: #1b1f2b;
    opacity: 1;
}

#oubli_form a:hover {
    color: #eb603a;
}

.oubli_connexion {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
}

.dbl_btn {
    flex-direction: column;
    display: flex;
    align-items: flex-end;
    margin: 1rem 1.5rem 0 auto;
}

.bottom_logo {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-width: 100px;
    margin-left: 0;
    margin-right: auto;
    text-align: left;
}

.bottom_logo img {
    max-width: 100%;
    height: auto;
    border: 0;
}

@media only screen and (min-width: 800px) and (max-width: 1496px) {
    .overlay {
        left: 40%;
    }
}

@media only screen and (min-width: 360px) and (max-width: 390px) {
    #oubli_form {
        position: relative;
        right: 3rem !important;
    }
}

@media screen and (max-width: 384px) {
    h2 {
        font-size: 2.4rem;
    }

    h3 {
        font-size: 1.4rem;
    }

    #logo img {
        max-width: 20rem;
    }

    .button_form{
        margin: 2rem 1rem;
    }

    .forme{
        height: 100%;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }


}

@media screen and (max-width: 499px) {
    html {
        font-size: 12px;
    }

    .disp {
        display: none;
    }

    #oubli_form {
        margin-bottom: 2;
    }
}

@media screen and (max-width: 450px) and (min-width: 385px) {
    h2 {
        font-size: 2.6rem;
    }

    h3 {
        font-size: 1.6rem;
    }

    #logo img {
        max-width: 20rem;
    }

}

@media screen and (max-width: 599px) {
    #page {
        background: #223361 !important;
    }



}

@media screen and (min-width: 600px) {

    #page {
        padding: 0;
        background-size: cover;
        overflow: auto;
        position: relative;
        background-color: #223361;
    }

    .forme {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }


    .separateur {
        margin-left: 0;
    }

    header,
    footer {
        width: 100%;
    }

}

@media screen and (max-width: 959px) and (max-height: 840px) {
    #oubli_form {
        transform: translateX(0px);
    }

}

@media screen and (min-width: 960px) {
    #page {
        background: url(../images/bg.jpg) no-repeat center center;
        min-height: 100%;
        display: flex;
        flex-direction: row;
        background-size: cover;
        padding: 0;
        overflow: hidden;
    }

}

@media screen and (max-height: 767px) and (min-width: 1200px) {
    #page {
        padding: 2rem;
        overflow: auto;
    }
}

@media screen and (min-width: 1200px) {
    html {
        font-size: 13px;
    }

    #page {
        background: url(../images/bg.jpg) no-repeat left center;
        background-size: cover;
    }

    .sous-div {
        margin-left: 2.5rem;
    }


}

@media screen and (min-width: 1000px) and (max-width: 1500px) {
    .forme {
        width: 50%;
    }

    image {
        width: 50%;
        background: url(../images/image.jpg) no-repeat center center;
        background-size: cover;
    }
}

@media screen and (min-width: 1000px) and (max-width: 1650px) {

    #logo {
        width: 100%;
    }
}

@media screen and (max-width: 1200px) and (min-width: 820px) {

    .forme {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

@media screen and (max-width: 1000px) {
    .forme {
        width: 100% !important;
    }

    .image {
        display: none;
    }

    .overlay {
        display: none;
    }

    .contenu {
        margin: 0;
        height: 100%;
    }
}

@media screen and (min-width: 1200px) and (max-height: 820px) {
    html {
        font-size: 12px;
    }

    #oubli_form {
        text-align: right;
        transform: translateX(38px);
        margin-bottom: 3.5rem;
        right: 3rem;
        position: relative;
    }


}

@media screen and (max-width: 1723px) and (min-width: 1652px) {
    html {
        font-size: 15px;
    }

    h2 {
        font-size: 3rem;
    }

    h3 {
        font-size: 1.8rem;
    }

}

@media screen and (max-width: 1651px) and (min-width: 800px) {
    html {
        font-size: 15px;
    }

    h2 {
        font-size: 2.6rem;
    }

    h3 {
        font-size: 1.6rem;
    }

}

@media screen and (max-width: 1400px) {
    .forme {
        width: 60%;
    }

    .image {
        width: 40%;
    }

    .overlay {
        left: 15%;
    }
}

@media all and (-ms-high-contrast: none) and (max-width: 961px),
(-ms-high-contrast: active) and (max-width: 961px) {
    #page {
        background: #fff;
        display: block;
    }

    .contenu {
        box-shadow: none;
    }
}

@media all and (-ms-high-contrast: none) and (min-width: 960px),
(-ms-high-contrast: active) and (min-width: 960px) {
    #page {
        min-height: 100vh;
        padding: 0;
    }

    .contenu {
        margin: 0;
        padding: 8%;
    }
}

@media screen and (max-height: 658px) {
  .overlay{
    display: none;
  }
}

input:focus::placeholder {
    opacity: 0;
}