@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: #ffffff !important;
}

::-webkit-input-placeholder,
:-moz-placeholder,
::-moz-placeholder,
:-ms-input-placeholder {
  font-style: italic;
  color: #364c63 !important;
  opacity: 1 !important;
}

/*
::placeholder { !* Chrome, Firefox, Opera, Safari 10.1+ *!
	color: red;
	opacity: 1; !* Firefox *!
}

:-ms-input-placeholder { !* Internet Explorer 10-11 *!
	color: red;
}

::-ms-input-placeholder { !* Microsoft Edge *!
	color: red;
}*/
.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: 5rem;
}

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

h2 {
  margin: 0;
  color: rgb(45, 113, 182);
  font-size: 3.8rem;
  font-weight: bold;
  box-sizing: border-box;
  font-family: 'Lato', "Arial", sans-serif;
  text-align: left;
  line-height: 1.2;
  letter-spacing: 0.4rem;
}

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

h3 {
  font-family: 'Manus Smooth_TRIAL', "Arial", sans-serif;
  margin: 0;
  color: rgb(87, 87, 87);
  font-size: 2.1rem;
  font-weight: normal;
  line-height: 1.1;
  letter-spacing: 0.025rem;
  text-align: left;
  text-transform: uppercase;
  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: black 4px solid;
  padding-top: 2rem;
  padding-left: 3rem;
}

#fields .field {
  position: relative;
  background-color: rgba(255, 255, 255, 0);
  margin: 0;
  height: 6rem;
  border-bottom: 2px solid rgb(240, 240, 244);
}

#fields .field:not(:last-child) {
  margin-bottom: 2rem;
}
#fields .field:not(:first-child) {
  border-bottom: none;
}
#fields .field:not(:last-child)::before{
  content: "Identifiant";
  font-family: 'Malgun Gothic', "Arial", sans-serif !important;
  font-weight: bold;
  position: absolute;
  top: -20px;
  color: rgb(213, 231, 245);
  font-size: 4rem;
  left: 0;
  opacity: 1;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
}
#fields .field::before{
  content: "Mot de passe";
  font-family: 'Malgun Gothic', "Arial", sans-serif !important;
  white-space: nowrap;
  font-weight: bold;
  position: absolute;
  top: -10px;
  color: rgb(213, 231, 245);
  font-size: 3.3rem;
  left: 0;
  opacity: 1;
  letter-spacing: 0.2rem;
  word-spacing: 0.4rem;
  text-transform: uppercase;
}
#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: 'Malgun Gothic', "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: 'Malgun Gothic', "Arial", sans-serif !important;
  color: rgb(18, 30, 46) !important;
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 5.17rem;
  width: calc(100% - 4.27rem);
  height: 100% !important;
  border-bottom: 0;
  box-sizing: border-box;
  margin-bottom: 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: 5rem;
  width: 50%;
  font-family: 'Myriad Pro', "Arial", sans-serif;
  font-weight:  normal;
  font-size: 1.35rem;
  color: white;
  background-image: linear-gradient(120deg, rgb(24, 130, 204), rgb(78, 39, 126) 40%);
  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.5rem;
}

.button_form:hover, .button_form:focus {
  background-position: 100%;
}

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

}

#oubli_form {
  text-align: right;
  width: 44%;
  margin-right: 6%;
}

#oubli_form a {
  font-family: 'Malgun Gothic', "Arial", sans-serif;
  font-weight: normal;
  font-size: 1.2rem;
  color: rgb(24, 130, 204);
  text-decoration: none;
  border-bottom: 1px solid;
  transition: all 0.3s ease-in-out;
  /* font-style: italic; */

}

#oubli_form a:hover {
  color: rgb(18, 30, 46);
}

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

.dbl_btn {
  margin: 2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row-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;
  }
  .button_form {
    font-size: 1.1rem;
    width: 45%;
    height: 3.6rem;
  }
  #oubli_form {
    width: 55%;
  }
  #fields .field {
    height: 4.5rem;
  }
  #oubli_form {
    margin-right: 0%;
  }
}

@media screen and (max-width: 392px) {
  #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;
  }
  #oubli_form a {
    font-size: 1.1rem;
  }
}
@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;
    background-color: #091b2000;
    position: relative;
    z-index: 1;
    /* border-radius: 1.6rem; */
    /* box-shadow: 2px 23px 51px 0px rgba(1, 1, 1, 0.1); */
    max-width: 31rem;
  }
  .bg {
    display: none;
  }
  header, main, footer {
    width: 100%;
  }
}

@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-reverse;
    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;
    background: #091b2000;
    box-shadow: none;
    padding: 2rem 4rem;
  }
  .contenu header, .contenu main {
    max-width: 31rem;
  }
  .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);
    padding: 7rem 0 1rem;
    background: white;
    max-width: 44rem;
  }
}

@-webkit-keyframes jelly {
  25% {
    -webkit-transform: scale(0.9, 1.1);
    transform: scale(0.9, 1.1);
  }
  50% {
    -webkit-transform: scale(1.1, 0.9);
    transform: scale(1.1, 0.9);
  }
  75% {
    -webkit-transform: scale(0.95, 1.05);
    transform: scale(0.95, 1.05);
  }
}

@keyframes jelly {
  25% {
    -webkit-transform: scale(0.9, 1.1);
    transform: scale(0.9, 1.1);
  }
  50% {
    -webkit-transform: scale(1.1, 0.9);
    transform: scale(1.1, 0.9);
  }
  75% {
    -webkit-transform: scale(0.95, 1.05);
    transform: scale(0.95, 1.05);
  }
}

@media screen and (max-height: 767px) and (min-width: 960px) {
  #logo {
    margin-top: 0;
  } 
}

@media screen and (min-width: 1200px) {
  html {
    font-size: 13px;
  }
  #page {
    background: url(../images/bg.jpg) no-repeat right center;
    background-size: cover;
  }
  .contenu {
    width: 48%;
    flex: 1 1 48%;
    position: relative;
    z-index: 1;
    height: 75%;
    margin: auto;
  }
  .bg{
    width: 52%;
    flex: 1 1 52%;
  }
  .contenu header, .contenu main {
    max-width: 31rem;
  }
  .sous-div{
    margin-left: 2.5rem;
  } 
  .contenu .forme {
    max-width: 48rem;
  }
}

@media screen and (min-width: 1600px) and (min-height: 780px) {
  html {
    font-size: 14px;
  }
  .contenu header, .contenu main {
    max-width: 31rem;
  }
  .contenu {
    width: 46%;
    flex: 1 1 46%;
  }
  .bg{
    width: 58%;
    flex: 1 1 58%;
  }
  .contenu .forme {
    max-width: 44rem;
  }
}

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

@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: 1600px) {
  html {
    font-size: 13px;
  }
}

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

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

