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

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

body {
  height: 100%;
  margin: 0;
  background-color: #fff;
  color: #000;
  font-size: 1.2rem;
  font-family: 'Roboto', "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 10000s ease-in-out 0s, box-shadow 10000s ease-in-out 0s !important;
  -webkit-box-shadow: 0 0 0px 1000px rgba(255, 255, 255, 0) inset !important;
  -webkit-text-fill-color: rgb(0, 0, 0) !important;
}

::-webkit-input-placeholder, :-moz-placeholder, ::-moz-placeholder, :-ms-input-placeholder {
  color: #fff !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-reverse;
  font-size: 1.2rem;
}

#particles {
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

#particles-js {
  -webkit-transform: rotate(19deg) translate(-29%, -50%);
  transform: rotate(19deg) translate(-29%, -50%);
  mix-blend-mode: overlay;
}

.small-only {
  display: block;
}

.contenu {
  width: 100%;
  background-color: #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;
}

.bloc_bg {
  width: 70%;
  margin: 0 auto;
}

div.hr {
  margin: 1.33rem 0;
}

#logo {
  /* position: absolute; */
  width: 90%;
  min-width: 100px;
  margin: auto -1.5rem;
  text-align: center;
}

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

h2 {
  font-family: 'Roboto', "Arial", sans-serif;
  margin: 0;
  color: #242529;
  font-size: 2.4rem;
  font-weight: bold;
  text-align: left;
  text-transform: uppercase;
}

h3 {
  font-family: 'Roboto', "Arial", sans-serif;
  margin: 0;
  /* margin-bottom: 2.3rem; */
  color: #242529;
  font-size: 2.06rem;
  font-weight: 300;
  line-height: 1.2;
  text-align: left;
  /* text-transform: uppercase; */
  letter-spacing: 1px;
}

/* h3 span{
  color: #4b83fc;
} */

.instructions {
  font-family: 'Roboto', "Arial", sans-serif;
  font-size: 1.38rem;
  color: #242529;
  line-height: 1.2;
  font-weight: 300;
  margin-bottom: 2rem;
  width: 100%;
  text-align: left;
}

.instructions .color {
  font-weight: 500;
}

br.display {
  display: none;
}

#fields {
  box-sizing: border-box;
}

#fields .field {
  position: relative;
  background-color: rgba(255, 255, 255, 0);
  box-shadow: 0px 0px 43px 0px rgba(0, 0, 0, 0.363);
  height: 5rem;
  border-radius: 50px;
  border: 1px solid rgba(161, 193, 209, 0.4);
  max-width: 30rem;
  /* -webkit-box-shadow: -1px 3px 38px 0px rgba(0, 0, 0, 0.14);
  box-shadow: -1px 3px 38px 0px rgba(0, 0, 0, 0.14); */
}

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

#fields .field:last-child {
  margin-bottom: 1rem;
}

#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: 24px;
  width: auto;
}

#fields label:after {
  content: '';
  border-right: 1px solid rgba(161, 193, 209, 0.4);
  position: absolute;
  top: 5px;
  bottom: 5px;
  right: 0;
  width: 100%;
}

#fields input[type=email], #fields input[type=text], #fields input[type=password] {
  font-size: 1.07rem !important;
  font-weight: bold;
  font-family: "Roboto", "Arial", sans-serif !important;
  color: #242529!important;
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 7.73rem;
  width: calc(100% - 7.73rem);
  border-bottom: 0;
  height: 100% !important;
  box-sizing: border-box;
  margin-bottom: 0;
}

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

#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: #242529;
  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: #fff;
}

#fields input::placeholder {
  color: #242529;
}

#oubli_form {
  text-align: right;
  font-family: 'Roboto', "Arial", sans-serif;
  font-weight: normal;
  font-size: 1.2rem;
  position: relative;
  max-width: 100%;
}

#oubli_form a {
  color: #a6a7aa;
  position: relative;
  /* font-style: italic; */
  z-index: 2;
  transition: all 0.3s;
  text-decoration: none;
  opacity: 1;
}

#oubli_form a:hover {
  opacity: .5;
}

