@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', 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: #282828 !important;
}

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

.nowrap {
    white-space: nowrap;
}

/* Popup modale de récupération d'identifiants */
#modalRecupId {
    display: none;
    width: 90%;
    max-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: #fffffd no-repeat center center;
    background-size: cover;
    overflow-x: hidden;
}

.small-only {
    display: block;
}

.contenu {
    width: 100%;
    background-color: #ffffff;
    flex: 1 1 100%;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-content: center;
    height: 100vh;
}

.contenu-bg {
    background: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: auto;
}

.bg {
    order: 1;
    width: 100%;
    display: none;
}

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

div.hr {
    margin: 1.33rem 0;
}

#logo {
    width: 98%;
    min-width: 100px;
    margin: 2.3rem 0 1rem;
    text-align: center;
}

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

h2 {
    font-family: 'Inter', 'Arial', sans-serif;
    margin: 0;
    color: #1b60aa;
    font-size: 3rem;
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 1rem;
    text-align: center;
}

h3 {
    font-family: 'Inter', 'Arial', sans-serif;
    margin: 0;
    color: #1b60aa;
    font-size: 1.65rem;
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    line-height: 0;
    padding-right: 1rem;
    text-align: center;
    padding-bottom: 2rem;
}

/* div.d-none-600 {
  display: none;
  position: absolute;
  top: 24%;
  left: 8%;
  color: #fff;
} */

/* h2.d-none-600,
h3.d-none-600 {
  color: #fff;
} */

/* h2.d-none-600 {
  font-size: 3.4vw;
}

h3.d-none-600 {
  font-size: 1.8vw;
} */

/* h3 span{
  color: rgb(255, 90, 0);
} */

.instructions {
    color: #282828;
    font-size: 1.8rem;
    line-height: 1.2;
    margin: 2rem 0 2rem 0;
    word-spacing: 1px;
    font-family: 'Source Sans Pro', 'Arial', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    text-align: center;
}

.instructions span {
    font-weight: 600;
    color: #282828;
}

.instructions .mdpasse {
    color: #282828;
}

.display {
    display: none;
}

#fields {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: 1rem;
    width: 100%;
}

#fields .field {
    position: relative;
    margin: 0;
    border-radius: 3rem;
    height: 4rem;
    width: 100%;
    max-width: 37rem;
    padding-left: 2.2rem;
    border-radius: 50px;
    background-color: #ffffff;
    border: 1px solid #cfcfcf;
}

#fields .field:not(:last-child) {
    margin-bottom: 1.75rem;
}

#fields label {
    position: absolute;
    top: 0;
    /* left: -50px; */
    width: 4.2rem;
    height: 100%;
    text-align: center;
    margin-left: 3px;
    display: flex;
    align-items: center;
}

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

#fields input[type='email'],
#fields input[type='text'],
#fields input[type='password'] {
    font-size: 1.45rem !important;
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    font-family: 'Source Sans Pro', 'Arial', sans-serif !important;
    color: #282828 !important;
    position: absolute;
    z-index: 1;
    bottom: 0px;
    left: 4rem;
    width: calc(100% - 4rem);
    box-sizing: border-box;
    margin-bottom: 0;
    height: 100% !important;
    border-bottom: none;
    /* border-radius: 15px; */
    padding: 0 2rem;
}

input::placeholder {
    font-family: 'Source Sans Pro', 'Arial', sans-serif !important;
    color: #282828;
    font-weight: 300;
}

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: #282828;
    box-shadow: none;
    outline: 0;
}

#fields input[type='email'] + span.label,
#fields input[type='text'] + span.label,
#fields input[type='password'] + span.label {
    color: #282828 !important;
    font-size: 1.2rem !important;
    font-weight: bold;
    font-family: 'Source Sans Pro', '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: 5rem;
    width: calc(100% - 1rem);
    font-family: 'Source Sans Pro', 'Arial', sans-serif;
    font-weight: bold;
    font-style: normal;
    font-display: swap;
    font-size: 1.7rem;
    color: #ffffff;
    background-color: #338ce4;
    max-width: 37rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    text-align: center;
    transition: all 0.3s ease-in-out;
    position: relative;
    margin-top: 2rem;
    letter-spacing: 0.15rem;
    text-transform: uppercase;
    border-radius: 50px;
    left: 0.5rem;
}

.button_form:hover {
    background-color: #282828;
    color: #ffffff;
}

#oubli_form {
    text-align: right;
    font-size: 1.4rem;
    position: relative;
    width: 100%;
    max-width: 42rem;
    margin-top: 1.4rem;
    transition: all 0.3s ease-in-out;
    padding-right: 0.5rem;
    box-sizing: border-box;
}

