@charset "UTF-8";
* {
    box-sizing: inherit;
}

html {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', 'Arial', sans-serif;
    font-size: 1.2rem;
    background-color: #fff;
    color: #000;
}

#Form1 {
    padding: 30px;
    background-color: #fbc400;
}

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: #000000 !important;
}

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

#page {
    border-radius: 50px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-size: 1.2rem;
    overflow: hidden;
}

.small-only {
    display: block;
}

.contenu {
    width: 100%;
    background: #f4f4ef;
    flex: 1 1 100%;
    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: 33rem;
    margin: 0 auto;
}

.separateur {
    background: #bababa;
    border: none;
    width: 31%;
    height: 3px;
    margin: 1.25rem 0;
    margin-left: 0;
}

#logo {
    width: 80%;
    max-width: 100%;
    min-width: 100px;
    margin-left: 2.5rem;
    margin-right: auto;
    text-align: center;
    margin-bottom: 2.5rem;
}

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

h2 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 600;
    font-style: normal;
    font-display: swap;
    font-family: 'Poppins', 'Arial', sans-serif;
    line-height: 1;
    color: #000000;
    text-align: left;
    /* text-transform: uppercase; */
}

h3 {
    margin: 0;
    color: #000000;
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 600;
    font-style: normal;
    font-display: swap;
    font-family: 'Poppins', 'Arial', sans-serif;
    text-align: left;
}
h3 span {
    color: #f2c100;
}

.instructions {
    font-family: 'Poppins', 'Arial', sans-serif;
    text-align: left;
    color: #000000;
    font-size: 1.4rem;
    line-height: 1;
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    margin-bottom: 3rem;
    margin-top: 2rem;
}
.instructions span {
    font-weight: 700;
}

#fields {
    box-sizing: border-box;
    margin-bottom: 0.8rem;
    max-width: 100%;
    width: 100%;
}

#fields .field {
    position: relative;
    height: 3.2rem;
    background-color: #ffffff;
    border-radius: 25px;
    /* -webkit-box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.07);
  box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.07); */
}

#fields .field:first-child {
    /* border-bottom: 1px solid rgb(199, 199, 199); */
    margin-bottom: 1.5rem;
}

/* 
#fields .field:last-child {
} */

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

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

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

#fields input[type='email'],
#fields input[type='text'],
#fields input[type='password'] {
    font-size: 1.3rem !important;
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    font-family: 'Poppins', 'Arial', sans-serif !important;
    color: #000000 !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: black;
    padding-right: 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: #000000;
    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: #000000;
}

#fields input[type='email'] + span.label,
#fields input[type='text'] + span.label,
#fields input[type='password'] + span.label {
    color: #000000 !important;
    font-size: 1.2rem !important;
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    font-family: 'Poppins', 'Arial', sans-serif !important;
    position: absolute;
    text-align: center;
    left: 5.73rem;
    top: 50%;
    -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;
}

#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% - 16px)) scale(0.7);
    transform: translateY(calc(-50% - 16px)) scale(0.7);
    /* padding-left: 6px; */
}

#fields input::placeholder {
    font-family: 'Poppins', 'Arial', sans-serif;
    color: #000000;
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.button_form {
    height: 3.6rem;
    width: 16rem;
    font-family: 'Poppins', 'Arial', sans-serif;
    font-weight: bold;
    font-style: normal;
    font-display: swap;
    font-size: 1.6rem;
    color: white;
    background-color: #f5c300;
    background-size: 200%;
    display: flex;
    justify-content: center;
    align-items: center;
    /* border: 2px solid #2e277b; */
    /* border-radius: 5px; */
    text-align: right;
    transition: all 0.3s ease-in-out;
    position: relative;
    letter-spacing: 0.1rem;
    /* text-transform: uppercase; */
    margin: 0 19.5rem 0rem;
    transition: all 0.3s ease-in-out;
    border-radius: 25px;
    /* border-radius: 50px; */
}

.button_form img {
    margin-left: 15px;
}

.button_form:hover,
.button_form:focus {
    background-color: #000;
}

#oubli_form {
    text-align: right;
    margin-bottom: 1rem;
}

