@import url('https://fonts.googleapis.com/css?family=Nunito+Sans:400,600');
@import url('https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css');
@import 'basic-style';
@import 'header';
@import 'footer';
@import 'vdp';
.mainSlider{
    .carousel{
        .carousel-inner{
            .carousel-item {
                height: 650px;
                width:100%;
                background-size: cover!important;
                background-position: center center!important;
                background-repeat: no-repeat!important;
                .sliderContent{
                    max-width: 400px;
                    position: relative;
                    z-index: 99;
                    margin-top: 100px;
                    width: 100%;
                    .sliderContent-top{
                        background: rgba(255,255,255,.9);
                        padding: 20px;
                        h2{
                            font-weight: 600;
                            font-size: 28px;
                            text-transform: uppercase;
                            color: $themeSecondaryClr;
                            line-height: 40px;
                        }
                        p{
                            font-size: 14px;
                            color: #000;
                        }
                        a{
                            border:2px solid $themeSecondaryClr;
                            background: $themeSecondaryClr;
                            display: inline-block;
                            margin-top: 20px;
                            color: #fff;
                            font-weight: 600;
                            padding: 7px 20px;
                            &:hover{
                                background: transparent;
                                color: $themeSecondaryClr;
                            }
                        }
                    }
                    .sliderContent-bottom{
                        background: rgba(228,232,232,0.9);
                        padding: 20px;
                        h4{
                            margin-bottom: 0;
                        }
                    }
                }
            }
        }
        .carousel-control-prev{
            width: 50%;
            &:hover{
                cursor: url("../images/slider-left-arrow.png"), default !important
            }
        }
        .carousel-control-next{
            width: 50%;
            &:hover{
                cursor: url("../images/slider-right-arrow.png"), default !important
            }
        }
    }
}
.discoverMore{
    border-bottom: 1px solid hsl(210, 6%, 87%);
    .discoverMore-inner{
        padding: 30px 0;
        border-right: 1px solid #dcdee0;
        padding-right: 15px;
        .discoverMore-content{
            margin-top: 10px;
            h3{
                line-height: 30px;
                font-size: 20px;
                margin-bottom: 0px;
            }
        }
    }
}
.ourModels{
    padding: 30px 0 20px;
    background: #E9ECEC;
    .ourModels-inner{
        padding: 0 25px;
        .ourModels-block{
            .ourModelsContent{
                margin-top: 20px;
                color: #000;
                h4{
                    font-size: 18px;
                    margin-bottom: 5px;
                    text-transform: uppercase;
                }
                .price{
                    font-size: 12px;
                    margin-bottom: 6px;
                }
                .description{
                    text-transform: uppercase;
                    font-size: 12px;
                }
                a{
                    color: $themePrimaryClr;
                    &:hover{
                        color: $themeSecondaryClr;
                    }
                }
            }
        }
        .owl-nav div{
            position: absolute;
            top: 40%;
            left: -40px;
            height: 50px;
            width: 30px;
            background: #000;
            opacity: .5;
            color: #fff;
            font-size: 15px;
            padding: 12px 0 0 0;
            margin: 0;
            border-radius: 0;
            cursor: pointer;
            text-align: center;
            z-index: 1;
            -webkit-transition: .3s all;
            -moz-transition: .3s all;
            transition: .3s all;
            @media screen and (max-width:767px){
                position: unset;
            }
            &:hover{
                opacity: 1;
                background: #000;
            }
        }
        .owl-nav div.owl-next{
            right: -40px;
            left: auto;
        }
    }
}
.blogSection{
    padding: 50px 0;
    background: #fff;
    .blogBigBlock{
        margin-top: 30px;
        border:1px dashed $themePrimaryClr;
        .blogBigBlock-img{
            height: 220px;
            width: 100%;
            overflow: hidden;
            .blogBigBlock-imgInner{
                width: 100%;
                height: 100%;
                background-size: cover!important;
                background-position: center center!important;
                transition: .5s all;
            }
        }
        .blogBigBlock-content{
            padding: 15px 20px;
            background: #E9ECEC;
            h3{
                margin-bottom: 10px;
                line-height: 30px;
                padding-bottom: 4px;
                font-size: 18px;
                border-bottom: 1px dotted rgba(0,0,0,.3);
            }
            p{
                font-size: 12px;
            }
        }
        &:hover{
            .blogBigBlock-img{
                .blogBigBlock-imgInner{
                    transform: scale(1.2);
                    transition: .5s all;
                }
            }
        }
    }
}
.dealerBenefits{
    padding: 50px 0;
    .mainSectionheading{
        text-align: center;
        h2{
            font-size: 45px;
            margin-bottom: 10px;
        }
    }
    .dealerBenefitInner{
        margin-top: 30px;
        .dealerBenefitImg{
            height: 260px;
            width: 60%;
            margin: 0 auto;
            background-size: cover!important;
            background-position: center center!important;
            animation: animateWidth 10s infinite;
        }
        .dealerBenefits-content{
            margin-top: 20px;
            h3{
                margin-bottom: 10px;
                line-height: 30px;
                font-size: 20px;
            }
            p{
                font-size: 14px;
            }
        }
    }
}
@keyframes animateWidth {
    0%{width:60%;}
    50%{width:100%;}
    100%{width:60%;}
}
.offersBlock{
    .offersBlockInner{
        display: flex;
        flex-direction: row;
        width: 100%;
        height: 70vh;
        .item {
            flex: 1;
            height: 100%;
            padding: 20px;
            background-position: center center!important;
            background-size: cover!important;
            background-repeat: none;
            transition: flex 0.8s ease;
            .offersBlock-content{
                background: rgba(255,255,255,.9);
                padding: 15px;
                max-width: 300px;
                opacity: 0;
                margin-top: 20px;
                border-radius: 3px;
                transition: .4s ease-in-out;
                p{
                    color: #000;
                }
                a{
                    border:2px solid $themeSecondaryClr;
                    background: $themeSecondaryClr;
                    display: inline-block;
                    margin-top: 20px;
                    color: #fff;
                    font-weight: 600;
                    padding: 7px 20px;
                    &:hover{
                        background: transparent;
                        color: $themeSecondaryClr;
                    }
                }
            }
            &:hover{
                flex: 7;
                .offersBlock-content{
                    opacity: 1;
                    transition: .4s ease-in-out;
                }
            }
        }
    }
}
.findADealer{
    padding: 50px 0;
    background: url('../images/volksimg3.jpg');
    background-size: cover;
    background-position: center center;
    position: relative;
    &::before{
        position: absolute;
        content: '';
        top:0;
        left:0;
        width:100%;
        height: 100%;
        background: #000;
        opacity: .4;
    }
    .findADealer-inner{
        text-align: center;
        h2{
            color: #fff;
            margin-bottom: 20px;
            font-size: 40px;
            text-transform: uppercase;
            letter-spacing: 3px;
        }
        form{
            max-width: 500px;
            margin: 0 auto;
            input{
                width: 70%;
                height: 45px;
                padding: 0 20px;
                text-transform: uppercase;
                border:0;
                float: left;
            }
            button{
                width: 30%;
                background: $themeSecondaryClr;
                border:0;
                color: #fff;
                height: 45px;
                text-transform: uppercase;
                &:hover{
                    background: $themePrimaryClr;
                }
            }
        }
    }
}
#offerPopup{
    .modal-dialog{
        -webkit-transform: translate(0,-50%);
        -o-transform: translate(0,-50%);
        transform: translate(0,-50%);
        top: 50%;
        margin: 0 auto;
        max-width: 850px;
        border:0;
    }
    .modal-content{
        .close{
            position: absolute;
            right: 2px;
            color: #fff;
            z-index: 1;
            opacity: 1;
            top: 0;
            font-size: 30px;
            &:hover{
                opacity: .8;
            }
            img{
                width: 28px;
                filter: invert(100%);
            }
        }
        .offerPopupImg{
            height: 480px;
            background-size: cover!important;
            background-position: 500px center!important;
            border-top-left-radius: 3px;
            padding: 60px 20px 20px 20px;
            border-top-right-radius: 3px;
        }
        .offerPopupContent{
            padding: 10px;
            margin-top: 30px;
            h2{
                text-align: center;
                font-size: 24px;
                line-height: 38px;
                text-shadow: 0px 1px 1px #000;
                text-transform: uppercase;
            }
            p{
                text-align: center;
                margin-bottom: 20px;
            }
        }
        .offerPopupForm{
            padding: 15px;
            form{
                input{
                    border-radius: 2px;
                }
                button{
                    width: 100%;
                    background: $themeSecondaryClr;
                    color: #fff;
                    border-radius: 2px;
                    &:hover{
                        background: $themePrimaryClr;
                    }
                }
            }
        }
    }
}