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

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

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

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

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

.small-only {
  display: block;
}

.contenu {
  width: 100%;
  /* background: #fff; */
  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%;
  margin: 0 auto;
}

div.hr {
  margin: 1.33rem 0;
}

#logo {
  width: 100%;
  min-width: 100px;
  margin: 0;
  margin-bottom: 4rem;
  text-align: center;
}

#logo img {
  max-width: 25rem;
  height: auto;
  border: 0;
}

h2 {
  margin: 0;
  color: #000000;
  font-size: 3rem;
  font-weight: bold;
  box-sizing: border-box;
  font-family: 'Josefin Sans', Arial, sans-serif;
  letter-spacing: -0.025rem;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

h3 {
  font-family: 'Josefin Sans', "Arial", sans-serif;
  margin: 0;
  margin-bottom: 1.5rem;
  font-size: 3rem;
  font-weight: bold;
  text-transform: none;
  line-height: 1;
  letter-spacing: 0.025rem;
  text-align: center;
  z-index: 1000;
}

/* 
h3 span{
  color: #e33044;
} */

.instructions {
  color: #9a9999;
  font-size: 1.35rem;
  line-height: 1.2;
  font-weight: normal;
  margin-bottom: 2.67rem;
  margin-top: 1.33rem;
}

.color {
  font-weight: normal;
}

#fields {
  box-sizing: border-box;
  overflow: visible;
  max-width: 31.429rem;
  margin: auto;
  /* -webkit-box-shadow: 0 0 11px 3px rgb(1 1 1 / 10%);
  box-shadow: 0 0 11px 3px rgb(1 1 1 / 10%); */
  /* border-radius: 10px; */
}

#fields .field {
  position: relative;
  background-color: transparent;
  margin: 0;
  height: 4.545rem;
  /* border-radius: 5px; */
  width: 100%;
  border-bottom: 1px solid #d2d8e7;
}

#fields .field:first-of-type {
  margin-bottom: 1.667rem;
}

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

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

#fields label img {
  height: 2rem;
  width: auto;
  position: relative;
}

#fields label::after {
  content: '';
  position: absolute;
  width: 1px;
  height: 2rem;
  background: #9e9e9e;
  right: 10px;
}

#fields input[type=email], #fields input[type=text], #fields input[type=password] {
  font-size: 1.8rem !important;
  font-weight: 300;
  font-family: 'Josefin Sans', "Arial", sans-serif !important;
  color: #212934 !important;
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 6.77rem;
  width: calc(100% - 6.77rem);
  height: 100% !important;
  /* border-bottom: 1px solid #000; */
  box-sizing: border-box;
  margin-bottom: 0;
  margin-left: -5px;
  padding-left: 10px;
}

#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: #042c5d;
  box-shadow: none;
  outline: 0;
}

#fields input[type=email]+span.label, #fields input[type=text]+span.label, #fields input[type=password]+span.label {
  color: #70cbed !important;
  font-size: 2.2rem !important;
  font-weight: 300;
  font-family: 'Josefin Sans', "Arial", sans-serif !important;
  position: absolute;
  text-align: center;
  left: 6.77rem;
  top: 50%;
  margin-left: 0;
  padding-left: 6px;
  -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;
  letter-spacing: 1px;
}

#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% - 1.6rem)) scale(0.7);
  transform: translateY(calc(-50% - 1.6rem)) scale(0.7);
  padding-left: 6px;
}

#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: #042c5d;
}

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, input:not([type]):focus:not([readonly]), input[type=text]:not(.browser-default):focus:not([readonly]), input[type=password]:not(.browser-default):focus:not([readonly]), input[type=email]:not(.browser-default):focus:not([readonly]), input[type=url]:not(.browser-default):focus:not([readonly]), input[type=time]:not(.browser-default):focus:not([readonly]), input[type=date]:not(.browser-default):focus:not([readonly]), input[type=datetime]:not(.browser-default):focus:not([readonly]), input[type=datetime-local]:not(.browser-default):focus:not([readonly]), input[type=tel]:not(.browser-default):focus:not([readonly]), input[type=number]:not(.browser-default):focus:not([readonly]), input[type=search]:not(.browser-default):focus:not([readonly]), textarea.materialize-textarea:focus:not([readonly]) {
  border: none;
}

.button_form {
  height: 3.934rem;
  width: 14.467rem;
  font-family: 'Josefin Sans', Arial, sans-serif;
  font-weight: bold;
  font-size: 1.2rem;
  color: rgb(0, 0, 0);
  background-color: #f3e04f;
  /* border: 3px solid #fff; */
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px #f3e04f solid;
  text-align: center;
  transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
  position: relative;
  /* border-radius: 5px; */
  text-transform: uppercase;
}

.button_form .valid {
  display: flex;
  align-items: center;
}

.button_form .valid svg {
  width: 24px;
  height: 24px;
  margin-right: 15px;
}

.button_form:hover, .button_form:focus {
  background-color: #ffffff;
  border: 2px #f3e04f solid;
  color: #000;
}

#oubli_form {
  text-align: right;
  font-weight: bold;
  font-size: 1.25rem;
}

.grp-btn>a:not(.button_form) {
  height: 3.934rem;
  width: 15.467rem;
  background-color: #ffffff;
  border: 2px #f3e04f solid;
  font-family: 'Josefin Sans', Arial, sans-serif;
  /* box-shadow: 0px 0px 32px 0px rgba(149, 148, 146, 0.5); */
  color: #000000;
  transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
  font-weight: 300;
  font-size: 1.27rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.grp-btn>a:hover:not(.button_form) {
  background-color: #f3e04f;
  color: #fff;
}

#oubli_form a:hover {
  color: #70cbed;
}

