@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: #727272 !important;
}

::-webkit-input-placeholder, :-moz-placeholder, ::-moz-placeholder, :-ms-input-placeholder {
  font-style: italic;
  color: #727272 !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: 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: rgba(255, 255, 255, 0.9);
}

.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;
  text-align: left;
  max-width: 32rem;
  margin: 0 auto 4rem;
}

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

h2 {
  margin: 0;
  font-size: 4.6rem;
  letter-spacing: 0.8rem;
  font-weight: bold;
  box-sizing: border-box;
  font-family: "Poppins", "Arial", sans-serif;
  color: rgb(28, 28, 28);
  text-align: left;
  text-transform: uppercase;
  margin-bottom: -0.4rem;
}

h3 {
  margin: 0;
  color: rgb(28, 28, 28);
  font-size: 3.23rem;
  font-weight: 200;
  line-height: 1;
  font-family: "Poppins", "Arial", sans-serif;
  text-align: left;
  text-transform: uppercase;
  margin-bottom: 2rem;
}
h3 span {
  font-weight: bold;
}

h3 span .sub1 {
  background: -webkit-linear-gradient(25deg, rgb(241, 135, 94), rgb(238, 120, 97));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h3 span .sub2 {
  background: -webkit-linear-gradient(25deg, rgb(245, 159, 90), rgb(240, 126, 95));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.instructions {
  font-family: "Poppins", "Arial", sans-serif;
  text-align: left;
  color: rgb(28, 28, 28);
  font-size: 1.3rem;
  line-height: 1.2;
  font-weight: 300;
  margin-bottom: 2rem;
}

/* .color{
  font-weight: normal;
} */

#fields {
  box-sizing: border-box;
  /* border: 1px solid #333333;
  border-radius: 5px; */
  background-color: #ffffff00;
  max-width: 100%;
  width: 100%;
}

#fields .field {
  position: relative;
  height: 3.6rem;
  /* -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); */
  border-bottom: 1px solid rgb(28, 28, 28);
}

#fields .field:first-child {
  /* border-bottom: 1px solid rgb(199, 199, 199); */
  margin-bottom: 1.4rem;
}

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

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

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

#fields label:after {
  content: '';
  border-right: 1px solid rgb(28, 28, 28);
  opacity: 1;
  position: absolute;
  top: 0.6rem;
  bottom: 0.8rem;
  right: -1rem;
  width: 100%; 
}

#fields input[type=email], #fields input[type=text], #fields input[type=password] {
  font-size: 1.3rem !important;
  font-weight: normal;
  font-family: "Poppins", "Arial", sans-serif !important;
  color: rgb(28, 28, 28) !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(28, 28, 28);
  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: #000000 !important;
  font-size: 1.2rem !important;
  font-weight: normal;
  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);
  /* padding-left: 6px; */
}

#fields input::placeholder {
  font-family: "Poppins", "Arial", sans-serif;
  color: rgb(28, 28, 28);
  font-weight: normal;
}

.button_form {
  height: 3.8rem;
  width: 49%;
  font-family: "Poppins", "Arial", sans-serif;
  font-weight: bold;
  font-size: 1.2rem;
  color: white;
  background-color: rgb(3, 100, 78);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 0 0;
  /* border: 2px solid #2e277b; */
  /* border-radius: 5px; */
  text-align: center;
  transition: all 0.3s ease-in-out;
  position: relative;
  letter-spacing: 0.15rem;
  text-transform: uppercase;
}

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

.button_form:hover, .button_form:focus {
  background-color: rgb(28, 28, 28);
  /* -webkit-animation: jelly 0.5s;
  animation: jelly 0.5s; */
}

#oubli_form {
  text-align: right;
  margin-top: 2.3rem;
  margin-bottom: 2.3rem;
}

#oubli_form a {
  font-family: "Poppins", "Arial", sans-serif;
  font-weight: normal;
  font-size: 1.3rem;
  text-align: center;
  transition: all 0.3s ease-in-out;
  position: relative;
  color: rgb(28, 28, 28);
  opacity: 1;
  text-decoration: none;
}

