@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: rgb(1, 22, 37) !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: url(../images/bg2.jpg) no-repeat center center;
  background-size: cover;
}

.small-only {
  display: block;
}

.contenu {
  justify-content: center;
  width: 100%;
  background-color: transparent;
  flex: 1 1 100%;
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  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: 100%;
  max-width: 100%;
  min-width: 100px;
  margin-bottom: 1em;
  margin-bottom: 3rem;
  text-align: center;
}

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

h2 {
  margin: 0;
  color: white;
  font-size: 3.1rem;
  font-weight: 300;
  font-family: "Poppins", "Arial", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.4rem;
}

h2 span {
  font-weight: bold;
  color: rgb(249, 88, 50);
}

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

.instructions {
  color: white;
  font-size: 1.55rem;
  margin-bottom: 2.5rem;
  line-height: 1.2;
  font-family: "Helvetica LT Std", "Arial", sans-serif;
  font-weight: 300;
}

hr{
  background-color: white;
  width: 5rem;
  height: 7px;
  border-radius: 50px;
  margin: 2rem 0;
}

#fields {
  box-sizing: border-box;
  overflow: hidden;
  /* box-shadow: 0px 0px 42px 10px rgba(148, 148, 148, 0.089); */
}

#fields .field {
  position: relative;
  background-color: rgb(239, 239, 239);
  margin: 0;
  border-radius: 0;
  height: 4.2rem;
  color: rgb(1, 22, 37);
}

#fields .field:first-of-type {
  border-top: 0;
  border-bottom: 1px solid rgb(1, 22, 37);
}

#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: 6rem;
  height: 100%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

#fields label::after {
  position: absolute;
  content: '';
  width: 1px;
  background-color: rgb(1, 22, 37);
  height: 2.5rem;
  right: -.5rem;
}

#fields input[type=email], #fields input[type=text], #fields input[type=password] {
  position: absolute;
  z-index: 1;
  top: 0.4rem;
  left: 7rem;
  width: calc(100% - 7rem);
  border: 0;
  color: rgb(1, 22, 37);
  box-sizing: border-box;
  margin-bottom: 0;
  height: 80% !important;
  font-size: 1.3rem !important;
  font-family: 'Helvetica LT Std', Arial, sans-serif !important;
  font-weight: normal;
  caret-color: rgb(1, 22, 37);
  padding:  0 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: rgb(1, 22, 37);
  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(1, 22, 37);
  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: bold;
  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: 16rem;
  font-size: 1.4rem;
  font-family: 'Helvetica LT Std', 'Arial', sans-serif;
  font-weight: 300;
  background-color: rgb(249, 88, 50);
  color: #ffffff;
  text-align: center;
  letter-spacing: 0.2rem;
  transition: all 0.3s ease-in-out;
  position: relative;
  text-transform: uppercase;
  margin: 4rem auto 2rem auto;
}

.button_form:hover {
  color: rgb(0, 0, 0);
  background-color: white;
}

#oubli_form {
  text-align: right;
  font-size: 1.3rem;
  position: relative;
  width: 100%;
  margin-top: 0.75rem;
}

#oubli_form a {
  font-family: 'Helvetica LT Std', "Arial", sans-serif;
  font-weight: 300;
  color: white;
  text-decoration: none;
  position: relative;
  z-index: 2;
  transition: all 0.2s ease-in-out;
}

#oubli_form a:hover {
  color:rgb(249, 88, 50);
}

.dbl_btn {
  display: flex;
  margin: 0rem 0 2rem;
  flex-direction: column;
  align-content: stretch;
  flex-wrap: wrap;
  align-items: center;
}

@media screen and (max-width: 599px) {
  .contenu {
    padding: 2rem;
  }
  .button_form {
    margin-bottom: 0;
  }
}

@media screen and (max-width: 519px) {
  h2 {
    font-size: 3rem;
    letter-spacing: 0.2rem;
  }
  #logo img {
    max-width: 70%;
  }
}

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

@media screen and (max-width: 411px) {
  h2 {
    font-size: 2.5rem;
    letter-spacing: 0.1rem;
  }
}

@media screen and (min-width: 600px) {
  #page {
    padding: 2rem 0;
    background: url(../images/bg2.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;
    background-color: transparent;
  }
  .bg {
    display: none;
  }
  header, main, footer {
    width: 100%;
    max-width: 38rem;
  }
}

@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: right center;
    padding: 0;
    background: url(../images/bg.jpg) no-repeat right center;
  }
  .contenu {
    width: 100%;
    flex: 1 1 100%;
    height: initial;
    margin: initial;
    background-color: #f7f7f700;
    margin: auto;
  }
  .bg {
    background: transparent;
    background-size: cover;
    order: -1;
    padding-top: 37%;
    display: block;
    width: 0%;
    flex: 1 1 00%;
    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;
  }
  header, main, footer {
    width: 100%;
    max-width: 38rem;
    margin: 0 auto;
  }
}

@media screen and (min-width: 1100px) {
  header, main, footer {
    margin: 0 27rem 0 auto;
  }
}

@media screen and (min-width: 1200px) {
  html {
    font-size: 12px;
  }
  .contenu {
    width: 77%;
    flex: 1 1 77%;
  }
  .bg {
    width: 23%;
    flex: 1 1 23%;
  }
  header, main, footer {
    max-width: 38rem;
    margin-left: auto;
    margin-right: 25rem;
  }
  header .hr {
    margin: 2rem 0 2.87rem;
  }
  #fields {
    max-width: 38rem;
  }
}

/* @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: 38rem;
    margin-right: 15rem;
  }
  #fields {
    max-width: 38rem;
  }
}

@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) {
  html {
    font-size: 13px;
  }
  .contenu {
    width: 42%;
    flex: 1 1 42%;
    background-color: transparent;
  }
  .bg {
    width: 58%;
    flex: 1 1 58%;
  }
  
  h2 {
    font-size: 3.5rem;
    width: calc(100% + 10.5%);
  }
}

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

input::placeholder {
  color: rgb(1, 22, 37);
}

input:focus::placeholder {
  opacity: 0;
}