/*
Theme Name: GrandCarRental Child
Theme URI: http://themes.themegoods2.com/grandcarrental/demo
Description: Premium Car Rental Travel Theme
Version: 1.0
Author: ThemeGoods
Author URI: http://themeforest.net/user/ThemeGoods
License: GNU General Public License
License URI: http://themeforest.net/licenses/regular_extended
Text Domain: grandcarrental
Template: grandcarrental
*/

@font-face {
  font-family: 'Poppins';
  font-display: swap;
  src: url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
}

/* 404 PAGE */ 
body.error404 .search_form_wrapper {
max-width: 500px;
margin: 50px auto;
    text-align: center;
}

body.error404 .search_form_wrapper h2 {
    font-weight: 700;
    font-size: 36px;
}
body.error404 .searchform {
        margin-bottom: 50px;
}


/* HEADER */ 
#menu_wrapper .nav ul, #menu_wrapper div .nav {
height:96px;
}

/* ARTICLES */ 
#page_content_wrapper.hasnobg .standard_wrapper.articles_wrapper {
max-width:1250px!important;
padding:50px 0;
}


/* Wrapper */
.acf-articles {
  width: 100%;
}

/* Grid: 2 columns desktop, 1 column mobile */
.acf-articles__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

@media (max-width: 767px) {
  .acf-articles__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Card + link */
.acf-articles__card {
  height: 100%;
}

.acf-articles__link {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 12px;
  height: 100%;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  padding: 14px;
  background: #fff;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.acf-articles__link:hover,
.acf-articles__link:focus-visible {
  transform: translateY(-2px);;
  outline: none;
}

/* Fixed-ratio media area keeps layout intact no matter the uploaded image */
.acf-articles__media {
  width: 100%;
  aspect-ratio: 16 / 9; /* change if you want more square e.g. 4/3 or 1/1 */
  overflow: hidden;
  background: rgba(0,0,0,0.04);
}

/* Image always fills the media box consistently */
.acf-articles__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* Optional placeholder if no image */
.acf-articles__img--placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0,0,0,0.04), rgba(0,0,0,0.07), rgba(0,0,0,0.04));
}

/* Title */
.acf-articles__title {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
    font-weight: 500;
    color: #000;
    text-align: center;
}

/* Nice: clamp title length so cards stay even */
.acf-articles__title {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.acf-articles__link:hover .acf-articles__title { color: #a9c810; }
.acf-articles__link:hover .acf-articles__img { opacity: 0.7; }


@media only screen and (max-width: 1340px) {
#menu_border_wrapper {
display:none;
}
.metaslider-cta .page_tagline {
font-sze:14px;
}
.metaslider-cta .page_tagline {
    margin-top: 10px;
}
}

/* MAGNIFIC POPUP */
.mfp-content {
    max-width: 480px;
    margin: 0 auto;
    background-color: #ffffff;
}
.mfp-contact {
	padding: 40px;
}
.mfp-close {
    color: #000000;
    position: relative;
	text-align:right;
	width:100%;
    font-size: 50px;
}
 
 #page_caption.hasbg {
 margin-top:0;
 }

.page_title_content {
	padding: 0 20px;
}


/* ELFSIGHT WHATSAPP WIDGET */ 
#__EAAPS_PORTAL {
z-index: 999!important;
position:relative;
}

/* FULL WIDTH - ALL CARS & CAR BRANDS */ 
#page_content_wrapper.hasnobg,
#page_content_wrapper.hasnobg .standard_wrapper,
#page_content_wrapper.taxonomy,
#page_content_wrapper.taxonomy .standard_wrapper {
    max-width: 1800px!important;
}
@media only screen and (min-width: 1200px) {
    
    
   .slick-list, .slick-track { 
   min-height: 600px;
position: relative;
}
#page_content_wrapper,  .standard_wrapper {
max-width:1800px!important;
}

.car_recently_view .standard_wrapper {
max-width: 1425px!important;
}
.ppb_text .standard_wrapper {
max-width: 1800px!important;
}
}

/* WIDOW WORDS ADJUST */
/* why choose us - home, about etc */
.one_third_bg .inner {
    max-width: 550px;
    margin: 0 auto;
}

