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

::-webkit-input-placeholder, :-moz-placeholder, ::-moz-placeholder, :-ms-input-placeholder {
  font-style: italic;
  color: rgb(61, 61, 61) !important;
  opacity: 1 !important;
}

.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%;
  flex: 1 1 100%;
  padding: 2rem 0;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-content: center;
}

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

header, footer, main {
  /* width: 90%; */
  max-width: 37rem;
  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: left;
}

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

h2 {
  margin: 0;
  font-size: 4rem;
  font-weight: normal;
  box-sizing: border-box;
  font-family: "Poppins", "Arial", sans-serif;
  line-height: 1.2;
  color: #dc534d;
  text-align: left;
  text-transform: uppercase;
}

h3 {
  margin: 0;
  margin-bottom: 1rem;
  color: #dc534d;
  font-size: 2.321rem;
  font-weight: normal;
  line-height: 1;
  font-family: "Poppins", "Arial", sans-serif;
  text-align: left;
  text-transform: uppercase;
}

/* h3 span {
  color: rgb(56, 115, 172);
} */

.instructions {
  font-family: "Open Sans", "Arial", sans-serif;
  text-align: left;
  color: white;
  font-size: 1.23rem;
  line-height: 1.2;
  font-weight: normal;
  margin-bottom:1.5rem;
}

/* .instructions span{
  font-weight: bold;
}  */

#fields {
  box-sizing: border-box;
  margin-bottom: 1rem;
  border-radius: 30px;
  background-color: #ffffff;
  -webkit-box-shadow: 5px 10px 33px 16px rgba(0, 0, 0, 0.12);
  box-shadow: 5px 10px 33px 16px rgba(0, 0, 0, 0.12);
  height: 10.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#fields .field {
  position: relative;
  height: 5rem;
}

#fields .field:first-child {
  border-bottom: 1px solid rgb(217, 217, 217);
  padding-top: 1rem;
}


#fields .field:last-child {
  padding-bottom: 1rem;
}

#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.4rem !important;
  font-weight: bold;
  font-family: "Poppins", "Arial", sans-serif !important;
  color: rgb(61, 61, 61) !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;
  caret-color: rgb(61, 61, 61);
  padding: 0 7rem 0 0;
  text-align: left;
}

#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: #030304;
  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: rgb(61, 61, 61) !important;
  font-size: 1.4rem !important;
  font-weight: bold;
  font-family: "Lato", "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.9);
  transform: translateY(calc(-50% - 16px)) scale(0.9);
  /* padding-left: 6px; */
}

#fields input::placeholder {
  color: rgb(61, 61, 61);
}

.button_form {
  height: 4.1rem;
  width: 17rem;
  font-family: "Poppins", "Arial", sans-serif;
  font-weight: normal;
  font-size: 1.4rem;
  color: #ffffff;
  background-color: #DC534D;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  margin-left: 0;
  text-align: center;
  text-transform: uppercase;
  transition: all 0.3s ease-in-out;
  position: relative;
  letter-spacing: 0.07rem;
  -webkit-box-shadow: 5px 10px 33px 16px rgba(0, 0, 0, 0.281);
  box-shadow: 5px 10px 33px 16px rgba(0, 0, 0, 0.247);
}

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

.button_form:hover, .button_form:focus {
  background-color: white;
  color: #DC534D;
}

#oubli_form {
  text-align: right;
  font-size: 1.07rem;
  margin-bottom: 1rem;
}

#oubli_form a {

  font-family: "Open Sans", "Arial", sans-serif;
  font-weight: 300;
  font-size: 1.2rem;
  text-align: center;
  transition: all 0.3s ease-in-out;
  position: relative;
  color: rgb(255, 255, 255);
  opacity: 1;
  text-decoration: underline;

}

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

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

.dbl_btn {
  flex-direction: row-reverse;
  display: flex;
  align-items: center;
  margin: 3rem 0;
  justify-content: center;
}

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

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

  #oubli_form a {
    margin-right: 0;
  }

  .disp {
    display: none;
  }

  h2 {
    font-size: 3.5rem;
  }

  h3 {
    font-size: 1.8rem;
    text-align: center;
  }

  .instructions {
    font-size: 1.35rem;
  }

  .dbl_btn {
    margin-bottom: 0;
  }

  .button_form {
    width: 15rem;
    font-size: 1.45rem;
  }

  #fields input[type=email], #fields input[type=text], #fields input[type=password] {
    padding: 0 4rem 0 0;
  }
}

@media screen and (min-width: 600px) {
  #page {
    padding: 2rem 0;
    background: url(../images/bg.jpg) no-repeat left center;
    background-size: cover;
    overflow-x: hidden;
    position: relative;
    justify-content: center;
  }

  .small-only {
    display: none;
  }

  div.hr {
    margin: 30px 0;
  }

  .contenu {
    min-height: 100%;
    flex: 0 0;
    width: 100%;
    background-image: none;
    background-color: rgba(255, 255, 255, 0);
    position: relative;
    z-index: 1;
    border-radius: 0;
    max-width: 41.534rem;
    margin: 0 auto;
  }

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

}

@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;
    padding: 0;
    overflow-x: hidden;
    background: url(../images/bg.jpg) no-repeat left center;
    background-size: cover;
  }

  .contenu {
    width: 55%;
    flex: 1 1 55%;
    max-width: unset;
    background: #0e335900;
    box-shadow: none;
    border-radius: 0;
    justify-content: flex-end!important;
  }

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

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

  html {
    font-size: 13px;
  }

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

  .contenu {
    width: 60%;
    flex: 1 1 60%;
    position: relative;
    z-index: 1;
    background: none;
    min-width: 41.534rem;
  }

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

}

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

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

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

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

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

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

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

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

  .contenu {
    width: 35%;
    flex: 1 1 35%;
  }
}

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