@charset "UTF-8";

* {
  box-sizing: inherit;
}

html {
  height: 100%;
}

body {
  height: 100%;
  margin: 0;
  background-color: #fff;
  color: #000;
  font-size: 1rem;
  font-family: 'Lato', 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:  #000000 !important;
}

::-webkit-input-placeholder,
:-moz-placeholder,
::-moz-placeholder,
:-ms-input-placeholder {
  color:  #000000 !important;
  opacity: 1 !important;
}

input::placeholder {
  color:  #3f263a;
}

/*
::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: clamp(9px, min(1.5vw, 1.5vh), 13px);
}

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

  position: relative;
}


.small-only {
  display: block;
}

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




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

header, footer, main {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  max-width: 32rem;
}

div.hr {
  margin: 1.33rem 0;
}

#logo {
  width: 100%;
  max-width: 100rem;
  min-width: 100px;
  margin: 0 0 2.6rem 0 !important;
  text-align: center;
}

#logo img {
  max-width: 100%;
  height: auto;
  border: 0;
  position: relative;
  z-index: 2;
}

h3 span {
  color: #005298;
}

h3 {
  font-family: "Roboto", "Arial", sans-serif;
  margin: 0;
  margin-bottom: 1.7rem;
  color: #000000;
  font-size: 2.3rem;
  line-height: 1.2;
  text-transform: uppercase;
}

.separateur {
  width: 5rem;
  height: .3rem;
  margin: auto;
  background-color: #29abe2;
  display: block;
}

.instructions {
  color: #3f263a;
  font-size: 1.4rem;
  line-height: 1.2;
  font-weight: 300;
  /*margin: 0 2rem;*/
  margin-bottom: 2.1rem;
  word-spacing: 1px;
  /*font-family: "LA", "Arial", sans-serif;*/
}

.display {
  display: none;
}

#fields {
  box-sizing: border-box;
  /*border: 1px solid rgb(214, 214, 214);*/
}



#fields .field {
  position: relative;
  height: 3.2rem;
  background-color: #fff;
  border: 2px solid #d6dad9;
  height: 6.5rem;
  /*position: relative;
  background-color: rgb(255, 255, 255);

  margin: 0;
  height: 5rem;
  color: rgb(88, 88, 90);
   transition: background-color 5000s ease-in-out 0s, box-shadow 5000s ease-in-out 0s !important;
  -webkit-box-shadow: 0 0 7px 4px rgba(0, 0, 0, 0.07) !important;
  box-shadow: 0 0 7px 4px rgba(0, 0, 0, 0.07) !important; */
}

#fields .field:first-child {
   border-bottom: 0;
}

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

#fields .field:first-child {
  /*margin-bottom: 1.5rem;*/
}

#fields label img {
  height: 1.8rem;
  width: auto;
}

#fields label:after {
  content: '';
  border-right: 2px solid #d8d8d8;
  opacity: 1;
  position: absolute;
  top: 15px;
  bottom: 15px;
  right: 0;
  width: 100%;
}

#fields input[type=email],
#fields input[type=text],
#fields input[type=password] {
  font-size: 1.3rem !important;
  font-weight: normal;
  font-family: "Montserrat", "Arial", sans-serif !important;
  color:#000000 !important;
  position: absolute;
  z-index: 1;
  bottom: 0px;
  left: 4.77rem;
  width: calc(100% - 4.77rem);
  box-sizing: border-box;
  margin-bottom: 0;
  height: 100% !important;
  border: none;
  padding: 0 1rem;
}

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: none !important;
}

#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: rgb(88, 88, 90);
  box-shadow: none;
  outline: 0;
}

#fields input[type=email]+span.label,
#fields input[type=text]+span.label,
#fields input[type=password]+span.label {
  color: rgb(0, 0, 0) !important;
  font-size: 1.4rem !important;
  font-weight: 300;
  font-family: "Futura BdCn BT", "Arial", sans-serif !important;
  position: absolute;
  text-align: center;
  left: 4.8rem;
  top: 50%;
  margin-left: 3px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
  -webkit-transform-origin: left center;
  transform-origin: left center;
  z-index: 0;
  padding: 0 1rem;
  letter-spacing: 0.3px;
}

