@charset "UTF-8";
#fields {
  box-sizing: border-box;
  overflow: hidden;
  box-shadow: 2px 23px 51px 0px rgba(1, 1, 1, 0.17);
  border: 1px solid #dcdcdc;
  border-radius: 0;
  margin-bottom: 1.5rem;
}

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

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

#fields label {
  position: absolute;
  top: 0;
  left: 0;
  width: 6rem;
  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: 6rem;
  width: calc(100% - 6rem);
  border: 0;
  color: #1d1d1b;
  box-sizing: border-box;
  margin-bottom: 0;
  height: 3.75rem;
  font-size: 1.09rem !important;
  font-family: "Arial", sans-serif;
}

#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: 6rem;
  color: #1d1d1b;
  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-family: "Arial", sans-serif;
  font-weight: bold;
  font-size: 1.09rem !important;
}

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

::-webkit-input-placeholder,
:-moz-placeholder,
::-moz-placeholder,
:-ms-input-placeholder {
  color: #1d1d1b !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%;
}

.grid {
  height: 100% !important;
  overflow: hidden;
}

.grid-item {
  width: 100%;
  height: 25%;
  display: none;
}

.grid-item.item-sm {
  display: block;
}

.grid-item.height2 {
  height: 50%;
}

.grid-item.item0 {
  background: url(../images/item0.png) no-repeat center center;
  background-size: cover;
  background-color: #dbdbdb;
}

.grid-item.item1 {
  background: url(../images/item1.png) no-repeat center center;
  background-size: auto 100%;
  background-color: #dbdbdb;
}

.grid-item.item2 {
  background: url(../images/item2.png) no-repeat center center;
  background-size: cover;
  background-color: #dbdbdb;
}

.grid-item.item3 {
  background: url(../images/item3.png) no-repeat center center;
  background-size: auto 100%;
  background-color: #dbdbdb;
}

.grid-item.item4 {
  background: url(../images/item4.png) no-repeat center center;
  background-size: cover;
  background-color: #dbdbdb;
}

.grid-item.item5 {
  background: url(../images/item5.png) no-repeat center center;
  background-size: auto 100%;
  background-color: #000;
}

.grid-item.item6 {
  background: url(../images/item6.png) no-repeat center center;
  background-size: cover;
  background-color: #dbdbdb;
}

.grid-item.item7 {
  background: url(../images/item7.png) no-repeat center center;
  background-size: auto 100%;
  background-color: #dbdbdb;
}

.grid-item.item8 {
  background: url(../images/item8.png) no-repeat center center;
  background-size: cover;
  background-color: #dbdbdb;
}

.grid-item.item9 {
  background: url(../images/item9.png) no-repeat center center;
  background-size: cover;
  background-color: #dbdbdb;
}

.grid-item.item10 {
  background: url(../images/item10.png) no-repeat center center;
  background-size: auto 100%;
  background-color: #dbdbdb;
}

.grid-item.item11 {
  background: url(../images/item11.png) no-repeat center center;
  background-size: cover;
  background-color: #dbdbdb;
}

.grid-item.item12 {
  background: url(../images/item12.png) no-repeat center center;
  background-size: cover;
  background-color: #dbdbdb;
}

@media (min-width: 1200px) {
  .grid-item {
    width: 50%;
    display: none;
  }
  .grid-item.item-sm {
    display: none;
  }
  .grid-item.item-md {
    display: block;
  }
}

@media (min-width: 1600px) {
  .grid-item {
    width: 25%;
    display: block;
  }
  .grid-item.width2 {
    width: 50%;
  }
  .grid-item.width3 {
    width: 75%;
  }
}

* {
  box-sizing: border-box;
}

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

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

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

.illustration {
  display: none;
  vertical-align: top;
}

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

header {
  background: url(../images/bg_header.png) repeat-x top left;
  background-size: contain;
  text-align: center;
}

header img {
  margin-top: 2rem;
  max-width: 30%;
}

main {
  padding: 1rem;
  padding-top: 2.5rem;
}

.hr {
  margin-top: 2.5rem;
}

h2 {
  text-align: center;
  font-size: 3rem;
  color: #202020;
  margin: 0;
}

h3 {
  text-align: center;
  font-size: 1.36rem;
  color: #898989;
  margin: 0;
}

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

.button_form:hover {
  background-color: #117dd9;
}

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

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

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

@media (min-width: 992px) {
  .contenu {
    display: table-cell;
    width: 75%;
  }
  .illustration {
    display: table-cell;
    overflow: hidden;
    background-color: #dbdbdb;
    width: 25%;
    height: 100%;
  }
}

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

@media (min-width: 1600px) {
  html {
    font-size: 14px;
  }
  .contenu {
    width: 44.5%;
  }
  .illustration {
    width: 55.5%;
  }
}

@media (min-height: 660px) {
  header img {
    margin-top: 12vh;
    max-width: 20%;
  }
  main {
    padding-top: 6vh;
  }
  .hr {
    margin-top: 6vh;
  }
  #fields {
    margin-bottom: 2.5rem;
  }
  #fields label img {
    max-height: 30px;
  }
  .button_form {
    margin-bottom: 1.5rem;
  }
}
