@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: "Poppins", "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: rgb(134, 134, 134) !important;
}

::-webkit-input-placeholder,
:-moz-placeholder,
::-moz-placeholder,
:-ms-input-placeholder {
  color: rgb(134, 134, 134) !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;
  max-width: 100%;
  margin: 0 auto 3.5rem;
  text-align: left;
}

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

h2 {
  font-family: "Poppins", "Arial", sans-serif;
  margin: 0;
  color: rgb(0, 38, 113);
  font-size: 2.4rem;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  text-align: center;
  align-items: center;
  line-height: 1.2;
}

h3 {
  font-family: "Poppins", "Arial", sans-serif;
  margin: 0;
  color: rgb(105, 105, 105);
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1;
  text-align: center;
  text-align: center;
  align-items: center;
  text-transform: uppercase;
}

h3 span {
  color: rgb(0, 38, 113);
}

.instructions {
  font-family: "Poppins", "Arial", sans-serif;
  color: rgb(105, 105, 105);
  font-size: 1.475rem;
  line-height: 1.2;
  font-weight: normal;
  margin-bottom: 3rem;
  width: 100%;
  text-align: left;
  text-align: center;
  align-items: center;
}

.instructions span {
  font-weight: bold;
}

br.display {
  display: none;
}

#fields {
  box-sizing: border-box;
  margin-bottom: 1rem;
  max-width: 100%;
  background-color: transparent;
  -webkit-box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.07);
  box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.07);
}

#fields .field {
  position: relative;
  background-color: white;
  height: 7rem;
}

#fields .field:first-child {
  border-bottom: 1px solid rgb(226, 226, 226);
  border-top-left-radius: 7px;
  border-top-right-radius: 7px;
}

#fields .field:last-child {
  border-bottom-left-radius: 7px;
  border-bottom-right-radius: 7px;
}

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

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

/* #fields label:after {
  content: '';
  border-right: 1px solid #d2d8e7;
  opacity: 1;
  position: absolute;
  top: 16px;
  bottom: 14px;
  right: 0;
  width: 100%; 
}*/

#fields input[type="email"],
#fields input[type="text"],
#fields input[type="password"] {
  font-size: 1.4rem !important;
  font-weight: light;
  font-family: "Poppins", "Arial", sans-serif !important;
  color: rgb(134, 134, 134) !important;
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 6rem;
  width: calc(100% - 6rem);
  border-bottom: 0;
  height: 100% !important;
  box-sizing: border-box;
  margin-bottom: 0;
  caret-color: rgb(134, 134, 134);
  padding: 1rem 1.5rem 0 1rem;
}

#fields input[type="email"]#password,
#fields input[type="text"]#password,
#fields input[type="password"]#password {
}

#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(29, 42, 45);
  box-shadow: none;
  outline: 0;
}

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

#fields input[type="email"] + span.label,
#fields input[type="text"] + span.label,
#fields input[type="password"] + span.label {
  color: rgb(0, 38, 113) !important;
  font-size: 1.4rem !important;
  font-weight: bold;
  font-family: "Poppins", "Arial", sans-serif !important;
  position: absolute;
  text-align: center;
  left: 7rem;
  top: 50%;
  -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;
}

#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% - 18px)) scale(0.7);
  transform: translateY(calc(-50% - 18px)) scale(0.7);
  font-size: normal;
  /* padding-left: 6px; */
  font-size: 2.4rem;
}

#fields input::placeholder {
  color: rgb(0, 38, 113);
  font-weight: 600;
}

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 0.3s, -webkit-box-shadow 0.3s;
  transition: border 0.3s, -webkit-box-shadow 0.3s;
  transition: box-shadow 0.3s, border 0.3s;
  transition: box-shadow 0.3s, border 0.3s, -webkit-box-shadow 0.3s;
}

#oubli_form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

#oubli_form a {
  margin-left: 2rem;
  font-family: "Poppins", "Arial", sans-serif;
  color: rgb(0, 38, 113);
  font-weight: 300;
  font-size: 1.2rem;
  transition: all 0.3s ease-in-out;
  position: relative;
  text-decoration: none;
  letter-spacing: 0.05rem;
  border-bottom: 1px solid;
  transition: all ease-in-out 0.3s;
  width: fit-content;
}

