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

html {
  height: 100%;
  font-size: 12px;
}

body {
  height: 100%;
  margin: 0;
  background-color: #fff;
  color: #000;
  font-size: 1.2rem;
  font-family: "Montserrat", "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 10000s ease-in-out 0s,
    box-shadow 10000s ease-in-out 0s !important;
  -webkit-box-shadow: 0 0 0px 1000px #2d3b50 inset !important;
  -webkit-text-fill-color: #2d3b50 !important;
}

::-webkit-input-placeholder,
:-moz-placeholder,
::-moz-placeholder,
:-ms-input-placeholder {
  color: rgb(255, 255, 255) !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: rgb(15, 15, 15);
}

.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 {
  background-color: #ffffff;
  width: 100%;
  flex: 1 1 100%;
  padding: 1rem 5rem 5rem;
  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;
  margin-bottom: 1rem;
}

div.hr {
  margin: 1.33rem 0;
}

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

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

h2 {
  font-family: "Montserrat", "Arial", sans-serif;
  margin: 0;
  color: #2d3b50;
  font-size: 4.5rem;
  font-weight: bold;
  font-style: normal;
  font-display: swap;
  text-align: center;
  text-transform: uppercase;
  line-height: 1;
}

/* h2 span {
  color: #7269af;
} */

.separateur {
  background-color: #fece43;
  width: 10rem;
  display: flex;
  height: 3px;
  text-align: center;
  margin-left: 13rem;
  margin-top: 1rem;
}

h3 {
  font-family: "Montserrat", "Arial", sans-serif;
  margin: 0;
  color: #2d3b50;
  font-size: 2rem;
  font-weight: bold;
  font-style: normal;
  font-display: swap;
  text-align: center;
  text-transform: uppercase;
  line-height: 1.5;
  /* text-transform: uppercase; */
}

h3 span {
  color: #eb5a5c;
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

.instructions {
  font-family: "Montserrat", "Arial", sans-serif;
  color: #2d3b50;
  font-size: 1.465rem;
  line-height: 1.1;
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  margin-bottom: 1.05rem;
  width: 100%;
  text-align: left;
}

.instructions span {
  color: #2d3b50;
  font-weight: 600;
}

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

#fields .field {
  position: relative;
  background-color: #ffffff;
  margin: 0;
  height: 4rem;
  /* border: 2px solid #000000; */
  /*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: 1rem;
}

/*#fields .field:not(:last-child)::before{
  content: "Identifiant";
  font-family: "Myriad Pro", "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: "Myriad Pro", "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: 6.5rem;
  height: 100%;
  text-align: center;
  margin-left: 3px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#fields label:after {
  content: "";
  position: absolute;
  width: 23px;
  border-bottom: 1px solid #202b3a;
  right: -0.5rem;
  transform: rotate(90deg);
}

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

#fields input::placeholder {
  font-family: "Montserrat", "Arial", sans-serif !important;
  color: #2d3b50;
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

#fields input[type="email"],
#fields input[type="text"],
#fields input[type="password"] {
  font-size: 1.3rem !important;
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  font-family: "Montserrat", "Arial", sans-serif !important;
  color: #2d3b50 !important;
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 6rem;
  width: calc(100% - 6rem);
  height: 100% !important;
  border-bottom: 0;
  box-sizing: border-box;
  margin-bottom: 0;
  /*border-radius: 50px; */
}

#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: #ffffff;
  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: "Montserrat", "Arial", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  font-size: 1.2rem;
  color: #2d3b50;
  position: relative;
  margin-top: 1rem;
  max-width: 100%;
}

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

#oubli_form a:hover {
  color: #eb5a5c;
}

.button_form {
  height: 3.5rem;
  width: 15rem;
  font-family: "Montserrat", "Arial", sans-serif;
  font-weight: bold;
  font-style: normal;
  font-display: swap;
  font-size: 1.6rem;
  color: rgb(255, 255, 255);
  background-color: #eb5a5c;
  max-width: 36.33rem;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  text-align: center;
  transition: all 0.3s ease-in-out;
  position: relative;
  margin-top: 2.5rem;
  text-transform: uppercase;
  /*border-radius: 50px;
  background-size: 200% auto;
  background-image: linear-gradient(to right, rgb(251, 187, 82) 0%, rgb(255, 185, 28)  33%, rgb(251, 187, 82)  120%); */
}

.button_form:hover {
  background-position: right center;
  text-decoration: none;
  color: white;
  background-color: #2d3b50;
}

.button_form .arrow {
  margin-left: 1.5rem;
  display: flex;
}

