@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: "open_sans", "Arial", sans-serif;
/*  overflow: hidden;*/
}

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;
  background: transparent url(../images/bg.png) no-repeat center center;
  background-size: cover;
  font-family: 'Melbourne', sans-serif;
}

.small-only {
  display: block;
}

.contenu {
  width: 100%;
  background-color: #a5e1de;
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
  align-content: center;
  padding: 30px 0;
}

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

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

div.hr {
  margin: 1.33rem 0;
}

#logo {
  width: 100%;
  max-width: 30rem;
  min-width: 100px;
  margin: 0 auto 1.5rem auto;
}

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

h2 {
  margin: 0;
  color: #fff;
  font-size: 4.3rem;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  font-family: 'PT Sans', sans-serif;
}

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

.instructions {
  color: #000;
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  margin-top: 2.4rem
}

#fields {
  box-sizing: border-box;
  overflow: hidden;
  border: 2px solid #d9d9d9;
  box-shadow: 0 10px 15px #90c4c1;
}

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

.red-square{
  position: absolute;
  top: 0;
  left: 0;
  height: 4.5rem;
  width: 10px;
  background-color: #ff5660;
}

#fields .field:first-of-type {
  border-top: 0;
  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 .field:last-of-type {
  border-left-color: transparent;
  background-color: #fff;
}

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

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

#fields .field:last-of-type input[type=email] + span.label,
#fields .field:last-of-type input[type=text] + span.label,
#fields .field:last-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);
  height: 70% !important;
  border: 0;
  border-bottom-color: #303030;
  color: #403d39;
  box-sizing: border-box;
  margin-bottom: 0;
  font-size: 1.1rem !important;
  font-weight: 600;
  font-family: 'open_sans', Arial, sans-serif !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: #3d3d3d;
  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;
  top: 50%;
  margin-left: 3px;
  color: #dbdbdb;
  -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: bold;
  font-family: 'open_sans', Segoe UI, sans-serif !important;
  z-index: 1;
}

#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]:focus:not([readonly]),
#fields input[type=text]:focus:not([readonly]),
#fields input[type=password]:focus:not([readonly]) {
  color: #3d4657;
  box-shadow: none;
  border-bottom-color: #cc0a1d;
}

.button_form {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 3rem;
    width: 13.5rem;
    margin: 1rem 0 0;
    /* padding-top: 0.4rem; */
    font-size: 1.4rem;
    font-weight: bold;
    font-family: 'source_ss_pro', Arial, sans-serif !important;
    background-color: #ff5660;
    color: #fff;
    text-align: center;
    border-radius: 2rem;
    transition: all 0.3s ease-in-out;
    position: relative;
    border-radius: 2rem;
    /* box-shadow: 0px 17px 28px #afc1a1; */
    /* box-shadow: 10px 12px 30px #b0c2ec, -10px 12px 30px #b0c2ec;*/
}

.button_form:hover {
  background-color: #e54e58;
}

#oubli_form {
  margin-top: 1.4rem;
  font-weight: 600;
  text-align: right;
}

#oubli_form a {
  color: #fff;
  text-decoration: none;
  font-family: 'arial', sans-serif;
  transition: 0.2s;
  font-size: 1.1rem;
}

#oubli_form a:hover {
  color: #25b766;
}

footer {
  margin-top: 30px;
  color: #7e7a83;
  font-size: 1.2rem;
  font-weight: 600;
}

footer a {
  color: unset;
}

footer a:hover {
  color: #302e73;
}

.coordonnees{
  margin-top: 2rem;
  color: #2f918c;
  width: 100%;
  height: 10rem;
  background-color: #c6f5f3;
  font-family: "Arial", sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.1rem;
}

.coordonnees p{
  text-align: center;
}

.coordonnees a{
  color: #2f918c;
}

@media screen and (min-width: 600px) {
  #page {
    padding: 2rem 0;
    background: url(../images/bg.png) no-repeat center center;
    background-size: cover;
  }
  .small-only {
    display: none;
  }
  div.hr {
    margin: 30px 0;
  }
  .contenu {
    justify-content: center;
    height: 75%;
    flex: 0 0;
    margin: auto;
    width: 80%;
    background-image: none;
    box-shadow: 2px 23px 51px 0px rgba(1, 1, 1, 0.1);
  }
  .bg {
    display: none;
  }
  header, main, footer{
    width: 44%;
    min-width: 360px;
  }
}

@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: 50%;
    flex: 1 1 50%;
    height: initial;
    margin: initial;
    background-color: #a5e1de;
    box-shadow: none;
  }
  .bg {
    background: transparent;
    background: #023368;
    background: url(../images/bg.png) no-repeat center center;
    background-size: cover;
    order: -1;
    padding-top: 37%;
    display: block;
    width: 50%;
    flex: 1 1 50%;
    height: initial;
    position: relative;
    overflow: hidden;
  }
}

@media screen and (min-width: 1200px) {
  html {
    font-size: 11px;
  }
  .contenu {
    width: 42.8%;
    flex: 1 1 42.8%;
  }
  .bg {
    width: 57.2%;
    flex: 1 1 57.2%;
  }
  header, main, footer {
    width: 44%;
  }
  main{
    width: 56%;
  }
  header .hr {
    margin: 2rem 0 2.87rem;
  }
  #fields .field {
    height: 4.2rem;
  }
  #fields label {
    width: 6.67rem;
    margin-left: 10px;
  }
  #fields label img {
    height: 30px;
  }
  #fields input[type=email],
  #fields input[type=text],
  #fields input[type=password] {
    left: 6.67rem;
    width: calc(100% - 6.67rem);
    height: 75px;
  }
  #fields input[type=email] + span.label,
  #fields input[type=text] + span.label,
  #fields input[type=password] + span.label {
    left: 6.67rem;
  }
  .button_form {
    height: 3rem;
  }
  footer {
    margin-top: 6.6rem;
  }
  h2{
    font-size: 5.3rem;
  }
  h3{
      font-size: 3.7rem;
  }
}

@media screen and (min-width: 1600px) {
  html {
    font-size: 13px;
  }
  
  main{
    padding-left: 5.8%;
  }
}

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

