@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: "Montserrat", "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: rgb(28, 37, 59) !important;
}

::-webkit-input-placeholder,
:-moz-placeholder,
::-moz-placeholder,
:-ms-input-placeholder {
  font-style: italic;
  color: rgb(28, 37, 59) !important;
  opacity: 1 !important;
}
.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: #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: 5rem;
  margin-left: 0;
  background: #cf434c;
  height: 5px;
  border: none;
  margin-top: 1rem;
  margin-bottom: 1rem;
}
#logo {
  max-width: 35.734rem;
  min-width: 100px;
  margin-right: auto;
  margin-bottom: 2rem;
}

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

.screen-mobile{
  display: block;
}
.screen-pc{
  display: none;
}
.title{
  margin-top: 8rem;
  position: relative;

}
h2 {
  margin: 0;
  color: rgb(0, 27, 125);
  font-size: 4.5rem;
  font-weight: bold;
  box-sizing: border-box;
  font-family: "Montserrat", "Arial", sans-serif;
  letter-spacing: 0;
  /* text-shadow: 0px 0px 13px rgba(149, 148, 146, 0.38); */
  /* mix-blend-mode: multiply; */
  line-height: 1.1;
  
}

h3 {
  margin: 0;
  color: rgb(0, 27, 125);
  font-size: 2.08rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  font-family: "Montserrat", "Arial", sans-serif;
  margin-bottom: 2rem;
  /* text-shadow: 0px 0px 13px rgba(149, 148, 146, 0.38); */
  /* mix-blend-mode: multiply; */
}

.instructions {
  color: rgb(0, 27, 125);
  font-size: 1.25rem;
  line-height: 1.2;
  font-weight: normal;
  margin-bottom: 3.5rem;
  font-family: "Montserrat", "Arial", sans-serif;
}
.color{
  font-weight: 600;
}

#fields {
  box-sizing: border-box;
  max-width: 100%;
  margin: auto;
  background: #fff;
  padding: 5rem 4rem 3rem;
}

#fields .field {
  position: relative;
  background-color: rgba(255, 255, 255, 0);
  margin: 0;
  height: 5.231rem;
}

#fields .field:not(:last-child) {
  margin-bottom: 4.847rem;
}
#fields .field:not(:first-child) {
  border-bottom: none;
}
#fields .field:not(:last-child)::before{
  content: "Identifiant";
  font-family: "Spartan", "Arial", sans-serif !important;
  font-weight: bold;
  position: absolute;
  top: -28px;
  font-size: 3.6rem;
  left: 33px;
  opacity: 0.1;
}
#fields .field::before{
  content: "Mot de passe";
  font-family: "Spartan", "Arial", sans-serif !important;
  white-space: nowrap;
  font-weight: bold;
  position: absolute;
  top: -21px;
  font-size: 3rem;
  left: 36px;
  opacity: 0.1;
}
#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: 1.3rem;
  margin: -14px;
  border-bottom: 2px solid rgb(28, 37, 59);
  right: 0.7rem;
  bottom: 3.35rem;
  transform: rotate(90deg);
}
#fields label img {
  height: 1.8rem;
  width: auto;
  margin-bottom: 0.2rem;
}
#fields input::placeholder{
  font-family: "Montserrat", "Arial", sans-serif !important;
  color: rgb(28, 37, 59);
  font-weight: normal;
}
#fields input[type=email], #fields input[type=text], #fields input[type=password] {
  font-size: 1.2rem !important;
  font-weight: 600;
  font-family: "Montserrat", "Arial", sans-serif !important;
  color: rgb(28, 37, 59) !important;
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 50px;
  width: calc(100% - 50px);
  height: 100% !important;
  border-bottom: 0;
  box-sizing: border-box;
  margin-bottom: 0;
  margin-left: 25px;
  padding: 0.5rem 2rem 0 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.334rem;

  width: 18rem;
  font-family: "Montserrat", "Arial", sans-serif;
  font-weight: 600;
  font-size: 1.07rem;
  color: #fff;
  background: rgb(240, 0, 0);
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  /* margin: 3.67rem auto 0; */
  margin-left: 0;
  text-align: center;
  transition: all 0.3s ease-in-out;
  position: relative;
  margin-top: -6.867rem;
  text-transform: none;
  z-index: 2000;
}
.button_form .arrow {
  display: flex;
  font-size: 4rem;
  margin-left: 10px;
}
.button_form .arrow img{
  width: 80%;
  height: auto;

}
.button_form:hover, .button_form:focus {
  background-color: rgb(0, 27, 125);
  /* -webkit-animation: jelly 0.5s;
  animation: jelly 0.5s; */
}

#oubli_form {

  font-family: "Montserrat", "Arial", sans-serif;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.07rem;
  position: relative;

  height: 4.334rem;
  z-index: 1000;

}

#oubli_form a {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  height: 100%;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  text-align: center;
  width: 18rem;
  background: rgb(0, 27, 125);
}

#oubli_form a:hover {
  background: rgb(240, 0, 0);
}

