@charset "UTF-8";
* {
  box-sizing: inherit;
}

html {
  height: 100%;
}

body {
  height: 100%;
  margin: 0;
  background-color: #fff;
  font-size: 1.2rem;
  font-family: "brandon", "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: 11px;
}

#page {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  font-size: 1.2rem;
}

.small-only {
  display: block;
}

.contenu {
  width: 100%;
  flex: 1 1 100%;
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center;
}

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

header, footer, main {
  width: 90%;
  margin: 0 auto;
}

div.hr {
  margin: 1.33rem 0;
}

div.hr.vert {
  background-color: #41cd48;
  height: 0.47rem;
  width: 4.27rem;
}

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

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

h2 {
  margin: 0;
  color: black;
  font-size: 3rem;
  font-weight: 500;
  font-family: "Helvetica", "Arial", sans-serif;
  text-transform: uppercase;
  margin-bottom: -0.5rem;
}

h3 {
  margin: 0;
  margin-bottom: 1.6rem;
  font-size: 2.4rem;
  color: #000;
  line-height: 1.25;
  font-weight: 500;
}

.instructions {
  color: black;
  font-size: 1.45rem;
  line-height: 1.15;
  font-family: "Poppins", "Arial", sans-serif;
  font-weight: normal;
  margin: 2rem 0;
}
/* .instructions span {
  font-weight: bold;
} */

#fields {
  box-sizing: border-box;
  overflow: hidden;
  /* box-shadow: 0px 0px 30px 10px rgba(0, 0, 0, 0.07);
  -webkit-box-shadow: 0px 0px 30px 10px rgba(0, 0, 0, 0.07); */
  max-width: 35rem;
}

#fields .field {
  position: relative;
  margin: 0;
  border-radius: 0;
  height: 4.5rem;
  border: 2px solid rgb(216, 216, 216);
  border-radius: 1px;
  background-color: rgb(248, 248, 248);
}

#fields .field:first-of-type {
  border-bottom: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

#fields .field:last-of-type {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

#fields .field:first-of-type label {
  margin-left: 0;
}

#fields .field:first-of-type input[type=email], #fields .field:first-of-type input[type=text], #fields .field:first-of-type input[type=password] {
  margin-left: 0;
}

#fields .field:first-of-type input[type=email]+span.label, #fields .field:first-of-type input[type=text]+span.label, #fields .field:first-of-type input[type=password]+span.label {
  margin-left: 0;
}

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

#fields label img {
  height: 2.5rem;
  width: auto;
}

#fields input[type=email], #fields input[type=text], #fields input[type=password] {
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 50px;
  width: calc(100% - 50px);
  border: 0;
  color: black;
  box-sizing: border-box;
  margin-bottom: 0;
  height: 80% !important;
  font-size: 1.4rem !important;
  font-family: 'Poppins', Arial, sans-serif !important;
  font-weight: 600;
  caret-color: rgb(6, 22, 37);
  padding: 0 2rem;
}

#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: rgb(6, 22, 37);
  border:0;
  box-shadow: none;
  outline: 0;
}

#fields input[type=email]+span.label, #fields input[type=text]+span.label, #fields input[type=password]+span.label {
  position: absolute;
  text-align: center;
  left: 50px;
  margin-left: 3px;
  color: black;
  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;
  font-size: 1.4rem !important;
  font-weight: 300;
  font-family: 'Poppins', Arial, sans-serif !important;
  z-index: 1;
  -webkit-user-select: none;
  /* Safari */
  -moz-user-select: none;
  /* Firefox */
  -ms-user-select: none;
  /* IE10+/Edge */
  user-select: none;
  /* Standard */
}

#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% - 14px));
  transform: translateY(calc(-50% - 14px));
}

#fields input[type=email].valide+span.validation::after, #fields input[type=text].valide+span.validation::after, #fields input[type=password].valide+span.validation::after {
  content: ' ';
  display: block;
  position: absolute;
  top: 53%;
  right: 15px;
  width: 25px;
  height: 25px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  background: url(../images/valid.png) no-repeat;
  background-size: contain;
}

#fields input[type=email].invalide+span.validation::after, #fields input[type=text].invalide+span.validation::after, #fields input[type=password].invalide+span.validation::after {
  content: ' ';
  display: block;
  position: absolute;
  top: 53%;
  right: 15px;
  width: 25px;
  height: 25px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  background: url(../images/invalid.png) no-repeat;
  background-size: contain;
}

#fields input[type=email]:focus:not([readonly]), #fields input[type=text]:focus:not([readonly]), #fields input[type=password]:focus:not([readonly]) {
  color: rgb(6, 22, 37);
  box-shadow: none;
  border: 0;
}

.button_form {
  height: 5.4rem;
  width: 46.5%;
  font-family: "Helvetica", "Arial", sans-serif;
  font-weight: normal;
  font-size: 1.3rem;
  color: white;
  background: black;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: left;
  transition: all 0.3s ease-in-out;
  position: relative;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  z-index: 2;
  position: relative;
  margin: 0;
  /* border-radius: 7px; */
  /* transform: skew(-20deg); */
}
/* .button_form span{
  transform: skew(20deg);
} */
/* .arrow{
  margin-top: 0.3rem;
  margin-left: 15px;
}
.button_form:hover .arrow {
  transition: all 0.3s ease-in-out;
  margin-right: -20px;
} */

