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

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

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

/*
::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;
}

.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 {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    font-size: 1.2rem;
    overflow: hidden;
    background: url(../images/bg.jpg) no-repeat left center;
}

.small-only {
    display: block;
}

.contenu {
    width: 100%;
    background: transparent;
    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: 32rem;
    margin: 0 auto;
}

.separateur {
    background: #223a66;
    border: none;
    width: 80%;
    height: 3px;
    margin: 2rem 0;
}

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

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

h2 {
    font-size: 3.13rem;
    box-sizing: border-box;
    font-family: 'Jost', 'Arial', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    color: #21286a;
    text-align: left;
    margin: 0;
}

h3 {
    margin: 0;
    color: #1967d2;
    font-size: 3.25rem;
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    line-height: 1;
    font-family: 'Jost', 'Arial', sans-serif;
    text-align: left;
}

.instructions {
    font-family: 'Jost', 'Arial', sans-serif;
    text-align: left;
    color: #0d1517;
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    font-size: 1.41rem;
    line-height: 1.2;
    font-weight: 500;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.color {
    font-weight: 600;
}

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

#fields .field {
    position: relative;
    height: 3.8rem;
    background-color: #fff;
    border-radius: 50px;
}

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

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

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

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

#fields input[type='email'],
#fields input[type='text'],
#fields input[type='password'] {
    font-size: 1.35rem !important;
    font-weight: 300;
    font-family: 'Poppins', 'Arial', sans-serif !important;
    color: #727f8b !important;
    position: absolute;
    z-index: 1;
    bottom: 0;
    left: 5.5rem;
    width: calc(100% - 5rem);
    border-bottom: 0;
    height: 100% !important;
    box-sizing: border-box;
    margin-bottom: 0;
    caret-color: #727f8b;
    padding: 0 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: #727f8b;
    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(22, 25, 42);
}

#fields input[type='email'] + span.label,
#fields input[type='text'] + span.label,
#fields input[type='password'] + span.label {
    color: #727f8b !important;
    font-size: 1.2rem !important;
    font-weight: normal;
    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: #727f8b;
    font-weight: normal;
}

.button_form {
    height: 3.8rem;
    width: 29rem;
    font-family: 'Jost', 'Arial', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    font-size: 1.5rem;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    border-radius: 30px;
    text-align: center;
    transition: all 0.3s ease-in-out;
    position: relative;
    letter-spacing: 0.05rem;
    background-color: #202869;
    transition: all 0.4s ease-in-out;
}

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

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

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

#oubli_form a {
    font-family: 'Poppins', 'Arial', sans-serif;
    font-weight: 300;
    font-style: italic;
    font-size: 1.2rem;
    text-align: center;
    transition: all 0.3s ease-in-out;
    position: relative;
    color: #1d2566;
    opacity: 1;
    text-decoration: underline;
}

#oubli_form a:hover {
    color: #1967d2;
}

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

.bottom_logo {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-width: 100px;
    margin-left: 0;
    margin-right: auto;
    text-align: left;
}

.bottom_logo img {
    max-width: 100%;
    height: auto;
    border: 0;
}

@media only screen and (min-width: 360px) and (max-width: 390px) {
    h2 {
        font-size: 3.1rem !important;
    }
    h3 {
        font-size: 2.75rem !important;
    }
    .instructions {
        font-size: 1.3rem !important;
    }
    #oubli_form {
        position: relative;
        right: 3rem !important;
    }
}

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

    .contenu {
        padding: 0 2rem;
    }

    .disp {
        display: none;
    }

    h3 {
        font-size: 3.25rem;
    }

    .instructions {
        font-size: 1.2rem;
    }

    #oubli_form {
        margin-bottom: 2;
    }
}

@media screen and (max-width: 411px) {
    h2 {
        font-size: 2.3rem;
    }
}

@media screen and (min-width: 600px) {
    #page {
        padding: 2rem 0;
        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;

        padding: 2rem;
        position: relative;
        z-index: 1;

        max-width: 41.534rem;
    }

    .contenu .forme {
        position: relative;
        z-index: 1;
    }

    .bg {
        display: none;
    }

    .d-none {
        display: block;
    }

    .separateur {
        margin-left: 0;
    }

    header,
    footer {
        width: 100%;
    }

    .contenu header,
    .contenu main {
        max-width: 32rem;
    }
}

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

    #oubli_form {
        transform: translateX(0px);
    }
}

@media screen and (min-width: 960px) {
    #page {
        background: url(../images/bg.jpg) no-repeat center center;
        min-height: 100%;
        display: flex;
        flex-direction: row;
        background-size: cover;
        padding: 0;
        overflow: hidden;
    }

    .contenu {
        width: 50%;
        flex: 1 1 50%;
        max-width: unset;
        margin: 0;
        background: #ffff;
        box-shadow: none;
        border-radius: 0;
    }

    .bg {
        display: block;
        width: 50%;
        flex: 1 1 50%;
        height: initial;
    }

    .contenu header,
    .contenu main {
        max-width: 32rem;
    }
}

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

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

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

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

    .contenu {
        width: 50%;
        flex: 1 1 50%;
        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: 29rem;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1600px) {
    .contenu header {
        max-width: 37rem !important;
        margin-left: 14%;
    }
    .instructions {
        font-size: 1.3rem;
    }

    h2,
    h3 {
        font-size: 3.4rem;
    }
    #logo {
        width: 86%;
    }
}
@media screen and (min-width: 1200px) and (max-height: 820px) {
    html {
        font-size: 12px;
    }

    #oubli_form {
        text-align: right;
        transform: translateX(38px);
        margin-bottom: 3.5rem;
        right: 3rem;
        position: relative;
    }
}

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

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

input:focus::placeholder {
    opacity: 0;
}
