@charset "UTF-8";
* {
  box-sizing: inherit;
}

html {
  height: 100%;
}

body {
  height: 100%;
  margin: 0;
  background-color: #fff;
  font-size: 1.2rem;
  font-family: "brandon", "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: #3d3d3d !important;
}

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

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

html {
  font-size: 11px;
}

#page {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  font-size: 1.2rem;
}

.small-only {
  display: block;
}

.contenu {
  margin-top: 7rem;
  width: 100%;
  background-color: #fff;
  flex: 1 1 100%;
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  align-content: center;
}

@media screen and (max-height:800px) {
  .contenu {
    margin-top: 3rem;
  }
}

@media screen and (max-height:750px) {
  .contenu {
    margin-top: 1rem;
  }
}

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

header, footer, main {
  width: 90%;
  margin: 0 auto;
}

div.hr {
  margin: 1.33rem 0;
}

div.hr.vert {
  background-color: #41cd48;
  height: 0.47rem;
  width: 4.27rem;
}

#logo {
  width: 100%;
  max-width: 100%;
  min-width: 100px;
  margin-bottom: 1em;
  margin-top: 3rem;
}

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

h2 {
  margin: 0;
  color: rgb(44, 53, 63);
  font-size: 3.797rem;
  font-weight: bold;
  font-family: "Poppins", "Arial", sans-serif;
  margin-bottom: 3rem;
}
/* .yellow_h2{
  background: linear-gradient(white 60%, rgb(249, 216, 70) 40%);
} */

h2::after{
  content: url(../images/aferH2.png);
  transform: translateX(-21rem) translateY(2rem) scale(85%);
  position: absolute;
}

h3 {
  margin: 0;
  margin-bottom: 1.6rem;
  font-size: 2.4rem;
  color: #000;
  line-height: 1.25;
  font-weight: 500;
}

.instructions {
  color: rgb(126, 129, 132);
  font-size: 1.3rem;
  margin-bottom: 4rem;
  line-height: 1.2;
  font-family: "Poppins", "Arial", sans-serif;
  font-weight: normal;
}

#fields {
  box-sizing: border-box;
  overflow: hidden;
  /* border: 2px solid #d9d9d9; */
  border-radius: 10px;
  /* -webkit-box-shadow: 0 0 15px 15px rgb(234,234,234) !important;
  box-shadow: 0 0 15px 15px rgb(234,234,234) !important; */
}

#fields .field {
  position: relative;
  background-color: #fff;
  margin: 0;
  border-radius: 0;
  height: 4.5rem;
  color: #3d4657;
  /* border-top: 1px solid #d9d9d9; */
}

#fields .field:first-of-type {
  border-top: 0;
  border-left: 3px solid rgb(255, 194, 33);
  border-left-color: rgb(255, 194, 33);
  background-color: #fff;
}

#fields .field:first-of-type label {
  margin-left: 0;
}

#fields .field:first-of-type input[type=email],
#fields .field:first-of-type input[type=text],
#fields .field:first-of-type input[type=password] {
  margin-left: 0;
}

#fields .field:first-of-type input[type=email] + span.label,
#fields .field:first-of-type input[type=text] + span.label,
#fields .field:first-of-type input[type=password] + span.label {
  margin-left: 0;
}

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

#fields label img {
  height: 24px;
  width: auto;
}

#fields input[type=email],
#fields input[type=text],
#fields input[type=password] {
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 50px;
  width: calc(100% - 50px);
  border: 0;
  color: rgb(44, 53, 63);
  box-sizing: border-box;
  margin-bottom: 0;
  height: 80% !important;
  font-size: 1.4rem !important;
  font-family: 'Poppins', Arial, sans-serif !important;
  font-weight: 600;
  caret-color: rgb(44, 53, 63);
  padding-left: 2rem;
}

#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: #3d3d3d;
  border: 0;
  box-shadow: none;
  outline: 0;
}

