@import url('https://fonts.googleapis.com/css?family=Poppins:400');
@import url('https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css');
@import 'basic-style';
@import 'header';
@import 'footer';
.mainSection{
  padding: 130px 0;
  background: url('../images/mainBg.jpg');
  background-size: cover;
  background-position: center center;
  position: relative;
  background-attachment: fixed;
  &::before{
    position: absolute;
    content: '';
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: .4;
  }
  .mainBlockInner{
    max-width: 800px;
    margin: 0 auto;
    .mainBlockInner-content{
        text-align: center;
        h1{
            color: #fff;
            line-height: 50px;
            font-size: 28px;
            margin-bottom: 0;
        }
        p{
          color: #fff;
        }
    }
    .mainBlockInner-form{
        margin-top: 20px;
        background: rgba(0,0,0,.4);
        padding: 10px;
        border-radius: 5px;
        input{
            width:80%;
            float: left;
            height: 46px;
            border:0;
            padding: 0 20px;
            font-size: 14px;
            border-top-left-radius: 5px;
            border-bottom-left-radius: 5px;
        }
        button{
            width:20%;
            background: $themePrimaryClr;
            color: #fff;
            border-top-right-radius: 5px;
            border-bottom-right-radius: 5px;
            height: 46px;
            border:0;
            text-transform: uppercase;
            transition: .3s all;
            &:hover{
                background: $themeSecondaryClr;
                transition: .3s all;
            }
        }
    }
  }
  .searchDealerByBrand-inner{
    margin-top: 50px;
    .item{
      .brand-name{
        background: rgba(255, 255, 255, 0.4);
        padding: 10px 20px;
        border-radius: 5px;
      }
    }
  }
}
.servicesBlock{
  padding: 50px 0;
    .servicesBlockInner{
        background: $themePrimaryClr;
        padding: 20px 0 0;
        width: 100%;
        display: table;
        transition: .3s all;
        .servicesBlockInner-img{
          margin-bottom: 15px;
          padding: 0 20px;
          img{
            filter: invert(100%);
          }
        }
        .servicesBlockInner-content{
          padding: 0 20px;
            h4{
                margin-bottom: 5px;
                color: #fff;
                font-size: 18px;
            }
            p{
                margin-bottom: 0;
                color: #fff;
            }
        }
    }
}
.otServices{
    padding:50px 0;
    background: linear-gradient(135deg,#343e44 0%,#0d0f10 100%);
    .otServices-inner{
        margin-top: 40px;
        text-align: center;
        .otServices-img{
          img{
            height: 130px;
          }
        }
        .otServices-content{
          margin-top: 20px;
            h4{
                color: #fff;
                font-size: 20px;
            }
            p{
              color: #fff;
            }
            a{
              min-width: 200px;
              margin-top: 20px;
            }
        }
    }
}
.mostSearchedCars{
    background: url('../images/tiny_grid.png');
    padding: 50px 0;
    .mostSearchedCarsBlock{
      .mostSearchedCarsBlock-from{
          .nav.nav-tabs{
              border-bottom:0;  
              margin-top: 30px;                                                           
              .nav-item{
                  margin-right: 8px;
                  margin-bottom: 0;     
                  .nav-link{ 
                      background: #fff;
                      min-width: 150px;
                      text-align: center;
                      color: #333;
                      border:0;
                      border-bottom: 2px solid $themePrimaryClr;
                      border-top-left-radius: 3px;
                      border-top-right-radius: 3px;
                      &.active{
                          background: $themeSecondaryClr; 
                          color: $whiteClr;
                      }
                      @media screen and (max-width:767px){
                          text-transform: capitalize;
                          margin-top: 10px;
                      }
                  }
              }
          }
          .tab-content{
            .vehicleGrid{
              margin-top: 40px;
              box-shadow: 0 0 18px rgba(0,0,0,0.06);
              .vehicleGrid-Img{
                height: 200px;
                background-size: cover!important;
                background-position: center center!important;
              }
              .vehicleGrid-content{
                text-align: center;
                background: #fff;
                padding: 15px 0;
                h4{
                  font-size: 16px;
                }
                p{
                  text-transform: uppercase;
                }
              }
            }
          }
      }
  }
}
.blogSection{
    padding: 50px 0;
    .blogBigBlock{
        margin-top:30px;
        .blogBigBlockImg{
            height: 400px;
            background-size: cover!important;
            background-position: center center!important;
            position: relative;
            border-radius: 4px;
            z-index: 0;
            &::before{
              position: absolute;
              content: '';
              top:0;
              left: 0;
              width: 100%;
              height: 100%;
              background: #000000;
              opacity: .4;
              border-radius: 4px;
              z-index: -1;
            }
            .blogBigBlock-content{
              padding: 15px;
              .blogcate{
                text-transform: uppercase;
                color: #fff;
              }
              .blogBigBlock-contentbottom{
                position: absolute;
                bottom: 10px;
              }
              h3{
                line-height: 32px;
                color: #fff;
                font-size: 20px;
                margin-bottom: 10px;
              }
              a{
                color: #fff;
              }
          }
        }
    }
}
.aboutSection{
    padding: 50px 0;
    .aboutsmallImg{
      margin-top: 30px;
    }
    .aboutSectionContent{
        h2{
            margin-bottom: 15px;
            font-size: 25px;
            color: $themePrimaryClr;
            text-transform: uppercase;
        }
        p{
            margin-bottom: 10px;
            &:last-child{
                margin-bottom: 0;
            }
        }
    }
}