@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: "Helvetica Neue LT Std", "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 rgba(255, 255, 255, 0) inset !important;
  -webkit-text-fill-color: #666666 !important;
}

::-webkit-input-placeholder,
:-moz-placeholder,
::-moz-placeholder,
:-ms-input-placeholder {
  color: #666666 !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: url(../images/bg.jpg) no-repeat;
}

.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 {
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  width: 100%;
  max-width: 34rem;
  margin: 0 auto;
}

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

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

div.hr {
  margin: 1.33rem 0;
}

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

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

h2 {
  font-family: "Poppins", "Arial", sans-serif;
  margin: 0;
  color: #023047;
  font-size: 3.5rem;
  font-weight: bold;
  text-align: left;
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  background-color: #f9c432;
  padding: 5px 4px;
  width: 59%;
}

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

h3 {
  font-family: "Poppins", "Arial", sans-serif;
  margin: 0;
  color: #023047;
  font-size: 1.88rem;
  font-weight: normal;
  line-height: 1;
  text-transform: uppercase;
  text-align: left;
  margin-bottom: 5rem;
}

/* 
h3 span {
  color: #ffffff;
  background-color: #023047;
} */

.instructions {
  font-family: "Poppins", "Arial", sans-serif;
  color: #023047;
  font-size: 1.6rem;
  line-height: 1.6;
  font-weight: normal;
  margin-bottom: 3rem;
  width: 40.4rem;
  text-align: left;
}

.instructions span {
  color: #ffffff;
  background-color: #023047;
  padding: 5px 4px;
}

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

#fields .field {
  position: relative;
  background-color: transparent;
  margin: 0;
  height: 3.6rem;
}

#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: "Poppins", "Arial", sans-serif;
  color: #012a4a;
  font-weight: normal;
}

#fields input[type="email"],
#fields input[type="text"],
#fields input[type="password"] {
  font-size: 1.4rem !important;
  font-weight: normal;
  font-family: "Poppins", "Arial", sans-serif;
  color: #012a4a !important;
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 5rem;
  width: calc(100% - 5rem);
  height: 100% !important;
  border: solid 2px #ddf3fb;
  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: #67bcf5;
  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: "Poppins", "Arial", sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: 1.3rem;
  position: relative;
  margin-top: 0.75rem;
  margin-bottom: 2.25rem;
}

#oubli_form a {
  color: #023047;
  text-decoration: underline;
  position: relative;
  z-index: 2;
  transition: all 0.3s;
  padding: 5px 4px;
}

#oubli_form a:hover {
  color: #ffffff;
  background-color: #023047;
  padding: 5px 4px;
}

.button_form {
  height: 4rem;
  width: 43%;
  font-family: "Poppins", "Arial", sans-serif;
  font-weight: bold;
  font-size: 1.4rem;
  color: #023047;
  background-color: #f9c432;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  text-align: center;
  transition: all 0.3s ease-in-out;
  position: relative;
  text-transform: uppercase;
}

.hexa_btn {
  display: none;
}

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

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

header {
  position: relative;
}

main {
  position: relative;
}

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

  .instructions {
    width: 100%;
    font-size: 1.3rem;
  }
}

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

  .hide_br {
    display: none;
  }

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

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

  .hide_br {
    display: none;
  }
}

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

  .bg {
    display: none;
  }

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

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

  #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/bg.jpg) no-repeat;
    background-size: cover;
    background-position: 50% 50%;
  }
}

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

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

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