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

html {
  height: 100%;
}

body {
  height: 100%;
  margin: 0;
  background-color: #fff;
  color: #000;
  font-size: 1.2rem;
  font-family: 'Futura LT', "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(23, 35, 61) !important;
  font-size: 1.467rem !important;
}

::-webkit-input-placeholder, :-moz-placeholder, ::-moz-placeholder, :-ms-input-placeholder {
  color: rgb(23, 35, 61) !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: 11.5px;
}

#page {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  font-size: 1.2rem;
  overflow-x: hidden;
}

.small-only {
  display: block;
}

.contenu {
  width: 100%;
  background: rgb(254, 254, 254);
  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;
}

hr {
  width: 5rem;
  background: black;
  height: 5px;
  border: none;
  margin: 1.75rem 0;
}

#logo {
  width: 100%;
  max-width: 100%;
  min-width: 100px;
  text-align: left;
  /* padding-right: 4%; */
  margin-bottom: 3rem;
}

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

h2 {
  margin: 0;
  color: rgb(35, 38, 43);
  font-size: 4.3rem;
  font-weight: bold;
  box-sizing: border-box;
  font-family: 'Garamond', "Arial", sans-serif;
  text-align: left;
  line-height: 1.1;
}
h3 {
  font-family: 'Garamond', "Arial", sans-serif;
  margin: 0;
  color: rgb(35, 38, 43);
  font-size: 2.55rem;
  font-weight: bold;
  line-height: 1;
  text-align: left;
}
h3 span{
  color: rgb(15, 77, 116);
}

.instructions {
  font-family: 'Garamond', "Arial", sans-serif;
  color: rgb(23, 35, 61);
  font-size: 1.86rem;
  line-height: 1.2;
  font-weight: normal;
  margin-bottom: 2.5rem;
}
.color {
  font-weight: 600;
}

#fields {
  box-sizing: border-box;
  max-width: 100%;
  margin: auto;
}

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

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

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

#fields .field:not(:last-child)::before {
  content: "Identifiant";
  font-family: 'Garamond', "Arial", sans-serif !important;
  font-weight: bold;
  position: absolute;
  top: -15px;
  font-size: 4.2rem;
  left: 0px;
  opacity: 1;
  letter-spacing: 0.5rem;
  color: rgb(237, 237, 237);
}

#fields .field::before {
  content: "Mot de passe";
  font-family: 'Garamond', "Arial", sans-serif !important;
  white-space: nowrap;
  font-weight: bold;
  position: absolute;
  top: -10px;
  font-size: 4rem;
  left: 0px;
  opacity: 1;
  letter-spacing: 0.5rem;
  word-spacing: 4px;
  color: rgb(237, 237, 237);
}

#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: 3rem;
  width: 3.5rem;
  height: 100%;
  text-align: center;
  margin-left: 3px;
  display: flex;
  align-items: center;
}

#fields label:after {
  content: '';
  position: absolute;
  right: -0.4rem;
  width: 3px;
  background-color: rgb(167, 167, 169);
  height: 1.45rem;
  top: 2.4rem;
}

#fields label img {
  height: auto;
  width: auto;
  margin-left: 1.02rem;
}

#fields input::placeholder {
  font-family: 'Garamond', "Arial", sans-serif !important;
  color: rgb(35, 38, 43);
  font-weight: 500;
}

#fields input[type=email], #fields input[type=text], #fields input[type=password] {
  font-size: 1.467rem !important;
  font-weight: 500;
  font-family: 'Garamond', "Arial", sans-serif !important;
  color: rgb(35, 38, 43) !important;
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 7rem;
  width: calc(100% - 7rem);
  height: 100% !important;
  border-bottom: 0;
  box-sizing: border-box;
  margin-bottom: 0;
  padding: 0.85rem 2rem 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: #cccccc;
  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: 5.2rem;
  width: 19.25rem;
  font-family: 'Garamond', "Arial", sans-serif;
  font-weight: bold;
  font-size: 2.05rem;
  color: #fff;
  background-color: rgb(15, 77, 116);
  /* 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.1rem;
  margin: 2.5rem auto 0;
}

.button_form:hover, .button_form:focus {
  background-color: rgb(232, 131, 56);
}
         
.button_form .arrow {
  margin-left: 1rem;
  display: flex;
}

.button_form .arrow img {
  width: 80%;
  height: auto;
}

#oubli_form {
  font-family: 'Garamond', "Arial", sans-serif;
  text-align: right;
  font-weight: normal;
  font-size: 1.6rem;
  /* padding-right: 0.6rem; */
  margin-top: 1rem;
}

#oubli_form a {
  color: rgb(23, 35, 61);
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  border-bottom: 1px solid;
  /* font-style: italic; */
}

#oubli_form a:hover {
  color: rgb(232, 131, 56);
}

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

@media screen and (max-width: 599px) {
  #fields, #oubli_form {
    margin-left: auto;
    margin-right: auto;
  }
}

@media screen and (min-width: 600px) {
  #page {
    padding: 2rem 0;
    background: rgb(254, 254, 254) no-repeat 0% center;
    background-size: cover;
    overflow-x: hidden;
    position: relative;
  }
  .small-only {
    display: none;
  }
  .contenu {
    justify-content: center;
    flex: 0 0;
    margin: auto;
    width: 100%;
    background-image: none;
    background-color: rgb(254, 254, 254);
    position: relative;
    z-index: 1;
    padding: 2rem 4rem;
    /* border-radius: 1.6rem; */
    box-shadow: 2px 23px 51px 0px rgba(1, 1, 1, 0.1);
    max-width: 46rem;
  }
  .contenu .forme {
    position: relative;
    z-index: 1;
  }
  .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 100% center;
    background-size: cover;
    padding: 0;
    overflow-x: hidden;
  }
  .contenu {
    width: 50%;
    flex: 1 1 50%;
    max-width: unset;
    margin: unset;
    background: transparent;
    box-shadow: none;
  }
  .contenu header, .contenu main {
    max-width: 34rem;
  }
  .bg {
    display: block;
    width: 50%;
    flex: 1 1 50%;
    height: initial;
  }
}

@media screen and (min-width: 1200px) {
  html {
    font-size: 12px;
  }
  #page {
    background: url(../images/bg.jpg) no-repeat 90% center;
    background-size: cover;
  }
  .contenu {
    width: 40%;
    flex: 1 1 40%;
    position: relative;
    z-index: 1;
    height: 75%;
    background: rgba(255, 255, 255, 0);
    margin: auto;
  }
  .bg {
    width: 60%;
    flex: 1 1 60%;
  }
  .contenu header, .contenu main {
    max-width: 34rem;
  }
  .sous-div {
    margin-left: 2.5rem;
  }
  #fields {
    max-width: 100%;
    margin-left: 0rem;
  }
}

@media screen and (min-width: 1600px) and (min-height: 780px) {
  html {
    font-size: 12px;
  }
  .contenu header {
    max-width: 34rem;
  }
}

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

@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:599px) {
  html {
    font-size: 10.5px;
  }
  .displayBr{
    display: none;
  }
}

@media screen and (max-width:499px) {
  #logo img {
    max-width: 80%;
  }
}

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


@media screen and (min-width: 2300px) {
  html {
    font-size: 15px;
  }
  #page {
    background: url(../images/bg.jpg) no-repeat 90% top;
    background-size: cover;
  }
}