/* sell your car */ 
.metaslider-wrap {
    margin: -1em 0 -3em;
    overflow: hidden;
     display: flex;
         height: 560px;
         align-items: center;
         position:relative;
}

.metaslider-wrap .two_third {
margin-right:3%!important;
flex: 1;
min-width: 50%;
position:relative;
height: 36vw;
}
.flexslider {
position: absolute;
}
.metaslider-wrap .one_third {
  flex: 1;
  display: flex;
  align-items: center;
}
.metaslider-cta .page_tagline {
margin-top:20px;
padding: 0;
}
.metaslider-cta p {
    padding: 0;
    font-size:16px;
}


.flexslider {
    background: none !important;
    border: none !important;
}

.animate_counter_wrapper .counter_subject {
    clear: both;
    margin-top: 5px;
    font-weight: 700;
    color: #fafafa;
}
#sales-options {
padding:20px;
}
.sales-block {
height: 120px;
margin-bottom: 30px;
}
#sales-options ul {
font-size:14px;
margin-left: 20px;
}
a.wa-link img {
transition: transform 0.3s ease;
cursor: pointer;
}
a.wa-link img:hover {
transform: scale(1.1);
}

/* ABOUT PAGE SALES TEAM */

.sales-team {
max-width: 1240px;
    margin: 40px auto 0px;
}
.sales-team .one_third p {
    padding-top: 0;
    padding-bottom: 0;
}
.sales-team .one_third {
margin-bottom: 0;
padding-bottom:0;
}
.sales-team h2.ppb_title {
margin: 0 0 25px; 
}    
.sales-team .one_third img {
max-width:250px;
border-radius:100%;
} 


/* SIDE MENU */ 
.mobile_menu_wrapper #searchform {
	margin-top:100px;
}

.mobile_menu_wrapper .hcva {
display:none;
}

.mobile_menu_wrapper .mobile_menu_content .social_wrapper {
position:relative;
}

.mobile_menu_wrapper .mobile_menu_content .social_wrapper ul li a i {
    font-size: 50px;
    line-height: 50px;
}
.mobile_menu_wrapper .mobile_menu_content .social_wrapper ul li a img {
	position:absolute;
    width: 45px;
    top: 2px;
    opacity:1;
    }

#menu_wrapper .nav ul li ul li.bugatti a {
color:#268acb!important;
}

/* BUGATTI PAGE BLUE */ 

.bugatti-page a.button {
background-color:#268acb!important;
border-color:#268acb;
color:#fff!important;
}
.bugatti-page a.button:hover {
background-color:#0268ac!important;
border-color:#0268ac!important;
}
.bugatti-page .service-table th {
background:#268acb;
}

.bugatti-page .ppb_fullwidth_button a.button {
background-color:#268acb!important;
border-color:#fff;
}
.bugatti-page .ppb_fullwidth_button a.button:hover {
background-color:#0268ac!important;
border-color:#fff!important;
}
.one.withbg.parallax  {
z-index:5 !important;
}

/* BUGATTI CATEGORY SOLD CARS */ 
.bugattis-sold {
clear:both;
}
.bugattis-sold-title {
margin:auto;
width:100%;
padding:40px 0;
text-align:center;
}
.bugattis-sold-title h3 {
font-size:30px;
}

@media only screen and (max-width: 768px) {
.mobile_menu_wrapper .mobile_menu_content .social_wrapper ul li {
    vertical-align: top;
    margin: 0 7px;
    }
.mobile_menu_wrapper .mobile_menu_content .social_wrapper ul li a img {
	position:relative;
    }
}
    
/* TESTIMONIALS */ 

.testimonial_slider_wrapper {
    position: relative;
    font-size: 19px;
    font-weight: 500;
    width: 90%;
    margin: auto;
	color: #a8c80e;
	font-style: italic;
}


.flex-control-nav {
 margin-top: 0px!important;
 }

/* TOP OF PAGE BANNER - PADDING BOTTOM 0 */ 


.social_wrapper.shortcode ul li a img,.social_wrapper ul li:hover a img {
    opacity: 1
}

#page_caption {
   margin-bottom: 0px!important;
   padding:25px 0!important;
}


/* BUTTONS */ 

