@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: "The group TEXT", "Arial", sans-serif;
  font-weight: 400;
}

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.6) inset !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.6) !important;
}

::-webkit-input-placeholder, :-moz-placeholder, ::-moz-placeholder, :-ms-input-placeholder {
  color: rgba(255, 255, 255, 0.6) !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;
}

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


.small-only {
  display: block;
}

.contenu {
  width: 100%;
  background-color: transparent;
  flex: 1 1 100%;
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-content: center;
}

.bg {
  order: -1;
  width: 100%;
  height: 14vh;

  flex: 0 0 auto;
  /*display: none;*/

  background: url(../images/volkswagen_group_background.jpg) no-repeat center center;
  background-size: cover !important;
}

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

div.hr {
  margin: 1.33rem 0;
}

#logo {
  width: 100%;
  max-width: 28.6rem;
  min-width: 100px;
  margin-bottom: 3rem;
  margin-top: 2rem;
}

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

h2 {
  margin: 0;
  color: #c0fc06;
  font-size: clamp(40px, 3vw, 4.8rem);
  font-weight: normal;
  line-height: 1.1;
  font-family: 'The group HEAD', sans-serif;
}

h2:last-of-type {
  margin-bottom: 2rem;
}

h3 {
  margin: 0;
  margin-bottom: 1.5rem;
  color: #fff;
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
}

.instructions {
  color: #fff;
  font-size: 1.6rem;
  line-height: 1.2;
  font-weight: 300;
  margin-bottom: 4.33rem;
}

#fields {
  box-sizing: border-box;
  overflow: hidden;
  max-width: 36.33rem;
}

#fields .field {
  position: relative;
  background-color: rgb(25, 61, 70);
  margin: 0;
  height: 4.27rem;
  /*border-radius: 5px;*/
}

#fields .field:not(:last-child) {
  margin-bottom: 1.33rem;
}

#fields .field:first-of-type {
  border-top: 0;
}

#fields .field:first-of-type label {
  margin-left: 0;
}

#fields .field:first-of-type input[type=email],
#fields .field:first-of-type input[type=text],
#fields .field:first-of-type input[type=password] {
  margin-left: 0;
}

#fields .field:first-of-type input[type=email] + span.label,
#fields .field:first-of-type input[type=text] + span.label,
#fields .field:first-of-type input[type=password] + span.label {
  margin-left: 0;
}

#fields .field:last-of-type label {
  margin-left: 0;
}

#fields .field:last-of-type input[type=email],
#fields .field:last-of-type input[type=text],
#fields .field:last-of-type input[type=password] {
  margin-left: 0;
}

#fields .field:last-of-type input[type=email] + span.label,
#fields .field:last-of-type input[type=text] + span.label,
#fields .field:last-of-type input[type=password] + span.label {
  margin-left: 0;
}

#fields label {
  position: absolute;
  top: 0;
  left: 0;
  width: 4.27rem;
  width: 4.27rem;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  height: 100%;
  text-align: center;
  margin-left: 3px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#fields label img {
  height: 24px;
  width: auto;
}

#fields input[type=email], #fields input[type=text], #fields input[type=password] {
  font-size: 1.6rem !important;
  font-weight: normal;
  font-family: "The group TEXT", "Arial", sans-serif !important;
  color: rgba(255, 255, 255, 0.6) !important;
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 60px;
  width: calc(100% - 60px);
  height: 90% !important;
  border-bottom: 0;
  box-sizing: border-box;
  margin-bottom: 0;
}

#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: rgba(255, 255, 255, 0.6);
  box-shadow: none;
  outline: 0;
}

#oubli_form {
  text-align: right;
  font-family: "The group TEXT", sans-serif;
  font-weight: normal;
  font-size: 1.6rem;
  color: #fff;
  position: relative;
  margin-top: 1rem;
  max-width: 36.33rem;
}

#oubli_form a {
  color: unset;
  color: #ffffff;
  text-decoration: none;
  position: relative;
  z-index: 2;
  transition: all 0.3s;
}

#oubli_form a .color {
  /*transition: all 0.3s;*/
}

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

