@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: "Nunito", "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 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: #17233d  !important;
}

::-webkit-input-placeholder, :-moz-placeholder, ::-moz-placeholder, :-ms-input-placeholder {
  color: #17233d  !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 {
  overflow: hidden;
  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;
  padding-top: 16rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  position: relative;
}

.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: 28.67rem; */
  min-width: 100px;
  margin: 0 auto 2.5rem;
  text-align: center;
  position: absolute;
  top: 0;
  background: #101010;
  padding: 0rem 0;
}

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

h2 {
  font-family: "Lucida Bright", "Arial", sans-serif;
  margin: 0;
  color: #17233d;
  font-size: 4.1rem;
  font-weight: 600;
  text-align: left;
  letter-spacing: 0.7rem;
  text-transform: uppercase;
  margin-bottom: .3rem;
}


h3 {
  font-family: "Futura Lt BT", "Arial", sans-serif;
  margin: 0;
  /* margin-bottom: 2.3rem; */
  color: #17233d;
  font-size: 2.23rem;
  font-weight: 300;
  line-height: 0.7;
  text-align: left;
  /* text-transform: uppercase; */
}
/*
h3 span{
  color: #e4125d;
  font-weight: 600;
} */

.instructions {
  color: #17233d;
  font-size: 1.4rem;
  line-height: 1.2;
  font-weight: normal;
  margin-bottom: 3.5rem;
  width: 100%;
  text-align: left;

}
.instructions .color {
font-weight: 600;
}

br.display{
  display: none;
}

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

#fields .field {
  position: relative;
  /* background-color: rgba(255, 255, 255, 0.85); */
  margin: 0;
  height: 4.231rem;
  /* border: 2px solid #d7d7d7; */
  /* border-radius: 50px;
  font-weight: 300; */
  /* -webkit-box-shadow: 0 0 30px 1px rgb(1 1 1 / 15%); */
  /* box-shadow: 0 0 30px 1px rgb(1 1 1 / 15%); */
}



#fields .field:not(:last-child) {
  border-bottom: 2px solid #d7d7d7;
  margin-bottom: 2rem;
}

#fields .field:not(:last-child)::before{
  content: "Identifiant";
  font-family: "Spartan", "Arial", sans-serif !important;
  font-weight: bold;
  position: absolute;
  top: -22px;
  font-size: 4.6rem;
  left: -9px;
  opacity: 0.1;
}
#fields .field::before{
  content: "Mot de passe";
  font-family: "Spartan", "Arial", sans-serif !important;
  font-weight: bold;
  position: absolute;
  top: -12px;
  font-size: 3.7rem;
  left: -9px;
  opacity: 0.1;
}

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

#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: 5.27rem;
  height: 100%;
  text-align: center;
  margin-left: 3px;
  display: flex;
  justify-content: center;
  align-items: center;
}
#fields label:after{
  content:'';
  position: absolute;
  width: 32px;
  border-bottom: 1px solid #d7d7d7;
  right: -14px;
  transform: rotate(90deg);
}
#fields label img {
  height: 24px;
  width: auto;
}
#fields input::placeholder{
  font-family: "Poppins", "Arial", sans-serif !important;
  color: #17233d;
  font-weight: normal;
}
#fields input[type=email], #fields input[type=text], #fields input[type=password] {
  font-size: 1.2rem !important;
  font-weight: 300;
  font-family: "Futura Lt BT", "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;
 }
#oubli_form {
  text-align: right;
  font-family: "Futura Lt BT", "Arial", sans-serif;
  font-style: italic;
  font-weight: 300;
  font-size: 1.1rem;
  color: #0b5194;
  position: relative;
  margin-top: 1.5rem;
  max-width: 100%;
}

#oubli_form a {
  color: #000000;
  text-decoration: none;
  position: relative;
  z-index: 2;
  transition: all 0.3s;
  text-decoration: underline;
  font-style: italic;
}


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


.button_form {
  height: 4.693rem;
  width: 15.616rem;
  font-family: "Lucida Bright","Arial", sans-serif;
  font-weight: 600;
  font-size: 1.4rem;
  color: #fff;
  background-color: #207577;
  max-width: 36.33rem;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1rem auto 0;
  text-align: left;
  border-radius: 0px;
  transition: all 0.3s ease-in-out;
  position: relative;
  margin-top: 2.5rem;
  letter-spacing: .1rem;
  text-transform: uppercase;
}

.button_form:hover {
  background-color: #1a4a56;
}

.button_form .arrow {
  margin-left: 1.5rem;
  display: flex;
}
.button_form .arrow img{
  width: 80%;
  height: auto;

}
.button_form .arrow svg {
  fill: #fff;
  position: absolute;
  top: 0;
  left: 0;
}

.separateur{
  max-width: 3.3rem;
  border-bottom: 2px solid #207577;
  margin: 1.5rem 0 1.5rem;
  border-radius: 0;
}

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


@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: 50% 50%;
  }

  br.display{
    display: block;
  }
  #fields {
    margin: 0;
  }
  #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: 41.985rem;
    z-index: 2;
    background-color: #fff;
    
  }
  .bg {
    display: none;
  }
  .bloc_bg {
    width: 100%;
    max-width: 41.985rem;
    background-color: #ffffff00; 
    padding: 0 5.84rem;
  }


  h2{
    font-size: 4.2rem;
  }
  h3{
    font-size: 2.3rem;
  }
  #fields .field:not(:last-child)::before{
    top: -36px;
    font-size: 5rem;
  }
  #fields .field::before{
    top: -26px;
    font-size: 4.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;
    padding: 0;
  }
  #logo {
    padding: 2rem 0;
  }
  .contenu {
    width: 100%;
    flex: 1 1 29%;
    height: initial;
    margin: initial;
    background: none;
    background-color: #fff;
    box-shadow: none;
    padding-top: 20rem;
  }
  .bg {
    display: block;
    width: 0%;
    flex: 1 1 35.5%;
    /* order: 1; */
    background: transparent;
    height: initial;
    position: relative;
    overflow: hidden;
  }
}

@media screen and (min-width: 1200px) {
  html {
    font-size: 11px;
  }
  .contenu {
    width: 100%;
    flex: 1 1 29%;
  }
  .bg {
    width: 0%;
    flex: 1 1 35.5%;
  }
  .bloc_bg{
    background: none;
  }
  header .hr {
    margin: 2rem 0 2.87rem;
  }
  #fields label {
    width: 5.93rem;
  }
  #fields input[type=email], #fields input[type=text], #fields input[type=password] {
    left: 5.67rem;
    width: calc(100% - 7.67rem);
  }
  footer {
    margin-top: 6.6rem;
  }
}

@media screen and (min-width: 1600px) {
  html {
    font-size: 13px;
 
  }  
}
@media screen and (min-width: 960px) and (max-height:940px) {
  main::after{
    content: none;
    display: none;
  }
}
@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;
  }
}
