
/*
Template: Car Dealer - The Best Car Dealer Automotive Responsive HTML5 Template
Author: potenzaglobalsolutions.com
Design and Developed by: potenzaglobalsolutions.com

*/

 /*****************
================================================
 (  Media Queries  )
================================================
 *******************/

/*************************
       1700px
*************************/
@media (max-width: 1800px) {
  /*************************************
              Version 2.2 css
  **************************************/
  /*index-11*/

}

@media (max-width: 1499px) {

    /********************************/
    /*           CD V4.0.0          */
    /********************************/
}

@media (max-width: 1400px) {

  /*************************************
              Version 2.2 css
  **************************************/
   /*landing-page*/

}

@media screen and (max-width: 1400px) and (min-width: 1200px) {
    /********************************/
    /*           CD V4.0.0          */
    /********************************/
    #header .container-fluid {padding: 0 30px;}
}

@media (max-width: 1272px) {
  .recent-post-image img { width: 50px; height: 44px; }

  /*************************************
              Version 2.2 css
  **************************************/
   /*landing-page*/
  /*car-single*/

  /*car-directory*/
}

@media ( min-width: 1200px) {
  .container{  max-width: 1170px;  }
}

@media screen and (max-width: 1199px) and (min-width: 992px) {
    /********************************/
    /*           CD V4.0.0          */
    /********************************/
    header .header-navbar-v2 .header-inner .menu-links { gap: 0 10px;}
}

@media (max-width: 1199px) {
  #header .container-fluid { padding: 0 15px; }

  /********************************/
  /*           CD V4.0.0          */
  /********************************/
  .section-ptb {padding-top: var(--section-padding-md); padding-bottom: var(--section-padding-md);}
  .section-pb {padding-bottom: var(--section-padding-md);}

  /*-------------------------------*/
  /* Section Margin */
  /*-------------------------------*/

  /*-------------------------------*/
  /* Header V2 */
  /*-------------------------------*/

  /*-------------------------------*/
  /* Header V3 */
  /*-------------------------------*/

  /*-------------------------------*/
  /* Header Fancy */
  /*-------------------------------*/

  .contact-banner .section-title-new .main-title{font-size: 50px; line-height: 60px;}

  /*-------------------------------*/
  /* Overlay Text/Image */
  /*-------------------------------*/
  .provides-best-solution .section-col-right {padding-left: 60px;}

  .image-overlay-text .overlay-textbox {left: 180px; bottom: 340px;}
}

@media (max-width: 1025px) {

  /*************************************
              Version 2.0 css
  **************************************/

  /*************************************
              Version 2.2 css
  **************************************/
  /*car-single*/

  /*index 11*/

  /*car-directory*/
  .mega-menu .menu-links > li > a { padding: 0 10px; }
}

@media only screen and (min-width:991px) and (max-width:1200px) {
  .container { width: 94%; }
}

@media only screen and (min-width: 768px) and (max-width: 999px) {
 .container{ max-width:96%; }
}

@media (min-width: 992px) {
    
  /********************************/
  /*           CD V4.0.0          */
  /********************************/
  #header.header-navbar-v2 .mega-menu .menu-links > li .drop-down-multilevel {min-width: 230px; padding: 15px 0; box-shadow: 0 10px 50px rgba(0,0,0,0.1);  border-radius: 5px;
        transition: var(--transition); border: none;}
  #header.header-navbar-v2 .mega-menu .menu-links li.hoverTrigger > .drop-down.effect-fade {padding: 15px 0; box-shadow: 0 10px 50px rgba(0,0,0,0.1); border-radius: 5px !important; transition: var(--transition);  border: none;}
  #header.header-navbar-v2 .mega-menu .menu-links > li.active .drop-down-multilevel li.active a {background: inherit;}  
  .header-navbar-v2 .menu-logo .mobile-logo{display: none;}

  .col-sm-6:nth-child(-n+3) .vehicle-showcase-5 {margin-top: 0;} 
}

