@charset "UTF-8";
* {
  box-sizing: inherit;
}

html {
  height: 100%;
}

body {
  height: 100%;
  margin: 0;
  background-color: #fff;
  color: #1c1f24;
  font-size: 1.2rem;
  font-family: "Futura", "Arial", sans-serif;
}

a {
  text-decoration: none;
}

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

input#password:-webkit-autofill,
input#password:-webkit-autofill:hover,
input#password:-webkit-autofill:focus,
input#password:-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: #1c1f24 !important;
}

::-webkit-input-placeholder,
:-moz-placeholder,
::-moz-placeholder,
:-ms-input-placeholder {
  font-style: italic;
  color: #1c1f24 !important;
  opacity: 1 !important;
}
::placeholder{
  color: #1c1f24 !important;
}
/*
::placeholder { !* Chrome, Firefox, Opera, Safari 10.1+ *!
	color: red;
	opacity: 1; !* Firefox *!
}

:-ms-input-placeholder { !* Internet Explorer 10-11 *!
	color: red;
}

::-ms-input-placeholder { !* Microsoft Edge *!
	color: red;
}*/
.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;
  overflow: hidden;
}

.small-only {
  display: block;
}

.contenu {
  width: 100%;
  background: #fff;
  flex: 1 1 100%;
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  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%;
  min-width: 100px;
  margin-bottom: 2rem;
  margin-left: auto;
  margin-right: auto;
}

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

h2 {
  margin: 0;
  color: #1c1f24;
  font-size: 3.416rem;
  font-weight: bold;
  box-sizing: border-box;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
}

h3 {
  margin: 0;
  margin-bottom: 1rem;
  color: #1c1f24;
  font-size: 2.07rem;
  font-weight: normal;
  line-height: 1.25;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.instructions {
  color: #367a8b;
  font-size: 1.4rem;
  line-height: 1.2;
  font-weight: normal;
  margin-bottom: 2.33rem;
  margin-top: 1.33rem;
  letter-spacing: 0.015em;
}

#fields {
  box-sizing: border-box;
  max-width: 32.667rem;
}

#fields .field {
  position: relative;
  background-color: #e9f3f5;
  height: 3.867rem;
  border: none;
  border-radius: 50px;
}

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

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

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

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

#fields label:after {
  content: '';
  border-right: 1px solid #1c1f24;
  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: 1.2rem !important;
  font-weight: normal;
  font-family: "Futura", "Arial", sans-serif !important;
  color: #1c1f24 !important;
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 7.73rem;
  width: calc(100% - 7.73rem);
  border-bottom: 0;
  height: 100% !important;
  box-sizing: border-box;
  margin-bottom: 0;
}

#fields input[type=email]#password,
#fields input[type=text]#password,
#fields input[type=password]#password {
  color: #3d4699 !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: #1c253b;
  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: #3d4699;
}

.button_form {
  height: 3.8rem;
  width: 13.53rem;
  font-family: "Futura", Arial, sans-serif;
  font-weight: bold;
  font-size: 1.4rem;
  color: #fff;
  background-color: #ffab00;
  border-radius: 1.9rem;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2.2rem auto 0;
  margin-left: auto;
  text-align: center;
  transition: all 0.3s ease-in-out;
  position: relative;
}

.button_form:hover {
  background-color: #32707f;
}

#oubli_form {
  text-align: right;
  font-weight: 300;
  font-size: 1.2rem;
  color: #1c1f24;
  font-style: italic;
  max-width: 32.667rem;
}

#oubli_form a {
  color: unset;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

#oubli_form a:hover {
  color: #32707f;
}

@media screen and (max-width: 599px) {
  .contenu {
    text-align: center;
  }
  #fields, #oubli_form {
    margin-left: auto;
    margin-right: auto;
  }
}

@media screen and (min-width: 600px) {
  #page {
    padding: 2rem 0;
    background: url(../images/bg.jpg) no-repeat center center;
    background-size: cover;
    overflow: hidden;
    position: relative;
  }
  h2 {
    font-size: 3.2rem;
  }
  h3{
    font-size: 1.5rem;
  }
  .small-only {
    display: none;
  }
  div.hr {
    margin: 30px 0;
  }
  .contenu {
    justify-content: center;
    height: 75%;
    flex: 0 0;
    margin: auto;
    width: 75%;
    background-image: none;
    background-color: rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 1;
    padding: 2rem;
    border-radius: 1.6rem;
    box-shadow: 2px 23px 51px 0px rgba(1, 1, 1, 0.1);
    max-width: 36.667rem;
  }
  .contenu .forme {
    position: relative;
    z-index: 1;
  }
  .bg {
    display: none;
  }
  header, main, footer {
    width: 100%;
  }
}

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

@media screen and (min-width: 960px) {
  #page {
    min-height: 100%;
    display: flex;
    flex-direction: row;
    background: url(../images/bg.jpg) no-repeat center center;
    background-size: cover;
    padding: 0;
    overflow: hidden;
  }
  .contenu {
    width: 53%;
    flex: 1 1 53%;
    max-width: unset;
    margin: auto;
    background: 0;
    box-shadow: none;
  }
  .contenu header, .contenu main {
    max-width: 32.667rem;
  }
  .bg {
    display: block;
    width: 48%;
    flex: 1 1 48%;
    height: initial;
  }
}

@media screen and (max-height: 767px) and (min-width: 960px) {
  #page {
    padding: 2rem;
  }
}

@media screen and (max-width: 959px) {
  .forme h2, .forme h3, .forme .instructions, .forme #oubli_form {
    color: #1c253b !important;
  }
}

@media screen and (min-width: 1200px) {
  html {
    font-size: 13px;
  }
  #page {
    background: url(../images/bg.jpg) no-repeat center center;
    background-size: cover;
  }
  .contenu {
    width: 53%;
    flex: 1 1 53%;
    position: relative;
    z-index: 1;
  }
}

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

@media screen and (min-width: 1900px) {
  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;
  }
}
