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

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

.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: hidden;
}

.small-only {
  display: block;
}

.contenu {
  width: 100%;
  background: white;
  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: 36rem;
  text-align: left;
}

div.hr {
  margin: 1.33rem 0;
}

hr{
  width: 4.5rem;
  background: black;
  height: 4px;
  border: none;
  margin-top: 2rem;
  margin-bottom: 2rem;
}
#logo {
  text-align: left;
  width: 100%;
  max-width: 100%;
  min-width: 100px;
  margin-bottom: 3rem;
}

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

h2 {
  font-family: "Poppins", "Arial", sans-serif;
  margin: 0;
  color: rgb(12, 12, 12);
  font-size: 3.469rem;
  font-weight: bold; 
  line-height: 1.2;
  text-transform: uppercase;
}
h2 span {
  color: rgb(49, 133, 163);
}


.instructions {
  color: rgb(84, 84, 85);
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 300;
  margin-bottom: 2.25rem;
  margin-top: 2rem;
  word-spacing: 1px;
  font-family: 'Poppins', "Arial", sans-serif;
}
/* .color{
  font-weight: 500;
}
.bolder{
  font-weight: bold;
} */

#fields {
  box-sizing: border-box;
  max-width: 64%;
}

#fields .field {
  position: relative;
    background-color: transparent;
    margin: 0;
    border-radius: 0;
    height: 3.8rem;
    border-bottom: 1.5px solid rgb(12, 12, 12);
}

#fields .field:not(:last-child) {
  margin-bottom: 1.8rem;
}

#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: 1.5rem;
  background: rgb(12, 12, 12);
  position: absolute;
  right: 0;
}

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

#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;
  width: 45%;
  font-family: "Futura", "Arial", sans-serif;
  font-weight: bold;
  font-size: 1.25rem;
  color: white;
  background-color: black;
  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;
}

.button_form:hover {
  color: #fff;
  background-color: rgb(49, 133, 163);
}

.oubli_form {
  display: flex;
  text-align: center;
  font-size: 1.4rem;
  position: relative;
  width: 55%;
  align-items: center;
  justify-content: center;
  color: rgb(49, 133, 163);
  border: 2px solid black;
  border-left: 0;
  transition: all 0.2s ease-in-out;
  background-color: #fff;
}

.oubli_form span {
  font-family: 'Poppins', "Arial", sans-serif;
  font-weight: 300;
  text-decoration: none;
  position: relative;
  z-index: 2;
  letter-spacing: .03rem;
  transition: all 0.2s ease-in-out;
}

.oubli_form:hover {
  color:rgb(12, 12, 12);
  border: 2px solid rgb(49, 133, 163);
  border-left: 0;
}

.dbl_btn {
  display: flex;
  flex-direction: row-reverse;
  margin: 5.25rem 0 1rem;
}

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

@media screen and (max-width:411px){
  .oubli_form {
    font-size: 1.2rem;
  }
}

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


@media screen and (max-width: 599px) {
  .contenu {
    text-align: center;
  }
  #fields {
    margin-left: 0;
    margin-right: auto;
  }
  .display{
    display: none;
  }
}

@media screen and (min-width: 600px) {
  #page {
    padding: 0;
    background: url(../images/bg.jpg) no-repeat 10% center;
    background-size: cover;
    overflow: hidden;
    position: relative;
  }
  .small-only {
    display: none;
  }
  div.hr {
    margin: 30px 0;
  }
  .contenu {
    width: 100%;
    background-image: none;
    background-color: rgba(255, 255, 255, 1);
    position: relative;
    z-index: 1;
    padding: 0 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: 36rem;
  }
}

@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: white no-repeat ;
    background-position: center;
    background-size: cover;
    background-position-x: 85%;
    padding: 0;
    overflow: hidden;
  }
  .contenu {
    width: 100%;
    flex: 1 1 100%;
    max-width: unset;
    margin: unset;
    background: transparent;
    box-shadow: none;
    padding: 0;
  }
  .bg {
    display: block;
    width: 0%;
    flex: 1 1 0%;
    height: initial;
  }
}

@media screen and (min-width: 1200px) {
  html {
    font-size: 12px;
  }
  #page {
    background: url(../images/bg.jpg) no-repeat ;
    background-size: cover;
    background-position-x: 85%;
  }
  .contenu {
    width: 46%;
    flex: 1 1 46%;
    position: relative;
    z-index: 1;
    height: 100vh;
    background: rgba(255, 255, 255, 0);
    margin: 0 auto;
  }
  .sous-div{
    margin-left: 2.5rem;
  }
  .bg {
    width: 54%;
    flex: 1 1 54%;
  }
}

@media screen and (min-width: 1600px) {
  html {
    font-size: 13px;
  }
  #page {
    background: url(../images/bg.jpg) no-repeat ;
    background-size: cover;
    background-position-x: 65%;
  }
  .contenu {
    width: 40%;
    flex: 1 1 40%;
  }
  .bg {
    width: 60%;
    flex: 1 1 60%;
  }
}

@media screen and (min-width: 1900px) {
  .instructions {
    width: 120%;
    font-size: 1.8rem;
  }
}

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


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

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