.post_excerpt.post_tag a:hover, input[type=button]:hover, input[type=submit]:hover, a.button:hover, .button:hover, .button.submit, a.button.white:hover, .button.white:hover, a.button.white:active, .button.white:active {
    background: #bec689!important;
    border-color: #bec689!important;
}


/*SEARCH FORM */ 

#car_search_form, .car_search_form {
margin-top:60px;
}

/* HOMEPAGE */ 

.ppb_car_search_background h2.ppb_title {
    font-size: 60px;
}
.page_tagline {
	font-size: 18px!important;
}
#eapps-instagram-feed-1 {
    margin: -15px 0;
}
.one_third_bg {
height:30vw;
}
.one_third_bg.parallax {
padding: 7vw 0px!important;
max-height: 580px;
min-height: 480px;
}

@media only screen and (min-width: 960px) and (max-width: 1099px) {
.parallax { 
min-height:none;
}
}

/* CAR ARCHIVE */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.isMobile .ilightbox-toolbar.metro-black {
bottom:40px;
}

.car_grid_wrapper {
margin:60px 0 30px!important;
}
.grid.gallery .element .grid,
.grid.gallery .element .grid:after {
border-radius:0;
}
.grid.gallery .element .grid.gallery3 {
min-height:0;
height: 18vw;
margin-bottom:20px;
}
.grid.gallery .element .grid .portfolio_info_wrapper {
padding:0!important;
}
.grid.gallery .element .grid .portfolio_info_wrapper.bg-dark {
background: rgba(0,0,0,.3)!important;
}
.three_cols.gallery .element {
background:#eee;
}
.car_attribute_wrapper h4,
.car_attribute_wrapper h4 a {
color:#000;
font-size:18px;
line-height: 1em;
}
.car_attribute_price_day.three_cols .single_car_price {
color:#000;
font-size:22px;
}
.car_attribute_wrapper_icon .car_attribute_content {
color:#000;
line-height: 1.2em;
padding: 0 3px;
}
.car_attribute_price {
width:100%;
text-align:center;
}
.car_attribute_price_day {
text-align:center;
}
.car_attribute_left {
width:100%;
text-align: center;
}

.car_attribute_right {
width: 100%;
}
.car_attribute_wrapper_icon {
margin-top:0;
    display: inline-flex;
    justify-content: center;
        width: 100%!important;
            padding-bottom: 5px;
}
.sidebar_content :not(.full_width) .car_attribute_wrapper_icon {
 width: 100%!important;
}
.car_attribute_wrapper_icon .car_attribute_icon {
float: left;
padding: 6px;
color:#000;
}   
.car_attribute_price_day.three_cols .single_car_currency {
color:#000;
top: -8px;
}
.car_attribute_wrapper {
width:100%;
padding-bottom:15px;
}
.car_attribute_wrapper_icon .one_third {
width: auto;
display: inline-flex;
float: none;
}
.listing-status.tile {
position:absolute;
right: 0;
color: #fff;
padding: 5px 20px;
}
.sidebar_content :not(.full_width) .car_attribute_wrapper_icon {
width: auto;
display: flex;
}
.grid.gallery .element .grid .portfolio_info_wrapper.bg-dark {
background: rgba(0,0,0,0.5);
}
.lgx_app_layout_carousel .lgx_lsw_nav_top_right {
display:none;
}

/* SINGLE CAR */ 


.slick-container {
    overflow: hidden;

}

 @media only screen and (max-width: 1640px) {   
   .slick-container {

}
}

/* Hide the slider container initially */
.slick-container .slider {
    display: none; /* Hide the slider initially */
}

.slick-container .preload-image img {
    width: 100%;
    height: 960px;
    object-fit: cover;
}
.slick-container img {
 	height: auto;
    aspect-ratio: 3 / 2;
    }
    
.slick-container .slider img {
    width: 100%;
    object-fit: cover;
}

/* Ensure all slides have the same height */
.slick-container .slick-slide {

    display: flex;
    justify-content: center;
    align-items: center;
}

/* Once Slick Slider is initialized, ensure the container shows */
.slick-initialized .slider {
    display: block;
}



/* Center the loading icon over the preloaded image */
.slick-container .preload-image {
    position: relative;
}

