@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: "Helvetica LT Std", "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 10000s ease-in-out 0s, box-shadow 10000s ease-in-out 0s !important;
  -webkit-box-shadow: 0 0 0px 1000px rgba(255, 255, 255, 1) inset !important;
  -webkit-text-fill-color: #707070 !important;
}

::-webkit-input-placeholder, :-moz-placeholder, ::-moz-placeholder, :-ms-input-placeholder {
  color: rgba(255, 255, 255, 0.6) !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;
}

#page {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  font-size: 1.2rem;
  background: url(../images/bg.jpg) no-repeat center center;
  background-size: cover;
}

#particles {
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

#particles-js {
  -webkit-transform: translate(10%, -10%) rotate(35deg);
  transform: translate(10%, -10%) rotate(35deg);
  mix-blend-mode: overlay;
  height: 125%;
  opacity: 0.8;
}

.small-only {
  display: block;
}

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

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

h2 {
  margin: 0;
  color: #333436;
  font-size: 4.41rem;
  font-weight: normal;
  line-height: 1.2;
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.02em
}

h2:last-of-type {
  margin-bottom: 1rem;
}

h3 {
  margin: 0;
  color: #333436;
  font-size: 4.41rem;
  font-weight: normal;
  line-height: 1;
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.02em
}

.instructions {
  color: #565656;
  font-size: 1.815rem;
  line-height: 1.2;
  font-weight: 600;
  margin-top: 3.8rem;
  margin-bottom: 2.231rem; 
  font-family: "Titillium Web", "Arial", sans-serif;
}

#fields {
  box-sizing: border-box;
  max-width: 41.692rem;
  border-radius: 0.5rem;
  box-shadow: 0 30px 30px #cdcece;
  overflow: hidden;
  border: 1px solid #c5c5c5;
}

#fields .field {
  position: relative;
  background-color: rgba(255, 255, 255);
  margin: 0;
  height: 7.769rem;
}

#fields .field:first-of-type{
  border-bottom: 1px solid #ededed;
}


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

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

#fields input[type=email], #fields input[type=text], #fields input[type=password] {
  font-size: 1.385rem !important;
  font-weight: normal;
  font-family: "Titillium Web", "Arial", sans-serif !important;
  color: #707070 !important;
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 9.231rem;
  width: calc(100% - 9.231rem);
  height: 94% !important;
  border-bottom: 0;
  box-sizing: border-box;
  margin-bottom: 0;
}

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

#fields input[type=email] + span.label,
#fields input[type=text] + span.label,
#fields input[type=password] + span.label {
  color: #707070 !important;
  font-size: 1.538rem !important;
  font-weight: 600;
  font-family: "Titillium Web", "Arial", sans-serif !important;
  position: absolute;
  text-align: center;
  left: 9.231rem;
  top: 50%;
  margin-left: 3px;
  -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: 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% - 20px)) scale(0.7);
  transform: translateY(calc(-50% - 20px)) scale(0.7);
}

#oubli_form {
  font-family: "Titillium Web", sans-serif;
  font-weight: normal;
  font-size: 1.385rem;
  color: #565656;
  position: relative;
  margin-top: 3.231rem;
  text-align: right;
  max-width: 41.692rem;
}

#oubli_form a {
  color: unset;
  text-decoration: none;
  position: relative;
  z-index: 2;
  transition: all 0.3s;
  width: 50%;
  text-align: right;
}

#oubli_form a .color {
  transition: all 0.3s;
}

#oubli_form a:hover .color {
  color: #692c9a;
}

.button_form {
  height: 5.077rem;
  font-family: "Lato", "Arial", sans-serif;
  font-size: 1.538rem;
  color: #fff;
  background-color: #b853d6;
  background-image: linear-gradient(to right, #692c9a, rgba(255, 255, 255, 0));
  max-width: 17.923rem;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 5.385rem;
  text-align: center;
  border-radius: 3rem;
  transition: all 0.3s ease-in-out;
  position: relative;
  font-weight: bold;
  box-shadow: 0 10px 10px #d4b4e0;
}

.button_form:hover {
  background-color: #692c9a;
}

#linkRecupId{
  width: 65% !important;
}

