@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: "Raleway", "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: #00263a !important;
}

::-webkit-input-placeholder, :-moz-placeholder, ::-moz-placeholder, :-ms-input-placeholder {
    font-style: italic;
    color: #00263a !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: 12px;
}

#page {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    font-size: 1.2rem;
    overflow: hidden;
}

#page {
    background: url(../images/bg.jpg) no-repeat center;
    min-height: 100%;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    background-size: cover;
    padding: 12.9vh 0 0;
    overflow-x: hidden;
}

.small-only {
    display: block;
}

.contenu {
    width: 100%;
    flex: 1 1 100%;
    padding: 0rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
}

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

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

.separateur {
    background: rgb(182, 182, 182);
    border: none;
    width: 6rem;
    height: 3px;
    margin-top: 1.25rem;
    margin-left: 0;
}

#logo {
    width: 100%;
    max-width: 100%;
    min-width: 100px;
    margin: 0 0 4.8rem;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-content: center;
}

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

h2 {
    margin: 0;
    font-size: 2.83rem;
    box-sizing: border-box;
    font-family: "Poppins", serif;
    font-weight: bold;
    line-height: 1.13;
    color: #00263A;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

h3 {
    margin: 0 0 3rem;
    color: #00263A;
    font-size: 1.98rem;
    font-weight: 300;
    line-height: 1;
    font-family: "Poppins", "Arial", sans-serif;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

h3 span {
    color: #6a93a2;
    font-weight: 300;
}

.instructions {
    font-family: "Poppins", "Arial", sans-serif;
    text-align: left;
    color: #00263A;
    font-size: 1.56rem;
    line-height: 1.2;
    font-weight: normal;
    margin: 0rem 0 2.4rem;
}

.instructions span {
    color: #6a93a2;
}

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

#fields .field {
    position: relative;
    height: 6.2rem;
    background-color: #faf0dc;
}

#fields .field:first-child {
    margin-bottom: 1.9rem;
}

#fields .field:last-child {
}

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

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

#fields label:after {
    content: '';
    border-right: 1px solid #00263A;
    opacity: 1;
    position: absolute;
    top: 1.9rem;
    bottom: 1.9rem;
    right: 0;
    width: 100%;
}

#fields input[type=email], #fields input[type=text], #fields input[type=password] {
    font-size: 1.35rem !important;
    font-weight: normal;
    font-family: "Poppins", "Arial", sans-serif !important;
    color: #002639 !important;
    position: absolute;
    z-index: 1;
    bottom: 0;
    left: 7rem;
    width: calc(100% - 7rem);
    border-bottom: 0;
    height: 100% !important;
    box-sizing: border-box;
    margin-bottom: 0;
    caret-color: #002639;
    padding: 0 2rem;
}

#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: #002639;
    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(126, 129, 132);
}

#fields input::placeholder {
    color: rgb(0, 0, 0);
}

.dbl_btn {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 3.8rem;
    gap: 2.8rem;
}

.button_form {
    height: 4.75rem;
    flex: 1 1 43%;
    font-family: "Poppins", "Arial", sans-serif;
    font-weight: bold;
    font-size: 1.6rem;
    color: white;
    background-color: #00263a;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: right;
    position: relative;
    letter-spacing: 0.05rem;
    z-index: 2;
    text-transform: uppercase;
    transition: all 0.3s ease-in-out;
    padding-top: 6px;
}

.button_form:hover, .button_form:focus {
    color: #00263a;
    background: #f4d190;
}

.oubli_form {
    height: 4.75rem;
    flex: 1 1 57%;
    font-family: "Poppins", "Arial", sans-serif;
    font-weight: bold;
    font-size: 1.35rem;
    color: rgb(255, 255, 255);
    text-transform: uppercase;
    background-color: #6a93a2;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
    transition: all 0.3s ease-in-out;
    position: relative;
    padding-top: 6px;
}

.oubli_form:hover {
    color: #00263a;
    background: #f4d190;
}

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

/* hauteur */
@media screen and (max-height: 960px) {
    #page {
        padding-top: 6vh;
        padding-bottom: 3rem;
    }
}


@media screen and (max-height: 800px) {
    html {
        font-size: 11px;
    }
}

/* largeur */
@media screen and (max-width: 599px) {
    #page {
        background: #ffffff;
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .dbl_btn {
        gap: 10px;
    }

    .oubli_form {
        font-size: 1.1rem;
    }

    .button_form {
        font-size: 1.2rem;
    }
}