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

::-webkit-input-placeholder, :-moz-placeholder, ::-moz-placeholder, :-ms-input-placeholder {
  font-style: italic;
  color: #ffffff !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: 15px;
}

#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%;
  flex: 1 1 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-content: center;
  flex-wrap: wrap;
  align-items: center;
}

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

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

.separateur {
  background: #484846;
  border: none;
  width: 4px;
  height: 8rem;
  margin: 2rem 0;
  margin-left: 0;
}

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

#logo img {
  max-width: 100%;
  height: auto;
  border: 0;
  position: relative;
  top: -3rem;
}

#logo-responsive, #logo {
  display: none;
}

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: #484846;
  text-align: left;
  text-transform: uppercase;
}

h3 {
  margin: 0;
  color: #484846;
  font-size: 3.09rem;
  font-weight: 600;
  line-height: 1;
  font-family: "Poppins", "Arial", sans-serif;
  text-align: left;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.sub2{
  letter-spacing: 0.73rem;
  line-height: 4rem;
}

h3 span {
  color: #0ca5aa;
}

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

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

#fields .field {
  position: relative;
  height: 3.6rem;
  border-bottom: 1px solid #b7bbc0;
}

#fields .field:first-child {
  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 #b7bbc0;
  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: #484846 !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: #484846;
  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: #ffffff;
  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: #ffffff !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);
}

#fields input::placeholder {
  font-family: "Poppins", "Arial", sans-serif;
  color: #484846;
  font-weight: bold;
}

.button_form {
  height: 3.8rem;
  width: 49%;
  font-family: "Poppins", "Arial", sans-serif;
  font-weight: bold;
  font-size: 1.2rem;
  color: rgb(255, 255, 255);
  background-color: #0ca5aa;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 0 0;
  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: #484846;
}

#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: #484846;
  opacity: 1;
  text-decoration: none;
}

#oubli_form a:hover {
  color: #73c5eb;
}

.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: 600px) {
  .contenu {
    background: none!important;
  }

  #page {
    background: url(../images/bg.jpg) no-repeat 77% center
  }
}

@media screen and (max-width: 1260px) {
  html {
    font-size: 1.4vh;
  }

  #logo-responsive {
    width: 100%;
    max-width: 31rem;
    min-width: 100px;
    margin-left: 0;
    text-align: center;
    display: block;
    margin-bottom: 2rem;
  }

  .contenu {
    flex-direction: column;
    /*background: #00000054;*/
    width: 40rem;
    max-height: 57rem;
    border-radius: 2rem;
    margin: auto;

  }

  .separateur {
    display: none;
  }

}

@media screen and (min-width:360px) and (max-width:428px) {
  header, main{
    width: 100%;
    max-width: 34rem;
    right: 30px;
    position: relative; 
  }
  
  #oubli_form {
    text-align: right;
    margin-top: 2.3rem;
    margin-bottom: 2.3rem;
    left: -30px;
    position: relative;
  }

  #logo-responsive{
    position: relative;
    right: 4rem;
  }
}


@media screen and (min-width: 1260px) {

  #logo {
    display: block;
  }

  .contenu {
    margin-top: 10%;
  }

  main {
    margin-top: 1rem;
  }
}
