<?php

	$automobile_car_dealer_first_color = get_theme_mod('automobile_car_dealer_first_color');
	$automobile_car_dealer_custom_css ='';

	/*------------------ Global First Color -----------*/

	if ($automobile_car_dealer_first_color) {
		$automobile_car_dealer_custom_css .= ':root {';
		$automobile_car_dealer_custom_css .= '--first-theme-color: ' . esc_attr($automobile_car_dealer_first_color) . ' !important;';
		$automobile_car_dealer_custom_css .= '} ';
	}

	/*---------------------------Width Layout -------------------*/
	$automobile_car_dealer_theme_lay = get_theme_mod( 'automobile_car_dealer_width_layout_options','Default');
    if($automobile_car_dealer_theme_lay == 'Default'){
		$automobile_car_dealer_custom_css .='body{';
			$automobile_car_dealer_custom_css .='max-width: 100%;';
		$automobile_car_dealer_custom_css .='}';
	}else if($automobile_car_dealer_theme_lay == 'Container Layout'){
		$automobile_car_dealer_custom_css .='body{';
			$automobile_car_dealer_custom_css .='width: 100%;padding-right: 15px;padding-left: 15px;margin-right: auto;margin-left: auto;';
		$automobile_car_dealer_custom_css .='}';
		$automobile_car_dealer_custom_css .='.page-template-custom-home-page header{';
			$automobile_car_dealer_custom_css .='position: relative;';
		$automobile_car_dealer_custom_css .='}';
	}else if($automobile_car_dealer_theme_lay == 'Box Layout'){
		$automobile_car_dealer_custom_css .='body{';
			$automobile_car_dealer_custom_css .='max-width: 1140px; width: 100%; padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto;';
		$automobile_car_dealer_custom_css .='}';
		$automobile_car_dealer_custom_css .='.page-template-custom-home-page header{';
			$automobile_car_dealer_custom_css .='position: relative;';
		$automobile_car_dealer_custom_css .='}';
		$automobile_car_dealer_custom_css .='.page-template-custom-home-page #header{';
			$automobile_car_dealer_custom_css .='left: 15px; width: 97.3%;';
		$automobile_car_dealer_custom_css .='}';
		$automobile_car_dealer_custom_css .='
		@media screen and (max-width:768px){
			.page-template-custom-home-page #header{';
				$automobile_car_dealer_custom_css .=' width: 100%;';
		$automobile_car_dealer_custom_css .='} }';
	}

	/*----------Slider Content Layout --------------*/
	$automobile_car_dealer_theme_lay = get_theme_mod( 'automobile_car_dealer_slider_content_layout','Center');
    if($automobile_car_dealer_theme_lay == 'Left'){
		$automobile_car_dealer_custom_css .='#slider .carousel-caption, #slider .inner_carousel, #slider .inner_carousel h1, #slider .inner_carousel p, .slide-button {';
			$automobile_car_dealer_custom_css .='text-align:left; ';
		$automobile_car_dealer_custom_css .='}';
	}else if($automobile_car_dealer_theme_lay == 'Center'){
		$automobile_car_dealer_custom_css .='#slider .carousel-caption, #slider .inner_carousel, #slider .inner_carousel h1, #slider .inner_carousel p, .slide-button {';
			$automobile_car_dealer_custom_css .='text-align:center; ';
		$automobile_car_dealer_custom_css .='}';
	}else if($automobile_car_dealer_theme_lay == 'Right'){
		$automobile_car_dealer_custom_css .='#slider .carousel-caption, #slider .inner_carousel, #slider .inner_carousel h1, #slider .inner_carousel p, .slide-button {';
			$automobile_car_dealer_custom_css .='text-align:right; ';
		$automobile_car_dealer_custom_css .='}';
	}

	/*--------------------------- Slider Opacity -------------------*/
	$automobile_car_dealer_theme_lay = get_theme_mod( 'automobile_car_dealer_slider_opacity','0.7');
	if($automobile_car_dealer_theme_lay == '0'){
		$automobile_car_dealer_custom_css .='#slider img{';
			$automobile_car_dealer_custom_css .='opacity:0';
		$automobile_car_dealer_custom_css .='}';
		}else if($automobile_car_dealer_theme_lay == '0.1'){
		$automobile_car_dealer_custom_css .='#slider img{';
			$automobile_car_dealer_custom_css .='opacity:0.1';
		$automobile_car_dealer_custom_css .='}';
		}else if($automobile_car_dealer_theme_lay == '0.2'){
		$automobile_car_dealer_custom_css .='#slider img{';
			$automobile_car_dealer_custom_css .='opacity:0.2';
		$automobile_car_dealer_custom_css .='}';
		}else if($automobile_car_dealer_theme_lay == '0.3'){
		$automobile_car_dealer_custom_css .='#slider img{';
			$automobile_car_dealer_custom_css .='opacity:0.3';
		$automobile_car_dealer_custom_css .='}';
		}else if($automobile_car_dealer_theme_lay == '0.4'){
		$automobile_car_dealer_custom_css .='#slider img{';
			$automobile_car_dealer_custom_css .='opacity:0.4';
		$automobile_car_dealer_custom_css .='}';
		}else if($automobile_car_dealer_theme_lay == '0.5'){
		$automobile_car_dealer_custom_css .='#slider img{';
			$automobile_car_dealer_custom_css .='opacity:0.5';
		$automobile_car_dealer_custom_css .='}';
		}else if($automobile_car_dealer_theme_lay == '0.6'){
		$automobile_car_dealer_custom_css .='#slider img{';
			$automobile_car_dealer_custom_css .='opacity:0.6';
		$automobile_car_dealer_custom_css .='}';
		}else if($automobile_car_dealer_theme_lay == '0.7'){
		$automobile_car_dealer_custom_css .='#slider img{';
			$automobile_car_dealer_custom_css .='opacity:0.7';
		$automobile_car_dealer_custom_css .='}';
		}else if($automobile_car_dealer_theme_lay == '0.8'){
		$automobile_car_dealer_custom_css .='#slider img{';
			$automobile_car_dealer_custom_css .='opacity:0.8';
		$automobile_car_dealer_custom_css .='}';
		}else if($automobile_car_dealer_theme_lay == '0.9'){
		$automobile_car_dealer_custom_css .='#slider img{';
			$automobile_car_dealer_custom_css .='opacity:0.9';
		$automobile_car_dealer_custom_css .='}';
	}

	/*-------------- Woocommerce Button  -------------------*/
	$automobile_car_dealer_woocommerce_button_padding_top = get_theme_mod('automobile_car_dealer_woocommerce_button_padding_top');
	$automobile_car_dealer_custom_css .='.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt{';
		$automobile_car_dealer_custom_css .='padding-top: '.esc_attr($automobile_car_dealer_woocommerce_button_padding_top).'px; padding-bottom: '.esc_attr($automobile_car_dealer_woocommerce_button_padding_top).'px;';
	$automobile_car_dealer_custom_css .='}';

	$automobile_car_dealer_woocommerce_button_padding_right = get_theme_mod('automobile_car_dealer_woocommerce_button_padding_right');
	$automobile_car_dealer_custom_css .='.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt{';
		$automobile_car_dealer_custom_css .='padding-left: '.esc_attr($automobile_car_dealer_woocommerce_button_padding_right).'px; padding-right: '.esc_attr($automobile_car_dealer_woocommerce_button_padding_right).'px;';
	$automobile_car_dealer_custom_css .='}';

	$automobile_car_dealer_woocommerce_button_border_radius = get_theme_mod('automobile_car_dealer_woocommerce_button_border_radius');
	$automobile_car_dealer_custom_css .='.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt{';
		$automobile_car_dealer_custom_css .='border-radius: '.esc_attr($automobile_car_dealer_woocommerce_button_border_radius).'px;';
	$automobile_car_dealer_custom_css .='}';

	$automobile_car_dealer_related_product_enable = get_theme_mod('automobile_car_dealer_related_product_enable',true);
	if($automobile_car_dealer_related_product_enable == false){
		$automobile_car_dealer_custom_css .='.related.products{';
			$automobile_car_dealer_custom_css .='display: none;';
		$automobile_car_dealer_custom_css .='}';
	}

	$automobile_car_dealer_woocommerce_product_border_enable = get_theme_mod('automobile_car_dealer_woocommerce_product_border_enable',true);
	if($automobile_car_dealer_woocommerce_product_border_enable == false){
		$automobile_car_dealer_custom_css .='.products li{';
			$automobile_car_dealer_custom_css .='border: none;';
		$automobile_car_dealer_custom_css .='}';
	}

	$automobile_car_dealer_woocommerce_product_padding_top = get_theme_mod('automobile_car_dealer_woocommerce_product_padding_top',10);
	$automobile_car_dealer_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{';
		$automobile_car_dealer_custom_css .='padding-top: '.esc_attr($automobile_car_dealer_woocommerce_product_padding_top).'px; padding-bottom: '.esc_attr($automobile_car_dealer_woocommerce_product_padding_top).'px;';
	$automobile_car_dealer_custom_css .='}';

	$automobile_car_dealer_woocommerce_product_padding_right = get_theme_mod('automobile_car_dealer_woocommerce_product_padding_right',10);
	$automobile_car_dealer_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{';
		$automobile_car_dealer_custom_css .='padding-left: '.esc_attr($automobile_car_dealer_woocommerce_product_padding_right).'px; padding-right: '.esc_attr($automobile_car_dealer_woocommerce_product_padding_right).'px;';
	$automobile_car_dealer_custom_css .='}';

	$automobile_car_dealer_woocommerce_product_border_radius = get_theme_mod('automobile_car_dealer_woocommerce_product_border_radius');
	$automobile_car_dealer_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{';
		$automobile_car_dealer_custom_css .='border-radius: '.esc_attr($automobile_car_dealer_woocommerce_product_border_radius).'px;';
	$automobile_car_dealer_custom_css .='}';

	$automobile_car_dealer_woocommerce_product_box_shadow = get_theme_mod('automobile_car_dealer_woocommerce_product_box_shadow');
	$automobile_car_dealer_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{';
		$automobile_car_dealer_custom_css .='box-shadow: '.esc_attr($automobile_car_dealer_woocommerce_product_box_shadow).'px '.esc_attr($automobile_car_dealer_woocommerce_product_box_shadow).'px '.esc_attr($automobile_car_dealer_woocommerce_product_box_shadow).'px #eee;';
	$automobile_car_dealer_custom_css .='}';

	$automobile_car_dealer_woo_product_sale_top_bottom_padding = get_theme_mod('automobile_car_dealer_woo_product_sale_top_bottom_padding', 0);
	$automobile_car_dealer_woo_product_sale_left_right_padding = get_theme_mod('automobile_car_dealer_woo_product_sale_left_right_padding', 0);
	$automobile_car_dealer_custom_css .='.woocommerce span.onsale{';
		$automobile_car_dealer_custom_css .='padding-top: '.esc_attr($automobile_car_dealer_woo_product_sale_top_bottom_padding).'px; padding-bottom: '.esc_attr($automobile_car_dealer_woo_product_sale_top_bottom_padding).'px; padding-left: '.esc_attr($automobile_car_dealer_woo_product_sale_left_right_padding).'px; padding-right: '.esc_attr($automobile_car_dealer_woo_product_sale_left_right_padding).'px; display:inline-block;';
	$automobile_car_dealer_custom_css .='}';

	$automobile_car_dealer_woo_product_sale_border_radius = get_theme_mod('automobile_car_dealer_woo_product_sale_border_radius',100);
	$automobile_car_dealer_custom_css .='.woocommerce span.onsale {';
		$automobile_car_dealer_custom_css .='border-radius: '.esc_attr($automobile_car_dealer_woo_product_sale_border_radius).'%;';
	$automobile_car_dealer_custom_css .='}';

	$automobile_car_dealer_wooproduct_sale_font_size = get_theme_mod('automobile_car_dealer_wooproduct_sale_font_size',14);
	$automobile_car_dealer_custom_css .='.woocommerce span.onsale{';
		$automobile_car_dealer_custom_css .='font-size: '.esc_attr($automobile_car_dealer_wooproduct_sale_font_size).'px;';
	$automobile_car_dealer_custom_css .='}';

	$automobile_car_dealer_woo_product_sale_position = get_theme_mod('automobile_car_dealer_woo_product_sale_position', 'Right');
	if($automobile_car_dealer_woo_product_sale_position == 'Right' ){
		$automobile_car_dealer_custom_css .='.woocommerce ul.products li.product .onsale{';
			$automobile_car_dealer_custom_css .=' left:auto; right:0;';
		$automobile_car_dealer_custom_css .='}';
	}elseif($automobile_car_dealer_woo_product_sale_position == 'Left' ){
		$automobile_car_dealer_custom_css .='.woocommerce ul.products li.product .onsale{';
			$automobile_car_dealer_custom_css .=' left:0; right:auto;';
		$automobile_car_dealer_custom_css .='}';
	}

	// footer setting
	$automobile_car_dealer_footer_bg_color = get_theme_mod('automobile_car_dealer_footer_bg_color');
	$automobile_car_dealer_custom_css .='.footer-wp{';
		$automobile_car_dealer_custom_css .='background-color: '.esc_attr($automobile_car_dealer_footer_bg_color).';';
	$automobile_car_dealer_custom_css .='}';

	$automobile_car_dealer_footer_bg_image = get_theme_mod('automobile_car_dealer_footer_bg_image');
	if($automobile_car_dealer_footer_bg_image != false){
		$automobile_car_dealer_custom_css .='.footer-wp{';
			$automobile_car_dealer_custom_css .='background: url('.esc_attr($automobile_car_dealer_footer_bg_image).'); background-size: cover;';
		$automobile_car_dealer_custom_css .='}';
	}

    // footer image position
	$automobile_car_dealer_footer_img_position = get_theme_mod('automobile_car_dealer_footer_img_position','center center');
	if($automobile_car_dealer_footer_img_position != false){
		$automobile_car_dealer_custom_css .='.footer-wp{';
			$automobile_car_dealer_custom_css .='background-position: '.esc_attr($automobile_car_dealer_footer_img_position).'!important;';
		$automobile_car_dealer_custom_css .='}';
	}	

	// Footer Attatchment
	$automobile_car_dealer_theme_lay = get_theme_mod( 'automobile_car_dealer_footer_attatchment','scroll');
	if($automobile_car_dealer_theme_lay == 'fixed'){
		$automobile_car_dealer_custom_css .='.footer-wp{';
			$automobile_car_dealer_custom_css .='background-attachment: fixed;';
		$automobile_car_dealer_custom_css .='}';
	}elseif ($automobile_car_dealer_theme_lay == 'scroll'){
		$automobile_car_dealer_custom_css .='.footer-wp{';
			$automobile_car_dealer_custom_css .='background-attachment: scroll;';
		$automobile_car_dealer_custom_css .='}';
	}

	// footer heading font size
	$automobile_car_dealer_footer_heading_font_size = get_theme_mod('automobile_car_dealer_footer_heading_font_size');
	$automobile_car_dealer_custom_css .='.footer-wp h3{';
		$automobile_car_dealer_custom_css .='font-size: '.esc_attr($automobile_car_dealer_footer_heading_font_size).'px;';
	$automobile_car_dealer_custom_css .='}';

	// letter spacing
	$automobile_car_dealer_footer_heading_letter_spacing = get_theme_mod('automobile_car_dealer_footer_heading_letter_spacing',2);
	$automobile_car_dealer_custom_css .='.footer-wp h3{';
	$automobile_car_dealer_custom_css .='letter-spacing: '.esc_attr($automobile_car_dealer_footer_heading_letter_spacing).'px;';	
	$automobile_car_dealer_custom_css .='}';

	$automobile_car_dealer_theme_lay = get_theme_mod( 'automobile_car_dealer_footer_text_tranform','Capitalize');
    if($automobile_car_dealer_theme_lay == 'Uppercase'){
		$automobile_car_dealer_custom_css .='.footer-wp h3{';
			$automobile_car_dealer_custom_css .='text-transform: uppercase;';
		$automobile_car_dealer_custom_css .='}';
	}else if($automobile_car_dealer_theme_lay == 'Lowercase'){
		$automobile_car_dealer_custom_css .='.footer-wp h3{';
			$automobile_car_dealer_custom_css .='text-transform: lowercase;';
		$automobile_car_dealer_custom_css .='}';
	}
	else if($automobile_car_dealer_theme_lay == 'Capitalize'){
		$automobile_car_dealer_custom_css .='.footer-wp h3{';
			$automobile_car_dealer_custom_css .='text-transform: capitalize;';
		$automobile_car_dealer_custom_css .='}';
	}

	$automobile_car_dealer_footer_heading_font_weight = get_theme_mod( 'automobile_car_dealer_footer_heading_font_weight','600');
	if($automobile_car_dealer_footer_heading_font_weight != ''){
		$automobile_car_dealer_custom_css .='.footer-wp h3, .footer-wp .wp-block-heading{';
			$automobile_car_dealer_custom_css .='font-weight: '.esc_attr($automobile_car_dealer_footer_heading_font_weight).';';
		$automobile_car_dealer_custom_css .='}';
	}

	// footer padding
	$automobile_car_dealer_footer_padding = get_theme_mod('automobile_car_dealer_footer_padding');
	$automobile_car_dealer_custom_css .='.footer-wp{';
		$automobile_car_dealer_custom_css .='padding: '.esc_attr($automobile_car_dealer_footer_padding).'px;';
	$automobile_car_dealer_custom_css .='}';

	$automobile_car_dealer_footer_heading = get_theme_mod( 'automobile_car_dealer_footer_heading','Left');
    if($automobile_car_dealer_footer_heading == 'Left'){
		$automobile_car_dealer_custom_css .='.footer-wp h3, .footer-wp .wp-block-search .wp-block-search__label{';
		$automobile_car_dealer_custom_css .='text-align: left;';
		$automobile_car_dealer_custom_css .='}';
	}else if($automobile_car_dealer_footer_heading == 'Center'){
		$automobile_car_dealer_custom_css .='.footer-wp h3, .footer-wp .wp-block-search .wp-block-search__label{';
			$automobile_car_dealer_custom_css .='text-align: center;';
		$automobile_car_dealer_custom_css .='}';
		$automobile_car_dealer_custom_css .='.footer-wp h3:after, .footer-wp .wp-block-heading:after{';
			$automobile_car_dealer_custom_css .='margin: 7px auto;';
		$automobile_car_dealer_custom_css .='}';
		$automobile_car_dealer_custom_css .='
		@media screen and (max-width:767px) {
			.footer-wp h3, .footer-wp .wp-block-search .wp-block-search__label{';
				$automobile_car_dealer_custom_css .='text-align: left;';
				$automobile_car_dealer_custom_css .='}
			.footer-wp h3:after, .footer-wp .wp-block-heading:after{';
				$automobile_car_dealer_custom_css .='margin: 7px 0 0;';
				$automobile_car_dealer_custom_css .='} }';
	}else if($automobile_car_dealer_footer_heading == 'Right'){
		$automobile_car_dealer_custom_css .='.footer-wp h3, .footer-wp .wp-block-search .wp-block-search__label{';
			$automobile_car_dealer_custom_css .='text-align: right; padding-bottom: 25px;';
		$automobile_car_dealer_custom_css .='}';
		$automobile_car_dealer_custom_css .='.footer-wp .widget, .footer-wp aside{';
			$automobile_car_dealer_custom_css .='position: relative;';
		$automobile_car_dealer_custom_css .='}';
		$automobile_car_dealer_custom_css .='.footer-wp h3:after, .footer-wp .wp-block-heading:after{';
			$automobile_car_dealer_custom_css .='position: absolute; right: 0;';
		$automobile_car_dealer_custom_css .='}';
		$automobile_car_dealer_custom_css .='
		@media screen and (max-width:767px) {
			.footer-wp h3, .footer-wp .wp-block-search .wp-block-search__label{';
				$automobile_car_dealer_custom_css .='text-align: left;';
				$automobile_car_dealer_custom_css .='}
			.footer-wp h3:after, .footer-wp .wp-block-heading:after{';
				$automobile_car_dealer_custom_css .='left: 0;';
				$automobile_car_dealer_custom_css .='} }';
	}

	$automobile_car_dealer_footer_content = get_theme_mod( 'automobile_car_dealer_footer_content','Left');
    if($automobile_car_dealer_footer_content == 'Left'){
		$automobile_car_dealer_custom_css .='.footer-wp .widget,.footer-wp caption{';
		$automobile_car_dealer_custom_css .='text-align: left;';
		$automobile_car_dealer_custom_css .='}';
	}else if($automobile_car_dealer_footer_content == 'Center'){
		$automobile_car_dealer_custom_css .='.footer-wp .widget,.footer-wp caption{';
			$automobile_car_dealer_custom_css .='text-align: center;';
		$automobile_car_dealer_custom_css .='}';
		$automobile_car_dealer_custom_css .='
		@media screen and (max-width:767px) {
			.footer-wp .widget,.footer-wp caption{';
				$automobile_car_dealer_custom_css .='text-align: left;';
				$automobile_car_dealer_custom_css .='} }';
	}else if($automobile_car_dealer_footer_content == 'Right'){
		$automobile_car_dealer_custom_css .='.footer-wp .widget,.footer-wp caption{';
			$automobile_car_dealer_custom_css .='text-align: right;';
		$automobile_car_dealer_custom_css .='}';
		$automobile_car_dealer_custom_css .='
		@media screen and (max-width:767px) {
			.footer-wp .widget,.footer-wp caption{';
				$automobile_car_dealer_custom_css .='text-align: left;';
				$automobile_car_dealer_custom_css .='} }';
	}

	//Footer Style 
	$automobile_car_dealer_theme_lay = get_theme_mod( 'automobile_car_dealer_footer_template','automobile_car_dealer-footer-one');
	if($automobile_car_dealer_theme_lay == 'automobile_car_dealer-footer-one'){
		$automobile_car_dealer_custom_css .='.footer-wp{';
			$automobile_car_dealer_custom_css .='';
		$automobile_car_dealer_custom_css .='}';
	}else if($automobile_car_dealer_theme_lay == 'automobile_car_dealer-footer-two'){
		$automobile_car_dealer_custom_css .='.footer-wp {';
			$automobile_car_dealer_custom_css .='background: #E3F2FD !important;';
		$automobile_car_dealer_custom_css .='}';
		$automobile_car_dealer_custom_css .='.footer-wp p,.footer-wp span,.footer-wp li a,.footer-wp #wp-calendar caption,.footer-wp #wp-calendar td,.footer-wp #wp-calendar th, .footer-wp, .footer-wp h3, .footer-wp a.rsswidget, .footer-wp #wp-calendar a, .copyright a, .footer-wp .custom_details, .footer-wp ins span, .footer-wp .tagcloud a, .main-inner-box span.entry-date a, nav.woocommerce-MyAccount-navigation ul li:hover a, .footer-wp ul li a, .footer-wp table, .footer-wp th, .footer-wp td, .footer-wp caption, #sidebar caption,.footer-wp nav.wp-calendar-nav a,.footer-wp .search-form .search-field, .footer-wp .rssSummary, .footer-wp ul li{';
			$automobile_car_dealer_custom_css .='color:#000 !important;';
		$automobile_car_dealer_custom_css .='}';
		$automobile_car_dealer_custom_css .='.footer-wp p{';
			$automobile_car_dealer_custom_css .='color:#000 !important;';
		$automobile_car_dealer_custom_css .='}';
		$automobile_car_dealer_custom_css .='.footer-wp ul li::before{';
			$automobile_car_dealer_custom_css .='background:#000;';
		$automobile_car_dealer_custom_css .='}';
		$automobile_car_dealer_custom_css .='.footer-wp table, .footer-wp th, .footer-wp td,.footer-wp.search-form .search-field,.footer-wp .tagcloud a{';
			$automobile_car_dealer_custom_css .='border: 1px solid #000;';
		$automobile_car_dealer_custom_css .='}';

	}else if($automobile_car_dealer_theme_lay == 'automobile_car_dealer-footer-three'){
		$automobile_car_dealer_custom_css .='.footer-wp {';
			$automobile_car_dealer_custom_css .='background: #0A0A1F !important;;';
		$automobile_car_dealer_custom_css .='}';
	}
	else if($automobile_car_dealer_theme_lay == 'automobile_car_dealer-footer-four'){
		$automobile_car_dealer_custom_css .='.footer-wp {';
			$automobile_car_dealer_custom_css .='background: #F5F5DC !important;;';
		$automobile_car_dealer_custom_css .='}';
		$automobile_car_dealer_custom_css .='.footer-wp p,.footer-wp span,.footer-wp li a,.footer-wp #wp-calendar caption,.footer-wp #wp-calendar td,.footer-wp #wp-calendar th, .footer-wp, .footer-wp h3, .footer-wp a.rsswidget, .footer-wp #wp-calendar a, .copyright a, .footer-wp .custom_details, .footer-wp ins span, .footer-wp .tagcloud a, .main-inner-box span.entry-date a, nav.woocommerce-MyAccount-navigation ul li:hover a, .footer-wp ul li a, .footer-wp table, .footer-wp th, .footer-wp td, .footer-wp caption, #sidebar caption,.footer-wp nav.wp-calendar-nav a,.footer-wp .search-form .search-field, .footer-wp .rssSummary, .footer-wp ul li{';
			$automobile_car_dealer_custom_css .='color:#000 !important;';
		$automobile_car_dealer_custom_css .='}';
		$automobile_car_dealer_custom_css .='.footer-wp p{';
			$automobile_car_dealer_custom_css .='color:#000 !important;';
		$automobile_car_dealer_custom_css .='}';
		$automobile_car_dealer_custom_css .='.footer-wp ul li::before{';
			$automobile_car_dealer_custom_css .='background:#000;';
		$automobile_car_dealer_custom_css .='}';
		$automobile_car_dealer_custom_css .='.footer-wp table, .footer-wp th, .footer-wp td,.footer-wp.search-form .search-field,.footer-wp .tagcloud a{';
			$automobile_car_dealer_custom_css .='border: 1px solid #000;';
		$automobile_car_dealer_custom_css .='}';
	}
	else if($automobile_car_dealer_theme_lay == 'automobile_car_dealer-footer-five'){
	$automobile_car_dealer_custom_css .='.footer-wp {';
		$automobile_car_dealer_custom_css .='background: #333333 !important;;';
	$automobile_car_dealer_custom_css .='}';
	}		

	//Footer social icons font size
	$automobile_car_dealer_footer_social_icons_size = get_theme_mod('automobile_car_dealer_footer_social_icons_size', 15);
	$automobile_car_dealer_custom_css .='.copyright-wrapper a i{';
		$automobile_car_dealer_custom_css .='font-size: '.esc_attr($automobile_car_dealer_footer_social_icons_size).'px;';
	$automobile_car_dealer_custom_css .='}';	
	
	//Footer Social Icon Alignment
	$automobile_car_dealer_footer_icon_alignment = get_theme_mod( 'automobile_car_dealer_footer_icon_alignment','center');
    if($automobile_car_dealer_footer_icon_alignment == 'left'){
		$automobile_car_dealer_custom_css .='footer .socialicons{';
			$automobile_car_dealer_custom_css .='text-align:left !important;';
		$automobile_car_dealer_custom_css .='}';
	}else if($automobile_car_dealer_footer_icon_alignment == 'center'){
		$automobile_car_dealer_custom_css .='footer .socialicons{';
			$automobile_car_dealer_custom_css .='text-align:center !important;';
		$automobile_car_dealer_custom_css .='}';
	}else if($automobile_car_dealer_footer_icon_alignment == 'right'){
		$automobile_car_dealer_custom_css .='footer .socialicons{';
			$automobile_car_dealer_custom_css .='text-align:right !important;';
		$automobile_car_dealer_custom_css .='}';
	}		

	/*------------- Back to Top  -------------------*/
	$automobile_car_dealer_back_to_top_border_radius = get_theme_mod('automobile_car_dealer_back_to_top_border_radius');
	$automobile_car_dealer_custom_css .='#scrollbutton i{';
		$automobile_car_dealer_custom_css .='border-radius: '.esc_attr($automobile_car_dealer_back_to_top_border_radius).'px;';
	$automobile_car_dealer_custom_css .='}';

	$automobile_car_dealer_scroll_icon_font_size = get_theme_mod('automobile_car_dealer_scroll_icon_font_size', 22);
	$automobile_car_dealer_custom_css .='#scrollbutton i{';
		$automobile_car_dealer_custom_css .='font-size: '.esc_attr($automobile_car_dealer_scroll_icon_font_size).'px;';
	$automobile_car_dealer_custom_css .='}';

	// back to top icon color
	$automobile_car_dealer_scroll_icon_color = get_theme_mod('automobile_car_dealer_scroll_icon_color');
	$automobile_car_dealer_custom_css .='#scrollbutton i{';
		$automobile_car_dealer_custom_css .='color: '.esc_attr($automobile_car_dealer_scroll_icon_color).';';
	$automobile_car_dealer_custom_css .='}';

	// back to top icon hover color
	$automobile_car_dealer_scroll_icon_hover_color = get_theme_mod('automobile_car_dealer_scroll_icon_hover_color');
	$automobile_car_dealer_custom_css .='#scrollbutton i:hover{';
		$automobile_car_dealer_custom_css .='color: '.esc_attr($automobile_car_dealer_scroll_icon_hover_color).';';
	$automobile_car_dealer_custom_css .='}';

	// back to top bg color
	$automobile_car_dealer_scroll_icon_background = get_theme_mod('automobile_car_dealer_scroll_icon_background');
	$automobile_car_dealer_custom_css .='#scrollbutton i{';
		$automobile_car_dealer_custom_css .='background-color: '.esc_attr($automobile_car_dealer_scroll_icon_background).';';
		$automobile_car_dealer_custom_css .='border-color: '.esc_attr($automobile_car_dealer_scroll_icon_background).';';
	$automobile_car_dealer_custom_css .='}';

	// back to top bg hover color
	$automobile_car_dealer_scroll_icon_bg_hover = get_theme_mod('automobile_car_dealer_scroll_icon_bg_hover');
	$automobile_car_dealer_custom_css .='#scrollbutton i:hover{';
		$automobile_car_dealer_custom_css .='background-color: '.esc_attr($automobile_car_dealer_scroll_icon_bg_hover).';';
		$automobile_car_dealer_custom_css .='border-color: '.esc_attr($automobile_car_dealer_scroll_icon_bg_hover).';';
	$automobile_car_dealer_custom_css .='}';

	$automobile_car_dealer_top_bottom_scroll_padding = get_theme_mod('automobile_car_dealer_top_bottom_scroll_padding', 12);
	$automobile_car_dealer_custom_css .='#scrollbutton i{';
		$automobile_car_dealer_custom_css .='padding-top: '.esc_attr($automobile_car_dealer_top_bottom_scroll_padding).'px; padding-bottom: '.esc_attr($automobile_car_dealer_top_bottom_scroll_padding).'px;';
	$automobile_car_dealer_custom_css .='}';

	$automobile_car_dealer_left_right_scroll_padding = get_theme_mod('automobile_car_dealer_left_right_scroll_padding', 17);
	$automobile_car_dealer_custom_css .='#scrollbutton i{';
		$automobile_car_dealer_custom_css .='padding-left: '.esc_attr($automobile_car_dealer_left_right_scroll_padding).'px; padding-right: '.esc_attr($automobile_car_dealer_left_right_scroll_padding).'px;';
	$automobile_car_dealer_custom_css .='}';

	// preloader background image
	$automobile_car_dealer_preloader_bg_image = get_theme_mod('automobile_car_dealer_preloader_bg_image');
	if($automobile_car_dealer_preloader_bg_image != false){
		$automobile_car_dealer_custom_css .='.frame{';
			$automobile_car_dealer_custom_css .='background: url('.esc_attr($automobile_car_dealer_preloader_bg_image).'); background-size: cover;';
		$automobile_car_dealer_custom_css .='}';
	}

	/*----------- Preloader Color Option  ----------------*/
	$automobile_car_dealer_preloader_bg_color_option = get_theme_mod('automobile_car_dealer_preloader_bg_color_option');
	$automobile_car_dealer_preloader_icon_color_option = get_theme_mod('automobile_car_dealer_preloader_icon_color_option');
	$automobile_car_dealer_custom_css .='.frame{';
		$automobile_car_dealer_custom_css .='background-color: '.esc_attr($automobile_car_dealer_preloader_bg_color_option).';';
	$automobile_car_dealer_custom_css .='}';
	$automobile_car_dealer_custom_css .='.dot-1,.dot-2,.dot-3{';
		$automobile_car_dealer_custom_css .='background-color: '.esc_attr($automobile_car_dealer_preloader_icon_color_option).';';
	$automobile_car_dealer_custom_css .='}';

	// preloader type
	$automobile_car_dealer_theme_lay = get_theme_mod( 'automobile_car_dealer_preloader_type','First Preloader Type');
    if($automobile_car_dealer_theme_lay == 'First Preloader Type'){
		$automobile_car_dealer_custom_css .='.dot-1, .dot-2, .dot-3{';
			$automobile_car_dealer_custom_css .='';
		$automobile_car_dealer_custom_css .='}';
	}else if($automobile_car_dealer_theme_lay == 'Second Preloader Type'){
		$automobile_car_dealer_custom_css .='.dot-1, .dot-2, .dot-3{';
			$automobile_car_dealer_custom_css .='border-radius:0;';
		$automobile_car_dealer_custom_css .='}';
	}

	// Social Icons Settings
	$automobile_car_dealer_social_icon_size = get_theme_mod('automobile_car_dealer_social_icon_size');
	$automobile_car_dealer_custom_css .='.topbar .socialbox i{';
		$automobile_car_dealer_custom_css .='font-size: '.esc_attr($automobile_car_dealer_social_icon_size).'px;';
	$automobile_car_dealer_custom_css .='}';

	//Social icon color
	$automobile_car_dealer_social_icon_color = get_theme_mod('automobile_car_dealer_social_icon_color');
	$automobile_car_dealer_custom_css .='.topbar .socialbox i{';
			$automobile_car_dealer_custom_css .='color: '.esc_attr($automobile_car_dealer_social_icon_color).' !important;';
	$automobile_car_dealer_custom_css .='}';  	
	
	// Header Contact Icons Font Size
    $automobile_car_dealer_header_icons_size = get_theme_mod('automobile_car_dealer_header_icons_size', '16');
    $automobile_car_dealer_custom_css .='.topbar a i{';
        $automobile_car_dealer_custom_css .='font-size: '.esc_attr($automobile_car_dealer_header_icons_size).'px;';
    $automobile_car_dealer_custom_css .='}'; 

	// menu settings
	$automobile_car_dealer_menu_font_size_option = get_theme_mod('automobile_car_dealer_menu_font_size_option', 12);
	$automobile_car_dealer_custom_css .='.primary-navigation a{';
		$automobile_car_dealer_custom_css .='font-size: '.esc_attr($automobile_car_dealer_menu_font_size_option).'px;';
	$automobile_car_dealer_custom_css .='}';

	// menu top-bottom padding
	$automobile_car_dealer_menu_top_bottom_padding = get_theme_mod('automobile_car_dealer_menu_top_bottom_padding');
	$automobile_car_dealer_custom_css .='.primary-navigation a, .primary-navigation ul li a{';
		$automobile_car_dealer_custom_css .='padding-top: '.esc_attr($automobile_car_dealer_menu_top_bottom_padding).'px;';
		$automobile_car_dealer_custom_css .='padding-bottom: '.esc_attr($automobile_car_dealer_menu_top_bottom_padding).'px;';
	$automobile_car_dealer_custom_css .='}';

	// menu left-right padding
	$automobile_car_dealer_menu_left_right_padding = get_theme_mod('automobile_car_dealer_menu_left_right_padding');
	$automobile_car_dealer_custom_css .='.primary-navigation a, .primary-navigation ul li a{';
		$automobile_car_dealer_custom_css .='padding-left: '.esc_attr($automobile_car_dealer_menu_left_right_padding).'px;';
		$automobile_car_dealer_custom_css .='padding-right: '.esc_attr($automobile_car_dealer_menu_left_right_padding).'px;';
	$automobile_car_dealer_custom_css .='}';

	// Responsive Media
	$automobile_car_dealer_slider = get_theme_mod( 'automobile_car_dealer_display_slider',true);
	if($automobile_car_dealer_slider == true && get_theme_mod( 'automobile_car_dealer_slider_hide', false) == false){
    	$automobile_car_dealer_custom_css .='#slider{';
			$automobile_car_dealer_custom_css .='display:none;';
		$automobile_car_dealer_custom_css .='} ';
	}
    if($automobile_car_dealer_slider == true){
    	$automobile_car_dealer_custom_css .='@media screen and (max-width:575px) {';
		$automobile_car_dealer_custom_css .='#slider{';
			$automobile_car_dealer_custom_css .='display:block;';
		$automobile_car_dealer_custom_css .='} }';
	}else if($automobile_car_dealer_slider == false){
		$automobile_car_dealer_custom_css .='@media screen and (max-width:575px){';
		$automobile_car_dealer_custom_css .='#slider{';
			$automobile_car_dealer_custom_css .='display:none;';
		$automobile_car_dealer_custom_css .='} }';
	}

	$automobile_car_dealer_sliderbutton = get_theme_mod( 'automobile_car_dealer_display_slider_button',true);
	if($automobile_car_dealer_sliderbutton == true && get_theme_mod( 'automobile_car_dealer_show_slider_button',true) != true){
    	$automobile_car_dealer_custom_css .='.slide-button{';
			$automobile_car_dealer_custom_css .='display:none;';
		$automobile_car_dealer_custom_css .='} ';
	}
    if($automobile_car_dealer_sliderbutton == true){
    	$automobile_car_dealer_custom_css .='@media screen and (max-width:575px) {';
		$automobile_car_dealer_custom_css .='.slide-button{';
			$automobile_car_dealer_custom_css .='display:block;';
		$automobile_car_dealer_custom_css .='} }';
	}else if($automobile_car_dealer_sliderbutton == false){
		$automobile_car_dealer_custom_css .='@media screen and (max-width:575px){';
		$automobile_car_dealer_custom_css .='.slide-button{';
			$automobile_car_dealer_custom_css .='display:none;';
		$automobile_car_dealer_custom_css .='} }';
	}

	$automobile_car_dealer_sidebar = get_theme_mod( 'automobile_car_dealer_display_sidebar',true);
    if($automobile_car_dealer_sidebar == true){
    	$automobile_car_dealer_custom_css .='@media screen and (max-width:575px) {';
		$automobile_car_dealer_custom_css .='#sidebar{';
			$automobile_car_dealer_custom_css .='display:block;';
		$automobile_car_dealer_custom_css .='} }';
	}else if($automobile_car_dealer_sidebar == false){
		$automobile_car_dealer_custom_css .='@media screen and (max-width:575px) {';
		$automobile_car_dealer_custom_css .='#sidebar{';
			$automobile_car_dealer_custom_css .='display:none;';
		$automobile_car_dealer_custom_css .='} }';
	}

	$automobile_car_dealer_scroll = get_theme_mod( 'automobile_car_dealer_display_scrolltop', true);
	if($automobile_car_dealer_scroll == true && get_theme_mod( 'automobile_car_dealer_hide_show_scroll',true) != true){
    	$automobile_car_dealer_custom_css .='#scrollbutton i{';
			$automobile_car_dealer_custom_css .='display:none;';
		$automobile_car_dealer_custom_css .='} ';
	}
    if($automobile_car_dealer_scroll == true){
    	$automobile_car_dealer_custom_css .='@media screen and (max-width:575px) {';
		$automobile_car_dealer_custom_css .='#scrollbutton i{';
			$automobile_car_dealer_custom_css .='display:block;';
		$automobile_car_dealer_custom_css .='} }';
	}else if($automobile_car_dealer_scroll == false){
		$automobile_car_dealer_custom_css .='@media screen and (max-width:575px){';
		$automobile_car_dealer_custom_css .='#scrollbutton i{';
			$automobile_car_dealer_custom_css .='display:none;';
		$automobile_car_dealer_custom_css .='} }';
	}

	$automobile_car_dealer_preloader = get_theme_mod( 'automobile_car_dealer_display_preloader',false);
	if($automobile_car_dealer_preloader == true && get_theme_mod( 'automobile_car_dealer_preloader',false) != true){
    	$automobile_car_dealer_custom_css .='.frame{';
			$automobile_car_dealer_custom_css .='display:none;';
		$automobile_car_dealer_custom_css .='} ';
	}
    if($automobile_car_dealer_preloader == true){
    	$automobile_car_dealer_custom_css .='@media screen and (max-width:575px) {';
		$automobile_car_dealer_custom_css .='.frame{';
			$automobile_car_dealer_custom_css .='display:block;';
		$automobile_car_dealer_custom_css .='} }';
	}else if($automobile_car_dealer_preloader == false){
		$automobile_car_dealer_custom_css .='@media screen and (max-width:575px){';
		$automobile_car_dealer_custom_css .='.frame{';
			$automobile_car_dealer_custom_css .='display:none;';
		$automobile_car_dealer_custom_css .='} }';
	}

	$automobile_car_dealer_fixed_header = get_theme_mod( 'automobile_car_dealer_display_fixed_header',true);
    if($automobile_car_dealer_fixed_header == true){
    	$automobile_car_dealer_custom_css .='@media screen and (max-width:575px) {';
		$automobile_car_dealer_custom_css .='.fixed-header{';
			$automobile_car_dealer_custom_css .='display:block;';
		$automobile_car_dealer_custom_css .='} }';
	}else if($automobile_car_dealer_fixed_header == false){
		$automobile_car_dealer_custom_css .='@media screen and (max-width:575px) {';
		$automobile_car_dealer_custom_css .='.fixed-header{';
			$automobile_car_dealer_custom_css .='display:none;';
		$automobile_car_dealer_custom_css .='} }';
	}

	//  comment form width
	$automobile_car_dealer_comment_form_width = get_theme_mod( 'automobile_car_dealer_comment_form_width');
	$automobile_car_dealer_custom_css .='#comments textarea{';
		$automobile_car_dealer_custom_css .='width: '.esc_attr($automobile_car_dealer_comment_form_width).'%;';
	$automobile_car_dealer_custom_css .='}';

	$automobile_car_dealer_title_comment_form = get_theme_mod('automobile_car_dealer_title_comment_form', 'Leave a Reply');
	if($automobile_car_dealer_title_comment_form == ''){
		$automobile_car_dealer_custom_css .='#comments h2#reply-title {';
			$automobile_car_dealer_custom_css .='display: none;';
		$automobile_car_dealer_custom_css .='}';
	}

	$automobile_car_dealer_comment_form_button_content = get_theme_mod('automobile_car_dealer_comment_form_button_content', 'Post Comment');
	if($automobile_car_dealer_comment_form_button_content == ''){
		$automobile_car_dealer_custom_css .='#comments p.form-submit {';
			$automobile_car_dealer_custom_css .='display: none;';
		$automobile_car_dealer_custom_css .='}';
	}

	// slider heading color
	$automobile_car_dealer_slider_heading_color = get_theme_mod('automobile_car_dealer_slider_heading_color');
	$automobile_car_dealer_custom_css .='#slider .carousel-caption h1{';
		$automobile_car_dealer_custom_css .='color: '.esc_attr($automobile_car_dealer_slider_heading_color).';';
	$automobile_car_dealer_custom_css .='}';

	// slider text color
	$automobile_car_dealer_slider_text_color = get_theme_mod('automobile_car_dealer_slider_text_color');
	$automobile_car_dealer_custom_css .='#slider .inner_carousel p{';
		$automobile_car_dealer_custom_css .='color: '.esc_attr($automobile_car_dealer_slider_text_color).';';
	$automobile_car_dealer_custom_css .='}';

	// slider button text color
	$automobile_car_dealer_slider_btn_text_color = get_theme_mod('automobile_car_dealer_slider_btn_text_color');
	$automobile_car_dealer_custom_css .='.slide-button a{';
		$automobile_car_dealer_custom_css .='color: '.esc_attr($automobile_car_dealer_slider_btn_text_color).';';
	$automobile_car_dealer_custom_css .='}';

	// slider height
	$automobile_car_dealer_option_slider_height = get_theme_mod('automobile_car_dealer_option_slider_height', 500);
	$automobile_car_dealer_custom_css .='#slider img{';
		$automobile_car_dealer_custom_css .='height: '.esc_attr($automobile_car_dealer_option_slider_height).'px;';
	$automobile_car_dealer_custom_css .='}';

	// site title font size
	$automobile_car_dealer_site_title_font_size = get_theme_mod('automobile_car_dealer_site_title_font_size', 30);
	$automobile_car_dealer_custom_css .='#header .logo a{';
	$automobile_car_dealer_custom_css .='font-size: '.esc_attr($automobile_car_dealer_site_title_font_size).'px;';
	$automobile_car_dealer_custom_css .='}';

	// slider condition
	$automobile_car_dealer_slider_hide = get_theme_mod( 'automobile_car_dealer_slider_hide', false);
	if ($automobile_car_dealer_slider_hide == false){
    	$automobile_car_dealer_custom_css .='.page-template-custom-home-page #header{';
			$automobile_car_dealer_custom_css .='position : static !important;';
		$automobile_car_dealer_custom_css .='} ';
	}

	// site tagline font size
	$automobile_car_dealer_site_tagline_font_size = get_theme_mod('automobile_car_dealer_site_tagline_font_size', 12);
	$automobile_car_dealer_custom_css .='#header .logo p{';
	$automobile_car_dealer_custom_css .='font-size: '.esc_attr($automobile_car_dealer_site_tagline_font_size).'px;';
	$automobile_car_dealer_custom_css .='}';

	// site logo padding 
	$automobile_car_dealer_logo_padding = get_theme_mod('automobile_car_dealer_logo_padding', '');
	$automobile_car_dealer_custom_css .='.logo{';
	$automobile_car_dealer_custom_css .='padding: '.esc_attr($automobile_car_dealer_logo_padding).'px !important;';
	$automobile_car_dealer_custom_css .='}';

	// site logo margin 
	$automobile_car_dealer_logo_margin = get_theme_mod('automobile_car_dealer_logo_margin', '');
	$automobile_car_dealer_custom_css .='.logo{';
	$automobile_car_dealer_custom_css .='margin: '.esc_attr($automobile_car_dealer_logo_margin).'px !important;';
	$automobile_car_dealer_custom_css .='}';

	/*------------------ Skin Option  -------------------*/
	$automobile_car_dealer_theme_lay = get_theme_mod( 'automobile_car_dealer_background_skin','Without Background');
    if($automobile_car_dealer_theme_lay == 'With Background'){
		$automobile_car_dealer_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product, .search-cat-box, .login-box a, .front-page-content, .background-img-skin, .mainbox{';
			$automobile_car_dealer_custom_css .='background-color: #fff; padding:20px !important;';
		$automobile_car_dealer_custom_css .='}';
	}else if($automobile_car_dealer_theme_lay == 'Without Background'){
		$automobile_car_dealer_custom_css .='.categorybox{';
			$automobile_car_dealer_custom_css .='background-color: transparent;';
		$automobile_car_dealer_custom_css .='}';
		$automobile_car_dealer_custom_css .='.categorybox{';
			$automobile_car_dealer_custom_css .='box-shadow:none;';
		$automobile_car_dealer_custom_css .='}';
	}

	// slider overlay
	$automobile_car_dealer_enable_slider_overlay = get_theme_mod('automobile_car_dealer_enable_slider_overlay', true);
	if($automobile_car_dealer_enable_slider_overlay == false){
		$automobile_car_dealer_custom_css .='#slider img{';
			$automobile_car_dealer_custom_css .='opacity:1;';
		$automobile_car_dealer_custom_css .='}';
	} 
	$automobile_car_dealer_slider_overlay_color = get_theme_mod('automobile_car_dealer_slider_overlay_color', true);
	if($automobile_car_dealer_enable_slider_overlay != false){
		$automobile_car_dealer_custom_css .='#slider{';
			$automobile_car_dealer_custom_css .='background-color: '.esc_attr($automobile_car_dealer_slider_overlay_color).';';
		$automobile_car_dealer_custom_css .='}';
	}

	// woocommerce Product Navigation
	$automobile_car_dealer_wooproducts_nav = get_theme_mod('automobile_car_dealer_wooproducts_nav', 'Yes');
	if($automobile_car_dealer_wooproducts_nav == 'No'){
		$automobile_car_dealer_custom_css .='.woocommerce nav.woocommerce-pagination{';
			$automobile_car_dealer_custom_css .='display: none;';
		$automobile_car_dealer_custom_css .='}';
	}

	/*-------------- Footer Text -------------------*/
	$automobile_car_dealer_footer_text_align = get_theme_mod('automobile_car_dealer_footer_text_align');
	$automobile_car_dealer_custom_css .='.copyright-wrapper{';
		$automobile_car_dealer_custom_css .='text-align: '.esc_attr($automobile_car_dealer_footer_text_align).' !important;';
	$automobile_car_dealer_custom_css .='}';
	$automobile_car_dealer_custom_css .='
	@media screen and (max-width:575px) {
		.copyright-wrapper{';
			$automobile_car_dealer_custom_css .='text-align: center !important;'.esc_attr($automobile_car_dealer_footer_text_align).'';
	$automobile_car_dealer_custom_css .='} }';

	// featured image setting
	$automobile_car_dealer_image_border_radius = get_theme_mod('automobile_car_dealer_image_border_radius', 0);
	$automobile_car_dealer_custom_css .='.layout2 .box-image img,.layout1 .box-image img,.layout3 .box-image img{';
		$automobile_car_dealer_custom_css .='border-radius: '.esc_attr($automobile_car_dealer_image_border_radius).'%;';
	$automobile_car_dealer_custom_css .='}';

	$automobile_car_dealer_image_box_shadow = get_theme_mod('automobile_car_dealer_image_box_shadow',0);
	$automobile_car_dealer_custom_css .='.layout2 .box-image img,.layout1 .box-image img,.layout3 .box-image img{';
		$automobile_car_dealer_custom_css .='box-shadow: '.esc_attr($automobile_car_dealer_image_box_shadow).'px '.esc_attr($automobile_car_dealer_image_box_shadow).'px '.esc_attr($automobile_car_dealer_image_box_shadow).'px #ddd;';
	$automobile_car_dealer_custom_css .='}';

	// blog post Pagination Alignment
	$automobile_car_dealer_post_pagination_alignment = get_theme_mod( 'automobile_car_dealer_post_pagination_option','Left');
	if($automobile_car_dealer_post_pagination_alignment == 'Left'){
		$automobile_car_dealer_custom_css .='.navigation nav.pagination{';
			$automobile_car_dealer_custom_css .='justify-content: left;';
		$automobile_car_dealer_custom_css .='}';
	}else if($automobile_car_dealer_post_pagination_alignment == 'Center'){
		$automobile_car_dealer_custom_css .='.navigation nav.pagination{';
			$automobile_car_dealer_custom_css .='justify-content: center;';
		$automobile_car_dealer_custom_css .='}';
	}else if($automobile_car_dealer_post_pagination_alignment == 'Right'){
		$automobile_car_dealer_custom_css .='.navigation nav.pagination{';
			$automobile_car_dealer_custom_css .='justify-content: right;';
		$automobile_car_dealer_custom_css .='}';
	}

	// grid post image setting
	$automobile_car_dealer_grid_image_border_radius = get_theme_mod('automobile_car_dealer_grid_image_border_radius', 0);
	$automobile_car_dealer_custom_css .='.gridbox .inner-service .box-image img{';
		$automobile_car_dealer_custom_css .='border-radius: '.esc_attr($automobile_car_dealer_grid_image_border_radius).'%;';
	$automobile_car_dealer_custom_css .='}';

	$automobile_car_dealer_grid_image_box_shadow = get_theme_mod('automobile_car_dealer_grid_image_box_shadow',0);
	$automobile_car_dealer_custom_css .='.gridbox .inner-service .box-image img{';
		$automobile_car_dealer_custom_css .='box-shadow: '.esc_attr($automobile_car_dealer_grid_image_box_shadow).'px '.esc_attr($automobile_car_dealer_grid_image_box_shadow).'px '.esc_attr($automobile_car_dealer_grid_image_box_shadow).'px #b5b5b5;';
	$automobile_car_dealer_custom_css .='}';

	// single featured image setting
	$automobile_car_dealer_single_image_border_radius = get_theme_mod('automobile_car_dealer_single_image_border_radius', 0);
	$automobile_car_dealer_custom_css .='.feature-box img{';
		$automobile_car_dealer_custom_css .='border-radius: '.esc_attr($automobile_car_dealer_single_image_border_radius).'%;';
	$automobile_car_dealer_custom_css .='}';

	$automobile_car_dealer_single_image_box_shadow = get_theme_mod('automobile_car_dealer_single_image_box_shadow',0);
	$automobile_car_dealer_custom_css .='.feature-box img{';
		$automobile_car_dealer_custom_css .='box-shadow: '.esc_attr($automobile_car_dealer_single_image_box_shadow).'px '.esc_attr($automobile_car_dealer_single_image_box_shadow).'px '.esc_attr($automobile_car_dealer_single_image_box_shadow).'px #ddd;';
	$automobile_car_dealer_custom_css .='}';

	// single featured image dimention
	$automobile_car_dealer_single_post_featured_image_dimention = get_theme_mod('automobile_car_dealer_single_post_featured_image_dimention', 'Default');
	$automobile_car_dealer_single_post_featured_image_custom_width = get_theme_mod('automobile_car_dealer_single_post_featured_image_custom_width');
	$automobile_car_dealer_single_post_featured_image_custom_height = get_theme_mod('automobile_car_dealer_single_post_featured_image_custom_height');
	if($automobile_car_dealer_single_post_featured_image_dimention == 'Custom'){
		$automobile_car_dealer_custom_css .='.single-post-page .feature-box img{';
			$automobile_car_dealer_custom_css .='width: '.esc_attr($automobile_car_dealer_single_post_featured_image_custom_width).'px!important; height: '.esc_attr($automobile_car_dealer_single_post_featured_image_custom_height).'px!important;';
		$automobile_car_dealer_custom_css .='}';
	}

	// category color
	$automobile_car_dealer_category_color = get_theme_mod('automobile_car_dealer_category_color');
	$automobile_car_dealer_custom_css .='.type-post .category ul li a{';
			$automobile_car_dealer_custom_css .='color: '.esc_attr($automobile_car_dealer_category_color).';';
	$automobile_car_dealer_custom_css .='}';

	// category hover color
	$automobile_car_dealer_category_hover_color = get_theme_mod('automobile_car_dealer_category_hover_color');
	$automobile_car_dealer_custom_css .='.type-post .category ul li a:hover{';
			$automobile_car_dealer_custom_css .='color: '.esc_attr($automobile_car_dealer_category_hover_color).';';
	$automobile_car_dealer_custom_css .='}';

	// slider content spacing
	$automobile_car_dealer_slider_content_top_padding = get_theme_mod('automobile_car_dealer_slider_content_top_padding');
	$automobile_car_dealer_slider_content_left_padding = get_theme_mod('automobile_car_dealer_slider_content_left_padding');
	$automobile_car_dealer_custom_css .='#slider .carousel-caption, #slider .inner_carousel, #slider .inner_carousel h1, #slider .inner_carousel p, #slider .readbutton{';
		$automobile_car_dealer_custom_css .='top: '.esc_attr($automobile_car_dealer_slider_content_top_padding).'%; bottom: '.esc_attr($automobile_car_dealer_slider_content_top_padding).'%;left: '.esc_attr($automobile_car_dealer_slider_content_left_padding).'%;right: '.esc_attr($automobile_car_dealer_slider_content_left_padding).'%;';
	$automobile_car_dealer_custom_css .='}';

	// copyright font size
	$automobile_car_dealer_copyright_text_font_size = get_theme_mod('automobile_car_dealer_copyright_text_font_size', 15);
	$automobile_car_dealer_custom_css .='.copyright-wrapper p, .copyright-wrapper a{';
		$automobile_car_dealer_custom_css .='font-size: '.esc_attr($automobile_car_dealer_copyright_text_font_size).'px;';
	$automobile_car_dealer_custom_css .='}';

	// copyright padding option
	$automobile_car_dealer_footer_text_padding = get_theme_mod('automobile_car_dealer_footer_text_padding', 15);
	$automobile_car_dealer_custom_css .='.copyright-wrapper{';
		$automobile_car_dealer_custom_css .='padding-top: '.esc_attr($automobile_car_dealer_footer_text_padding).'px !important; padding-bottom: '.esc_attr($automobile_car_dealer_footer_text_padding).'px !important;';
	$automobile_car_dealer_custom_css .='}';

	// menu text transform
	$automobile_car_dealer_theme_lay = get_theme_mod( 'automobile_car_dealer_text_tranform_menu','Uppercase');
    if($automobile_car_dealer_theme_lay == 'Uppercase'){
		$automobile_car_dealer_custom_css .='.primary-navigation a{';
			$automobile_car_dealer_custom_css .='';
		$automobile_car_dealer_custom_css .='}';
	}else if($automobile_car_dealer_theme_lay == 'Lowercase'){
		$automobile_car_dealer_custom_css .='.primary-navigation a{';
			$automobile_car_dealer_custom_css .='text-transform: lowercase;';
		$automobile_car_dealer_custom_css .='}';
	}
	else if($automobile_car_dealer_theme_lay == 'Capitalize'){
		$automobile_car_dealer_custom_css .='.primary-navigation a{';
			$automobile_car_dealer_custom_css .='text-transform: Capitalize;';
		$automobile_car_dealer_custom_css .='}';
	}

	// site title color
	$automobile_car_dealer_site_title_color = get_theme_mod('automobile_car_dealer_site_title_color');
	$automobile_car_dealer_custom_css .='.site-title a{';
		$automobile_car_dealer_custom_css .='color: '.esc_attr($automobile_car_dealer_site_title_color).' !important;';
	$automobile_car_dealer_custom_css .='}';

	// site tagline color
	$automobile_car_dealer_site_tagline_color = get_theme_mod('automobile_car_dealer_site_tagline_color');
	$automobile_car_dealer_custom_css .='.site-description{';
		$automobile_car_dealer_custom_css .='color: '.esc_attr($automobile_car_dealer_site_tagline_color).' !important;';
	$automobile_car_dealer_custom_css .='}';

	//Copyright text color
	$automobile_car_dealer_copyright_text_color = get_theme_mod('automobile_car_dealer_copyright_text_color');
	$automobile_car_dealer_custom_css .='.copyright-wrapper p, .copyright-wrapper p a{';
		$automobile_car_dealer_custom_css .='color: '.esc_attr($automobile_car_dealer_copyright_text_color).';';
	$automobile_car_dealer_custom_css .='}';

	//Copyright background css
	$automobile_car_dealer_copyright_text_background = get_theme_mod('automobile_car_dealer_copyright_text_background');
	$automobile_car_dealer_custom_css .='.copyright-wrapper{';
		$automobile_car_dealer_custom_css .='background-color: '.esc_attr($automobile_car_dealer_copyright_text_background).';';
	$automobile_car_dealer_custom_css .='}';

	//First Cap
	$automobile_car_dealer_show_first_caps = get_theme_mod('automobile_car_dealer_show_first_caps', 'false');
	if($automobile_car_dealer_show_first_caps == 'true' ){
	$automobile_car_dealer_custom_css .='.blog-section .mainbox-post .new-text p:nth-of-type(1)::first-letter{';
	$automobile_car_dealer_custom_css .=' font-size: 55px; font-weight: 600;';
	$automobile_car_dealer_custom_css .=' margin-right: 6px;';
	$automobile_car_dealer_custom_css .=' line-height: 1;';
	$automobile_car_dealer_custom_css .='}';
	}elseif($automobile_car_dealer_show_first_caps == 'false' ){
	$automobile_car_dealer_custom_css .='.blog-section .mainbox-post .new-text p:nth-of-type(1)::first-letter {';
	$automobile_car_dealer_custom_css .='display: none;';
	$automobile_car_dealer_custom_css .='}';
	}

	$automobile_car_dealer_btn_font_size_option = get_theme_mod('automobile_car_dealer_btn_font_size_option');
	$automobile_car_dealer_custom_css .='.postbtn a{';
		$automobile_car_dealer_custom_css .='font-size: '.esc_attr($automobile_car_dealer_btn_font_size_option).'px !important;';
	$automobile_car_dealer_custom_css .='}';

	// button text transform
	$automobile_car_dealer_theme_lay = get_theme_mod( 'automobile_car_dealer_tranform_button_text','Capitalize');
    if($automobile_car_dealer_theme_lay == 'Uppercase'){
		$automobile_car_dealer_custom_css .='.postbtn a{';
			$automobile_car_dealer_custom_css .='text-transform: uppercase;';
		$automobile_car_dealer_custom_css .='}';
	}else if($automobile_car_dealer_theme_lay == 'Lowercase'){
		$automobile_car_dealer_custom_css .='.postbtn a{';
			$automobile_car_dealer_custom_css .='text-transform: lowercase;';
		$automobile_car_dealer_custom_css .='}';
	}
	else if($automobile_car_dealer_theme_lay == 'Capitalize'){
		$automobile_car_dealer_custom_css .='.postbtn a{';
			$automobile_car_dealer_custom_css .='text-transform: capitalize;';
		$automobile_car_dealer_custom_css .='}';
	}

	// button font weight
	$automobile_car_dealer_button_font_weight = get_theme_mod( 'automobile_car_dealer_button_font_weight','600');
	if($automobile_car_dealer_button_font_weight != ''){
		$automobile_car_dealer_custom_css .='.postbtn a{';
			$automobile_car_dealer_custom_css .='font-weight: '.esc_attr($automobile_car_dealer_button_font_weight).';';
		$automobile_car_dealer_custom_css .='}';
	}

	// button letter spacing
	$automobile_car_dealer_button_letter_spacing = get_theme_mod('automobile_car_dealer_button_letter_spacing', '0');
	$automobile_car_dealer_custom_css .='.postbtn a {';
		$automobile_car_dealer_custom_css .='letter-spacing: '.esc_attr($automobile_car_dealer_button_letter_spacing).'px;';
	$automobile_car_dealer_custom_css .='}';	

	// Post Block
	$automobile_car_dealer_post_block_option = get_theme_mod( 'automobile_car_dealer_post_block_option','By Block');
    if($automobile_car_dealer_post_block_option == 'By Without Block'){
		$automobile_car_dealer_custom_css .='.related-inner-box, .mainbox-post, .layout2 .mainbox, .layout1.mainbox, .layout3.mainbox,.post_format-post-format-video,.post_format-post-format-image,.post_format-post-format-audio, .post_format-post-format-gallery, {';
			$automobile_car_dealer_custom_css .='border:none; margin:30px 0; box-shadow:none;';
		$automobile_car_dealer_custom_css .='}';
	}

	//Grid Post Block
	$automobile_car_dealer_grid_post_block_option = get_theme_mod( 'automobile_car_dealer_grid_post_block_option','By Block');
    if($automobile_car_dealer_grid_post_block_option == 'By Without Block'){
		$automobile_car_dealer_custom_css .='.gridbox  .inner-service {';
			$automobile_car_dealer_custom_css .='border:none; margin:30px 0;';
		$automobile_car_dealer_custom_css .='}';
	}

	// site toggle button color
	$automobile_car_dealer_toggle_button_color = get_theme_mod('automobile_car_dealer_toggle_button_color');
	$automobile_car_dealer_custom_css .='.toggle-menu i{';
		$automobile_car_dealer_custom_css .='color: '.esc_attr($automobile_car_dealer_toggle_button_color).' !important;';
	$automobile_car_dealer_custom_css .='}';

	// menu font weight
	$automobile_car_dealer_menu_font_weight = get_theme_mod( 'automobile_car_dealer_menu_font_weight','700');
	if($automobile_car_dealer_menu_font_weight != ''){
		$automobile_car_dealer_custom_css .='.primary-navigation a, .primary-navigation ul li a{';
			$automobile_car_dealer_custom_css .='font-weight: '.esc_attr($automobile_car_dealer_menu_font_weight).';';
		$automobile_car_dealer_custom_css .='}';
	}

	// Menu Item Hover Style	
	$automobile_car_dealer_menus_item = get_theme_mod( 'automobile_car_dealer_menus_item_style','None');
	if($automobile_car_dealer_menus_item == 'None'){
		$automobile_car_dealer_custom_css .='.primary-navigation ul li a{';
			$automobile_car_dealer_custom_css .='';
		$automobile_car_dealer_custom_css .='}';
	}else if($automobile_car_dealer_menus_item == 'Zoom In'){
		$automobile_car_dealer_custom_css .='.primary-navigation ul li a:hover{';
			$automobile_car_dealer_custom_css .='transition: all 0.3s ease-in-out !important; transform: scale(1.2) !important;';
		$automobile_car_dealer_custom_css .='}';
	}

	// menu color
	$automobile_car_dealer_menu_color = get_theme_mod('automobile_car_dealer_menu_color');
	$automobile_car_dealer_custom_css .='.primary-navigation a, .primary-navigation ul li a{';
			$automobile_car_dealer_custom_css .='color: '.esc_attr($automobile_car_dealer_menu_color).' !important;';
	$automobile_car_dealer_custom_css .='}';

	// Sub menu color
	$automobile_car_dealer_sub_menu_color = get_theme_mod('automobile_car_dealer_sub_menu_color');
	$automobile_car_dealer_custom_css .='.primary-navigation ul.children a, .primary-navigation ul.children li a, .primary-navigation ul.sub-menu a, .primary-navigation ul.sub-menu li a{';
			$automobile_car_dealer_custom_css .='color: '.esc_attr($automobile_car_dealer_sub_menu_color).' !important;';
	$automobile_car_dealer_custom_css .='}';

	// menu hover color
	$automobile_car_dealer_menu_hover_color = get_theme_mod('automobile_car_dealer_menu_hover_color');
	$automobile_car_dealer_custom_css .='.primary-navigation a:hover, .primary-navigation ul li a:hover{';
			$automobile_car_dealer_custom_css .='color: '.esc_attr($automobile_car_dealer_menu_hover_color).' !important;';
	$automobile_car_dealer_custom_css .='}';

	// Sub menu hover color
	$automobile_car_dealer_sub_menu_hover_color = get_theme_mod('automobile_car_dealer_sub_menu_hover_color');
	$automobile_car_dealer_custom_css .='.primary-navigation a:hover, .primary-navigation ul.children li a:hover, .primary-navigation a:hover, .primary-navigation ul.sub-menu li a:hover{';
			$automobile_car_dealer_custom_css .='color: '.esc_attr($automobile_car_dealer_sub_menu_hover_color).' !important;';
	$automobile_car_dealer_custom_css .='}';

	// Sub menu bg color
	$automobile_car_dealer_sub_menu_bg_color = get_theme_mod('automobile_car_dealer_sub_menu_bg_color');
	$automobile_car_dealer_custom_css .='.primary-navigation ul.children li a, .primary-navigation ul.sub-menu li a{';
			$automobile_car_dealer_custom_css .='background-color: '.esc_attr($automobile_car_dealer_sub_menu_bg_color).';';
	$automobile_car_dealer_custom_css .='}';

	// Sub menu bg hover color
	$automobile_car_dealer_sub_menu_bg_hover_color = get_theme_mod('automobile_car_dealer_sub_menu_bg_hover_color');
	$automobile_car_dealer_custom_css .='.primary-navigation ul.children li a:hover, .primary-navigation ul.sub-menu li a:hover{';
			$automobile_car_dealer_custom_css .='background-color: '.esc_attr($automobile_car_dealer_sub_menu_bg_hover_color).';';
	$automobile_car_dealer_custom_css .='}';

	// Fixed Copyright
	$automobile_car_dealer_fixed_copyright = get_theme_mod( 'automobile_car_dealer_display_fixed_copyright',false);
	if($automobile_car_dealer_fixed_copyright == true && get_theme_mod( 'automobile_car_dealer_sticky_copyright',false) != true){
    	$automobile_car_dealer_custom_css .='.fixed-copyright{';
			$automobile_car_dealer_custom_css .='position:static;';
		$automobile_car_dealer_custom_css .='} ';
	}
    if($automobile_car_dealer_fixed_copyright == true){
    	$automobile_car_dealer_custom_css .='@media screen and (max-width:575px) {';
		$automobile_car_dealer_custom_css .='.fixed-copyright{';
			$automobile_car_dealer_custom_css .='position:fixed;';
		$automobile_car_dealer_custom_css .='} }';
	}else if($automobile_car_dealer_fixed_copyright == false){
		$automobile_car_dealer_custom_css .='@media screen and (max-width:575px){';
		$automobile_car_dealer_custom_css .='.fixed-copyright{';
			$automobile_car_dealer_custom_css .='position:static;';
		$automobile_car_dealer_custom_css .='} }';
	}
    // Hover effect on single post featured image (FIXED)

	$automobile_car_dealer_show_featured = get_theme_mod(
		'automobile_car_dealer_featured_image_hide_show',
		1
	);

	$automobile_car_dealer_hover_effect = get_theme_mod(
		'automobile_car_dealer_featured_image_hover',
		'none'
	);

	$automobile_car_dealer_hover_duration = get_theme_mod(
		'automobile_car_dealer_featured_image_hover_duration',
		0.4
	);

	if ( $automobile_car_dealer_show_featured && $automobile_car_dealer_hover_effect !== 'none' ) {

		/* BASE RESET (MOST IMPORTANT PART) */
		$automobile_car_dealer_custom_css .= '
		.automobile-car-dealer-featured-image{
			overflow: hidden;
		}
		.automobile-car-dealer-featured-image img{
			transform: scale(1);
			filter: none;
			transition:
				transform ' . esc_attr( $automobile_car_dealer_hover_duration ) . 's ease,
				filter ' . esc_attr( $automobile_car_dealer_hover_duration ) . 's ease;
			will-change: transform, filter;
		}';

		/* ZOOM IN */
		if ( $automobile_car_dealer_hover_effect === 'zoom-in' ) {
			$automobile_car_dealer_custom_css .= '
			.automobile-car-dealer-featured-image img:hover{
				transform: scale(1.2);
			}';
		}

		/* ZOOM OUT */
		if ( $automobile_car_dealer_hover_effect === 'zoom-out' ) {
			$automobile_car_dealer_custom_css .= '
			.automobile-car-dealer-featured-image img{
				transform: scale(1.2);
			}
			.automobile-car-dealer-featured-image img:hover{
				transform: scale(1);
			}';
		}

		/* GRAYSCALE (NORMAL → COLOR ON HOVER) */
		if ( $automobile_car_dealer_hover_effect === 'grayscale' ) {
			$automobile_car_dealer_custom_css .= '
			.automobile-car-dealer-featured-image img{
				filter: grayscale(0%);
			}
			.automobile-car-dealer-featured-image img:hover{
				filter: grayscale(100%);
			}';
		}

		/* SEPIA */
		if ( $automobile_car_dealer_hover_effect === 'sepia' ) {
			$automobile_car_dealer_custom_css .= '
			.automobile-car-dealer-featured-image img:hover{
				filter: sepia(100%);
			}';
		}

		/* BLUR */
		if ( $automobile_car_dealer_hover_effect === 'blur' ) {
			$automobile_car_dealer_custom_css .= '
			.automobile-car-dealer-featured-image img:hover{
				filter: blur(3px);
			}';
		}

		/* BRIGHT */
		if ( $automobile_car_dealer_hover_effect === 'bright' ) {
			$automobile_car_dealer_custom_css .= '
			.automobile-car-dealer-featured-image img:hover{
				filter: brightness(1.3);
			}';
		}

		/* TRANSLATE */
		if ( $automobile_car_dealer_hover_effect === 'translate' ) {
			$automobile_car_dealer_custom_css .= '
			.automobile-car-dealer-featured-image img:hover{
				transform: translateY(-10px);
			}';
		}
	}
 