@charset "UTF-8";

* {
  box-sizing: inherit;
}

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

body {
  --main-font : 'Montserrat', "Arial", sans-serif;
  --color-main: #000000;
  --color-main-hover: #606060;

  --color-titre-alertbox: #606060;

  --color-h2: #000000;
  --color-h3: #000000;
  --color-h3-span: #000000;
  --color-instructions: #000000;

  --color-input-label: #000000 !important;
  --color-input: #000000 !important;
  --color-field-border: #f3f3f3 !important;

  --color-btn-valider: #ffffff;
  --color-btn-valider-hover: #000000;
  --bgcolor-btn-valider: #000000;
  --bgcolor-btn-valider-hover: #a1a0a0;

  --color-btn-oubli: #ffffff;
  --color-btn-oubli-hover: #000000;
  --bgcolor-btn-oubli: #606060;
  --bgcolor-btn-oubli-hover: #a1a0a0;
  
  height: 100%;
  margin: 0;
  background-color: #fff;
  color: #000;
  font-size: 1.2rem;
  font-family: var(--main-font);
}

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: var(--color-input) !important;
}

::-webkit-input-placeholder, :-moz-placeholder, ::-moz-placeholder, :-ms-input-placeholder {
  color: var(--color-input-label) !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: rgb(255, 255, 255);
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center;
}

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

.bloc_bg {
  width: 90%;
  margin: 0 auto;
  /*border: 1px solid red;*/
  padding: 1rem 1rem 2rem;
  background: #ffffff;
}


div.hr {
  margin: 1.33rem 0;
}

#logo {
  /* position: absolute; */
  width: 90%;
  min-width: 100px;
  max-width: 100%;
  margin: 0 auto 2.25rem;
  text-align: center;
}

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

h2 {
  font-family: var(--main-font);
  margin: 0;
  color: var(--color-h2);
  font-size: 3.429rem;
  font-weight: bold;
  text-transform: uppercase;
}


h3 {
  font-family: var(--main-font);
  margin: 0;
  color: var(--color-h3);
  font-size: 1.7rem;
  font-weight: normal;
  text-align: left;
  text-align: left;
  align-items: center;
   text-transform: uppercase;
}


.instructions {
  font-family: var(--main-font);
  color: var(--color-instructions);
  font-size: 1.4rem;
  line-height: 1.2;
  font-weight: 500;
  margin: 2rem 0 2.5rem;
  width: 100%;
  text-align: left;
  align-items: center;
}

br.display {
  display: none;
}

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

#fields .field {
  position: relative;
  margin: 0;
  height: 3.8rem;
  max-width: 100%;
  background-color: #f2f2f2;
  /*border: 1px solid #060606;*/
  /* 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) {
  margin-bottom: 1.75rem;
}


#fields label {
  position: absolute;
  top: 0;
  left: 0;
  width: 6rem;
  height: 100%;
  text-align: center;
  margin-left: 3px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#fields label img {
  height: 1.6rem;
  width: auto;

}

#fields label:after {
  content: '';
  position: absolute;
  top: 20%;
  bottom: 20%;
  right: 0;
  border-left: 1px solid #787676;
}


/* #fields .field:not(:last-child)::before{
  content: "Identifiant";
  font-family: "Avenir Next LT Pro", "Arial", sans-serif !important;
  font-weight: bold;
  position: absolute;
  top: -17px;
  font-size: 4.5rem;
  left: 0;   
  letter-spacing: 0.2rem;
  color: rgb(233, 233, 233);
}
#fields .field::before{
  content: "Mot de passe";
  font-family: "Avenir Next LT Pro", "Arial", sans-serif !important;
  font-weight: bold;
  position: absolute;
  top: -8.5px;
  font-size: 3.8rem;
  left: 0;   
  letter-spacing: 0.2rem;
  color: rgb(233, 233, 233);
}*/

#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 input::placeholder {
  color: #000000;
  font-weight: normal;
}

#fields input[type=email], #fields input[type=text], #fields input[type=password] {
  font-size: 1.4rem !important;
  font-weight: normal;
  font-family: var(--main-font) !important;
  color: var(--color-input) !important;
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 7rem;
  width: calc(100% - 7rem);
  height: 100% !important;
  border-bottom: 0;
  box-sizing: border-box;
  padding: 1.3rem 2rem 0 1rem;
  /* 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: var(--color-input);
  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 {
  height: 4.13rem;
  width: 53%;
  text-align: center;
  font-family: var(--main-font);
  font-weight: 500;
  font-size: 1.1rem;
  position: relative;
  display: grid;
  justify-content: center;
  align-items: center;
  background-color: var(--bgcolor-btn-oubli);
  color:  var(--color-btn-oubli);
   text-transform: uppercase;
  transition: all 0.3s;
}

.oubli_form span {
  margin-bottom: -3px;
}

.oubli_form:hover {
  background-color: var(--bgcolor-btn-oubli-hover);
  color:  var(--color-btn-oubli-hover);
}

.button_form {
  height: 4.13rem;
  width: 40%;
  font-family: var(--main-font);
  font-weight: 500;
  font-size: 1.3rem;
  background-color: var(--bgcolor-btn-valider);
  color:  var(--color-btn-valider);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: left;
  transition: all 0.3s ease-in-out;
  position: relative;
  letter-spacing: 0.1rem;
   text-transform: uppercase;
  margin-left: 7%;

}

.button_form:hover {
  background-color: var(--bgcolor-btn-valider-hover);
  color:  var(--color-btn-valider-hover);
}

.button_form span {
  margin-bottom: -3px;
}

.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: #000;
  width: 15%;
  height: 3px;
  margin: 1rem 0;
  border: 0;
  background-repeat: no-repeat;
  background-size: contain;
}

header {
  position: relative;
}

main {
  position: relative;
}

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

@media screen and (max-width: 599px) {
  html {
    font-size: 10.75px;
  }

  .dbl_btn {
    width: 100%;
    margin-left: 0;
  }

  .button_form, .oubli_form {
    font-size: 1.15rem;
    padding-top: 0.6rem;
  }

  .displ {
    display: none;
  }
}


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

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

  br.display {
    display: block;
  }

  #fields {
    margin: 0;
    max-width: 100%;

  }

  .small-only {
    display: none;
  }

  div.hr {
    margin: 30px 0;
  }

  .contenu {
    height: 75%;
    margin: 0 0 auto;
    width: 100%;
    z-index: 2;
    background-color: transparent;


  }

  .bg {
    display: none;
  }

  .bloc_bg {
    width: 100%;
    max-width: 42rem;
    padding: 2rem 0 4.1rem;
  }



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

@media screen and (max-width:599px) {
  .theme_1 {
    background: rgb(252, 242, 241) no-repeat;
    background-position: right;
    background-size: cover;
  }

  .contenu {
    padding: 0 3rem;
  }
}

@media screen and (max-width:501px) {
  .contenu {
    padding: 0 1rem;
  }
}

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

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

  #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: transparent;
    box-shadow: none;
    background: transparent;
  }

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

}

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

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

  footer {
    margin-top: 6.6rem;
  }
}

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

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

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

@media screen and (min-width: 960px) and (max-height:940px) {
  main::after {
    content: none;
    display: none;
  }
}

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

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

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

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

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

#page, .theme_1 {
  justify-content: unset;
}

@media screen and (max-width: 1440px) and (min-width:600px) and (max-height: 875px) {
  html {
    font-size: 10px;
  }
}