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

html {
    height: 100%;
    font-size: clamp(10px, 1vw, 14px);
}

body {
    height: 100%;
    margin: 0;
    background-color: #fff;
    color: #000;
    font-size: 1.2rem;
    font-family: "Open Sans", "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 #393939 inset !important;
    -webkit-text-fill-color: #393939 !important;
}

::-webkit-input-placeholder, :-moz-placeholder, ::-moz-placeholder, :-ms-input-placeholder {
    color: #393939 !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: #fdfdfd;
    /*background: url(../images/volkswagen_group_background.jpg) no-repeat center center;*/
    /*background-size: cover;*/
}


#page::before {
    pointer-events: none;

    content: "";
    position: absolute;
    top: calc(16vh - 5rem);
    left: 0;
    height: min(10rem, 10vh);
    width: 20rem;
    background: url(../images/dots.png) no-repeat top left;
    background-size: contain;
}


.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: 16vh;

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

    background: url(../images/background.jpg) no-repeat 50% 28%;
    background-size: cover !important;
}

main {
    flex: 1 1 100%;

    display: flex;
    flex-direction: column;
    /*align-items: center;*/
    justify-content: center;
}

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

div.hr {
    margin: 1.3rem 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;
}

h1 {
    margin: 0;
    margin-bottom: 3rem;
    color: #000000;
    /*font-size: clamp(40px, 3vw, 4.8rem);*/
    font-size: 3.6em;;
    font-weight: 600;
    line-height: 1.1;
    text-transform: uppercase;
}

h2 {
    margin: 0;
    color: #cc000c;
    font-size: 2.6em;
    font-weight: bold;
    line-height: 1.1;
    text-transform: uppercase;
}

h3 {
    margin: 0;
    /*margin-bottom: 1.5rem;*/
    color: #393939;
    font-size: 1.2em;
    font-weight: 300;
    line-height: 1;
    text-transform: uppercase;
}

.hr {
    max-width: 5.2em;
    height: 0.3em;
    background: #cc000c;
}

.instructions {
    color: #393939;
    font-size: 1.4rem;
    line-height: 1.2;
    font-weight: 300;
    margin-bottom: 3rem;
}

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

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

#fields .field {
    position: relative;
    background-color: #ffffff;
    height: 4.27rem;

    box-shadow: 0px 0px 13px 0px rgba(237, 202, 184, 0.63);
    /*border-radius: 5px;*/
}

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

#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: 25%;
    left: 0;
    width: 4.27rem;
    border-right: 1px solid rgb(32, 43, 58);
    height: 50%;
    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: 1rem !important;
    font-weight: normal;
    font-family: "Montserrat", "Arial", sans-serif !important;
    color: #393939 !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: #393939;
    box-shadow: none;
    outline: 0;
}

#oubli_form {
    text-align: right;
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    font-size: max(13px, 0.8em);
    color: #393939;
    position: relative;
    margin-top: 1rem;
    max-width: 36.33rem;
}

#oubli_form a {
    color: unset;
    color: #393939;
    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: #cc000c;
}

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

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

    padding: 0.5rem 1rem;
    width: -moz-fit-content;
    width: fit-content;


    /*!*&::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 {

        background-color: #7e0209;


    }
}

.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;*/
/*}*/

footer {
    display: grid;
    grid-template-columns: auto auto auto;
    grid-template-rows: 1fr;
    align-items: center;
    gap: 2rem;

    height: 70px;

    /*margin-top: 6rem;*/

    
    img {
        height: 100%;
        width: auto;
        max-height: 70px;

        &:first-child {
            /*max-height: 50px;*/
        }
    }
}

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


    #page::before {
        pointer-events: none;

        content: "";
        position: absolute;
        top: -0.2rem;
        left: calc(33vw - 10.6rem);
        height: 10rem;
        width: 20rem;
        background: url(../images/dots.png) no-repeat top center;
        background-size: contain;
    }

    .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;

        position: relative;
    }


    .contenu::after {
        pointer-events: none;

        content: "";
        position: absolute;
        top: 25%;
        left: -0.8rem;
        height: 40%;
        width: 1.6rem;
        background: #cc000c;
    }

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


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

        flex: 0 0 auto;

        display: block;
        /*width: 50%;*/
        /*flex: 1 1 50%;*/
        /*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 {
        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: url(../images/background.jpg) no-repeat center center;
        background-size: cover;
    }

    #page .contenu {
        background: none;
    }


    #page::before {
        pointer-events: none;

        content: "";
        position: absolute;
        top: -0.2rem;
        left: calc(50% - 10.6rem);
        height: 10rem;
        width: 20rem;
        background: url(../images/dots.png) no-repeat top center;
        background-size: contain;
    }

    .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 {
        /*width: 62%;*/
        max-width: 34rem;
    }


    /*footer {*/
    /*    width: 100%;*/
    /*}*/

    header .hr {
        /*margin: 1rem 0 1.2rem;*/
    }

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