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

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: rgb(134, 134, 134) !important;
}

::-webkit-input-placeholder, :-moz-placeholder, ::-moz-placeholder, :-ms-input-placeholder {
  font-style: italic;
  color: rgb(134, 134, 134) !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: 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: #ffffff00;
  flex: 1 1 100%;
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
}

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

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

.separateur {
  background: rgb(135, 154, 100);
  border: none;
  width: 100%;
  height: 4px;
  margin-top: 1rem;
  margin-bottom: 4rem;
  margin-left: 0;
}

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

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

h2 {
  margin: 0;
  font-size: 2.1rem;
  font-weight: bold;
  box-sizing: border-box;
  font-family: "Poppins Medium", "Arial", sans-serif;
  line-height: 1.2;
  color: rgb(0, 0, 0);
  text-align: left;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}

h2 > span {
  color: #6165c5 ;
}

h3 {
  margin: 0;
  margin-bottom: 2rem;
  color: rgb(66, 6, 90);
  font-size: 2rem;
  font-weight: bold;
  line-height: 1.3;
  font-family: "Poppins Light", "Arial", sans-serif;
  text-align: left;
}

.instructions {
  font-family: "Poppins Light", "Arial", sans-serif;
  text-align: left;
  color: rgb(51, 51, 51);
  font-size: 1.26rem;
  line-height: 1.5;
  font-weight: normal;
  margin-bottom: 1.75rem;
  margin-top: 0;
}

#fields {
  box-sizing: border-box;
  margin-bottom: 1rem;
  border-radius: 5px;
}

#fields .field {
  border-radius: 6px;
  background-color: #ffffff;
  position: relative;
  height: 7.2rem;
  border: 1px solid #d8dcdb;
  /* -webkit-box-shadow: -1px 3px 38px 0px rgba(0, 0, 0, 0.14);
  box-shadow: -1px 3px 38px 0px rgba(0, 0, 0, 0.14); */
}

#fields .field:first-child {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  border-bottom: 1px solid #d8dcdb;
}
#fields .field:not(:first-child) {
  border-top-right-radius: 0;
  border-top-left-radius: 0;
  border-top: 1px solid transparent;
}

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

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

#fields label img {
  height: 32px;
  width: auto;
}

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

#fields input[type=email], #fields input[type=text], #fields input[type=password] {
  font-size: 1.3rem !important;
  font-weight: 300;
  font-family: "Poppins Light", "Arial", sans-serif !important;
  color: rgb(134, 134, 134) !important;
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 7rem;
  width: calc(100% - 7rem);
  border-bottom: 0;
  height: 100% !important;
  box-sizing: border-box;
  margin-bottom: 0;
  padding: 1.5rem 2rem 0 0;
}

#fields input[type=email]#password, #fields input[type=text]#password, #fields input[type=password]#password {
  caret-color: #030304;
}

#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: #202020;
  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: #030304;
}

#fields input[type=email]+span.label, #fields input[type=text]+span.label, #fields input[type=password]+span.label {
  color: #202020!important;
  font-size: 1.3rem !important;
  font-family: "Poppins Light", "Arial", sans-serif !important;
  position: absolute;
  text-align: center;
  left: 7rem;
  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.95);
  transform: translateY(calc(-50% - 16px)) scale(0.95);
}

#fields input::placeholder {
  color: #202020;
  font-weight: 600;
}

.button_form {
  height: 4.5rem;
  width: 16.25rem;
  font-family: "Poppins Bold", "Arial", sans-serif;
  font-weight: normal;
  font-size: 1.3rem;
  color: #fff;
  background-color: #5f66b1;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 0;
  text-transform: uppercase;
  /* border: 2px solid #2e277b; */
  /* border-radius: 50px; */
  text-align: center;
  transition: all 0.3s ease-in-out;
  position: relative;
  letter-spacing: 0.1rem;
}

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

.button_form:hover, .button_form:focus {
  background-color:#71cbbc;
}

#oubli_form {
  text-align: left;
}

