@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: black !important;
}

::-webkit-input-placeholder, :-moz-placeholder, ::-moz-placeholder, :-ms-input-placeholder {
  font-style: italic;
  color: black !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;
}

html {
  font-size: 11px;
}

#page {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  font-size: 1.2rem;
  overflow-x: hidden;
}

.small-only {
  display: block;
}

.contenu {
  width: 100%;
  background: #F7F7F7;
  flex: 1 1 100%;
  padding: 2rem 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;
}

div.hr {
  margin: 1.33rem 0;
}

hr {
  width: 20%;
  background: #102026;
  height: 3px;
  border: none;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

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

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

h2 {
  margin: 0;
  color: black;
  font-size: 2.55rem;
  font-weight: 600;
  box-sizing: border-box;
  font-family: 'Poppins', "Arial", sans-serif;
  text-align: left;
  line-height: 1.2;
  text-transform: uppercase;
}

h2 span {
  color: rgb(221, 0, 0);
}

h3 {
  font-family: 'Astoria', "Arial", sans-serif;
  margin: 0;
  color: rgb(8, 54, 110);
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1.2;
  text-align: left;
  text-transform: uppercase;
}

.instructions {
  font-family: "Helvetica", "Arial", sans-serif;
  color: black;
  font-size: 1.298rem;
  line-height: 1.2;
  font-weight: 300;
  margin: 1.5rem 0;
}

.instructions span {
  font-family: "Poppins", "Arial", sans-serif;
  font-weight: normal;
}

.separateur {
  height: 2px;
  background-color: rgb(167, 222, 240);
  width: 7.5rem;
  margin: 1.5rem auto;
}

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

#fields .field {
  position: relative;
  background-color: rgba(255, 255, 255, 0);
  margin: 0;
  height: 3rem;
  border-bottom: 1px solid rgb(209, 209, 209);
}

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

#fields .field:not(:first-child) {
}

/* #fields .field:not(:last-child)::before {
  content: "Identifiant";
  font-family: "Spartan", "Arial", sans-serif !important;
  font-weight: bold;
  position: absolute;
  top: -25px;
  color: rgb(230, 232, 236);
  font-size: 4rem;
  left: -6px;
  opacity: 1;
  letter-spacing: 2px;
}

#fields .field::before {
  content: "Mot de passe";
  font-family: "Spartan", "Arial", sans-serif !important;
  white-space: nowrap;
  font-weight: bold;
  position: absolute;
  top: -14px;
  color: rgb(230, 232, 236);
  font-size: 3.7rem;
  left: -6px;
  opacity: 1;
  letter-spacing: 0;
  word-spacing: 0;
} */

#fields .field:first-of-type label {
  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: 25px;
}

#fields .field:last-of-type label {
  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: 25px;
}

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

#fields label:after {
  content: '';
  position: absolute;
  right: -2rem;
  width: 1px;
  background-color: rgb(209, 209, 209);
  height: 1.8rem;
}

#fields label img {
  height: auto;
  width: auto;
  margin-left: 0.5rem;
}

#fields input::placeholder {
  font-family: "Helvetica", "Arial", sans-serif !important;
  color: black;
  font-weight: normal;
}

#fields input[type=email], #fields input[type=text], #fields input[type=password] {
  font-size: 1.465rem !important;
  font-weight: normal;
  font-family: "Helvetica", "Arial", sans-serif !important;
  color: black !important;
  position: absolute;
  caret-color: black;
  z-index: 1;
  bottom: 0;
  left: 4rem;
  width: calc(100% - 4rem);
  height: 100% !important;
  border-bottom: 0;
  box-sizing: border-box;
  margin-bottom: 0;
  /* border-radius: 50px; */
  padding: 0 2rem;
}

#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: #3674b7;
  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 .3s, -webkit-box-shadow .3s;
  transition: border .3s, -webkit-box-shadow .3s;
  transition: box-shadow .3s, border .3s;
  transition: box-shadow .3s, border .3s, -webkit-box-shadow .3s;
}

.footer-buttons {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  width: 100%;
  -ms-align-items: center;
  align-items: center;
  height: 4.6rem;
  margin-top: 5rem;
}

.button_form {
  width: 50%;
  height: 100%;
  font-family: "Poppins", "Arial", sans-serif;
  font-weight: 500;
  font-size: 1.4rem;
  text-transform: uppercase;
  color: #fff;
  background-color: rgb(221, 0, 0);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease-in-out;
  position: relative;
  letter-spacing: 0.1rem;
}

