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

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

body {
  height: 100%;
  margin: 0;
  background-color: #fff;
  color: #000;
  font-size: 1.2rem;
  font-family: 'Sofia Pro', "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: #fff !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: transparent;
  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: 90%;
  margin: 0 auto;
}

div.hr {
  margin: 1.33rem 0;
}

#logo {
  /* position: absolute; */
  width: 70%;
  min-width: 100px;
  text-align: center;
}

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

h2 {

  font-family: 'Sofia Pro', "Arial", sans-serif;
  margin: 0;
  color: #fff;
  font-size: 6.3rem;
  font-weight: 200;
  text-align: left;
  text-transform: uppercase;
  margin-top: 2rem;
  line-height: 0.9;
}

h3 {
  font-family: 'Bebas Neue', "Arial", sans-serif;
  margin: 0;
  /* margin-bottom: 2.3rem; */
  color: #fff;
  font-size: 5.3rem;
  font-weight: normal;
  text-align: left;
  text-transform: uppercase;
  line-height: 0.9;

}

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

.instructions {
  font-family: 'Sofia Pro', "Arial", sans-serif;
  color: #fff;
  line-height: 1.2;
  font-size: 1.5rem;
  font-weight: 200;
  margin-bottom: 2rem;
  width: 100%;
  text-align: left;
}

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

br.display {
  display: none;
}

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

#fields .field {
  position: relative;
  /* background-color: #fff; */
  height: 4.6rem;
  /* border-radius: 50px; */
  border-bottom: 0.5px #fff solid;
  /* -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 #ffffff;
  opacity: 0.2;
  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.27rem !important;
  font-weight: normal;
  font-family:  'Sofia Pro', "Arial", sans-serif !important;
  color: #ffffff !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: #ffffff;
}

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

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

#oubli_form {
  text-align: right;
  font-family: 'Bebas Neue', "Arial", sans-serif;
  font-weight: normal;
  font-size: 1.4rem;
  color: #ffffff;
  position: relative;
  letter-spacing: 1px;
  max-width: 100%;
}

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

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

.button_form {
  height: 5.6rem;
  width: 19rem;
  font-family: 'Bebas Neue', "Arial", sans-serif;
  font-weight: bold;
  font-size: 1.5rem;
  color: #fff;
  background-image: linear-gradient(to right, #863870, #9d3a54, #863870, #9d3a54);
  /* box-shadow: 0 4px 15px 0 rgba(116, 79, 168, 0.75); */
  max-width: 36.33rem;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 3rem;
  text-align: left;
  /* border-radius: 0 25px; */
  letter-spacing: 2px;
  text-transform: uppercase;
  position: absolute;
  right: 0;
  background-size: 300% 100%;
  moz-transition: all .4s ease-in-out;
  -o-transition: all .4s ease-in-out;
  -webkit-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out;
}

.button_form:hover {
  background-position: 100% 0;
  moz-transition: all .4s ease-in-out;
  -o-transition: all .4s ease-in-out;
  -webkit-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out;
}

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

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

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

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

header {
  position: relative;
}

main {
  position: relative;
}

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

@media screen and (min-width: 600px) {
  #page {
    padding: 2rem 0;
    background: url(../images/bg.jpg) no-repeat left center;
    background-size: cover;
    overflow: hidden;
    position: relative;
  }
  br.display {
    display: block;
  }
  #page {
    padding: 2rem 0;
  }
  .small-only {
    display: none;
  }
  div.hr {
    margin: 30px 0;
  }
  .contenu {
    justify-content: center;
    flex: 0 0;
    margin: auto;
    width: 70%;
    background-image: none;
    background-color: rgb(30 48 95 / 0%);
    border-top-left-radius: 6rem;
    border-bottom-right-radius: 6rem;
    position: relative;
    z-index: 1;
    padding: 2rem;

  }
  .bg {
    display: none;
  }
  .bloc_bg {
    width: 100%;
    max-width: 41.985rem;
    background-color: #164755f1;
  }
  .bloc_bg:last-of-type {
    padding: 0 35px 35px;
  }
  h2 {
    font-size: 5.4rem;
  }
  h3 {
    font-size: 5.5rem;
  }
  header, main {
    min-width: 33.693rem;
    max-width: 33.693rem;
    margin: auto;
  }
}

@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: 77%;
    flex: 1 1 77%;
  }
  .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) {
  html {
    font-size: 12px;
  }
}

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