.grp-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  /* flex-direction: row-reverse; */
  margin: 4.67rem auto 0;
  max-width: 31.429rem;
}

.background_form {
  background: #ffff;
  width: 10rem;
  height: auto;
}

@media screen and (max-width: 360px) {
  .grp-btn {
    flex-wrap: nowrap;
  }
}

@media screen and (max-width: 599px) {
  .contenu {
    text-align: center;
  }
  #fields, #oubli_form {
    margin-left: auto;
    margin-right: auto;
  }
}

@media screen and (min-width: 600px) {
  #page {
    padding: 0 0 2rem;
    background: url(../images/bg.jpg) no-repeat 50% center;
    background-size: cover;
    overflow: hidden;
    position: relative;
  }
  h2, h3 {
    font-size: 3rem;
    /* text-align: left; */
  }
  /* #logo {
    text-align: left;
  } */
  .small-only {
    display: none;
  }
  hr {
    margin-left: 0;
  }
  .contenu {
    justify-content: center;
    height: 75%;
    flex: 0 0;
    margin: auto;
    width: 100%;
    background-image: none;
    background-color: rgba(255, 255, 255, 1);
    position: relative;
    z-index: 1;
    padding: 2rem;
    /* border-radius: 1.6rem; */
    box-shadow: 2px 23px 51px 0px rgba(1, 1, 1, 0.1);
    max-width: 37.86rem;
  }
  .contenu .forme {
    position: relative;
    z-index: 1;
    width: 100%;
  }
  .bg {
    display: none;
  }
  header, main, footer {
    width: 100%;
  }
}


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

@media screen and (min-width: 960px) {
  html {
    font-size: 12px;
  }
  #page {
    min-height: 100%;
    display: flex;
    flex-direction: row;
    background-size: cover;
    padding: 0;
    overflow: hidden;
  }
  .contenu {
    width: 50%;
    flex: 1 1 50%;
    margin: auto;
    box-shadow: none;
    padding: 2rem;
    max-width: 37.86rem;
    background-size: cover;
    /* border-top: 15px #f3e04f solid;
    border-left: 15px #f3e04f solid; */
    box-shadow: 2px 23px 51px 0px rgba(1, 1, 1, 0.329);
  }
  .contenu header, .contenu main {
    max-width: 32.86rem;
    z-index: 100;
  }
  .bg {
    display: block;
    width: 50%;
    flex: 1 1 50%;
    height: initial;
  }
  #logo {
    text-align: center;
  }
  #fields {
    max-width: 31.429rem;
    /* border-radius: 10px; */
  }
}

/* @-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: 960px) {
  #page {
    padding: 0 0 2rem;
  }
}

@media screen and (min-width: 1200px) {
  html {
    font-size: 11px;
  }
  #page {
    background-size: cover;
    background-position: 36% 50%;
  }
  .contenu {
    width: 52%;
    flex: 1 1 52%;
    position: relative;
    z-index: 1;
    background: unset;
    max-width: unset;
    box-shadow: unset;
    padding: 2rem 0;
  }
  .bg {
    display: block;
    width: 48%;
    flex: 1 1 48%;
    height: initial;
  }
  .contenu header, .contenu main {
    max-width: 32.8rem;
  }
  .sous-div {
    margin-left: 2.5rem;
  }
  .bloc_titre {
    position: absolute;
    transform: translateX(-153%);
    text-align: right;
  }
  .contenu .forme {
    position: relative;
    z-index: 1;
    right: 2rem;
  }
  h2 {
    font-size: 5rem;
    line-height: 1.2;
  }
  h3 {
    font-size: 3.4rem;
    line-height: 1.2;
  }
  h2, h3 {
    transform: translateY(12rem);
    text-align: left;
  }
  #logo {
    margin-bottom: 0.5rem;
    text-align: left;
    transform: translateY(4rem);
  }

  h2, h3, #logo, #fields, .grp-btn {
    position: relative;

  }
  #fields {
    width: 70%;
    margin: 0;
  }
  #logo img {
    max-width: 25rem;
  }
  .bloc_titre::after {
    content: "";
    height: 70%;
    top: 22px;
    width: 2px;
    right: -3rem;
    /* background: #b3b3b354; */
    position: absolute;
  }
  .forme_titre {
    width: 35.3%;
    height: 37.6rem;
    background-color: #f3e04f;
    position: absolute;
  }
  
  .forme_login {
    width: 23.9%;
    height: 37.6rem;
    background-color: #ffffff;
    position: absolute;
    left: 35.3%;
    min-width: 342px;
  }
  
}
/* @media screen and (max-width: 1280px) {
  .forme_titre {
    width: 41.08rem;
  }
  .forme_login {
    left: 41.1rem;
  }
} */


/* @media screen and (min-width: 1200px) and (max-width: 1280px) {
  .bloc_titre {
    transform: translateX(-136%)!important;
  }
} */


@media screen and (min-width: 1200px) and (max-width: 1600px) {
  .bloc_titre {
    transform: translateX(-118%)!important;
  }
}

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

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


@media screen and (min-width: 1600px) and (min-height: 819px) {
  .contenu header, .contenu main {
    max-width: 31.8rem;
  }
}


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