@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: 'Poppins', 'Arial', sans-serif;
    overflow-x: hidden;
}

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: #383232 !important;
    font-size: 1.5rem;
}

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

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

.small-only {
    display: block;
}

.contenu {
    width: 100%;
    background: #fff;
    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;
}

div.hr {
    margin: 1.33rem 0;
}

/* hr {
  width: 5.5rem;
  margin-left: 0;
  background: #409c8c;
  height: 3px;
  border: none;
  margin-top: -.5rem;
  margin-bottom: 1rem;
} */

#logo,
#logo-two {
    max-width: 100%;
    min-width: 100px;
    text-align: center;
    margin-bottom: 3rem;
}

#logo img,
#logo-two img {
    max-width: 92%;
    height: 92%;
    border: 0;
}

#logo-two {
    display: none;
}

.title {
    margin-top: -17rem;
    position: relative;
}

h2 {
    text-align: right;
    margin: 0;
    font-size: 2.7rem;
    font-weight: bold;
    font-style: normal;
    font-display: swap;
    box-sizing: border-box;
    font-family: 'Poppins', 'Arial', sans-serif;
    color: #383232;
    line-height: 1.2;
    margin-top: 2rem !important;
    margin-right: 3rem;
    /* text-transform: uppercase; */
    /* background: -webkit-linear-gradient(rgb(13, 112, 164), rgb(16, 140, 205));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent; */
}

h2::after {
    content: '';
    position: absolute;
    width: 3px;
    height: 5rem;
    background-color: #7e7e7e;
    top: 4rem;
    right: 11px;
}

h3 {
    margin: 0;
    color: #011625;
    font-size: 3rem;
    font-weight: bold;
    line-height: 1;
    letter-spacing: 0;
    font-family: 'Poppins', 'Arial', sans-serif;
    margin-bottom: 2rem;
    /* text-shadow: 0px 0px 13px rgba(149, 148, 146, 0.38); */
    /* mix-blend-mode: multiply; */
}

.instructions {
    text-align: left;
    color: #002a20;
    font-size: 1.45rem;
    line-height: 1.3;
    font-weight: 600;
    margin-bottom: 2rem;
    font-family: 'Outfit', 'Arial', sans-serif;
    /* margin-top: 2rem; */
}

.instructions span {
    font-weight: 500;
}

.separateur {
    border-right: solid 3px #7e7e7e;
    width: auto;
    height: 66px;
}

.color {
    font-weight: 600;
}

#fields {
    box-sizing: border-box;
    max-width: 100%;
    margin: auto;
    background: rgba(255, 255, 255, 0);
    padding: 2rem 0rem 0rem;
}

#fields .field {
    position: relative;
    background-color: rgba(255, 255, 255, 0);
    margin: 0;
    height: 5.231rem;
    border-bottom: 2px solid rgb(242, 242, 242);
}

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

#fields .field:not(:first-child) {
    border-bottom: none;
}

#fields .field:not(:last-child)::before {
    content: 'Identifiant';
    font-family: 'Gilroy', 'Arial', sans-serif !important;
    font-weight: bold;
    position: absolute;
    top: -36px;
    font-size: 3.6rem;
    left: 11px;
    color: rgb(242, 242, 242);
}

#fields .field::before {
    content: 'Mot de passe';
    font-family: 'Gilroy', 'Arial', sans-serif !important;
    white-space: nowrap;
    font-weight: bold;
    position: absolute;
    top: -21px;
    font-size: 3rem;
    left: 11px;
    color: rgb(242, 242, 242);
}

#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: 25px;
}

#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: 25px;
}

#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: 25px;
}

#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: 25px;
}

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

#fields label:after {
    content: '';
    position: absolute;
    bottom: 3.3rem;
    width: 1.6rem;
    margin: -14px;
    border-bottom: 2px solid #7e7e7e;
    right: 5px;
    transform: rotate(90deg);
}

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

#fields input::placeholder {
    font-family: 'Poppins', 'Arial', sans-serif !important;
    color: #383232;
    font-weight: bold;
}

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

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

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-color: transparent;
    border: none;

    border-radius: 0;
    outline: none;
    height: 3rem;
    width: 100%;
    font-size: 16px;
    margin: 0 0 8px 0;
    padding: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    -webkit-transition: border 0.3s, -webkit-box-shadow 0.3s;
    transition: border 0.3s, -webkit-box-shadow 0.3s;
    transition: box-shadow 0.3s, border 0.3s;
    transition: box-shadow 0.3s, border 0.3s, -webkit-box-shadow 0.3s;
}

.button_form {
    height: 3.3rem;
    width: 10rem;
    font-family: 'Helvetica LT Std', 'Arial', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    font-size: 1rem;
    color: #fff;
    background: #10519c;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    /* margin: 3.67rem auto 0; */
    margin-left: 0;
    text-align: center;
    transition: all 0.3s ease-in-out;
    position: relative;
    text-transform: none;
    z-index: 2000;
    align-items: center;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    margin-left: 1rem;
    border-radius: 50px;
}

.button_form .arrow {
    display: flex;
    margin-left: 0.2rem;
    width: 15px;
}

.button_form .arrow img {
    height: auto;
    width: 20px;
}

.button_form:hover,
.button_form:focus {
    background: #383232;
}

.arrow {
    padding-left: 0.25rem;
}

#oubli_form {
    font-family: 'Helvetica LT Std', 'Arial', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    font-size: 1rem !important;
    position: relative;
    display: flex;
    height: 4.616rem;
    margin: 0;
    padding: 0;
    margin-right: 0;
    align-items: center;
    /* font-style: italic; */
    margin-left: 5.25rem;
}