#fields input[type=email]+span.label.active,
#fields input[type=text]+span.label.active,
#fields input[type=password]+span.label.active {
  -webkit-transform: translateY(calc(-50% - 13px)) scale(0.7);
  transform: translateY(calc(-50% - 13px)) scale(0.7);
}

#fields input[type=email]:focus:not([readonly]),
#fields input[type=text]:focus:not([readonly]),
#fields input[type=password]:focus:not([readonly]) {
  box-shadow: none;
}

.dbl_btn{
  margin-top: clamp(15px, 6vh, 6rem);
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  align-items: center;
}

.button_form {
  flex: 1 0 auto;
  position: relative;
  z-index: 2;
  height: 5rem;
  width: 16.8rem;
  font-family: "Lato", "Arial", sans-serif;
  font-size: 1.4rem;
  color: #fff;
  background-color: #0f1e42;
  max-width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease-in-out;
  position: relative;
  text-transform: uppercase;
  letter-spacing:2px;
}

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

.button_form .arrow {
  display: inline-block;
  vertical-align: middle;
  width: 1.6rem;
  height: 60%;
  position: relative;
  margin-left: 2.5rem;
}

.button_form .arrow svg {
  fill: #fff;
  position: relative;
}

/* #oubli_form {
  text-align: right;
  padding-top: 0.75rem;
  margin: 1rem 0.25rem 3rem 0;
} */
#oubli_form {
  flex: 1;
  z-index: 2;
    height: 5rem;
    width: 15rem;
    font-family: "Lato", "Arial", sans-serif;
    /*font-weight: 600;*/
    font-size: 1.5rem;
    color: #000000;
    /*background-color: #279dd9;*/
    max-width: 28.87rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease-in-out;
    position: relative;
    /*text-transform: uppercase;*/
    /*letter-spacing: 2px;*/
}

#oubli_form a {
  color: #000000;
  font-size: 1em;
}

/*#oubli_form a {
  font-family: "Lato", "Arial", sans-serif;
  font-weight: 300;
  font-size: 1.2rem;
  text-align: center;
  transition: all 0.3s ease-in-out;
  position: relative;
  color: #fff;
  opacity: 1;
  text-decoration: none;
  margin-bottom: 2.5rem;
  text-transform: uppercase;
}*/
#oubli_form:hover {
  /*background-color: #143556;*/
}
#oubli_form a:hover {
  color: #005298;
}

@media screen and (max-width: 599px) {

  h3 {
    font-size: 2.5rem;
  }

  #logo {
    /*margin-top: 0 !important;*/
  }
}

