@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: "Lato", "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: #364c63 !important;
}

::-webkit-input-placeholder, :-moz-placeholder, ::-moz-placeholder, :-ms-input-placeholder {
  font-style: italic;
  color: #364c63 !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: 62%;
  margin: auto;
  background: #e2e5ea;
  height: 3px;
  border: none;
  margin-top: 3rem;
  margin-bottom: 3rem;
}

#logo {
  width: 100%;
  max-width: 28.534rem;
  min-width: 100px;
  /* margin-left: auto;
  margin-right: auto; */
  text-align: center;
  margin-bottom: 2rem;
}

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

h2 {
  margin: 0;
  color: #154e6a;
  font-size: 2.664rem;
  font-weight: normal;
  box-sizing: border-box;
  font-family: 'TimesNewRomanPSMT', "Arial", sans-serif;
  letter-spacing: 0.2rem;
  text-align: left;
  text-transform: uppercase;
}

h3 {
  font-family: 'Poppins', "Arial", sans-serif;
  margin: 0;
  margin-bottom: 2rem;
  color: #3c3c3c;
  font-size: 1.75rem;
  font-weight: 300;
  line-height: 1;
  /* letter-spacing: 0.025rem; */
  text-align: left;
}

.instructions {
  font-family: "Lato", "Arial", sans-serif;
  color: #3c3c3c;
  font-size: 1.38rem;
  line-height: 1.2;
  font-weight: normal;
  margin-bottom: 2.67rem;
  margin-top: 1.33rem;
}

.color {
  font-weight: 600;
}

#fields {
  box-sizing: border-box;
  max-width: 100%;
  margin: auto;
  padding: 2rem 0rem 0rem 2rem;
  border-left: 4px solid #030404;
}

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

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

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

#fields .field:not(:last-child)::before {
  content: "Identifiant";
  font-family: "TimesNewRomanPSMT", "Arial", sans-serif !important;
  font-weight: normal;
  position: absolute;
  top: -18px;
  color: #819caa;
  font-size: 4rem;
  left: 11px;
  opacity: 0.3;
  text-transform: uppercase;
}

#fields .field::before {
  content: "Mot de passe";
  font-family: "TimesNewRomanPSMT", "Arial", sans-serif !important;
  white-space: nowrap;
  font-weight: normal;
  position: absolute;
  top: -11px;
  font-size: 3.4rem;
  left: 11px;
  color: #819caa;
  opacity: 0.3;
  text-transform: uppercase;
}

#fields .field.changed::before {
  content: "";
  border-left: 1px solid #819caa;
}

#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: 4.27rem;
  width: 4.27rem;
  height: 100%;
  text-align: center;
  margin-left: 3px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#fields label:after {
  content: '';
  position: absolute;
  width: 20px;
  margin: -14px;
  border-bottom: 1px solid #c9ccd3;
  right: 8px;
  transform: rotate(90deg);
}

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

#fields input::placeholder {
  font-family: "Poppins", "Arial", sans-serif !important;
  color: #17233d;
  font-weight: 500;
}

#fields input[type=email], #fields input[type=text], #fields input[type=password] {
  font-size: 1.2rem !important;
  font-weight: 500;
  font-family: "Poppins", "Arial", sans-serif !important;
  color: #17233d !important;
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 50px;
  width: calc(100% - 75px);
  height: 100% !important;
  border-bottom: 0;
  box-sizing: border-box;
  margin-bottom: 0;
  /* border-radius: 50px; */
}

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

.button_form {
  height: 4.4rem;
  width: 15rem;
  font-family: "Poppins", "Arial", sans-serif;
  font-weight: 500;
  font-size: 1.2rem;
  color: #ffffff;
  border: 3px solid #000000;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1rem 0;
  text-align: center;
  transition: all 0.3s ease-in-out;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  background-color: #154e6a;
  border-radius: 50px;
}

.button_form:hover, .button_form:focus {
  background-color: #317597;
}

.button_form .arrow {
  margin-left: 1rem;
  display: flex;
}

.button_form .arrow img {
  width: 80%;
  height: auto;
}

#oubli_form {
  font-family: "Poppins", "Arial", sans-serif;
  text-align: right;
  font-weight: 500;
  font-size: 1.07rem;
  color: #000000;
}

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

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

.oubli_btn {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-around;
  align-items: center;
}

@media screen and (max-width: 599px) {
  header, footer, main {
    max-width: 30rem;
  }

}

@media screen and (min-width: 600px) {
  #page {
    padding: 2rem 0;
    background: url(../images/bg.jpg) no-repeat 0% center;
    background-size: cover;
    overflow: hidden;
    position: relative;
  }
  h2 {
    font-size: 3.5rem;
  }
  h3 {
    font-size: 1.75rem;
  }
  .small-only {
    display: none;
  }
  div.hr {
    margin: 30px 0;
  }
  .contenu {
    justify-content: center;
    flex: 0 0;
    margin: auto;
    width: 100%;
    background-image: none;
    background-color: rgba(255, 255, 255, 0.932);
    position: relative;
    z-index: 1;
    padding: 5rem;
    border-radius: 0.6rem;
    box-shadow: 2px 23px 51px 0px rgba(1, 1, 1, 0.1);
    max-width: 41.534rem;
  }
  .contenu .forme {
    position: relative;
    z-index: 1;
  }
  .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) {
  #page {
    min-height: 100%;
    display: flex;
    flex-direction: row-reverse;
    background: url(../images/bg.jpg) no-repeat 22% center;
    background-size: cover;
    padding: 0;
    overflow: hidden;
  }
  .contenu {
    width: 50%;
    flex: 1 1 50%;
    max-width: unset;
    margin: unset;
    background: #fff;
    box-shadow: none;
  }
  .contenu header, .contenu main {
    max-width: 28.534rem;
  }
  .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) {
  #logo {
    margin-top: 0;
  }
}

@media screen and (min-width: 1200px) {
  html {
    font-size: 13px;
  }
  #page {
    background: url(../images/bg.jpg) no-repeat 60% center;
    background-size: cover;
  }
  .contenu {
    width: 46%;
    flex: 1 1 46%;
    position: relative;
    z-index: 1;
    height: 75%;
    background: rgba(255, 255, 255, 0);
    margin: auto;
  }
  .bg {
    width: 54%;
    flex: 1 1 54%;
  }
  .contenu header, .contenu main {
    max-width: 28.534rem;
  }
  .sous-div {
    margin-left: 2.5rem;
  }
}

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

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