@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: 'Uni Neue', "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: #0c0635  !important;
}

::-webkit-input-placeholder, :-moz-placeholder, ::-moz-placeholder, :-ms-input-placeholder {
  color: #0c0635  !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;

}


#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;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
}

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

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


div.hr {
  margin: 1.33rem 0;
}

#logo {
  /* position: absolute; */
  width: 100%;
  min-width: 100px;
  margin: 0 0 2.5rem;
  text-align: left;
}

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

h2 {
  font-family: 'Open Sans', "Arial", sans-serif;
  margin: 0;
  color: #e31e12;
  font-size: 5rem;
  font-weight: normal;
  text-align: left;
  margin-bottom: 1.8rem;
  line-height : 0.7;

}
h2 span{
  font-weight: bold;
} 

.h2_blue{
  color: #0131b9;
  font-weight: bold;
  font-size: 2.92rem
}

.h2_black{
  color:#121e2e;
  font-weight: 300!important;
  font-size: 2.5rem
}


.instructions {
  font-family: 'Open Sans', "Arial", sans-serif;
  color: #121e2e;
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: normal;
  margin-bottom: 2.5rem;
  width: 100%;
  text-align: left;
}
.instructions .color {
  font-weight: 300;
}

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: 6.231rem;

  /* border-radius: 50px; */
  /* -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: 1px solid rgba(167,167,167,0.2);
  margin-bottom: 2rem;
}
#fields .field:not(:last-child)::before{
  content: "Identifiant";
  font-family: 'Spartan', "Arial", sans-serif !important;
  color: #848f9e;
  font-weight: 800;
  position: absolute;
  top: -25px;
  font-size: 5.09rem;
  opacity: 0.2;
  left: 0;
  /* letter-spacing: 0.2rem; */
}
#fields .field::before{
  content: "Mot de passe";
  font-family:'Spartan', "Arial", sans-serif !important;
  color: #848f9e;
  font-weight: bold;
  position: absolute;
  opacity: 0.2;
  top: -20px;
  font-size: 4.08rem;
  left: 0; 
  /* letter-spacing: 0.2rem; */
}
#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: 4.27rem;
  width: 4.27rem;
  height: 100%;
  text-align: center;
  margin-left: 3px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#fields label img {
  height: auto;
  width: auto;
  position: relative;
}
#fields label#login_label img{
  bottom: 0px;
}

#fields label#password_label img{
  bottom: 0px;

}

#fields input::placeholder{
  font-family: 'Uni Neue', "Arial", sans-serif !important;
  color: #0e192d;
  font-weight: normal;
}
#fields input[type=email], #fields input[type=text], #fields input[type=password] {
  font-size: 1.47rem !important;
  font-weight: 300;
  font-family: 'Uni Neue', "Arial", sans-serif !important;
  color: #0c0635 !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:  'Open Sans', "Arial", sans-serif;
  font-weight: normal;
  font-size: 1.25rem;
  color: #0131b9;
  text-decoration: none;
  position: relative;
  max-width: 28rem;
  margin-top: -0.67rem;
  top: 3rem;
}

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

}


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


.button_form {
  height: 4.75rem;
  /*width: 11.67rem;*/
  font-family: 'Open Sans',"Arial", sans-serif;
  font-weight: normal;
  font-size: 1.6rem;
  color: #fff;
  background-color: #0131b9;
  /*max-width: 36.33rem;*/
  display: inline-flex;
  justify-content: center;
  align-items: center;
  /* margin: 3rem 0 0; */
  text-align: left;
  border-radius: 0px;
  /* letter-spacing: 1px; */
  transition: all 0.3s ease-in-out;
  position: relative;
  text-transform: none;
  padding: 0 3.33rem;
  border-radius: 5px;
}

.button_form:hover {
  background-color: #e31e12;
}

.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{
  /* background: transparent url(../images/separateur.png) no-repeat center center; */
  background-color: #e31e12;
  background-size: contain;
  max-width: 6.7rem;
  width: 100%;
  height: 0.2rem;
  /*border-bottom: 3px solid #0e192d;*/
  margin: 2rem 0 1rem ;
  border-radius: 0px;
}

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



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



@media screen and (max-width: 420px) {
  #logo {
    width: 50%;
  }
  h2 {
    font-size: 2rem;
  }
}

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


  #page{
    background-size: cover;
    background-position: 15% 50%;
  }

  .theme_1 {
    background: url(../images/bg.jpg) no-repeat ;
  }

  br.display{
    display: block;
  }
  #fields {
    margin: 0;
    max-width: 30rem;

  }
  #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;
    max-width: 41.985rem;
    background: #ffffff;
    -webkit-box-shadow: 0 0 30px 1px rgb(1 1 1 / 15%);
    box-shadow: 0 0 30px 1px rgb(1 1 1 / 15%);
  }
  .bg {
    display: none;
  }
  /* .bloc_bg {
    width: 100%;
    max-width: 41.985rem;
    background-color: #ffffffe1;
    padding: 35px 35px 0;
  }
  .bloc_bg:last-of-type{
    padding: 0 35px 35px;
    } */
   /* h2{
      font-size: 4.7rem;
    }
    h3{
      font-size: 2.35rem;
      }*/

      header,main{
        max-width: 32.09rem;
        margin: auto;
      }

    }


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

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

      #page {
        min-height: 100%;
        display: flex;
        flex-direction: row;
        padding: 0;
        background-position: center center;
      }
      .bloc_bg {
        background-color: #ffffff00;
      }
      .contenu {
        width: 43%;
        flex: 1 1 43%;
        height: initial;
        margin: initial;
        background: none;
        background-color: transparent;
        box-shadow: none;
        max-width: unset;
      }
      .bg {
        display: block;
        width: 57%;
        flex: 1 1 57%;
        order: -1;
        background: transparent;
        height: initial;
        position: relative;
        overflow: hidden;
      }

    }

    @media screen and (min-width: 1200px) {
      html {
        font-size: 10px;
      }
      #page{
        background-size: cover;
        background-position: center center;
      }
      .contenu {
        width: 50%;
        flex: 1 1 50%;
      }
      .bg {
        width: 50%;
        flex: 1 1 50%;
      }
      .bloc_bg{
        background: none;
        position: relative;
      }
      header .hr {
        margin: 2rem 0 2.87rem;
      }
      #fields label {
        width: 4.93rem;
      }
      #fields input[type=email], #fields input[type=text], #fields input[type=password] {
        left: 6.67rem;
        width: calc(100% - 8.67rem);
      }
      footer {
        margin-top: 6.6rem;
      }
      #fields label:after{
        content: '';
        position: absolute;
        width: 20px;
        height: 5px;
        margin: 0px;
        border-bottom: 0.5px solid #0c0635;
        right: -14px;
        transform: rotate(90deg);
      }
    }

    @media screen and (min-width: 1600px) {
      html {
        font-size: 12px;

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