@charset "UTF-8";

:root {
  --max-width-contenu: 40rem;
}

* {
  box-sizing: inherit;
}

html {
  height: 100%;
  font-size: clamp(12px, 1.1vw, 13px);
}

body {
  height: 100%;
  margin: 0;
  background-color: #fff;
  color: rgb(23, 23, 23);
  font-size: 1.2rem;
  font-family: "Helvetica LT Std", "Open Sans", 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: #121212BF !important;
}

::-webkit-input-placeholder,
:-moz-placeholder,
::-moz-placeholder,
:-ms-input-placeholder {
  font-style: italic;
  color: #121212BF !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 {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  font-size: 1.2rem;
  overflow-x: hidden;
  /* background: url(../images/bg0.png) no-repeat right top; */
  background-size: cover;
  background-position: right;
}

#page::before {
  content:"";
  position: absolute;
  top: 0;
  right: 0;
  width: 25vw;
  height: 25vh;
  background: url(../images/bg_tr.png) no-repeat right top;
  background-size: contain;
}

#page::after {
  content:"";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 23vw;
  height: 17vh;
  background: url(../images/bg_br.png) no-repeat right bottom;
  background-size: contain;
}

.small-only {
  display: block;
}

.contenu {
  width: 100%;
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.8);
  order: 1;
}

.contenu .forme {
  width: 100%;
}

.bg {
  width: 100%;
  display: none;
}

header,
footer,
main {
  width: 100%;
  margin: 0 auto;
}

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: 100%;
  max-width: min(16rem, 35vw);
  min-width: 100px;
  text-align: center;
  margin-bottom: 1rem;
}

#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: #091e33;
}

h2 {
  margin: 0;
  color: #fe710b;
  font-size: min(11vw, 6rem);
  letter-spacing: -0.1em;
  font-weight: bold;
  font-style: normal;
  font-display: swap;
  line-height: 1em;
  font-family: "Open Sans", "Arial", sans-serif;
  text-transform: uppercase;
}

h3 {
  margin: 0;
  color: #27771c;
  font-size: min(5vw, 2.25rem);
  font-weight: bold;
  font-style: normal;
  font-display: swap;
  line-height: 1em;
  font-family: "Open Sans", "Arial", sans-serif;
  margin-bottom: 0;
  letter-spacing: -0.03em;
}

.separateur {
  /* background: #091e33; */
  border: none;
  width: 60%;
  height: 0.9rem;
  margin: 1rem 0 1.75rem;
  margin-left: 0;
  background: url(../images/separateur.png) no-repeat left top;
  background-size: contain;
}

.instructions {
  text-align: left;
  color: #000000;
  font-size: 1.47rem;
  line-height: 1.2;
  font-style: normal;
  font-display: swap;
  margin-bottom: 1.5rem;
}

.instructions span {
  letter-spacing: 0.01em;
  font-weight: bold;
}

h4 {
  text-align: left;
  color: #27771c;
  font-size: 1.27rem;
  line-height: 1.2;
  margin-bottom: 0.2rem;
  margin: 0 0 0.4rem;
}

#fields {
  box-sizing: border-box;
  margin-bottom: 0.8rem;
  background-color: #ffffff00;
  max-width: 100%;
  width: 100%;
}

#fields .field {
  position: relative;
  height: clamp(30px, 10vw, 4.8rem);
  -webkit-box-shadow: 2px 2px 7px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 2px 2px 7px 0px rgba(0, 0, 0, 0.1);
  -webkit-border-radius: 1.85rem;
  -moz-border-radius: 1.85rem;
  border-radius: 2.65rem;
  border: 1px solid #e7e4e0;
  background: #ffffff;
  opacity: 0.8;
}

#fields .field:first-child {
  margin-bottom: 1.2rem;
}

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

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

#fields .separateurv {
  height: 1.3rem;
  width: 2px;
  background: #000000;
  position: relative;
  left: 4rem;
  top: 50%;
  transform: translateY(-50%);
}

#fields input[type="email"],
#fields input[type="text"],
#fields input[type="password"] {
  font-size: 1.2rem !important;
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  font-family: "Raleway", "Arial", sans-serif !important;
  color: #121212BF !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: #121212BF;
  padding: 0 2rem;
  padding-left: 0;
}

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

#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: #121212;
  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: transparent;
}

input::placeholder {
  color: #121212BF;
}

.btns {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.button_form {
  height: clamp(30px, 10vw, 4.8rem);
  font-size: 1.75rem;
  color: #ffffff;
  background-color: #fe6801;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 2.85rem;
  text-align: center;
  transition: all 0.3s ease-in-out;
  position: relative;
  padding: 0.2em 0.5em;
  flex: 1 1 50%;
  border: 2px solid #fe6801;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.button_form:hover,
.button_form:focus {
  background-color: #fe9901;
  border: 2px solid #fe9901;
}

#linkRecupId {
  font-size: 1.35rem;
  background: #ffffff;
  color: #27771c;
  border-color: #27771c;
}

#linkRecupId:hover {
  color: #fe9901;
  border: 2px solid #fe9901;
}

footer {
  margin-top: 1.1rem;
  border: 2px solid #26771c;
  background: #ffffff;
  border-radius: 1rem;
  padding: 1rem 1.5rem;
}

#logos_partenaires {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

footer .separateurv {
  height: min(3.5rem, 7vh);
  width: 2px;
  background: #fe710b;
}

#logos_partenaires img {
  flex: 0 1 auto;
  display: block;
  height: min(6.5rem, 10vw);
}

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

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

  #fields,
  #oubli_form {
    margin-left: auto;
    margin-right: auto;
  }

  .btns {
    flex-wrap: wrap;
  }

  .button_form {
    font-size: 1.35rem;
  }
}

@media screen and (min-width: 600px) {
  #page {
    padding: 2rem 0;
    position: relative;
  }

  .small-only {
    display: none;
  }

  div.hr {
    margin: 30px 0;
  }

  .contenu {
    flex: 0 0;
    margin: auto;
    width: 70%;
    background-color: transparent;
    position: relative;
    z-index: 1;
    max-width: var(--max-width-contenu, 30rem);
  }

  .contenu .forme {
    position: relative;
    z-index: 1;
  }

  header,
  main,
  footer {
    width: 100%;
  }
}

@media screen and (min-width: 960px) and (orientation: landscape) {
  #page {
    flex-direction: row;
    padding: 0;
  }

  .contenu {
    width: 50%;
    flex: 1 1 50%;
    max-width: unset;
    margin: unset;
    background: transparent;
  }

  .contenu header,
  .contenu main,
  .contenu footer {
    max-width: var(--max-width-contenu, 30rem);
  }

  .bg {
    display: block;
    width: 50%;
    flex: 1 1 auto;
    position: relative;
    margin-right: -10%;
    background: url(../images/bg.jpg) no-repeat center right;
    background-size: cover;

  }
}

@media screen and (min-width: 960px) and (max-height: 679px) {
  .contenu {
    background-color: white;
  }
}

@-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 (min-width: 1200px) {
  .forme {
    max-width: var(--max-width-contenu, 30rem);
    margin: auto;
  }

  .contenu {
    flex: 1 1 47%;
    height: 75%;
    margin: auto;
  }

  .sous-div {
    margin-left: 2.5rem;
  }
}

@media screen and (min-width: 1600px) and (min-height: 780px) {
  .contenu footer {
    max-width: initial;
    margin-left: -1.5rem;
    margin-right: -2.5rem;
    width: initial;
  }
}

@media (min-width: 1921px), (min-height: 920px) {
  html {
    font-size: 16px;
  }
}

@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;
  }
}
