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

::-webkit-input-placeholder,
:-moz-placeholder,
::-moz-placeholder,
:-ms-input-placeholder {
  font-style: italic;
  color: rgb(23, 23, 23) !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: 11px;
}

#page {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  font-size: 1.2rem;
  overflow-x: 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;
  padding: 2rem 0;
}

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

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

div.hr {
  margin: 1.33rem 0;
}

hr{
  width: 4.5rem;
  background: rgb(23, 23, 23);
  height: 5px;
  border: none;
  margin-top: 2rem;
  margin-bottom: 2rem;
  margin-left: 0;
}
#logo {
  text-align: center;
  width: 100%;
  max-width: 100%;
  min-width: 100px;
  margin-bottom: 3.25rem;
}

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

h2 {
  font-family: "Colville", "Arial", sans-serif;
  margin: 0;
  color: rgb(23, 23, 23);
  font-size: 4.3rem;
  font-weight: bold; 
  line-height: 1;
  margin-bottom: -1rem;
  text-transform: uppercase;
}
h3{  
  font-family: "Colville", "Arial", sans-serif;
  text-transform: uppercase;
  font-weight: normal;
  font-size: 2.113rem;
  line-height: 1;
  color: rgb(115, 117, 112);
}

.instructions {
  color: rgb(23, 23, 23);
  font-size: 1.73rem;
  line-height: 1.2;
  font-weight: 300;
  margin-bottom: 2.25rem;
  margin-top: 2rem;
  word-spacing: 1px;
  font-family: 'Sofia Pro', "Arial", sans-serif;
}
.instructions span {
  font-weight: normal;
}

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

#fields .field {
  position: relative;
  background-color: transparent;
  margin: 0;
  border-radius: 0;
  height: 3.2rem;
  border-bottom: 1px solid rgb(199, 202, 206);
}

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

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

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

#fields label:after {
  content: '';
  width: 1px;
  height: 2.2rem;
  background: rgb(23, 23, 23);
  position: absolute;
  right: 0;
}

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

#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 :rgb(23, 23, 23);
}
.button_form {
  height: 4.8rem;
  width: 15rem;
  font-family: "Colville", "Arial", sans-serif;
  font-weight: bold;
  font-size: 1.6rem;
  color: white;
  background-color: black;
  max-width: 28.87rem;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2.75rem auto 0;
  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(115, 117, 112);
}

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

#oubli_form {
  text-align: right;
  font-size: 1.45rem;
  position: relative;
  width: 100%;
  margin-top: 1rem;
}

#oubli_form a {
  font-family: 'Poppins', "Arial", sans-serif;
  font-weight: normal;
  color: black;
  text-decoration: none;
  position: relative;
  z-index: 2;
  transition: all 0.2s ease-in-out;
}

#oubli_form a:hover {
  color:rgb(115, 117, 112);
}

@media screen and (max-width:411px){
  .display{
    display: none;
  }
}

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

@media screen and (min-width: 600px) {
  html {
    font-size: 12px;
  }
  #page {
    background: url(../images/bg.jpg) no-repeat 10% 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: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
    padding: 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: 34rem;
  }
}

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

@media screen and (max-height: 767px) and (min-width: 960px) {
  #logo {
    margin-top: 0;
  } 
}

@media screen and (min-width: 1200px) {
  #page {
    background: url(../images/bg.jpg) no-repeat ;
    background-size: cover;
    background-position-x: 50%;
  }
  .contenu {
    width: 60%;
    flex: 1 1 60%;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0);
    margin: 0 auto;
  }
  .bg {
    display: block;
    width: 40%;
    flex: 1 1 40%;
    height: initial;
  }
  .sous-div{
    margin-left: 2.5rem;
  }
}

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

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

@media screen and (min-width: 1450px) {
  .contenu {
    width: 67%;
    flex: 1 1 67%;
  }
  .bg {
    width: 33%;
    flex: 1 1 33%;
  }
  .sous-div{
    margin-left: 2.5rem;
  }
}

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

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