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

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

.small-only {
  display: block;
}

.contenu {
  width: 100%;
  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: #AE0018;
  border: none;
  width: 4.2rem;
  height: 5px;
  margin-top: 1.5rem;
  margin-bottom: 2.2rem;
  margin-left: 0;
}

#logo {
  width: 100%;
  /* max-width: 32.934rem; */
  min-width: 100px;
  text-align: left;
  margin-bottom: 2rem;
}

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

h2 {
  margin: 0;
  font-size: 2.05rem;
  font-weight: 700;
  box-sizing: border-box;
  font-family: 'Poppins', "Arial", sans-serif;
  line-height: 1;
  color: rgb(238, 125, 115);
  text-align: left;
}

h3 {
  margin: 0;
  margin-bottom: 1rem;
  color: rgb(238, 125, 115);
  font-size: 2.05rem;
  font-weight: 700;
  line-height: 1.3;
  font-family: 'Poppins', "Arial", sans-serif;
  text-align: left;
}

.instructions {
  font-family: 'Poppins', "Arial", sans-serif;
  text-align: left;
  color: #333333;
  font-size: 1.2rem;
  line-height: 1.5;
  font-weight: 300;
  margin-bottom: 1.5rem;
  margin-top: 0;
}

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

#fields {
  box-sizing: border-box;
  border: 1px solid #ffffff;
  margin-bottom: 1rem;
  border-radius: 5px;
  border: 1px #064B88 solid;
  background-color: #fff;
}

#fields .field {
  position: relative;
  background-color: #eeeeee00;
  height: 6.3rem;
  /* -webkit-box-shadow: -1px 3px 38px 0px rgba(0, 0, 0, 0.14);
  box-shadow: -1px 3px 38px 0px rgba(0, 0, 0, 0.14); */
}

#fields .field:first-child {
  border-bottom: 1px solid #868686;
}

#fields .field:last-child {}

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

#fields label img {
  height: 32px;
  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.07rem !important;
  font-weight: normal;
  font-family: "Poppins", "Arial", sans-serif !important;
  color: #727272 !important;
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 5.73rem;
  width: calc(100% - 5.73rem);
  border-bottom: 0;
  height: 100% !important;
  box-sizing: border-box;
  margin-bottom: 0;
}

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

#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;
  border-bottom-color: #868686;
  
}

#fields input[type=email]+span.label, #fields input[type=text]+span.label, #fields input[type=password]+span.label {
  color: #333333 !important;
  font-size: 1.2rem !important;
  font-weight: bold;
  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 {
  color: #030304;
  font-weight: 600;
}

.button_form {
  height: 3.4rem;
  width: 14.13rem;
  font-family: 'Poppins', "Arial", sans-serif;
  font-weight: 300;
  font-size: 1.2rem;
  color: #ffffff;
  background-color: rgb(238, 125, 115);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  /* border: 2px solid #2e277b; */
  border-radius: 5px;
  text-align: center;
  transition: all 0.3s ease-in-out;
  position: relative;
  /* letter-spacing: 1px; */
}

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

.button_form:hover, .button_form:focus {
  background-color: #064B88;
  color: #fff;
}

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

#oubli_form a {
  font-family: 'Poppins', "Arial", sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
  text-align: center;
  transition: all 0.3s ease-in-out;
  position: relative;
  color: rgb(238, 125, 115);
  opacity: 1;
  text-decoration: none;
  border-bottom: 1px solid;
}

#oubli_form a:hover {
  color: #0969bd;
}

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

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

@media screen and (max-width: 599px) {
  .contenu {
    text-align: center;
  }
  #oubli_form a {
    font-size: 1rem;
    margin:0;
  }
  #logo{
    width: 100%;
  }
}

@media screen and (min-width: 600px) {
  #page {
    padding: 2rem 0;
    background: url(../images/bg-2.jpg) no-repeat left center;
    background-size: cover;
    overflow: hidden;
    position: relative;
  }
  h3 {
    white-space: nowrap;
  }
  .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;
    position: relative;
    z-index: 1;
    padding: 2.6rem;
    border-radius: 2rem;

    /* box-shadow: 2px 23px 51px 0px rgba(1, 1, 1, 0.295); */
    max-width: 39.534rem;
  }
  .contenu .forme {
    position: relative;
    z-index: 1;
    top: 1rem;
  }
  .bg {
    display: none;
  }
  .d-none {
    display: block;
  }
  .separateur {
    margin-left: 0;
  }
  header, main, footer {
    width: 100%;
  }
  .contenu header, .contenu main {
    max-width: 34.4rem;
  }
}

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

@media screen and (min-width: 960px) {
  #page {
    min-height: 100%;
    display: flex;
    flex-direction: row;
    background-size: cover;
    padding: 0;
    overflow: hidden;
  }
  .contenu {
    width: 50%;
    flex: 1 1 50%;
    max-width: unset;
    margin: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
  }
  #page {
    background: url(../images/bg.jpg) no-repeat left;
    background-position-x: 30%;
  }
  .bg {
    display: block;
    width: 50%;
    flex: 1 1 50%;
    height: initial;
  }
}

/* @-webkit-keyframes jelly {
  25% {
    -webkit-transform: scale(0.9, 1.1);
    transform: scale(0.9, 1.1);
  }
  50% {
    -webkit-transform: scale(1.1, 0.9);
    transform: scale(1.1, 0.9);
  }
  75% {
    -webkit-transform: scale(0.95, 1.05);
    transform: scale(0.95, 1.05);
  }
}

@keyframes jelly {
  25% {
    -webkit-transform: scale(0.9, 1.1);
    transform: scale(0.9, 1.1);
  }
  50% {
    -webkit-transform: scale(1.1, 0.9);
    transform: scale(1.1, 0.9);
  }
  75% {
    -webkit-transform: scale(0.95, 1.05);
    transform: scale(0.95, 1.05);
  }
} */

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

@media screen and (min-width: 1200px) {
  html {
    font-size: 14px;
  }
  #page {
    background: url(../images/bg.jpg) no-repeat 15% center;
    background-size: cover;
  }
  .bg {
    width: 55%;
    flex: 1 1 55%;
  }
  .contenu {
    width: 45%;
    flex: 1 1 45%;
    position: relative;
    z-index: 1;
    background: none;
    min-width: 41.534rem;
    margin: auto;
  }
  .sous-div {
    margin-left: 2.5rem;
  }
  #logo {
    min-width: 33.934rem;
  }
}

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

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

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

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