@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: "Libre Baskerville", "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: #575756 !important;
}

::-webkit-input-placeholder,
:-moz-placeholder,
::-moz-placeholder,
:-ms-input-placeholder {
  font-style: italic;
  color: #575756 !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: 11px;
}

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

.small-only {
  display: block;
}

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

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

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

div.hr {
  margin: 1.33rem 0;
}

hr{
  width: 50%;
  margin-left: 6.2rem;
  background: #e2e5ea;
  height: 3px;
  border: none;
  margin-top: 2rem;
  margin-bottom: 2rem;
}
#logo {
  width: 100%;
  max-width: 32.934rem;
  min-width: 100px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  margin-bottom: 3rem;
}

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

h2 {
  margin: 0;
  color: #000000;
  font-size: 6.83rem;
  font-weight: normal;
  box-sizing: border-box;
  font-family: "Libre Baskerville", "Arial", sans-serif;
  letter-spacing: -0.025rem;
  text-shadow: 0px 0px 43px rgba(255, 255, 255, 0.65);
  mix-blend-mode: multiply;
  line-height: 0.9;
}

h3 {
  
  font-family: "Impact", "Arial", sans-serif;
  text-transform: uppercase;
  margin: 0;
  color: #000000;
  font-size: 5.75rem;
  font-weight: normal;
  line-height: 1;
  letter-spacing: 0.025rem;
  text-shadow: 0px 0px 43px rgba(255, 255, 255, 0.65);
  mix-blend-mode: multiply;
  position: relative;
}

.instructions {
  color: #00293d;
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: normal;
  margin-bottom: 5rem;
  margin-top: 1.33rem;
}
.color{
  font-weight: 600;
}

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

#fields .field {
  position: relative;
  margin: 0;
  height: 4.231rem;
}

#fields .field:not(:last-child) {
  border-bottom: 1px solid rgba(167, 167, 167, 0.2);
  margin-bottom: 2rem;
}

#fields .field:not(:last-child)::before {
  content: "Identifiant";
  font-family: 'Impact', "Arial", sans-serif;
  text-transform: uppercase;
  color: #848f9e;
  font-weight: normal;
  position: absolute;
  top: -3.2rem;
  font-size: 4.3rem;
  opacity: 0.2;
  left: 0;
  letter-spacing: 0.1rem;
}

#fields .field::before {
  content: "Mot de passe";
  font-family: 'Impact', "Arial", sans-serif;
  text-transform: uppercase;
  color: #848f9e;
  font-weight: normal;
  position: absolute;
  opacity: 0.2;
  top: -2.6rem;
  font-size: 4rem;
  left: 0;
  letter-spacing: 0.1rem;
  white-space: nowrap;
}

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

#fields label img {
  height: 24px;
  width: auto;
}

#fields label:after {
  content: '';
  position: absolute;
  width: 26px;
  margin: 0px;
  border-bottom: 2px solid #0c0635;
  right: -14px;
  transform: rotate(90deg);
}

#fields input[type=email],
#fields input[type=text],
#fields input[type=password] {
  font-size: 1.07rem !important;
  font-weight: normal;
  font-family: "Libre Baskerville", "Arial", sans-serif !important;
  color: #575756 !important;
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 4.73rem;
  padding-left: 1.73rem;
  width: calc(100% - 4.73rem);
  border-bottom: 0;
  height: 100% !important;
  box-sizing: border-box;
  margin-bottom: 0;
}

#fields input[type=email]#password,
#fields input[type=text]#password,
#fields input[type=password]#password {
  caret-color: #0face5;
}

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

#fields input::placeholder{
  color: #575756;
}

.button_form {
  height: 5.267rem;
  width: fit-content;
  font-family: "Impact", Arial, sans-serif;
  font-weight: bold;
  font-size: 1.7rem;
  letter-spacing: .2rem;
  color: #000000;
  background-color: #ed442600;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1rem 0 0;
  text-align: center;
  transition: all 0.3s ease-in-out;
  position: relative;
  text-transform: uppercase;
}
.button_form .arrow {
  margin-left: 1rem;
  display: flex;
}
.button_form .arrow img{
  width: 80%;
  height: auto;

}
.button_form:hover, .button_form:focus {
  color: #0000008e;
  /* -webkit-animation: jelly 0.5s;
  animation: jelly 0.5s; */
}