#fields input[type=email] + span.label,
#fields input[type=text] + span.label,
#fields input[type=password] + span.label {
  position: absolute;
  text-align: center;
  left: 50px;
  margin-left: 3px;
  color: rgb(126, 129, 132);
  top: 40%;
  -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;
  font-size: 1.33rem !important;
  font-weight: normal;
  font-family: 'Poppins', Arial, sans-serif !important;
  z-index: 1;
  -webkit-user-select: none; /* Safari */        
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE10+/Edge */
  user-select: none; /* Standard */
}

#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% - 10px));
  transform: translateY(calc(-50% - 10px));
}

#fields input[type=email].valide + span.validation::after,
#fields input[type=text].valide + span.validation::after,
#fields input[type=password].valide + span.validation::after {
  content: ' ';
  display: block;
  position: absolute;
  top: 53%;
  right: 15px;
  width: 25px;
  height: 25px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  background: url(../images/valid.png) no-repeat;
  background-size: contain;
}

#fields input[type=email].invalide + span.validation::after,
#fields input[type=text].invalide + span.validation::after,
#fields input[type=password].invalide + span.validation::after {
  content: ' ';
  display: block;
  position: absolute;
  top: 53%;
  right: 15px;
  width: 25px;
  height: 25px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  background: url(../images/invalid.png) no-repeat;
  background-size: contain;
}

#fields input[type=email]:focus:not([readonly]),
#fields input[type=text]:focus:not([readonly]),
#fields input[type=password]:focus:not([readonly]) {
  color: #3d4657;
  box-shadow: none;
  border: 0;
}

.button_form {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 4rem;
  width: 45%;
  font-family: 'Poppins', 'Arial', sans-serif;
  font-weight: 500;
  background-color: rgb(255, 194, 33);
  color: rgb(44, 53, 63);
  text-align: center;
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
  position: relative;

}

.button_form:hover {
  background-color: rgb(44, 53, 63);
  color: #fff;
}

.oubli_form {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 4rem;
  width: 45%;
  font-family: 'Poppins', 'Arial', sans-serif;
  font-weight: normal;
  background-color: rgb(231, 231, 231);
  color: rgb(44, 53, 63);
  text-align: center;
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
  position: relative;
}

.oubli_form:hover {
  background-color: rgb(255, 194, 33);
}

.dbl_btn {
  display: flex;
  margin: 5rem 0 2rem;
  justify-content: space-between;
}

#fields .field {
  height: 6.53rem;
  padding-left: 7px;
}
#fields .field:first-of-type {
  border-left-width: 7px;
}
#fields label {
  width: 6.67rem;
  margin-left: 7px;
}
#fields label img {
  height: 35px;
}
#fields input[type=email],
#fields input[type=text],
#fields input[type=password] {
  left: 6.67rem;
  width: calc(100% - 6.67rem);
  height: 75px;
  margin-left: 7px;
}
#fields input[type=email] + span.label,
#fields input[type=text] + span.label,
#fields input[type=password] + span.label {
  margin-left: 7px;
  left: 6.67rem;
}

@media screen and (max-width: 499px) {
  h2{
    font-size: 3.2rem;
  }
  h2::after{
    transform: translateX(-18rem) translateY(2rem) scale(65%);
  }
}

@media screen and (max-width: 499px) {
  h2{
    font-size: 2.8rem;
  }
}

@media screen and (min-width: 600px) {
  #page {
    padding: 2rem 0;
    background: url(../images/bg.jpg) no-repeat center center;
    /*url(../images/Ellipse-2.png) no-repeat left bottom
					//, linear-gradient(15deg, $couleur-active, $couleur-bouton-hover) no-repeat bottom left
		,*/
    background-size: cover;
    background-color: #023368;
  }
  .small-only {
    display: none;
  }
  div.hr {
    margin: 30px 0;
  }
  .contenu {
    justify-content: center;
    height: 75%;
    flex: 0 0;
    margin: auto;
    width: 90%;
    background-image: none;
  }
  .bg {
    display: none;
  }
  header, main, footer {
    width: 75%;
  }
}

