@charset "UTF-8";

* {
  box-sizing: inherit;
}

html {
  height: 100%;
}

body {
  height: 100%;
  margin: 0;
  background-color: #fff;
  color: #000;
  font-size: 1.2rem;
  font-family: "Inter", 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: #020230 !important;
}

::-webkit-input-placeholder,
:-moz-placeholder,
::-moz-placeholder,
:-ms-input-placeholder {
  font-style: italic;
  color: #020230 !important;
  opacity: 1 !important;
}

input::placeholder {
  color: rgb(64, 64, 64);
}

/*
::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: 11px;
}

#page {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  font-size: 1.2rem;
  background: #f3f7fa no-repeat center center;
  background-size: cover;
  position: relative;
}

#page::after {
  content: "";
  display: block;
  position: absolute;
  top: min(3vh, 2vw);
  left: min(3vh, 2vw);
  right: min(3vh, 2vw);
  bottom: min(3vh, 2vw);
  background: transparent;
  -webkit-border-radius: 2rem;
  -moz-border-radius: 2rem;
  border-radius: 2rem;

  box-shadow: 0 0 32px 0 rgba(0, 0, 0, 0.30);
  pointer-events: none;
}

.small-only {
  display: block;
}

.contenu {
  width: 100%;
  background-color: #f3f7fa;
  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;
}

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

div.hr {
  margin: 1.33rem 0;
}

#logo {
  width: 100%;
  min-width: 100px;
  max-width: 100%;
  margin: 0 0 2rem 0;
  text-align: center;

  /*position: relative;*/
  /*right: 2rem;*/
  /*height: 50px;*/
}

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

h2 {
  font-family: "Inter", "Arial", sans-serif;
  margin: 0;
  color: #141414;
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.09em;
}

h3 {
  font-family: "Inter", "Arial", sans-serif;
  margin: 0;
  color: rgb(70, 84, 104);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.1;
}

/* h3 span{
  color: rgb(30, 95, 156);
} */

.instructions {
  color: rgb(22, 25, 42);
  font-size: 1.4rem;
  line-height: 1.2;
  font-weight: normal;
  margin-bottom: 2.2rem;
  word-spacing: 1px;
  font-family: "Inter", "Arial", sans-serif;
  margin-bottom: 2rem;
}

.instructions .color {
  font-weight: 600;
  color: rgb(30, 95, 156);
}

.display {
  display: none;
}

#fields {
  box-sizing: border-box;
  margin-top: 2.3rem;
}

#fields .field {
  position: relative;
  background-color: #f3f7fa;
  margin: 0;
  border-radius: 0.7rem;
  height: 5.7rem;
  color: #475569;
  border: 2px solid #475569;
}

#fields .field:not(:last-child) {
  margin-bottom: 1.5rem;
}

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

#fields label img {
  height: 29px;
  width: auto;
}

#fields label:after {
  content: "";
  border-right: 1px solid rgb(242, 242, 242);
  opacity: 1;
  position: absolute;
  top: 15px;
  bottom: 17px;
  right: 0;
  width: 100%;
}

#fields input[type="email"],
#fields input[type="text"],
#fields input[type="password"] {
  font-size: 1.2rem !important;
  font-weight: 300;
  font-family: "Inter", "Arial", sans-serif !important;
  color: rgb(64, 64, 64) !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-bottom: none;
  /* border-radius: 15px; */
  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: black;
  box-shadow: none;
  outline: 0;
}

#fields input[type="email"]+span.label,
#fields input[type="text"]+span.label,
#fields input[type="password"]+span.label {
  color: black !important;
  font-size: 1.2rem !important;
  font-weight: 500;
  font-family: "Inter", "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;
}

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

.button_form {
  height: 4.885rem;
  width: 18.4rem;
  font-family: "Inter", "Arial", sans-serif;
  font-weight: bold;
  font-size: 1.4rem;
  color: rgb(255, 255, 255);
  background: #3271a7;
  background-size: 200%;
  max-width: 28.87rem;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto 0;
  margin-top: 2.5rem;
  text-align: center;
  transition: all 0.3s ease-in-out;
  position: relative;
  letter-spacing: 2px;
  border-radius: 7px;
}

.button_form:hover {
  background: rgb(64, 64, 64);
}

.button_form .arrow {
  width: 2rem;
  position: absolute;
  top: 1.4rem;
  right: 20px;
}

.button_form .arrow svg {
  fill: #fff;
  position: absolute;
  top: 0;
  left: 0;
}

#oubli_form {
  text-align: right;
  font-family: "Inter", "Arial", sans-serif;
  font-weight: normal;
  font-size: 1.45rem;
  position: relative;
  width: 100%;
  margin-top: 2rem;
  margin-bottom: 3.2rem;
}

#oubli_form span {
  font-weight: 600;
}

#oubli_form a {
  color: unset;
  text-decoration: none;
  position: relative;
  z-index: 2;
  background-color: none;
  transition: all 0.2s ease-in-out;
  color: rgb(64, 64, 64);
  border-bottom: 1px solid;
}

#oubli_form a:hover {
  color: #4d98cc;
}

.separateur {
  width: 5.3rem;
  margin: 2rem 0;
  height: 3px;
  border: none;
  border-radius: 50px;
  background: rgb(30, 95, 156);
}

.dbl_btn {
  margin-top: 3rem;
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
  align-items: center;
}


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