#oubli_form a {
    color: #383232;
    border-bottom: 1px solid;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

#oubli_form a:hover {
    color: #10519c;
}

.dbl-btn {
    display: flex;
    align-items: center;
    margin-top: 1rem !important;
}

.br {
    display: none;
}

.contenu-two {
    display: none;
}

@media screen and (max-width: 599px) {
    .contenu {
        text-align: center;
    }

    #oubli_form {
        font-size: 0.9rem !important;
    }

    #logo,
    #logo-two {
        margin-left: 0;
    }
    #logo img {
        max-width: 40%;
    }

    html {
        font-size: 12px;
    }

    h2 {
        font-size: 2.5rem;
        text-align: left;
    }

    h2::after {
        content: '';
        position: absolute;
        width: 0;
        height: 0;
        background-color: transparent;
        top: 0;
        right: 0;
    }

    .button_form {
        height: 3.6rem;
        width: 11.5rem;
        font-size: 1.25rem;
    }
    .displ {
        display: none;
    }
    #fields .field:not(:last-child)::before {
        top: -15px;
    }

    #fields .field::before {
        top: -9px;
    }
}

@media screen and (max-width: 499px) {
    #logo img {
        max-width: 40%;
    }

    html {
        font-size: 12px;
    }
}

@media screen and (min-width: 600px) {
    #page {
        background: white no-repeat left center;

        padding: 2rem 0;
        background-size: cover;
        overflow: hidden;
        position: relative;
    }

    .small-only {
        display: none;
    }

    div.hr {
        margin: 30px 0;
    }

    h2 {
        text-align: left;
    }

    h2::after {
        content: '';
        position: absolute;
        width: 0;
        height: 0;
        background-color: transparent;
        top: 0;
        right: 0;
    }

    .contenu {
        justify-content: flex-start;
        min-height: 100%;
        flex: 0 0;
        margin: auto;
        width: 100%;
        background-image: none;
        background-color: rgba(255, 255, 255, 1);
        position: relative;
        z-index: 1;
        padding: 4rem;
        border-radius: 1.6rem;
        max-width: 39.467rem;
    }

    .contenu .forme {
        position: relative;
        z-index: 1;
        transition: all 0.3s ease-in-out;
    }

    .bg {
        display: none;
    }

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

    .br {
        display: block;
    }

    #fields .field:not(:last-child)::before {
        font-size: 4.8rem;
    }

    #fields .field::before {
        font-size: 4rem;
    }
}

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

@media screen and (max-width: 959px) {
    #logo img,
    #logo-two img {
        height: 100%;
    }

    #logo,
    #logo-two {
        max-width: 35rem;
    }

    .separateur {
        display: none;
    }
}

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

    #page {
        display: grid;
        place-content: center;
        background: url(../images/bg.jpg) no-repeat center center;
        background-size: cover;
        padding: 0;
    }

    .contenu-two {
        display: grid;
        grid-template-columns: 52% 50%;
    }

    .contenu-two header,
    .contenu-two main {
        max-width: 36rem;
        padding: 0.2rem;
    }

    header {
        text-align: left;
        justify-content: left;
        display: flex;
        flex-direction: column;
        position: relative;
    }

    main {
        width: 97%;
    }

    /* .grid-mode-border {
    display: flex;
    position: absolute;
    top: 4.75rem;
    right: 0;
    width: 3px;
    height: 4.5rem;
    background-color: rgb(0, 193, 159);
  } */

    .bg {
        display: none;
    }

    #oubli_form a {
        text-shadow: none;
        font-size: 1.1rem;
    }

    .display-screen {
        display: none;
    }

    .contenu {
        display: none;
    }

    #logo-two {
        display: flex;
        margin-top: -5rem;
        margin-bottom: 6rem;
        margin-left: auto;
        margin-right: auto;
    }

    h2 {
        margin-bottom: 0;
        margin-top: 0;
    }
    .instructions {
        font-size: 1.35rem;
    }

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

    .dbl-btn {
        margin-top: 0;
    }
}

@media screen and (max-height: 767px) and (min-width: 1200px) {
    #page {
        padding: 3rem;
    }
}

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

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

    h2::after {
        content: '';
        position: absolute;
        width: 3px;
        height: 5rem;
        background-color: #7e7e7e;
        top: 4rem;
        right: 11px;
    }
    h2 {
        text-align: right;
    }

    .bg {
        width: 48%;
        flex: 1 1 48%;
        padding: 11rem 0;
        justify-content: flex-end;
        text-align: right;
    }

    .contenu {
        width: 52%;
        flex: 1 1 52%;
        position: relative;
        z-index: 1;
        background: none;
        align-items: flex-start;
    }

    .sous-div {
        margin-left: 2.5rem;
    }

    /* .forme{  transform: translateX(-10%);} */
}

@media screen and (max-height: 767px) and (min-width: 1200px) {
    .bg {
        padding: 2rem;
    }
}

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

@media screen and (min-width: 1750px) {
    .contenu-two header,
    .contenu-two main {
        margin: 1rem;
        margin-top: 0;
        padding-top: 0;
    }

    .contenu-two header {
        margin-left: 0rem;
        /* margin-right: 0rem; */
        margin-bottom: 1.5rem;
    }
    .contenu-two main {
        margin-right: 0rem;
    }
}

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

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

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

@media screen and (min-width: 960px) and (max-height: 850px) {
    #logo-two {
        margin-bottom: 1.25rem;
    }
}
