@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: "Times", "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(6, 22, 37) !important;
}

::-webkit-input-placeholder, :-moz-placeholder, ::-moz-placeholder, :-ms-input-placeholder {
  font-style: italic;
  color: rgb(6, 22, 37) !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;
}

.d-none {
  display: none;
}

/* 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: 12px;
}

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

.small-only {
  display: block;
}

.contenu {
  width: 100%;
  background: #ffffff;
  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: 100%;
  max-width: 36rem;
  margin: 0 auto;
}

.separateur {
  background: rgb(135, 154, 100);
  border: none;
  width: 100%;
  height: 4px;
  margin-top: 1rem;
  margin-bottom: 4rem;
  margin-left: 0;
}

#logo {
  width: 100%;
  max-width: 100%;
  min-width: 100px;
  margin:7rem 0 2rem 0;
  align-items: left;
  /* margin-bottom: 2rem; */
}

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

h2 {
  margin: 0;
  font-size: 4.3rem;
  font-weight: normal;
  box-sizing: border-box;
  font-family: 'Gordita', "Arial", sans-serif;
  line-height: 1;
  color: #ffbe58;
  text-align: left;
  /* text-transform: uppercase; */
}

/* h2 span {
  color: rgb(196, 30, 30);
} */

h3 {
  margin: 0;
  margin-bottom: 3rem;
  color: #5371ff;
  font-size: 2.45rem;
  font-weight: 500;
  line-height: 1;
  font-family: 'Gordita', "Arial", sans-serif;
  text-align: left;
}

.instructions {
  font-family: 'Gordita', "Arial", sans-serif;
  text-align: left;
  color: #ae9c9c;
  font-size: 1.4rem;
  line-height: 1.2;
  font-weight: 500;
  margin: 1.5rem 0 4rem;
}

.color{
  font-weight: bold;
} 

#fields {
  box-sizing: border-box;
  margin-bottom: 1rem;
  /* border: 1px solid rgb(26, 37, 39); */
  border-radius: 10px;
  background-color: #ffffff;
  max-width: 35rem;
  width: 100%;
  -webkit-box-shadow: 0px 0px 20px 5px rgba(0, 0, 0, 0.07);
  box-shadow: 0px 0px 20px 5px rgba(0, 0, 0, 0.07);
}

#fields .field {
  position: relative;
  height: 6.8rem;
}

#fields .field:first-child {
  border-bottom: 1px solid #f3f3f3;
}


#fields .field:last-child {
  border-left: 7px solid transparent;
  border-left-color: transparent;
}

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

#fields label img {
  height: 32px;
  width: auto;
}

/* #fields label:after {
  content: '';
  border-right: 1px solid #d2d8e7;
  opacity: 1;
  position: absolute;
  top: 16px;
  bottom: 14px;
  right: 0;
  width: 100%; 
}*/

#fields input[type=email], #fields input[type=text], #fields input[type=password] {
  font-size: 1.35rem !important;
  font-weight: bold;
  font-family: "Times", "Arial", sans-serif !important;
  color: #cbb4b4 !important;
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 5.73rem;
  width: calc(100% - 5.73rem);
  border-bottom: 0;
  height: 100% !important;
  box-sizing: border-box;
  margin-bottom: 0;
  caret-color: #cbb4b4;
  padding: 1.75rem 2rem 0 1.25rem;
}

#fields input[type=email]#password, #fields input[type=text]#password, #fields input[type=password]#password {
}

#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(126, 129, 132);
  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: rgb(126, 129, 132);
}

#fields input[type=email]+span.label, #fields input[type=text]+span.label, #fields input[type=password]+span.label {
  color: #000 !important;
  font-size: 1.4rem !important;
  font-weight: normal;
  font-family: "Gordita", "Arial", sans-serif !important;
  position: absolute;
  text-align: center;
  left: 5.73rem;
  top: 35%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
  -webkit-transform-origin: left center;
  transform-origin: left center;
  z-index: 0;
}

#fields input[type=email]+span.label.active, #fields input[type=text]+span.label.active, #fields input[type=password]+span.label.active {
  -webkit-transform: translateY(calc(-15% - 18.5px)) scale(0.85);
  transform: translateY(calc(-15% - 18.5px)) scale(0.85);
  /* padding-left: 6px; */
}

#fields input::placeholder {
  font-family: "Gordita", "Arial", sans-serif !important;
  font-weight :bold;
  color: #cbb4b4;
  /* font-weight: 600; */
}

.button_form {
  height: 3.8rem;
  width: 46%;
  font-family: 'Raleway', "Arial", sans-serif;
  font-weight: bold;
  font-size: 1.1rem;
  color: white;
  background: #5371ff;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: left;
  transition: all 0.3s ease-in-out;
  position: relative;
  letter-spacing: 0.3rem;
  text-transform: uppercase;
  box-shadow: 3px 6px 33.668px 4.332px rgba(124, 124, 124, 0.33);
  z-index: 2;
  position: relative;
  margin: 0 0 0 auto;
  border-radius: 7px;
  /* transform: skew(-20deg); */
}
/* .button_form span{
  transform: skew(20deg);
} */
/* .arrow{
  margin-top: 0.3rem;
  margin-left: 15px;
}
.button_form:hover .arrow {
  transition: all 0.3s ease-in-out;
  margin-right: -20px;
} */

