@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: "Poppins", "Arial", sans-serif;
  background: rgb(246, 249, 255);
  background: linear-gradient(180deg, rgba(246, 249, 255, 1) 0%, rgba(193, 209, 235, 1) 57%);
}

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

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

.d-none {
  display: none;
}

/* 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%;
  height: 100%;
  display: flex;
  flex-direction: column;
  font-size: 1.2rem;
  overflow: auto;

  background: url(../images/bg.jpg) no-repeat 75% center;
  background-size: cover;
}



.small-only {
  display: block;
}

.contenu {
  width: 100%;
  height: 100%;
  background: transparent;
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-content: center;
  background: rgb(246, 249, 255);
  background: linear-gradient(180deg, rgba(246, 249, 255, 1) 0%, rgba(193, 209, 235, 1) 57%);

  padding: 2rem;

  min-height: 660px;
}

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

header, footer, main {
  width: 100%;
  max-width: 32rem;
  margin: 0 auto;
}

/* .separateur {
  background: #ced1d5;
  border: none;
  width: 100%;
  height: 3px;
  margin: 2rem 0;
} */

#logo {
  width: 60%;
  max-width: 100%;
  min-width: 100px;
  margin-left: 0;
  margin-right: auto;
  text-align: center;
  margin: 2rem auto 10rem auto;
}

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

h2 {
  font-size: 3rem;
  box-sizing: border-box;
  font-family: "Poppins", "Arial", sans-serif;
  color: #f66f4a;
  font-weight: bold;
  text-align: center;
  margin: 1rem 0;
  text-transform: uppercase;
}

h3 {
  margin: 1rem auto;

  color: #434550;
  font-size: 2.10rem;
  font-weight: 500;
  line-height: 1;
  font-family: "Source Sans Pro", "Arial", sans-serif;
  font-weight: normal;
  text-align: center;

}


h3 span {
  color: #434550;
}

.instructions {
  font-family: "Source Sans Pro", "Arial", sans-serif;
  text-align: left;
  color: #434550;
  font-weight: normal;
  font-size: 1.57rem;
  line-height: 1.2;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.color {
  font-weight: 600;
}

#fields {
  box-sizing: border-box;
  margin-bottom: 0.8rem;
  max-width: 100%;
  width: 100%;
}

#fields .field {
  position: relative;
  height: 3.2rem;
  background-color: #e6e7e9;
  border-radius: 5px;
}

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

/* 
#fields .field:last-child {
} */

#fields label {
  position: absolute;
  top: 0;
  left: 0;
  width: 6rem;
  height: 100%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f47144;
  border-radius: 5px 0 0 5px;

}

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

#fields label:after {
  content: '';
  /* border-right: 1px solid #a78f74; */
  opacity: 1;
  position: absolute;
  top: 0.6rem;
  bottom: 0.6rem;
  right: 0;
  width: 100%;
}

#fields input[type=email], #fields input[type=text], #fields input[type=password] {
  font-size: 1.35rem !important;
  font-weight: 300;
  font-family: "Poppins", "Arial", sans-serif !important;
  color: #797979 !important;
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 8rem;
  width: calc(100% - 8rem);
  border-bottom: 0;
  height: 100% !important;
  box-sizing: border-box;
  margin-bottom: 0;
  caret-color: #797979;
  padding: 0 2rem 0 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: #797979;
  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: rgb(22, 25, 42);
}

#fields input[type=email]+span.label, #fields input[type=text]+span.label, #fields input[type=password]+span.label {
  color: #797979 !important;
  font-size: 1.2rem !important;
  font-weight: normal;
  font-family: "Poppins", "Arial", sans-serif !important;
  position: absolute;
  text-align: center;
  left: 5.73rem;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
  -webkit-transform-origin: left center;
  transform-origin: left center;
  z-index: 0;
}

#fields input[type=email]+span.label.active, #fields input[type=text]+span.label.active, #fields input[type=password]+span.label.active {
  -webkit-transform: translateY(calc(-50% - 16px)) scale(0.7);
  transform: translateY(calc(-50% - 16px)) scale(0.7);
  /* padding-left: 6px; */
}

#fields input::placeholder {
  font-family: "Source Sans Pro", "Arial", sans-serif;
  color: #797979;
  font-weight: normal;
}



.button_form {
  height: 3.8rem;
  width: 15rem;
  font-family: "Helvetica LT Std", "Arial", sans-serif;
  font-weight: bold;
  font-size: 1.3rem;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s ease-in-out;
  position: relative;
  letter-spacing: 0.05rem;

  background-image: linear-gradient(to right, #03006b, #03006b, #1733af, #03006b);

  background-size: 300% 100%;
  moz-transition: all .4s ease-in-out;
  -o-transition: all .4s ease-in-out;
  -webkit-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out;
}

.button_form img {
  margin-left: 15px;
}

.button_form:hover, .button_form:focus {
  background-position: 100% 0;
  moz-transition: all .4s ease-in-out;
  -o-transition: all .4s ease-in-out;
  -webkit-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out;
}

#oubli_form {
  text-align: right;
  margin-bottom: 2.5rem;
}

