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

html {
  height: 100%;
}

body {
  height: 100%;
  margin: 0;
  background-color: #fff;
  color: rgb(255, 255, 255);
  font-size: 1.2rem;
  font-family:'Adobe Caslon Pro', "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: rgb(18, 30, 46) !important;
}

::-webkit-input-placeholder,
:-moz-placeholder,
::-moz-placeholder,
:-ms-input-placeholder {
  font-style: italic;
  color: rgb(18, 30, 46) !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;
  overflow: hidden;
}

.small-only {
  display: block;
}

.contenu {
  width: 100%;
  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;
}

hr{
  width: 20%;
  background: #102026;
  height: 3px;
  border: none;
  margin-top: 1rem;
  margin-bottom: 2rem;
}
#logo {
  width: 100%;
  min-width: 100px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
  text-align: center;
  margin-bottom: 3.5rem;
}

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

h2 {
  margin: 0;
  color: rgb(69, 47, 146);
  font-size: 3.6rem;
  font-weight: bold;
  box-sizing: border-box;
  font-family: 'Syn', "Arial", sans-serif;
  text-align: center;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
}

h2 span {
  color: rgb(255, 14, 27);
}

h3 {
  font-family: 'Syn', "Arial", sans-serif;
  margin: 0;
  color: rgb(69, 47, 146);
  font-size: 2rem;
  font-weight: bold;
  line-height: 1;
  text-align: center;
  margin-bottom: 3rem;
}
/* .colored{
  font-weight: bold;
} */

.instructions {
  font-family: 'Poppins', "Arial", sans-serif;
  color: rgb(96, 47, 129);
  font-size: 1.639rem;
  line-height: 1.2;
  font-weight: normal;
  text-align: left;
  margin-top: 2.5rem;
}
.color{
  font-weight: 600;
}

.separateur{
  height: 3px;
  /* background-color: #102026; */
  width: 17%;
  margin: 0;
  margin-top: 1.2rem;
  margin-bottom: 2.47rem;
}

#fields {
  box-sizing: border-box;
  max-width: 100%;
  border-left: rgb(237, 19, 84) 4px solid;
  margin-left: 0.5rem;
  padding-top: 3.25rem;
  padding-left: 3rem;
}

#fields .field {
  position: relative;
  margin: 0;
  height: 6rem;
  border-bottom: 2px solid rgb(244, 235, 228);
}

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

#fields .field:not(:first-child) {
  border-bottom: none;
}

#fields .field:not(:last-child)::before{
  content: "Identifiant";
  font-family: 'Syn', "Arial", sans-serif !important;
  font-weight: normal;
  position: absolute;
  top: -15px;
  color: rgb(244, 235, 228);
  font-size: 3.4rem;
  left: 0;
  opacity: 1;
  letter-spacing: 0.2rem;
}
#fields .field::before{
  content: "Mot de passe";
  font-family: 'Syn', "Arial", sans-serif !important;
  white-space: nowrap;
  font-weight: normal;
  position: absolute;
  top: -8px;
  color: rgb(244, 235, 228);
  font-size: 2.6rem;
  left: 0;
  opacity: 1;
  letter-spacing: 0.2rem;
}
#fields .field.changed::before{
  content:"";
}

#fields .field:first-of-type label {
  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: 25px;
}

#fields .field:last-of-type label {
  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: 25px;
}

#fields label {
  position: absolute;
  top: 0;
  left: 0;
  width: 3.5rem;
  height: 100%;
  text-align: center;
  margin-left: 3px;
  display: flex;
  align-items: center;
}
#fields label:after{
  content:'';
  position: absolute;
  right: 0;
  width: 2px;
  background-color: rgb(18, 30, 46);
  height: 21px;
}
#fields label img {
  height: auto;
  width: auto;
  margin-left: 1.02rem;
}
#fields input::placeholder{
  font-family: 'Syn', "Arial", sans-serif !important;
  color: rgb(18, 30, 46);
  font-weight: normal;
}
#fields input[type=email], #fields input[type=text], #fields input[type=password] {
  font-size: 1.4rem !important;
  font-weight: normal;
  font-family: 'Syn', "Arial", sans-serif !important;
  color: rgb(18, 30, 46) !important;
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 5.17rem;
  width: calc(100% - 5.17rem);
  height: 100% !important;
  border-bottom: 0;
  box-sizing: border-box;
  margin: 0 2rem 0 0;
  /* border-radius: 50px; */
}

#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(18, 30, 46);
  box-shadow: none;
  outline: 0;
}
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{
  background-color: transparent;
  border: none;
  border-radius: 0;
  outline: none;
  height: 3rem;
  width: 100%;
  font-size: 16px;
  margin: 0 0 8px 0;
  padding: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  -webkit-transition: border .3s, -webkit-box-shadow .3s;
  transition: border .3s, -webkit-box-shadow .3s;
  transition: box-shadow .3s, border .3s;
  transition: box-shadow .3s, border .3s, -webkit-box-shadow .3s;
 }

.button_form {
  height: 4.8rem;
  width: 17rem;
  font-family: 'Syn', "Arial", sans-serif;
  font-weight:  normal;
  font-size: 1.35rem;
  color: rgb(18, 30, 46);
  /* background-image: linear-gradient(120deg, rgb(24, 130, 204), rgb(78, 39, 126) 40%); */
  background: white;
  border: 3px solid rgb(238, 76, 126);
  background-size: 200%;
  /* border-radius: 2rem; */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease-in-out;
  position: relative;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  padding-top: 0.25rem;
  margin-left: 7.4rem;
  -webkit-box-shadow: 0 0 5px 5px rgba(0, 0, 0, 0.05) inset,0 0 5px 5px rgba(0, 0, 0, 0.05) ;
  box-shadow: 0 0 5px 5px rgba(0, 0, 0, 0.05) inset, 0 0 5px 5px rgba(0, 0, 0, 0.05);
}

