@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: 'Lato';
}

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 rgba(255, 255, 255, 0) inset !important;
    -webkit-text-fill-color: #000000 !important;
}

::-webkit-input-placeholder,
:-moz-placeholder,
::-moz-placeholder,
:-ms-input-placeholder {
    color: #000000 !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;
    flex-direction: column-reverse;
    font-size: 1.2rem;
    background-color: white;
}

.c-1,
.c-2,
.c-3 {
    display: none;
}

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

#particles-js {
    -webkit-transform: rotate(19deg) translate(-29%, -50%);
    transform: rotate(19deg) translate(-29%, -50%);
    mix-blend-mode: overlay;
}

.small-only {
    display: block;
}

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

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

.bloc_bg {
    width: 90%;
    margin: 0 auto;
    background-color: #fff;
}

div.hr {
    margin: 1.33rem 0;
}

#logo {
    /* position: absolute; */
    width: 100%;
    max-width: 100%;
    min-width: 100px;
    margin: 4rem 0rem;
    text-align: center;
}

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

h2 {
    font-family: 'Bebas Neue', 'Arial', sans-serif;
    margin: 0;
    color: #000000;
    font-size: 4rem;
    font-weight: bold;
    font-style: normal;
    font-display: swap;
    text-align: left;
    letter-spacing: 0;
    line-height: 1;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0rem;
}

/* h2 span {
  font-weight: bold;
  color: rgb(24, 66, 117);
} */

.separateur {
    background-color: #e20b7b;
    width: 4.15rem;
    display: flex;
    height: 3px;
    margin: 2rem 0;
}

h3 {
    font-family: 'Bebas Neue', 'Arial', sans-serif;
    margin: 0;
    color: #000000;
    font-size: 2.72rem;
    font-weight: bold;
    font-style: normal;
    font-display: swap;
    line-height: 1;
    text-transform: uppercase;
    text-align: left;
    letter-spacing: 0.03rem;
}

h3 span {
    color: #000000;
}

.instructions {
    font-family: 'Lato', 'Arial', sans-serif;
    color: #000000;
    font-size: 1.43rem;
    line-height: 1.2;
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    margin-bottom: 3rem;
    width: 100%;
    text-align: left;
}

.instructions span {
    font-weight: bold;
}

#fields {
    box-sizing: border-box;
    max-width: 100%;
    margin: auto;
}

#fields .field {
    position: relative;
    background-color: transparent;
    margin: 0;
    height: 3.6rem;
    /* border-radius: 50px; */
    /* -webkit-box-shadow: 0 0 30px 1px rgb(1 1 1 / 15%);
  box-shadow: 0 0 20px 1px rgb(1 1 1 / 15%); */
}

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

/* #fields .field:not(:last-child)::before{
  content: "Identifiant";
  font-family: "Helvetica Neue LT Std", "Arial", sans-serif !important;
  font-weight: bold;
  position: absolute;
  top: -22px;
  font-size: 4.6rem;
  left: -9px;
  opacity: 0.1;
}
#fields .field::before{
  content: "Mot de passe";
  font-family: "Helvetica Neue LT Std", "Arial", sans-serif !important;
  font-weight: bold;
  position: absolute;
  top: -12px;
  font-size: 3.7rem;
  left: -9px;
  opacity: 0.1;
} */

#fields .field.changed::before {
    content: '';
}

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

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

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

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

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

/* #fields label:after {
  content: '';
  position: absolute;
  width: 2rem;
  border-bottom: 1px solid #666666;
  right: -1rem;
  transform: rotate(90deg);
} */

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

#fields input::placeholder {
    font-family: 'Myriad Pro', 'Arial', sans-serif;
    color: #000000;
    font-weight: 500;
}