.button_form:hover, .button_form:focus {
  color: #9e9b9b;
  background: #faf2f2;
  box-shadow: 3px 6px 33.668px 4.332px rgba(124, 124, 124, 0);

  /* -webkit-animation: jelly 0.5s;
  animation: jelly 0.5s; */
}

.oubli_form {
  height: 3.8rem;
  width: 46%;
  font-family: 'Raleway', "Arial", sans-serif;
  font-weight: normal;
  font-size: 1.1rem;
  color: #9e9b9b;
  background: #faf2f2;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: left;
  transition: all 0.3s ease-in-out;
  position: relative;
  /* text-transform: uppercase; */
  box-shadow: 3px 6px 33.668px 4.332px rgba(124, 124, 124, 0.33);
  z-index: 2;
  position: relative;
  margin: 0 auto 0 0;
  border-radius: 7px;
}

.oubli_form:hover {
  background-color:#5371ff;
  color: #ffff;
  box-shadow: 3px 6px 33.668px 4.332px rgba(124, 124, 124, 0);

}

.oubli_form span.bold{
  font-weight: bold;
}

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

.dbl_btn {
  display: flex;
  max-width: 35rem;
  width: 100%;
  margin: 3rem 0 0;
}

@media screen and (min-width: 600px) {
  #page {
    padding: 2rem 0;
    background: url(../images/bg.jpg) no-repeat right center;
    background-size: cover;
    overflow: hidden;
    position: relative;
  }
  .small-only {
    display: none;
  }
  div.hr {
    margin: 30px 0;
  }
  .contenu {
    /* text-align: center; */
    justify-content: center;
    min-height: 100%;
    flex: 0 0;
    margin: auto;
    width: 100%;
    background-image: none;
    background-color: rgba(255, 255, 255, 0);
    position: relative;
    z-index: 1;
    padding: 2.6rem;
    border-radius: 0;
    /* box-shadow: 2px 23px 51px 0px rgba(1, 1, 1, 0.1); */
    max-width: 41.534rem;
  }
  /* .contenu .forme {
    position: relative;
    z-index: 1;
  } */
  .bg {
    display: none;
  }
  .d-none {
    display: block;
  }
  .separateur {
    margin-left: 0;
  }
   header, footer {
    width: 100%;
  } 
  .contenu header, .contenu main {
    max-width: 36.8rem;
  }
  
}

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

@media screen and (min-width: 960px) {
  #page {
    background: url(../images/bg.jpg) no-repeat right center;
    min-height: 100%;
    display: flex;
    flex-direction: row-reverse;
    background-size: cover;
    padding: 0;
    overflow-x: hidden;
  }
  .contenu {
    width: 60%;
    flex: 1 1 60%;
    max-width: unset;
    margin: 0;
    background: #0e335900;
    box-shadow: none;
    border-radius: 0;
  }
  .bg {
    display: block;
    width: 40%;
    flex: 1 1 40%;
    height: initial;
  }
}
@media screen and (max-width: 599px) {
  header, footer, main {
    width: 100%;
    max-width: 36rem;
    margin: 0 auto;
  }
  .disp{
    display: none;
  }
  h2 {
    font-size: 3rem;
  }
  .contenu {
    padding: 0 3rem;
    background-color: white;
    background: white;
  }
  .button_form {
    width: 45%;
    font-size: 1rem;
  }
  .oubli_form {
    width: 45%;
    font-size: 1rem;
  }
}

@media screen and (max-width: 499px) {
  .contenu {
    padding: 0 2rem;
  }
}

@media screen and (max-width: 411px) {
  h2 {
    font-size: 2.5rem;
  }  
}

@media screen and (max-height: 767px) and (min-width: 1200px) {
  #page {
    padding: 2rem;
  }
}

@media screen and (max-height: 767px) and (min-width: 350px) {
 
  .instructions{
    margin: 1.5rem 0 2rem;
  }

  .button_form {
    width: 45%;
    font-size: 0.8rem;
  }
}

@media screen and (min-width: 1200px) {
  html {
    font-size: 12px;
  }
  #page {
    background: url(../images/bg.jpg) no-repeat right center;
    background-size: cover;
  }
  .bg {
    width: 53%;
    flex: 1 1 53%;
  }
  .contenu {
    width: 50%;
    flex: 1 1 50%;
    position: relative;
    z-index: 1;
    background: none;
    min-width: 41.534rem;
    margin: auto;
  }
  .sous-div {
    margin-left: 2.5rem;
  }
  header, main {
    max-width: 36rem;
    width: 100%;
  }
}

@media screen and (min-width: 1200px) and (max-height: 820px) {
  html {
    font-size: 11px;
  }
}

@media screen and (min-width: 1600px) and (min-height: 860px) {
  html {
    font-size: 13px;
  }
}
/* 
@media screen and (min-width: 1900px) {
  html {
    font-size: 15px;
  }
} */

@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) {
  #page {
    background: url(../images/bg.jpg) no-repeat right top;
    background-size: cover;
  }
}