#oubli_form a {
    /* height: 3.4rem;
  width: 14.13rem; */
    font-family: 'Poppins', 'Arial', sans-serif;
    font-weight: 300;
    font-style: normal;
    font-display: swap;
    font-size: 1.25rem;
    /* display: flex;
  justify-content: center;
  align-items: center; */
    /* border: 2px solid #353e49; */
    /* border-radius: 10px; */
    text-align: center;
    transition: all 0.3s ease-in-out;
    position: relative;
    color: #000;
    opacity: 1;
    text-decoration: none;
    /* background: #353e49; */
    /* border-bottom: 1px solid; */
    /* margin-left: 2rem; */
}

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

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

.dbl_btn {
    flex-direction: column;
    display: flex;
    align-items: flex-end;
    margin: 1rem 1.5rem 0 auto;
}

@media screen and (max-width: 499px) {
    #Form1 {
        padding: 0;
    }
    #page {
        border-radius: 0;
    }

    .button_form {
        margin: auto;
    }
    html {
        font-size: 12px;
    }
    .contenu {
        padding: 0 3rem;
    }
    .disp {
        display: none;
    }
    h2 {
        font-size: calc(6vw + 1rem);
    }
    h3 {
        font-size: calc(3vw + 0.65rem);
    }
    #logo img {
        max-width: 85%;
    }
}

@media screen and (max-width: 359px) {
    h2 {
        letter-spacing: 0;
    }
}

@media screen and (min-width: 600px) {
    #Form1 {
        padding: 0;
        background-color: #fff;
    }
    #page {
        padding: 2rem 0;
        background: url(../images/bg.jpg) no-repeat left center;
        background-size: cover;
        overflow: hidden;
        position: relative;
    }
    .small-only {
        display: none;
    }
    div.hr {
        margin: 30px 0;
    }
    .contenu {
        justify-content: center;
        min-height: 100%;
        flex: 0 0;
        margin: auto;
        width: 100%;
        background-image: none;
        background-color: rgba(255, 255, 255, 0);
        position: relative;
        z-index: 1;
        border-radius: 0;
        /* box-shadow: 2px 23px 51px 0px rgba(1, 1, 1, 0.1); */
        max-width: 41.534rem;
    }
    .contenu .forme {
        position: relative;
        z-index: 1;
        background-color: #f4f4ef;
        width: 44rem;
        border-radius: 45px;
        padding: 2rem;
    }
    h3 {
        font-size: 2.4rem;
    }
    .bg {
        display: none;
    }
    .d-none {
        display: block;
    }
    .separateur {
        margin-left: 0;
    }
    header,
    footer {
        width: 100%;
    }
    .contenu header,
    .contenu main {
        max-width: 33rem;
    }
}

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

@media screen and (min-width: 960px) {
    #page {
        min-height: 100%;
        display: flex;
        flex-direction: row;
        background-size: cover;
        padding: 0 !important;
        overflow: hidden;
    }
    .contenu {
        width: 100%;
        flex: 1 1 100%;
        max-width: unset;
        margin: 0;
        background: #0e335900;
        box-shadow: none;
        border-radius: 0;
    }
    .bg {
        display: block;
        width: 50%;
        flex: 1 1 50%;
        height: initial;
    }
    .contenu header,
    .contenu main {
        max-width: 33rem;
    }
}

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

@media screen and (min-width: 1200px) {
    #Form1 {
        padding: 50px;
        background-color: #fbc400;
    }
    html {
        font-size: 13px;
    }
    #page {
        background: url(../images/bg.jpg) no-repeat center;
        background-size: cover;
    }
    .bg {
        width: 52%;
        flex: 1 1 52%;
    }
    .contenu {
        display: flex;
        align-items: center;
        width: 48%;
        flex: 1 1 48%;
        position: relative;
        z-index: 1;
        background: none;
        min-width: 41.534rem;
        margin: auto;
    }
    .sous-div {
        margin-left: 2.5rem;
    }
    .contenu header,
    .contenu main {
        max-width: 34rem;
    }

    .contenu header {
        margin-top: 3rem;
    }

    .contenu main {
        margin-bottom: 3rem;
    }
}

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

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

/* @media screen and (min-width: 1900px) {
  html {
    font-size: 14px;
  }
} */

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

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

@media screen and (max-height: 850px) {
    #logo img {
        max-width: 85%;
    }
}

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

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

    .contenu {
        max-width: 50rem;
        padding: 3rem;
    }

    h2,
    h3 {
        font-size: 2.5rem;
    }

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