@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: 'Open Sans', 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: #2a2b2a !important;
}

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

input::placeholder {
    color: #2a2b2a;
}

/*
::placeholder { !* Chrome, Firefox, Opera, Safari 10.1+ *!
	color: red;
	opacity: 1; !* Firefox *!
}

:-ms-input-placeholder { !* Internet Explorer 10-11 *!
	color: red;
}

::-ms-input-placeholder { !* Microsoft Edge *!
	color: red;
}*/
.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: #ffffff;
    flex: 1 1 100%;
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
}

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

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

div.hr {
    margin: 1.33rem 0;
}

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

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

h2 {
    font-family: 'Lato', 'Arial', sans-serif;
    margin: 0;
    color: #2a2b2a;
    font-size: 4.85rem !important;
    font-weight: bold;
    font-style: normal;
    font-display: swap;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 12.8px;
    margin-bottom: 0.3rem;
}

h3 {
    font-family: 'Lato', 'Arial', sans-serif;
    margin: 0;
    color: #2a2b2a;
    font-size: 1.99rem !important;
    line-height: 1;
    font-weight: bold;
    font-style: normal;
    font-display: swap;
    margin-bottom: 2rem;
    text-transform: uppercase;
    line-height: 1.1;
}

h3 span {
    color: #54c0aa;
}

.instructions {
    color: rgba(42, 43, 42, 0.7);
    font-size: 1.85rem;
    line-height: 1.2;
    font-weight: normal;
    margin-bottom: 2.2rem;
    word-spacing: 1px;
    font-family: 'Times New Roman', 'Arial', sans-serif;
}

.instructions .color {
    font-weight: 500;
}

.display {
    display: none;
}

#fields {
    box-sizing: border-box;
}

#fields .field {
    position: relative;
    background-color: #fefefe;
    border-radius: 0;
    height: 6.6rem;
    color: #2a2b2a;
    border: 2px solid rgba(134, 134, 134, 0.5);
    margin: 1rem 0;
    border-radius: 44.5px;
}

/* #fields .field:not(:last-child) {
  border-bottom: 1px solid #cdcdcd;
  border-left: 5px solid #ee5298;
} */

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

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

#fields input[type='email'],
#fields input[type='text'],
#fields input[type='password'] {
    font-size: 1.4rem !important;
    font-weight: bold;
    font-style: normal;
    font-display: swap;
    font-family: 'Lato', 'Arial', sans-serif !important;
    color: #2a2b2a !important;
    position: absolute;
    z-index: 1;
    bottom: 0px;
    left: 5.77rem;
    width: calc(100% - 6.77rem);
    box-sizing: border-box;
    margin-bottom: 0;
    height: 100% !important;
    border-bottom: none;
    padding: 0 1rem;
}

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

#fields input[type='email'] + span.label,
#fields input[type='text'] + span.label,
#fields input[type='password'] + span.label {
    color: #2a2b2a !important;
    font-size: 1.4rem !important;
    font-weight: bold;
    font-style: normal;
    font-display: swap;
    font-family: 'Lato', '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: 4.5rem;
    width: 16.616rem;
    font-family: 'Josefin Sans', 'Arial', sans-serif;
    font-weight: bold;
    font-style: normal;
    font-display: swap;
    font-size: 1.7rem;
    color: #fff;
    background-position: 0% 100%;
    background-size: 200%;
    max-width: 28.87rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0 0;
    text-align: center;
    transition: all 0.3s ease-in-out;
    position: relative;
    border-radius: 50px;
    text-transform: uppercase;
    margin: auto;
    /* margin-top: 2rem; */
    padding-top: 0.5rem;

    background-color: #4dbea6;
    background-size: 200%;
}

.button_form:hover {
    background-color: #2a2b2a;
}

.button_form .arrow {
    margin-left: 17px;
}

#oubli_form {
    text-align: right;
    font-size: 1.5rem;
    position: relative;
    width: 50%;
    margin-top: 0.7rem;
    font-style: italic;
}

#oubli_form a {
    font-family: 'Josefin Sans', 'Arial', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    color: #2a2b2a;
    text-decoration: underline;
    position: relative;
    z-index: 2;
    letter-spacing: 0.02rem;
    padding-left: 10px;
    transition: all 0.2s ease-in-out;
}

#oubli_form a:hover {
    color: #4dbea6;
}

.separateur {
    width: 17.847rem;
    margin: 1.2rem auto;
    height: 2px;
    border: none;
    border-radius: 0px;
    background: #b69332;
}

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

.dbl_btn {
    margin-top: 5rem;
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    align-items: center;
}

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

@media screen and (min-width: 600px) {
    #page {
        padding: 2rem 0;
        background: url(../images/bg.jpg) no-repeat left center;
        background-size: cover;
    }

    .small-only {
        display: none;
    }

    div.hr {
        margin: 30px 0;
    }

    .display {
        display: none;
    }

    .contenu {
        justify-content: center;
        height: 75%;
        flex: 0 0;
        margin: auto;
        max-width: 44.693rem;
        width: 100%;
        background: #ffffffef no-repeat center center;
        -webkit-box-shadow: 2px 23px 51px 0px rgba(1, 1, 1, 0.438);
        box-shadow: 2px 23px 51px 0px rgba(1, 1, 1, 0.486);
        /* border-radius: 25px; */
        padding: 3rem 0;
    }

    .bg {
        display: none;
    }

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

    h2 {
        font-size: 3.5rem;
    }

    h3 {
        font-size: 2.05rem;
    }
}

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

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

    #page {
        min-height: 100%;
        display: flex;
        flex-direction: row;
        background-position: 15% center;
        padding: 0;
    }

    .display {
        display: block;
    }

    .contenu {
        width: 50%;
        flex: 1 1 50%;
        height: initial;
        margin: 0;
        background: #ffffff no-repeat center center;
        box-shadow: none;
        min-width: 48rem;
        max-width: unset;
        border-radius: unset;
    }

    .contenu-bg {
        background: #ffffff00 no-repeat center center;
        max-width: 43.9rem;
        width: 100%;
        height: 56.616rem;
        margin: 0 auto;
        padding: 3rem 4rem 3rem;
        -webkit-box-shadow: 0px 0px 82px -8px rgb(0 0 0 / 0%);
        box-shadow: 0px 0px 82px -8px rgb(0 0 0 / 0%);
        display: flex;
        flex-direction: column;
        justify-content: center;
        border-radius: 25px;
    }

    .bg {
        background: transparent;
        /* background: #023368; */
        /* background: url(../images/bg.png) no-repeat center center;
    background-size: cover; */
        order: 1;
        padding-top: 37%;
        display: block;
        width: 50%;
        flex: 1 1 50%;
        height: initial;
        position: relative;
        overflow: hidden;
    }

    #logo {
        width: 100%;
    }
}

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

    .contenu {
        width: 80%;
        flex: 1 1 80%;
        background: #ffffff00;
    }

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

    .display {
        display: block;
    }

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

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

    footer {
        margin-top: 6.6rem;
    }
}

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

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

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

@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;
    }
}
