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

html {
  height: 100%;
}

body {
  height: 100%;
  margin: 0;
  background-color: #fff;
  color: rgb(23, 23, 23);
  font-size: 1.2rem;
  /* font-family: "Montserrat", "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(22, 25, 26) !important;
}

::-webkit-input-placeholder,
:-moz-placeholder,
::-moz-placeholder,
:-ms-input-placeholder {
  font-style: italic;
  color: rgb(22, 25, 26) !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 {
  background: white no-repeat;
  background-size: cover;
  background-position: right center;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  font-size: 1.2rem;
  overflow-x: hidden;
}

.small-only {
  display: block;
}

.contenu {
  width: 100%;
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: left;
}

.color{
  font-weight: 500;
}

.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: 100%;
  min-width: 100px;
  text-align: left;
  margin-bottom: 2.75rem;
}

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

.separation-input{
  display: flex;
  position: absolute;
  left: 5.5rem;
  top: 0.55rem;
  width: 1.7px;
  height: 2rem;
  background: black;
}
.separateur {
  background: rgb(35, 31, 31);
  border: none;
  width: 4.25rem;
  height: 4px;
  margin: 2rem 0;
  margin-left: 0;
}

h2 {
  margin: 0;
  font-size: 3.25rem;
  font-weight: normal;
  box-sizing: border-box;
  font-family: "Poppins", "Arial", sans-serif;
  line-height: 1;
  color: rgb(35, 31, 31);
  text-align: left;
  text-transform: uppercase;
}

h3 {
  margin: 0;
  color: rgb(35, 31, 31);
  font-size: 1.846rem;
  font-weight: normal;
  line-height: 1;
  font-family: "Poppins", "Arial", sans-serif;
  text-align: left;
}

h3 span {
  color: rgb(51, 78, 157);
  font-weight: bold;
}

.instructions {
  font-family: "Poppins", "Arial", sans-serif;
  text-align: left;
  color: rgb(35, 31, 31);
  font-size: 1.376rem;
  line-height: 1.2;
  font-weight: normal;
  margin: 0 0 1.75rem;
}

.instructions span {
  color: rgb(51, 78, 157);
  font-weight: bold;
}

#fields {
  box-sizing: border-box;
  margin-bottom: 0.8rem;
  /* border: 1px solid #333333;
  border-radius: 5px; */
  background-color: #ffffff00;
  max-width: 100%;
  width: 100%;
}

#fields .field {
  position: relative;
  height: 2.8rem;
  border-bottom: 1px solid rgb(35, 31, 31);
  /* -webkit-box-shadow: 0px 0px 7px 5px rgba(0, 0, 0, 0.07);
  box-shadow: 0px 0px 7px 5px rgba(0, 0, 0, 0.07); */
}

#fields .field:first-child {
  /* border-bottom: 1px solid rgb(199, 199, 199); */
  margin-bottom: 1.75rem;
}

/* 
#fields .field:last-child {
} */

#fields label {
  position: absolute;
  top: 0;
  left: 0;
  width: 7rem;
  height: 100%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 2.5rem;
}

#fields label img {
  height: 1.45rem;
  width: auto;
}

#fields label:after {
  content: '';
  border-right: 1px solid rgb(0, 0, 0);
  opacity: 1;
  position: absolute;
  top: 0.4rem;
  bottom: 0.4rem;
  right: -.25rem;
  width: 100%; 
}

#fields input[type=email], #fields input[type=text], #fields input[type=password] {
  font-size: 1.3rem !important;
  font-weight: normal;
  font-family: "Adobe Caslon Pro", "Arial", sans-serif !important;
  color: rgb(35, 31, 31) !important;
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 7rem;
  width: calc(100% - 7rem);
  border-bottom: 0;
  height: 100% !important;
  box-sizing: border-box;
  margin-bottom: 0;
  caret-color: rgb(35, 31, 31);
  padding: 0.5rem 2rem 0 1.5rem;
}

#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(35, 31, 31);
  box-shadow: none;
  outline: 0;
}

#fields input[type=email]:focus:not([readonly]),
#fields input[type=text]:focus:not([readonly]),
#fields input[type=password]:focus:not([readonly]) {
  box-shadow: none;
  border-bottom-color: 16192a;
}
input::placeholder{
  color: rgb(35, 31, 31);
}
.button_form {
  height: 4.2rem;
  width: 14.25rem;
  font-family: "Adobe Caslon Pro", "Arial", sans-serif;
  font-weight: normal;
  font-size: 1.3rem;
  color: white;
  background-color: rgb(51, 78, 157);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  /* border: 2px solid #14a2a2; */
  text-align: center;
  transition: all 0.3s ease-in-out;
  position: relative;
  letter-spacing: 0.1rem;
  padding-top: 0.5rem;
  text-transform: uppercase;
}

