@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: 'ArialMT', 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: #808080 !important;
}

::-webkit-input-placeholder,
:-moz-placeholder,
::-moz-placeholder,
:-ms-input-placeholder {
  color: #808080 !important;
  opacity: 1 !important;
}

input::placeholder {
  color: #808080;
}

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

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

::-ms-input-placeholder { !* Microsoft Edge *!
	color: red;
}*/
.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;
  background-size: cover;

  background: url(../images/bg.jpg) no-repeat left center;
  background-size: cover;
  min-height: 100%;
  display: flex;
  flex-direction: row;
  padding: 0;
}

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

.contenu-bg {
  background-color: rgba(255, 255, 255, 1);
  max-width: 44rem;
  width: 100%;
  margin: 0 auto;
  position: absolute;
  top: 0;
  left: 24%;
}

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

header, footer, main {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  max-width: 34rem;
}

div.hr {
  margin: 1.33rem 0;
}

#logo {
  width: 100%;
  max-width: 28rem;
  min-width: 100px;
  margin: 4.6rem auto 2rem auto !important;
  text-align: center;
  margin: auto;
}

#logo img {
  max-width: 100%;
  height: auto;
  border: 0;
  position: relative;
  z-index: 2;
}

h2 {
  font-family: "ArialMT", "Arial", sans-serif;
  margin: 0;
  color: #000000;
  font-size: 2rem;
  font-weight: normal;
  line-height: 1;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 4.5px;
  line-height: 3rem;
}

/* 
h3 span {
  color: #2dbbab;
} */

h3 {
  font-family: "ArialMT", "Arial", sans-serif;
  margin: 0;
  color: #b7ab89;
  font-size: 2rem;
  font-weight: normal;
  line-height: 1;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 5.6px;

}

/* 
.separateur {
  width: 5rem;
  height: .3rem;
  margin: auto;
  background-color: #ebab2f;
  display: block;
} */

.instructions {
  color: #000000;
  font-size: 1.665rem;
  line-height: 1.2;
  font-weight: 300;
  margin: 4rem 0 2rem;
  word-spacing: 1px;
  font-family: "ArialMT", "Arial", sans-serif;
}

.display {
  display: none;
}

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

#fields .field {
  position: relative;
  background-color: rgb(255, 255, 255);
  margin: 0;
  height: 4.8rem;
  color: rgb(88, 88, 90);
  border: 2px solid #b7ab89;
}

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

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

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

#fields label:after {
  content: '';
  border-right: 1px solid #808080;
  opacity: 1;
  position: absolute;
  top: 12px;
  bottom: 12px;
  right: 0;
  width: 100%;
}

#fields input[type=email],
#fields input[type=text],
#fields input[type=password] {
  font-size: 1.3rem !important;
  font-weight: normal;
  font-family: "ArialMT", "Arial", sans-serif !important;
  color: #808080 !important;
  position: absolute;
  z-index: 1;
  bottom: 0px;
  left: 4.77rem;
  width: calc(100% - 4.77rem);
  box-sizing: border-box;
  margin-bottom: 0;
  height: 100% !important;
  border: none;
  padding: 0 1rem;
  letter-spacing: 0.3px;
}

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: none !important;
}

#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(88, 88, 90);
  box-shadow: none;
  outline: 0;
}

#fields input[type=email]+span.label,
#fields input[type=text]+span.label,
#fields input[type=password]+span.label {
  color: rgb(0, 0, 0) !important;
  font-size: 1.4rem !important;
  font-weight: 300;
  font-family: "Futura BdCn BT", "Arial", sans-serif !important;
  position: absolute;
  text-align: center;
  left: 4.8rem;
  top: 50%;
  margin-left: 3px;
  -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;
  padding: 0 1rem;
  letter-spacing: 0.3px;
}

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

#fields input[type=email]:focus:not([readonly]),
#fields input[type=text]:focus:not([readonly]),
#fields input[type=password]:focus:not([readonly]) {
  box-shadow: none;
}

.buttons {
  display: flex;
  align-items: flex-start;
  flex-direction: row;
  justify-content: space-between;
  margin: 3rem auto;

}

.button_form {
  position: relative;
  z-index: 2;
  height: 4rem;
  width: auto;
  padding: 1rem 2rem;

  font-family: "ArialMT", "Arial", sans-serif;
  font-weight: 500;
  font-size: 1.2rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  background-color: #000000;
  max-width: 28.87rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease-in-out;
  position: relative;
}

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

.button_form .arrow {
  display: inline-block;
  vertical-align: middle;
  width: 1.6rem;
  height: 60%;
  position: relative;
  margin-left: 2.5rem;
}

.button_form .arrow svg {
  fill: #fff;
  position: relative;
}

#oubli_form a {
  position: relative;
  z-index: 2;
  height: 4rem;
  width: auto;
  padding: 1rem;
  font-family: "ArialMT", "Arial", sans-serif;
  font-weight: 500;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #000000;
  background-color: #b7ab89;
  max-width: 28.87rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease-in-out;
  position: relative;
}

#oubli_form a:hover {
  color: #ffffff;
  background-color: #d90429;
}

@media screen and (max-height: 760px) {
  html {
    font-size: 1.4vh;
  }

}

@media screen and (max-width: 910px) {
  #page {
    background: url(../images/bg.jpg) no-repeat 80%;
  }

  .contenu-bg {
    left: 50%;
    transform: translate(-50%, -50%);
    top: 50%;
  }
}

@media screen and (max-width: 599px) {
  h2 {
    font-size: 1.9rem;
  }

  h3 {
    font-size: 1.85rem;
  }
}

@media screen and (max-width: 392px) {
  body {
    overflow-x: hidden;
  }

  h2 {
    font-size: 2.8rem;
  }

  h3 {
    font-size: 1.6rem;
  }

}

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

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

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



}

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

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

}

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

input:focus::placeholder {
  opacity: 0;
}

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