@charset "UTF-8";



* {
  box-sizing: inherit;
}

html {
  height: 100%;
  font-size: 12px;
}

body {
  height: 100%;
  margin: 0;
  background-color: #fff;
  color: #000;
  font-size: 1.2rem;
  font-family: 'Poppins', 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: rgb(1, 33, 48) !important;
}

::-webkit-input-placeholder,
:-moz-placeholder,
::-moz-placeholder,
:-ms-input-placeholder {
  font-style: italic;
  color: rgb(1, 33, 48) !important;
  opacity: 1 !important;
}

input::placeholder {
  color: rgb(1, 33, 48);
}

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

#page {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  font-size: 1.2rem;
  background-image: url(../images/bg.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 68% 50%;
  align-items: center;
  justify-content: center;
}

.small-only {
  display: block;
}

.contenu {
  width: 100%;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
}

.contenu-bg {
  width: 40vw;
  min-width: 42rem;
  background-color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  align-items: center;
  padding: 2rem;
  border-radius: 2rem;
  margin: 3rem;
}

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

div.hr {
  margin: 1.33rem 0;
}

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

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

h2 {
  font-family: 'Poppins', "Arial", sans-serif;
  margin: 0;
  color: #d90f16;
  font-weight: bold;
  font-size: 3.039rem;
  line-height: 1.2;
  letter-spacing: 0.4rem;
  text-transform: uppercase
}

h3 {
  font-family: 'Poppins', "Arial", sans-serif;
  margin: 0;
  color: #d90f16;
  font-size: 2.493rem;
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0.7rem;
  text-transform: uppercase;
}

h3 span {
  font-weight: bold;
}

.instructions {
  color: #8f205e;
  font-size: 1.6rem;
  line-height: 1.2;
  font-family: "Poppins", "Arial", sans-serif;
  font-weight: 300;
  margin: 3rem 0 3.25rem;
}

.instructions span {
  font-weight: 500;
}

.display {
  display: none;
}

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

#fields .field {
  position: relative;
  background-color: #f3f4f5;
  margin: 0;
  border-radius: 0;
  height: 3.6rem;
}

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

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

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

#fields label:after {
  content: '';
  border-right: 1px solid #1e1f1f;
  opacity: 1;
  position: absolute;
  top: 8px;
  bottom: 8px;
  right: 0;
  width: 100%;
}

#fields input[type=email],
#fields input[type=text],
#fields input[type=password] {
  font-size: 1.25rem !important;
  font-weight: normal;
  font-family: "Poppins", "Arial", sans-serif !important;
  color: #223844 !important;
  position: absolute;
  z-index: 1;
  bottom: 0px;
  left: 7rem;
  width: calc(100% - 7rem);
  box-sizing: border-box;
  margin-bottom: 0;
  height: 100% !important;
  border-bottom: none;
  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: #223844;
  box-shadow: none;
  outline: 0;
}

#fields input[type=email]+span.label,
#fields input[type=text]+span.label,
#fields input[type=password]+span.label {
  color: #223844 !important;
  font-size: 1.2rem !important;
  font-weight: normal;
  font-family: "Poppins", "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: 4rem;
  width: 15.8rem;
  font-family: "Poppins", "Arial", sans-serif;
  font-weight: 300;
  font-size: 1.35rem;
  color: #fff;
  background-color: #8f205e;
  background-position: 0% 100%;
  background-size: 200%;
  max-width: 28.87rem;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 3rem 0;
  text-align: center;
  transition: all 0.3s ease-in-out;
  position: relative;
  border-radius: 15px;
}

.button_form:hover {
  background-position: 100% 100%;
  background-color: #d90f16;
  -webkit-box-shadow: 4px 15px 22px 12px rgba(0, 0, 0, 0.15);
  box-shadow: 4px 15px 22px 12px rgba(0, 0, 0, 0.15);
}

.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: "Poppins", "Arial", sans-serif;
  font-size: 1.3rem;
  position: relative;
  width: 100%;
  margin-top: 1rem;
  margin-bottom: 1.25rem;
}

#oubli_form a {
  font-weight: normal;
  color: #405059;
  text-decoration: none;
  position: relative;
  z-index: 2;
  background-color: none;
  transition: all 0.3s ease-in-out;
  border-bottom: 1px solid #405059;
}

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

#oubli_form a:hover {
  color: #8f205e;
}

.separateur {
  width: 50px;
  margin: 1.2rem 0;
  height: 4px;
  border: none;
  border-radius: 50px;
  background: #020230;
}

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

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

@media screen and (max-width: 1200px) {
  .contenu {
    justify-content: center;
  }

  #logo {
    width: 84%;
    margin: 3rem 0;
  }

  .button_form{
    margin: 3rem auto;
  }

  #page {
    background-image: url(../images/bg-2.jpg);
  }

  html {
    font-size: 11px;
  }
}
