@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: 550px;
                width:100%;
                background-size: cover!important;
                background-position: bottom center!important;
                background-repeat: no-repeat!important;
                @media screen and (max-width:767px){
                    height: 450px;
                }
                .sliderContent{
                    max-width: 500px;
                    position: relative;
                    z-index: 99;
                    margin-top: 100px;
                    width: 100%;
                    .sliderContent-top{
                        background: rgba(255,255,255,.3);
                        padding: 20px;
                        h2{
                            font-size: 28px;
                            text-transform: uppercase;
                            line-height: 40px;
                            color: #000;
                            position: relative;
                            &::before{
                                position: absolute;
                                content: '';
                                top:-20px;
                                left: 0;
                                width: 100px;
                                height: 3px;
                                background: #333;
                            }
                        }
                        p{
                            font-size: 14px;
                            color: #000;
                            text-transform: uppercase;
                        }
                        a{
                            border:2px solid $themeThirdClr;
                            background: $themeThirdClr;
                            display: inline-block;
                            margin-top: 20px;
                            color: #fff;
                            text-transform: uppercase;
                            padding: 5px 20px;
                            &:hover{
                                background: #f1f1f1;
                                color: $themeThirdClr;
                                border:2px solid $themeThirdClr;
                            }
                        }
                    }
                }
            }
        }
        .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;
            }
        }
    }
}
.formFilter{
    background: #1F1F1F;
    padding: 25px 0;
    font-family: 'daimler-cac-regular';
    label{
        color: #fff;
        width: 100%;
        font-size: 15px;
        text-transform: uppercase;
        @media screen and (max-width:767px){
            margin-top: 10px;
        }
    }
    select{
        width: 100%;
        padding: 0 15px;
        font-size: 17px;
        height: 42px;
        border:0;
        border-radius: 3px;
    }
    button{
        width: 100%;
        background: $themePrimaryClr;
        padding: 0 15px;
        font-size: 17px;
        letter-spacing: 1px;
        height: 42px;
        color: #fff;
        text-transform: uppercase;
        border:0;
        border-radius: 3px;
        transition: .2s ease-in-out;
        &:hover{
            background: $themeSecondaryClr;
            color: #fff;
            transition: .2s ease-in-out;
        }
    }
}
.discoverMore{
    padding: 40px 0;
    position: relative;
    z-index: 2;
    .discoverMore-inner{
        background-size: cover!important;
        background-position: center center!important;
        height: 400px;
        position: relative;
        z-index: 0;
        &:before{
            position: absolute;
            content: '';
            top:0;
            left: 0;
            width: 100%;
            height: 100%;
            background: #000;
            opacity: .5;
            z-index: -1;
        }
        .discoverMore-content{
            position: absolute;
            bottom: -70px;
            padding: 20px 00px 20px;
            text-align: center;
            overflow: hidden;
            color: #fff;
            transition: .5s ease-in-out;
            img{
                max-width: 80px;
            }
            h3{
                line-height: 30px;
                color: #fff;
                text-transform: uppercase;
                font-size: 24px;
                margin-bottom: 8px;
            }
            p{
               opacity: 0;
            }
            @media screen and (max-width:1200px){
                bottom: 0;
                p{
                    opacity: 1;
                }
            }
        }
        &:hover{
            .discoverMore-content{
                bottom: 0px;
                transition: .5s ease-in-out;
                p{
                    opacity: 1;
                }
            }
        }
    }
}
.ourBlog{
    margin-top: 10px;
    .ourBlog-inner{
        position: relative;
        .ourBlog-imgBig{
            height: 500px;
            background-size:cover!important;
            background-position:center center!important;
            &:hover{
                &:before{
                    opacity: .2;
                    transition: .2s ease-in-out;
                }
            }
        }
        .ourBlogSmall{
            position: relative;
            .ourBlog-imgSmall{
                height: 250px;
                background-size:cover!important;
                background-position:center center!important;
                transition: .2s ease-in-out;
                &:hover{
                    &:before{
                        opacity: .2;
                        transition: .2s ease-in-out;
                    }
                }
            }
            &:last-child{
                margin-bottom: 0;
            }
        }
        .ourBlog-content{
            position: absolute;
            bottom: 0;
            width: 100%;
            color: #fff;
            padding: 15px;
            background: rgba(0,0,0,0.3);
            h3{
                font-size: 18px;
                margin-bottom: 0;
                color: #fff;
                line-height: 30px;
            }
            h5{
                margin-bottom: 0;
                color: #fff;
                font-size: 16px;
            }
            a{
                color:#fff;
                position: absolute;
                right: 15px;
                top: 12px;
                border: 1px solid#fff;
                width: 30px;
                border-radius: 50%;
                font-size: 20px;
                text-align: center;
                height: 30px;
                padding-top: 1px;
                padding-left: 3px;
                transition: .3s ease-in-out;
            }
        }
        &:hover{
            a{
                background: #fff;
                color: $themePrimaryClr;
                transition: .3s ease-in-out;
            }
        }
    }
}
.blogSection{
    padding: 50px 0;
    .blogBigBlock{
        margin-top: 30px;
        .blogBigBlock-img{
            height: 172px;
            width: 100%;
            overflow: hidden;
            .blogBigBlock-imgInner{
                width: 100%;
                height: 100%;
                background-size: cover!important;
                background-position: center center!important;
                transition: .5s all;
            }
        }
        .blogBigBlock-Bigimg{
            height: 450px;
            width: 100%;
            overflow: hidden;
            .blogBigBlock-imgInner{
                width: 100%;
                height: 100%;
                background-size: cover!important;
                background-position: center center!important;
                transition: .5s all;
            }
        }
        .blogBigBlock-content{
            margin-top: 20px;
            .blogCategory{
                text-transform: uppercase;
                color: $themePrimaryClr;
            }
            h3{
                line-height: 30px;
                margin-bottom: 0;
                font-size: 18px;
                text-transform: uppercase;
            }
        }
        &:hover{
            .blogBigBlock-img{
                .blogBigBlock-imgInner{
                    transform: scale(1.2);
                    transition: .5s all;
                }
            }
            .blogBigBlock-Bigimg{
                .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;
        .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: 500px;
                opacity: 0;
                text-align: center;
                margin: 150px auto 0;
                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;
                    text-transform: uppercase;
                    padding: 7px 20px;
                    &:hover{
                        background: transparent;
                        color: $themeSecondaryClr;
                    }
                }
            }
            &:hover{
                flex: 7;
                .offersBlock-content{
                    opacity: 1;
                    transition: .4s ease-in-out;
                }
            }
        }
    }
}
.findADealer{
    padding: 30px 0;
    background: #000;
    .findADealer-inner{
        text-align: center;
        h2{
            color: #fff;
            margin-bottom: 20px;
            font-size: 30px;
            text-transform: uppercase;
            letter-spacing: 3px;
        }
        form{
            max-width: 600px;
            margin: 0 auto;
            input{
                width: 70%;
                background: #2e2e2e;
                color: #fff;
                height: 45px;
                letter-spacing: 1px;
                font-size: 15px;
                padding: 0 20px;
                border:0;
                float: left;
            }
            button{
                width: 30%;
                background: linear-gradient(to bottom, #262626 0%,#171717 100%);
                border:0;
                font-size: 15px;
                color: #fff;
                letter-spacing: 1px;
                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;
                    }
                }
            }
        }
    }
}