.button_form:hover, .button_form:focus {
  background-color: rgb(255, 64, 51);
  color: white;
  /* -webkit-animation: jelly 0.5s;
  animation: jelly 0.5s; */
}

#oubli_form {
  text-align: left;
  width: 53.5%;
}

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

#oubli_form a:hover {
  color: rgb(255, 64, 51);
}

.dbl_btn {
  display: flex;
  flex-direction: row;
  max-width: 35rem;
  width: 100%;
  margin: 4rem 0 0;
  align-items: center;
}

#fields .field {
  height: 6.53rem;
}

#fields label {
  width: 6.67rem;
}

#fields input[type=email], #fields input[type=text], #fields input[type=password] {
  left: 6.67rem;
  width: calc(100% - 6.67rem);
  height: 75px;
}

#fields input[type=email]+span.label, #fields input[type=text]+span.label, #fields input[type=password]+span.label {
  left: 6.67rem;
}

@media screen and (max-width:959px) {
  .dbl_btn, #fields {
    width: 100%;
    max-width: 40rem;
  }
  header, main, footer {
    width: 70%;
  }
}

@media screen and (max-width: 599px) {
  .contenu {
    padding: 0 5rem;
  }
  header, main {
    width: 100%;
    max-width: 100%;
  }
}

@media screen and (max-width: 499px) {
  .contenu {
    padding: 0 3rem;
  }
  .displ {
    display: none;
  }
  h2 {
    font-size: 3rem;
  }
  #oubli_form {
    width: 55%;
    font-size: 1.2rem;
  }
  .button_form {
    width: 45%;
    font-size: 1.2rem;
    height: 4.4rem;
  }
  #logo img {
    width: 45%;
  }
}

@media screen and (max-width: 392px) {
  h2 {
    font-size: 2.5rem;
  }
  #oubli_form {
    font-size: 1rem;
  }
  .button_form {
    font-size: 1rem;
  }
  .dbl_btn {
    flex-direction: column;
  }
  #oubli_form {
    margin: 0 auto 2rem 0;
  }
  .button_form {
    margin: 0 0 0 auto;
  }
}



@media screen and (min-width: 600px) {
  #page {
    padding: 2rem 0;
    background: white no-repeat left center;
    background-size: cover;
  }
  .small-only {
    display: none;
  }
  div.hr {
    margin: 30px 0;
  }
  .contenu {
    justify-content: center;
    height: 75%;
    flex: 0 0;
    margin: auto;
    width: 90%;
    background-image: none;
    background-color: transparent;
  }
  .bg {
    display: none;
  }
  header, main, footer {
    width: 100%;
    max-width: 40rem;
  }
}

@media screen and (max-width: 959px) and (max-height: 840px) {
  .bg {
    display: none;
  }
}
@media screen and (min-width: 960px) {
  html {
    font-size: 11px;
  }
  #page {
    background: url(../images/bg2.jpg) no-repeat left center;
    min-height: 100%;
    display: flex;
    flex-direction: row;
    padding: 0;
  }
  .contenu {
    width: 50%;
    flex: 1 1 50%;
    height: initial;
    margin: initial;
  }
  .bg {
    background: transparent;
    background-size: cover;
    order: -1;
    padding-top: 37%;
    display: block;
    width: 50%;
    flex: 1 1 50%;
    height: initial;
    position: relative;
    overflow: hidden;
  }
  h2 {
    display: none;
  }
}

@media screen and (min-width: 1200px) {
  #page {
    background: url(../images/bg.jpg) no-repeat center center;
    background-size: cover;
  }
  html {
    font-size: 12px;
  }
  .contenu {
    width: 48%;
    flex: 1 1 48%;
  }
  .bg {
    width: 52%;
    flex: 1 1 52%;
  }
  header, main, footer {
    width: 62%;
    max-width: 36rem;
  }
  header .hr {
    margin: 2rem 0 2.87rem;
  }
  #fields {
    max-width: 35rem;
  }
  .displ {
    display: none;
  }
  /* h2::after {
    transform: translateX(-19.5rem) translateY(2rem) scale(95%);
  } */
}

@media screen and (min-width: 1375px) {
  html {
    font-size: 13px;
  }
  .contenu {
    width: 50%;
    flex: 1 1 50%;
  }
  .bg {
    width: 50%;
    flex: 1 1 50%;
  }
  header, main, footer {
    width: 62%;
    max-width: 36rem;
    margin-right: 10rem;
  }
  #fields {
    max-width: 35rem;
  }
}

@media screen and (min-width: 1800px) {
  .contenu {
    width: 42%;
    flex: 1 1 42%;
    background-color: transparent;
  }
  .bg {
    width: 58%;
    flex: 1 1 58%;
  }
  header, main, footer {
    margin-right: 15rem;
  }
}

@media all and (-ms-high-contrast: none) and (max-width: 961px), (-ms-high-contrast: active) and (max-width: 961px) {
  #page {
    background: #fff;
    display: block;
  }
}

@media all and (-ms-high-contrast: none) and (min-width: 960px), (-ms-high-contrast: active) and (min-width: 960px) {
  #page {
    min-height: 100vh;
  }
  .contenu, .bg {
    min-height: 100vh;
  }
}

@media screen and (min-width: 2450px) {
  html {
    font-size: 17px;
  }
  header, main, footer {
    margin-right: auto;
  }
}