@charset "UTF-8";

* {
    box-sizing: inherit;
}

html {
    height: 100%;
    font-size: 11px;
}

body {
    height: 100%;
    margin: 0;
    background-color: #fff;
    color: #000;
    font-size: 1.2rem;
    /* font-family: "Open Sans", "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 10000s ease-in-out 0s, box-shadow 10000s ease-in-out 0s !important;
    -webkit-box-shadow: 0 0 0px 1000px #4a5a6a inset !important;
    -webkit-text-fill-color: #4a5a6a !important;
}

::-webkit-input-placeholder,
:-moz-placeholder,
::-moz-placeholder,
:-ms-input-placeholder {
    color: #4a5a6a !important;
    opacity: 1 !important;
}

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

#page {
    min-height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    font-size: 1.2rem;
    background: url(../images/bg.jpg) no-repeat center center;
    background-size: cover;
}

#particles {
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

#particles-js {
    -webkit-transform: translate(10%, -10%) rotate(35deg);
    transform: translate(10%, -10%) rotate(35deg);
    mix-blend-mode: overlay;
    height: 125%;
    opacity: 0.8;
}

.small-only {
    display: block;
}

.contenu {
    width: 100%;
    height: 100%;
    background-color: #fff;
    flex: 1 1 100%;
    padding: 2rem;
    box-sizing: border-box;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

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

div.hr {
    margin: 1.33rem 0;
}

#logo {
    width: 100%;
    /* max-width: 20rem;
  min-width: 100px;
  margin-left: 10rem; */
}

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

h2 {
    margin: 0;
    color: #8b5e3c;
    font-size: 5.3rem;
    line-height: 1;
    font-family: 'Lato', 'Arial', sans-serif;
    font-weight: bold;
    font-style: normal;
    font-display: swap;
    margin-top: 2rem;
    /* letter-spacing: 3px; */
    text-transform: uppercase;
}

h3 {
    margin: 0;
    color: #4a5a6a;
    font-size: 2.97rem;
    line-height: 1;
    font-family: 'Lato', 'Arial', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.footer {
    margin-top: 2.8rem;
    color: #adadad;
}

.footer a {
    color: #adadad;
    text-decoration: none;
}

.coord {
    font-size: 1.23rem;
}

.instructions {
    color: #4a5a6a;
    font-size: 2.09rem;
    line-height: 1.2;
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    margin-top: 2.517rem;
    margin-bottom: 3.5rem;
    font-family: 'Arial', sans-serif;
}

.instructions span.bold {
    font-weight: 600;
}

#fields {
    box-sizing: border-box;
    /* max-width: 38rem; */
}

#fields .field {
    position: relative;
    background-color: transparent !important;
    margin: 0;
    height: 5.545rem;
    width: 100%;
    border: none;
    border: 2px solid #8b5e3c;
    border-radius: 5px;
}

#fields .field:first-of-type {
    margin-bottom: 1.667rem;
}

#fields .field:first-of-type label {
    margin-left: 0;
}

#fields .field:first-of-type input[type='email'],
#fields .field:first-of-type input[type='text'],
#fields .field:first-of-type input[type='password'] {
    margin-left: 0;
}

#fields .field:first-of-type input[type='email'] + span.label,
#fields .field:first-of-type input[type='text'] + span.label,
#fields .field:first-of-type input[type='password'] + span.label {
    margin-left: 0;
}

#fields .field:last-of-type label {
    margin-left: 0;
}

#fields .field:last-of-type input[type='email'],
#fields .field:last-of-type input[type='text'],
#fields .field:last-of-type input[type='password'] {
    margin-left: 0;
}

#fields .field:last-of-type input[type='email'] + span.label,
#fields .field:last-of-type input[type='text'] + span.label,
#fields .field:last-of-type input[type='password'] + span.label {
    margin-left: 0;
}

#fields input::placeholder {
    font-family: 'Open Sans', 'Arial', sans-serif !important;
    color: #4a5a6a;
    font-weight: normal;
}

#fields label {
    position: absolute;
    width: 5.5rem;
    height: 100%;
    text-align: center;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    background-color: #8b5e3c;
}

.right-line {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 7.545rem;
    height: 45%;
    border-right: 1px solid #000000;
}

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

#fields input[type='email'],
#fields input[type='text'],
#fields input[type='password'] {
    font-size: 1.6rem !important;
    font-weight: normal;
    font-family: 'Open Sans', 'Arial', sans-serif;
    color: #4a5a6a !important;
    position: absolute;
    z-index: 1;
    bottom: 0;
    left: 5rem;
    width: calc(100% - 6rem);
    height: 94% !important;
    border-bottom: 0;
    box-sizing: border-box;
    margin-bottom: 0;
    padding-left: 2.167rem;
}

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

#oubli_form {
    font-family: 'Merriweather', 'Arial', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    height: 4.5rem;
    font-size: 1.7rem;
    color: #4a5a6a;
    background-color: #efe6dd;
    text-decoration: none;
    position: relative;
    transition: 0.2s;
    cursor: pointer;
    border: 1px solid #4a5a6a;
    width: 50%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
}

.separateur {
    background: #8b5e3c;
    border: none;
    width: 14%;
    height: 3px;
    margin: 2rem 0;
    margin-left: 0;
}

#oubli_form a {
    color: #4a5a6a;
    font-family: 'Open Sans', 'Arial', sans-serif;
    width: 100%;
}

