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

html {
  height: 100%;
  font-size: 9px;
}

body {
  height: 100%;
  margin: 0;
  background-color: #fff;
  color: #000;
  font-size: 1.2rem;
  font-family: 'Futura Std Book', "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 10000s ease-in-out 0s, box-shadow 10000s ease-in-out 0s !important;
  -webkit-box-shadow: 0 0 0px 1000px rgba(255, 255, 255, 0) inset !important;
  -webkit-text-fill-color: #000 !important;
}

::-webkit-input-placeholder, :-moz-placeholder, ::-moz-placeholder, :-ms-input-placeholder {
  color: #000 !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;
}

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

}


#particles {
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

#particles-js {
  -webkit-transform: rotate(19deg) translate(-29%, -50%);
  transform: rotate(19deg) translate(-29%, -50%);
  mix-blend-mode: overlay;
}

.small-only {
  display: block;
}

.contenu {
  width: 100%;
  background-color: transparent;
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
}

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

.bloc_bg {
  width: 90%;
  margin: 0 auto;
}


div.hr {
  margin: 1.33rem 0;
}

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

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

h2 {
  font-family: 'Futura Std Book', "Arial", sans-serif;
  margin: 0;
  color: #000;
  font-size: 3.8rem;
  font-weight: 500;
  text-align: left;
  line-height: 1.2;
  text-transform: uppercase;
}

/* h2 span {
  color: rgb(175, 128, 40);
} */

h3 {
  font-family: 'Futura Std Book', "Arial", sans-serif;
  margin: 0;
  color: #000;
  font-size: 1.9rem!important;
  font-weight: 300;
  line-height: 1.1;
  text-align: left;
  align-items: center;
}

/* h3 span {
  color: rgb(16, 170, 223);
} */

.instructions {
  font-family: 'Futura Std Book', "Arial", sans-serif;
  color: #000;
  font-size: 1.83rem;
  line-height: 1.2;
  font-weight: 300;
  margin-top: 1.25rem;
  margin-bottom: 2rem;
  width: 100%;
  text-align: left;
}

br.display{
  display: none;
}

#fields {
  box-sizing: border-box;
  /*border: 1px solid rgb(0, 142, 151);*/
  border-radius: 8px;
}

#fields .field {
  position: relative;
  /* background-color: rgba(255, 255, 255, 0.85); */
  margin: 0;
  height: 7.2rem;
  max-width: 100%;
}

#fields .field:not(:last-child) {
  border-bottom: 1px solid rgb(0 0 0);
}
/* #fields .field:not(:last-child)::before{
  content: "Identifiant";
  font-family: "Avenir Next LT Pro", "Arial", sans-serif !important;
  font-weight: bold;
  position: absolute;
  top: -17px;
  font-size: 4.5rem;
  left: 0;   
  letter-spacing: 0.2rem;
  color: rgb(233, 233, 233);
}
#fields .field::before{
  content: "Mot de passe";
  font-family: "Avenir Next LT Pro", "Arial", sans-serif !important;
  font-weight: bold;
  position: absolute;
  top: -8.5px;
  font-size: 3.8rem;
  left: 0;   
  letter-spacing: 0.2rem;
  color: rgb(233, 233, 233);
}
#fields .field.changed::before{
  content:"";
} */

#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: 25px; */
}

#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: 25px; */
}

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

#fields .field:last-of-type input[type=email],
#fields .field:last-of-type input[type=text],
#fields .field:last-of-type input[type=password] {
  /* margin-left: 25px; */
}

#fields .field:last-of-type input[type=email] + span.label,
#fields .field:last-of-type input[type=text] + span.label,
#fields .field:last-of-type input[type=password] + span.label {
  /* margin-left: 25px; */
}

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

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

/* #fields label:after{
  content: '';
  position: absolute;
  width: 1.4rem;
  height: 1px;
  margin: 0px;
  background-color: black;
  left: 2rem;
  top: 3rem;
  transform: rotate(90deg);
} */

