@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: 200px 0;
    background: url('../images/mainbg.jpg');
    background-repeat: no-repeat;
    background-position: bottom center;
    .mainBlockInner{
      max-width: 800px;
      margin: 0 auto;
      padding: 20px;
      border-radius: 4px;
      background: rgba(0, 0, 0, 0.3);
      .mainBlockInner-content{
          text-align: center;
          h1{
              line-height: 50px;
              color: #fff;
              font-size: 40px;
              text-shadow: 0px 0px 1px #000;
              text-transform: uppercase;
              margin-bottom: 0;
          }
          p{
              color: #fff;
              font-size: 14px;
              max-width: 700px;
              margin: 0 auto;
          }
      }
      .mainBlockInner-form{
          margin-top: 10px;
          margin-bottom: 0;
          border:7px solid rgba(255, 255, 255, 0.2);
          input{
              width:80%;
              border:1px solid #ced4da;
              border-right: 0;
              float: left;
              height: 46px;
              padding: 0 20px;
              font-size: 14px;
              @media screen and (max-width:767px){
                width: 75%;
            }
          }
          button{
              width:20%;
              background: $themePrimaryClr;
              color: #fff;
              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{
    margin-top: 40px;
    .servicesBlockInner{
        background-size: cover!important;
        background-position: center center!important;
        height: 300px;
        position: relative;
        &:after{
            position: absolute;
            content: '';
            width:100%;
            height: 100%;
            top: 0;
            right: 0;
            background: url('../images/servicesFrame.png');
            background-repeat: no-repeat;
            background-size:cover;
            background-position: right center;
        }
        .servicesBlockInner-content{
            text-align: right;
            position: absolute;
            bottom: 20px;
            right: 15px;
            z-index: 1;
            color:#fff;
            max-width: 200px;
            width: 100%;
            h5{
                margin-top: 5px;
                margin-bottom: 0;
            }
        }
    }
}
.ourPopularmodels{
    padding: 40px 0;
      .owl-item:not(.center) > div {
        opacity: .8;
        transition: margin 0.4s ease;
      }
    .ourPopularmodelsInner{
        box-shadow: 3px 3px 11px rgba(0, 0, 0, 0.07);
        .ourPopularmodelsContent{
            background:rgba(6, 120, 188, 0.5);
            position: absolute;
            z-index: 1;
            width: 100%;
            bottom: 0;
            padding: 5px 10px;
            h5{
                color: #fff;
                font-size: 18px;
                margin-bottom: 0;
            }
            p{
                color: #fff;
                text-transform: uppercase;
                font-size: 14px;
            }
            a{
                position: absolute;
                display: inline-block;
                right: 15px;
                bottom: 15px;
                border: 1px solid #fff;
                color: #fff;
                width: 30px;
                height: 30px;
                text-align: center;
                font-size: 20px;
                border-radius: 50%;
                padding-top: 1px;
                padding-left: 3px;
            }
        }
        &:hover{
            cursor: pointer;
            a{
                background: #fff;
                color: $themePrimaryClr;
            }
        }
    }
}
.blogSection{
    margin-top: 40px;
    .latestvehiclesTabs{
        border-bottom: 0;
        margin-bottom: 0;
        background: #F1F1F1;
        .nav-item{
            .nav-link{
                border: 0;
                text-transform: uppercase;
                border-bottom: 2px solid transparent;
                &.active{
                    background: transparent;
                    border-bottom: 2px solid $themePrimaryClr;
                }
            }
        }
    }
    .latestVehiclesRow{
        margin-top: 30px;
        .latestVehiclesRow-img{
            margin-top: 30px;
            height: 370px;
            background-position: center center!important;
            background-size: cover!important;
            background-repeat: no-repeat!important;
            position: relative;
            &:after{
                position: absolute;
                content: '';
                width:100%;
                height: 100%;
                top: 0;
                right: 0;
                background: url('../images/servicesFrame.png');
                background-repeat: no-repeat;
                background-size:cover;
                background-position: right center;
            }
            .latestVehiclesRow-imgContent{
                text-align: right;
                position: absolute;
                bottom: 20px;
                right: 15px;
                z-index: 1;
                color:#fff;
                max-width: 200px;
                width: 100%;
                h5{
                    margin-top: 5px;
                    margin-bottom: 0;
                }
            }
        }
        .latestVehiclesRow-content{
            background: #F1F1F1;
            padding: 70px 40px;
            h3{
                margin-bottom: 15px;
            }
            a{
                background: $themeSecondaryClr;
                color: #fff;
                display: inline-block;
                margin-top: 20px;
                padding: 8px 20px;
                &:hover{
                    background: $themePrimaryClr;
                }
            }
        }
    }
}
.ourBlog{
    margin-top: 40px;
    padding: 40px 0;
    background: #F1F1F1;
    .ourBlog-inner{
        position: relative;
        .aboutIntroPara{
            max-width: 800px;
            margin: 60px auto 0;
            text-align: center;
        }
        .aboutIntroFilter{
            text-align: center;
            padding: 140px 0;
            background-size: cover!important;
            background-position: center center!important;
            h2{
                color: #fff;
                text-shadow: 0px 1px 1px #000;
                text-transform: uppercase;
            }
            .aboutIntroFilter-form{
                max-width: 800px;
                margin: 30px auto 0;
                background:rgba(0,0,0,.3);
                padding: 15px 0;
                border-radius: 3px;
                input{
                    width:100%;
                    height: 42px;
                    border: 0;
                    padding: 0 15px;
                    border-radius: 3px;
                }
                button{
                    width:100%;
                    height: 42px;
                    border: 0;
                    padding: 0 15px;
                    background: $themeSecondaryClr;
                    color: #fff;
                    font-size: 15px;
                    border-radius: 3px;
                    transition: .2s ease-in-out;
                    &:hover{
                        background: $themePrimaryClr;
                        transition: .2s ease-in-out;
                    }
                }
            }
        }
        .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(6,120,188,0.5);
            h3{
                font-size: 18px;
                margin-bottom: 0;
                line-height: 30px;
            }
            h5{
                margin-bottom: 0;
                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;
                }
            }
        }
    }
}


.subscribeBlock{
    padding: 20px 0;
    background:$themePrimaryClr;
    h3{
        margin-bottom: 0;
        color: #fff;
        font-size: 24px;
        line-height: 40px;
        text-transform: uppercase;
    }
    .subscribeForm{
        input{
            width: 80%;
            float: left;
            border: 0;
            height: 40px;
            padding: 0 20px;
            border-top-left-radius: 20px;
            border-bottom-left-radius: 20px;
        }
        button{
            width: 20%;
            border: 0;
            height: 40px;
            padding: 0 10px;
            background: $themeSecondaryClr;
            color: #fff;
            font-size: 15px;
            border-top-right-radius: 20px;
            border-bottom-right-radius: 20px;
        }
    }
}
.singleVehiclePagination{
    padding: 10px 0;
    p{
        font-size: 15px;
    }
}