@import url('https://fonts.googleapis.com/css?family=Ropa+Sans&display=swap');
@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';
.mainSection{
    padding: 50px 0 350px;
    background: url('../images/mainbg.jpg');
    background-repeat: no-repeat;
    background-position: bottom center;
    position: relative;
    .mainBlockInner{
      max-width: 800px;
      margin: 0 auto;
      .mainBlockInner-content{
          text-align: center;
          h1{
              line-height: 50px;
              font-size: 35px;
              text-transform: uppercase;
              margin-bottom: 0;
              margin-top: 5px;
          }
          p{
            font-size: 16px;
            text-transform: uppercase;
          }
      }
      .mainBlockInner-icons{
        .mainBlockInner-iconsInner{
          text-align: center;
          margin-top: 25px;
          img{
              max-width: 70px;
          }
          .iconsInnertext{
            font-size: 16px;
            font-family: GothamXNarrow-Medium;
            margin-top: 8px;
          }
        }
      }
      .mainBlockInner-form{
          margin-top: 10px;
          margin-bottom: 0;
          border:7px solid rgba(255, 255, 255, 0.2);
          border-radius: 30px;
          input{
              width:80%;
              border:1px solid #ced4da;
              border-right: 0;
              float: left;
              height: 46px;
              padding: 0 20px;
              font-size: 14px;
              border-top-left-radius: 25px;
              border-bottom-left-radius: 25px;
              @media screen and (max-width:767px){
                width: 75%;
            }
          }
          button{
              width:20%;
              background: $themePrimaryClr;
              color: #fff;
              border-top-right-radius: 25px;
              border-bottom-right-radius: 25px;
              height: 46px;
              border:0;
              text-transform: uppercase;
              transition: .3s all;
              &:hover{
                  background: $themeSecondaryClr;
                  transition: .3s all;
              }
              @media screen and (max-width:767px){
                width:25%;
            }
          }
      }
    }
  }
