@import 'font.css';

* {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: Muli, sans-serif;
    font-size: 23px;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
    background-color: #d8dde1;
}

footer {
    color: black;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    padding: 10px;
}

footer > a {
    text-decoration: none;
    padding: 0 5px;
    color: black;
}

footer > a:hover {
    color: #D2003D;
}

#boxHeader {
    background-color: #FFF;
    position: relative;
    padding-bottom: 19%;
}

#langLinks {
    position: absolute;
    z-index: 4;
    top: 5px;
    right: 13%;
    font-size: 1rem;
}

#boxHeader a {
    color: #e5002e !important;
}

#boxHeader a:not(.selected) {
    text-decoration: none;
}

#boxHeader a:hover {
    text-decoration: underline;
}

#headerBottom {
    width: 100%;
    height:250px;
    position: absolute;
    z-index: 1;
    bottom: 0;
}

#headerCar {
    margin-top:-70px;
    width: 62%;
    z-index: 2;
    position: absolute;
}

#bannerHeaderContainer {
    position:absolute;
    top:0;
    left:0;
    right:0;
    background-color: rgba(255,255,255,0.5);
    padding-bottom:3%;
    z-index:3;
}

#logoClub {
    position: absolute;
    z-index: 3;
    max-width: 18%;
    left: 7%;
    top:3px;
}

#headerText {
    position: absolute;
    z-index: 3;
    top: 13%;
    right: 19%;
    max-width: 19%;
}

#logoTotalAudi {
    position: absolute;
    z-index: 3;
    top: 50%;
    right: 19%;
    max-width: 19%;
}


#headerBanner {
    max-width: 100%;
}

#boxFooter a {
    color: #7a7b7d !important;
    text-decoration: underline;
}

.card {
    border-radius: 10px;
    font-size: 1rem;
}

h2 {
    color: rgb(0, 75, 153);
    font-size: 1.0rem;
    text-transform: uppercase;
    font-weight: bold;
}

#thanksContainer h2 {
    font-size: 1.2rem;
}

.audiGradient {
    background: rgb(0, 75, 153);
    background: linear-gradient(138deg, rgba(0, 75, 153, 1) 46%, rgba(19, 102, 201, 1) 55%, rgba(22, 141, 207, 1) 70%);
    color: #FFF;
}

.btn.audiRed {
    background-color: #ee232c;
    color: #FFF;
    font-weight: bold;
    padding-left: 15px;
    padding-right: 15px;
    border-radius: 0;
    border: 0;
}

.btn.audiGradient {
    font-weight: bold;
    padding-left: 15px;
    padding-right: 15px;
    border-radius: 0;
}

.welcomeBanner {
    padding: 5px 10px;
    font-size: 1.25rem;
    z-index: 10;
    width: 100%;
}

#map {
    width: 100%;
}


#questionForm input[type=text], #questionForm input[type=tel], #questionForm input[type=checkbox] {
    background-color: #eeeff1;
    /*border: none;*/
    outline: none !important;
    border-radius: 0;
    text-align: right;
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

#questionForm input[type=checkbox] {
    box-shadow: none !important;
}

#questionForm input[type=checkbox]:checked {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23333' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
}

#questionForm button.btn-primary {
    text-transform: uppercase;
    color: #FFF;
    border-radius: 0;
    font-weight: bold;
    padding: 6px 20px;
}

#thanksRightCol {
    padding-left: 80px;
}

#questionBlocksWrapper {
    opacity: 0;
    transition: all 0.3s;
}

.welcomeBannerWrapper {
    width: 100%;
    z-index: 10;
}

#questionContainer {
    min-height: 450px;
    font-size:0.95rem;
}

#mapContainer {
    overflow: hidden;
}

#mapContainer img {
    max-width: 100%;
}

#mapContainer .card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

video {
    max-height: 340px;
}

h2.smallText  {
    font-size:0.9rem;
}

p.smallText {
    font-size:0.8rem;
    color:#333;
}


@media only screen and (max-width: 1440px) {
    #boxSubContent .container {
        max-width: 100%;
    }

    #questionContainer {
        min-height: 430px;
    }

    video {
        max-height:310px;
    }

    #headerBottom {
        height:200px;
    }

    #headerText {
        top: 9%;
        max-width: 17%;
        right:25%;
    }

    #logoTotalAudi {
        top: 49%;
        max-width: 15%;
        right:25%;
    }

    .welcomeBanner {
        font-size: 1rem;
    }

    #boxHeader {
        padding-bottom: 15%;
    }

    #headerCar {
        width: 48%;
        margin-top:-40px;
    }

    #questionForm input[type=text], #questionForm input[type=tel], #questionForm input[type=checkbox] {
        margin-right: 5px;
    }
}

@media only screen and (max-width: 1260px) {

    #boxHeader {
        padding-bottom: 24%;
    }

    #headerCar {
        width: 80%;
    }

    #headerBottom {
        height:auto;
    }

    #headerText {
        top: 23%;
        right: 10%;
    }

    #logoTotalAudi {
        top: 50%;
        right: 10%;
    }

}

@media only screen and (max-width: 1024px) {
    #boxHeader {
        padding-bottom: 29%;
    }

    #thanksRightCol {
        padding-left: 15px;
    }

    #langLinks {
        right: 15px;
        font-size: 0.7rem;
    }

    #logoClub {
        left: 5%;
    }

    #headerCar {
        margin-top:-40px;
        width: 90%;
    }

    .welcomeBanner {
        font-size: 0.8rem;
    }

    #headerText {
        top: 18%;
        max-width: 25%;
    }

    #logoTotalAudi {
        top: 45%;
        max-width: 20%;
    }
}

@media only screen and (max-width: 768px) {

    #questionContainer {
        min-height: 350px;
    }

    #bannerHeaderContainer {
        position:absolute;
        padding-bottom:5%;
        z-index:3;
    }

    #boxHeader {
        padding-bottom: 41%;
    }

    #headerCar {
        width: 120%;
        margin-top:-10px;
    }

    #langLinks {
        right: 15px;
        font-size: 0.9rem;
    }

    #logoClub {
        left: 5%;
        max-width: 32%;
    }

    #headerText {
        top: 23%;
        max-width: 28%;
        right:5%;
    }

    #logoTotalAudi {
        top: 55%;
        right:5%;
        max-width: 15%;
    }

    #questionForm input[type=text], #questionForm input[type=tel], #questionForm input[type=checkbox] {
        margin-right: 2px;
    }

    .welcomeBanner {
        font-size: 0.7rem;
    }

    .smallText {
        font-size:0.80rem;
    }

    ::placeholder {
        font-size: 0.8rem;
    }
}
