@charset "UTF-8";
/* 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;
}

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

html, body {
  height: 100%;
  font-size: 11px;
}

body {
  background-color: #fff;
  font-family: "Myriad Pro", arial, sans-serif;
}

#page {
  color: #1a1a1a;
  display: flex;
  min-height: 100%;
  width: 100%;
  background-color: #fff;
}

#page > form {
  background-color: #fff;
}

#page h1 {
  font-size: 2.5rem;
  margin: 0;
  color: #242424;
  font-family: 'Arial', sans-serif;
  font-weight: normal;
  letter-spacing: 0.21em;
}

#page h1::after {
  content: '';
  display: block;
  background-color: #642584;
  height: 0.625rem;
  width: 8.125rem;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

#page h2 {
  font-size: 2.5rem;
  margin: 0;
  color: #242424;
  font-family: 'Arial', sans-serif;
  font-weight: normal;
  letter-spacing: 0.05em;
}

#page h3 {
  font-size: 2.812rem;
  margin: 0;
  color: #242424;
  font-family: 'Arial', sans-serif;
  font-weight: bold;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.bg {
  background: url("../images/bg.jpg") no-repeat center center;
  background-size: cover;
  display: none;
  order: -1;
}

.content {
  width: 100%;
  display: flex;
  flex-direction: column;
}

#logo {
  width: 90%;
  max-width: 163px;
  height: auto;
  margin: 10px auto;
  margin-bottom: 3.875em;
  text-align: center;
}

#logo img {
  max-height: 100%;
}

main {
  width: 90%;
  margin: auto;
}

#instructions {
  margin: 0;
  margin-top: 0.625rem;
  font-size: 1.25rem;
  font-family: "Myriad Pro", sans-serif;
  color: #333;
  letter-spacing: 0.07em;
  line-height: 1.1;
}

#instructions span {
  font-weight: bold;
}

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 #e3e0f1 inset !important;
  -webkit-text-fill-color: #1a1a1a !important;
  font-size: 1.27rem;
}

.input-field {
  margin-top: 0;
}

.input-field:first-child {
  margin-top: 2rem;
}

.input-field:first-child input {
  margin-bottom: 1rem;
}

.input-field input {
  background-color: #e3e0f1;
  height: 3.5625rem;
  border: 0;
  border-bottom: 1px solid #e3e0f1;
  color: #1a1a1a;
  padding: 0.5rem 1rem;
  box-sizing: border-box;
  font-size: 1.27rem;
  margin-bottom: 0.5rem;
}

.input-field input.valid {
  border: 0;
  background-color: #e3e0f1 !important;
  border-bottom: 1px solid #e3e0f1;
}

.input-field input:focus {
  background-color: #e3e0f1;
  border-bottom: 1px solid #642584 !important;
}

.button_form {
  display: block;
  cursor: pointer;
  font-size: 1.5rem;
  background-color: #642584;
  color: #fff;
  border-radius: 0;
  text-align: center;
  transition: background-color 0.3s ease-in-out;
  position: relative;
  margin: 2.5rem auto 2.5rem 0;
}

.button_form:hover {
  background-color: #b278fe;
}

.button_form::before {
  content: ' ';
  width: 1rem;
  height: 1rem;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  background-size: contain;
  position: absolute;
  top: 50%;
  right: 20px;
  -webkit-transform-origin: center center;
  transform-origin: center center;
  -webkit-transform: translateY(-50%) rotate(-45deg);
  transform: translateY(-50%) rotate(-45deg);
}

.button_form span {
  display: inline-block;
  margin: 0.4375rem 3.125rem 0.4375rem 1.5625rem;
  text-transform: uppercase;
}

#oubli_form {
  font-size: 1rem;
  display: block;
}

#oubli_form a {
  position: relative;
  z-index: 1;
  color: #1a1a1a;
  text-decoration: none;
}

#oubli_form a:hover {
  color: #b278fe;
}

@media screen and (max-width: 359px) {
  #page {
    padding-top: 8%;
  }
  .input-field > label {
    font-size: 0.9rem;
  }
  #instructions {
    font-size: 1.225rem;
  }
}

@media screen and (min-width: 600px) {
  html {
    font-size: 13px;
  }
  #page {
    background: url("../images/bg-xl.png") no-repeat left center;
    background-size: cover;
  }
  header, main {
    width: 75%;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 0 0.9375rem;
  }
  #logo {
    margin-right: auto;
    margin-left: 0;
  }
  #fields {
    width: 100%;
  }
}

@media screen and (min-width: 960px) {
  html {
    font-size: 14px;
  }
  #page {
    background: none;
  }
  .bg {
    display: block;
    width: calc(100% - 48%);
    background: url("../images/bg-picto.png") no-repeat bottom right, url("../images/bg-picto-top.png") no-repeat top right, url("../images/bg-color.png") repeat bottom right, url("../images/bg.png") no-repeat top right;
    background-color: #642584;
    background-size: contain;
  }
  .content {
    width: 48%;
    margin: auto;
  }
  main {
    margin-left: auto;
    margin-right: auto;
    background-color: transparent;
    padding: 0;
  }
  .input-field,
  .button_form {
    max-width: 25.75rem;
  }
}

@media screen and (min-width: 1200px) {
  html {
    font-size: 16px;
  }
  .bg {
    display: block;
    background: url("../images/bg-picto.png") no-repeat bottom right, url("../images/bg-picto-top.png") no-repeat top right, url("../images/bg-color.png") repeat bottom right, url("../images/bg.png") no-repeat top right;
    background-color: #642584;
    background-size: contain;
    width: calc(100% - 48%);
    min-width: calc(100% - 900px);
  }
  .content {
    width: 48%;
    max-width: 900px;
  }
  main {
    margin-left: 140px;
  }
}

@media all and (min-aspect-ratio: 1921 / 937) {
  .bg {
    display: block;
    background: url("../images/bg-picto.png") no-repeat bottom right, url("../images/bg-picto-top.png") no-repeat top right, url("../images/bg-color.png") repeat bottom right, url("../images/bg.png") no-repeat left top;
    background-color: #642584;
    background-size: contain, contain, contain, cover;
    width: calc(100% - 48%);
    min-width: calc(100% - 900px);
  }
}

@media all and (-ms-high-contrast: none) {
  #page .contenu main .field.input-field {
    overflow: visible;
    text-align: left !important;
  }
  #page .contenu main .field.input-field .prefix {
    text-align: center;
  }
  #page .contenu main .field.input-field .prefix ~ input::-ms-clear, #page .contenu main .field.input-field .prefix ~ input::-ms-reveal {
    display: none;
  }
}
