@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: "Roboto", 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: #d1d0cb !important;
}

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

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

#page {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  font-size: 1.2rem;
  background: #333333 no-repeat center center;
  background-size: cover;
}

.small-only {
  display: block;
}

.contenu {
  width: 100%;
  background-color: transparent;
  flex: 1 1 100%;
  padding: 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;
  padding: 0;
  max-width: 34rem;
}

div.hr {
  margin: 1.33rem 0;
}

#logo {
  width: 100%;
  min-width: 100px;
  max-width: 100%;
  margin: 0 0 5rem;
  text-align: left;
}

#logo img {
  max-width: 100%;
  height: auto;
  border: 0;
  position: relative;
  z-index: 2;
}

h2 {
  font-family: "Tomorrow", "Arial", sans-serif;
  margin: 0;
  color: #d1d0cb;
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  font-size: 4.87rem;
  line-height: 1;
  letter-spacing: 0.7rem;
  text-transform: uppercase;
}

/* h2 span {
  font-size: normal;
  letter-spacing: 0;
  text-transform: lowercase;
} */

h3 {
  font-family: "Montserrat", "Arial", sans-serif;
  margin: 0;
  color: #d1d0cb;
  font-weight: bold;
  font-style: normal;
  font-display: swap;
  font-size: 2.048rem;
  line-height: 1;
  /* letter-spacing: 0.15rem; */
}
h3 span {
  color: #068599;
  /* font-weight: bold; */
}

.instructions {
  color: #d1d0cb;
  font-size: 1.363rem;
  line-height: 1.2;
  font-weight: normal;
  font-style: normal;
  font-display: swap;
  margin: 4rem 0 2.75rem;
  word-spacing: 1px;
  font-family: "Montserrat", "Arial", sans-serif;
}
.instructions span {
  font-weight: bold;
}
.display {
  display: none;
}
#fields {
  box-sizing: border-box;
}

#fields .field {
  position: relative;
  margin: 0;
  /* border-radius: 50px; */
  height: 4rem;
  background-color: transparent;
  border: 1px solid #d1d0cb;
}

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

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

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

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

#fields input[type="email"],
#fields input[type="text"],
#fields input[type="password"] {
  font-size: 1.4rem !important;
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  font-family: "Montserrat", "Arial", sans-serif !important;
  color: #d1d0cb !important;
  position: absolute;
  z-index: 1;
  bottom: 0px;
  left: 7rem;
  width: calc(100% - 7rem);
  box-sizing: border-box;
  margin-bottom: 0;
  height: 100% !important;
  border-bottom: none;
  /* border-radius: 15px; */
  padding: 0 2rem;
}
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: none !important;
}
#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: #d1d0cb;
  box-shadow: none;
  outline: 0;
}

#fields input[type="email"] + span.label,
#fields input[type="text"] + span.label,
#fields input[type="password"] + span.label {
  color: #d1d0cb !important;
  font-size: 1.2rem !important;
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  font-family: "Montserrat", "Arial", sans-serif !important;
  position: absolute;
  text-align: center;
  left: 4.8rem;
  top: 50%;
  margin-left: 3px;
  -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;
  padding: 0 1rem;
}

#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% - 13px)) scale(0.7);
  transform: translateY(calc(-50% - 13px)) scale(0.7);
}

#fields input[type="email"]:focus:not([readonly]),
#fields input[type="text"]:focus:not([readonly]),
#fields input[type="password"]:focus:not([readonly]) {
  box-shadow: none;
}

.button_form {
  height: 3.6rem;
  width: 55%;
  font-family: "Montserrat", "Arial", sans-serif;
  font-weight: bold;
  font-style: normal;
  font-display: swap;
  font-size: 1.5rem;
  color: #333333;
  /* background: linear-gradient(90deg, #f8b334 0%, #f29604 50%, #f8b334 100%); */
  background: #fbce41;
  background-position: 0% 100%;
  background-size: 200%;
  max-width: 28.87rem;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  text-align: center;
  transition: all 0.3s ease-in-out;
  position: relative;
  letter-spacing: 0.2rem;
  border-radius: 50px;
  margin-top: 2rem;
  text-transform: uppercase;
}

.arrow_button_form {
  position: relative;
  top: 3px;
}

.button_form:hover {
  background-position: 100% 100%;
  background: #d1d0cb;
}

.button_form .arrow {
  width: 2rem;
  position: absolute;
  top: 1.4rem;
  right: 20px;
}

