@charset "UTF-8";

* {
  box-sizing: inherit;
}

html {
  height: 100%;
}

body {
  height: 100%;
  margin: 0;
  background-color: #FFFFFF;
  color: #000000;
  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 #16151d inset !important;
  -webkit-text-fill-color: #16151d !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 #16151d inset !important;
  -webkit-text-fill-color: #16151d !important;
}

::-webkit-input-placeholder,
:-moz-placeholder,
::-moz-placeholder,
:-ms-input-placeholder {
  font-style: italic;
  color: #16151d !important;
  opacity: 1 !important;
}

::placeholder {
  color: #16151d !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%;
  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: 75%;
  margin: 0 auto;
}

div.hr {
  margin: 1.33rem 0;
}

#logo {
  width: 100%;
  min-width: 100px;
  margin-bottom: 2rem;
  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: #222222;
  font-size:2.7rem;
  font-weight: normal;
  box-sizing: border-box;
  letter-spacing: 1.24rem;
  text-transform: uppercase;
  text-align: center;
}

h3 {
  font-family: 'Poppins', 'Arial', sans-serif;
  margin: 0;
  margin-bottom: 1.5rem;
  color: #222222;
  font-size: 1.9rem;
  font-weight: normal;
  line-height: 1.25;
  letter-spacing: 0.025em;
  text-align: center;
}

img.responsive-img{
  margin-top: 1rem;
  margin-bottom: 1rem;
}

/* h3 span {
  color: #000;
  font-weight: bold;
} */

.separateur {
  height: 2px;
  width: 100%;
  background-color: #000;
  border-bottom-left-radius: 50px;
  border-bottom-right-radius: 50px;

}

.instructions {
  font-family: 'Poppins';
  font-weight: 500;
  color: #0d0d0d;
  font-size: 1.25rem;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 2.33rem;
  margin-top: 1.33rem;
  letter-spacing: 0.015em;
  ;
}

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

#fields .field {
  position: relative;
  color: #16151d;
  background-color: #ffffff00;
  height: 3.867rem;
  max-width: 61%;
  margin-left: 5.3rem;
  /* border: 2px solid #2c5e7c;;
  border-radius: 0px; */

}

#fields .field:first-child {
  margin-bottom: 0.5rem;
  border-bottom: solid 1px #000000;
}

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

#fields input[type=email],
#fields input[type=text],
#fields input[type=password] {
  font-size: 1rem !important;
  font-weight: normal;
  font-family: "Poppins", "Arial", sans-serif !important;
  color: #16151d !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: #16151d !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: #16151d;
  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: 3rem;
  width: 12.03rem;
  font-family: 'Poppins', 'Arial', sans-serif;
  font-weight: bold;
  font-size: 1.2rem;
  color: #fff;
  background-color: #000000;
  border-radius: 1.9rem;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  text-align: center;
  transition: all 0.3s ease-in-out;
  position: relative;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  box-shadow: 5px 5px 22.32px 1.68px rgba(0, 0, 0, 0.28);
  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;
  border: 2px solid #000;

}

.button_form:hover {
  background-color: #ffffff;
  color: rgb(0, 0, 0);
  border: 2px solid  #000;

  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 {
  font-family: 'Poppins', 'Arial', sans-serif;
  text-align: left;
  font-weight: 300;
  font-size: 1rem;
  color: #000;
  font-style: italic;
}

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

#oubli_form a:hover {
  color: #e46600;
}

div.dbl_btn {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  margin-top: 3rem;
}

@media screen and (max-width: 599px) {
  .contenu {
    text-align: center;
  }
}

@media screen and (min-width: 600px) {
  html{
    font-size:12px;
  }
  #page {
    padding: 2rem 0;
    background: url(../images/bg-2.png) no-repeat right center;
    background-size: cover;
    overflow: hidden;
    position: relative;
  }

  .small-only {
    display: none;
  }

  div.hr {
    margin: 30px 0;
  }

  .contenu {
    justify-content: center;
    background-color: #FFFFFF;
    height: 75%;
    flex: 0 0;
    margin: auto;
    width: 75%;
    background-image: none;
    position: relative;
    z-index: 1;
    padding: 2rem;
    max-width: 36.667rem;
  }

  .contenu .forme {
    position: relative;
    z-index: 1;
    background: #FFFFFF;
    padding: 3rem;
  }

  .bg {
    display: none;
  }

  header, main, footer {
    width: 100%;
    height: 50%;
  }

  header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
  }
}

@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-2.png) no-repeat right center;
    background-size: cover;
    padding: 0;
    overflow: hidden;
  }

  .contenu {
    justify-content: center;
    background-color: #ffffff;
    height: 100%;
    flex: 0 0 45%;
    margin: auto;
    width: 100%;
    background-image: none;
    position: relative;
    z-index: 1;
    padding: 2rem;
    max-width: 48.667rem;

  }

  .contenu header {
    max-width: 42rem;
  }

  .contenu main {
    max-width: 70%;
  }

  .bg {
    display: none;
  }
}

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



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

  #page {
    background:url(../images/bg.jpg) no-repeat left 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;
    min-height: 59rem;
  }
}

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

  .contenu .forme {
    max-width: 35rem;
  }
}

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