@charset "UTF-8";

* {
  box-sizing: inherit;
}

html {
  height: 100%;
  font-size: 14px;
}

body {
  height: 100%;
  margin: 0;
  background-image: url("../images/background.png");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #000;
  font-size: 14px;
  font-family: "Poppins", "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: #2f3b69 !important;
}

::-webkit-input-placeholder,
:-moz-placeholder,
::-moz-placeholder,
:-ms-input-placeholder {
  font-style: italic;
  color: #2f3b69 !important;
  opacity: 1 !important;
  font-family: "Helvetica Neue LT Std", "Arial", sans-serif;
}

/*
::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;
  overflow-x: hidden;
}

.small-only {
  display: block;
}

.contenu {
  width: 100%;
  background: #fff;
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  overflow: hidden;
}

.bg {
  order: 1;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  grid-column-gap: 1rem;
  grid-row-gap: 1rem;
}

.bg-url1 {
  grid-area: 1 / 3 / 3 / 4;
  background: url("../images/Herrlisheim_106_NRC7025_web.png") no-repeat center center;
  background-size: cover;
  width: 100%;
}
.bg-url2 {
  grid-area: 1 / 1 / 2 / 2;
  background: url("../images/Herrlisheim_095_NRC6780_web.png") no-repeat center center;
  background-size: cover;
}
.bg-url3 {
  grid-area: 1 / 2 / 2 / 3;
  background: url("../images/Herrlisheim_079_NRC6310_web.png") no-repeat center center;
  background-size: cover;
}
.bg-url4 {
  grid-area: 2 / 1 / 3 / 3;
  background: url("../images/entreprise.png") no-repeat center center;
  background-size: cover;
}
.bg-url5 {
  grid-area: 3 / 1 / 4 / 2;
  background: url("../images/Herrlisheim_129_NRC7769_web.png") no-repeat center center;
  background-size: cover;
}
.bg-url6 {
  grid-area: 3 / 2 / 4 / 4;
  background: url("../images/Herrlisheim_030_NRB1928_web.png") no-repeat center center;
  background-size: cover;
}

.image {
  width: 100%;
  height: 100%;
}

header,
footer,
main {
  width: 90%;
  max-width: 39.534rem;
  margin: 0 auto;
  overflow: hidden;
}

header::before {
  content: url(../images/logo1.png);
  position: absolute;
  z-index: 1;
  bottom: 450px;
}

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

#logo {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 100px;
  text-align: left;
  overflow: hidden;
  margin-bottom: 38px;
}

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

h2 {
  margin: 0;
  font-size: 2.9rem;
  box-sizing: border-box;
  font-family: "Helvetica Neue LT Std", "Arial", sans-serif;
  line-height: 1;
  color: rgb(0, 160, 246);
  text-align: left;
  font-weight: lighter;
}

h3 {
  margin: 0;
  color: rgb(0, 160, 246);
  font-size: 1.9rem;
  font-weight: lighter;
  line-height: 1.3;
  font-family: "Helvetica Neue LT Std", "Arial", sans-serif;
  text-align: left;
}
h3 span {
  color: #3ab1ab;
}

.instructions {
  font-family: "Helvetica Neue LT Std", "Arial", sans-serif;
  text-align: left;
  color: rgb(114, 123, 128);
  font-size: 1.45rem;
  line-height: 1.5;
  font-weight: normal;
  margin-bottom: 3rem;
  margin-top: 0;
}

.instructions span {
  font-weight: bolder;
}

.color {
  font-weight: bold;
}

#fields {
  box-sizing: border-box;
  background-color: white;
  border: 2px solid rgb(19, 185, 245);
  margin-bottom: 1rem;
  max-width: 33rem;
  border-radius: 5px;
}

#fields .field {
  position: relative;
  background-color: transparent;
  height: 6.3rem;
}

#fields .field:first-child {
  border-bottom: 2px solid #ebf0ec;
}

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

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

#fields label img {
  height: 2.3rem;
  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.3rem !important;
  font-weight: 300;
  font-family: "Helvetica Neue LT Std", "Arial", sans-serif  !important;
  color: #2f3b69 !important;
  position: absolute;
  bottom: 0;
  left: 5.73rem;
  width: calc(100% - 5.73rem);
  border-bottom: 0;
  height: 100% !important;
  box-sizing: border-box;
  margin-bottom: 0;
  padding: 1.8rem 2rem 0 0;
  border: 0;
  background: transparent;
}

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

#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: #333333;
  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: #030304;
}

#fields input[type="email"] + span.label,
#fields input[type="text"] + span.label,
#fields input[type="password"] + span.label {
  color: #2f3b69 !important;
  font-size: 1.6rem !important;
  font-weight: 300;
  font-family: "Poppins", "Arial", sans-serif !important;
  position: absolute;
  text-align: center;
  left: 5.73rem;
  top: 50%;
  -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;
}

#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(-50% - 21px)) scale(0.7);
  transform: translateY(calc(-50% - 21px)) scale(0.7);
  font-size: 1.6rem !important;
}

#fields input::placeholder {
  color: #878787;
  font-weight: 600;
  opacity: 0;
}

#fields input:focus + span.label,
#fields input:not(:placeholder-shown) + span.label,
#fields input:-webkit-autofill + span.label {
  transform: translateY(calc(-50% - 20px)) scale(0.75);
  color: #2f3b69;
}

#fields input:focus {
  outline: none;
  box-shadow: none;
}

.button_form {
  height: 4.4rem;
  width: 17.13rem;
  font-family: "Helvetica Neue LT Std", "Arial", sans-serif;
  font-weight: bold;
  font-size: 1.4rem;
  color: #fff;
  background-color: rgb(255, 180, 0);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 0;
  text-align: center;
  transition: all 0.3s ease-in-out;
  position: relative;
  letter-spacing: 0.1rem;
  margin-right: 1.5rem;
}

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

.button_form:hover,
.button_form:focus {
  background-color: #00a0f6;
}

#oubli_form {
  text-align: right;
  margin-right: 15px;
  text-decoration: none;
}

#oubli_form a {
  font-family: "Helvetica Neue LT Std", "Arial", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  font-size: 1.6rem;
  text-align: center;
  transition: all 0.3s ease-in-out;
  position: relative;
  color: #00a0f6;
  opacity: 1;
  text-decoration: underline;
}

#oubli_form a:hover {
  color: rgb(255, 180, 0);
  transition: color 0.3s ease;
}

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

.dbl_btn {
  flex-direction: row;
  display: flex;
  justify-content: space-between;
  margin: 2rem 1rem 1rem auto;
  align-items: center;
}

@media screen and (max-width: 599px) {
  .contenu {
    text-align: center;
  }

  header,
  footer,
  main {
    width: 90%;
    max-width: 34.534rem;
    margin: 0 auto;
  }

  #oubli_form a {
    margin-left: 0;
  }

  html {
    font-size: 11.5px;
  }

  header::before {
    transform: translate(10%, -57.5%);
  }
}

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

  h3 {
    font-size: 1.7rem;
  }

  .disp {
    display: none;
  }
}

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

  h3 {
    font-size: 2.25rem;
  }

  .small-only {
    display: none;
  }

  div.hr {
    margin: 30px 0;
  }

  .contenu {
    justify-content: center;
    min-height: 100%;
    flex: 0 0;
    margin: auto;
    width: 100%;
    position: relative;
    border-radius: 0;
    box-shadow: 2px 23px 51px 0px rgba(1, 1, 1, 0);
    max-width: 41.534rem;
  }

  .contenu .forme {
    position: relative;
  }

  .bg {
    display: none;
  }

  .d-none {
    display: block;
  }

  .separateur {
    margin-left: 0;
  }

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

  .contenu header,
  .contenu main {
    max-width: 34.4rem;
  }

  header::before {
    transform: translate(59.5%, 1.5%);
  }
}

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

@media screen and (min-width: 960px) {
  html {
    font-size: 13px;
  }
  #page {
    min-height: 100%;
    display: flex;
    flex-direction: row;
    background-size: cover;
    padding: 0;
    overflow-x: hidden;
    gap: 1rem;
  }

  .contenu {
    width: 70%;
    flex: 1 1 100%;
    max-width: unset;
    margin: 0;
    box-shadow: none;
    border-radius: 0;
    justify-content: center;
  }

  .bg {
    order: 1;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  grid-column-gap: 1rem;
  grid-row-gap: 1rem;
  }

  header::before {
    transform: translate(47%, -19.5%) scale(0.9);
    margin-right: 10rem;
  }
}

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

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

  #page {
    background-size: cover;
  }

  .bg {
    width: 50%;
    flex: 1 1 50%;
    margin-top: 2rem;
    margin-right: 2rem;
    margin-bottom: 2rem;
  }

  .contenu {
    width: 30%;
    flex: 1 1 30%;
    position: relative;
    min-width: 41.534rem;
    margin-top: 2rem;
    margin-left: 2rem;
    margin-bottom: 2rem;
  }

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

  header::before {
    transform: translate(54%, -7.55%);
    margin-right: 0;
  }
}

@media screen and (min-width: 1430px) {
  header::before {
    margin-right: 4rem;
  }
}

@media screen and (min-width: 1600px) {
  header::before {
    transform: translate(59%, -13.1%);
    margin-right: 7rem;
  }
}

@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: 13.5px;
  }
}

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

  header::before {
    transform: translate(70%, -19%);
    right: 0;
    left: auto;
    margin-right: 0;
    transform-origin: top right;
    transform: translateY(-19%) translateX(25%);
  }

  #logo {
    margin-top: 20px;
  }
}

@media screen and (min-width: 599px) and (max-width: 959px) {
  #logo {
    margin-top: 20px;
  }
}

@media all and (-ms-high-contrast: none) and (max-width: 961px),
  (-ms-high-contrast: active) and (max-width: 961px) {
  #page {
    background: #fff;
    display: block;
  }

  s {
    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: 15px;
  }

}
