@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: "Montserrat", "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: black !important;
}

::-webkit-input-placeholder,
:-moz-placeholder,
::-moz-placeholder,
:-ms-input-placeholder {
  font-style: italic;
  color: black !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: 12px;
}

#page {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  font-size: 1.2rem;
  overflow-x: hidden;
}

.small-only {
  display: block;
}

.contenu {
  width: 100%;
  background: transparent;
  flex: 1 1 100%;
  padding: 0 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-content: center;
  justify-content: center;
}

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

header, footer, main {
  width: 90%;
  margin: 0 auto;
  padding: 0;
  max-width: 32rem;
  text-align: left;
}

div.hr {
  margin: 1.33rem 0;
}

hr{
  width: 85%;
  content: url(../images/separateur.png);
  height: 2px;
  border: none;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

#logo {
/*  text-align: center;
  width: 57%;
  max-width: 100%;
  min-width: 100px;
  margin: auto;
  max-width: 354px;
  margin-bottom: 3.75rem;*/
  width: 100%;
  text-align: center;
  margin-bottom: 2.95rem;
  padding-right: 15px;
}

/*#logo {
  text-align: left;
  width: 100%;
  max-width: 100%;
  min-width: 100px;
  margin-bottom: 3.75rem;
}*/

#logo img {
  margin:auto
}

h2 {
  font-family: "Poppins Bold", "Arial", sans-serif;
  margin: 0;
  color: black;
  /*font-size: 2.2rem;*/
  font-size: 2.8rem;
  font-weight: 800; 
  line-height: 1.2;
  text-transform: uppercase;
  text-align: center;
  letter-spacing:1.4rem;
}

h3 {
  font-family: "Poppins", "Arial", sans-serif;
  margin: 0;
  color: black;
  /*font-size: 1.868rem;*/
  font-size:2.8rem;
  font-weight: 300; 
  line-height: 1.2;
  /*text-transform: uppercase;*/
}

h3 span {
  font-family:"Poppins Bold";
  background: -webkit-linear-gradient(150deg,#e25412,#fdaf2b);
  font-weight: 900;
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
} 


.instructions {
  color: rgb(13, 13, 13);;
  font-size:1.7rem;
  line-height: 1.2;
  font-weight: normal;
  margin-bottom: 3.75rem;
  margin-top: 1.5rem;
  word-spacing: 1px;
  font-family: 'Poppins Light', "Arial", sans-serif;
  text-align: center;
}

#fields {
  box-sizing: border-box;
  max-width: 78%;
  margin: auto;
}

#fields .field {
  position: relative;
    background-color: transparent;
    margin: 0;
    border-radius: 0;
    height: 4.8rem;
}

#fields .field:not(:last-child) {
  padding-bottom: 4rem;
  border-bottom: 2px solid #fe9924;
}

#fields .field:last-child {
  margin-top: 0.25rem;
}

#fields label {
  position: absolute;
  top: 0;
  /* left: -50px; */
  width: 3rem;
  height: 100%;
  text-align: center;
  margin-left: 3px;
  display: flex;
  align-items: center;
}

#fields label img {
  height: auto;
  width: auto;
  margin-left: 0.16rem;
}

#fields label:after {
  content: '';
  width: 1px;
  height: 2rem;
  background: white;
  position: absolute;
  right: 0;
  border-right: 1px solid #fe9924;
}

#fields .field:not(:last-child)::before{
  font-family: "Century", "Arial", sans-serif !important;
  font-weight: bold;
  position: absolute;
  top: -0.8rem;
  font-size: 4rem;
  left: 0px;
  letter-spacing: 0.3rem;
  color: rgb(238, 238, 238);
}
#fields .field::before{
  font-family: "Century", "Arial", sans-serif !important;
  white-space: nowrap;
  font-weight: bold;
  position: absolute;
  top: -1.6rem;
  font-size: 4rem;
  left: 0px;
  letter-spacing: 0.3rem;
  color: rgb(238, 238, 238);
}