.button_form:hover, .button_form:focus {
  background-color: rgb(252, 236, 236);
  color: black;
}

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

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

#oubli_form {
  width: 50%;
  height: 100%;
  font-family: "Helvetica", "Arial", sans-serif;
  font-weight: 300;
  font-size: 1.2rem;
  color: black;
  background-color: rgb(252, 236, 236);
  transition: all 0.3s ease-in-out;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -ms-align-items: center;
  align-items: center;
  justify-content: center;
  cursor: pointer;

  background-size: 300% 100%;
  moz-transition: all .3s ease-in-out;
  -o-transition: all .3s ease-in-out;
  -webkit-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;

  /* background-image: linear-gradient(to right, #6cc7da, #92d3ca, #92d3ca, #6cc7da); */
}

#oubli_form a {
  text-decoration: none;
  moz-transition: all .3s ease-in-out;
  -o-transition: all .3s ease-in-out;
  -webkit-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
  border-bottom: 1px solid black;
}

#oubli_form span {
  border-bottom: 1px solid black;
}

#oubli_form:hover {
  background-position: 100% 0;
  moz-transition: all .3s ease-in-out;
  -o-transition: all .3s ease-in-out;
  -webkit-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
  background-color: rgb(221, 0, 0);
  color: white;
}

#oubli_form:hover span {
  moz-transition: all .3s ease-in-out;
  -o-transition: all .3s ease-in-out;
  -webkit-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
  border-bottom: 1px solid white;
}

.oubli_btn {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
}

@media screen and (max-width: 599px) {
  .contenu {
    text-align: center;
  }
  #fields, #oubli_form {
    margin-left: auto;
    margin-right: auto;
  }
  html {
    font-size: 9px
  }
}

@media screen and (min-width: 600px) {
  #page {
    padding: 2rem 0;
    background: url(../images/bg.jpg) no-repeat center center;
    background-size: cover;
    overflow-x: hidden;
    position: relative;
  }
  .small-only {
    display: none;
  }
  div.hr {
    margin: 30px 0;
  }
  .contenu {
    justify-content: unset;
    flex: 0 0;
    margin: auto;
    width: 90%;
    background-image: none;
    background-color: rgba(255, 255, 255, 0);
    z-index: 1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-height: fit-content;
    max-width: 42.6rem;
  }
  .contenu .forme {
    position: relative;
    z-index: 1;
    display: flex;
    background-color: rgba(255, 255, 255, 0);
    flex-direction: column;
    align-items: center;
  }
  .bg {
    display: none;
  }
  header, main, footer {
    width: 29rem;
  }
  #logo {
    width: 29rem;
    margin: 6rem auto 4rem;
  }
}

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

@media screen and (min-width: 960px) {
  #page {
    min-height: 100%;
    display: flex;
    background: url(../images/bg.jpg) no-repeat center center;
    background-size: cover;
    padding: 0;
    overflow-x: hidden;
  }
  .contenu {
    width: 100%;
    flex: 1 1 100%;
    margin: unset;
    /* background: #fff; */
    box-shadow: none;
  }
  .contenu header, .contenu main {
    max-width: 100%;
  }
  .bg {
    display: block;
    width: 0%;
    flex: 1 1 00%;
    height: initial;
  }
}

@media screen and (max-height: 767px) and (min-width: 960px) {
  #logo {
    margin-top: 0;
  }
}

@media screen and (min-width: 1200px) {
  html {
    font-size: 13px;
  }
  #page {
    background: url(../images/bg.jpg) no-repeat center center;
    background-size: cover;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
  }
  .contenu {
    width: 100%;
    flex: 1 1 100%;
    z-index: 1;
    background: rgba(255, 255, 255, 0);
    padding: 0;
  }
  .forme {
    height: 100%;
  }
  .bg {
    width: 0%;
    flex: 1 1 0%;
  }
  .sous-div {
    margin-left: 2.5rem;
  }
}

@media screen and (min-width: 1480px) {
  .contenu {
    max-width: 34.56vw;
  }
}

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

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

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

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

@media screen and (max-width: 1600px) and (max-height: 850px) and (min-width:600px) {
  #page {
    background: url(../images/bg2.jpg) no-repeat center center;;
  }
}

@media screen and (max-width:599px) {
  html {
    font-size: 12px
  }
  #logo {
    width: 90%;
    margin: 4rem auto;
  }
  .instructions {
    text-align: left;
  }
  .display {
    display: none;
  }
}

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

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