@charset "UTF-8";
* {
  box-sizing: inherit;
}

html {
  height: 100%;
  font-size: 11px;
}

body {
  height: 100%;
  margin: 0;
  background-color: #fff;
  color: #000;
  font-size: 1.2rem;
  font-family: "Spartan", "Arial", sans-serif;
}

a {
  text-decoration: none;
}

span.box-shadow{
  position: absolute;
  z-index: 1;
  width: 34%;
  height: 72%;
  box-shadow: rgb(50 50 93 / 0%) 0px -1px 20px 20px, rgb(0 0 0 / 14%) -20px -4px 36px 0px;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  transition: background-color 10000s ease-in-out 0s, box-shadow 10000s ease-in-out 0s !important;
  -webkit-box-shadow: 0 0 0px 1000px rgba(255, 255, 255, 0) inset !important;
  -webkit-text-fill-color: rgb(14, 25, 45)  !important;
}

::-webkit-input-placeholder, :-moz-placeholder, ::-moz-placeholder, :-ms-input-placeholder {
  color: rgb(14, 25, 45) !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;
}

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

}

.c-1,.c-2,.c-3{
  display: none;
}

#particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

#particles-js {
  -webkit-transform: rotate(19deg) translate(-29%, -50%);
  transform: rotate(19deg) translate(-29%, -50%);
  mix-blend-mode: overlay;
}

.small-only {
  display: block;
}

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

  background-color: #fff;
  clip-path: polygon(0 0, 100% 0%, 100% 100%, 30% 100%, 0 72%);
}



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

.bloc_bg {
  width: 90%;
  margin: 0 auto;
}


div.hr {
  margin: 1.33rem 0;
}

#logo {
  width: 100%;
  max-width: 100%;
  min-width: 100px;
  text-align: center;
  margin: 0 auto 1.25rem;
}

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

h2 {
  font-family: "Poppins", "Arial", sans-serif;
  margin: 0;
  color: #324085;
  font-size: 3.43rem;
  font-weight: normal;
  text-align: center;
  /* letter-spacing: 0.4rem; */
}

h3 {
  font-family: "Poppins", "Arial", sans-serif;
  margin: 0;
  color: #324085;
  font-size: 3.43rem;
  font-weight: normal;
  line-height: 1;
  text-align: center;
}

/* h3 span {
  font-weight: bold;
} */

.instructions {
  font-family: "Poppins", "Arial", sans-serif;
  color: #3f3f3f;
  font-size: 1.39rem;
  line-height: 1.2;
  font-weight: normal;
  width: 100%;
  text-align: center;
  margin-top: 2.25rem;
  margin-bottom: 2.25rem;
}
.instructions .color {
font-weight: 600;
}

br.display{
  display: none;
}

#fields {
  box-sizing: border-box;
  max-width: 85%;
  margin: 0 auto;
}

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

#fields .field:not(:last-child) {
  border-bottom: 2px solid rgb(238, 239, 239);
  height: 5.4rem;
  margin-bottom: 2.75rem;
}

#fields .field:not(:last-child)::before{
  content: "Identifiant";
  font-family: "Poppins", "Arial", sans-serif !important;
  font-weight: bold;
  position: absolute;
  top: -26px;
  font-size: 4.5rem;
  left: -9px;
  color: rgb(238, 239, 239);
  letter-spacing: 4px;
}
#fields .field::before{
  content: "Mot de passe";
  font-family: "Poppins", "Arial", sans-serif !important;
  font-weight: bold;
  position: absolute;
  top: -22px;
  font-size: 4.132rem;
  left: -9px;
  color: rgb(238, 239, 239);
}

#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;
  height: 100%;
  text-align: center;
  margin-left: 3px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 2.5rem;
}
#fields label:after{
  content:'';
  position: absolute;
  width: 1.4rem;
  border-bottom: 1px solid rgb(14, 25, 45);
  bottom: 2.42rem;
  right: -1.5rem;
  transform: rotate(90deg);
}
#fields label img {
  height: auto;
  width: auto;
}
#fields input::placeholder{
  font-family: "Poppins", "Arial", sans-serif !important;
  color: rgb(14, 25, 45);
  font-weight: 500;
}
#fields input[type=email], #fields input[type=text], #fields input[type=password] {
  font-size: 1.3rem !important;
  font-weight: 500;
  font-family: "Poppins", "Arial", sans-serif !important;
  color: rgb(14, 25, 45) !important;
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 6rem;
  width: calc(100% - 4rem);
  height: 100% !important;
  border-bottom: 0;
  box-sizing: border-box;
  margin-bottom: 0;
  padding: 0.8rem 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;
 }

 .dbl_btn {
  display: flex;
  align-items: center;
  margin-top: 3rem;
  justify-content: space-around;
 }