#oubli_form:hover {
    background-color: #8b5e3c;
    color: #fff;
    border: 1px solid #8b5e3c;
}

#oubli_form:hover a {
    transition: 0.2s;
    color: #fff !important;
}

.button_form {
    width: 40%;
    height: 4.5rem;
    font-family: 'Lato', 'Arial', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    font-size: 1.8rem;
    color: #fff;
    background: #8b5e3c;
    /*background-color: #1D75BD;*/
    /*max-width: 36.33rem;*/
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    letter-spacing: 1px;
    transition: all 0.3s ease-in-out;
    position: relative;
    text-transform: none;
    border-radius: 10px;
    border: 2px solid transparent;
}

.button_form span {
    font-family: 'Lato', 'Arial', sans-serif;
}

.button_form:hover {
    background-color: transparent;
    border: 2px solid #8b5e3c;
    color: #4a5a6a;
}

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

/* #linkRecupId {
  width: 65% !important;
} */

@media screen and (min-height: 800px) {
    .contenu {
        justify-content: center;
    }
}

@media screen and (min-width: 600px) {
    #page {
        padding: 2rem 0;
    }

    .small-only {
        display: none;
    }

    div.hr {
        margin: 30px 0;
    }

    .contenu {
        justify-content: center;
        height: 75%;
        flex: 0 0;
        margin: auto;
        width: 55%;
        background-color: #fff;
    }

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

    #logo {
        margin-top: 0;
    }

    #page {
        min-height: 100%;
        /* display: flex;
    flex-direction: row; */
        padding: 0;
    }

    .contenu {
        width: 100%;
        flex: 1 1 50%;
        height: initial;
        margin: initial;
        background: none;
        background-color: transparent;
        box-shadow: none;
    }

    .bg {
        display: none;
        width: 50%;
        flex: 1 1 50%;
        order: 1;
        background: transparent;
        height: initial;
        position: relative;
        overflow: hidden;
    }

    .line {
        width: 100% !important;
    }
}

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

    .contenu {
        width: 44%;
        flex: 0 0 52.3%;
    }

    .bg {
        width: 54.7%;
        flex: 1 1 54.7%;
    }
    header .hr {
        margin: 2rem 0 2.87rem;
    }

    footer {
        margin-top: 6.6rem;
    }
}

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

    header,
    main,
    footer {
        width: 56.3%;
        flex: 0 0 52.3%;
    }

    /* #linkRecupId {
    width: 50% !important;
  } */

    .line-break {
        display: block;
    }
}

@media all and (-ms-high-contrast: none) and (max-width: 961px),
    (-ms-high-contrast: active) and (max-width: 961px) {
    #page {
        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,
    .contenu {
        min-height: 100vh;
    }

    .bg {
        min-height: 100vh;
    }
}

@media screen and (max-width: 1650px) {
    #page {
        background: url(../images/bg.jpg) no-repeat left center;
    }
}

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

    /* .contenu {
    padding-bottom: 2rem;
  } */
}

@media screen and (max-width: 960px) {
    #page {
        /*background: url(../images/bg.jpg) no-repeat center center;*/
    }

    h2 {
        margin-top: 2rem;
    }
}

@media screen and (max-width: 850px) {
    .contenu {
        width: 95%;
        min-width: 0;
        background-color: #efe6dd;
        margin: 0 auto;
        padding: 1.2rem;
        box-sizing: border-box;
        align-items: center;
    }
    #logo img {
        max-width: 100%;
        height: auto;
        border: 0;
    }
    #fields {
        width: 100%;
        min-width: 0;
    }
}

@media screen and (max-width: 630px) {
    .contenu {
        width: 100%;
        min-width: 0;
        padding: 0.7rem;
        box-sizing: border-box;
        align-items: center;
    }
    #fields {
        width: 100%;
        min-width: 0;
    }
    h2 {
        font-size: 4rem;
    }
    .instructions {
        font-size: 1.78rem;
    }
    h3 {
        font-size: 2.527rem;
    }
    .boutons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        align-items: stretch;
    }
    #oubli_form,
    .button_form {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }
}

@media screen and (max-width: 370px) {
    h2 {
        font-size: 1.963rem;
    }
    .instructions {
        font-size: 1.68rem;
    }

    #logo {
        max-width: 100%;
    }
}

@media screen and (max-height: 830px) {
    #logo {
        max-width: 100%;
    }

    .separateur {
        display: none;
    }

    html {
        font-size: 10px;
    }
}

@media screen and (max-height: 730px) {
    #logo {
        max-width: 150px;
        margin-bottom: 0;
    }

    h2 {
        margin-top: 1.083rem;
    }
}

@media screen and (max-height: 680px) {
    .instructions {
        margin-top: 1.417rem;
        margin-bottom: 2.5rem;
    }
}

@media screen and (max-width: 450px) {
    .contenu {
        width: 100vw;
        min-width: 0;
        padding: 0.3rem;
        box-sizing: border-box;
        align-items: center;
        justify-content: center;
    }
    #fields {
        box-sizing: border-box;
        width: 100%;
        min-width: 0;
        margin-bottom: 2rem;
    }
    .boutons {
        flex-direction: column;
        flex-wrap: wrap;
        margin-bottom: 2rem !important;
        width: 100%;
        gap: 0.7rem;
        align-items: stretch;
    }
    #oubli_form,
    .button_form {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }
    #oublie_form {
        padding: 1.3rem 1rem;
    }
}