.button_form {
  height: 3.6rem;
  width: 15rem;
  font-family: 'Roboto', "Arial", sans-serif;
  font-weight: bold;
  font-size: 1.5rem;
  color: #fff;
  background-color: #242529;
  max-width: 36.33rem;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2rem 0 0;
  text-align: left;
  /* border-radius: 50px; */
  letter-spacing: 1px;
  transition: all 0.3s ease-in-out;
  position: relative;
  text-transform: none;
}

.button_form:hover {
  background-color: #e61a2b;
}

.button_form img {
  margin-left: 1rem;
}

.button_form .arrow img {
  width: 80%;
  height: auto;
}

.button_form .arrow svg {
  fill: #fff;
  position: absolute;
  top: 0;
  left: 0;
}

.separateur {
  max-width: 4.539rem;
  border-bottom: 4px solid #214294;
  margin: 1rem 0;
  /* border-radius: 50px; */
}

header {
  position: relative;
}

main {
  position: relative;
}

@media screen and (min-height: 800px) {
  .contenu {
    justify-content: center;
  }
}

@media screen and (min-width: 600px) {
  #page {
    background-size: cover;
    background-position: 50% 60%;
  }
  .theme_1 {
    background: url(../images/bg.jpg) no-repeat;
  }
  br.display {
    display: block;
  }
  #page {
    padding: 2rem 0;
  }
  .small-only {
    display: none;
  }
  div.hr {
    margin: 30px 0;
  }
  .contenu {
    background: transparent;
    justify-content: center;
    height: 75%;
    flex: 0 0;
    margin: auto;
    width: 85%;
    z-index: 2;
  }
  .bg {
    display: none;
  }
  .bloc_bg {
    width: 100%;
    max-width: 34rem;
    background-color: rgba(255, 255, 255, 0.842);
    padding: 35px 35px 0;
  }
  .bloc_bg:last-of-type {
    padding: 14rem 0 0;
  }
  h2 {
    font-size: 2.4rem;
  }
  h3 {
    font-size: 2.06rem;
  }
  header, main {
    max-width: 30rem;
    margin: auto;
  }
}

@media screen and (max-width: 600px){
  #logo {
    /* position: absolute; */
    width: 70%;
    margin-bottom: 2rem!important;
    min-width: 100px;
    margin: auto -1.5rem;
    text-align: center;
  }
  @media screen and (max-width: 959px) and (max-height: 840px) {
    .bg {
      display: none;
    }
  }

}
  @media screen and (min-width: 960px) {
    html {
      font-size: 11px;
    }
    #page {
      min-height: 100%;
      display: flex;
      flex-direction: row-reverse;
      padding: 0;
    }
    .contenu {
      width: 100%;
      flex: 1 1 100%;
      height: initial;
      margin: initial;
      background: none;
      background-color: transparent;
      box-shadow: none;
    }
    .bg {
      display: block;
      width: 0%;
      flex: 1 1 0%;
      order: 1;
      background: transparent;
      height: initial;
      position: relative;
      overflow: hidden;
    }
  }
  @media screen and (min-width: 1200px) {
    html {
      font-size: 11px;
    }
    .contenu {
      width: 63%;
      flex: 1 1 63%;
      justify-content: flex-start;
      padding-top: 0;
    }
    .bg {
      width: 37%;
      flex: 1 1 37%;
    }
    .bloc_bg {
      background: none;
      position: relative;
    }
    header .hr {
      margin: 2rem 0 2.87rem;
    }
    #fields label {
      width: 4.93rem;
    }
    #fields input[type=email], #fields input[type=text], #fields input[type=password] {
      left: 6.67rem;
      width: calc(100% - 8.67rem);
    }
    footer {
      margin-top: 6.6rem;
    }
    #fields label:after {
      content: '';
      position: absolute;
      width: 1px;
      height: 77%;
      margin: 0px;
      right: 0px;
    }
  }
  @media screen and (min-width: 1600px) and (min-height: 860px) {
    html {
      font-size: 13px;
    }
    #logo {
      margin-bottom: 0.5rem;
    }
    .instructions {
      margin-bottom: 3rem;
    }
  }
  @media screen and (min-width: 960px) and (max-height:940px) {
    main::after {
      content: none;
      display: none;
    }
  }
  @media all and (-ms-high-contrast: none) and (max-width: 961px), (-ms-high-contrast: active) and (max-width: 961px) {
    #page {
      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, .contenu {
      min-height: 100vh;
    }
    .bg {
      min-height: 100vh;
    }
  }