@media( max-width:991px) {
  .page-section-ptb { padding: 60px 0; }

  /* home 1 */
  .mega-menu .menu-logo > li > a { padding: 0px;  }
  .mega-menu .menu-logo { padding: 20px 0; }
  .mega-menu .menu-logo img { height: 24px; }
  .mega-menu .menu-mobile-collapse-trigger { margin-top: 9px; }
  .mega-menu .menu-links { border:1px solid #e3e3e3; position: absolute; top: 100%; }
  .mega-menu .menu-links > li { line-height: 44px; }
  .mega-menu .mobileTriggerButton { z-index: 1; }
  .mega-menu .menu-links > li:last-child { border-bottom: 0px; }
  #header.defualt { position: relative; background: #323232; }
  #header.light .mega-menu .menu-mobile-collapse-trigger:before,  #header.light .mega-menu .menu-mobile-collapse-trigger:after,  #header.light .mega-menu .menu-mobile-collapse-trigger span { background: #db2d2e; }
  .footer .social ul li a { padding: 0px 10px; }
  .footer .social ul li a i { font-size: 20px; }
  
  /*home-2*/
  
  /*home-3*/
  .mega-menu { min-height: 62px; }
  #header.light .mega-menu .menu-logo { padding: 20px 0px; }
  
  /*home-4*/
  
  /*home-5*/
  
  /*home-6*/
  
  /*inner page*/
  .inner-intro h1 { font-size: 28px; }
  #tabs .tabs li { padding: 10px 5px; }

  /*timeline*/
  .timeline:before { left: 25px; }
  .timeline > li:not(.timeline-inverted) { padding-right: 0px; padding-left: 90px; }

  /*************************************
      Version 2.0 css
  **************************************/

  /*home-7*/

  /*home 8*/

  /*home-10*/
  /*new update*/
  .mega-menu .drop-down ul, .mega-menu .drop-down ol, .mega-menu .drop-down dl, .mega-menu .drop-down-tab-bar ul, .mega-menu .drop-down-tab-bar ol, .mega-menu .drop-down-tab-bar dl {  margin-bottom: 0; }
  .mega-menu .drop-down a, .mega-menu .drop-down-tab-bar a  { padding: 0; }

  /*************************************
              Version 2.2 css
  **************************************/
  /*landing-page*/

  /*car-single*/
  
  /*index 11*/

  /*car-directory*/

  .footer .recent-post-block { margin-top: 30px; }
  .footer .social { margin-bottom: 60px;}

  /*car listing*/
  .car-item .car-image img {width: 100%;}

  /********************************/
  /*           CD V4.0.0          */
  /********************************/

  /*-------------------------------*/
  /* Header V2 */
  /*-------------------------------*/
  #header.header-navbar-v2.light {position: relative; background: transparent;}
  #header.header-navbar-v2 .mega-menu .menu-mobile-collapse-trigger {margin-top: 15px;}

  #header.header-navbar-v2.light .mega-menu .menu-mobile-collapse-trigger:before, 
  #header.header-navbar-v2.light .mega-menu .menu-mobile-collapse-trigger:after, 
  #header.header-navbar-v2.light .mega-menu .menu-mobile-collapse-trigger span {width: 20px;}

  #header.header-navbar-v2.light .mega-menu .menu-mobile-collapse-trigger.active:before {-webkit-transform: rotate(45deg); -ms-transform: rotate(45deg); transform: rotate(45deg);}
  #header.header-navbar-v2.light .mega-menu .menu-mobile-collapse-trigger.active:after {-webkit-transform: rotate(-45deg); -ms-transform: rotate(-45deg); transform: rotate(-45deg);}
  #header.header-navbar-v2.light .mega-menu .menu-links > li a {display: flex; justify-content: space-between; align-items: center;}
  .header-navbar-v2 .menu-logo .logo{display: none;}

  /*-------------------------------*/
  /* Header V3 */
  /*-------------------------------*/

  .car-directory-banner.car-directory-banner-new #search-tabs .tabs-header h6 {font-size: 24px;}
  .car-directory-banner.car-directory-banner-new .search-tab #search-tabs .nav-tabs li.nav-item button {font-size: 16px;} 

  /*-------------------------------*/
  /* Overlay Text/Image */
  /*-------------------------------*/
  .provides-best-solution .section-col-right {padding-left: 0px;}
  .image-overlay-text .overlay-textbox {left: 280px;}

  /*-------------------------------*/
  /* Modern banner 3 */
  /*-------------------------------*/
  .why-choose-services_section {padding-bottom: 0 !important;}
  .why-choose-services_section:before {content: normal;}
  .why-choose-services_section .section-bg-image { display:none !important; padding: 130px 0; background: url(../images/modern-home/bg/video-bg-image-2.webp);  background-repeat: no-repeat; background-size: cover; background-position: center center;}
  
   /*-------------------------------*/
  /* search search block */
  /*-------------------------------*/
  
  /*-------------------------------*/
  /* Blog Post 1 */
  /*-------------------------------*/

  /*-------------------------------*/
  /* Download Application */
  /*-------------------------------*/

  /*-------------------------------*/
  /* Contact Modern */
  /*-------------------------------*/
  .contact-banner .section-title-new{padding-right: 0px;}
  .contact-form-wrapper .contact-form{ padding-right: 0px;}
  .contact-form-wrapper .contact-form .section-title-new p {padding-right: 0px;}

}

@media (max-width: 991px) and (min-width: 576px) {

    /********************************/
    /*           CD V4.0.0          */
    /********************************/
    .col-sm-6:first-child .vehicle-showcase-5, 
    .col-sm-6:nth-child(-n+2) .vehicle-showcase-5 {margin-top: 0px;}
}

@media( max-width:767px) {

  .container {max-width: 100%;}

  h2 { font-size: 32px; }
  .footer .social { margin-bottom: 40px; }
  .footer .usefull-link { margin-top: 30px; }
  .footer .social ul { text-align: center; }
  .footer .social ul li { display: inline-block; text-align: center; }
  .footer .social ul li a i { padding-left: 10px; }
  .footer hr { margin-top: 40px; border-color: rgba(255, 255, 255, 0.11);}
  .contact-map { height: 260px; }

  /*************************************
              Version 2.0 css
  **************************************/
  /*home-7*/

  /*home-9*/

  /*************************************
            Version 2.2 css
  **************************************/
  /*landing-page*/
  .specifications h2.title { font-size: 30px; line-height: 30px; }

  /*car-single*/

  /*index 11*/

  /*car-directory*/
  .car-directory-banner .search-tab .tabs-header{ flex-direction: column; align-items: flex-start; }
  .car-directory-banner .search-tab #search-tabs ul.nav-tabs{ margin: 15px 0; }
  .car-directory-banner .search-tab #search-tabs .tab-content{ padding-top: 20px; }

  /********************************/
  /*           CD V4.0.0          */
  /********************************/
  .section-ptb {padding-top: var(--section-padding-sm); padding-bottom: var(--section-padding-sm);}
  .section-pb {padding-bottom: var(--section-padding-sm);}

  /*-------------------------------*/
  /* Section Margin */
  /*-------------------------------*/

  #header.header-navbar-v2 .mega-menu .container-fluid {padding: 0 15px;}

  /*-------------------------------*/
  /* Overlay Text/Image */
  /*-------------------------------*/
  .section-col-left.col-image {padding-bottom: 15px;}
  .image-overlay-text .overlay-textbox {left: auto; right: 0; bottom: 330px;}

  /*-------------------------------*/
  /* Vehicle Showcase 5 */
  /*-------------------------------*/
  .vehicle-showcase-5 .car-image .price.car-price .new-price,
  .vehicle-showcase-5 .car-image .price.car-price .new-price span.currency {font-size: 16px; line-height: 26px;}
  .vehicle-showcase-5 .car-content {padding: 25px;}

  /*-------------------------------*/
  /* App Button */
  /*-------------------------------*/

  /*-------------------------------*/
  /* Search Logo */
  /*-------------------------------*/

  /*-------------------------------*/
  /* Blog Post 1 */
  /*-------------------------------*/

  .car-directory-banner.car-directory-banner-new .search-tab #search-tabs h6{ margin-right: 0; margin-bottom: 20px;}
  .car-directory-banner.car-directory-banner-new .search-tab #search-tabs .tab-content button{margin-top: 10px;}

  /*-------------------------------*/
  /* Hero Vehicle Slider */
  /*-------------------------------*/
}

@media( max-width:600px) {

  /*************************************
              Version 2.0 css
  **************************************/
  /*home- 7*/

  /*home-8*/

  /*home-9*/

  /*home-10*/

  /*************************************
              Version 2.2 css
  **************************************/

  /*car-directory*/
  .car-directory-banner .search-tab #tabs ul.tabs { margin: 10px 0; }

  /*************************************
              Version 3.0.0 css
  **************************************/
  .car-directory-banner .search-tab #tabs .tabs-header h6 {margin-bottom: 15px;}
  .car-directory-banner .search-tab #tabs .tabs-header .nav-tabs {margin-bottom: 15px;}

}

@media (max-width: 575px) {

  /********************************/
  /*           CD V4.0.0          */
  /********************************/
  .section-title-new h2 {font-size: 28px;line-height: 38px;}
  .col-sm-6:first-child .vehicle-showcase-5 {margin-top: 0;}

   /*-------------------------------*/
  /* counter */
  /*-------------------------------*/

  /*-------------------------------*/
  /* Blog Post */
  /*-------------------------------*/
  .blog-post-2 .blog-post-content .post-title{font-size: 24px; line-height: 34px;}
  .blog-post-2.blog-post-list .post-title {font-size: 18px; line-height: 24px;}
  .contact-banner .section-title-new .main-title {font-size: 36px; line-height: 46px;}
  .contact-details{padding: 30px;}
  .cdhl-infobox .infobox-icon.icon-type-flat i { width: 65px;  height: 65px;  font-size: 30px;}
  .newsletter-style-2 .newsletter-wrapper .button-control .button {padding: 12px 25px;}

  /*-------------------------------*/
  /* Hero Vehicle Slider */
  /*-------------------------------*/

  /*-------------------------------*/
  /* Image Hotspot */
  /*-------------------------------*/
}

@media( max-width:479px) {
  /*home-2*/
  
  /*inner page*/
  .table-bordered>tbody>tr>td, .table-bordered>tbody>tr>th, .table-bordered>thead>tr>td, .table-bordered>thead>tr>th { padding: 12px 10px; }

  /*************************************
              Version 2.2 css
  **************************************/
  /*landing-page*/
  .specifications h2.title { font-size: 24px; line-height: 26px; }
  /*car-single*/
  /*index 11*/

  /*car-directory*/

  /********************************/
  /*           CD V4.0.0          */
  /********************************/
  .newsletter-style-2 .newsletter-wrapper{flex-direction: column;}
  .newsletter-style-2 .newsletter-wrapper .button-control .button {width: 100%;}
  .image-overlay-text .overlay-textbox {width: 300px; padding: 50px 40px;}
}

@media print {
  #header, .footer, .inner-intro, .car-top { display: none; }
}

@media( max-width:767px) {
  .inner-intro {background-attachment: inherit;}
}

@media (max-width: 375px) {

  /********************************/
  /*           CD V4.0.0          */
  /********************************/

  /*-------------------------------*/
  /* Hero Vehicle Slider */
  /*-------------------------------*/
}