.button_form img {
  margin-left: 15px;
}

.button_form:hover, .button_form:focus {
  background-color: rgb(35, 31, 31);
}

#oubli_form {
  text-align: right;
  margin: 1rem 0 2.5rem;
}

#oubli_form a {
  /* height: 3.4rem;
  width: 14.13rem; */
  font-family: "Adobe Caslon Pro", "Arial", sans-serif;
  font-weight: normal;
  /* font-style: italic; */
  font-size: 1.3rem;
  /* display: flex;
  justify-content: center;
  align-items: center; */
  border-bottom: 1px solid transparent;
  /* border-radius: 10px; */
  text-align: center;
  transition: all 0.3s ease-in-out;
  position: relative;
  color: rgb(35, 31, 31);
  opacity: 1;
  text-decoration: none;
  /* background: #353e49; */
  /* margin-left: 2rem; */
}

#oubli_form a:hover {
  color:  rgb(51, 78, 157);
  border-bottom: 1px solid;
}

@media screen and (max-width: 499px) {
  .disp {
    display: none;
  }
  h2 {
    letter-spacing: 0;
  }
}

@media screen and (max-width: 599px) {
  .contenu {
    text-align: left;
    padding: 0 1rem;
  }
  #fields, #oubli_form {
    margin-left: auto;
    margin-right: auto;
  }
}

@media screen and (min-width: 600px) {
  #page {
    padding: 2rem 0;
    background-size: cover;
    overflow-x: hidden;
    position: relative;
    background-color: rgb(51, 78, 157);
  }
  .small-only {
    display: none;
  }
  div.hr {
    margin: 30px 0;
  }
  .contenu {
    justify-content: center;
    flex: 0 0;
    margin: auto;
    width: 70%;
    background-image: none;
    background-color: transparent;
    position: relative;
    z-index: 1;
    /* border-radius: 1.6rem; */
    /* box-shadow: 2px 23px 51px 0px rgba(1, 1, 1, 0.1); */
    max-width: fit-content;
  }
  .contenu .forme {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    width: 36rem;
    background-color: #fff;
    padding: 4.5rem 0;
    -webkit-box-shadow: 0px 0px 70px 12px rgba(0, 0, 0, 0.45);
    -moz-box-shadow: 0px 0px 70px 12px rgba(0, 0, 0, 0.45);
    box-shadow: 0px 0px 70px 12px rgba(0, 0, 0, 0.45);
  }
  .bg {
    display: none;
  }
  header, main, footer {
    max-width: 30rem;
  }
}

@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;
    background-size: cover;
    background-position: left;
    padding: 0;
    overflow-x: hidden;
  }
  .contenu {
    width: 65%;
    flex: 1 1 65%;
    max-width: unset;
    margin: unset;
    background: transparent;
    box-shadow: none;
    margin: auto;
  }
  .contenu header, .contenu main {
    max-width: 30rem;
  }
  .bg {
    display: block;
    width: 35%;
    flex: 1 1 35%;
    height: initial;
  }
  .contenu .forme {
    width: 44rem;
  }
}

@media screen and (min-width: 1200px) {
  html {
    font-size: 14px;
  }
  #page {
    background: url(../images/bg.jpg) no-repeat left center;
    background-size: cover;
  }
  .contenu {
    width: 50%;
    flex: 1 1 50%;
    position: relative;
    z-index: 1;
    height: 75%;
    margin: auto;
    background: transparent;
  }
  .bg {
    display: block;
    width: 50%;
    flex: 1 1 50%;
    height: initial;
  }
  .contenu header, .contenu main {
    max-width: 30rem;
  }
  .sous-div{
    margin-left: 2.5rem;
  }
  #logo {
    margin-left: -3.5rem;
    max-width: 120%;
    width: 120%;
  }
}

@media screen and (min-width: 1600px) {
  html {
    font-size: 14px;
  }
  .contenu header, .contenu main {
    max-width: 30rem;
  }
  #page {
    background: url(../images/bg.jpg) no-repeat left center;
    background-size: cover;
  }
}

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

@media screen and (min-width: 1900px) {
  html {
    font-size: 15.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 (min-width: 2300px) {
  html {
    font-size: 21.3px;
  }

  #logo {
    margin-left: -2.25rem;
  }
}

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

  #logo {
    margin-left: -1.75rem;
  }
}