@charset "UTF-8";
#fields {
  box-sizing: border-box;
  overflow: hidden;
  border: 1px solid #dcdcdc;
  border-radius: 0;
  margin-bottom: 2rem;
}

#fields .field {
  position: relative;
  background-color: #fff;
  margin: 0;
  border-radius: 0;
  height: 5rem;
  color: #565656;
  border-top: 1px solid #e6e6e6;
}

#fields .field:first-of-type {
  border-top: 0;
  border-left: 0;
  background-color: #f6f6f6;
}

#fields label {
  position: absolute;
  top: 0;
  left: 0;
  width: 5rem;
  height: 100%;
  text-align: center;
  -webkit-transform: none;
  transform: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

#fields label img {
  height: 50%;
  max-height: 25px;
  width: auto;
}

#fields input[type=email],
#fields input[type=text],
#fields input[type=password] {
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 5rem;
  width: calc(100% - 5rem);
  border: 0;
  color: #565656;
  box-sizing: border-box;
  margin-bottom: 0;
  height: 3.125rem;
  font-size: 0.85rem !important;
  font-family: "montserrat", "arial", sans-serif;
  font-weight: 300;
}

#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: #1d1d1b;
  border: 0;
  box-shadow: none;
  outline: 0;
}

#fields input[type=email] + span.label,
#fields input[type=text] + span.label,
#fields input[type=password] + span.label {
  position: absolute;
  text-align: center;
  left: 5rem;
  color: #2e2e2e;
  top: 50%;
  -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;
  font-size: 0.85rem !important;
  font-family: "montserrat", "arial", sans-serif;
  font-weight: 300;
}

#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% - 0.5rem));
  transform: translateY(calc(-50% - 0.5rem));
}

#fields input[type=email].valide + span.validation::after,
#fields input[type=text].valide + span.validation::after,
#fields input[type=password].valide + span.validation::after {
  content: ' ';
  display: block;
  position: absolute;
  top: 53%;
  right: 15px;
  width: 25px;
  height: 25px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  background: url(../images/valid.png) no-repeat;
  background-size: contain;
}

#fields input[type=email].invalide + span.validation::after,
#fields input[type=text].invalide + span.validation::after,
#fields input[type=password].invalide + span.validation::after {
  content: ' ';
  display: block;
  position: absolute;
  top: 53%;
  right: 15px;
  width: 25px;
  height: 25px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  background: url(../images/invalid.png) no-repeat;
  background-size: contain;
}

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

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  #fields input[type=email] + span.label,
  #fields input[type=text] + span.label,
  #fields input[type=password] + span.label {
    top: 40%;
  }
}

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: #565656 !important;
}

.field:first-of-type input:-webkit-autofill,
.field:first-of-type input:-webkit-autofill:hover,
.field:first-of-type input:-webkit-autofill:focus,
.field:first-of-type 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 #f6f6f6 inset !important;
  -webkit-text-fill-color: #565656 !important;
}

::-webkit-input-placeholder,
:-moz-placeholder,
::-moz-placeholder,
:-ms-input-placeholder {
  color: #565656 !important;
  opacity: 1 !important;
}

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

img {
  max-width: 100%;
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: "arial", sans-serif;
  font-family: 'montserrat', arial, sans-serif;
}

#page {
  display: table;
  height: 100%;
  width: 100%;
  background-color: #fff;
}

.illustration {
  display: none;
  vertical-align: top;
  background: url(../images/bg.jpg) no-repeat top right;
  background-position-y: 30%;
  background-color: #fff;
  background-size: cover;
}

.contenu {
  display: table-cell;
  vertical-align: top;
  width: 100%;
  height: 100%;
  margin-top: 10%;
}

header {
  background-color: #fff;
}

header img {
  max-width: 44%;
  margin-top: -45px;
  max-height: 250px;
}

main {
  padding: 1rem;
  padding-top: 2.5rem;
  background-color: #fff;
}

.hr {
  margin-top: 2.5rem;
}

h2 {
  font-size: 3.02rem;
  color: #333;
  font-weight: 600;
  margin: 0;
}

h3 {
  font-size: 1.6rem;
  color: #333;
  font-weight: normal;
  margin: 0;
}

.button_form {
  display: block;
  height: 3.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.19rem;
  font-weight: bold;
  background-color: #333333;
  color: #fff;
  border-radius: 3px;
  text-align: center;
  transition: all 0.3s ease-in-out;
  padding-top: 0.2rem;
  margin-bottom: 1rem;
}

.button_form:hover {
  background-color: #63cac6;
}

#oubli_form {
  font-size: 0.85rem;
  text-align: right;
}

#oubli_form a {
  color: #666;
  text-decoration: none;
}

@media (min-width: 600px) {
  main {
    max-width: 475px;
    margin: auto;
  }
}

@media (min-width: 992px) {
  .contenu {
    display: table-cell;
    width: 65%;
  }
  .illustration {
    display: table-cell;
    width: 35%;
    height: 100%;
  }
  header img {
    max-height: unset;
  }
  main {
    padding-top: 1vh;
    margin-left: 0.75rem;
  }
}

@media (min-width: 1200px) {
  .contenu {
    width: 45%;
  }
  .illustration {
    width: 55%;
  }
}

@media (min-width: 1600px) {
  html {
    font-size: 15px;
  }
  .contenu {
    width: 46%;
  }
  .illustration {
    width: 54%;
  }
}

@media (min-height: 660px) {
  .hr {
    margin-top: 6vh;
  }
  #fields {
    margin-bottom: 3.5rem;
  }
  #fields label img {
    max-height: 30px;
  }
  .button_form {
    margin-bottom: 2.5rem;
  }
}
