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

html {
  height: 100%;
}

body {
  height: 100%;
  margin: 0;
  background-color: #fff;
  color: #1d2124;
  font-size: 1.2rem;
   font-family: "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: #000000 !important;
}

::-webkit-input-placeholder,
:-moz-placeholder,
::-moz-placeholder,
:-ms-input-placeholder {
  font-style: italic;
  color: rgb(3, 3, 4) !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: 13px;
}

#page {
  /*background: url(../images/bg2.jpg) no-repeat;*/
  background-color: #e0d6d5;
  background-size: cover;
  background-position: right center;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  font-size: 1.2rem;
  overflow-x: hidden;
  padding: 2rem;
}

.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;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

div.hr {
  margin: 1.33rem 0;
}

hr {
  width: 62%;
  margin: auto;
  background: #e2e5ea;
  height: 3px;
  border: none;
  margin-top: 3rem;
  margin-bottom: 3rem;
}

#logo {
  width: 68%;
  max-width: 100%;
  min-width: 100px;
  text-align: left;
  margin: 0 auto 5.4rem auto;

}

#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: #00964f;
}
.separateur {
  background: #00964f;
  border: none;
  width: 5.25rem;
  height: 4px;
  margin: 1.65rem 0;
  margin-left: 0;
}
.h2_container {
  display: flex;
  flex-direction: column;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
/*
.left-border {
  background-color: rgb(81, 73, 116);
  width: 4px;
  height: 6.25rem;
  position: absolute;
  top: -2.5rem;
} */

h2 {
  margin: 0;
  width: 100%;
  font-size: 3.2rem;
  line-height: 1;
  font-family: "Avenir", "Arial", sans-serif;
  /*text-transform: uppercase;*/
  color: #699694;
  font-weight: bold;
  font-style: normal;
  /*letter-spacing: 16px;*/
  margin-bottom: 0.28rem;
}

h3 {
  margin: 0;
  color: #1d2124;
  font-size: 1.96rem;
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  font-family: "Avenir", "Arial", sans-serif;
  text-align: left;
  /*text-transform: uppercase;*/
}
/*h3 span {*/
/*  color: #00964f;*/
/*}*/

.instructions {
  /*font-family: "Poppins", "Arial", sans-serif;*/
  text-align: left;
  color: #1d2124;
  font-size: 1.48rem;
  line-height: 1.2;
  font-weight: normal;
  font-style: normal;
  font-display: swap;
  margin-bottom: 2rem;
  margin-top: 2rem;
}

.instructions span {
  font-weight: bold;
}

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

#fields .field {
  position: relative;
  height: 3.2rem;
  display: flex;
  align-items: center;
  background: rgb(253, 253, 253);
}

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

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

#fields label {
  position: absolute;
  top: 0;
  left: 0;
  width: 5rem;
  height: 100%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  /*padding-bottom: 1rem ;*/
}

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

#fields label:after {
  content: "";
  border-right: 1px solid rgb(105, 150, 148);
  opacity: 1;
  position: absolute;
  top: 0.4rem;
  bottom: 0.5rem;
  right: -0.25rem;
  width: 100%;
}

#fields input[type="email"],
#fields input[type="text"],
#fields input[type="password"] {
  font-size: 1.2rem !important;
  font-weight: normal;
  font-style: normal;
  font-display: swap;
  /*font-family: "Poppins", "Arial", sans-serif !important;*/
  color: black !important;
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 5rem;
  width: calc(100% - 5rem);
  border-bottom: 0;
  height: 100% !important;
  box-sizing: border-box;
  margin-bottom: 0;
  caret-color: black;
  padding: 0 2rem;
}

#fields input[type="email"]#password,
#fields input[type="text"]#password,
#fields input[type="password"]#password {
  caret-color: black;
}

#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: black;
  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: black;
}
.button_form {
  height: 3.5rem;
  width: 15rem;
  border-radius: 0.4rem;
  font-family: "Avenir", "Arial", sans-serif;
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 1.2rem;
  color: #e0d6d5;
  background-color: #dc6a46;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 0 0;
  text-align: center;
  transition: all 0.3s ease-in-out;
  position: relative;
  margin-left: 26%;
  margin-bottom: 2.2rem;
}