.slick-container .loading-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: url('imgs/loading.gif') no-repeat center center; /* Replace with your spinner image URL */
    background-size: contain;
    z-index: 10;
}

.slick-initialized .preload-image .loading-icon {
    display: none; /* Hide the loading icon once the slider is ready */
}

/* Ensure consistent image sizing */
.slick-container img {
    width: 100%;
    object-fit: cover;
}





.slick-container {
position:relative;
margin-top:-241px;
}
.slick-track{
	display: flex;
	    height: 100vh;
	    align-items: center;
	}
.slick-track {
height: 100vh;
}
	.slick-slide{
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden;
	}
	.slick-slide img {
	object-fit: cover;
    width: 100vw !important;
    height: 100% !important;
    margin-top: calc((105vw - 100%) / -2);
}

.one_fourth {
width:23%;
}

/* Grid container with 3 equal columns */
.content-gallery  {
margin-bottom:30px;
}

/* Grid container with 3 equal columns */
.content-gallery .element.grid.classic3_cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Creates 3 equal-width columns */
    gap: 10px; /* Adjust spacing between items */
}

/* Grid item styling */
.content-gallery .element.grid.classic3_cols .gallery-item {
    width: 100%;
}

/* Ensure images are responsive */
.content-gallery .element.grid.classic3_cols .gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

.disclaimer {
margin-top:30px;
}

.ti-camera:before,
.ti-control-play:before,
.ti-angle-down:before {
margin-right:8px;
}
.slick-container {
max-height:58vw;
}
.slick-container .standard_wrapper {
position:absolute;
top: 280px;
text-align: right;
}
.slick-container .standard_wrapper .button { 
    padding: 0.4em 1em 0.4em 1em;
    font-size: 14px;
    font-weight: 500;
}
.slick-prev,
.slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.slick-prev {
    left: 10px; 
}

.slick-next {
    right: 10px;
}
.more_wrapper {
    position: absolute;
    text-align: center;
    width: 100%;
    bottom: 30px;
    }
   .more_wrapper .button { 
   margin: 2px 8px;
        background: none;
    border: 2px solid #fff;
    text-transform: uppercase;
    font-weight: bold;
    transition: transform 0.3s ease;
    font-family:"Poppins";
}
.more_wrapper .button:hover { 
background: none !important;
border-color: #fff !important;
transform: scale(1.1);
}
.more_wrapper.reviews_btn {
    position: relative;
    bottom: 0;
    }
    .restoration_btn .button {
    position: relative;
    background:#a9c810;
	border: 2px solid #a9c810;
	color: #fff;
	transition: transform 0.3s ease;
	text-transform: uppercase;
    font-weight: 700;
    }
    .restoration_btn .button:hover {
    background: #a9c810 !important;
    transform: scale(1.1);
	}
	.more_btn {
    margin: 2px 8px;
    background: none;
    border: 2px solid #fff;
    text-transform: uppercase;
    font-weight: 700;
    transition: transform 0.3s ease;
    font-family: "Poppins";
    padding: 8px 20px;
    display: inline-block;
    color: #fff;
    border-radius: 5px;
    }
    .more_btn:hover { 
	background: none !important;
	border-color: #fff !important;
	transform: scale(1.1);
	color: #fff;
	}
    
    h2#reviews {
    margin:30px 0;
    font-size: 36px;
    font-weight: 700;
    }
#page_caption .single_car_header_button #single_car_gallery_open, #page_caption .single_car_header_button #single_car_video_review_open {
	background: #a9c810;
}
#page_caption .single_car_header_button #single_car_gallery_open:hover, #page_caption .single_car_header_button #single_car_video_review_open:hover {
	background: #000!important;
}
.single_car_header_price {
display:none!important;
}
.finance-info {
    border-left: 5px solid #a9c810;
    padding: 20px 20px 10px;
    margin: 30px 0;
}
               .embed-container {
                  position: relative;
                  padding-bottom: 56.25%;
                  height: 0;
                  overflow: hidden;
                  max-width: 100%;
                  margin-top:20px;
               }

               .embed-container iframe,
               .embed-container object,
               .embed-container embed {
                  position: absolute;
                  top: 0;
                  left: 0;
                  width: 100%;
                  height: 100%;
               }