.br{
  display: none;
}
.dbl-btn{
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-start;
}
.dbl-btn .button_form{
margin-top: 0;
}
header{
  background: #fff;
    padding: 0 2rem;
    margin-bottom: -4rem;
}
@media screen and (max-width: 599px) {
  /* #fields, #oubli_form {
    margin-left: auto;
    margin-right: auto;
  } */
  .instructions {
    font-size: 1.45rem;
  }
  .dbl-btn {
    width: 100%;
  }
  .button_form {
    width: 50%;
  }
  header {
    padding-left: 0;
  }
  #fields {
    padding: 5rem 0 4rem;
  }
  html {
    font-size: 11.5px;
  }
  #fields .field:not(:last-child)::before{
    top: -14px;
  }
  #fields .field::before{
    top: -7px;
  }
  #fields .field:not(:last-child) {
    margin-bottom: 3rem;
  }
}

@media screen and (min-width: 600px) {
  #page {
    padding: 2rem 0;
    background: white no-repeat center center;
    background-size: cover;
    overflow: hidden;
    position: relative;
  }

  .small-only {
    display: none;
  }
  div.hr {
    margin: 30px 0;
  }
  .contenu {
    justify-content: flex-start;
    min-height: 100%;
    flex: 0 0;
    margin: auto;
    width: 100%;
    background-image: none;
    background-color: rgba(255, 255, 255, 0);
    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;
    transition: all 0.3s ease-in-out;
  }
  .bg {
    display: none;
  }
  header, main, footer {
    width: 90%;
  }
  .br{
    display: block;
  }
  #fields .field:not(:last-child)::before{
    font-size: 4rem;
  }
  #fields .field::before{
    font-size: 3.6rem;
  }
  #oubli_form{
    top: 0;
  }
  #oubli_form a{
    text-shadow: -1px 1px 3px #fff;
  }
  .dbl-btn {
    width: 100%;
  }
  header {
    padding-top: 2rem;
    padding-left: 2rem;
  }
  #fields {
    padding: 5rem 2rem 4rem;
  }
}

@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: 50%;
    flex: 1 1 50%;
    max-width: unset;
    margin: auto;
    background: rgba(255, 255, 255, 0);
    box-shadow: none;
    border-radius: 0;
  }
  .contenu header, .contenu main {
    max-width: 35.734rem;
  }

  .bg {
    display: flex;
    align-items: center;
    padding: 5rem;
    width: 50%;
    flex: 1 1 50%;
    height: initial;
  }
  .button_form .arrow img{
    width: 100%;
    height: auto;
  
  }
  #oubli_form a{
    text-shadow: none;
  }
  header, main, footer {
    width: 100%;
  }
  .instructions {
    font-size: 1.35rem;
  }
}

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

}

@media screen and (min-width: 1420px) {
  html {
    font-size: 13px;
  }
  #page {
    background: url(../images/bg.jpg) no-repeat center center;
    background-size: cover;
  }
  .bg {
    width: 54%;
    flex: 1 1 54%;
    padding:11rem;
  }
  .contenu {
    width: 46%;
    flex: 1 1 46%;
    position: relative;
    z-index: 1;
    background: none;
  }
  .contenu header, .contenu main {
    max-width: 108.2rem;
  }
  .sous-div{
    margin-left: 2.5rem;
  } 
  header{
    background: transparent;
    padding:0;
    margin-bottom: 0;
    position: relative;
    z-index: 100;
  }
#logo{
  max-width: 42.734rem;
  min-width: 100px;
  margin-right: 0;
  width: 36.4%;
  text-align: center;
  box-shadow: 0 0 20px 7px rgba(0, 0, 0, 0.07);
  position: relative;
  z-index: 1000;
}
#logo img {
  transform: translateY(-15%);
}
.screen-mobile{
  display: none;
}
.screen-pc{
  display: block;
}

  #fields{
    align-items: center;
    display: flex;
    padding: 0;
    position: relative;
  }
  #fields::before{
    content: url(../images/fieldsbefore.png);
    position: absolute;
    top: -296px;
    width: 100%;
    left: -100rem;
  }

  #fields .field:not(:last-child) {
    margin-bottom: 0.5rem;
  }
  #fields .field:not(:last-child)::before{
    top: -21px;
  }
  #fields .field::before{
    top: -14px;
  }
  #fields .field{
    top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80%;
    margin: 0 auto;
  }

  .grid {
    display: grid;
    grid-template-columns: 50% 50%;
    width: calc(100% - 35.8%);
  }
  .instructions {
    font-size: 1.45rem;
  }
  #logo {
    margin-bottom: 0rem;
  }
  
  #logo img {
    max-width: 100%;
  }
}
@media  (min-width: 1200px) and (min-height: 701px){
  .contenu{transform: translateY(0%);}
}

@media screen and (min-width: 1600px) and (min-height: 780px) {
  html {
    font-size: 15px;
  }
  .contenu header, .contenu main {
    max-width: 118rem;
    padding-right: 5rem;
  }
  #fields::before{
    left: -87rem;
  }
}


@media screen and (min-width: 1900px) {
  html {
    font-size: 15px;
  }
  
}
@media screen and (min-width: 1900px) and (max-height: 900px) {
  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;
  }
}


@media screen and (min-width: 2300px) {
  html {
    font-size: 17px;
  }
  #fields::before{
    left: -72rem;
  }
}