#fields input[type='email'],
#fields input[type='text'],
#fields input[type='password'] {
    font-size: 1.5rem !important;
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    font-family: 'Myriad Pro', 'Arial', sans-serif;
    color: #000000 !important;
    position: absolute;
    z-index: 1;
    bottom: 0;
    left: 5rem;
    width: calc(100% - 5rem);
    height: 100% !important;
    border: solid 2px #16151d;
    box-sizing: border-box;
    margin-bottom: 0;
    padding-left: 3rem;
    padding-right: 1rem;
}

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

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

#oubli_form {
    text-align: right;
    font-family: 'Myriad Pro', 'Arial', sans-serif;
    font-weight: bold;
    font-style: normal;
    font-display: swap;
    font-size: 1.2rem;
    position: relative;
    margin-top: 0.75rem;
    margin-bottom: 2.25rem;
}

#oubli_form a {
    color: #000000;
    text-decoration: none;
    position: relative;
    z-index: 2;
    transition: all 0.3s;
    border-bottom: 1px solid #000000;
    /* font-style: italic; */
}

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

.button_form {
    height: 4rem;
    width: 43%;
    font-family: 'Poppins', 'Arial', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    font-size: 1.35rem;
    color: rgb(255, 255, 255);
    background-color: #a6daef;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    /* border: 2px solid #ca4c1c; */
    /* border-radius: 10px; */
    text-align: center;
    transition: all 0.3s ease-in-out;
    position: relative;
    letter-spacing: 0.15rem;
    text-transform: uppercase;
    /* padding-top: 0.4rem; */

    background-size: 300% 100%;
    moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}
.hexa_btn {
    display: none;
}

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

.button_form:hover,
.button_form:focus {
    background-color: #000000;
    color: #fff;

    background-position: 100% 0;
    moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}
/* .separateur{
  max-width: 4.539rem;
  border-bottom: 5px solid #0b5194;
  margin: 1rem auto 1.5rem;
  border-radius: 50px;
} */

header {
    position: relative;
}

main {
    position: relative;
}

@media screen and (max-width: 599px) {
    .contenu {
        background-color: white;
    }

    html {
        font-size: 12px;
    }
}

@media screen and (max-width: 509px) {
    .contenu {
        padding: 0.7rem;
    }

    h2 {
        font-size: 3.6rem;
    }

    .hide_br {
        display: none;
    }

    #logo img {
        max-width: 70%;
    }
}

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

    h3 {
        font-size: 2.3rem;
    }

    .hide_br {
        display: none;
    }
}

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

@media screen and (min-width: 600px) {
    #page.theme_1 {
        background: url(../images/bg.jpg) no-repeat;
        background-size: cover;
        background-position: 50% 50%;
    }

    #fields {
        margin: 0;
    }

    #page {
        padding: 2rem 0;
    }

    .small-only {
        display: none;
    }

    div.hr {
        margin: 30px 0;
    }

    .contenu {
        background-color: transparent;
        justify-content: center;
        height: auto;
        flex: 0 0;
        margin: auto;
        width: auto;
        max-width: 55rem;
        z-index: 2;
    }

    .bg {
        display: none;
    }

    .bloc_bg {
        width: 100%;
        max-width: 41.985rem;
    }

    .bloc_bg {
        width: 100%;
        padding: 0 6rem;
    }

    #fields .field:not(:last-child)::before {
        top: -36px;
        font-size: 5.4rem;
    }

    #fields .field::before {
        top: -26px;
        font-size: 4.68rem;
    }
}

@media screen and (max-width: 1000px) {
    #page.theme_1 {
        background: url(../images/bg2.jpg) no-repeat;
        background-size: cover;
        background-position: 50% 50%;
    }
}

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

    .contenu {
        width: 65%;
        max-width: 52rem;
    }

    header .hr {
        margin: 3rem 0 2.87rem;
    }

    footer {
        margin-top: 6.6rem;
    }

    .valid {
        position: absolute;
        transform: translateX(7.5%);
    }
}

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

    #oubli_form {
        margin-bottom: 3.5rem;
    }
}

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

@media screen and (min-width: 960px) and (max-height: 940px) {
    main::after {
        content: none;
        display: none;
    }
}

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

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