.listing-status {
    display: inline-block;
    outline: none;
    text-align: center;
    text-decoration: none;
    padding: 0.4em 1.5em 0.4em 1.5em;
    font-size:16px;
    color: #fff;
}
.listing-status.available { background-color: #a9c810; }
.listing-status.coming_soon { background-color: #F19E00; }
.listing-status.under_offer { background-color: #198DC0; }
.listing-status.sold { background-color: #DB0505; }


.sf-icon:before {
    content: "";
    display: block;
    width: 50px;
    height: 50px;
    background-size: 40px!important;
    background-repeat: no-repeat!important;
}
.ti-interior:before {
    background: url(imgs/noun-car-seat-477515.png);
}
.ti-exterior:before {
    background: url(imgs/noun-sports-car-892751.png);
}
.ti-price:before {
 background: url(imgs/noun-price-2510260.png);
}
.ti-engine:before {
 background: url(imgs/noun-car-engine-4500109.png);
}
.black {
color: #000000;
}
.green {
color: #aac811;
}
.caps {
text-transform:uppercase;;
}
.one_third {
width: 31.33%;
margin-right: 2%;
}
.single_car_attribute_wrapper {
display: flex;
    flex-wrap: wrap;
    z-index:-1;
}
.single_car_attribute_wrapper .one_fourth {
    display: inline-flex;
       padding: 15px 0px;
text-align: left;
    min-height: 90px;
    margin-right:1%:
}
.single_car_attribute_wrapper .car_attribute_content {
font-size:16px!important;
    padding: 4px;
    margin-top: 12px;
}
.car_attribute_icon img {
width: 30px;
min-width: 30px;
}
.single_car_content p {
text-align: left!important;
}
.social_wrapper.shortcode ul li.instagram a {
background: #a9c810;
}
.disclaimer p {
font-size:10px;
}
hr.dashed {
    border-top: 1px dashed #dce0e0;
    margin: 15px 0 30px;
}
h2.enquiry {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.3;
    color: #000;
    margin: 35px 0;
}

/* SPECIALIST SERVICING */ 

.servicing-grid h3 {
    margin-top: 20px;
}
.servicing-grid .button {
    font-weight: 600;
}
.servicing-grid .one_third {
margin-right:3%;
}
.servicing-grid img {
    transition: transform 0.3s ease;
    }
 .servicing-grid img:hover {   
    transform: scale(1.1);
    }
    
/* SERVICE TABLE */ 

div.service-table table { 
  width: 100%; 
  border-collapse: collapse;
	font-size: 16px;
	color: #222;
}

div.service-table th { 
  background: #a9c810; 
  color: white; 
  font-weight: bold; 
  text-align:center;
}


div.service-table td, th { 
  padding: 6px; 
  border: 1px solid #ccc; 
  text-align: center; 
}

div.service-table td {
color: #222;
}

div.service-table i.fa.fa-check-circle {
	color: #a9c810;
}


div.service-table i.fa.fa-times-circle {
	color: #C92222;
}

div.service-table td:before {
	color: #222;
}


/* RESTORATION GALLERY */ 

.restoration-gallery {
    overflow: hidden;
}

.restoration-gallery h2 {
	text-align:center;
	margin-bottom: 30px;
}

/* REVIEWS */ 
.star-rating {
    width: 200px;
    margin: 30px auto;
    }
    
/* FOOTER */
.element .grid .portfolio_info_wrapper h5 {
margin:0 15px;
}
.grecaptcha-badge {
display:none;
}


/* 
Max width before this PARTICULAR table gets nasty
This query will take effect for any screen smaller than 760px
and also iPads specifically.
*/
               
@media 
only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px)  {
	
	

	/* Force table to not be like tables anymore */
	div.service-table table, thead, tbody, th, td, tr { 
		display: block; 
	}
	
	/* Hide table headers (but not display: none;, for accessibility) */
	div.service-table thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	
	div.service-table tr { border: 1px solid #ccc; }
	
	div.service-table td { 
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #ccc; 
		position: relative;
		padding-left: 50%; 
	}
	
	div.service-table td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
		color: #a9c810;
	}
	
	/*
	Label the data
	*/
	div.service-table td:nth-of-type(1):before { content: "Model";
	font-weight: bold;
}
	div.service-table td:nth-of-type(2):before { content: "Annual";
	font-weight: bold;
}
	div.service-table td:nth-of-type(3):before { content: "18k Miles";
	font-weight: bold;
}
	div.service-table td:nth-of-type(4):before { content: "Cambelt/18K";
	font-weight: bold;
}
	div.service-table td:nth-of-type(5):before { content: "Engine Out";
	font-weight: bold;
}
	
}

    
 @media only screen and (min-width: 1800px) {   
    .grid.gallery .element .grid.gallery3 {
    height: 260px;
}
}

 @media only screen and (min-width: 1340px) {   
   #page_caption {
    margin-top:180px;
}
}

 @media only screen and (min-width: 960px) {   
.metaslider-wrap {
         height: 30vw;
}
}
        
@media only screen and (min-width: 960px) and (max-width: 1200px) {
    .slick-container {
    max-height:70vw;
    }    
} 
@media only screen and (min-width: 960px) and (max-width: 1340px) {
   #page_caption {
    margin-top:60px;
}
.car_attribute_wrapper h4 {
    line-height: 1em;
    }
.car_attribute_wrapper h4 a {
    font-size:18px;
}
.single_car_attribute_wrapper .car_attribute_icon {
	width:30px!important;
}
.metaslider-cta h2 {
	font-size: 28px!important;
}
.metaslider-cta p {
    padding: 0;
    font-size:14px;
}
.metaslider-cta .page_tagline {
padding: 0;
}
}

@media only screen and (max-width: 1200px) {
.metaslider-wrap {
height:auto;
}
.sales-team .one_third img {
max-width:180px;
} 
.content-slider .slick-slider {
    padding-top: 75%;
}
}

@media only screen and (max-width: 960px) {
#page_caption.hasbg {
    height: 66vw!important;
}
}


