@charset "UTF-8";

* {
  box-sizing: inherit;
}

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

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

form {
  margin: 0 !important;
}

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: #4d4d4d !important;
}

::-webkit-input-placeholder, :-moz-placeholder, ::-moz-placeholder, :-ms-input-placeholder {
  color: #4d4d4d !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: 90%;
  margin-left: auto;
  margin-right: auto;
  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;
  max-width: 20rem;
  text-align: center;
  margin-bottom: 10%
}

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

h2 {
  font-family: 'Baro', "Arial", sans-serif;
  margin: 0;
  color: #1f628e;
  font-size: 2.6rem;
  font-weight: 100;
  text-align: left;
  margin-bottom: 0rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h3 span {
  font-family: 'Baro', "Arial", sans-serif;
  color: #ff9000;
  /*font-weight: bold;*/
}

h3 {
  font-family: 'Baro', "Arial", sans-serif;
  margin: 0;
  color: #1f628e;
  font-size: 2.5rem;
  font-weight: bold;
  text-align: left;
  margin-bottom: 0.67rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 5%;
}

.instructions {
  font-family: 'Poppins', "Arial", sans-serif;
  color: #0c3855;
  font-size: 1.13rem;
  line-height: 1.2;
  font-weight: normal;
  margin-bottom: 3.33rem;
  width: 100%;
  text-align: left;
}

br.display {
  display: none;
}

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

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

#fields .field:not(:last-child) {
  border-bottom: 1px solid rgba(167, 167, 167, 0.2);
  margin-bottom: 1rem;
}

#fields .field:not(:last-child)::before {
  content: "Identifiant";
  font-family: "spartan", "Arial", sans-serif !important;
  color: #00286400;
  font-weight: 800;
  position: absolute;
  top: -15px;
  font-size: 4.08rem;
  opacity: 0.13;
  left: 0;
}

#fields .field::before {
  content: "Mot de passe";
  font-family: "spartan", "Arial", sans-serif !important;
  color: #00286400;
  font-weight: bold;
  position: absolute;
  opacity: 0.13;
  top: -10px;
  font-size: 3.5rem;
  left: 0;
  letter-spacing: 0rem;
}

#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: 'Poppins', "Arial", sans-serif !important;
  color: #4d4d4d;
  font-weight: normal;
}

#fields input[type=email], #fields input[type=text], #fields input[type=password] {
  font-size: 1.47rem !important;
  font-weight: normal;
  font-family: 'Poppins', "Arial", sans-serif !important;
  color: #4d4d4d !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: #4d4d4d;
  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;
}


.boutons {
  display: flex;
  justify-content: space-evenly;
  margin-top: 3.67rem;
  margin-bottom: 2rem;
}

#oubli_form {
  height: 3.75rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-weight: normal;
  font-size: 1.13rem;
  color: #fff;
  background-color: #1f628e;
  border: 2px solid #1f628e;
  text-decoration: none;
  position: relative;
  padding: 0 1rem;
  transition: 0.2s;
  cursor: pointer;
  font-family: 'Baro', "Arial", sans-serif;
}

#oubli_form a {
  transition: 0.2s;
  color: #fff;
  font-family: 'Baro', "Arial", sans-serif;
}

#oubli_form:hover {
  border: 2px solid #1f628e;
  background-color: #fff;
}

#oubli_form:hover a {
  color: #1f628e !important;
}

.button_form {
  height: 3.75rem;
  min-width: 12.358rem;
  font-family: 'Poppins', "Arial", sans-serif;
  font-weight: bold;
  font-size: 1.2rem;
  color: #fff;
  background-color: #ff9000;
  border: 2px solid #ff9000;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-align: left;
  transition: all 0.3s ease-in-out;
  position: relative;
  text-transform: none;
  padding: 0 1rem;
  text-transform: uppercase;
}

.button_form span {
  font-family: 'Poppins', "Arial", sans-serif;
  margin-top: 4px;
}

.button_form:hover {
  border: 2px solid #ff9000;
  background-color: #fff;
  color: #ff9000 !important;
}

.button_form .arrow {
  transition: 0.2s;
  margin-left: 0.67rem;
  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-size: contain;
  max-width: 23.07rem;
  width: 100%;
  height: 2rem;
  margin: 0 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: center right;
  }

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

  br.display {
    display: block;
  }

  #fields {
    max-width: 29.202rem;

  }

  #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: 34.985rem;
    padding: 0;
    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%);
    border-radius: 20px;
  }

  .bg {
    display: none;
  }

  header {
    padding: 0 2rem;
  }

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

}


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

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

  #page {
    min-height: 100%;
    display: flex;
    flex-direction: row;
    padding: 0;
    background-position: center center;
  }

  .contenu {
    width: 51.5%;
    flex: 0 1 51.5%;
    max-width: 46.908rem;
    height: initial;
    margin: initial;
    background: none;
    background-color: transparent;
    box-shadow: none;
    max-width: unset;
  }

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

}

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

  #page {
    background-size: cover;
    background-position: center center;
  }

  .contenu {
    width: 65.5%;
    flex: 0 1 65.5%;
  }

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

  header, main {
    /*max-width: 27.33rem;*/
    margin: auto;
  }

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

  #fields label {
    width: 3.53rem;
  }

  #fields input[type=email], #fields input[type=text], #fields input[type=password] {
    left: 5.67rem;
    width: calc(100% - 8.67rem);
  }

  footer {
    margin-top: 6.6rem;
  }

  #fields label:after {
    content: '';
    position: absolute;
    width: 26px;
    margin: 0px;
    border-bottom: 2px solid #0c0635;
    right: -14px;
    transform: rotate(90deg);
  }
}

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

  html {
    font-size: 15px;

  }

  header, main {
    margin: auto;
  }
}

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