@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: "Raleway", "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 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: #eb669f !important;
}

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

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

.d-none {
  display: none;
}

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

#page {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  font-size: 1.2rem;
  overflow-x: hidden;
  background: url(../images/bg.jpg) no-repeat center center;
  background-size: cover;
}

.small-only {
  display: block;
}

.contenu {
  width: 100%;
  /* background: #ffffffc7; */
  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%;
  max-width: 39.534rem;
  margin: 0 auto;
}

.separateur {
  background: rgb(135, 154, 100);
  border: none;
  width: 100%;
  height: 4px;
  margin-top: 1rem;
  margin-bottom: 4rem;
  margin-left: 0;
}

#logo {
  width: 100%;
  max-width: 100%;
  min-width: 100px;
  margin-left: 0;
  text-align: left;
  margin-bottom: 1rem;
}

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

h2 {
  margin: 0;
  font-size: 3.9rem;
  font-weight: normal;
  box-sizing: border-box;
  font-family: "Gordita", "Arial", sans-serif;
  line-height: 1.1;
  color: rgb(0, 0, 0);
  text-align: left;
}

/* h2 span {
  color: rgb(77, 72, 69);
} */

h3 {
  margin: 0;
  margin-bottom: 1.5rem;
  color: rgb(0, 0, 0);
  font-size: 2.1rem;
  font-weight: 500;
  line-height: 1;
  font-family: "Gordita", "Arial", sans-serif;
  text-align: left;
}

.instructions {
  font-family: "Gordita", "Arial", sans-serif;
  text-align: left;
  color: rgb(0, 0, 0);
  font-size: 1.2rem;
  line-height: 1.2;
  font-weight: 500;
  margin: 2.9rem 0;
}

/* .instructions span {
  font-weight: bold;
} */
/* .color{
  font-weight: bold;
} */

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

#fields .field {
  position: relative;
  height: 5.8rem;
}

#fields .field:first-child {
  border-bottom: 1px solid rgb(243, 243, 243);
}

/* 
#fields .field:last-child {
} */

#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.3rem;
  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.3rem !important;
  font-weight: bold;
  font-family: "Raleway", "Arial", sans-serif !important;
  color: #eb669f !important;
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 7rem;
  width: calc(100% - 7rem);
  border-bottom: 0;
  height: 100% !important;
  box-sizing: border-box;
  margin-bottom: 0;
  padding: 2rem 2rem 0;
}

#fields input[type="email"]#password,
#fields input[type="text"]#password,
#fields input[type="password"]#password {
  caret-color: #b2b6b0;
}

#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: #333333;
  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: #000000 !important;
  font-size: 1.3rem !important;
  font-weight: normal;
  font-family: "Raleway", "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(-30% - 21px)) scale(0.7);
  transform: translateY(calc(-30% - 21px)) scale(0.7);
  font-size: 2rem !important;
  /* padding-left: 6px; */
}

#fields input::placeholder {
  color: #030304;
  font-weight: 600;
}

.button_form {
  height: 3.6rem;
  width: 14.13rem;
  font-family: "Raleway", "Arial", sans-serif;
  font-weight: 900;
  font-size: 1.15rem;
  color: #ffffff;
  background-color: #371371;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 0;
  border-radius: 5px;
  text-align: center;
  transition: all 0.3s ease-in-out;
  position: relative;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  -webkit-box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.14);
  box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.14);
}

.button_form img {
  margin-left: 15px;
}

.button_form:hover,
.button_form:focus {
  background-color: #ffffff;
  color: #eb669f;
  border: #371371 solid 1px;
  -webkit-box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0);
  box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.007);
}

#oubli_form {
  text-align: center;
  font-size: 1.07rem;
  margin-right: 15px;
}

#oubli_form a {
  font-family: "Gordita", "Arial", sans-serif;
  font-weight: bold;
  font-size: 1.25rem;
  text-align: center;
  transition: all 0.3s;
  position: relative;
  color: #371371;
  text-decoration: none;
}

#oubli_form a span {
  color: #371371;
  font-weight: 500;
}

#oubli_form:hover span {
  color: #ffffff;
}
#oubli_form:hover a {
  color: #ffffff;
}

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

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

@media screen and (max-width: 599px) {
  .contenu {
    text-align: center;
  }

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

  #oubli_form a {
    margin-left: 0;
  }

  .button_form {
    margin-right: 0;
  }

  html {
    font-size: 11.5px;
  }
}
@media screen and (max-width: 960px) {
  #oubli_form a {
    color: #1a191a;
  }
  .contenu {
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    background-color: rgba(255, 255, 255, 0.75);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.125);
  }
}
@media screen and (max-width: 499px) {
  h2 {
    font-size: 3rem;
  }

  .disp {
    display: none;
  }
}

@media screen and (max-width: 411px) {
  h2 {
    font-size: 2.6rem;
  }
}

@media screen and (max-width: 392px) {
  #fields input[type="email"],
  #fields input[type="text"],
  #fields input[type="password"] {
    left: 8rem;
    width: calc(100% - 8rem);
  }

  #fields input[type="email"] + span.label,
  #fields input[type="text"] + span.label,
  #fields input[type="password"] + span.label {
    left: 8rem;
  }
}

@media screen and (min-width: 600px) {
  #page {
    padding: 2rem 0;
    overflow-x: hidden;
    position: relative;
  }

  .small-only {
    display: none;
  }

  div.hr {
    margin: 30px 0;
  }

  .contenu {
    justify-content: center;
    min-height: 100%;
    flex: 0 0;
    margin: auto;
    width: 100%;
    background-image: none;
    /* background-color: rgb(255 255 255 / 93%); */
    position: relative;
    z-index: 1;
    padding: 2.6rem;
    border-radius: 2rem;
    box-shadow: 2px 23px 51px 0px rgba(1, 1, 1, 0);
    max-width: 40rem;
  }

  .contenu .forme {
    position: relative;
    z-index: 1;
  }

  .bg {
    display: none;
  }

  .d-none {
    display: block;
  }

  .separateur {
    margin-left: 0;
  }

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

  .contenu header,
  .contenu main {
    max-width: 34rem;
  }
}

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

@media screen and (min-width: 960px) {
  #page {
    min-height: 100%;
    background: url(../images/bg.jpg) no-repeat left center;
    display: flex;
    flex-direction: row;
    background-size: cover;
    padding: 0;
    overflow-x: hidden;
  }

  .contenu {
    width: 75%;
    flex: 1 1 75%;
    max-width: unset;
    margin: 0;
    background: #2720b500;
    box-shadow: none;
    border-radius: 0;
    justify-content: center;
  }

  .bg {
    display: block;
    width: 25%;
    flex: 1 1 25%;
    height: initial;
  }
}

@media screen and (max-height: 767px) and (min-width: 1200px) {
  #page {
    padding: 2rem;
  }
}

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

  #page {
    background: url(../images/bg.jpg) no-repeat 15% center;
    background-size: cover;
  }

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

  .contenu {
    width: 50%;
    flex: 1 1 50%;
    position: relative;
    z-index: 1;
    background: none;
    min-width: 41.534rem;
    margin: auto;
  }

  .sous-div {
    margin-left: 2.5rem;
  }
}

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

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

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

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