@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: "Avenir Next LT 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 #fff inset !important;
  -webkit-text-fill-color: #ffffff !important;
}

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

/* !* Chrome, Firefox, Opera, Safari 10.1+ *! */
::placeholder {
  color: #FFFFFF;
  opacity: 1;
}

/*
:-ms-input-placeholder { !* Internet Explorer 10-11 *!
	color: red;
}

::-ms-input-placeholder { !* Microsoft Edge *!
	color: red;
}*/

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

#page {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  font-size: 1.2rem;
  overflow-x: hidden;
  background: url(../images/bg.jpg) no-repeat center center;
  background-size: cover;
}

.small-only {
  display: block;
}

.contenu {
  width: 100%;
  flex: 1 1 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-content: center;
  flex-wrap: wrap;
  align-items: center;
  z-index: 1;
}

#bg-border {
  align-items: center;
  width: 86.4rem;
  height: 35.5%;
  position: absolute;
  color: #8F8F8F;
  background: rgb(0, 0, 0);
  background-clip: padding-box;
  display: flex;
}

#bg-border:before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  margin: -3px;
  border-radius: inherit; 
  background-color: #d59a14!important;
/*background: linear-gradient(361deg, #bc923f -2.98%, #e0b147 68.14%, #fff5bd 104.54%);*/
}

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

header, footer, main {
  width: 100%;
  max-width: 32rem;
  margin: auto;
  z-index: 1;
}


.separateur {
  background: #545454;
  border: none;
  width: 1px;
  height: 13rem;
  margin: 1rem 0;
  margin-left: 0;
  z-index: 1;
  display: block;
}

.separateur-2 {
  display: block;
  background-color: #d59a14!important;
  /*background-image: linear-gradient(60deg, #d8be6e, #f4e098 100%);*/
  border: none;
  width: 5rem;
  height: 2px;
  margin: 1.5rem 0;
  margin-left: 0;
}

#logo {
  width: 100%;
  max-width: 100%;
  min-width: 100px;
  margin-left: 0;
  text-align: center;
}

#logo img {
  max-width: 82%;
  position: absolute;
  top: 15.3rem;
  left: 15.6%;
  /* transform: translateX(50%); */
}

#logo img {
  left: 35.6%;
}

h2 {
  margin: 0;
  font-size: 2.9rem;
  font-weight: normal;
  box-sizing: border-box;
  font-family: "Montserrat", "Arial", sans-serif;
  color: #FFFFFF;
  text-align: left;
  text-transform: uppercase;
}

h3 {
  margin: 0;
  color: #FFFFFF;
  font-size: 1.75rem;
  font-weight: normal;
  line-height: 1;
  font-family: "Montserrat", "Arial", sans-serif;
  text-align: left;
}

h3 span {
  color: #d59a14;
}

.instructions {
  font-family: "Montserrat", "Arial", sans-serif;
  text-align: left;
  color: #FFFFFF;
  font-size: 1.3rem;
  line-height: 1.2;
  font-weight: normal;
  margin-bottom: 2rem;
}

.instructions span {
  font-weight: bold;
}

#fields {
  box-sizing: border-box;
  background-color: #ffffff00;
  max-width: 100%;
  width: 100%;
  margin: auto;
}

#fields .field {
  position: relative;
  height: 3.6rem;
  border-bottom: 1px solid rgb(0, 0, 0);
}

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

/* 
#fields .field:last-child {
} */

#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.8rem;
  width: auto;
}

#fields label:after {
  content: '';
  border-right: 1px solid #f0f0f0;
  opacity: 1;
  position: absolute;
  top: 0.6rem;
  bottom: 0.8rem;
  right: -1rem;
  width: 100%;
}

#fields input[type=email], #fields input[type=text], #fields input[type=password] {
  font-size: 1.3rem !important;
  font-weight: normal;
  font-family: "Montserrat", "Arial", sans-serif !important;
  color: #FFFFFF !important;
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 5rem;
  width: calc(100% - 5rem);
  border-bottom: 0;
  height: 100% !important;
  box-sizing: border-box;
  margin-bottom: 0;
  caret-color: #877241;
  padding: 0 2rem 0;
}

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