#fields input::placeholder{
  color: #000;
  font-weight: normal;
}
#fields input[type=email], #fields input[type=text], #fields input[type=password] {
  font-size: 1.5rem !important;
  font-weight: 300;
  font-family: 'Futura Std Book', "Arial", sans-serif !important;
  color: #000 !important;
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 7rem;
  width: calc(100% - 7rem);
  height: 100% !important;
  border-bottom: 0;
  box-sizing: border-box;
  padding: 2.45rem 2rem 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: #3674b7;
  box-shadow: none;
  outline: 0;
}
input:not([type]), 
input[type=text]:not(.browser-default), 
input[type=password]:not(.browser-default), 
input[type=email]:not(.browser-default), 
input[type=url]:not(.browser-default), 
input[type=time]:not(.browser-default), 
input[type=date]:not(.browser-default), 
input[type=datetime]:not(.browser-default), 
input[type=datetime-local]:not(.browser-default), 
input[type=tel]:not(.browser-default), 
input[type=number]:not(.browser-default), 
input[type=search]:not(.browser-default),
 textarea.materialize-textarea{
  background-color: transparent;
  border: none;

  border-radius: 0;
  outline: none;
  height: 3rem;
  width: 100%;
  font-size: 16px;
  margin: 0 0 8px 0;
  padding: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  -webkit-transition: border .3s, -webkit-box-shadow .3s;
  transition: border .3s, -webkit-box-shadow .3s;
  transition: box-shadow .3s, border .3s;
  transition: box-shadow .3s, border .3s, -webkit-box-shadow .3s;
 }

 #fields input[type=email]+span.label, #fields input[type=text]+span.label, #fields input[type=password]+span.label {
  color: rgb(51, 51, 51) !important;
  font-size: 1.5rem !important;
  font-weight: bold;
  font-family: "Futura Std Book", "Arial", sans-serif !important;
  position: absolute;
  text-align: center;
  left: 8rem;
  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% - 17px)) scale(0.95);
  transform: translateY(calc(-50% - 17px)) scale(0.95);
  /* padding-left: 6px; */
}

.oubli_form {
  /*height: fit-content;*/
  width:50%;
  text-align: center;
  font-family: 'Futura Std Oblique', "Arial", sans-serif;
  font-weight: 300;
  font-size: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  justify-content: left;
  align-items: top;
  color: #000;
  transition: all 0.3s;
}

.oubli_form span {
  position: relative;
  z-index: 2;
  text-decoration: none;
  border-bottom: 1px solid;
}

.oubli_form:hover {
  color: #e8b895;
}

.button_form {
  height: 4.2rem;
  width: 47%;
  font-family: 'Futura Std Medium',"Arial", sans-serif;
  font-weight: 600;
  font-size: 1.45rem;
  color: #000;
  /*background-color:#f3caa9;*/
  background: linear-gradient(#f9d5b5, #e8b895);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: left;
  text-transform: uppercase;
  transition: all 0.3s ease-in-out;
  position: relative;
  letter-spacing: 0.1rem;
  border-radius: 0;
  margin-left: 3%;
  /*-webkit-box-shadow: 0 12px 22px 12px rgba(0, 0, 0, 0.14);
  box-shadow: 0 12px 22px 12px rgba(0, 0, 0, 0.14);*/
}

.button_form:hover {
  background: linear-gradient(#000, #000);
  color: #fff;
  /*-webkit-box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.01);
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.01);*/
}

.button_form .arrow {
  margin-left: 1.5rem;
  display: flex;
}
.button_form .arrow img{
  width: 80%;
  height: auto;

}
.button_form .arrow svg {
  fill: #fff;
  position: absolute;
  top: 0;
  left: 0;
}

.separateur{
  margin: 1.8rem 0;
  background-color:#000;
  width:16%;
  height:0.2rem;
}
header{
  position: relative;
}
main{
  position: relative;
}

.dbl_btn {
  display: flex;
  margin-top: 1.75rem;
}

@media screen and (width: 360px) {
  h2{
    font-size:3.1rem!important;
  }
  .instructions{
    font-size: 1.73rem!important;
  }
}
@media screen and (width: 375px) {
  h2{
    font-size:3.1rem!important;
  }
  .instructions{
    font-size: 1.73rem!important;
  }
}

@media screen and (width: 384px) {
  h2{
    font-size:3.1rem!important;
  }
  .instructions{
    font-size: 1.73rem!important;
  }
}
@media screen and (width: 390px) {
  h2{
    font-size:3.1rem!important;
  }
  .instructions{
    font-size: 1.73rem!important;
  }
}

@media screen and (width: 393px) {
  h2{
    font-size:3.1rem!important;
  }
  .instructions{
    font-size: 1.73rem!important;
  }
}
@media screen and (min-width: 500px) and (max-width: 599px ){
  .oubli_form {
    margin-bottom: 3rem;
    width: 100%;
    justify-content: right;
  }
}

@media screen and (max-width: 599px) {
  .dbl_btn {
    width: 100%;
    flex-direction: column;
    margin-left: 0;
  } 
  .displ {
    display: none;
  }
  #logo {
    margin-top: 0;
  }
}

@media screen and (max-width: 499px) {
  html {
    font-size: 11px;
  }
  #logo img {
    max-width: 100%;
  }
  h2{
    font-size:3.6rem;
  }

  .oubli_form {
    margin-bottom: 3rem;
    width: 100%;
    justify-content: right;
  }
}

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