.button_form .arrow img {
  width: 80%;
  height: auto;
}

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

.separateur {
  border-bottom: 9px solid #fece43;
}

header {
  position: relative;
}

main {
  position: relative;
}

@media screen and (max-width: 499px) {
  .contenu {
    padding: 0.7rem;
  }
  h2 {
    font-size: 3.2rem;
  }
  .hide_br {
    display: none;
  }
}

@media screen and (min-width: 1600px) and (max-width: 1900px) {
  .contenu {
    padding: 0 0 8rem;
  }
}
@media screen and (max-width: 392px) {
  .contenu {
    padding: 0.7rem;
    background-color: #e6e6e6;
  }
  h2 {
    font-size: 2.6rem;
  }
  h3 {
    font-size: 1.4rem;
  }
  .separateur {
    margin-left: 10rem;
  }
  .instructions {
    font-size: 1.1rem;
  }
  .hide_br {
    display: none;
  }
}

@media screen and (max-width: 600px) {
  #logo {
    text-align: center;
  }
}

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

@media screen and (width: 1280px) {
  .contenu {
    padding: 8rem !important;
  }
}

@media screen and (width: 810px) {
  .contenu {
    background-color: transparent;
    /*background-color: #fff!important;*/
    justify-content: center;
    height: auto;
    flex: 0 0;
    margin: auto;
    width: auto;
    max-width: 55rem;
    z-index: 2;
    padding: 5rem;
    margin-top: 10rem !important;
  }
}

@media only screen and (max-width: 1800px) and (min-width: 1600px) {
  .contenu {
    padding: 0rem 0rem 10rem !important;
  }
}
@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: 0rem 0 0 0;
  }
  #page {
    padding: 2rem 0 0;
  }
  .small-only {
    display: none;
  }
  div.hr {
    margin: 30px 0;
  }
  .contenu {
    background-color: transparent;
    /*background-color: #fff!important;*/
    justify-content: center;
    height: auto;
    flex: 0 0;
    margin: auto;
    width: auto;
    max-width: 55rem;
    z-index: 2;
    /*padding: 0rem 0rem 16rem;*/
    padding: 0rem 0rem 0rem;
  }
  .bg {
    display: none;
  }
  .bloc_bg {
    width: 100%;
    max-width: 41.985rem;
    background-color: #ffffff00;
  }
  .bloc_bg {
    width: 100%;
    /*padding: 0 4rem;*/
    padding: 0rem 3rem;
  }
  h3 {
    font-size: 1.8rem;
  }
  #fields .field:not(:last-child)::before {
    top: -36px;
    font-size: 5.4rem;
  }
  #fields .field::before {
    top: -26px;
    font-size: 4.68rem;
  }
}

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

  .contenu {
    width: 100%;
    max-width: 51rem;
  }

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

  #fields label {
    width: 4.93rem;
  }

  footer {
    margin-top: 6.6rem;
  }

  .contenu {
    /*padding: 8.9rem 5rem 5rem;*/
  }
}

@media screen and (min-width: 1600px) {
  html {
    font-size: 13px;
  }
  .contenu {
    /*padding: 5rem;*/
  }
}

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

@media screen and (max-width: 767px) {
  /* Mobile styles */
  .contenu {
    padding: 0.5rem;
    background-color: #f0f0f0;
  }
  h2 {
    font-size: 2.5rem;
  }
  h3 {
    font-size: 1.5rem;
  }
  .separateur {
    margin-left: 8rem;
  }
  .instructions {
    font-size: 1rem;
  }
  #logo {
    text-align: center;
  }
  .button_form {
    width: 12rem;
    font-size: 1.4rem;
  }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  /* Tablet styles */
  .contenu {
    padding: 1rem;
    background-color: #e0e0e0;
  }
  h2 {
    font-size: 3rem;
  }
  h3 {
    font-size: 1.8rem;
  }
  .separateur {
    margin-left: 10rem;
  }
  .instructions {
    font-size: 1.2rem;
  }
  #logo {
    text-align: center;
  }
  .button_form {
    width: 14rem;
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 360px) and (max-height: 800px) {
  /* Styles for 360x800 screen size */
  .contenu {
    padding: 0.5rem;
    background-color: #d0d0d0;
  }
  h2 {
    font-size: 2.2rem;
  }
  h3 {
    font-size: 1.3rem;
  }
  .separateur {
    margin-left: 8rem;
  }
  .instructions {
    font-size: 0.9rem;
  }
  #logo {
    text-align: center;
  }
  .button_form {
    width: 10rem;
    font-size: 1.2rem;
  }
}
