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

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%;
  padding: 2rem;
  flex: 1 1 100%;
  display: flex;
  margin: auto;
  flex-direction: column;
  justify-content: center;
}

.color {
  font-weight: 500;
}

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

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

#logo {
  width: 100%;
  max-width: 100%;
  min-width: 100px;
  text-align: center;
  margin: auto 0 3rem 0;
}

#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: #ededed;
  border: none;
  width: 100%;
  height: 2px;
  margin: 2rem 0;
}

h2 {
  margin: 0;
  font-size: 3.2rem;
  letter-spacing: 1.5rem;
  font-weight: 500;
  box-sizing: border-box;
  font-family: "Cocon", "Arial", sans-serif;
  line-height: 1;
  color: #000000;
  text-align: left;
  text-transform: uppercase;
}

h3 {
  margin: 0;
  color: #000000;
  font-size: 1.95rem;
  font-weight: 500;
  line-height: 1;
  font-family: "Cocon", "Arial", sans-serif;
  text-align: left;
}

h3 span {
  color: #a9202b;
}

.instructions {
  font-family: "Verdana", "Arial", sans-serif;
  text-align: left;
  color: #000000;
  font-size: 1.11rem;
  line-height: 1.2;
  font-weight: normal;
  margin-bottom: 2rem;
}

.instructions span {
  font-weight: bold;
}

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

#fields .field {
  position: relative;
  height: 3.2rem;
  background-color: #ededed;
  margin: 1rem 0;
}

#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.5rem;
  width: auto;
}

#fields label:after {
  content: '';
  border-right: 1px solid #393535;
  opacity: 1;
  position: absolute;
  top: 0.6rem;
  bottom: 0.6rem;
  right: -.25rem;
  width: 100%;
}

#fields input[type=email], #fields input[type=text], #fields input[type=password] {
  font-size: 1rem !important;
  font-weight: normal;
  font-family: "Verdana", "Arial", sans-serif !important;
  color: #000000 !important;
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 5.5rem;
  width: calc(100% - 5.5rem);
  border-bottom: 0;
  height: 100% !important;
  box-sizing: border-box;
  margin-bottom: 0;
  caret-color: #000000;
  padding: 0 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: #000000;
  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: #000000;
  font-weight: normal;
}

.button_form {
  height: 3.2rem;
  width: 14rem;
  font-family: "Cocon", "Arial", sans-serif;
  font-weight: 500;
  font-size: 1.3rem;
  color: white;
  background: linear-gradient(188deg, rgba(198, 26, 39, 1) 0%, rgba(178, 30, 42, 1) 98%);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  text-align: center;
  transition: all 0.3s ease-in-out;
  position: relative;
  text-transform: uppercase;
  border-radius: 1.2rem;
  transform: scale(1);
  letter-spacing: 2px;
  line-height: normal;
}

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

.button_form:hover, .button_form:focus {
  background: linear-gradient(188deg, rgba(198, 26, 39, 1) 0%, rgba(178, 30, 42, 1) 98%);
  transform: scale(1.05);
}

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

#oubli_form a {
  font-family: "Verdana", "Arial", sans-serif;
  font-weight: normal;
  font-style: italic;
  font-size: 1rem;
  text-align: center;
  transition: all 0.3s ease-in-out;
  position: relative;
  color: #000000;
  opacity: 1;
  text-decoration: none;
}

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

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

  h2 {
    letter-spacing: 0;
  }
}

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

  .small-only {
    display: none;
  }

  .contenu {
    justify-content: center;
    flex: 0 0;
    margin: auto;
    width: 100%;
    background-image: none;
    background-color: transparent;
    position: relative;
    z-index: 1;
    max-width: 33rem;
  }

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

  .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;
    background: url(../images/bg.jpg) no-repeat;
    background-size: cover;
    background-position: left;
    padding: 0;
    overflow-x: hidden;
  }

  .contenu {
    width: 100%;
    flex: 1 1 100%;
    max-width: unset;
    margin: unset;
    background: transparent;
    box-shadow: none;
    margin: auto;
  }

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

  .bg {
    display: block;
    width: 35%;
    flex: 1 1 35%;
    height: initial;
  }
}

@media screen and (min-width: 1200px) {
  #page {
    background: url(../images/bg.jpg) no-repeat left center;
    background-size: cover;
  }

  .contenu {
    width: 60%;
    flex: 1 1 60%;
    position: relative;
    z-index: 1;
    height: 75%;
    margin: auto;
    background: transparent;
  }

  .bg {
    display: block;
    width: 40%;
    flex: 1 1 40%;
    height: initial;
  }

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

@media screen and (min-width: 1280px) {
  .contenu {
    width: 50%;
    flex: 1 1 50%;
  }

  .bg {
    width: 50%;
    flex: 1 1 50%;
  }
}

@media screen and (min-width: 1450px) {
  .contenu {
    width: 50%;
    flex: 1 1 50%;
  }

  .bg {
    width: 50%;
    flex: 1 1 50%;
  }
}

@media screen and (min-width: 1600px) {

  #page {
    background: url(../images/bg.jpg) no-repeat left center;
    background-size: cover;
  }
}

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

input:focus::placeholder {
  opacity: 0;
}
@media only screen and (min-width: 0) {
  html {
      font-size: 14px;
  }
}