#oubli_form {
  font-family: "Libre Baskerville", Arial, sans-serif;
  margin-top: 1rem;
  text-align: right;
  font-weight: normal;
  font-size: 1.07rem;
  color: #000000;

}

#oubli_form a {
  color: #000000;
  opacity: 1;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

#oubli_form a:hover {
  color: #000000;
  opacity: .5;
}

.br{
  display: none;
}

@media screen and (max-width: 599px) {
  .contenu {
    text-align: center;
  }
  #fields, #oubli_form {
    margin-left: auto;
    margin-right: auto;
  }
}

@media screen and (min-width: 600px) {
  #page {
    padding: 2rem 0;
    background: url(../images/bg.jpg) no-repeat 22% center;
    background-size: cover;
    overflow: hidden;
    position: relative;
  }

  .small-only {
    display: none;
  }
  div.hr {
    margin: 30px 0;
  }
  .contenu {
    justify-content: center;
    min-height: 100%;
    flex: 0 0;
    margin: auto;
    width: 100%;
    background-image: none;
    background-color: rgba(255, 255, 255, 1);
    position: relative;
    z-index: 1;
    padding: 2rem;
    border-radius: 1.6rem;
    box-shadow: 2px 23px 51px 0px rgba(1, 1, 1, 0.1);
    max-width: 41.467rem;
  }
  .contenu .forme {
    position: relative;
    z-index: 1;
    max-width: 29.667rem;
    margin: auto;
    
  }
  .bg {
    display: none;
  }


  .br{
    display: block;
  }
}

@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 50% center;
    background-size: cover;
    padding: 0;
    overflow: hidden;
  }
  .contenu {
    width: 50%;
    flex: 1 1 50%;
    max-width: unset;
    margin: 0;
    background: #fff;
    box-shadow: none;
    border-radius: 0;
  }

  .bg {
    display: flex;
    align-items: center;
    padding: 3rem;
    width: 50%;
    flex: 1 1 50%;
    height: initial;
  }
  .button_form .arrow img{
    width: 100%;
    height: auto;
  
  }

  .title{
    position: relative;
    top: 60px;
    text-align: right;
    width: 100%;
  }

  header,  footer {
    max-width: 29.667rem;
    margin: 0;
  }
  main{
    max-width: 22.134rem;
    margin: 0;
    }
  h2 {
    font-size: 2.1rem;
    margin-bottom: 3rem;
  }
  
  h3 {
    font-size: 5.4rem;
  }
}

/* @-webkit-keyframes jelly {
  25% {
    -webkit-transform: scale(0.9, 1.1);
    transform: scale(0.9, 1.1);
  }
  50% {
    -webkit-transform: scale(1.1, 0.9);
    transform: scale(1.1, 0.9);
  }
  75% {
    -webkit-transform: scale(0.95, 1.05);
    transform: scale(0.95, 1.05);
  }
}

@keyframes jelly {
  25% {
    -webkit-transform: scale(0.9, 1.1);
    transform: scale(0.9, 1.1);
  }
  50% {
    -webkit-transform: scale(1.1, 0.9);
    transform: scale(1.1, 0.9);
  }
  75% {
    -webkit-transform: scale(0.95, 1.05);
    transform: scale(0.95, 1.05);
  }
} */

@media screen and (max-height: 767px) and (min-width: 1200px) {
  #page {
    padding: 2rem;
  }
}

@media screen and (min-width: 1200px) {
  html {
    font-size: 11px;
  }
  #page {
    background: url(../images/bg.jpg) no-repeat center  center;
    background-size: cover;
  }
  .bg {
    width: 58%;
    flex: 1 1 58%;
  }
  .contenu {
    width: 44%;
    flex: 1 1 44%;
    position: relative;
    z-index: 1;
    background: none;
    mix-blend-mode: multiply;
    padding-left: 7rem;
  }
  .contenu .forme{
    max-width: 29.667rem;
    margin: 0;
  }

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

  .title{
    position: relative;
    top: 60px;
    text-align: left;
    width: 100%;
    max-width: 43rem;
    margin-right: 0;
    margin-left: auto;
  }
  h3:before {
    content: '';
    position: absolute;
    left: -2.5%;
    width: 105%;
    height: 1px;
    background: #000;
    bottom: .5rem;
  }
  h3:after {
    content: '';
    position: absolute;
    left: -2.5%;
    width: 105%;
    height: 1px;
    background: #000;
    top: .5rem;
  }
}

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

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

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

  
}

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