#oubli_form {
  text-align: right;
  font-family: "Lato", "Arial", sans-serif;
  font-size: 1.2rem;
  position: relative;
  max-width: 100%;
}

#oubli_form a {
  font-weight: normal;
  color: #4d4d4d;
  text-decoration: none;
  position: relative;
  z-index: 2;
  transition: all 0.3s;
  text-decoration: none;
}

#oubli_form a:hover {
  color: #cb4d56;
  border-bottom: 1px solid #cb4d56;
  font-size: bold;
}

.button_form {
  height: 4.2rem;
  width: 15rem;
  font-family: "Lato","Arial", sans-serif;
  font-weight: 500;
  font-size: 1.4rem;
  color: #fff;
  /* background-color: rgb(171, 128, 255); */
  background-image: linear-gradient(100deg, #cb4d56 10%, #354084 50%);
    background-size: 200%;
  max-width: 36.33rem;
  display: flex;
  justify-content: center;
  align-items: center;
  /* margin: 3rem auto 0; */
  text-align: left;
  border-radius: 5px;
  transition: all 0.3s ease-in;
  position: relative;
  text-transform: none;
  transition: all ease-in-out 0.3s;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  box-shadow: -7px 9px 13px 0px rgba(0, 0, 0, 0.24);

}

.button_form:hover {
  background-position: right center;
  transition: all ease-in 0.3s;
  box-shadow: -7px 9px 13px 0px rgba(0, 0, 0, 0);

}

.separateur{
  max-width: 5rem;
  height: 4px;
  background-image: linear-gradient(25deg, rgb(206, 44, 105)-5%, rgb(245, 142, 34)75%);
  margin: 2rem auto 2.25rem;
  border-radius: 50px;
}

header{
  position: relative;
}
main{
  position: relative;
}

@media screen and (max-width: 599px) {
  #fields .field:not(:last-child)::before{
    font-size: 4.6rem;
  }
  #fields .field::before{
    font-size: 4.15rem;
  }
  .instructions {
    margin-bottom: 3rem;
  }
  span.box-shadow {
    display: none;
  }

}

@media screen and (max-width: 392px) {
  #fields .field:not(:last-child)::before{
    font-size: 4rem;
    top: -20px;
  }
  #fields .field::before{
    top: -13px;
    font-size: 3.5rem;
  }
  h2 {
    letter-spacing: 0.2rem;
    font-size: 4.2rem;
  }
}

@media screen and (min-height: 800px) {
  .contenu {
    justify-content: center;
  }
}

@media screen and (min-width: 600px) {
  #page.theme_1 {
    background: url(../images/bg.jpg) no-repeat ;
    background-size: cover;
    background-position: right center;
  }

  br.display{
    display: block;
  }
  #page {
    padding: 2rem 0;
  }

  .small-only {
    display: none;
  }
  div.hr {
    margin: 30px 0;
  }
  .contenu {
    justify-content: center;
    height: 75%;
    flex: 0 0;
    margin: auto;
    width: 85%;
    z-index: 2;
    clip-path: polygon(0 0, 100% 0%, 100% 100%, 21% 100%, 0 85%);

  }
  .bg {
    display: none;
  }
  .bloc_bg {
    width: 100%;
    max-width: 41rem;
  }
  .bloc_bg{
    width: 100%;
    padding: 0 4.454rem 2rem;
  }
  
}


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

@media screen and (min-width: 960px) {
  html {
    font-size: 11px;
  }
  #page {
    min-height: 100%;
    display: flex;
    flex-direction: row-reverse;
    padding: 0;
  }

  .contenu {
    width: 70%;
    flex: 1 1 70%;
    height: initial;
    margin: initial;
    background: none;
    background-color: #fff;
    clip-path: polygon(0 0, 100% 0%, 100% 100%, 30% 100%, 0 72%);
  }
  .bg {
    display: block;
    width: 30%;
    flex: 1 1 30%;
    order: 1;
    background: transparent;
    height: initial;
    position: relative;

  }
}

@media screen and (min-width: 1200px) {
  html {
    font-size: 11px;
  }
  .contenu {
    width: 35%;
    flex: 1 1 35%;
  }
  .bg {
    width: 40%;
    flex: 1 1 40%;
  }
  .bloc_bg{
    background: none;
  }
  header .hr {
    margin: 2rem 0 2.87rem;
  }
  footer {
    margin-top: 6.6rem;
  }
}

@media screen and (min-width: 1600px) {
  html {
    font-size: 13px;
  }  
  .contenu {
    width: 23%;
    flex: 1 1 23%;
  }
  .bg {
    width: 55%;
    flex: 1 1 55%;
  }
}

@media all and (-ms-high-contrast: none) and (max-width: 961px), (-ms-high-contrast: active) and (max-width: 961px) {
  #page {
    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, .contenu {
    min-height: 100vh;
  }
  .bg {
    min-height: 100vh;
  }
}

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

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