@media screen and (max-width: 392px) {
  body {
    overflow-x: hidden;
  }

  .contenu {
    padding: 0 2rem;
  }


  h3 {
    font-size: 2.3rem;
  }

  .instructions {
    font-size: 1.2rem;
  }

  .button_form {
    font-size: 1rem;
  }
  #oubli_form {
    font-size: 0.9rem;
  }

  #logo {
    width: 100%;
  }
}

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

  .small-only {
    display: none;
  }

  div.hr {
    margin: 30px 0;
  }

  .display {
    display: none;
  }

  .contenu {
    justify-content: center;
    height: 75%;
    flex: 0 0;
    width: 670;
    margin: 0 auto;
  }

  .contenu::before   {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    border: 1rem solid #c1c1c1;
    border-width: 2vh 1.5vw;
  }

  .contenu-bg {
    background-color: rgba(255, 255, 255, 1);
    max-width: 44rem;
    width: 100%;
    margin: 0 auto;
    -webkit-box-shadow: 0px 0px 82px -8px rgb(0 0 0 / 20%);
    box-shadow: 0px 0px 82px -8px rgb(0 0 0 / 20%);
    padding-top: 2.5%;
    padding-bottom: 5rem;
    z-index: 2;
  }

  .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) {
  html {
    /*font-size: 12px;*/
  }

  #page {
    background: url(../images/bg.png) no-repeat center center;
    background-size: cover;
    min-height: 100%;
    display: flex;
    flex-direction: row;
    padding: 0;
  }

  .display {
    display: block;
  }

  .contenu {
    width: 50%;
    flex: 1 1 50%;
  }

  .bg {
    width: 50%;
    flex: 1 1 50%;
  }

  
  .contenu {
    /*width: 65%;*/
    /*flex: 1 1 65%;*/
    box-shadow: none;
    border-radius: unset;
    background-color: transparent;
  }

  .contenu-bg {
    max-width: 44rem;
    width: 100%;
    margin: 0 auto;
    -webkit-box-shadow: 0px 0px 82px -8px rgb(0 0 0 / 20%);
    box-shadow: 0px 0px 82px -8px rgb(0 0 0 / 20%);
  }

  .bg {
    background: transparent;
    order: 1;
    display: block;
    width: 35%;
    flex: 1 1 35%;
    height: initial;
    position: relative;
    overflow: hidden;
  }

  .separateur {
    width: 15%;
    margin:auto;
    height: 4px;
    border: none;
    background: #ebab2f;
  }

  #logo {
    width: 100%;
  }
}

@media screen and (min-width: 1200px) {
  html {
    /*font-size: 12px;*/
  }

  .contenu {
    /*width: 60%;*/
    /*flex: 1 1 60%;*/
    background-color: transparent;
  }

  .bg {
    /*width: 40%;*/
    /*flex: 1 1 40%;*/
  }


  .contenu {
    width: 50%;
    flex: 1 1 50%;
  }

  .bg {
    width: 50%;
    flex: 1 1 50%;
  }


  .display {
    display: block;
  }

  .contenu-bg {
    max-width: 49rem;
    width: 100%;
    margin: 0 -4.2rem 0 auto;
    -webkit-box-shadow: 0px 0px 82px -8px rgb(0 0 0 / 20%);
    box-shadow: 0px 0px 82px -8px rgb(0 0 0 / 20%);
  }

  header, main, footer {
    width: 100%;
    max-width: 35rem;
  }

  header .hr {
    margin: 2rem 0 2.87rem;
  }

  footer {
    margin-top: 6.6rem;
  }
}

@media screen and (min-width: 1400px) {
  .contenu {
    /*width: 65%;*/
    /*flex: 1 1 65%;*/
  }

  .bg {
    /*width: 35%;*/
    /*flex: 1 1 35%;*/
  }
}

@media screen and (min-width: 1600px) {
  html {
    /*font-size: 14px;*/
  }

  header, footer, main {
    max-width: 37.2rem;
  }

  .instructions {
    /*width: calc(100% + 3rem);*/
    font-size: 1.5rem;
  }

  #fields input[type=email],
  #fields input[type=text],
  #fields input[type=password] {
    bottom: -1px;
  }

  .contenu {
    width: 50%;
    flex: 1 1 50%;
  }

  .bg {
    width: 50%;
    flex: 1 1 50%;
  }

  .contenu-bg {
    max-width: 47.6rem;
  }
}

@media screen and (min-width: 1600px) and (max-height: 945px) {
  html {
    /*font-size: 13px;*/
  }
}

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

  .contenu,
  .bg {
    min-height: 100vh;
  }

  .bg .illu_1, .bg .illu_2 {
    opacity: 0.65;
  }
}

@supports not (mix-blend-mode: multiply) {
  .bg .illu_1, .bg .illu_2 {
    opacity: 0.65;
  }
}


input:focus::placeholder {
  opacity: 0;
}

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

  .button_form {
    transform: translateY(0%);
    margin-bottom: 2rem;
  }

  .contenu-bg {
    max-width: 50rem
  }
}

@media screen and (min-width: 3000px) {
  .contenu-bg {
    max-width: 64rem
  }
}