#fields .field.changed::before{
  content:"";
}

#fields input[type=email],
#fields input[type=text],
#fields input[type=password] {
  font-size: 1.462rem !important;
  font-weight: normal;
  font-family: 'Poppins', "Arial", sans-serif !important;
  color: black !important;
  position: absolute;
  z-index: 1;
  bottom: 0px;
  left: 2.75rem;
  width: calc(100% - 2.75rem);
  box-sizing: border-box;
  margin-bottom: 0;
  height: 100% !important;
  border-bottom: none;
  /* border-radius: 15px; */
  padding: 0.7rem 2rem 0;
}

#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: #364c63;
  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: black;
}

.button_form {
  /*height: 4rem;*/
  height:3.5rem;
  width: 48%;
  font-family: "Poppins", "Arial", sans-serif;
  font-weight: bold;
  font-size: 1.2rem;
  color: white;
  letter-spacing:0.5rem;
  background: linear-gradient( 0deg, rgb(254,179,44) 0%, rgb(225,81,17) 100%);
  max-width: 28.87rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  letter-spacing: 0.1rem;
  transition: all 0.2s ease-in-out;
  text-transform: uppercase;
  border-radius: 30px;
  background-image: -webkit-linear-gradient( 0deg, rgb(254,179,44) 0%, rgb(225,81,17) 100%); 
  background-image: linear-gradient( 75deg, rgb(254,179,44) 0%, rgb(225,81,17) 100%);
  background-size: 100% 200%;
  background-position: top;
  box-shadow: 0px 15px 40px 0px rgba(0, 0, 0, 0.24);
  letter-spacing:0.4rem;
}

.button_form:hover {
  background-position: bottom;
}

.button_form .arrow{
  margin-left: 17px;
  height: 1.8rem;
  margin-top: 0.8rem;
  transition: all 0.2s ease-in-out;
}
.button_form:hover .arrow{
  transform: translateX(40%);
}

.headers{
  max-width:47.8rem!important;
}
.oubli_form {
  display: flex;
  text-align: center;
  font-size: 1rem;
  position: relative;
  width: 48%;
  align-items: center;
  justify-content: center;
  color: #ed8923;
  font-family: "Montserrat", "Arial";
  font-style: italic;
  /*background-color: rgb(197, 218, 227);  */
  transition: all 0.2s ease-in-out;
  border-radius: 7px;
}

.oubli_form span {
  font-family: 'Montserrat', "Arial", sans-serif;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  z-index: 2;
  letter-spacing: .02rem;
}

.oubli_form:hover {
  color: #e25412;
  /*background-color: rgb(0, 23, 135);*/
}

.dbl_btn {
  display: flex;
  flex-direction: row;
  margin: 3rem 0 0;
  justify-content: space-between;
}

@media screen and (width:360px){
  h3 {
    font-weight: 600;
    font-size: 1.6rem!important;
    margin-top: 4px;
  }
  .instructions {
    font-size: 1.1rem!important;
  }
}

@media screen and (width:375px){
  h3 {
    font-weight: 600;
    font-size: 1.6rem!important;
    margin-top: 4px;
  }
  .instructions {
    font-size: 1.1rem!important;
  }
}

@media screen and (width:384px){
  h3 {
    font-weight: 600;
    font-size: 1.7rem!important;
    margin-top: 4px;
  }
  .instructions {
    font-size: 1.1rem!important;
  }
}

@media screen and (width:390px){
  h3 {
    font-weight: 600;
    font-size: 1.7rem!important;
    margin-top: 4px;
  }
  .instructions {
    font-size: 1.1rem!important;
  }
}

@media screen and (max-width:499px){
  #logo, .instructions {
    margin-bottom: 2.75rem;
  }
  h3 {
    font-weight: 600;
    font-size: 1.8rem;
    margin-top: 4px;
  }
  .instructions{
    font-size:1.2rem;
  }
  #fields {
    box-sizing: border-box;
    max-width: 100%;
  }
}