#oubli_form a:hover {
  color: rgb(3, 100, 78);
}

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

.dbl-btn {
  display: flex;
  flex-direction: column;
}

@media screen and (max-width: 499px) {
  html {
    font-size: 12px;
  }
  #logo img {
    max-width: 60%;
  }
  .contenu {
    padding: 0 2rem;
  }
  .disp {
    display: none;
  }
  #oubli_form {
    margin-bottom: 2;
  }
  h2 {
    font-size: 3.6rem;
    letter-spacing: 0.6rem;
  }
  h3 {
    font-size: 2.45rem;
  }
}

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


@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: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
    border-radius: 0;
    /* box-shadow: 2px 23px 51px 0px rgba(1, 1, 1, 0.1); */
    max-width: 41.534rem;
    padding: 2rem 0;
  }
  .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) {
  #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 {
    width: unset;
    flex: unset;
    position: unset;
    z-index: 1;
    background: unset;
    min-width: unset;
    margin: unset;

    width: unset;
    flex:unset;
    max-width: unset;
    margin: unset;
    background:unset;
    box-shadow: unset;
    border-radius:unset;

    justify-content: unset;
    min-height: unset;
    flex: unset;
    margin: unset;
    width: unset;
    background-image: unset;
    background-color: unset;
    position: unset;
    z-index: unset;
    border-radius: unset;
    max-width: unset;

    width: unset;
    background: unset;
    flex: unset;
    display: unset;
    flex-direction: unset;
    justify-content: unset;
    align-content: unset;
  }

  .contenu {
    margin: auto;
    width: 95vw;
    min-height: 60vh;
    max-width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-template-areas: 
    "  .   img"
    "head  main"
    ;
    padding-left: 7.5rem;
    padding-bottom: 7rem;
  }
  #logo {
    grid-area: img;
    margin: 0;
    padding-left: 10%;
    position: relative;
    text-align: left;
  }
  #logo img {
    position: absolute;
    bottom: 2rem;
    max-width: 75%;
  }

  header {
    grid-area: head;
    padding-right: 10%;
  }

  main {
    grid-area: main;
    padding-left: 10%;
  }

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

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

  h2 {
    font-size: 6.1vw;
    letter-spacing: 0.4rem;
    line-height: 1.3;
    margin-bottom: -1.1rem;
    position: relative;
  }

  h2::after {
    content: '';
    position: absolute;
    width: 3px;
    height: 9.5rem;
    background-color: rgb(28, 28, 28);
    top: 3rem;
    right: -10%;
  }

  h3 {
    font-size: 3.85vw;
  }
}

@media screen and (min-width: 1000px) {
  .contenu {
    width: 90vw;
  }
  h2 {
    font-size: 5.93vw;
  }
  h3 {
    font-size: 3.67vw;
  }
}

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

@media screen and (min-width: 1200px) {
  html {
    font-size: 13px;
  }
  .sous-div {
    margin-left: 2.5rem;
  }
  
  .contenu {
    width: 83vw;
    min-height: 65vh;
    
    padding-left: 8rem;
  }

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

  h2 {
    font-size: 5.5vw;
    letter-spacing: 0.4rem;
    line-height: 1.3;
    margin-bottom: -1.1rem;
  }
  h3 {
    font-size: 3.4vw;
  }
}

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

@media screen and (min-width:1400px) {
  .contenu {
    width: 77vw;
  }
  h2 {
    font-size: 4.85vw;
  }
  h3 {
    font-size: 3vw;
  }
  .instructions {
    margin-top: 2rem;
  }
}

@media screen and (min-width: 1600px) and (min-height: 860px) {
  html {
    font-size: 14px;
  }
  h2 {
    font-size: 5.17vw;
    letter-spacing: 0.6rem;
  }
  h3 {
    font-size: 3.22vw;
  }
  h2::after {
    top: 5rem;
  }
}

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

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