#oubli_form a:hover {
  font-weight: bold;
}

.oubli_connexion {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: center;
}

.button_form {
  height: 3.8rem;
  width: calc(100% - 1rem);
  font-family: "Poppins", "Arial", sans-serif;
  font-weight: normal;
  font-size: 1.2rem;
  color: #fff;
  background-color: rgb(0, 38, 113);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: left;
  /* border-radius: 5px; */
  transition: all 0.3s ease-in-out;
  position: relative;
  margin-left: 1rem;
  border-radius: 5px;
  letter-spacing: 0.1rem;
}

.button_form:hover {
  background-color: rgb(105, 105, 105);
}

.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 {
  margin: 1.8rem 0;
}
header {
  position: relative;
}
main {
  position: relative;
}

/* #fields .field:first-of-type label:after{
  content: '';
  position: absolute;
  width: 20px;
  height: 2px;
  margin: 0px;
  background-color: black;
  left: 3.5rem;
  top: 3rem;
  transform: rotate(90deg);
}
#fields label:after{
  content: '';
  position: absolute;
  width: 20px;
  height: 2px;
  margin: 0px;
  background-color: black;
  left: 3.5rem;
  top: 3.2rem;
  transform: rotate(90deg);
} */

.dbl_btn {
  display: grid;
  grid-template-columns: 55% 45%;
  width: 36rem;
  margin-top: 3rem;
}

@media screen and (max-width: 599px) {
  .dbl_btn {
    width: 100%;
    margin-left: 0;
  }
  .displ {
    display: none;
  }
}

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

@media screen and (min-width: 600px) {
  #page {
    background-size: cover;
    background-position: center center;
  }

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

  br.display {
    display: block;
  }
  #fields {
    max-width: 100%;
  }
  #page {
    padding: 2rem 0;
  }

  .small-only {
    display: none;
  }
  div.hr {
    margin: 30px 0;
  }
  .contenu {
    justify-content: center;
    height: 75%;
    flex: 0 0;
    margin: auto 0;
    width: 100%;
    z-index: 2;
  }
  .bg {
    display: none;
  }
  .bloc_bg {
    width: 100%;
    max-width: 39rem;
    padding: 0;
  }
  .bloc_bg:last-of-type {
    padding: 0;
  }

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

@media screen and (max-width: 850px) {
  .theme_1 {
    background: url(../images/bg.jpg) no-repeat;
    background-position: center center;
    background-size: cover;
  }
  .contenu {
    margin: auto;
  }
}

@media screen and (max-width: 601px) {
  .theme_1 {
    background: url(../images/bg-2.jpg) no-repeat;
    background-position: center center;
    background-size: cover;
    background-position-x: 50%;
  }
  .contenu {
    padding: 0 3rem;
    background-color: rgba(255, 255, 255, 0.2);
  }
}

@media screen and (max-width: 501px) {
  .contenu {
    padding: 0 1rem;
    background-color: rgba(255, 255, 255, 0.2);
  }
}

@media screen and (max-width: 499px) {
  h2 {
    font-size: 3.6rem;
  }
  h3 {
    font: 3rem;
  }
}

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

  .contenu {
    width: 100%;
    flex: 1 1 100%;
    height: initial;
    margin: initial;
    background: none;
    background-color: transparent;
    box-shadow: none;
    background: transparent;
  }
  .bg {
    display: block;
    width: 0%;
    flex: 1 1 0%;
    order: 1;
    background: transparent;
    height: initial;
    position: relative;
    overflow: hidden;
  }
}

@media screen and (min-width: 1200px) {
  html {
    font-size: 11px;
  }
  #page {
    background-size: cover;
    background-position: center center;
  }
  .contenu {
    width: 100%;
    flex: 1 1 100%;
  }
  .bg {
    width: 0%;
    flex: 1 1 0%;
  }
  .bloc_bg {
    background: none;
    position: relative;
  }
  header .hr {
    margin: 2rem 0 2.87rem;
  }
}

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

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