.button_form:hover, .button_form:focus {
  background-position: 100%;
  color: white;
  background: rgb(238, 76, 126);
}

.button_form .arrow {
  margin-left: 1rem;
  display: flex;
}
.button_form .arrow img{
  width: 80%;
  height: auto;

}

#oubli_form {
  text-align: left;
  width: 44%;
  margin-top: 1.5rem;
  margin-left: 2.65rem;
}

#oubli_form a {
  font-family: 'Syn', "Arial", sans-serif;
  font-weight: normal;
  font-size: 1.2rem;
  color: rgb(180, 102, 50);
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

#oubli_form a:hover {
  color: rgb(238, 76, 126);
}

.oubli_btn{
 display: flex;
 flex-direction: row-reverse;
 justify-content: space-between;
 align-items: center;
}

.dbl_btn {
  margin: 3rem 0 0;
  display: flex;
  justify-content: space-between;
  align-items: left;
  flex-direction: column-reverse;
}

@media screen and (max-width: 499px) {
  #page{
    padding: 0 0;
  }
  #fields .field:not(:last-child)::before{
    font-size: 3rem;
  }
  #fields .field::before{
    font-size: 2.4rem;
  }
  h2 {
    font-size: 3rem;
  }
  h3 {
    font-size: 1.7rem;
  }
  .instructions {
    font-size: 1.3rem;
  }
  #fields .field {
    height: 4.5rem;
  }
  #fields .field:not(:last-child)::before{
    font-size: 2.6rem;
    top: -10px;
  }
  #fields .field::before{
    font-size: 1.8rem;
    top: -4px;
  }
  .button_form {
    margin: 0 auto;
  }
}

@media screen and (max-width: 411px) {
  #fields .field:not(:last-child)::before{
    font-size: 2.6rem;
  }
  #fields .field::before{
    font-size: 2rem;
  }
  h2 {
    font-size: 2.8rem;
  }
  h3 {
    font-size: 1.5rem;
  }
  #fields .field {
    height: 4rem;
  }
  #fields .field:not(:last-child)::before{
    font-size: 2rem;
  }
  #fields .field::before{
    font-size: 1.2rem;
  }
}
@media screen and (max-width: 599px) {
  #page{
    padding: 0 2rem;
  }
}

@media screen and (min-width: 600px) {
  #page {
    padding: 2rem 0;
    background: url(../images/bg.jpg) no-repeat 0% right;
    background-size: cover;
    overflow: hidden;
    position: relative;
  }
  .small-only {
    display: none;
  }
  div.hr {
    margin: 30px 0;
  }
  .contenu {
    justify-content: center;
    flex: 0 0;
    margin: auto;
    width: 100%;
    background-image: none;
    position: relative;
    z-index: 1;
    /* border-radius: 1.6rem; */
    /* box-shadow: 2px 23px 51px 0px rgba(1, 1, 1, 0.1); */
    max-width: 58rem;
    padding: 0 2rem;
  }
  .bg {
    display: none;
  }
  header, main, footer {
    width: 100%;
  }
  #fields .field:not(:last-child)::before{
    font-size: 4rem;
  }
  #fields .field::before{
    font-size: 3.2rem;
  }
  #fields {
    max-width: 75%;
  }
}

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

@media screen and (min-width: 960px) {
  #page {
    min-height: 100%;
    display: flex;
    flex-direction: row;
    background: url(../images/bg.jpg) no-repeat right center;
    background-position-x: 90%;
    background-size: cover;
    padding: 0;
    overflow: hidden;
  }
  .contenu {
    width: 80%;
    flex: 1 1 80%;
    max-width: unset;
    margin: unset;
    box-shadow: none;
    padding: 2rem 4rem;
  }
  .contenu header, .contenu main {
    max-width: 58rem;
  }
  .bg {
    display: block;
    width: 50%;
    flex: 1 1 50%;
    height: initial;
  }
  .contenu .forme {
    position: relative;
    z-index: 1;
    /* -webkit-box-shadow: 0 0 15px 5px rgba(0, 0, 0, 0.14);
    box-shadow: 0 0 15px 5px rgba(0, 0, 0, 0.14); */
    background: white;
    max-width: 50rem;
  }
}

@media screen and (min-width: 1200px) {
  html {
    font-size: 13px;
  }
  #page {
    background: url(../images/bg.jpg) no-repeat center center;
    background-size: cover;
    flex-direction: row-reverse;
  }
  .contenu {
    width: 98rem;
    flex: 1 1 98rem;
    position: relative;
    z-index: 1;
    height: 75%;
    margin: auto;
  }
  .bg{
    width: 29%;
    flex: 1 1 29%;
  }
  .contenu header, .contenu main {
    max-width: 58rem;
  }
  .sous-div{
    margin-left: 2.5rem;
  } 
  .contenu .forme {
    max-width: 50rem;
  }
  #fields .field:not(:last-child)::before{
    top: -34px;
    font-size: 5.2rem;
  }
  #fields .field::before{
    top: -21px;
    font-size: 4.4rem;
  }
}

@media screen and (min-width: 1600px) and (min-height: 780px) {
  html {
    font-size: 14px;
  }
  .contenu header, .contenu main {
    max-width: 58rem;
  }
  .contenu .forme {
    max-width: 50rem;
  }
}

@media screen and (min-width: 1900px) {
  html {
    font-size: 14px;
  }
  h2 {
    margin-left: -2rem;
  }
  h3 {
    width: calc(100% + 20%);
    font-size: 2.15rem;
    margin-left: -10%;
  }
}

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

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

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

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