@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: "Barlow", "Arial", sans-serif;
}

a {
  text-decoration: none;
}

a:focus {
  outline: 0;
}

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

::-webkit-input-placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #192636;
  opacity: 1;
  /* Firefox */
}

:-ms-input-placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #192636;
  opacity: 1;
  /* Firefox */
}

::-ms-input-placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #192636;
  opacity: 1;
  /* Firefox */
}

::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #192636;
  opacity: 1;
  /* Firefox */
}

:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: #192636;
}

::-ms-input-placeholder {
  /* Microsoft Edge */
  color: #192636;
}

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

.small-only {
  display: block;
}

.contenu {
  width: 100%;
  flex: 1 1 100%;
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-content: center;
}

.bg {
  order: 1;
  width: 100%;
  display: none;
}

header, footer, main {
  width: 90%;
  margin: 0 auto;
}

div.hr {
  margin: 1.33rem 0;
}

#logo {
  width: 100%;
  max-width: 14.4rem;
  min-width: 100px;
  margin-bottom: 2.33rem;
}

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

h2 {
  margin: 0;
  color: #444344;
  font-size: 4.27rem;
  font-weight: 300;
}

h3 {
  margin: 0;
  margin-bottom: 2rem;
  color: #444344;
  font-size: 2.27rem;
  font-weight: 300;
  line-height: 1.1;
}

h3 .color {
  color: #00aeef;
  font-size: 2.07rem;
}

.instructions {
  color: #444344;
  font-size: 1.33rem;
  line-height: 1.35;
  font-weight: 500;
  margin-bottom: 2.87rem;
  letter-spacing: 0.015em;
}

#fields {
  box-sizing: border-box;
}

#fields .field {
  position: relative;
  height: 3.2rem;
  border: 2px solid #dbdbdb;
  background-color: #fff;
}

#fields .field:first-child {
  margin-bottom: 3rem;
}

#fields .field:last-child {
  margin-bottom: 1.33rem;
}

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

#fields label img {
  height: 1.6rem;
  width: auto;
}

#fields label:after {
  content: '';
  border-right: 1px solid #a1c1d1;
  opacity: 0.2;
  position: absolute;
  top: 5px;
  bottom: 5px;
  right: 0;
  width: 100%;
}

#fields input[type=email],
#fields input[type=text],
#fields input[type=password] {
  font-size: 1rem !important;
  font-weight: 500;
  font-family: "Barlow", "Arial", sans-serif !important;
  color: #444344 !important;
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 5.67rem;
  width: calc(100% - 5.67rem);
  border-bottom: 0;
  height: 100% !important;
  padding-left: 2rem;
  padding-right: 2rem;
  box-sizing: border-box;
  margin-bottom: 0;
}

#fields input[type=email]#password,
#fields input[type=text]#password,
#fields input[type=password]#password {
  color: #00aeef !important;
}

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

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

.button_form {
  height: 3.4rem;
  width: 12.93rem;
  font-family: "Barlow", Arial, sans-serif;
  font-weight: 500;
  font-size: 1.07rem;
  color: #fff;
  background-color: #00aeef;
  text-transform: uppercase;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2.2rem auto 0 0;
  text-align: center;
  border-radius: 1.7rem;
  transition: all 0.3s ease-in-out;
  position: relative;
}

.button_form:hover, .button_form:focus {
  background-color: #006c9d;
}

#oubli_form {
  text-align: right;
  font-family: "Barlow", "Arial", sans-serif;
  font-weight: 300;
  margin-top: 1.07rem;
  padding-right: 1.33rem;
  color: #444344;
  max-width: 34.27rem;
}

#oubli_form a {
  color: inherit;
  transition: all 0.3s ease-in-out;
}

#oubli_form a:hover, #oubli_form a:focus {
  color: #006c9d;
}

#oubli_form b {
  font-size: normal;
}

footer {
  margin-top: 2rem;
  color: #fff;
  font-family: "Open Sans", "Arial", sans-serif;
  font-size: 1.2rem;
  font-weight: normal;
}

footer a {
  color: unset;
  vertical-align: middle;
  transition: all 0.15s;
}

footer a.icon {
  display: inline-block;
  width: 2.13rem;
  height: 2.13rem;
}

footer a img {
  width: 100%;
  height: auto;
}

footer a + a {
  margin-left: 1.5rem;
}

footer a:hover, footer a:focus {
  outline: 0;
  color: #006c9d;
}

footer a:hover.icon, footer a:focus.icon {
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.25);
  border-radius: 50%;
  -webkit-transform: translateY(-5px);
  transform: translateY(-5px);
}

@media screen and (min-width: 600px) {
  #page {
    padding: 2rem 0;
    background: url(../images/bg.jpg) no-repeat center right;
    background-size: cover;
  }
  div.hr {
    margin: 30px 0;
  }
  .contenu {
    justify-content: center;
    height: 75%;
    flex: 0 0;
    margin: auto;
    width: 55%;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 2px 23px 51px 0px rgba(1, 1, 1, 0.1);
    padding: 3rem 0;
  }
  .bg {
    display: none;
  }
  header, main, footer {
    width: 75%;
    max-width: 32.33rem;
  }
}

@media (max-width: 959px) {
  .large-only {
    display: none;
  }
}

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

@media screen and (min-width: 960px) {
  html {
    font-size: 11px;
  }
  #page {
    min-height: 100%;
    display: flex;
    flex-direction: row;
    background: url(../images/bg.jpg) no-repeat center center;
    background-size: cover;
  }
  .contenu {
    width: 50%;
    flex: 1 1 50%;
    height: initial;
    margin: initial;
    padding: 0;
    box-shadow: none;
    background-color: transparent;
  }
  .bg {
    display: block;
    width: 50%;
    flex: 1 1 50%;
    height: initial;
    position: relative;
    overflow: hidden;
  }
}

@media screen and (min-width: 1200px) {
  html {
    font-size: 11px;
  }
  .contenu {
    width: 45.4%;
    flex: 1 1 45.4%;
    padding-bottom: 5rem;
  }
  .bg {
    width: 54.6%;
    flex: 1 1 54.6%;
  }
  header, main, footer {
    width: 73%;
  }
}

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

@media screen and (min-width: 1900px) and (min-height: 1080px) {
  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;
  }
  .contenu,
  .bg {
    min-height: 100vh;
  }
}
