@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: "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 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: #24234f !important;
}

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

.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: 13px;
}

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

.small-only {
  display: block;
}

.contenu {
  width: 100%;
  background: transparent;
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  background-color: #fff;
  box-shadow: rgb(0 0 0 / 10%) 2px 1px 20px 13px;
}

.bg-main {
  background-color: #fff;
}

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

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

.separateur {
  background: rgb(92, 225, 230);
  border: none;
  width: 3.5rem;
  height: 3px;
  margin: 2rem 0;
  margin-left: 0;
}

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

#logo img {
  max-width: 82%;
  height: auto;
  border: 0;
}
.logo-1{
  display: none;
}

h2 {
  margin: 0;
  font-size: 2.6rem;
  letter-spacing: 0.3rem;
  font-weight: bold;
  box-sizing: border-box;
  font-family: "Poppins", "Arial", sans-serif;
  color: #24234f;
  text-align: left;
  text-transform: uppercase;
}

h3 {
  margin: 0;
  color: #24234f;
  font-size: 2.8rem;
  font-weight: bold;
  line-height: 1;
  font-family: "Poppins", "Arial", sans-serif;
  text-align: left;
  text-transform: uppercase;

}

h3 span {
  color: #E51C22;
}

.instructions {
  font-family: "Poppins", "Arial", sans-serif;
  text-align: left;
  font-size: 1.04rem;
  line-height: 1.2;
  color: #24234f;
  font-weight: 300;
  margin-bottom: 2rem;
}

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

#fields .field {
  position: relative;
  height: 2.6rem;
  background-color: #f4f4f4;
  width: 100%;
}

#fields .field:first-child {
  margin-bottom: 1.4rem;
}

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

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

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

#fields label:after {
  content: '';
  border-right: 1px solid #24234f;
  opacity: 1;
  position: absolute;
  top: 0.6rem;
  bottom: 0.8rem;
  right: 0;
  width: 100%;
}

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

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

#fields input[type=email]+span.label, #fields input[type=text]+span.label, #fields input[type=password]+span.label {
  color: #24234f !important;
  font-size: 1.2rem !important;
  font-weight: 300;
  font-family: "Poppins", "Arial", sans-serif !important;
  position: absolute;
  text-align: center;
  left: 5.73rem;
  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% - 16px)) scale(0.7);
  transform: translateY(calc(-50% - 16px)) scale(0.7);
}

#fields input::placeholder {
  font-family: "Poppins", "Arial", sans-serif;
  color: #24234f;
  font-weight: 300;
}

.button_form {
  height: 3rem;
  padding: 0 2rem;
  font-family: "Poppins", "Arial", sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: rgb(255, 255, 255);
  background-image: linear-gradient(to right, #312a6f, #312a6f, #e51c22, #e51c22);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  text-align: center;
  /* transition: all 0.3s ease-in-out; */
  position: relative;
  letter-spacing: 0.15rem;
  text-transform: uppercase;

  background-size: 300% 100%;
  moz-transition: all .4s ease-in-out;
  -o-transition: all .4s ease-in-out;
  -webkit-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out;
}

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

.button_form:hover, .button_form:focus {
  background-position: 100% 0;
  moz-transition: all .4s ease-in-out;
  -o-transition: all .4s ease-in-out;
  -webkit-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out;
}

#oubli_form {
  text-align: right;
}

#oubli_form a {
  height: 3rem;
  padding: 0 2rem;
  font-family: "Poppins", "Arial", sans-serif;
  font-weight: 300;
  font-size: 0.9rem;
  color: rgb(0, 0, 0);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  text-align: center;
  transition: all 0.3s ease-in-out;
  position: relative;
  text-decoration: none;
  margin-right: 1rem;

  background-image: linear-gradient(to right, #dbdbdb, #dbdbdb, #BCC0C1, #BCC0C1);

  background-size: 300% 100%;
  moz-transition: all .4s ease-in-out;
  -o-transition: all .4s ease-in-out;
  -webkit-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out;
}

#oubli_form a:hover {
  background-position: 100% 0;
  moz-transition: all .4s ease-in-out;
  -o-transition: all .4s ease-in-out;
  -webkit-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out;
}

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

.dbl-btn {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: nowrap;
  align-items: flex-start;
  margin-top: 10%;
}


4%;
}


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

  #logo img {
    max-width: 60%;
  }
  #logo{
    margin-bottom: 2rem;
  }

  .contenu {
    padding: 0 2rem;
  }

  .disp {
    display: none;
  }

  #oubli_form {
    margin-bottom: 2;
  }

  h2 {
    font-size: 2.8rem;
    letter-spacing: 0.6rem;
  }

  h3 {
    font-size: 2.45rem;
  }

  .instructions{
    font-size: 1.34rem;
  }
}

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

  h3 {
    font-size: 2.23rem;
  }

} */

@media screen and (max-width: 955px) {
  .logo-2{
    display: none;
  }
  .logo-1{
    display:block;
  }
}


@media screen and (min-width: 600px) {
  #page {
    background: url(../images/bg.jpg) no-repeat right center;
    padding: 2rem 0;
    background-size: cover;
    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);
    position: relative;
    z-index: 1;
    border-radius: 30px;
    padding: 3.7rem 5rem;
    max-width: fit-content;
  }

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

  .bg {
    display: none;
  }

  .d-none {
    display: block;
  }

  .separateur {
    margin-left: 0;
  }

  header, footer {
    width: 100%;
  }

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

}

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

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

  .contenu {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
  }

  #logo {
    margin: 0;
    position: relative;
    text-align: left;
  }

  #logo img {
    position: absolute;
    bottom: 5.9rem;
    left: 9rem;
    max-width: 100%;
  }

  header, main {
    margin: 0;
    width: 33rem;
    max-width: 100%;
  }

  main {
    border-left: 1px solid #2D588E;
    padding: 0 2rem 0 4rem;
  }

  .bg {
    display: none;
  }

  .contenu header, .contenu main {
    max-width: 100%;
  }

}

@media screen and (min-width: 1000px) {
  .contenu {
    width:100%;
  }
  html {
    font-size: 12px;
  }

}

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

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

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

  #fields, .dbl-btn, .instructions {
    width: 100%;
  }

  .dbl-btn {
    position: absolute;
    top: 58.7%;
    right: 0;
    width: 37rem;
    z-index: -1;
  }

  .button_form, #oubli_form a {
    border-radius: 0 0 5px 5px;

  }

}

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

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

/* @media screen and (min-width: 1900px) {
  h3 {
    font-size: 2.18vw;
  }
} */

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

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