.button_form:hover,
.button_form:focus {
  color: #ffffff;
  letter-spacing: 3px;
  /*background-color: #dc6a46;*/
}

#oubli_form {
  text-align: right;
  margin-bottom: 3rem;
  width: 92%;
  /*margin-left: 17rem;*/
}

#oubli_form a {
  /* height: 3.4rem;
  width: 14.13rem; */
  /*font-family: "Poppins", "Arial", sans-serif;*/
  font-weight: 300;
  font-style: italic;
  font-display: swap;
  font-size: 1.25rem;
  /* display: flex;
  justify-content: center;
  align-items: center; */
  /* border: 2px solid #353e49; */
  /* border-radius: 10px; */
  text-align: center;
  transition: all 0.3s ease-in-out;
  position: relative;
  color: black;
  opacity: 1;
  text-decoration: underline;
  /* background: #353e49; */
  /* margin-left: 2rem; */
}

#oubli_form a:hover {
  color: #dc6a46;
}

@media screen and (max-width: 499px) {
  .disp {
    display: none;
  }
}
@media screen and (max-width: 374px) {
  h2 {
    font-size: 2rem;
  }

  .h2_container{
    align-items: flex-start;
    text-align: left;
  }

  h3 {
    font-size: 1.24rem;
  }
  .instructions {
    font-size: 1.14rem;
  }
  .button_form{
    margin: 0 auto;
  }
}
@media screen and (max-width: 599px) {
  #page {
    padding: 1rem;
  }
  .contenu {
    text-align: left;
    /*padding: 0 2rem;*/
  }
  /*#fields,*/
  /*#oubli_form {*/
  /*  margin-left: auto;*/
  /*  margin-right: auto;*/
  /*}*/

  h2 {
    font-size: 2.5rem;
  }

  .h2_container{
    align-items: flex-start;
    text-align: left;
    /*margin: 0 auto;*/
  }


  h3 {
    font-size: 1.4rem;
  }

  .instructions {
    font-size: 1.24rem;
    width: auto;
    margin: 2rem auto;
  }

  #fields, #oubli_form {
    width: 100%;
    max-width: unset;
  }

  .button_form{
    margin: 0 auto;
  }

}

@media screen and (min-width: 600px) {
  #page {
    padding: 2rem 0;
    background-size: cover;
    overflow-x: hidden;
    position: relative;
  }
  .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: 30rem;
  }
  .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;
    background-size: cover;
    background-position: right;
    padding: 0;
    overflow-x: hidden;
  }
  .contenu {
    width: 50%;
    flex: 1 1 50%;
    max-width: unset;
    margin: unset;
    background: transparent;
    box-shadow: none;
    padding-left: 2rem;
    padding-right: calc(6rem - 2vw);
    /*padding-left: 4vw;*/
  }
  /*.contenu header,*/
  /*.contenu main {*/
  /*  max-width: 30rem;*/
  /*}*/
  .bg {
    display: block;
    width: 50%;
    flex: 1 1 50%;
    height: initial;
  }
}

@media screen and (min-width: 960px) and (max-height: 679px) {
  .contenu {
    padding-top: 2rem;
    background-color: #e0d6d5;
  }
}

@-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 center center;
    background-size: cover;
  }
  .forme {
    max-width: 35rem;
  }
  .contenu {
    width: 37.8%;
    flex: 1 1 37.8%;
    position: relative;
    z-index: 1;
    height: 75%;
    margin: auto;
  }
  .bg {
    display: block;
    width: 65%;
    flex: 1 1 65%;
    height: initial;
  }
  /*.contenu header,*/
  /*.contenu main {*/
  /*  max-width: 3rem;*/
  /*}*/
  .sous-div {
    margin-left: 2.5rem;
  }
}

@media screen and (min-width: 1600px) and (min-height: 780px) {
  html {
    font-size: 15px;
  }
  /*.contenu header,*/
  /*.contenu main {*/
  /*  max-width: 29rem;*/
  /*}*/
}

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

@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 (min-width: 2300px) {
  html {
    font-size: 16px;
  }
}

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


/* debug */
/*.forme {*/
/*  margin-top: -1.3rem;*/
/*}*/