@media screen and (min-height: 800px) {
  .contenu {
    justify-content: center;
  }
}

@media screen and (min-width: 600px) {
  #page {
    padding: 2rem 0;
  }
  .small-only {
    display: none;
  }
  div.hr {
    margin: 30px 0;
  }
  .contenu {
    justify-content: center;
    height: 75%;
    flex: 0 0;
    margin: auto;
    width: 55%;
  }
  .bg {
    display: none;
  }
  header, main, footer {
    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;
  }
  #logo {
    margin-top: 0;
  }
  #page {
    min-height: 100%;
    display: flex;
    flex-direction: row;
    padding: 0;
  }
  #page.theme_1 .bg {
    background-image: url(../images/o_1.png);
    background-repeat: no-repeat;
    background-size: 80% auto;
    background-position: left center;
  }
  #page.theme_1 .contenu {
    background: none;
  }
  #page.theme_2 .bg {
    background-image: url(../images/o_2.png);
    background-repeat: no-repeat;
    background-size: 80% auto;
    background-position: left center;
  }
  #page.theme_2 .contenu {
    background: none;
  }
  #page.theme_3 .bg {
    background-image: url(../images/o_3.png);
    background-repeat: no-repeat;
    background-size: 80% auto;
    background-position: left center;
  }
  #page.theme_3 .contenu {
    background: none;
  }
  .contenu {
    width: 50%;
    flex: 1 1 50%;
    height: initial;
    margin: initial;
    background: none;
    background-color: transparent;
    box-shadow: none;
  }
  .bg {
    display: block;
    width: 50%;
    flex: 1 1 50%;
    order: 1;
    background: transparent;
    height: initial;
    position: relative;
    overflow: hidden;
  }
  .line{
    width: 100% !important;
  }
}

@media screen and (min-width: 1200px) {
  html {
    font-size: 11px;
  }
  .contenu {
    width: 45.3%;
    flex: 1 1 45.3%;
  }
  .bg {
    width: 54.7%;
    flex: 1 1 54.7%;
  }
  header, main, footer {
    width: 62%;
  }
  .main{
    max-width: 432px;
  }
  header .hr {
    margin: 2rem 0 2.87rem;
  }
  footer {
    margin-top: 6.6rem;
  }
}

@media screen and (min-width: 1600px) {
  html {
    font-size: 12px;
  }
  header, main, footer {
    width: 80%;
  }
  
  #linkRecupId{
  width: 50% !important;
  }
}

@media all and (-ms-high-contrast: none) and (max-width: 961px), (-ms-high-contrast: active) and (max-width: 961px) {
  #page {
    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, .contenu {
    min-height: 100vh;
  }
  .bg {
    min-height: 100vh;
  }
}

@media screen and (max-width: 1715px) {
  header, main, footer {
    width: 78%;
  }
}

@media screen and (max-width: 1360px) {
  #page {
      background: url(../images/bg.jpg) no-repeat left center;
  }
  header, main, footer {
    width: 90%;
  }
}

@media screen and (max-width: 960px) {
  header, main, footer {
    width: 100%;
  }
}

@media screen and (max-width: 870px) {
  .contenu{
    width: 65%;
  }
}

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

@media screen and (max-width: 640px) {
  .contenu{
    width: 95%;
    box-sizing: border-box;
    padding-left: 5rem;
  }
  h2,h3{
    font-size: 4rem;
  }
}

@media screen and (max-width: 550px) {
  .contenu{
    padding-left: 2rem;
  }
  h2,h3{
    font-size: 4rem;
  }
}

@media screen and (max-width: 450px) {
  h2,h3{
    font-size: 3rem;
  }
  .button_form{
    margin-top: 2rem;
  }
}

@media screen and (max-width: 400px) {
  h2,h3{
    font-size: 2.5rem;
  }
}

@media screen and (max-height: 825px) {
  .contenu{
    padding-top: 0;
  }
}

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

@media screen and (max-height: 750px) {
  #logo{
    margin-bottom: 1.8rem;
  }
}

@media screen and (max-height: 705px) {
  .instructions{
    margin-top: 1.8rem;
  }
  #oubli_form{
    margin-top: 2rem;
  }
}