#oubli_form a {
    font-family: 'Source Sans Pro', 'Arial', sans-serif;
    font-weight: 300;
    color: #1b60aa;
    text-decoration: none;
    position: relative;
    z-index: 2;
    letter-spacing: 0.02rem;
    transition: all 0.3s ease-in-out;
    border-bottom: solid 1px #1b60aa;
}

#oubli_form a span {
    font-weight: 600;
}

#oubli_form a:hover {
    color: #003f6a;
    border-bottom: solid 1px #003f6a;
}

.separateur {
    width: 4.847rem;
    margin: 1.5rem 0rem 1.5rem;
    height: 3px;
    border: none;
    border-radius: 0px;
    background: #6c6c6b;
}

.separateur:not(:first-of-type) {
    margin: 1.2rem 0.1rem 2.5rem;
}

.dbl_btn {
    margin-top: 3rem;
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    align-items: center;
}
/* Extra small devices (phones, 320px and below) */
@media screen and (max-width: 320px) {
    html {
        font-size: 9px;
    }

    h2 {
        font-size: 2.2rem;
        letter-spacing: 0.5rem;
    }

    h3 {
        font-size: 1.4rem;
        padding-right: 0;
    }

    .instructions {
        font-size: 1.3rem;
        margin: 1.5rem 0;
    }

    #fields .field {
        height: 4.5rem;
        padding-left: 1.5rem;
    }

    #fields label {
        width: 3.5rem;
    }

    #fields label img {
        height: 2rem;
    }

    #fields input[type='email'],
    #fields input[type='text'],
    #fields input[type='password'] {
        left: 3.5rem;
        width: calc(100% - 3.5rem);
        font-size: 1.3rem !important;
        padding: 0 1rem;
    }

    .button_form {
        height: 4.5rem;
        font-size: 1.4rem;
    }

    #oubli_form {
        font-size: 1.2rem;
    }

    #logo {
        margin: 1.5rem 0 0.5rem;
    }

    #logo img {
        max-width: 70%;
    }
}

/* Small phones (360px - 395px) */
@media screen and (min-width: 321px) and (max-width: 395px) {
    html {
        font-size: 10px;
    }

    h2 {
        font-size: 2.5rem;
        letter-spacing: 0.6rem;
    }

    h3 {
        font-size: 1.6rem;
        padding-right: 0.5rem;
    }

    .instructions {
        font-size: 1.4rem;
        margin: 1.5rem 0;
    }

    #fields .field {
        height: 4.5rem;
    }

    #fields input[type='email'],
    #fields input[type='text'],
    #fields input[type='password'] {
        font-size: 1.35rem !important;
    }

    .button_form {
        height: 4.5rem;
        font-size: 1.5rem;
    }

    #logo img {
        max-width: 75%;
    }
}

/* Medium phones (396px - 499px) */
@media screen and (min-width: 396px) and (max-width: 499px) {
    html {
        font-size: 10px;
    }

    h2 {
        font-size: 2.8rem;
        letter-spacing: 0.7rem;
    }

    h3 {
        font-size: 1.8rem;
    }

    .instructions {
        font-size: 1.5rem;
    }

    #logo img {
        max-width: 80%;
    }
}

/* All mobile devices (up to 499px) */
@media screen and (max-width: 499px) {
    .d-none-600 {
        display: none;
    }

    .contenu {
        text-align: center;
        min-width: auto;
    }

    .contenu-bg {
        padding: 0 1.5rem;
    }

    header,
    main,
    footer {
        width: 100%;
        max-width: 100%;
    }

    #fields {
        padding-left: 0;
    }

    .button_form {
        left: 0;
        width: 100%;
    }

    #oubli_form {
        width: 100%;
        padding-right: 0;
        text-align: center;
    }

    div.d-none-600 {
        display: block;
    }

    #modalRecupId {
        width: 95%;
    }

    #modalRecupId iframe {
        height: 320px;
    }
}

/* Small tablets / Large phones (500px - 599px) */
@media screen and (min-width: 500px) and (max-width: 599px) {
    html {
        font-size: 11px;
    }

    .contenu {
        min-width: auto;
    }

    .contenu-bg {
        padding: 0 2rem;
    }

    h2 {
        font-size: 3rem;
        letter-spacing: 0.8rem;
    }

    h3 {
        font-size: 1.9rem;
    }

    #fields {
        padding-left: 0;
    }

    .button_form {
        left: 0;
    }

    #oubli_form {
        text-align: center;
        padding-right: 0;
    }
}

