@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: 'Poppins', "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: #0e192d !important;
}

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

input::placeholder {
  color: #0e192d !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: 12px;
}

#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: 28%;
  margin: auto;
  background: #68696a;
  height: 3px;
  border: none;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

#logo {
  width: 100%;
  max-width: 31.91rem;
  min-width: 100px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
}

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

h2 {
  margin: 0;
  color: #0a0d0d;
  font-size: 3.05rem;
  font-weight: bold;
  box-sizing: border-box;
  font-family: 'Poppins', "Arial", sans-serif;
  letter-spacing: -0.025rem;
  line-height: 1;
}

h2 span {
  color: #185c72;
}

h3 {
  font-family: 'Poppins', "Arial", sans-serif;
  margin: 0;
  color: #0a0d0d;
  font-size: 1.38rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.025rem;
}

.instructions {
  color: #0a0d0d;
  font-size: 1.25rem;
  line-height: 1.2;
  font-weight: 300;
  margin-bottom: 4rem;
  margin-top: 1.33rem;
}

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

#fields {
  box-sizing: border-box;
  /* padding: 2.5rem 0rem 0rem 3rem; */
}

#fields .field {
  position: relative;
  background-color: rgba(255, 255, 255, 0);
  margin: 0 0px 1.847rem 0;
  height: 5.231rem;
  border-bottom: 2px solid #d7d7d7;
}

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

#fields .field:last-child {
  margin-bottom: 0;
}

#fields .field:not(:last-child)::before {
  content: "Identifiant";
  font-family: "Spartan", "Arial", sans-serif !important;
  font-weight: bold;
  position: absolute;
  top: -25px;
  color: #3b3c3b;
  font-size: 3.7rem;
  left: 5px;
  opacity: 0.12;
}

#fields .field::before {
  content: "Mot de passe";
  font-family: "Spartan", "Arial", sans-serif !important;
  white-space: nowrap;
  font-weight: bold;
  position: absolute;
  top: -11px;
  font-size: 3.2rem;
  left: 8px;
  color: #3b3c3b;
  opacity: 0.12;
}

#fields .field.changed::before {
  content: "";
}

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

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

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

#fields label:after {
  content: '';
  border-right: 2px solid #0a0d0d;
  opacity: 0.6;
  position: absolute;
  top: 2rem;
  bottom: 1.8rem;
  right: 0;
  width: 100%;
}

#fields input[type=email], #fields input[type=text], #fields input[type=password] {
  font-size: 1.07rem !important;
  font-weight: normal;
  font-family: 'Poppins', "Arial", sans-serif !important;
  color: #0a0d0d !important;
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 4.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: #0a0d0d;
}

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

.button_form {
  height: 3.667rem;
  width: 12.13rem;
  font-family: 'Poppins', Arial, sans-serif;
  font-weight: normal;
  font-size: 1.1rem;
  color: #ffffff;
  /* background-color: #fff; */
  /* border: 4px solid #0a0d0d; */
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1.5rem auto 0;
  margin-left: auto;
  text-align: center;
  transition: all 0.3s ease-in-out;
  position: relative;
  letter-spacing: 4px;
  text-transform: uppercase;
  background-size: 300% 100%;
  moz-transition: all .4s ease-in-out;
  -o-transition: all .4s ease-in-out;
  -webkit-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out;
  background-image: linear-gradient(to right, #d7386e, #9a5898, #9a5898, #d7386e);
}

.button_form:hover, .button_form:focus {
  background-position: 100% 0;
  moz-transition: all .4s ease-in-out;
  -o-transition: all .4s ease-in-out;
  -webkit-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out;
}

#oubli_form {
  text-align: right;
  font-weight: normal;
  font-style: italic;
  font-size: 1rem;
  color: #000;
  margin-bottom: 4rem;
  letter-spacing: 0.5px;
}

#oubli_form a {
  color: unset;
  text-decoration: underline;
  transition: all 0.3s ease-in-out;
}

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

.separateur {
  width: 62px;
  height: 6px;
  background: #0a0d0d;
}

@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 center center;
    background-size: cover;
    overflow: hidden;
    position: relative;
  }
  h2 {
    font-size: 3.75rem;
  }
  h3 {
    font-size: 1.7rem;
  }
  .instructions {
    font-size: 1.4rem;
  }
  .small-only {
    display: none;
  }
  div.hr {
    margin: 30px 0;
  }
  hr {
    margin: 0;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
  .contenu {
    justify-content: center;
    height: 75%;
    flex: 0 0;
    margin: auto;
    width: 65%;
    background-image: none;
    background-color: rgba(255, 255, 255, 1);
    position: relative;
    z-index: 1;
    padding: 2rem;
    box-shadow: 2px 23px 51px 0px rgba(1, 1, 1, 0.1);
    max-width: 40.8rem;
    min-width: 451px;
  }
  .contenu .forme {
    position: relative;
    z-index: 1;
    margin-top: 3rem;
  }
  .bg {
    display: none;
  }
  header, main, footer {
    width: 100%;
  }
}

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

@media screen and (min-width: 960px) {
  html {
    font-size: 14px;
  }
  #page {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    background: url(../images/bg.jpg) no-repeat 80% center;
    background-size: cover;
    padding: 0;
    overflow: hidden;
  }
  .contenu {
    width: 50%;
    flex: 1 1 50%;
    max-width: 38.734rem;
    margin: auto;
    display: flex;
    background: #fff0;
    box-shadow: none;
    flex-direction: row;
    align-items: flex-end;
  }
  .contenu header, .contenu main {
    max-width: 100%
  }
  .bg {
    display: block;
    width: 50%;
    flex: 1 1 50%;
    height: initial;
  }
}

@-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: 960px) {
  #page {
    padding: 0 2rem;
  }
}

@media screen and (min-width: 1200px) {
  html {
    font-size: 15px;
  }
  #page {
    background: url(../images/bg.jpg) no-repeat 25% center;
    background-size: cover;
  }
  .contenu {
    width: 41.6%;
    flex: 1 1 41.6%;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0);
    border-radius: 0;
    /* margin-right: 21%; */
    max-width: 42.334rem;
    left: 14rem;
  }
  .contenu header, .contenu main {
    max-width: 31.308rem;
  }
  .sous-div {
    margin-left: 2.5rem;
  }
  h2 {
    font-size: 2.5rem;
  }
  h3 {
    font-size: 1.38rem;
  }
  .instructions {
    font-size: 1.29rem;
  }
}

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

@media screen and (min-width: 1600px) and (min-height: 780px) {
  html {
    font-size: 16px;
  }
  .contenu header, .contenu main {
    max-width: 24rem;
  }
  .instructions {
    font-size: 1.2rem;
  }
}

@media screen and (min-width: 1900px) {
  html {
    font-size: 16px;
  }
  .contenu {
    left: 14rem;
  }
}

@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;
  }
  .contenu {
    left: 10rem;
  }
}

@media all and (-ms-high-contrast: none) and (min-width: 960px), (-ms-high-contrast: active) and (min-width: 960px) {
  #page {
    min-height: 100vh;
  }
}