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

html {
  height: 100%;
}

body {
  height: 100%;
  margin: 0;
  background-color: #fff;
  color: #fff;
  font-size: 1.2rem;
  font-family: "Source Sans Pro", "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 #2c5e7c inset !important;
  -webkit-text-fill-color: #2c5e7c!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 #2c5e7c inset !important;
  -webkit-text-fill-color: #2c5e7c !important;
}

::-webkit-input-placeholder,
:-moz-placeholder,
::-moz-placeholder,
:-ms-input-placeholder {
  font-style: italic;
  color: #fff !important;
  opacity: 1 !important;
}
::placeholder{
  color: #fff !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: 13px;
}

#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: 90%;
  min-width: 100px;
  margin-bottom: 4rem;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: center;
}

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

h2 {
  font-family: 'Poppins', 'Arial', sans-serif;
  margin: 0;
  color: #00bfa5;
  font-size: 3.5rem;
  font-weight: bold;
  box-sizing: border-box;
  /* text-transform: uppercase; */
}

h3 {
  font-family: 'Roboto', 'Arial', sans-serif;
  margin: 0;
  margin-bottom: 2.5rem;
  color: #051a37;
  font-size: 2.07rem;
  font-weight: 300;
  line-height: 1.25;
  /* letter-spacing: 0.025em; */
  text-transform: none;

}

.instructions {
  color: #2c5e7c;
  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;
}

#fields .field {
  position: relative;
  background-color: #ffffff00;
  height: 3.867rem;
  border: 2.5px solid #051a37;
  border-radius: 0px;

}

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

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

#fields label {
  position: absolute;
  top: 0;
  left: 0;
  width: 4rem;
  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: '';
  position: absolute;
  right: 2px;

  bottom: 1rem;
  width: 2px;
  height: 1.467rem;
  background: #2c5e7c;
}

#fields input[type=email],
#fields input[type=text],
#fields input[type=password] {
  font-size: 1.2rem !important;
  font-weight: normal;
  font-family: "Source Sans Pro", "Arial", sans-serif !important;
  color: #2c5e7c !important;
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 5.73rem;
  width: calc(100% - 5.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: 13rem;
  font-family: 'Poppins', 'Arial', sans-serif;
  font-weight: normal;
  font-size: 1.4rem;
  color: #fff;
  background-color: #051a37;
  border-radius: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2.2rem 0 0;
  text-align: center;
  transition: all 0.3s ease-in-out;
  position: relative;
  /* letter-spacing: 0.1rem; */
  margin-bottom: 2rem;
  /* text-transform: uppercase; */
}

.button_form:hover {
  background-color: #00bfa5;
}

#oubli_form {
  font-family: 'Roboto', 'Arial', sans-serif;
  text-align: right;
  font-weight:300;
  font-size: 1.2rem;
  color: #051a37;
  font-style: normal;
  max-width: 32.667rem;
}

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

#oubli_form a:hover {
  color: #00bfa5;
}

@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 right center;
    background-size: cover;
    overflow: hidden;
    position: relative;
  }
  h2 {
    font-size: 3.2rem;
  }
  h3{
    font-size: 1.9rem;
  }
  .small-only {
    display: none;
  }
  div.hr {
    margin: 30px 0;
  }
  .contenu {
    justify-content: center;
    background-color: #fff;
    height: 75%;
    flex: 0 0;
    margin: auto;
    width: 75%;
    background-image: none;
    position: relative;
    z-index: 1;
    padding: 2rem;
    box-shadow: 2px 23px 51px 0px rgba(1, 1, 1, 0.432);
    max-width: 36.667rem;
  }
  .contenu .forme {
    position: relative;
    z-index: 1;
    background: #fff;
    padding: 4rem 3rem 3rem 3rem;
  }
  .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 right center;
    background-size: cover;
    padding: 0;
    overflow: hidden;
  }
  .contenu {
    width: 50%;
    flex: 1 1 50%;
    max-width: unset;
    margin: auto;
    background: 0;
    box-shadow: none;
  }
  .contenu header, .contenu main {
    max-width: 31rem;
  }
  .bg {
    display: block;
    width: 50%;
    flex: 1 1 50%;
    height: initial;
  }
}

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



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

@media screen and (min-width: 1600px) {
  html {
    font-size: 15px;
  }
  .contenu .forme{
    max-width: 37rem ;
    box-shadow: 2px 23px 51px 0px rgba(1, 1, 1, 0.5);
    
  }
}

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

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