@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: 'Roboto', 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 #1e1e1e inset !important;
    -webkit-text-fill-color: #1e1e1e !important;
}

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

.nowrap {
    white-space: nowrap;
}

/* 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: 11px;
}

#page {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    font-size: 1.2rem;
    background: #fff no-repeat center center;
    background-size: cover;
}

.small-only {
    display: block;
}

.contenu {
    width: 100%;
    background-color: transparent;
    flex: 1 1 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
}
.contenu-bg {
    padding: clamp(4rem, 11rem,9vh) 0;
}
.bg {
    order: 1;
    width: 100%;
    display: none;
}

header,
footer,
main {
    width: 90%;
    margin: 0 auto;
    padding: 0;
    max-width: 39rem;
}

div.hr {
    margin: 1.33rem 0;
}

#logo {
    width: 100%;
    min-width: 100px;
    max-width: 100%;
    margin: 0 0 3rem;
    text-align: left;
}

#logo img {
    max-width: 100%;
    height: auto;
    border: 0;
    position: relative;
    z-index: 2;
}

h2 {
    font-family: 'Inter', 'Arial', sans-serif;
    margin: 0;
    color: #0C1A33;
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    font-size: 5.3rem;
    line-height: 1;
    margin-bottom: 0.2rem;
    /* letter-spacing: 0.7rem; */
    text-transform: uppercase;
    letter-spacing: -0.028em;
}

/* h2 span {
  font-size: normal;
  letter-spacing: 0;
  text-transform: lowercase;
} */

h3 {
    font-family: 'Inter', 'Arial', sans-serif;
    margin: 0;
    color: #0C1A33;
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    font-size: 2.8rem;
    line-height: 1;
     letter-spacing: -0.025rem;
}
h3 span {
    color: #F6A500;
    /* font-weight: bold; */
}

.instructions {
    color: #0C1A33;
    font-size: 1.69rem;
    line-height: 1.2;
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    margin: 2.9rem 0 2.15rem;
    /*margin: 4rem 13px 2.75rem;*/
    /*word-spacing: 1px;*/
    font-family: 'Open Sans', 'Arial', sans-serif;
}
.instructions span {
    font-weight: bold;
}
.display {
    display: none;
}
#fields {
    box-sizing: border-box;
    margin-bottom: 0.8rem;
    -webkit-border-radius: 0.9rem;
    -moz-border-radius: 0.9rem;
    border-radius: 0.9rem;
    border: 2px solid #d8d8d8;
    overflow: hidden;
}

#fields .field {
    position: relative;
    margin: 0;
    /* border-radius: 50px; */
    height: 6.3rem;
    background-color: rgba(255, 255, 255, 0);
    /*box-shadow: 0px 0px 5px #636d80;*/
}

#fields .field:not(:last-child) {
    /*margin-bottom: 1.25rem;*/
    border-bottom: 2px solid #d8d8d8;
}

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

#fields label img {
    height: 2.3rem;
    width: auto;
}

#fields label:after {
    /*content: '';*/
    /*border-right: 1px solid #202b3a;*/
    /*opacity: 1;*/
    /*position: absolute;*/
    /*top: 1.1rem;*/
    /*bottom: 1.1rem;*/
    /*right: 0;*/
    /*width: 100%;*/
}

#fields input[type='email'],
#fields input[type='text'],
#fields input[type='password'] {
    font-size: 1.4rem !important;
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    font-family: 'Montserrat', 'Arial', sans-serif !important;
    color: #1e1e1e !important;
    position: absolute;
    z-index: 1;
    bottom: 0px;
    left: 5rem;
    width: calc(100% - 7rem);
    box-sizing: border-box;
    margin-bottom: 0;
    height: 100% !important;
    border-bottom: none;
    /* border-radius: 15px; */
    padding: 0 2rem;
}
input:not([type]),
input[type='text']:not(.browser-default),
input[type='password']:not(.browser-default),
input[type='email']:not(.browser-default),
input[type='url']:not(.browser-default),
input[type='time']:not(.browser-default),
input[type='date']:not(.browser-default),
input[type='datetime']:not(.browser-default),
input[type='datetime-local']:not(.browser-default),
input[type='tel']:not(.browser-default),
input[type='number']:not(.browser-default),
input[type='search']:not(.browser-default),
textarea.materialize-textarea {
    background: none !important;
}
#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: #1e1e1e;
    box-shadow: none;
    outline: 0;
}

#fields input[type='email'] + span.label,
#fields input[type='text'] + span.label,
#fields input[type='password'] + span.label {
    color: #1e1e1e !important;
    font-size: 1.2rem !important;
    font-weight: 600;
    font-style: normal;
    font-display: swap;
    font-family: 'Montserrat', 'Arial', sans-serif !important;
    position: absolute;
    text-align: center;
    left: 4.8rem;
    top: 50%;
    margin-left: 3px;
    -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;
    padding: 0 1rem;
}

#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% - 13px)) scale(0.7);
    transform: translateY(calc(-50% - 13px)) scale(0.7);
}

#fields input[type='email']:focus:not([readonly]),
#fields input[type='text']:focus:not([readonly]),
#fields input[type='password']:focus:not([readonly]) {
    box-shadow: none;
}