.button_form {
  /*width: 14rem;*/

  font-family: "The Group TEXT", sans-serif;
  color: #002733;
  display: inline-flex;
  margin: 1rem 0 0;
  transition: all 0.3s ease-in-out;
  margin-top: 2rem;
  align-items: center;
  background-color: #c2fe06;
  border: none;
  border-radius: 10px;
  font-size: 1.6rem;
  font-weight: 500;
  justify-content: start;
  line-height: 1.625;
  overflow: hidden;
  position: relative;
  text-align: start;
  /*width: 100%;*/

  padding: 10px 60px 10px 30px;
  width: -moz-fit-content;
  width: fit-content;

  span {
    transition: all .4s;
  }

  &::after ,
  &::before {
    display: block;
    background-image: url(../images/arrow-btn.svg);
    background-position: 50%;
    background-repeat: no-repeat;
    content: "";
    height: 21px;
    position: absolute;
    transition: all .4s;
    width: 25px;
  }

  &::before {
    left: 0;
    transform: translateX(-100%);
  }

  &:after {
    right: 20px;
  }


  &:hover {
    span {
      transform: translateX(42px);
    }

    &::before {
      transform: translateX(100%);
    }

    &:after {
      transform: translateX(200%);
    }


  }
}

.button_form:hover {
  /*background-color: #5058b7;*/
}

.button_form .arrow {
  display: inline-block;
  vertical-align: middle;
  width: auto;
  height: 38%;
  position: relative;
  margin-left: 1.5rem;
}

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

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

@media screen and (min-width: 600px) {
  #page {
    /*padding: 2rem 0;*/
    min-height: 100%;
    display: flex;
    flex-direction: row;
    padding: 0;
    /*background: #002733;*/
    /*background: linear-gradient(to right, #002733, transparent) no-repeat left top,  url(../images/volkswagen_group_background.jpg) no-repeat center center;*/
    /*background-size: cover;*/
  }
  .small-only {
    display: none;
  }
  div.hr {
    margin: 30px 0;
  }
  
  .contenu {
    justify-content: center;
    height: 75%;
    /*flex: 0 0;*/
    flex: 1 1 auto;
    margin: auto;
    width: 100%;
    padding: 2rem;
  }

  
  .bg {
    /*display: none;*/
  }


  .bg {
    order: 1;
    width: 33vw;
    /*height: 100%;*/

    flex: 0 0 auto;

    display: block;
    /*width: 50%;*/
    /*flex: 1 1 50%;*/
    order: 1;
    /*background: transparent;*/
    height: initial;
    position: relative;
    overflow: hidden;
    /*display: none;*/


    /*background: url(../images/volkswagen_group_background.jpg) no-repeat center center;*/
    /*background-size: cover !important;*/
  }

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

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

@media screen and (min-width: 960px) {
  html {
    /*font-size: 11px;*/
  }
  #logo {
    margin-top: 0;
  }
  #page {
    min-height: 100%;
    display: flex;
    flex-direction: row;
    padding: 0;
  }
  #page .bg {
    /*background-image: url(../images/o_1.png);*/
    background-repeat: no-repeat;
    background-size: 80% auto;
    background-position: left center;

    background:  url(../images/volkswagen_group_background.jpg) no-repeat center center;
    background-size: cover;
  }

  #page .contenu {
    background: none;
  }

  .contenu {
    width: 55%;
    flex: 1 1 auto;
    height: initial;
    margin: initial;
    background: none;
    background-color: transparent;
    box-shadow: none;

  }
  .bg {
    display: block;
    width: 50%;
    flex: 1 1 50%;
    order: 1;
    background: transparent;
    height: initial;
    position: relative;
    overflow: hidden;
  }
}

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

  
  .contenu {
    width: 50%;
    /*flex: 1 1 45.3%;*/
    max-width: 76rem;

  }
  .bg {
    width: 50%;
    flex: 1 1 50%;
  }
  header, main, footer {
    width: 62%;
  }
  header .hr {
    margin: 2rem 0 2.87rem;
  }
  #fields .field {
    height: 4.93rem;
  }
  #fields label {
    width: 4.93rem;
  }
  #fields input[type=email], #fields input[type=text], #fields input[type=password] {
    left: 6.67rem;
    width: calc(100% - 6.67rem);
  }
  footer {
    margin-top: 6.6rem;
  }
}

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

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