@media only screen and (min-width: 768px) and (max-width: 960px) {
.slick-container {
max-height:68vw;
}
   #page_caption {
    margin-top:60px;
}
.car_attribute_left {
width:100%;
}
.car_attribute_right {
width:100%;
 margin-top: 10px;
}
.single_car_attribute_wrapper .car_attribute_icon {
width:30px!important;
}
#eapps-instagram-feed-1 {
margin: -55px 0 -55px;
}
}

/* Service Table - McLaren Only END */
@media 
only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px)  {
	
	
	/*
	Label the data
	*/
	div.service-table.mclaren td:nth-of-type(1):before { content: "Model";
	font-weight: bold;
}
	div.service-table.mclaren td:nth-of-type(2):before { content: "Annual";
	font-weight: bold;
}
	div.service-table.mclaren td:nth-of-type(3):before { content: "Major";
	font-weight: bold;
}
	div.service-table.mclaren td:nth-of-type(4):before { content: "Soft Close Doors Coupe";
	font-weight: bold;
}
	div.service-table.mclaren td:nth-of-type(5):before { content: "Soft Close Doors Spider";
	font-weight: bold;
}
}

/* Specialist Servicing */
.odometer.odometer-auto-theme .odometer-digit .odometer-value, .odometer.odometer-theme-minimal .odometer-digit .odometer-value {
font-weight:600;
}

/* Style the video controls */
.sf-video-contols {
  position: absolute;
  top: 20px; /* Adjust as needed */
  left: 20px; /* Adjust as needed */
  z-index: 999; /* Place controls above the video */
}
#sf-video-container {
    height: 56vw;
    width: 100vw;
}
.video-control {
	float:left;
    padding: 20px;
    cursor:pointer;
}
.sf-video-contols .fas {
font-size:35px;
color:#000;
}
.sf-video-contols .fas:hover {
color:#a9c810;
}
/* Reset the default margin and padding of the body */

.parallax-container {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000; /* Set a background color that matches your video's background */
  overflow: hidden;
  position: relative;
  height: 660px;
}

