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

html {
  height: 100%;
}

body {
  height: 100%;
  margin: 0;
  background-color: #f8e5e5;
  font-size: 1.2rem;
  font-family: "IBM Plex Sans", "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;
}

.color {
  color: #2a2929;
}

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

.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: 75%;
  max-width: 20.2rem;
  min-width: 100px;
  margin-bottom: 2.6rem;
}

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

h2 {
  margin: 0;
  color: #222b31;
  font-size: 4.13rem;
  font-weight: 600;
}

h3 {
  margin: 0;
  margin-bottom: 1.6rem;
  font-size: 2.22rem;
  color: #798892;
  line-height: 1.25;
  font-weight: normal;
}

.instructions {
  color: #606060;
  font-size: 1.33rem;
  font-weight: 500;
  margin-bottom: 1.6rem;
  line-height: 1.2;
}

#fields {
  box-sizing: border-box;
  overflow: hidden;
  border: 0;
  border-radius: 10px;
}

#fields .field {
  position: relative;
  background-color: #fff;
  margin: 0;
  border-radius: 0;
  height: 4.5rem;
  color: #606060;
  border-bottom: 1px solid #a5a5a5;
}

#fields .field:first-of-type {
  border-top: 0;
  border-left: 3px solid #897248;
  border-left-color: transparent;
  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: #3d3d3d;
  box-sizing: border-box;
  margin-bottom: 0;
  height: 70% !important;
  font-size: 1.2rem !important;
  font-family: 'IBM Plex Sans', Arial, sans-serif !important;
  font-weight: bold;
}

#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: #a0a0a0;
  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;
  font-size: 1.2rem !important;
  font-family: 'IBM Plex Sans', Arial, sans-serif !important;
  font-weight: bold;
  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% - 8px));
  transform: translateY(calc(-50% - 8px));
}

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

.button_form {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 3.73rem;
  width: 15.67rem;
  margin: 10px 0;
  font-size: 1.33rem;
  font-weight: bold;
  background-color: #897248;
  color: #fff;
  text-align: center;
  border-radius: 10px;
  transition: all 0.3s ease-in-out;
}

.button_form:hover {
  background-color: #f40202;
  color: #fff;
}

#oubli_form {
  margin-top: 1.2rem;
  font-size: 1.2rem;
  text-align: right;
  font-family: 'Raleway', Arial, sans-serif;
  font-weight: bold;
}

#oubli_form a {
  color: #897248;
  text-decoration: none;
}

#oubli_form a:hover {
  color: #f40202;
}

footer {
  margin-top: 30px;
  color: #7e7a83;
  font-family: 'montserrat', 'Arial', sans-serif;
  font-size: 1.2rem;
}

footer a {
  color: unset;
}

footer a:hover {
  color: #f40202;
}

@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: 75%;
    background-image: none;
  }
  .bg {
    display: none;
  }
  header, main, footer {
    width: 74%;
  }
}

@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: #fff;
  }
  .bg {
    background: transparent;
    background: #023368;
    background-size: cover;
    order: 1;
    display: block;
    width: 50%;
    flex: 1 1 50%;
    height: initial;
    position: relative;
    overflow: hidden;
  }
  .bg .table {
    display: table;
    height: 100%;
    width: 100%;
  }
  .bg .table .row1 {
    display: table-row;
    height: 39.4%;
  }
  .bg .table .row1 .cell1 {
    display: none;
  }
  .bg .table .row1 .cell2 {
    background: url(../images/bg2.jpg) no-repeat center center;
    width: 100%;
    display: inline-block;
    height: 100%;
    background-size: cover;
  }
  .bg .table .row1 .cell3 {
    display: none;
  }
  .bg .table .row2 {
    display: table-row;
  }
  .bg .table .row2 > div {
    width: 100%;
    height: 100%;
    background: url(../images/bg4.jpg) no-repeat center center;
    background-size: cover;
    border-top: 6px solid #fff;
  }
}

@media screen and (min-width: 1200px) {
  html {
    font-size: 12px;
  }
  .contenu {
    width: 39.2%;
    flex: 1 1 39.2%;
  }
  .bg {
    width: 60.8%;
    flex: 1 1 60.8%;
  }
  .bg .table {
    display: table;
    height: 100%;
    width: 100%;
  }
  .bg .table .row1 {
    display: table-row;
    height: 39.4%;
  }
  .bg .table .row1 .cell2 {
    background: url(../images/bg2.jpg) no-repeat center center;
    background-size: cover;
    border-left: 6px solid #fff;
    border-right: 6px solid #fff;
    width: 60%;
    height: 100%;
  }
  .bg .table .row1 .cell3 {
    display: inline-block;
    width: 40%;
    height: 100%;
    background: url(../images/bg3.jpg) no-repeat center center;
    background-size: cover;
  }
  .bg .table .row2 {
    display: table-row;
  }
  .bg .table .row2 > div {
    width: 100%;
    height: 100%;
    background: url(../images/bg4.jpg) no-repeat center center;
    background-size: cover;
    border-top: 6px solid #fff;
  }
  header, main {
    max-width: 34rem;
    margin-left: 13%;
  }
  footer {
    margin-left: 13%;
  }
  header .hr {
    margin: 2rem 0 2.87rem;
  }
  .instructions {
    margin-bottom: 5rem;
  }
  #fields {
    max-width: 34.27rem;
  }
  #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;
  }
  #oubli_form {
    max-width: 34.27rem;
  }
  .button_form {
    height: 4rem;
    margin-bottom: 2rem;
  }
  footer {
    margin-top: 70px;
  }
}

@media screen and (min-width: 1600px) {
  html {
    font-size: 13px;
  }
  .bg .table {
    display: table;
    height: 100%;
    width: 100%;
  }
  .bg .table .row1 {
    display: table-row;
    height: 39.4%;
  }
  .bg .table .row1 .cell1 {
    display: inline-block;
    background: url(../images/bg1.jpg) no-repeat center center;
    background-size: cover;
    width: 25%;
    height: 100%;
  }
  .bg .table .row1 .cell2 {
    background: url(../images/bg2.jpg) no-repeat center center;
    border-left: 6px solid #fff;
    border-right: 6px solid #fff;
    width: 46%;
    background-size: cover;
  }
  .bg .table .row1 .cell3 {
    width: 29%;
    background: url(../images/bg3.jpg) no-repeat center center;
    background-size: cover;
  }
  .bg .table .row2 {
    display: table-row;
  }
  .bg .table .row2 > div {
    width: 100%;
    height: 100%;
    background: url(../images/bg4.jpg) no-repeat center center;
    background-size: cover;
    border-top: 6px solid #fff;
  }
}

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