@media screen and (min-width: 600px) {
  #page {
    /*background: url(../images/bg2.jpg) no-repeat 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;
    margin: auto;
    width: 55%;
    min-width: 45rem;
    /*background: rgba(255, 255, 255, 0.9);*/
    border-radius: 4rem;
  }

  .bg {
    display: none;
  }

  header,
  main,
  footer {
    width: 75%;
  }

  h3 {
    font-size: 1.5rem;
  }
}

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

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

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

  .display {
    display: block;
  }

  .contenu {
    width: 40%;
    flex: 1 1 40%;
    height: initial;
    margin: initial;
    box-shadow: none;
    max-width: 51rem;
    border-radius: unset;
    background: #ffffff00;
    margin-left: 7rem;
    margin-left: 3vw;
  }

  .contenu-bg {
    background: none;
    -webkit-box-shadow: none;
    box-shadow: none;
  }

  .bg {
    background: transparent;
    order: 1;
    padding-top: 37%;
    display: block;
    width: 60%;
    flex: 1 1 60%;
    height: initial;
    position: relative;
    overflow: hidden;
  }

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

  #logo {
    width: 100%;
  }

  h3 {
    font-size: 1.7rem;
  }
}

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

  #page {
    background-position-x: 30%;
  }

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

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

  .display {
    display: block;
  }

  .contenu-bg {
    background: rgba(255, 255, 255, 0) no-repeat center center;
    max-width: 34rem;
    width: 100%;
    margin: 0 auto;
  }

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

  footer {
    margin-top: 6.6rem;
  }
}

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

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

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


/* General Styles */
#nav_container {
  position: absolute;
  top: 0;
  width: 100%;
  left: 0;
}

.nav {
  background-color: #fff;
  position: relative;

}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1132px;
  margin: auto;
  height: 103px;

}

.navbar-brand img {
  height: 68px;
  width: 100%;
}

ul {
  padding: 0;
}

a.navbar-brand {
  transform: translate(-8px,3px);
} 

/* Burger Menu */

.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: fit-content;
}

#burger-2.burger span,
#burger.burger.close span{
  position: absolute;
  
}

#burger-2.burger span:nth-child(1),
#burger.burger.close span:nth-child(1)  {
  transition: transform 0.5s;
  transform: rotate(45deg);
  top: 5px;
}

#burger-2.burger span:nth-child(2),
#burger.burger.close span:nth-child(2) {
  opacity: 0;
}

#burger-2.burger span:nth-child(3),
#burger.burger.close span:nth-child(3) {
  transition: transform 0.5s;
  transform: rotate(-45deg);
  bottom: -7px;
}

#burger {
  height: 34px;
  width: 47px;
  padding: 10px 15px;
}

#burger-2 {
  transform: translate(284px, -7px);
  height: 34px;
  width: 47px;
  padding: 10px 15px;
}

.burger div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
}

.burger span {
  width: 15px;
  height: 2px;
  background-color: #000;
  border-radius: 2px;
}

.menu-burger .nav-item a{
  font-size: 17px;
}
/* Menu Styles */
.navbar-nav {
  display: flex;
  list-style: none;
  gap: 28px;
  margin: 8px 0;
  /* padding-right: 15px;
  padding-left: 15px; */
  min-height: 1px;
}

.nav-item a {
  text-decoration: none;
  color: #272626;
  font-size: 16px;
  font-family: 'Arial', sans-serif;
}

div.nav a:hover {
  color: #436ab6;
}

.navbar-nav.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  background-color: #fff;
  transition: transform 0.3s ease-in-out;
  transform: translateX(-100%);
}

.navbar-nav.active.show {
  transform: translateX(0);
}

.sidenav {
  height: 100%;
  width: 250px;
  position: fixed;
  z-index: 1;
  top: 0;
  margin-left: -250px;
  background-color: #111;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}

.sidenav.active {
  margin-left: 0px;
}

.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.sidenav a:hover,
.sidenav a .offcanvas a:focus {
  color: #f1f1f1;
}

.sidenav .closeButton {
  position: absolute;
  cursor: pointer;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
  color: #818181;
}

#main {
  transition: all 0.4s ease-in-out 0.1s;
  padding: 16px;
  width: 360px;
  height: 100%;
  transform: translateX(-360px);
  background: #ffffff;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 4; 
}

#main ul {
  display: none;
}

#main.active ul {
  display: flex !important;
}

#main.active {
  transform: translateX(0);
}

#page.active::before {
  content: "";
  height: 100%;
  width: 100%;
  background: #00000087;
  position: absolute;
  z-index: 4;
}

#main ul.ml-auto {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3rem;
  padding: 4.4rem 1rem;
}

#main .menu-burger {
  cursor: pointer;
  font-size: 40px;
}

/* Responsive Styles */

@media (max-width: 1350px) {
  /* a.navbar-brand {
    transform: none;
  } */

  .nav-container {
    padding: 10px 20px;
  }

  .navbar-brand img {
    height: 113px;
  }

  .nav-container {
    padding: 0 15px;
    height: 143px;
  }

}

@media (max-width: 960px) {
  .burger {
    display: flex;
    padding: 0.9rem 1.4rem;
    border: 1px solid #000;
  }

  .navbar-nav {
    display: none;
  }

  .navbar-nav.active {
    display: flex;
  }

  .nav-container {
    padding: 0 15px;
    height: 143px;
  }

  /* a.navbar-brand {
    transform: none;
  } */

}

@media (max-height: 600px) {
  #logo {
    height: 109px;
  }
}