@media screen and (min-width: 600px) and (max-width: 959px) {
  .contenu {
    justify-content: center;
  }
  .dbl_btn {
    margin-bottom: 4.5rem;
  }
}

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

  .theme_1 {
    background: url(../images/bg.jpg) no-repeat left center;
  }

  br.display{
    display: block;
  }
  #page {
    padding: 4rem 0;
  }

  .small-only {
    display: none;
  }
  div.hr {
    margin: 30px 0;
  }
  .contenu {
    width: 100%;
    z-index: 2;
  }
  .inner_contenu {
    background-color: #fff;
    /* -webkit-box-shadow: 0 0 30px 15px rgb(1 1 1 / 15%);
    box-shadow: 0 0 30px 15px rgb(1 1 1 / 15%); */
    width: 53rem;
    height: 64rem;
    max-width: 100%;
    margin: 0 auto 0 8rem;
    border: 5px solid rgb(232, 184, 149);
    box-shadow: 0px 0px 35px 0px rgba(240, 240, 240, 0.3);
  }
  .bg {
    display: none;
  }
  .bloc_bg {
    width: 100%;
    max-width: 38rem;
    padding: 0;
    margin-left: 6rem;
  }
  .bloc_bg:last-of-type{
    padding: 0;
  }
  
  header,main{
    max-width: 38rem;
    margin: auto;
  }
}

@media screen and (max-width: 959px) and (max-height: 840px) {
  .bg {
    display: none;
  }
}

@media screen and (min-width: 960px) {
  html {
    font-size: 10px;
  }
  #page {
    min-height: 100%;
    display: flex;
    flex-direction: row;
  }

  .contenu {
    width: 80%;
    flex: 1 1 80%;
  }
  .bg {
    display: block;
    width: 20%;
    flex: 1 1 20%;
    order: 1;
    background: transparent;
    height: initial;
    position: relative;
    overflow: hidden;
  }
}

@media screen and (min-width: 1200px) {
  html {
    font-size: 10px;
  }
  #page{
    background-size: cover;
    background-position: left center;
  }
  .contenu {
    width: 50%;
    flex: 1 1 50%;
  }
  .bg {
    width: 50%;
    flex: 1 1 50%;
  }
  .bloc_bg{
    background: none;
    position: relative;
  }
  h3 {
    width: 120%;
    font-size: 2.55rem;
  }
}

@media screen and (min-width: 1600px) {
  html {
    font-size: 11.5px;
  }  
  .contenu {
    width: 42%;
    flex: 1 1 42%;
  }
  .bg {
    width: 58%;
    flex: 1 1 58%;
  }
}
@media screen and (min-width: 960px) and (max-height:940px) {
  main::after{
    content: none;
    display: none;
  }
}

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

@meda all and (-ms-high-contrast: none) and (max-width: 961px), (-ms-high-contrast: active) and (max-width: 961px) {
  #page {
    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, .contenu {
    min-height: 100vh;
  }
  .bg {
    min-height: 100vh;
  }
}

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

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