.button_form {
    height: 5.2rem;
    width: 50%;
    font-family: 'Open Sans', 'Arial', sans-serif;
    font-weight: bold;
    font-style: normal;
    font-display: swap;
    font-size: 1.6rem;
    color: #fff;
    /* background: linear-gradient(90deg, #f8b334 0%, #f29604 50%, #f8b334 100%); */
    background: #0C1A33;
    background-position: 0% 100%;
    background-size: 200%;
    max-width: 28.87rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    text-align: center;
    transition: all 0.3s ease-in-out;
    position: relative;
    /*letter-spacing: 0.2rem;*/
     border-radius: 0.7rem;
    margin-top: 2rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.arrow_button_form {
    position: relative;
    top: 3px;
}

.button_form:hover {
    background-position: 100% 100%;
    background: #F6A500;
    color: #fff;
}

.button_form .arrow {
    width: 1.7rem;
    position: relative;
    top: 0.3rem;
    right: 0px;
    transition: all 0.3s ease-in-out;
}

.button_form:hover .arrow {
    color: #fff;
    fill: #fff;
}

#oubli_form {
    text-align: right;
    font-family: 'Montserrat', 'Arial', sans-serif;
    font-size: 1rem;
    position: relative;
    width: 100%;
    font-weight: normal;
    font-style: italic;
    font-display: swap;
    /* padding-left: 4%; */
}

#oubli_form a {
    font-weight: normal;
    color: #0C1A33;
    text-decoration: none;
    position: relative;
    z-index: 2;
    background-color: none;
    transition: all 0.2s ease-in-out;
}

#oubli_form a:hover {
    color: #F6A500;
}
.separateur {
    width: 7.2rem;
    margin: 1.2rem 0;
    height: 4px;
    border: none;
    background: white;
}

.dbl_btn {
    margin-top: 1.8rem;
    display: flex;
    /* justify-content: space-between; */
    flex-direction: column;
    align-items: flex-start;
}

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

@media screen and (max-width: 499px) {
    .displ {
        display: none;
    }
    .button_form {
        width: 50%;
    }
    #oubli_form {
        width: 50%;
        font-size: 1.3rem;
    }
}

@media screen and (min-width: 600px) {
    #page {
        padding: 2rem 0;
        background: url(../images/bg.jpg) no-repeat center center;
        background-size: cover;
    }
    .small-only {
        display: none;
    }
    div.hr {
        margin: 30px 0;
    }
    .display {
        display: none;
    }
    .contenu {
        justify-content: center;
        height: auto;
        flex: 0 0;
        margin: auto;
        width: 55%;
        min-width: 46rem;
        background: transparent no-repeat center center;
    }
    .contenu-bg {
        padding: clamp(4rem, 11rem,9vh) 0;
        background-color: #fff;
        -webkit-border-radius: 4rem;
        -moz-border-radius: 4rem;
        border-radius: 4rem;
    }
    .bg {
        display: none;
    }
}
@media screen and (max-width: 959px) and (max-height: 840px) {
    .bg {
        display: none;
    }
}

@media screen and (min-width: 960px) {
    html {
        font-size: 11.5px;
    }
    #page {
        min-height: 100%;
        display: flex;
        flex-direction: row-reverse;
        background: url(../images/bg.jpg) no-repeat center center;
        background-size: cover;
        padding: 0;
    }
    .display {
        display: block;
    }
    .contenu {
        width: 100%;
        flex: 1 1 100%;
        height: initial;
        margin: initial;
        background: transparent no-repeat center center;
        box-shadow: none;
        border-radius: 0px;
    }
    .contenu-bg {
        max-width: 50rem;
        width: 50rem;
        margin: 0 auto;
    }
    .bg {
        background: transparent;
        /* background: #023368; */
        /* background: url(../images/bg.jpg) no-repeat center center;
    background-size: cover; */
        order: 1;
        padding-top: 37%;
        display: block;
        width: 0%;
        flex: 1 1 0%;
        height: initial;
        position: relative;
        overflow: hidden;
    }
}

@media screen and (min-width: 1200px) {
    #page {
        background: url(../images/bg.jpg) no-repeat 40% center;
        background-size: cover;
    }
    html {
        font-size: 11.5px;
    }
    .contenu {
        width: 55%;
        flex: 1 1 55%;
        background: #ffffff00;
    }
    .bg {
        width: 45%;
        flex: 1 1 45%;
    }
    .display {
        display: block;
    }
    .contenu-bg {
        /* background: rgb(61, 86, 79) no-repeat center center; */
        background-color: #ffffff;
        max-width: 56rem;
        width: 100%;
        height: auto;
        margin: 0 auto;
        /* border-bottom-left-radius: 150px; */
    }
    header,
    main,
    footer {
        width: 100%;
        max-width: 40rem;
    }
}

@media screen and (min-width: 1600px) {
    html {
        font-size: 12px;
    }
    #fields input[type='email'],
    #fields input[type='text'],
    #fields input[type='password'] {
        bottom: -1px;
    }
    .contenu {
        width: 60%;
        flex: 1 1 30%;
        background: #ffffff00;
    }
    .bg {
        width: 40%;
        flex: 1 1 40%;
    }
}
@media screen and (min-width: 1600px) and (max-height: 745px) {
    html {
        font-size: 11.5px;
    }
}
@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;
    }
    .contenu,
    .bg {
        min-height: 100vh;
    }
    .bg .illu_1,
    .bg .illu_2 {
        opacity: 0.65;
    }
}

@supports not (mix-blend-mode: multiply) {
    .bg .illu_1,
    .bg .illu_2 {
        opacity: 0.65;
    }
}

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

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