@charset "UTF-8";
#fields {
  margin-top: 1rem;
  box-sizing: border-box;
}

.field {
  position: relative;
  height: 50px;
  background-color: #f0f6f8;
  border: 0;
  overflow: hidden;
  height: 4rem;
  color: #565656;
  border-radius: 5px;
  margin: 0 0 1rem 0;
}

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

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

input[type=text],
input[type=password] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  color: #2e2e2e !important;
  height: 100% !important;
  border: 0 !important;
  padding-left: 15px !important;
  box-sizing: border-box !important;
  background-color: transparent;
  font-size: 1.3rem !important;
  border-bottom: 1px solid transparent !important;
}

input[type=text]:focus,
input[type=password]:focus {
  border: 0;
}

input[type=text].valid,
input[type=password].valid {
  border: 0;
}

input[type=text]:not(.browser-default):focus:not([readonly]), input[type=text]:focus:not([readonly]),
input[type=password]:not(.browser-default):focus:not([readonly]),
input[type=password]:focus:not([readonly]) {
  border: 0;
  box-shadow: none !important;
  border-bottom: 1px solid #002060 !important;
}

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 {
  color: #2e2e2e;
}

:-moz-placeholder {
  color: #2e2e2e;
}

::-moz-placeholder {
  color: #2e2e2e;
}

:-ms-input-placeholder {
  color: #2e2e2e;
}

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

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

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

.cell {
  display: table-cell;
  vertical-align: top;
}

.color {
  color: #fcd322;
}

.contenu {
  margin: auto;
}

main {
  background-color: #fff;
  padding: 1.5rem;
  box-sizing: border-box;
  margin: auto;
  flex: 0 0 375px;
}

.illustration {
  max-width: 375px;
  margin: auto;
}

.logo {
  width: 90%;
  margin: auto;
}

.button_form {
  text-align: center;
  display: block;
  height: 4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  font-weight: bold;
  text-transform: uppercase;
  background-color: #fcd322;
  color: #103a8d;
  border-radius: 5px;
  text-align: center;
  transition: all 0.3s ease-in-out;
  margin-top: 1rem;
  padding-top: 0.15rem;
}

.button_form:hover {
  letter-spacing: 1.5pt;
}

.button_form:hover .next {
  margin-left: 2rem;
  margin-right: 1rem;
}

@media (min-width: 395px) {
  .cell {
    vertical-align: middle;
    padding-top: 5%;
  }
  main {
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 20px;
  }
}

@media (min-width: 600px) {
  .cell {
    vertical-align: middle;
    padding-top: unset;
  }
  .contenu {
    width: 80%;
    display: flex;
    flex-direction: column;
  }
  .illustration {
    max-width: 375px;
    margin: auto;
    position: relative;
    padding-left: 10%;
  }
  .illustration::before {
    content: '';
    background: url(../images/ble.png) no-repeat top center;
    background-size: contain;
    position: absolute;
    top: -0.75rem;
    bottom: -0.75rem;
    left: -50px;
    width: 29%;
  }
}

@media (min-width: 992px) {
  #page {
    position: relative;
  }
  #page::before {
    content: '';
    background: url(../images/epis.png) no-repeat bottom left;
    background-size: contain;
    position: absolute;
    bottom: 0;
    left: 3%;
    width: 25%;
    height: 250px;
  }
  .contenu {
    position: relative;
    width: 75%;
    flex-direction: row;
    z-index: 1;
  }
  main {
    margin: unset;
  }
  .illustration {
    max-width: unset;
    margin: unset;
    position: relative;
    padding-left: unset;
    flex: 1 1 100%;
    display: flex;
    align-items: flex-end;
  }
  .illustration img {
    max-width: 620px;
    margin-left: auto;
    display: none;
  }
  .illustration::before {
    background: url(../images/bg.png) no-repeat left center;
    background-size: contain;
    top: -7.5rem;
    bottom: -4.5rem;
    left: -2rem;
    width: 100%;
  }
}

@media (min-width: 1200px) {
  .contenu {
    width: 995px;
  }
  main {
    padding: 2rem;
    position: relative;
  }
  .illustration img {
    display: none;
  }
  .illustration::before {
    background: url(../images/bg.png) no-repeat left center;
    background-size: contain;
    top: -5.5rem;
    bottom: -4.5rem;
    left: -2rem;
    width: 104%;
  }
}

@media (min-width: 1600px) {
  html {
    font-size: 15px;
  }
  #page {
    position: relative;
  }
  #page::before {
    content: '';
    background: url(../images/epis.png) no-repeat bottom left;
    background-size: contain;
    position: absolute;
    bottom: 0;
    left: 3%;
    width: 30%;
    height: 32%;
  }
  .contenu {
    width: 1178px;
    margin-left: 22%;
  }
  main {
    flex: 0 0 444px;
  }
  main::before {
    content: '';
    background: url(../images/feuilles.png) no-repeat left center;
    background-size: contain;
    position: absolute;
    top: -138px;
    left: -152px;
    width: 190px;
    height: 150px;
    z-index: 0;
  }
}

@media (min-width: 1900px) {
  .contenu {
    margin-left: auto;
  }
}