.servicesBlock{
    padding: 30px 0 10px;
    .servicesBlockInner{
        text-align: center;
        margin: 15px 0;
        background: linear-gradient(to top,#fff,#fdfdfd,#F0F0F0);
        padding: 20px 20px 40px 20px;
        img{
            max-width: 80px;
        }
        h4{
            font-size: 18px;
            text-transform: uppercase;
        }
    }
}
.ourPopularmodels{
    padding: 40px 0;
    background: linear-gradient(to bottom, #fff, #fdfdfd, #F0F0F0);
    .owl-item > div {
        cursor: pointer;
        margin: 5% 5%;
        transition: margin 0.4s ease;
      }
      .owl-item.center > div {
        cursor: auto;
        margin: 0;
        transition: margin 0.4s ease;
        .ourPopularmodelsInner{
            padding-top: 300px;
            @media (max-width:1199px){
                padding-top: 250px;
            }
        }
      }
      .owl-item:not(.center) > div {
        opacity: .55;
        transition: margin 0.4s ease;
      }
    .ourPopularmodelsInner{
        margin:15px 0;
        background-size: cover!important;
        background-position: center center!important;
        position: relative;
        padding: 250px 0px 0px;
        box-shadow: 3px 3px 11px rgba(0, 0, 0, 0.07);
        z-index: 0;
        border-radius: 8px;
        overflow: hidden;
        transition: .3s ease-in-out;
        .ourPopularmodels-category{
            position: absolute;
            top: 10px;
            right: 10px;
            background: $themePrimaryClr;
            min-width: 60px;
            text-align: center;
            color:#fff;
        }
        .ourPopularmodelsContent{
            background: rgba(0,0,0,.4);
            padding-left: 10px;
            h5{
                color: #fff;
                font-size: 18px;
                margin-bottom: 0;
                margin-top: 130px;
            }
            p{
                margin-top: 5px;
                color: #fff;
                text-transform: uppercase;
                font-size: 14px;
            }
        }
        &:hover{
            cursor: pointer;
        }
    }
}
.blogSection{
    padding: 40px 0;
    background: linear-gradient(to bottom, #fff, #fdfdfd, #F0F0F0);
    .blogBigBlock-big{
        height: 312px;
        margin:15px 0;
        background-size:cover!important;
        background-position: center center!important;
        position: relative;
        text-align: center;
        color: #fff;
        h4{
            background: rgba(0,0,0,.4);
            padding: 10px;
        }
    }
    .latestvehiclesTabs{
        border-bottom: 0;
        margin-bottom: 20px;
        .nav-item{
            .nav-link{
                border: 0;
                text-transform: uppercase;
                border-bottom: 2px solid transparent;
                &.active{
                    border-bottom: 2px solid $themePrimaryClr;
                }
            }
        }
    }
    .blogBigBlock{
        width: 100%;
        position: relative;
        overflow: hidden;
        margin:15px 0;
        background: #fff;
        border:1px solid #dddddd;
        box-shadow: 3px 3px 11px rgba(0, 0, 0, 0.07);
        .blogBigBlock-img{
            height: 200px;
            background-size: cover!important;
            background-position: center center!important;
            .blogCategory{
                background: $themePrimaryClr;
                display: inline-block;
                min-width: 75px;
                padding: 2px 0;
                color: #fff;
                text-align: center;
                margin: 10px;
            }
        }
        .blogBigBlock-content{
            h3{
                margin-top: 10px;
                margin-bottom: 0px;
                padding: 0 15px;
                line-height: 30px;
                font-size: 20px;
            }
            .vehicleTrim{
                margin-bottom: 5px;
                padding: 0 15px;
                span{
                    float: right;
                    color: $themeSecondaryClr;
                }
            }
            ul{
                margin: 0 0 10px;
                padding: 5px 15px;
                li{
                    span{
                        float: right;
                    }
                }
            }
            .blogBigBlock-anchor{
                padding: 8px 15px;
                text-align: center;
                border-top: 1px solid #EFEFEF;
                background: #f9f9f9;
                a{
                    display: inline-block;
                }
            }
        }
    }
}
.ourBlog{
    padding: 40px 0;
    background: linear-gradient(to bottom, #fff, #fdfdfd, #F0F0F0);
    .ourBlog-inner{
        position: relative;
        .ourBlog-imgBig{
            height: 500px;
            background-size:cover!important;
            background-position:center center!important;
            position: relative;
            &:before{
                position: absolute;
                content: '';
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background: #000;
                opacity: .4;
                transition: .2s ease-in-out;
            }
            &:hover{
                &:before{
                    opacity: .2;
                    transition: .2s ease-in-out;
                }
            }
        }
        .ourBlogSmall{
            margin-bottom: 30px;
            position: relative;
            .ourBlog-imgSmall{
                height: 235px;
                background-size:cover!important;
                background-position:center center!important;
                position: relative;
                transition: .2s ease-in-out;
                &:before{
                    position: absolute;
                    content: '';
                    top: 0;
                    left: 0;
                    width: 100%;
                    height: 100%;
                    background: #000;
                    opacity: .4;
                }
                &:hover{
                    &:before{
                        opacity: .2;
                        transition: .2s ease-in-out;
                    }
                }
            }
            &:last-child{
                margin-bottom: 0;
            }
        }
        .ourBlog-content{
            position: absolute;
            bottom: 20px;
            color: #fff;
            padding: 0 15px;
            h3{
                font-size: 22px;
                margin-bottom: 0;
                line-height: 30px;
            }
            a{
                color: #fff;
                display: inline-block;
                margin-top: 15px;
                padding: 3px 8px;
                border-radius: 2px;
                background: $themePrimaryClr;
            }
        }
    }
}
.aboutBlock{
    background: linear-gradient(to bottom, #fff, #fdfdfd, #F0F0F0);
    padding: 40px 0;
    .aboutBlock-inner{
        h4{
            margin: 0 0 15px 0;
            text-transform: uppercase;
        }
        p{
            line-height: 28px;
            max-width: 1200px;
            margin: 0 auto;
        }
        a{
            background: $themePrimaryClr;
            display: inline-block;
            margin-top: 20px;
            min-width: 200px;
            padding: 10px;
            font-size: 15px;
            color: #fff;
            border-radius: 4px;
            border:2px solid $themePrimaryClr;
            &:hover{
                color: #333;
                background: transparent;
            }
        }
    }
}

.mainServicesBlock{
    background: linear-gradient(to bottom, #fff, #fdfdfd, #F0F0F0);
    padding: 40px 0;
    .testDriveCTA{
        margin: 30px 0;
        img{
            max-width: 900px;
            width: 100%;
        }
        h2{
            margin: 40px 0 20px 0;
            text-transform: uppercase;
        }
        p{
            max-width: 1000px;
            margin: 0 auto;
        }
        a{
            background: $themePrimaryClr;
            color: #fff;
            padding: 10px 20px;
            display: inline-block;
            margin-top: 20px;
            border:2px solid $themePrimaryClr;
            text-transform: uppercase;
            border-radius: 3px;
        }
    }
    .mainServicesBlockInner{
        margin: 15px 0;
        border: 2px solid $themePrimaryClr;
        img{
            height: 100%;
        }
        .mainServicesBlockInner-content{
            background: linear-gradient(to top, #fff, #fdfdfd, #F0F0F0);
            padding: 40px 20px;
            h4{
                font-size: 20px;
            }
        }
    }
}