#oubli_form a {
  /* height: 3.4rem;
  width: 14.13rem; */
  font-family: "Poppins", "Arial", sans-serif;
  font-weight: 300;
  font-size: 1.3rem;
  /* display: flex;
  justify-content: center;
  align-items: center; */
  /* border: 2px solid #353e49; */
  /* border-radius: 10px; */
  text-align: center;
  text-transform: uppercase;
  transition: all 0.3s ease-in-out;
  position: relative;
  color: rgb(0, 0, 0);
  opacity: 1;
  text-decoration: none;
  /* background: #353e49; */
  /*border-bottom: 1px solid;*/
  /* margin-left: 2rem; */
}

#oubli_form a:hover {
  color: #71cbbc;
}

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

.dbl_btn {
  flex-direction: row;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 2.5rem auto 0 auto;
}

@media screen and (max-width: 599px) {
  .contenu {
    justify-content: center;
    background-color: rgb(241, 241, 241);
  }
  header, footer, main {
    width: 90%;
    max-width: 34.534rem;
    margin: 0 auto;
}
  #oubli_form a {
    margin-left: 0;
  }
  html{
    font-size: 12px;
  }
}

@media screen and (max-width: 499px) {
  h2 {
    font-size: 2.5rem;
  }
  h3 {
    font-size: 1.8rem;
  }
  .disp{
    display: none;
  }
  .button_form {
    width: 15rem;
  }
  #oubli_form a {
    font-size: 1.2rem;
  }
  #fields .field {
    height: 6.5rem;
  }
}

@media screen and (max-width: 392px) {
  h2 {
    font-size: 2.2rem;
  }
  .instructions{
    font-size: 0.96rem;
  }
  h3 {
    font-size: 1.6rem;
  }
  .dbl_btn {
    /*flex-direction: column;*/
  }
  #oubli_form {
    text-align: right;
    margin-left: auto;
    /*margin-bottom: 2.5rem;*/
  }
  .button_form {
    margin-right: auto;
  }
}

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

@media screen and (max-width: 959px) and (max-height: 840px) {
}

@media screen and (min-width: 960px) {
  /* html{
    font-size: 13px;
  } */
  #page {
    min-height: 100%;
    display: flex;
    flex-direction: row-reverse;
    background-size: cover;
    padding: 0;
    overflow-x: hidden;
  }
  .contenu {
    width: 100%;
    flex: 1 1 100%;
    max-width: unset;
    margin: 0;
    background: rgba(241, 241, 241, 0.9);
    box-shadow: none;
    border-radius: 0;
    margin: 0 auto;
    justify-content: center;
  }
  .bg {
    display: block;
    width: 50%;
    flex: 1 1 50%;
    height: initial;
  }
}

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

@media screen and (min-width: 1200px) {
  html {
    font-size: 12px;
  }
  #page {
    background: url(../images/bg.jpg) no-repeat right center;
    background-size: cover;
    background-position-x: 70%;
    padding: 0;
  }
  .bg {
    width: 58%;
    flex: 1 1 58%;
  }
  .contenu {
    width: 42%;
    flex: 1 1 42%;
    position: relative;
    z-index: 1;
    background: none;
    min-width: 41.534rem;
    display: flex;
    align-items: center;
    margin-top: 0;
  }
  .sous-div {
    margin-left: 2.5rem;
  }
}


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

@media screen and (min-width: 1550px) and (min-height: 860px) {
  #page {
    background: url(../images/bg.jpg) no-repeat right center;
    background-size: cover;
  }
}

@media screen and (min-width: 1600px) and (min-height: 860px) {
  html {
    font-size: 13px;
  }
  h3 {
    width: 110%;
    font-size: 2.25rem;
  }
}

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

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

@media screen and (min-width: 2300px) {
  html {
    font-size: 16px;
  }
  .contenu {
    margin-right: 15%;
  }
  #page {
    background: url(../images/bg.jpg) no-repeat right center;
    background-size: cover;
  }
}