#fields input[type=email]+span.label, #fields input[type=text]+span.label, #fields input[type=password]+span.label {
  color: #ffffff !important;
  font-size: 1.2rem !important;
  font-weight: normal;
  font-family: "Montserrat", "Arial", sans-serif !important;
  position: absolute;
  text-align: center;
  left: 5.73rem;
  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.7);
  transform: translateY(calc(-50% - 16px)) scale(0.7);
}

#fields input::placeholder {
  font-family: "Montserrat", "Arial", sans-serif;
  color: #FFFFFF;
  font-weight: normal;
  font-size: 1rem;
}

.button_form {
  height: 3.8rem;
  width: 45%;
  font-family: "Montserrat", "Arial", sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: #000;
  background-color:#d59a14;
  /* background-image: linear-gradient(to right, #bc923f, #e0b147, #fff5bd, #bc923f, #bc923f, #fff5bd, #e0b147, #bc923f);*/
  /* background-image: linear-gradient(60deg, #796fb7 10%, #60bb94 40%); */
  background-size: 250% 100%;
  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;
  bottom: 0.3rem;
}

.button_form:hover{
  background-color: #fff;
}

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

.button_form:hover, .button_form:focus {
  background-position: right center;
}

#oubli_form {
  text-align: right;
}

#oubli_form a {
  font-family: "Montserrat", "Arial", sans-serif;
  font-weight: 500;
  font-size: 1.2rem;
  text-align: center;
  transition: all 0.3s ease-in-out;
  position: relative;
  color: #ffffff;
  opacity: 1;
  font-style: italic;
  text-decoration: underline;
}

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

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

.dbl-btn {
  margin-top: 3rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  justify-content: space-evenly;
}

@media screen and (max-width: 1260px) {


  #logo img {
    max-width: 26rem;
    top: 3.3rem;
  }

  #bg-border {
    width: auto;
    height: auto;
    padding: 5rem 1.5rem;
    flex-direction: column;
    margin: 7rem auto 0;
    justify-content: center;
  }

  html {
    font-size: 15px;
  }

  #logo-responsive {
    width: 100%;
    max-width: 100%;
    min-width: 100px;
    margin-left: 0;
    text-align: center;
    display: block;
    margin-bottom: 2rem;
  }

  img.responsive-img, video.responsive-video {
    max-width: 80%;
  }

  .contenu {
    flex-direction: column;
  }

  .separateur {
    display: none;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  .instructions {
    font-size: 1.1rem;
  }

  #oubli_form a {
    font-size: 0.9rem;
  }

}


@media screen and (max-width: 1360px) and (min-width: 1260px) {
  html {
    font-size: 13.5px;
  }

}


@media screen and (min-width: 1260px) {

  #logo {
    display: block;
  }

  #logo img {
    width: 35%;
  }
  #logo img {
    left: 32.6%;
  }
  #logo img {
    max-width: 62%;
    position: absolute;
    top: 14.3rem;
    left: 15.6%;
    transform: translateX(50%);
  }

  main {
    z-index: 1;
    margin-bottom: 0;
  }

  .contenu {
    margin-top: 13rem;
  }

  #fields {
    width: 75%;
  }
}


@media screen and (min-width: 1600px) and (max-width: 1900px) {
  h2 {
    font-size: 2.3vw;
  }

  h3 {
    font-size: 1.4vw;
  }

  .instructions,
  #oubli_form a {
    font-size: 1.02vw;
  }

}


@media screen and (max-width:499px){

}

@media screen and (min-width:750px) and (max-width:850px){
  #logo img {
    left: 26%;
  }

}

@media screen and (min-width:400px) and (max-width:599px){
  #page{
    background: #000 !important;
  }
  #logo img{
    left: 2.5%!important;
    margin: 5rem auto 0;
  }
  h2{
    font-size: 2.5rem;
  }
  .instructions{
    font-size: 1rem;
  }
  #bg-border:before{
    background-color: transparent!important;
  }
}

@media screen and (min-width:360px) and (max-width:399px){
  h2{
    font-size: 2.15rem;
  }
  .instructions{
    font-size: 0.85rem;
  }
  h3{
    font-size: 1.3rem;
  }
  #logo img{
    left: 0.5rem!important;
    max-width: 23rem!important;
    margin: 2rem auto 0;
  }
  #page{
    background: #000 !important;
  }
  #bg-border:before{
    background-color: transparent!important;
  }
}

@media screen and (width:375px) {
  #logo img {
    margin: -1rem auto 0!important;
  }
}