.button_form .arrow svg {
  fill: #fff;
  position: absolute;
  top: 0;
  left: 0;
}

#oubli_form {
  text-align: right;
  font-family: "Montserrat", "Arial", sans-serif;
  font-size: 1.3rem;
  position: relative;
  width: 100%;
  font-weight: normal;
  font-style: italic;
  font-display: swap;
  /* padding-left: 4%; */
}

#oubli_form a {
  font-weight: normal;
  color: #d1d0cb;
  text-decoration: none;
  position: relative;
  z-index: 2;
  background-color: none;
  transition: all 0.2s ease-in-out;
}

#oubli_form a:hover {
  color: #fbce41;
}
.separateur {
  width: 7.2rem;
  margin: 1.2rem 0;
  height: 4px;
  border: none;
  background: white;
}

.dbl_btn {
  margin-top: 0.5rem;
  display: flex;
  /* justify-content: space-between; */
  flex-direction: column;
  align-items: center;
}

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

@media screen and (max-width: 499px) {
  .displ {
    display: none;
  }
  .button_form {
    width: 50%;
  }
  #oubli_form {
    width: 50%;
    font-size: 1.3rem;
  }
}

@media screen and (min-width: 600px) {
  #page {
    padding: 2rem 0;
    background: url(../images/bg2.jpg) no-repeat center center;
    background-size: cover;
  }
  .small-only {
    display: none;
  }
  div.hr {
    margin: 30px 0;
  }
  .display {
    display: none;
  }
  .contenu {
    justify-content: center;
    height: auto;
    flex: 0 0;
    margin: auto;
    width: 55%;
    min-width: 46rem;
    background: transparent no-repeat center center;
  }
  .contenu-bg {
    -webkit-box-shadow: 25px 65px 25px rgba(0, 0, 0, 0.28);
    box-shadow: 25px 65px 25px rgba(0, 0, 0, 0.28);
    border-radius: 60px;
    padding: 6rem 0 7rem 0;
    background-color: #333333;
  }
  .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: 11.5px;
  }
  #page {
    min-height: 100%;
    display: flex;
    flex-direction: row-reverse;
    background: url(../images/bg2.jpg) no-repeat center center;
    background-size: cover;
    padding: 0;
  }
  .display {
    display: block;
  }
  .contenu {
    width: 100%;
    flex: 1 1 100%;
    height: initial;
    margin: initial;
    background: transparent no-repeat center center;
    box-shadow: none;
    border-radius: 0px;
  }
  .contenu-bg {
    max-width: 50rem;
    width: 50rem;
    margin: 0 auto;
  }
  .bg {
    background: transparent;
    /* background: #023368; */
    /* background: url(../images/bg.png) no-repeat center center;
    background-size: cover; */
    order: 1;
    padding-top: 37%;
    display: block;
    width: 0%;
    flex: 1 1 0%;
    height: initial;
    position: relative;
    overflow: hidden;
  }
}

@media screen and (min-width: 1200px) {
  #page {
    background: url(../images/bg.jpg) no-repeat 40% center;
    background-size: cover;
  }
  html {
    font-size: 11.5px;
  }
  .contenu {
    width: 55%;
    flex: 1 1 55%;
    background: #ffffff00;
  }
  .bg {
    width: 45%;
    flex: 1 1 45%;
  }
  .display {
    display: block;
  }
  .contenu-bg {
    /* background: rgb(61, 86, 79) no-repeat center center; */
    background-color: #333333;
    max-width: 50rem;
    width: 100%;
    height: auto;
    margin: 0 auto;
    border-bottom-left-radius: 150px;
  }
  header,
  main,
  footer {
    width: 100%;
    max-width: 34rem;
  }
}

@media screen and (min-width: 1600px) {
  html {
    font-size: 12px;
  }
  #fields input[type="email"],
  #fields input[type="text"],
  #fields input[type="password"] {
    bottom: -1px;
  }
  .contenu {
    width: 60%;
    flex: 1 1 46%;
    background: #ffffff00;
  }
  .bg {
    width: 40%;
    flex: 1 1 40%;
  }
}
@media screen and (min-width: 1600px) and (max-height: 745px) {
  html {
    font-size: 11.5px;
  }
}
@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;
  }
  .contenu,
  .bg {
    min-height: 100vh;
  }
  .bg .illu_1,
  .bg .illu_2 {
    opacity: 0.65;
  }
}

@supports not (mix-blend-mode: multiply) {
  .bg .illu_1,
  .bg .illu_2 {
    opacity: 0.65;
  }
}

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

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