@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: "Roboto", "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: #4a7ea7 !important;
}

::-webkit-input-placeholder,
:-moz-placeholder,
::-moz-placeholder,
:-ms-input-placeholder {
  font-style: italic;
  color: #4a7ea7 !important;
  opacity: 1 !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%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
}

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

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

div.hr {
  margin: 1.33rem 0;
}



hr{
  width: 62%;
  margin: auto;
  background: #e2e5ea;
  height: 3px;
  border: none;
  margin-top: 3rem;
  margin-bottom: 3rem;
}
#logo {
  width: 100%;
  max-width: 26.91rem;
  min-width: 100px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  margin-bottom: 2rem;
}

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

h2 {
  margin: 0;
  color: #152155;
  font-size: 2.664rem;
  font-weight: bold;
  box-sizing: border-box;
  font-family: "Roboto", "Arial", sans-serif;
  letter-spacing: -0.025rem;
  text-transform: none;
}

h3 {
  font-family: "Roboto", "Arial", sans-serif;
  margin: 0;
  margin-bottom: 2rem;
  color: #152155;
  font-size: 2.4rem;
  font-weight: normal;
  line-height: 1;
  letter-spacing: 0.025rem;
}

.instructions {
  font-family: "Roboto", "Arial", sans-serif;
  color: #4a7ea7;
  font-size: 1.38rem;
  line-height: 1.2;
  font-weight: 300;
  margin-bottom: 2.67rem;
  margin-top: 1.33rem;
}
.color{
  font-weight: normal;
}

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

#fields .field {
  position: relative;
  /* background-color: rgb(255, 255, 255); */
  border: 2px solid #152155;
  height: 3.734rem;
  /*-webkit-box-shadow: 0px 0px 13px 0px rgba(149, 148, 146, 0.38);
  box-shadow: 0px 0px 13px 0px rgba(149, 148, 146, 0.38);*/
  border-radius: 5px;
}

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

#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: 24px;
  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: 1.07rem !important;
  font-weight: normal;
  font-family: "Roboto", "Arial", sans-serif !important;
  color: #4a7ea7 !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 {
  caret-color: #0face5;
}

#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: #4a7ea7;
  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: 16192a;
}
input::placeholder{
  color :#4a7ea7;
}
.button_form {
  height: 4.534rem;
  width: 16.8rem;
  font-family: "Roboto", "Arial", sans-serif;
  font-weight: 500;
  font-size: 1.33rem;
  color: #fff;
  background-color: #ffcd00;

  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1.5rem auto 0;
  text-align: center;
  transition: all 0.3s ease-in-out;
  position: relative;
}

.button_form:hover, .button_form:focus {
  background-color: #004aad;
}

#oubli_form {
  font-family: "Roboto", "Arial", sans-serif;
  text-align: right;
  font-weight: normal;
  font-size: 1.13rem;
  color: #4a7ea7;
  
}

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

#oubli_form a:hover {
  color: #004aad;
}

@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: 4.8rem;
  }
  .small-only {
    display: none;
  }
  div.hr {
    margin: 30px 0;
  }
  .contenu {
    justify-content: center;
    flex: 0 0;
    margin: auto;
    width: 100%;
    background-image: none;
    background-color: rgb(255, 255, 255);
    position: relative;
    z-index: 1;
    /* border-radius: 1.6rem; */
    box-shadow: 2px 23px 51px 0px rgba(1, 1, 1, 0.1);
    max-width: 39rem;
  }
  .contenu .forme {
    position: relative;
    z-index: 1;
    padding: 2rem;
  }
  .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 56% center;
    background-size: cover;
    padding: 0;
    overflow: hidden;
  }
  .contenu {
    width: 50%;
    flex: 1 1 50%;
    max-width: unset;
    min-width: 39.2rem;
    margin: unset;
    background: #fff;
    box-shadow: none;
  }
  .contenu header, .contenu main {
    max-width: 38rem;
  }
  .bg {
    display: block;
    width: 50%;
    flex: 1 1 50%;
    height: initial;
  }
}

/* @-webkit-keyframes jelly {
  25% {
    -webkit-transform: scale(0.9, 1.1);
    transform: scale(0.9, 1.1);
  }
  50% {
    -webkit-transform: scale(1.1, 0.9);
    transform: scale(1.1, 0.9);
  }
  75% {
    -webkit-transform: scale(0.95, 1.05);
    transform: scale(0.95, 1.05);
  }
}

@keyframes jelly {
  25% {
    -webkit-transform: scale(0.9, 1.1);
    transform: scale(0.9, 1.1);
  }
  50% {
    -webkit-transform: scale(1.1, 0.9);
    transform: scale(1.1, 0.9);
  }
  75% {
    -webkit-transform: scale(0.95, 1.05);
    transform: scale(0.95, 1.05);
  }
} */

@media screen and (max-height: 767px) and (min-width: 960px) {
  #logo {
    margin-top: 0;
  } 
}

@media screen and (min-width: 1200px) {
  html {
    font-size: 11px;
  }
  #page {
    background: url(../images/bg.jpg) no-repeat 60% center;
    background-size: cover;
  }
  .contenu {
    width: 44%;
    flex: 1 1 48%;
    position: relative;
    z-index: 1;
    height: 75%;
    background: rgb(255, 255, 255);
    background-image: url("../images/fond-contenu.jpg");
    background-size: cover;
    background-position: bottom;
    max-width: 60.4rem;
    margin: auto;
    margin-bottom: 236px;
    margin-left: 10.6rem;

  }
  .bg {
    display: block;
    width: 55%;
    flex: 1 1 55%;
    height: initial;
}
  .contenu::before{
    content: "";
    position: absolute;
    width: 10.6rem;
    left: -10.6rem;
    top: 100%;
    height: 10000%;
    background: rgba(74, 127, 167);
    z-index: 2;
  }
  
  .contenu::after{
    content: "";
    position: absolute;
    background-image: url("../images/after.jpg");
    background-repeat: no-repeat;
    width: 665px;
    height: 236px;
    bottom: -236px;
    right: -665px;
  }
  .contenu .forme::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    box-shadow: -11px 40px 80px -18px rgb(197 206 220 / 100%), -30px 0px 80px -30px rgb(197 206 220 / 51%);
    mix-blend-mode: multiply;
  }
  .contenu header, .contenu main {
    max-width: 38rem;
  }
  .sous-div{
    margin-left: 2.5rem;
  } 
}
@media screen and (min-width: 1400px){
  html{
    font-size: 13px;
  }
}
@media screen and (min-width: 1400px) and (max-height:933px) {
  .contenu {
    margin-top: 0;
    margin-left: 10.6rem;
    margin-bottom: 0;
  }
}
@media screen and (min-width: 1400px) and (max-height:933px) {
  .contenu {
    margin-top: 0;
    margin-left: 10.6rem;
    margin-bottom: 0;
  }
}

@media screen and (min-width: 1600px) and (min-height: 780px) {

  .contenu header, .contenu main {
    max-width: 38rem;
  }
}




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