#oubli_form a {
  font-family: "Source Sans Pro", "Arial", sans-serif;
  font-weight: normal;
  font-size: 1.3rem;
  text-align: center;
  transition: all 0.3s ease-in-out;
  position: relative;
  color: #5a5a5a;
  opacity: 1;
  text-decoration: underline;
}

#oubli_form a:hover {
  color: #03006b;
}

.oubli_connexion {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: center;
}

.dbl_btn {
  flex-direction: column;
  display: flex;
  align-items: flex-end;
  margin: 1rem 1.5rem 0 auto;
}

.bottom_logo {
  width: 100%;
  max-width: 100%;
  height: auto;
  min-width: 100px;
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}

.bottom_logo img {
  max-width: 100%;
  height: auto;
  border: 0;
}

@media only screen and (min-width: 360px) and (max-width: 393px) {
  h2 {
    font-size: 3.7rem !important;
  }

  h3 {
    font-size: 1.96rem !important;
  }

  .instructions {
    font-size: 1.27rem !important;
  }

  /*#oubli_form {*/
  /*  position: relative;*/
  /*  right: 3rem;*/
  /*}*/
}

@media screen and (max-width: 499px) {
  html {
    font-size: 12px;
  }

  /* .contenu {
    padding: 0 2rem;
  } */

  .disp {
    display: none;
  }

  h2 {
    font-size: 4.6rem;
  }

  h3 {
    font-size: 2.30rem;
  }

  .instructions {
    font-size: 1.47rem;
  }

  /*#oubli_form {*/
  /*  margin-bottom: 2;*/
  /*}*/
}

@media screen and (max-width: 411px) {
  h2 {
    font-size: 2.3rem;
  }
}

@media screen and (max-height: 660px) {
   .contenu {
     justify-content: flex-start !important;
   }
}

@media screen and (min-width: 600px) {
  #page {
    /*padding: 2rem 0;*/
    /*background-size: cover;*/
    /*overflow: hidden;*/
    /*position: relative;*/
  }

  .small-only {
    display: none;
  }

  div.hr {
    margin: 30px 0;
  }

  .contenu {
    justify-content: center;
    /*min-height: 100%;*/
    flex: 1 1;
    margin: auto;
    margin-left: 0;
    width: 100%;

    padding: 2rem;
    position: relative;
    z-index: 1;

    max-width: 41.534rem;
    /*overflow: hidden;*/
  }

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

  .bg {
    display: none;
  }

  .d-none {
    display: block;
  }

  /* .separateur {
    margin-left: 0;
  } */

  header, footer {
    width: 100%;
  }

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


}

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

  /*#oubli_form {*/
  /*  transform: translateX(38px);*/

  /*}*/
}

@media screen and (min-width: 960px) {
  #page {
    min-height: 100%;
    display: flex;
    flex-direction: row;
    /*background-size: cover;*/
    /*padding: 0;*/
    /*overflow: hidden;*/
  }

  .contenu {
    width: 50%;
    flex: 1 1 50%;
    max-width: unset;
    margin: 0;
    box-shadow: none;
    border-radius: 0;
  }

  .bg {
    display: block;
    width: 50%;
    flex: 1 1 50%;
    height: initial;
  }

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

}


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

}

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

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

  .contenu {
    width: 40%;
    flex: 1 1 40%;
    position: relative;
    z-index: 1;
    min-width: 41.534rem;
    margin: auto;
  }

  .sous-div {
    margin-left: 2.5rem;
  }

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

}

@media screen and (min-width: 1200px) and (max-width: 1600px) {
  /*.contenu header {*/
  /*  max-width: 37rem !important;*/

  /*}*/

  /*.contenu header, .contenu main {*/
  /*  max-width: 37rem;*/
  /*}*/

  /*.instructions {*/
  /*  font-size: 1.8rem;*/
  /*}*/

  /*h2 {*/
  /*  font-size: 5.9rem;*/
  /*}*/

  /*h3 {*/
  /*  font-size: 2.82rem;*/
  /*}*/

  /* .separateur{
    width: 100%;
  } */
}

@media screen and (min-width: 1200px) and (max-height: 820px) {
  html {
    font-size: 12px;
  }

  /*#oubli_form {*/
  /*  text-align: right;*/
  /*  !*transform: translateX(38px);*!*/
  /*  margin-bottom: 3.5rem;*/
  /*}*/
}

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

@media screen and (max-width: 1350px) {
  #logo-2 {
    display: block;
    max-width: 17rem;
    margin: auto;
    width: 100%;
  }
  #logo{
    margin: 1rem auto;
  }
}

@media screen and (min-width: 1350px) {
  #page::after {
    content: "";
    width: 28rem;
    height: 10rem;

    position: absolute;
    top: 3rem;
    right: 5rem;
    background: url(../images/logo-2.png) no-repeat right center;
    background-size: contain;
  }

  #page {
    /*background: url(../images/bg.jpg) no-repeat right center;*/
    /*background-size: contain;*/
  }

  #logo-2 {
    display: none;
  }
}

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

}

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