@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: "Adobe Garamond 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 #b4a9a9 inset !important;
  -webkit-text-fill-color: #b4a9a9 !important;
}

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

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

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

.small-only {
  display: block;
}

.contenu {
  width: 100%;
  background: rgb(0, 0, 0);
  flex: 1 1 100%;
  padding: 0 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-content: center;
  justify-content: center;
}

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

header, footer, main {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  max-width: 39.87rem;
  text-align: left;
}

div.hr {
  margin: 1.33rem 0;
}

/* hr {
  width: 7rem;
  background: #FCCE17;
  height: 4px;
  border: none;
  margin-left: 0;
  margin-top: 2rem;
  margin-bottom: 2rem;
} */

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

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

h2 {
  font-family: "Adobe Garamond Pro", "Arial", sans-serif;
  margin: 0;
  color: white;
  font-size: 2.8rem;
  font-weight: bold;
  text-transform: uppercase;
}

h3 {
  font-family: "Adobe Garamond Pro", "Arial", sans-serif;
  margin: 0;
  color: white;
  font-size: 2.8rem;
  font-weight: normal;
  line-height: 1.5rem;
}

h3 .subtitle2 {
  color: #e1c281;
}

.instructions {
  color: white;
  font-size: 1.85rem;
  line-height: 1.2;
  font-weight: normal;
  margin-bottom: 2rem;
  margin-top: 3rem;
  word-spacing: 1px;
  font-family: 'Adobe Garamond Pro', "Arial", sans-serif;
}

/* .color{
  font-weight: 500;
}
.bolder{
  font-weight: bold;
} */

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

#fields .field {
  position: relative;

  margin: 2rem 0;
  border-radius: 5rem;
  height: 4rem;
  color: #000;
  border: 2px solid #dadada;
  background-color: white;
}

#fields .field:not(:last-child) {
  border-bottom: none;
}

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

#fields label img {
  height: auto;
  width: auto;
  margin-left: 0.16rem;
}

/* #fields label:after {
  content: '';
  width: 1px;
  height: 25px;
  background: rgb(34, 34, 34);
  position: absolute;
  right: 0;
} */

#fields input[type=email],
#fields input[type=text],
#fields input[type=password] {
  font-size: 1.462rem !important;
  font-weight: normal;
  font-family: 'Adobe Garamond Pro', "Arial", sans-serif !important;
  color: #b4a9a9 !important;
  position: absolute;
  z-index: 1;
  bottom: 0px;
  left: 5rem;
  width: calc(100% - 4.77rem);
  box-sizing: border-box;
  margin-bottom: 0;
  height: 100% !important;
  border-bottom: none;
  padding: 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: #b4a9a9;
  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: 16192a; */
}

input::placeholder {
  color: #b4a9a9;
}

#dbl_btn {
  display: flex;
  flex-direction: column-reverse;

}

.button_form {
  height: 4rem;
  width: 100%;
  font-family: "Adobe Garamond Pro", "Arial", sans-serif;
  font-weight: bold;
  font-size: 1.162rem;
  letter-spacing: 2px;
  color: #000000;
  background-image: url(../images/button.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  margin: 5rem auto 0;
  transition: all 0.1s ease-in-out;
  text-transform: uppercase;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.button_form::after {
  content: url(../images/decoration.png);
  position: absolute;
  top: -2.2rem;
  right: 4rem;
  pointer-events: none;
}

.button_form:hover {
  transition: all 0.1s ease-in-out;
}

.button_form .arrow {
  margin-left: 17px;
  height: 1.8rem;
  margin-top: 0.8rem;
  transition: all 0.2s ease-in-out;
}

.button_form:hover .arrow {
  transform: translateX(40%);
}

#oubli_form {
  text-align: center;
  font-size: 1.2rem;
  position: relative;
  width: 100%;
  margin-top: 2rem;
}

#oubli_form a {
  font-family: 'Adobe Garamond Pro', "Arial", sans-serif;
  font-weight: 300;
  color: #e1c281;
  text-decoration: none;
  position: relative;
  z-index: 2;
  letter-spacing: .02rem;
  transition: all 0.2s ease-in-out;
}

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

div#img-slogan {
  margin: 2rem auto;
  width: 100%;
  height: auto;
}

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

  .button_form:after {
    content: '';
  }

  .contenu {
    background: rgb(0, 0, 0);

  }
}

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

  #page {
    padding: 0;
    background: url(../images/bg.jpg) no-repeat 10% center;
    background-size: cover;
    overflow: hidden;
    position: relative;
  }

  .small-only {
    display: none;
  }

  div.hr {
    margin: 30px 0;
  }

  .contenu {
    width: 100%;
    background-image: none;
    background-color: rgb(0, 0, 0);
    position: relative;
    z-index: 1;
    padding: 0 2rem 2rem 2rem;
    box-shadow: 2px 23px 51px 0px rgba(1, 1, 1, 0.1);
  }

  .contenu .forme {
    position: relative;
    z-index: 1;
  }

  .bg {
    display: none;
  }

  header, main, footer {
    max-width: 34.231rem;
  }
}

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

  .contenu {
    width: 85%;
    flex: 1 1 85%;
    max-width: unset;
    margin: unset;
    /* background: rgba(0, 0, 0, 0); */
    box-shadow: none;
    padding: 0;
  }

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

@media screen and (max-height: 767px) and (min-width: 960px) {
  #logo {
    margin-top: 0;
  }
}

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

  #page {
    background: url(../images/bg.jpg) no-repeat 60% bottom;
    background-size: cover;

  }

  .contenu {
    width: 50%;
    flex: 1 1 33%;
    position: relative;
    z-index: 1;
    height: 100vh;
    background: rgba(0, 0, 0, 0);
    margin: 0 auto;
  }

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

  div#img-slogan {
    margin: 0 auto;
    width: auto;
    height: auto;
    position: absolute;
    left: -46rem;
    bottom: 4.5rem;

  }

}

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

@media all and (-ms-high-contrast: none) and (max-width: 961px), (-ms-high-contrast: active) and (max-width: 961px) {
  #page {
    background: rgb(240, 240, 240);
    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;
  }
}