@media screen and (min-width:690px) {
  .contenu {
    width: 75%;
  }
}

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

@media screen and (min-width: 960px) {
  html {
    font-size: 11px;
  }
  #page {
    min-height: 100%;
    display: flex;
    flex-direction: row;
    background-position: left center;
    padding: 0;
    background: none;
  }
  .contenu {
    width: 60%;
    flex: 1 1 60%;
    height: initial;
    margin: initial;
    background-color: #fff;
    background: url(../images/contenu-bg.jpg) no-repeat top center;
  }
  .bg {
    background: transparent;
    background: #023368;
    background: url(../images/bg.jpg) no-repeat top center;
    background-size: cover;
    order: -1;
    padding-top: 37%;
    display: block;
    width: 40%;
    flex: 1 1 40%;
    height: initial;
    position: relative;
    overflow: hidden;
  }
  .bg .illu_1, .bg .illu_2 {
    width: 75%;
    max-width: 58.8rem;
    height: 75%;
    max-height: 59.27rem;
    position: absolute;
    bottom: 0;
    left: 0;
    -webkit-transform: translate(-40%, 40%);
    transform: translate(-40%, 40%);
    mix-blend-mode: multiply;
  }
  .bg .illu_1 img, .bg .illu_2 img {
    max-width: 100%;
    height: auto;
  }
  .bg .illu_1 img {
    -webkit-animation: 7s linear 0s infinite reverse rotate;
    animation: 7s linear 0s infinite reverse rotate;
  }
  .bg .illu_2 img {
    -webkit-animation: 12s linear 0s infinite rotate;
    animation: 12s linear 0s infinite rotate;
  }
}

@media screen and (min-width: 1200px) {
  html {
    font-size: 12px;
  }
  .contenu {
    width: 60%;
    flex: 1 1 60%;
  }
  .bg {
    width: 40%;
    flex: 1 1 40%;
  }
  header, main, footer {
    width: 62%;
    max-width: 36rem;
  }
  header .hr {
    margin: 2rem 0 2.87rem;
  }
  #fields {
    max-width: 36rem;
  }
  h2::after{
    transform: translateX(-19.5rem) translateY(2rem) scale(95%);
  }
}

@media screen and (min-width: 1375px) {
  html {
    font-size: 13px;
  }
  .contenu {
    width: 55%;
    flex: 1 1 55%;
  }
  .bg {
    width: 45%;
    flex: 1 1 45%;
  }
  header, main, footer {
    width: 62%;
    max-width: 36rem;
    margin-right: 15rem;
  }
  #fields {
    max-width: 36rem;
  }
}

@media screen and (min-width: 1510px) {
  .contenu {
    width: 50%;
    flex: 1 1 50%;
  }
  .bg {
    width: 50%;
    flex: 1 1 50%;
  }
}

@media screen and (min-width: 1800px) {
  .contenu {
    width: 42%;
    flex: 1 1 42%;
  }
  .bg {
    width: 58%;
    flex: 1 1 58%;
  }
}

@media all and (-ms-high-contrast: none) and (max-width: 961px), (-ms-high-contrast: active) and (max-width: 961px) {
  #page {
    background: #fff;
    display: block;
  }
}

@media all and (-ms-high-contrast: none) and (min-width: 960px), (-ms-high-contrast: active) and (min-width: 960px) {
  #page {
    min-height: 100vh;
  }
  .contenu,
  .bg {
    min-height: 100vh;
  }
  .bg .illu_1, .bg .illu_2 {
    opacity: 0.65;
  }
}

@supports not (mix-blend-mode: multiply) {
  .bg .illu_1, .bg .illu_2 {
    opacity: 0.65;
  }
}