/* Tablets portrait (600px - 767px) */
@media screen and (min-width: 600px) and (max-width: 767px) {
    html {
        font-size: 11px;
    }

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

    .contenu {
        height: 100%;
        flex: 0 0;
        width: 100%;
        min-width: auto;
        max-width: 100%;
        background: #ffffff;
    }

    .contenu-bg {
        position: relative;
        height: 100vh;
        padding: 0 3rem;
    }

    .bg {
        display: none;
    }

    header,
    main,
    footer {
        max-width: 45rem;
    }

    #fields {
        padding-left: 0;
    }

    .button_form {
        left: 0;
    }

    #oubli_form {
        text-align: center;
        padding-right: 0;
    }

    div.d-none-600 {
        display: block;
    }
}

/* Tablets landscape (768px - 959px) */
@media screen and (min-width: 768px) and (max-width: 959px) {
    html {
        font-size: 11px;
    }

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

    .contenu {
        height: 100%;
        flex: 0 0;
        width: 100%;
        min-width: auto;
        background: #ffffff;
    }

    .contenu-bg {
        position: relative;
        height: 100vh;
        padding: 0 4rem;
    }

    .bg {
        display: none;
    }

    header,
    main,
    footer {
        max-width: 50rem;
    }

    #fields {
        padding-left: 0;
    }

    .button_form {
        left: 0;
    }

    #oubli_form {
        text-align: center;
        padding-right: 0;
    }

    div.d-none-600 {
        display: block;
    }
}

/* Desktop starts (min-width: 600px - original styles preserved for larger screens) */
@media screen and (min-width: 600px) {
    #page {
        padding: 0;
        background: url(../images/bg2.jpg) no-repeat center center;
        background-size: cover;
    }

    .small-only {
        display: none;
    }

    div.hr {
        margin: 30px 0;
    }

    .display {
        display: none;
    }

    div.d-none-600 {
        display: block;
    }
}

@media screen and (max-width: 959px) and (max-height: 840px) {
    .bg {
        display: none;
    }

    .ligne_contour {
        display: none;
    }
    div.d-none-600 {
        display: block;
    }
}

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

    #page {
        min-height: 100%;
        display: flex;
        flex-direction: row-reverse;
        padding: 0;
        background: url(../images/bg.jpg) no-repeat center center;
        background-size: cover;
    }

    .display {
        display: block;
    }

    .contenu {
        width: 55%;
        flex: 1 1 55%;
        height: initial;
        margin: initial;
        box-shadow: none;
        min-width: 59rem;
        border-radius: unset;
    }

    .contenu-bg {
        background: none;
        -webkit-box-shadow: none;
        box-shadow: none;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .bg {
        background: transparent;
        order: 1;
        padding-top: 37%;
        display: block;
        width: 50%;
        flex: 1 1 50%;
        height: initial;
        position: relative;
        overflow: hidden;
    }
}

@media screen and (max-width: 1200px) and (min-width: 960px) {
    .d-none-1200 {
        display: block;
    }
    div.d-none-600 {
        display: none;
    }
    .instructions {
        font-size: 1.5rem;
    }
}

@media screen and (min-width: 1200px) {
    .d-none-1200 {
        display: none;
    }
    div.d-none-600 {
        display: block;
    }

    #page {
        padding-top: 0;
    }

    html {
        font-size: 12px;
    }

    .contenu {
        width: 53%;
        flex: 1 1 49%;
        background: #ffffff00;
        padding-top: 0;
        justify-content: unset;
    }

    .bg {
        width: 47%;
        flex: 1 1 47%;
    }

    .display {
        display: block;
    }

    .contenu-bg {
        background: transparent no-repeat center center;
        width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    header .hr {
        margin: 2rem 0 2.87rem;
    }

    footer {
        margin-top: 6.6rem;
    }

    .ligne_contour {
        margin: 1.2rem auto;
        border: none;
        border-radius: 0px;
        position: absolute;
    }
}

@media screen and (min-width: 1600px) {
    html {
        font-size: 12px;
    }
    .d-none-1200 {
        display: none;
    }
    div.d-none-600 {
        display: block;
    }

    main {
        max-width: 45rem;
    }

    #fields input[type='email'],
    #fields input[type='text'],
    #fields input[type='password'] {
        bottom: -1px;
    }
}

@media screen and (min-width: 1600px) {
    html {
        font-size: 12px;
    }
    .d-none-1200 {
        display: none;
    }
    div.d-none-600 {
        display: block;
    }
}

@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;
    }
    .d-none-1200 {
        display: none;
    }
    div.d-none-600 {
        display: block;
    }
}

@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: 15px;
    }

    #logo {
        text-align: left;
    }
    .d-none-1200 {
        display: none;
    }
    div.d-none-600 {
        display: block;
    }
}

@media screen and (min-width: 3200px) {
    html {
        font-size: 18px;
    }
    .d-none-1200 {
        display: none;
    }
    div.d-none-600 {
        display: block;
    }
}

@media screen and (min-width: 600px) and (max-height: 849px) {
    html {
        font-size: 10px;
    }
}