#video-iframe {
  width: 100%;
  height: 58vw; /* Adjust the height as needed */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@media only screen and (max-width: 1200px) {
.parallax-container {
height:56vw;
}
.slick-track {
height: 75vw;
}
	.slick-slide{
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden;
	}
	.slick-slide img {
    width: 100% !important;
    max-height: 100%;
    min-width: auto;
    min-height: auto;
    margin-top: calc((105vw - 100%) / -2);
}
}
@media only screen and (max-width: 960px) {
.metaslider-wrap  {
    flex-direction: column;
    margin-top:-56px;
}
.metaslider-wrap .one_third {
    justify-content: center;
    text-align: center;
    min-width:100%;
}
.metaslider-wrap .two_third {
    min-width:100%;
    margin-right:0!important;
}
.metaslider-cta {
    padding: 20px;
}
.parallax-container {
margin-top:-40px;
}
    .slick-container {
    margin-top: 0;
}
}

@media only screen and (max-width: 767px) {
#storage-quote {
flex-direction:column;
}

#storage-quote .one-third,
#storage-quote .one-third-last {
padding: 0 !important;
border: none !important;
}
.slick-container {
    max-height: 70vw;
}
/* iPhone z-index fix */
#wrapper, .top_bar.scroll {
z-index:999;
position:relative;
}
.mobile_menu_wrapper {
z-index:99999;
}
.sidebar_content {
margin-top: 0px!important;
}

.isMobile .ilightbox-toolbar.metro-black {
background:none;
}
#menu_wrapper {
    display: none;
}
#rev_slider_6_1_wrapper {
margin-top:40px!important;
}
.top_bar.hasbg {
    background: rgba(0, 0, 0, 1);
}
.logo_wrapper img {
max-width:180px!important;
}
#page_caption {
    margin-top: 45px;
}
#page_caption.hasbg {
margin-top: 102px;
}
#page_caption.hasbg.parallax {
min-height:300px;
max-height: 300px;
}
.one_third_bg.parallax {
padding: 100px 20px!important;
}
.content-gallery .element.grid.classic3_cols {
    grid-template-columns: repeat(2, 1fr);
}
/* Force iLightbox image to max out screen on mobile */
.ilightbox-container img.ilightbox-image {
    max-width: 100vw !important;
    max-height: 100vh !important;
    width: 100vw !important;
    height: auto !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    display: block;
    padding: 0 !important;
}
.ilightbox-container {
    padding: 0 !important;
    margin: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    top: 0 !important;
    left: 0 !important;
}
.ilightbox-holder {
    left: 0 !important;
    } 
.grid.gallery .element .grid.gallery3 {
    min-height: 50vw!important;
}
#eapps-instagram-feed-1 {
margin: -45px 0 -45px;
}
#page_caption .single_car_header_button {
    bottom: 10px!important;
}
	.car_attribute_wrapper h4 {
    line-height: 1.2em;
    }
    
.more_wrapper .button {
    font-size: 13px;
    padding: 0.2em 1em 0.2em 1em;
}


.single_car_attribute_wrapper .one_fourth {
min-height: 60px;
}
.one_fourth.last {
order:1;
}
#sales-options .one_third {
margin-bottom:50px;
}
.sales-team {
margin: 0px auto 0px;
}
.sales-team h2.ppb_title {
margin:0;
}
.sales-team .one_third {
    margin: 30px 0px;
}
.sales-team .one_third img {
max-width:50%;
} 
}

@media only screen and (max-width: 480px) {

    .slick-container {
    max-height:75vw;
    }  
.car_attribute_wrapper h4 a {
    font-size:18px;
    line-height: 1em;
}

}

@media only screen and (max-width: 400px) {
.grid.gallery .element .grid.gallery3 {
    max-height:220px;
}
.car_attribute_left {
width:100%;
}
.car_attribute_right {
width:100%;
 margin-top: 10px;
}
}


/* VIDEOS PAGE */

.video-gallery {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr; /* default to 1 column */
    margin-top:50px;
}

@media (min-width: 768px) {
    .video-gallery {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets and up */
    }
}

.video-item {
	text-align:center;
    padding: 1rem;
}


.video-embed {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 ratio (9 / 16 = 0.5625) */
    overflow: hidden;
    background: #000;
}

.video-item h3 {
	margin-top:20px;
}

.video-embed .video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.flex-viewport {
height:auto;
}