@media screen and (max-width: 599px) {
  .contenu {
    text-align: center;
  }
  #fields {
    margin-left: 0;
    margin-right: auto;
  }
  .display{
    display: none;
  }
  #fields .field:not(:last-child)::before{
    top: -.25rem;
  }
  #fields .field::before{
    top: -1rem;
  }
  #fields .field::before{
    letter-spacing: 0;
  }
  .button_form {
    width: 42%;
  }
  .oubli_form {
    width: 54%;
  }
}

@media screen and (min-width: 600px) {
  #page {
    padding: 0;
    background: white no-repeat right center;
    background-size: cover;
    overflow-x: hidden;
    position: relative;
  }
  .small-only {
    display: none;
  }
  div.hr {
    margin: 30px 0;
  }
  .contenu {
    width: 100%;
    background-image: none;
    background-color: transparent;
    position: relative;
    z-index: 1;
    padding: 0 2rem 2rem 2rem;
    /* border-radius: 1.6rem; */
    box-shadow: 2px 23px 51px 0px rgba(1, 1, 1, 0.1);
  }
  .contenu .forme {
    position: relative;
    z-index: 1;
  }
  .bg {
    display: none;
  }
  header, main, footer {
    max-width: 32rem;
  }
}

@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-reverse;
    background: url(../images/bg.jpg) no-repeat ;
    background-position: right center;
    background-size: cover;
    padding: 0;
    overflow-x: hidden;
  }
  .contenu {
    width: 60%;
    flex: 1 1 60%;
    max-width: unset;
    margin: unset;
    background: transparent;
    box-shadow: none;
    padding: 0;
  }
  .bg {
    display: block;
    width: 40%;
    flex: 1 1 40%;
    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: 12px;
  }
  #page {
    background: url(../images/bg.jpg) no-repeat ;
    background-position: right center;
    background-size: cover;
  }
  .contenu {
    width: 45%;
    flex: 1 1 45%;
    position: relative;
    z-index: 1;
    min-height: 100vh;
    background: transparent;
    margin: 0 10% 0 0;
  }
  .sous-div{
    margin-left: 2.5rem;
  }
  .bg {
    width: 55%;
    flex: 1 1 55%;
  }
}

@media screen and (width: 1280px){
  #logo img {
    max-width: 45%;
    height: auto;
    border: 0;
    position: relative;
    left: 12rem;
  }

  .contenu .forme {
    position: relative;
    z-index: 1;
    bottom: 4rem;
  }

  .instructions {
    color: rgb(13, 13, 13);
    font-size: 1.6rem;
    line-height: 1.2;
    font-weight: normal;
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
    word-spacing: 1px;
    font-family: 'Poppins Light', "Arial", sans-serif;
    text-align: center;
  }

  #logo {
    text-align: left;
    width: 100%;
    max-width: 100%;
    min-width: 100px;
    margin-bottom: 0.75rem;
  }

  h2{
    font-size:2.5rem;
  }

  h3{
    font-size:2.3rem;
  }

}

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

  .contenu {
    margin: 0 8% 0 0;
  }

}

@media screen and (min-width: 1400px) and (min-height: 780px) {
  .contenu {
    margin: 0 5% 0 0;
  }

  .contenu {
    width: 40%;
    flex: 1 1 40%;
  }

  .bg {
    width: 60%;
    flex: 1 1 60%;
  }

}

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

  html {
    font-size: 13px;
  }

  .contenu {
    margin: 0 7% 0 0;
  }

}

/* @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: rgb(240, 240, 240);
    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;
  }
}

.photo-separation{
  width: 10rem;
  display: flex;
  height: 2px;
  background-color: rgb(156, 209, 240);
  margin: 0 auto;
}

input:focus::placeholder{
  opacity: 0;
}

@media screen and (min-width:960px) and (max-height:820px) {
  .contenu {
    background-color: transparent;
    margin: 0 0 0 0;
  }
  #page {
    background-position: right;
  }
}