<?php

	$car_repair_mechanic_first_theme_color = get_theme_mod('car_repair_mechanic_first_theme_color');
	$car_repair_mechanic_second_theme_color = get_theme_mod('car_repair_mechanic_second_theme_color');
	$car_repair_mechanic_custom_css = '';

	/*------------------ Theme Color Option -----------*/
	if ($car_repair_mechanic_first_theme_color) {
		$car_repair_mechanic_custom_css .= ':root {';
		$car_repair_mechanic_custom_css .= '--primary-color: ' . esc_attr($car_repair_mechanic_first_theme_color) . ' !important;';
		$car_repair_mechanic_custom_css .= '} ';
	}

	if ($car_repair_mechanic_second_theme_color) {
		$car_repair_mechanic_custom_css .= ':root {';
		$car_repair_mechanic_custom_css .= '--secondary-color: ' . esc_attr($car_repair_mechanic_second_theme_color) . ' !important;';
		$car_repair_mechanic_custom_css .= '} ';
	}

	// Layout Options
	$car_repair_mechanic_theme_layout = get_theme_mod( 'car_repair_mechanic_theme_layout_options','Default Theme');
    if($car_repair_mechanic_theme_layout == 'Default Theme'){
		$car_repair_mechanic_custom_css .='body{';
			$car_repair_mechanic_custom_css .='max-width: 100%;';
		$car_repair_mechanic_custom_css .='}';
	}else if($car_repair_mechanic_theme_layout == 'Container Theme'){
		$car_repair_mechanic_custom_css .='body{';
			$car_repair_mechanic_custom_css .='width: 100%;padding-right: 15px;padding-left: 15px;margin-right: auto;margin-left: auto;';
		$car_repair_mechanic_custom_css .='}';
	}else if($car_repair_mechanic_theme_layout == 'Box Container Theme'){
		$car_repair_mechanic_custom_css .='body{';
			$car_repair_mechanic_custom_css .='max-width: 1140px; width: 100%; padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto;';
		$car_repair_mechanic_custom_css .='}';
	}
	
	/*--------- Preloader Color Option -------*/
	$car_repair_mechanic_preloader_color = get_theme_mod('car_repair_mechanic_preloader_color');

	if($car_repair_mechanic_preloader_color != false){
		$car_repair_mechanic_custom_css .=' .tg-loader{';
			$car_repair_mechanic_custom_css .='border-color: '.esc_attr($car_repair_mechanic_preloader_color).';';
		$car_repair_mechanic_custom_css .='} ';
		$car_repair_mechanic_custom_css .=' .tg-loader-inner, .preloader .preloader-container .animated-preloader, .preloader .preloader-container .animated-preloader:before{';
			$car_repair_mechanic_custom_css .='background-color: '.esc_attr($car_repair_mechanic_preloader_color).';';
		$car_repair_mechanic_custom_css .='} ';
	}

	$car_repair_mechanic_preloader_bg_color = get_theme_mod('car_repair_mechanic_preloader_bg_color');

	if($car_repair_mechanic_preloader_bg_color != false){
		$car_repair_mechanic_custom_css .=' #overlayer, .preloader{';
			$car_repair_mechanic_custom_css .='background-color: '.esc_attr($car_repair_mechanic_preloader_bg_color).';';
		$car_repair_mechanic_custom_css .='} ';
	}

	$car_repair_mechanic_preloader_bg_img = get_theme_mod('car_repair_mechanic_preloader_bg_img');
	if($car_repair_mechanic_preloader_bg_img != false){
		$car_repair_mechanic_custom_css .=' #overlayer, .preloader{';
			$car_repair_mechanic_custom_css .='background: url('.esc_attr($car_repair_mechanic_preloader_bg_img).');-webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover;';
		$car_repair_mechanic_custom_css .='}';
	}

	/*------------ Button Settings option-----------------*/

	$car_repair_mechanic_top_button_padding = get_theme_mod('car_repair_mechanic_top_button_padding');
	$car_repair_mechanic_bottom_button_padding = get_theme_mod('car_repair_mechanic_bottom_button_padding');
	$car_repair_mechanic_left_button_padding = get_theme_mod('car_repair_mechanic_left_button_padding');
	$car_repair_mechanic_right_button_padding = get_theme_mod('car_repair_mechanic_right_button_padding');
	if($car_repair_mechanic_top_button_padding != false || $car_repair_mechanic_bottom_button_padding != false || $car_repair_mechanic_left_button_padding != false || $car_repair_mechanic_right_button_padding != false){
		$car_repair_mechanic_custom_css .='.blogbtn a, .read-more a, #comments input[type="submit"].submit{';
			$car_repair_mechanic_custom_css .='padding-top: '.esc_attr($car_repair_mechanic_top_button_padding).'px; padding-bottom: '.esc_attr($car_repair_mechanic_bottom_button_padding).'px; padding-left: '.esc_attr($car_repair_mechanic_left_button_padding).'px; padding-right: '.esc_attr($car_repair_mechanic_right_button_padding).'px; display:inline-block;';
		$car_repair_mechanic_custom_css .='}';
	}

	$car_repair_mechanic_button_border_radius = get_theme_mod('car_repair_mechanic_button_border_radius');
	$car_repair_mechanic_custom_css .='.blogbtn a, .read-more a, #comments input[type="submit"].submit{';
		$car_repair_mechanic_custom_css .='border-radius: '.esc_attr($car_repair_mechanic_button_border_radius).'px;';
	$car_repair_mechanic_custom_css .='}';

	// button font weight
	$car_repair_mechanic_button_font_weight = get_theme_mod('car_repair_mechanic_button_font_weight', '500');
  	$car_repair_mechanic_custom_css .='.blogbtn a{';
    $car_repair_mechanic_custom_css .='font-weight: '.esc_attr($car_repair_mechanic_button_font_weight).';';
  	$car_repair_mechanic_custom_css .='}';


  	// button text transform
  	$car_repair_mechanic_button_text_transform = get_theme_mod('car_repair_mechanic_button_text_transform');
  	if($car_repair_mechanic_button_text_transform == 'uppercase' ){
    	$car_repair_mechanic_custom_css .='.blogbtn a{';
      	$car_repair_mechanic_custom_css .=' text-transform: uppercase;';
    	$car_repair_mechanic_custom_css .='}';
  	}elseif($car_repair_mechanic_button_text_transform == 'Capitalize' ){
    	$car_repair_mechanic_custom_css .='.blogbtn a{';
      	$car_repair_mechanic_custom_css .=' text-transform: Capitalize;';
    	$car_repair_mechanic_custom_css .='}';
  	}elseif($car_repair_mechanic_button_text_transform == 'lowercase' ){
    	$car_repair_mechanic_custom_css .='.blogbtn a{';
      	$car_repair_mechanic_custom_css .=' text-transform: lowercase;';
    	$car_repair_mechanic_custom_css .='}';
  	}

	// Button letter spacing
	$car_repair_mechanic_button_letter_spacing = get_theme_mod('car_repair_mechanic_button_letter_spacing', '0');
	$car_repair_mechanic_custom_css .='.blogbtn a{';
		$car_repair_mechanic_custom_css .='letter-spacing: '.esc_attr($car_repair_mechanic_button_letter_spacing).'px;';
	$car_repair_mechanic_custom_css .='}';

	//Button hover effect
	$car_repair_mechanic_button_hover_effect = get_theme_mod('car_repair_mechanic_button_hover_effect', 'disable');
	if ($car_repair_mechanic_button_hover_effect !== 'disable') {
		$car_repair_mechanic_custom_css .= '.blogbtn a:hover {';
		switch ($car_repair_mechanic_button_hover_effect) {
			case 'pulse':
				$car_repair_mechanic_custom_css .= 'animation: pulse 0.5s ease-in-out;';
				break;
			case 'rubberBand':
				$car_repair_mechanic_custom_css .= 'animation: rubberBand 0.5s ease-in-out;';
				break;
			case 'swing':
				$car_repair_mechanic_custom_css .= 'animation: swing 0.5s ease-in-out;';
				break;
			case 'tada':
				$car_repair_mechanic_custom_css .= 'animation: tada 0.5s ease-in-out;';
				break;
			case 'jello':
				$car_repair_mechanic_custom_css .= 'animation: jello 0.5s ease-in-out;';
				break;
		}
		$car_repair_mechanic_custom_css .= '}';
	}

	//keyframes for all animations
	$car_repair_mechanic_custom_css .= '
	@keyframes pulse {
		0% { transform: scale(1); }
		50% { transform: scale(1.1); }
		100% { transform: scale(1); }
	}

	@keyframes rubberBand {
		0% { transform: scale(1); }
		30% { transform: scaleX(1.25) scaleY(0.75); }
		40% { transform: scaleX(0.75) scaleY(1.25); }
		50% { transform: scale(1); }
	}

	@keyframes swing {
		20% { transform: rotate(15deg); }
		40% { transform: rotate(-10deg); }
		60% { transform: rotate(5deg); }
		80% { transform: rotate(-5deg); }
		100% { transform: rotate(0deg); }
	}

	@keyframes tada {
		0% { transform: scale(1); }
		10%, 20% { transform: scale(0.9) rotate(-3deg); }
		30%, 50%, 70%, 90% { transform: scale(1.1) rotate(3deg); }
		40%, 60%, 80% { transform: scale(1.1) rotate(-3deg); }
		100% { transform: scale(1) rotate(0); }
	}

	@keyframes jello {
		0%, 11.1%, 100% { transform: none; }
		22.2% { transform: skewX(-12.5deg) skewY(-12.5deg); }
		33.3% { transform: skewX(6.25deg) skewY(6.25deg); }
		44.4% { transform: skewX(-3.125deg) skewY(-3.125deg); }
		55.5% { transform: skewX(1.5625deg) skewY(1.5625deg); }
		66.6% { transform: skewX(-0.78125deg) skewY(-0.78125deg); }
		77.7% { transform: skewX(0.390625deg) skewY(0.390625deg); }
		88.8% { transform: skewX(-0.1953125deg) skewY(-0.1953125deg); }
	}';

  	// widgets heading font size
	$car_repair_mechanic_widgets_heading_fontsize = get_theme_mod('car_repair_mechanic_widgets_heading_fontsize',25);
	if($car_repair_mechanic_widgets_heading_fontsize != false){
		$car_repair_mechanic_custom_css .='#footer h3, #footer h2, #footer .wp-block-search__label{';
			$car_repair_mechanic_custom_css .='font-size: '.esc_attr($car_repair_mechanic_widgets_heading_fontsize).'px; ';
		$car_repair_mechanic_custom_css .='}';
	}

	// widgets heading font weight
	$car_repair_mechanic_widgets_heading_font_weight = get_theme_mod('car_repair_mechanic_widgets_heading_font_weight', '600');
  	$car_repair_mechanic_custom_css .='#footer h3, #footer h2, #footer .wp-block-search__label{';
    $car_repair_mechanic_custom_css .='font-weight: '.esc_attr($car_repair_mechanic_widgets_heading_font_weight).';';
  	$car_repair_mechanic_custom_css .='}';

	/*----------- Footer widgets heading alignment -----*/
	$car_repair_mechanic_footer_widgets_heading = get_theme_mod( 'car_repair_mechanic_footer_widgets_heading','Left');
    if($car_repair_mechanic_footer_widgets_heading == 'Left'){
		$car_repair_mechanic_custom_css .='#footer h3{';
		$car_repair_mechanic_custom_css .='text-align: left;';
		$car_repair_mechanic_custom_css .='}';
	}else if($car_repair_mechanic_footer_widgets_heading == 'Center'){
		$car_repair_mechanic_custom_css .='#footer h3{';
			$car_repair_mechanic_custom_css .='text-align: center;';
		$car_repair_mechanic_custom_css .='}';
	}else if($car_repair_mechanic_footer_widgets_heading == 'Right'){
		$car_repair_mechanic_custom_css .='#footer h3{';
			$car_repair_mechanic_custom_css .='text-align: right;';
		$car_repair_mechanic_custom_css .='}';
	}

	$car_repair_mechanic_footer_widgets_content = get_theme_mod( 'car_repair_mechanic_footer_widgets_content','Left');
    if($car_repair_mechanic_footer_widgets_content == 'Left'){
		$car_repair_mechanic_custom_css .='#footer .widget ul{';
		$car_repair_mechanic_custom_css .='text-align: left;';
		$car_repair_mechanic_custom_css .='}';
	}else if($car_repair_mechanic_footer_widgets_content == 'Center'){
		$car_repair_mechanic_custom_css .='#footer .widget ul{';
			$car_repair_mechanic_custom_css .='text-align: center;';
		$car_repair_mechanic_custom_css .='}';
	}else if($car_repair_mechanic_footer_widgets_content == 'Right'){
		$car_repair_mechanic_custom_css .='#footer .widget ul{';
			$car_repair_mechanic_custom_css .='text-align: right;';
		$car_repair_mechanic_custom_css .='}';
	}

	// Footer Heading Text Transform

	$car_repair_mechanic_theme_lay = get_theme_mod( 'car_repair_mechanic_footer_text_tranform','Capitalize');
    if($car_repair_mechanic_theme_lay == 'Uppercase'){
		$car_repair_mechanic_custom_css .='#footer h3{';
			$car_repair_mechanic_custom_css .='text-transform: Uppercase;';
		$car_repair_mechanic_custom_css .='}';
	}else if($car_repair_mechanic_theme_lay == 'Lowercase'){
		$car_repair_mechanic_custom_css .='#footer h3{';
			$car_repair_mechanic_custom_css .='text-transform: Lowercase;';
		$car_repair_mechanic_custom_css .='}';
	}
	else if($car_repair_mechanic_theme_lay == 'Capitalize'){
		$car_repair_mechanic_custom_css .='#footer h3{';
			$car_repair_mechanic_custom_css .='text-transform: Capitalize;';
		$car_repair_mechanic_custom_css .='}';
	}	

	// Footer Heading  letter spacing
	$car_repair_mechanic_widgets_heading_letter_spacing = get_theme_mod('car_repair_mechanic_widgets_heading_letter_spacing','');
	$car_repair_mechanic_custom_css .='#footer h3{';
	$car_repair_mechanic_custom_css .='letter-spacing: '.esc_attr($car_repair_mechanic_widgets_heading_letter_spacing).'px;';
	$car_repair_mechanic_custom_css .='}';	

	/*----------- Copyright css -----*/

	$car_repair_mechanic_copyright_color = get_theme_mod('car_repair_mechanic_copyright_color');
	$car_repair_mechanic_custom_css .='#footer .copyright p,#footer .copyright a{';
		$car_repair_mechanic_custom_css .='color: '.esc_attr($car_repair_mechanic_copyright_color).'!important;';
	$car_repair_mechanic_custom_css .='}';
	
	$car_repair_mechanic_copyright_top_padding = get_theme_mod('car_repair_mechanic_top_copyright_padding');
	$car_repair_mechanic_copyright_bottom_padding = get_theme_mod('car_repair_mechanic_bottom_copyright_padding');
	if($car_repair_mechanic_copyright_top_padding != '' || $car_repair_mechanic_copyright_bottom_padding != ''){
		$car_repair_mechanic_custom_css .='.inner{';
			$car_repair_mechanic_custom_css .='padding-top: '.esc_attr($car_repair_mechanic_copyright_top_padding).'px; padding-bottom: '.esc_attr($car_repair_mechanic_copyright_bottom_padding).'px; ';
		$car_repair_mechanic_custom_css .='}';
	}

	$car_repair_mechanic_copyright_alignment = get_theme_mod('car_repair_mechanic_copyright_alignment', 'center');
	if($car_repair_mechanic_copyright_alignment == 'center' ){
		$car_repair_mechanic_custom_css .='#footer .copyright p{';
			$car_repair_mechanic_custom_css .='text-align: '. $car_repair_mechanic_copyright_alignment .';';
		$car_repair_mechanic_custom_css .='}';
	}elseif($car_repair_mechanic_copyright_alignment == 'left' ){
		$car_repair_mechanic_custom_css .='#footer .copyright p{';
			$car_repair_mechanic_custom_css .=' text-align: '. $car_repair_mechanic_copyright_alignment .';';
		$car_repair_mechanic_custom_css .='}';
	}elseif($car_repair_mechanic_copyright_alignment == 'right' ){
		$car_repair_mechanic_custom_css .='#footer .copyright p{';
			$car_repair_mechanic_custom_css .='text-align: '. $car_repair_mechanic_copyright_alignment .';';
		$car_repair_mechanic_custom_css .='}';
	}

	$car_repair_mechanic_copyright_font_size = get_theme_mod('car_repair_mechanic_copyright_font_size');
	$car_repair_mechanic_custom_css .='#footer .copyright p{';
		$car_repair_mechanic_custom_css .='font-size: '.esc_attr($car_repair_mechanic_copyright_font_size).'px;';
	$car_repair_mechanic_custom_css .='}';

	$car_repair_mechanic_back_to_top_color = get_theme_mod('car_repair_mechanic_back_to_top_color');
	$car_repair_mechanic_custom_css .='.back-to-top{';
		$car_repair_mechanic_custom_css .='background-color: '.esc_attr($car_repair_mechanic_back_to_top_color).'!important;';
	$car_repair_mechanic_custom_css .='}';
		$car_repair_mechanic_back_to_top_color = get_theme_mod('car_repair_mechanic_back_to_top_color');
	$car_repair_mechanic_custom_css .='.back-to-top::before{';
		$car_repair_mechanic_custom_css .='border-bottom-color: '.esc_attr($car_repair_mechanic_back_to_top_color).'!important;';
	$car_repair_mechanic_custom_css .='}';

	$car_repair_mechanic_custom_css .='.back-to-top::before{';
		$car_repair_mechanic_custom_css .='border-bottom-color: '.esc_attr($car_repair_mechanic_back_to_top_color).'!important;';
	$car_repair_mechanic_custom_css .='}';

	$car_repair_mechanic_back_to_top_text_color = get_theme_mod('car_repair_mechanic_back_to_top_text_color');
	$car_repair_mechanic_custom_css .='.back-to-top{';
		$car_repair_mechanic_custom_css .='color: '.esc_attr($car_repair_mechanic_back_to_top_text_color).'!important;';
	$car_repair_mechanic_custom_css .='}';		

	/*------ Topbar padding ------*/
	$car_repair_mechanic_top_topbar_padding = get_theme_mod('car_repair_mechanic_top_topbar_padding');
	$car_repair_mechanic_bottom_topbar_padding = get_theme_mod('car_repair_mechanic_bottom_topbar_padding');
	if($car_repair_mechanic_top_topbar_padding != false || $car_repair_mechanic_bottom_topbar_padding != false){
		$car_repair_mechanic_custom_css .='.top-bar, .page-template-custom-front-page .top-bar{';
			$car_repair_mechanic_custom_css .='padding-top: '.esc_attr($car_repair_mechanic_top_topbar_padding).'px !important; padding-bottom: '.esc_attr($car_repair_mechanic_bottom_topbar_padding).'px !important; ';
		$car_repair_mechanic_custom_css .='}';
	}

	/*------ Woocommerce ----*/
	$car_repair_mechanic_product_border = get_theme_mod('car_repair_mechanic_product_border',true);

	if($car_repair_mechanic_product_border == false){
		$car_repair_mechanic_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{';
			$car_repair_mechanic_custom_css .='border: 0;';
		$car_repair_mechanic_custom_css .='}';
	}

	$car_repair_mechanic_product_top = get_theme_mod('car_repair_mechanic_product_top_padding',10);
	$car_repair_mechanic_product_bottom = get_theme_mod('car_repair_mechanic_product_bottom_padding',10);
	$car_repair_mechanic_product_left = get_theme_mod('car_repair_mechanic_product_left_padding',10);
	$car_repair_mechanic_product_right = get_theme_mod('car_repair_mechanic_product_right_padding',10);
	if($car_repair_mechanic_product_top != false || $car_repair_mechanic_product_bottom != false || $car_repair_mechanic_product_left != false || $car_repair_mechanic_product_right != false){
		$car_repair_mechanic_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{';
			$car_repair_mechanic_custom_css .='padding-top: '.esc_attr($car_repair_mechanic_product_top).'px; padding-bottom: '.esc_attr($car_repair_mechanic_product_bottom).'px; padding-left: '.esc_attr($car_repair_mechanic_product_left).'px; padding-right: '.esc_attr($car_repair_mechanic_product_right).'px;';
		$car_repair_mechanic_custom_css .='}';
	}

	$car_repair_mechanic_product_border_radius = get_theme_mod('car_repair_mechanic_product_border_radius');
	if($car_repair_mechanic_product_border_radius != false){
		$car_repair_mechanic_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{';
			$car_repair_mechanic_custom_css .='border-radius: '.esc_attr($car_repair_mechanic_product_border_radius).'px;';
		$car_repair_mechanic_custom_css .='}';
	}

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

	/*----- WooCommerce button css --------*/
	$car_repair_mechanic_product_button_top = get_theme_mod('car_repair_mechanic_product_button_top_padding',10);
	$car_repair_mechanic_product_button_bottom = get_theme_mod('car_repair_mechanic_product_button_bottom_padding',10);
	$car_repair_mechanic_product_button_left = get_theme_mod('car_repair_mechanic_product_button_left_padding',12);
	$car_repair_mechanic_product_button_right = get_theme_mod('car_repair_mechanic_product_button_right_padding',12);
	if($car_repair_mechanic_product_button_top != false || $car_repair_mechanic_product_button_bottom != false || $car_repair_mechanic_product_button_left != false || $car_repair_mechanic_product_button_right != false){
		$car_repair_mechanic_custom_css .='.woocommerce ul.products li.product .button, .woocommerce div.product form.cart .button, a.button.wc-forward, .woocommerce .cart .button, .woocommerce .cart input.button, .woocommerce #payment #place_order, .woocommerce-page #payment #place_order, button.woocommerce-button.button.woocommerce-form-login__submit, .woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled]{';
			$car_repair_mechanic_custom_css .='padding-top: '.esc_attr($car_repair_mechanic_product_button_top).'px; padding-bottom: '.esc_attr($car_repair_mechanic_product_button_bottom).'px; padding-left: '.esc_attr($car_repair_mechanic_product_button_left).'px; padding-right: '.esc_attr($car_repair_mechanic_product_button_right).'px;';
		$car_repair_mechanic_custom_css .='}';
	}

	$car_repair_mechanic_product_button_border_radius = get_theme_mod('car_repair_mechanic_product_button_border_radius');
	if($car_repair_mechanic_product_button_border_radius != false){
		$car_repair_mechanic_custom_css .='.woocommerce ul.products li.product .button, .woocommerce div.product form.cart .button, a.button.wc-forward, .woocommerce .cart .button, .woocommerce .cart input.button, a.checkout-button.button.alt.wc-forward, .woocommerce #payment #place_order, .woocommerce-page #payment #place_order, button.woocommerce-button.button.woocommerce-form-login__submit{';
			$car_repair_mechanic_custom_css .='border-radius: '.esc_attr($car_repair_mechanic_product_button_border_radius).'px;';
		$car_repair_mechanic_custom_css .='}';
	}

	/*----- WooCommerce product sale css --------*/
	$car_repair_mechanic_product_sale_top = get_theme_mod('car_repair_mechanic_product_sale_top_padding');
	$car_repair_mechanic_product_sale_bottom = get_theme_mod('car_repair_mechanic_product_sale_bottom_padding');
	$car_repair_mechanic_product_sale_left = get_theme_mod('car_repair_mechanic_product_sale_left_padding');
	$car_repair_mechanic_product_sale_right = get_theme_mod('car_repair_mechanic_product_sale_right_padding');
	if($car_repair_mechanic_product_sale_top != false || $car_repair_mechanic_product_sale_bottom != false || $car_repair_mechanic_product_sale_left != false || $car_repair_mechanic_product_sale_right != false){
		$car_repair_mechanic_custom_css .='.woocommerce span.onsale {';
			$car_repair_mechanic_custom_css .='padding-top: '.esc_attr($car_repair_mechanic_product_sale_top).'px; padding-bottom: '.esc_attr($car_repair_mechanic_product_sale_bottom).'px; padding-left: '.esc_attr($car_repair_mechanic_product_sale_left).'px; padding-right: '.esc_attr($car_repair_mechanic_product_sale_right).'px;';
		$car_repair_mechanic_custom_css .='}';
	}

	$car_repair_mechanic_product_sale_border_radius = get_theme_mod('car_repair_mechanic_product_sale_border_radius',0);
	if($car_repair_mechanic_product_sale_border_radius != false){
		$car_repair_mechanic_custom_css .='.woocommerce span.onsale {';
			$car_repair_mechanic_custom_css .='border-radius: '.esc_attr($car_repair_mechanic_product_sale_border_radius).'px;';
		$car_repair_mechanic_custom_css .='}';
	}

	$car_repair_mechanic_menu_case = get_theme_mod('car_repair_mechanic_product_sale_position', 'Right');
	if($car_repair_mechanic_menu_case == 'Right' ){
		$car_repair_mechanic_custom_css .='.woocommerce ul.products li.product .onsale{';
			$car_repair_mechanic_custom_css .=' left:auto; right:0;';
		$car_repair_mechanic_custom_css .='}';
	}elseif($car_repair_mechanic_menu_case == 'Left' ){
		$car_repair_mechanic_custom_css .='.woocommerce ul.products li.product .onsale{';
			$car_repair_mechanic_custom_css .=' left:-10px; right:auto;';
		$car_repair_mechanic_custom_css .='}';
	}

	$car_repair_mechanic_menus_item = get_theme_mod( 'car_repair_mechanic_menus_item_style','None');
    if($car_repair_mechanic_menus_item == 'None'){
		$car_repair_mechanic_custom_css .='.nav-menu ul li a{';
			$car_repair_mechanic_custom_css .='';
		$car_repair_mechanic_custom_css .='}';
	}else if($car_repair_mechanic_menus_item == 'Zoom In'){
		$car_repair_mechanic_custom_css .='.nav-menu ul li a:hover{';
			$car_repair_mechanic_custom_css .='transition: all 0.3s ease-in-out !important; transform: scale(1.2) !important;';
		$car_repair_mechanic_custom_css .='}';
	}else if ($car_repair_mechanic_menus_item == 'Underline Expand') { 
		$car_repair_mechanic_custom_css .= '.nav-menu ul li a { position: relative; text-decoration: none; }';
		$car_repair_mechanic_custom_css .= '.nav-menu ul li a::before {';
			$car_repair_mechanic_custom_css .= 'content: ""; position: absolute; left: 50%; bottom: 0px; width: 0; height: 5px; background-color: var(--primary-color);';
			$car_repair_mechanic_custom_css .= 'transition: width 0.5s ease, left 0.5s ease;';
			$car_repair_mechanic_custom_css .= 'opacity: 1;';
		$car_repair_mechanic_custom_css .= '}';
		$car_repair_mechanic_custom_css .= '.nav-menu ul li a:hover::before {';
			$car_repair_mechanic_custom_css .= 'width: 100%; left: 0;';
		$car_repair_mechanic_custom_css .= '}';
	}			

	$car_repair_mechanic_product_sale_font_size = get_theme_mod('car_repair_mechanic_product_sale_font_size',13);
	$car_repair_mechanic_custom_css .='.woocommerce span.onsale {';
		$car_repair_mechanic_custom_css .='font-size: '.esc_attr($car_repair_mechanic_product_sale_font_size).'px;';
	$car_repair_mechanic_custom_css .='}';


	/*---- Comment form ----*/
	$car_repair_mechanic_comment_width = get_theme_mod('car_repair_mechanic_comment_width', '100');
	$car_repair_mechanic_custom_css .='#comments textarea{';
		$car_repair_mechanic_custom_css .=' width:'.esc_attr($car_repair_mechanic_comment_width).'%;';
	$car_repair_mechanic_custom_css .='}';

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

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

	/*------ Footer background css -------*/
	$car_repair_mechanic_footer_bg_color = get_theme_mod('car_repair_mechanic_footer_bg_color');
	if($car_repair_mechanic_footer_bg_color != false){
		$car_repair_mechanic_custom_css .='.footerinner{';
			$car_repair_mechanic_custom_css .='background-color: '.esc_attr($car_repair_mechanic_footer_bg_color).';';
		$car_repair_mechanic_custom_css .='}';
	}

	$car_repair_mechanic_footer_bg_image = get_theme_mod('car_repair_mechanic_footer_bg_image');
	if($car_repair_mechanic_footer_bg_image != false){
		$car_repair_mechanic_custom_css .='.footerinner{';
			$car_repair_mechanic_custom_css .='background: url('.esc_attr($car_repair_mechanic_footer_bg_image).'); background-size: cover;';
		$car_repair_mechanic_custom_css .='}';
	}
	//footer icon color
	$car_repair_mechanic_footer_icon_color = get_theme_mod('car_repair_mechanic_footer_icon_color', '#fff');
	$car_repair_mechanic_custom_css .='#footer .copyright a i{';
		$car_repair_mechanic_custom_css .='color: '.esc_attr($car_repair_mechanic_footer_icon_color).'!important;';
	$car_repair_mechanic_custom_css .='}';	

	/*-------- Footer Icon Alignment ------*/
	$car_repair_mechanic_footer_icon_alignment = get_theme_mod('car_repair_mechanic_footer_icon_alignment', 'Center');
	if($car_repair_mechanic_footer_icon_alignment == 'Center' ){
		$car_repair_mechanic_custom_css .='#footer .copyright{';
			$car_repair_mechanic_custom_css .='text-align: '. $car_repair_mechanic_footer_icon_alignment .';';
		$car_repair_mechanic_custom_css .='}';
	}elseif($car_repair_mechanic_footer_icon_alignment == 'Left' ){
		$car_repair_mechanic_custom_css .='#footer .copyright{';
			$car_repair_mechanic_custom_css .=' text-align: '. $car_repair_mechanic_footer_icon_alignment .';';
		$car_repair_mechanic_custom_css .='}';
	}elseif($car_repair_mechanic_footer_icon_alignment == 'Right' ){
		$car_repair_mechanic_custom_css .='#footer .copyright{';
			$car_repair_mechanic_custom_css .='text-align: '. $car_repair_mechanic_footer_icon_alignment .';';
		$car_repair_mechanic_custom_css .='}';
	}

	//Footer Social Icon Font size
	$car_repair_mechanic_footer_icon_font_size = get_theme_mod('car_repair_mechanic_footer_icon_font_size');
	$car_repair_mechanic_custom_css .='#footer .copyright a i{';
	$car_repair_mechanic_custom_css .='font-size: '.esc_attr($car_repair_mechanic_footer_icon_font_size).'px;';
	$car_repair_mechanic_custom_css .='}';

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

	// Footer Attatchment
	$car_repair_mechanic_theme_lay = get_theme_mod( 'car_repair_mechanic_footer_attatchment','scroll');
	if($car_repair_mechanic_theme_lay == 'fixed'){
		$car_repair_mechanic_custom_css .='.footerinner{';
			$car_repair_mechanic_custom_css .='background-attachment: fixed;';
		$car_repair_mechanic_custom_css .='}';
	}elseif ($car_repair_mechanic_theme_lay == 'scroll'){
		$car_repair_mechanic_custom_css .='.footerinner{';
			$car_repair_mechanic_custom_css .='background-attachment: scroll;';
		$car_repair_mechanic_custom_css .='}';
	}	
	
	/*---------------------------Footer top bottom padding -------------------*/

	$car_repair_mechanic_footer_padding = get_theme_mod('car_repair_mechanic_footer_padding');
	if($car_repair_mechanic_footer_padding != false){
		$car_repair_mechanic_custom_css .='#footer .footerinner{';
			$car_repair_mechanic_custom_css .='padding: '.esc_attr($car_repair_mechanic_footer_padding).' 0 !important;';
		$car_repair_mechanic_custom_css .='}';
	}


/*---------------------------Footer Style -------------------*/

	$car_repair_mechanic_theme_lay = get_theme_mod( 'car_repair_mechanic_footer_template','car_repair_mechanic-footer-one');
    if($car_repair_mechanic_theme_lay == 'car_repair_mechanic-footer-one'){
		$car_repair_mechanic_custom_css .='.footerinner {';
			$car_repair_mechanic_custom_css .='';
		$car_repair_mechanic_custom_css .='}';

	}else if($car_repair_mechanic_theme_lay == 'car_repair_mechanic-footer-two'){
		$car_repair_mechanic_custom_css .='.footerinner {';
			$car_repair_mechanic_custom_css .='background: #E3F2FD !important;';
		$car_repair_mechanic_custom_css .='}';
		$car_repair_mechanic_custom_css .='.footerinner p,.footerinner span,.footerinner li a,.footerinner #wp-calendar caption,.footerinner #wp-calendar td,.footerinner #wp-calendar th, .footerinner, .footerinner h3, .footerinner a.rsswidget, .footerinner #wp-calendar a, .footerinner .custom_details, .footerinner ins span, .footerinner .tagcloud a, .main-inner-box span.entry-date a, nav.woocommerce-MyAccount-navigation ul li:hover a, #footer ul li a, .footerinner table, .footerinner th, .footerinner td, .footerinner caption, #sidebar caption,.footerinner nav.wp-calendar-nav a,.footerinner .search-form .search-field{';
			$car_repair_mechanic_custom_css .='color:#000 !important;';
		$car_repair_mechanic_custom_css .='}';
		$car_repair_mechanic_custom_css .='#footer p{';
			$car_repair_mechanic_custom_css .='color:#000 !important;';
		$car_repair_mechanic_custom_css .='}';
		$car_repair_mechanic_custom_css .='.footerinner ul li::before{';
			$car_repair_mechanic_custom_css .='background:#000;';
		$car_repair_mechanic_custom_css .='}';
		$car_repair_mechanic_custom_css .='.footerinner table, .footerinner th, .footerinner td,.footerinner.search-form .search-field,.footerinner .tagcloud a{';
			$car_repair_mechanic_custom_css .='border: 1px solid #000;';
		$car_repair_mechanic_custom_css .='}';

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

	/*----- Featured image css -----*/
	$car_repair_mechanic_feature_image_border_radius = get_theme_mod('car_repair_mechanic_feature_image_border_radius');
	if($car_repair_mechanic_feature_image_border_radius != false){
		$car_repair_mechanic_custom_css .='#blog_post .blog-sec img{';
			$car_repair_mechanic_custom_css .='border-radius: '.esc_attr($car_repair_mechanic_feature_image_border_radius).'px;';
		$car_repair_mechanic_custom_css .='}';
	}

	$car_repair_mechanic_feature_image_shadow = get_theme_mod('car_repair_mechanic_feature_image_shadow');
	if($car_repair_mechanic_feature_image_shadow != false){
		$car_repair_mechanic_custom_css .='#blog_post .blog-sec img{';
			$car_repair_mechanic_custom_css .='box-shadow: '.esc_attr($car_repair_mechanic_feature_image_shadow).'px '.esc_attr($car_repair_mechanic_feature_image_shadow).'px '.esc_attr($car_repair_mechanic_feature_image_shadow).'px #aaa;';
		$car_repair_mechanic_custom_css .='}';
	}

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

	//Blog Post Initial Cap
	$car_repair_mechanic_initial_caps_enable = get_theme_mod('car_repair_mechanic_initial_caps_enable', 'false');
	if($car_repair_mechanic_initial_caps_enable == 'true' ){
		$car_repair_mechanic_custom_css .='.blogger .entry-content p:nth-of-type(1)::first-letter,.blogger p:nth-of-type(1)::first-letter{';
			$car_repair_mechanic_custom_css .=' font-size: 60px!important; font-weight: 800!important;';
		$car_repair_mechanic_custom_css .=' margin-right: 4px;text-transform: uppercase;';
			$car_repair_mechanic_custom_css .=' font-family: "Vollkorn", serif!important;';
		$car_repair_mechanic_custom_css .='}';
	}elseif($car_repair_mechanic_initial_caps_enable == 'false' ){
		$car_repair_mechanic_custom_css .='.blogger .entry-content p:nth-of-type(1)::first-letter,.blogger p:nth-of-type(1)::first-letter{';
			$car_repair_mechanic_custom_css .='display: none!important;';
		$car_repair_mechanic_custom_css .='}';
	}

	 /*----- Related posts image css-----*/
	 $car_repair_mechanic_related_posts_image_shadow = get_theme_mod('car_repair_mechanic_related_posts_image_shadow');
	 if($car_repair_mechanic_related_posts_image_shadow != false){
		 $car_repair_mechanic_custom_css .='.related-posts .blog-sec img{';
			 $car_repair_mechanic_custom_css .='box-shadow: '.esc_attr($car_repair_mechanic_related_posts_image_shadow).'px '.esc_attr($car_repair_mechanic_related_posts_image_shadow).'px '.esc_attr($car_repair_mechanic_related_posts_image_shadow).'px #aaa;';
		 $car_repair_mechanic_custom_css .='}';
	 }
 
	 $car_repair_mechanic_related_image_border_radius = get_theme_mod('car_repair_mechanic_related_image_border_radius');
	 if($car_repair_mechanic_related_image_border_radius != false){
		 $car_repair_mechanic_custom_css .='.related-posts .blog-sec img{';
			 $car_repair_mechanic_custom_css .='border-radius: '.esc_attr($car_repair_mechanic_related_image_border_radius).'px;';
		 $car_repair_mechanic_custom_css .='}';
	 }

	 /*----- Related Post display type css ------*/
	$car_repair_mechanic_related_post_display_type = get_theme_mod('car_repair_mechanic_related_post_display_type', 'blocks');
	if($car_repair_mechanic_related_post_display_type == 'without blocks' ){
		$car_repair_mechanic_custom_css .='.related-posts .blog-sec{';
			$car_repair_mechanic_custom_css .='border: 0!important;';
		$car_repair_mechanic_custom_css .='}';
	}

	// Metabox Seperator related post
	$car_repair_mechanic_related_post_metabox_seperator = get_theme_mod('car_repair_mechanic_related_post_metabox_seperator', '|');
	if($car_repair_mechanic_related_post_metabox_seperator != '' ){
		$car_repair_mechanic_custom_css .='.related-posts .blog-sec .post-info span:after{';
			$car_repair_mechanic_custom_css .=' content: "'.esc_attr($car_repair_mechanic_related_post_metabox_seperator).'"; padding-left:10px;';
		$car_repair_mechanic_custom_css .='}';
		$car_repair_mechanic_custom_css .='.related-posts .blog-sec .post-info span:last-child:after{';
			$car_repair_mechanic_custom_css .=' content: none;';
		$car_repair_mechanic_custom_css .='}';
	}	

	/*------ Sticky header padding ------------*/
	$car_repair_mechanic_top_sticky_header_padding = get_theme_mod('car_repair_mechanic_top_sticky_header_padding');
	$car_repair_mechanic_bottom_sticky_header_padding = get_theme_mod('car_repair_mechanic_bottom_sticky_header_padding');
	$car_repair_mechanic_custom_css .=' .fixed-header{';
		$car_repair_mechanic_custom_css .=' padding-top: '.esc_attr($car_repair_mechanic_top_sticky_header_padding).'px; padding-bottom: '.esc_attr($car_repair_mechanic_bottom_sticky_header_padding).'px';
	$car_repair_mechanic_custom_css .='}';

		// featured image dimention
	$car_repair_mechanic_blog_image_dimension = get_theme_mod('car_repair_mechanic_blog_image_dimension', 'default');
	$car_repair_mechanic_feature_image_custom_width = get_theme_mod('car_repair_mechanic_feature_image_custom_width',250);
	$car_repair_mechanic_feature_image_custom_height = get_theme_mod('car_repair_mechanic_feature_image_custom_height',250);
	if($car_repair_mechanic_blog_image_dimension == 'custom'){
		$car_repair_mechanic_custom_css .='#blog_post .blog-sec img{';
			$car_repair_mechanic_custom_css .='width: '.esc_attr($car_repair_mechanic_feature_image_custom_width).'px; height: '.esc_attr($car_repair_mechanic_feature_image_custom_height).'px;';
		$car_repair_mechanic_custom_css .='}';
	}

	/*------ Related products ---------*/
	$car_repair_mechanic_related_products = get_theme_mod('car_repair_mechanic_single_related_products',true);
	if($car_repair_mechanic_related_products == false){
		$car_repair_mechanic_custom_css .=' .related.products{';
			$car_repair_mechanic_custom_css .='display: none;';
		$car_repair_mechanic_custom_css .='}';
	}

	/*-------- Menu Font Size --------*/
	$car_repair_mechanic_menu_font_size = get_theme_mod('car_repair_mechanic_menu_font_size',13);
	if($car_repair_mechanic_menu_font_size != false){
		$car_repair_mechanic_custom_css .='.nav-menu ul li a{';
			$car_repair_mechanic_custom_css .='font-size: '.esc_attr($car_repair_mechanic_menu_font_size).'px;';
		$car_repair_mechanic_custom_css .='}';
	}

	$car_repair_mechanic_menu_font_weight = get_theme_mod('car_repair_mechanic_menu_font_weight');
	$car_repair_mechanic_custom_css .='.nav-menu ul li a{';
		$car_repair_mechanic_custom_css .='font-weight: '.esc_attr($car_repair_mechanic_menu_font_weight).';';
	$car_repair_mechanic_custom_css .='}';

	// menu padding
	$car_repair_mechanic_menu_padding = get_theme_mod('car_repair_mechanic_menu_padding',20);
	$car_repair_mechanic_custom_css .='.nav-menu ul li a, .sf-arrows ul .sf-with-ul, .sf-arrows .sf-with-ul{';
		$car_repair_mechanic_custom_css .='padding: '.esc_attr($car_repair_mechanic_menu_padding).'px;';
	$car_repair_mechanic_custom_css .='}';

	// menu color
	$car_repair_mechanic_menu_color = get_theme_mod('car_repair_mechanic_menu_color');
	$car_repair_mechanic_custom_css .='.nav-menu a,.nav-menu .current_page_item > a, .nav-menu .current-menu-item > a, .nav-menu .current_page_ancestor > a{';
			$car_repair_mechanic_custom_css .='color: '.esc_attr($car_repair_mechanic_menu_color).' !important;';
	$car_repair_mechanic_custom_css .='}';

	// menu hover color
	$car_repair_mechanic_menu_hover_color = get_theme_mod('car_repair_mechanic_menu_hover_color');
	$car_repair_mechanic_custom_css .='.nav-menu a:hover, .nav-menu ul li a:hover{';
			$car_repair_mechanic_custom_css .='color: '.esc_attr($car_repair_mechanic_menu_hover_color).' !important;';
	$car_repair_mechanic_custom_css .='}';

	// Submenu color
	$car_repair_mechanic_submenu_menu_color = get_theme_mod('car_repair_mechanic_submenu_menu_color');
	$car_repair_mechanic_custom_css .='.nav-menu ul.sub-menu a, .nav-menu ul.sub-menu li a,.nav-menu ul.children a, .nav-menu ul.children li a{';
			$car_repair_mechanic_custom_css .='color: '.esc_attr($car_repair_mechanic_submenu_menu_color).' !important;';
	$car_repair_mechanic_custom_css .='}';

	// submenu hover color
	$car_repair_mechanic_submenu_hover_color = get_theme_mod('car_repair_mechanic_submenu_hover_color');
	$car_repair_mechanic_custom_css .='.nav-menu ul.sub-menu a:hover, .nav-menu ul.sub-menu li a:hover.nav-menu ul.children a:hover, .nav-menu ul.children li a:hover{';
			$car_repair_mechanic_custom_css .='color: '.esc_attr($car_repair_mechanic_submenu_hover_color).' !important;';
	$car_repair_mechanic_custom_css .='}';

	// Breadcrumb Alignmennt
	$car_repair_mechanic_single_page_breadcrumb_alignment = get_theme_mod('car_repair_mechanic_single_page_breadcrumb_alignment', 'Left');
	if($car_repair_mechanic_single_page_breadcrumb_alignment == 'Center' ){
		$car_repair_mechanic_custom_css .='.bradcrumbs{';
			$car_repair_mechanic_custom_css .='text-align: '. $car_repair_mechanic_single_page_breadcrumb_alignment .';';
		$car_repair_mechanic_custom_css .='}';
	}elseif($car_repair_mechanic_single_page_breadcrumb_alignment == 'Left' ){
		$car_repair_mechanic_custom_css .='.bradcrumbs{';
			$car_repair_mechanic_custom_css .=' text-align: '. $car_repair_mechanic_single_page_breadcrumb_alignment .';';
		$car_repair_mechanic_custom_css .='}';
	}elseif($car_repair_mechanic_single_page_breadcrumb_alignment == 'Right' ){
		$car_repair_mechanic_custom_css .='.bradcrumbs{';
			$car_repair_mechanic_custom_css .='text-align: '. $car_repair_mechanic_single_page_breadcrumb_alignment .';';
		$car_repair_mechanic_custom_css .='}';
	}

	// Breadcrumb color option
	$car_repair_mechanic_breadcrumb_color = get_theme_mod('car_repair_mechanic_breadcrumb_color');
	$car_repair_mechanic_custom_css .='.bradcrumbs a,.bradcrumbs span{';
		$car_repair_mechanic_custom_css .='color: '.esc_attr($car_repair_mechanic_breadcrumb_color).'!important;';
	$car_repair_mechanic_custom_css .='}';

	// Breadcrumb bg color option
	$car_repair_mechanic_breadcrumb_background_color = get_theme_mod('car_repair_mechanic_breadcrumb_background_color');
	$car_repair_mechanic_custom_css .='.bradcrumbs a,.bradcrumbs span{';
		$car_repair_mechanic_custom_css .='background-color: '.esc_attr($car_repair_mechanic_breadcrumb_background_color).'!important;';
	$car_repair_mechanic_custom_css .='}';

	// Breadcrumb hover color option
	$car_repair_mechanic_breadcrumb_hover_color = get_theme_mod('car_repair_mechanic_breadcrumb_hover_color');
	$car_repair_mechanic_custom_css .='.bradcrumbs a:hover{';
		$car_repair_mechanic_custom_css .='color: '.esc_attr($car_repair_mechanic_breadcrumb_hover_color).'!important;';
	$car_repair_mechanic_custom_css .='}';

	// Breadcrumb hover bg color option
	$car_repair_mechanic_breadcrumb_hover_bg_color = get_theme_mod('car_repair_mechanic_breadcrumb_hover_bg_color');
	$car_repair_mechanic_custom_css .='.bradcrumbs a:hover{';
		$car_repair_mechanic_custom_css .='background-color: '.esc_attr($car_repair_mechanic_breadcrumb_hover_bg_color).'!important;';
	$car_repair_mechanic_custom_css .='}';


	// Featured image header
	$header_image_url = car_repair_mechanic_banner_image( $image_url = '' );
	$car_repair_mechanic_custom_css .='#page-site-header{';
		$car_repair_mechanic_custom_css .='background-image: url('. esc_url( $header_image_url ).'); background-size: cover;';
	$car_repair_mechanic_custom_css .='}';

	$car_repair_mechanic_post_featured_image = get_theme_mod('car_repair_mechanic_post_featured_image', 'in-content');
	if($car_repair_mechanic_post_featured_image == 'banner' ){
		$car_repair_mechanic_custom_css .='.single #wrapper h1, .page #wrapper h1, .page #wrapper img{';
			$car_repair_mechanic_custom_css .=' display: none;';
		$car_repair_mechanic_custom_css .='}';
		$car_repair_mechanic_custom_css .='.page-template-custom-front-page #page-site-header{';
			$car_repair_mechanic_custom_css .=' display: none;';
		$car_repair_mechanic_custom_css .='}';
	}

	// Woocommerce Shop page pagination
	$car_repair_mechanic_shop_page_navigation = get_theme_mod('car_repair_mechanic_shop_page_navigation',true);
	if ($car_repair_mechanic_shop_page_navigation == false) {
		$car_repair_mechanic_custom_css .='.woocommerce nav.woocommerce-pagination{';
			$car_repair_mechanic_custom_css .='display: none;';
		$car_repair_mechanic_custom_css .='}';
	}

	/*----- Blog Post display type css ------*/
	$car_repair_mechanic_blog_post_display_type = get_theme_mod('car_repair_mechanic_blog_post_display_type', 'blocks');
	if($car_repair_mechanic_blog_post_display_type == 'without blocks' ){
		$car_repair_mechanic_custom_css .='.blog .blog-sec, .blog #sidebar .widget{';
			$car_repair_mechanic_custom_css .='border: 0;';
		$car_repair_mechanic_custom_css .='}';
	}

	/*---------- Responsive style ---------*/
	$car_repair_mechanic_toggle_button_bg_color_settings = get_theme_mod('car_repair_mechanic_toggle_button_bg_color_settings');
	$car_repair_mechanic_custom_css .='@media screen and (max-width: 575px){
		.middle-header{';
	$car_repair_mechanic_custom_css .='background-color: '.esc_attr($car_repair_mechanic_toggle_button_bg_color_settings).';';
	$car_repair_mechanic_custom_css .='} }';
	
	if (get_theme_mod('car_repair_mechanic_hide_topbar_responsive',true) == true && get_theme_mod('car_repair_mechanic_top_header',true) == false) {
		$car_repair_mechanic_custom_css .='.top-bar{';
			$car_repair_mechanic_custom_css .=' display: none;';
		$car_repair_mechanic_custom_css .='} ';
	}

	if (get_theme_mod('car_repair_mechanic_sticky_header_responsive') == false) {
		$car_repair_mechanic_custom_css .='@media screen and (max-width: 575px){
			.sticky{';
			$car_repair_mechanic_custom_css .=' position: static;';
		$car_repair_mechanic_custom_css .='} }';
	}

	if (get_theme_mod('car_repair_mechanic_hide_topbar_responsive',true) == false) {
		$car_repair_mechanic_custom_css .='@media screen and (max-width: 575px){
			.top-bar{';
			$car_repair_mechanic_custom_css .=' display: none;';
		$car_repair_mechanic_custom_css .='} }';
	} else if(get_theme_mod('car_repair_mechanic_hide_topbar_responsive',true) == true){
		$car_repair_mechanic_custom_css .='@media screen and (max-width: 575px){
			.top-bar{';
			$car_repair_mechanic_custom_css .=' display: block;';
		$car_repair_mechanic_custom_css .='} }';
	}

	// Site title Font Size
	$car_repair_mechanic_site_title_font_size = get_theme_mod('car_repair_mechanic_site_title_font_size', '25');
	$car_repair_mechanic_custom_css .='.logo h1, .logo p.site-title{';
		$car_repair_mechanic_custom_css .='font-size: '.esc_attr($car_repair_mechanic_site_title_font_size).'px;';
	$car_repair_mechanic_custom_css .='}';

	// Site tagline Font Size
	$car_repair_mechanic_site_tagline_font_size = get_theme_mod('car_repair_mechanic_site_tagline_font_size', '14');
	$car_repair_mechanic_custom_css .='.logo p.site-description{';
		$car_repair_mechanic_custom_css .='font-size: '.esc_attr($car_repair_mechanic_site_tagline_font_size).'px;';
	$car_repair_mechanic_custom_css .='}';

	/*---- Slider Content Position -----*/
	$car_repair_mechanic_top_position = get_theme_mod('car_repair_mechanic_slider_top_position');
	$car_repair_mechanic_bottom_position = get_theme_mod('car_repair_mechanic_slider_bottom_position');
	$car_repair_mechanic_left_position = get_theme_mod('car_repair_mechanic_slider_left_position');
	$car_repair_mechanic_right_position = get_theme_mod('car_repair_mechanic_slider_right_position');
	if($car_repair_mechanic_top_position != false || $car_repair_mechanic_bottom_position != false || $car_repair_mechanic_left_position != false || $car_repair_mechanic_right_position != false){
		$car_repair_mechanic_custom_css .='#slider .carousel-caption{';
			$car_repair_mechanic_custom_css .='top: '.esc_attr($car_repair_mechanic_top_position).'%; bottom: '.esc_attr($car_repair_mechanic_bottom_position).'%; left: '.esc_attr($car_repair_mechanic_left_position).'%; right: '.esc_attr($car_repair_mechanic_right_position).'%;';
		$car_repair_mechanic_custom_css .='}';
	}

	// Header Social Icons Font Size
    $car_repair_mechanic_header_icons_font_size = get_theme_mod('car_repair_mechanic_header_icons_font_size', '14');
    $car_repair_mechanic_custom_css .='.top-bar .contact-info span i{';
        $car_repair_mechanic_custom_css .='font-size: '.esc_attr($car_repair_mechanic_header_icons_font_size).'px;';
    $car_repair_mechanic_custom_css .='}';

	//Header icon color
	$car_repair_mechanic_header_icon_color = get_theme_mod('car_repair_mechanic_header_icon_color', '');
	$car_repair_mechanic_custom_css .='.top-bar .contact-info span i{';
		$car_repair_mechanic_custom_css .='color: '.esc_attr($car_repair_mechanic_header_icon_color).'!important;';
	$car_repair_mechanic_custom_css .='}';

	// Banner Social Icons Font Size
    $car_repair_mechanic_banner_social_icons_font_size = get_theme_mod('car_repair_mechanic_banner_social_icons_font_size', '16');
    $car_repair_mechanic_custom_css .='#slider .social-icons a{';
        $car_repair_mechanic_custom_css .='font-size: '.esc_attr($car_repair_mechanic_banner_social_icons_font_size).'px;';
    $car_repair_mechanic_custom_css .='}';

	// Slider Arrows hover color
	$car_repair_mechanic_slider_arrows_hover_color = get_theme_mod('car_repair_mechanic_slider_arrows_hover_color');
	$car_repair_mechanic_custom_css .='#slider .carousel-control-prev-icon:hover,#slider .carousel-control-next-icon:hover{';
			$car_repair_mechanic_custom_css .='background-color: '.esc_attr($car_repair_mechanic_slider_arrows_hover_color).' !important;';
	$car_repair_mechanic_custom_css .='}';

	// Slider Button color
	$car_repair_mechanic_slider_btn_color = get_theme_mod('car_repair_mechanic_slider_btn_color');
	$car_repair_mechanic_custom_css .='.read-more a{';
			$car_repair_mechanic_custom_css .='color: '.esc_attr($car_repair_mechanic_slider_btn_color).' !important;';
	$car_repair_mechanic_custom_css .='}';

	// Slider button bg color
	$car_repair_mechanic_slider_btn_bg_color = get_theme_mod('car_repair_mechanic_slider_btn_bg_color');
	$car_repair_mechanic_custom_css .='.read-more a{';
			$car_repair_mechanic_custom_css .='background-color: '.esc_attr($car_repair_mechanic_slider_btn_bg_color).' !important;';
	$car_repair_mechanic_custom_css .='}';

	// Slider button border radius
	$car_repair_mechanic_slider_btn_border_radius = get_theme_mod('car_repair_mechanic_slider_btn_border_radius','10');
	$car_repair_mechanic_custom_css .='.read-more a{';
		$car_repair_mechanic_custom_css .='border-radius: '.esc_attr($car_repair_mechanic_slider_btn_border_radius).'px !important;';
	$car_repair_mechanic_custom_css .='}';

	// Slider button lable hover color
	$car_repair_mechanic_slider_btn_lable_hover_color = get_theme_mod('car_repair_mechanic_slider_btn_lable_hover_color');
	$car_repair_mechanic_custom_css .='.read-more a:hover{';
			$car_repair_mechanic_custom_css .='color: '.esc_attr($car_repair_mechanic_slider_btn_lable_hover_color).' !important;';
	$car_repair_mechanic_custom_css .='}';

	// Slider button bg hover color
	$car_repair_mechanic_slider_btn_bg_hover_color = get_theme_mod('car_repair_mechanic_slider_btn_bg_hover_color');
	$car_repair_mechanic_custom_css .='.read-more a:hover{';
			$car_repair_mechanic_custom_css .='background-color: '.esc_attr($car_repair_mechanic_slider_btn_bg_hover_color).' !important;';
	$car_repair_mechanic_custom_css .='}';

	/*---- Slider Height ------*/
	$car_repair_mechanic_slider_height = get_theme_mod('car_repair_mechanic_slider_height');
	$car_repair_mechanic_custom_css .='#slider img{';
		$car_repair_mechanic_custom_css .='height: '.esc_attr($car_repair_mechanic_slider_height).'px;';
	$car_repair_mechanic_custom_css .='}';
	$car_repair_mechanic_custom_css .='@media screen and (max-width: 768px){
		#slider img{';
		$car_repair_mechanic_custom_css .='height: auto;';
	$car_repair_mechanic_custom_css .='} }';

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

	// slider overlay
	$car_repair_mechanic_slider_overlay = get_theme_mod('car_repair_mechanic_slider_overlay', true);
	if($car_repair_mechanic_slider_overlay == false){
		$car_repair_mechanic_custom_css .='#slider img{';
			$car_repair_mechanic_custom_css .='opacity:1;';
		$car_repair_mechanic_custom_css .='}';
	} 
	$car_repair_mechanic_slider_image_overlay_color = get_theme_mod('car_repair_mechanic_slider_image_overlay_color', true);
	if($car_repair_mechanic_slider_overlay != false){
		$car_repair_mechanic_custom_css .='#slider{';
			$car_repair_mechanic_custom_css .='background-color: '.esc_attr($car_repair_mechanic_slider_image_overlay_color).'!important;';
		$car_repair_mechanic_custom_css .='}';
	}		

	// Metabox Seperator
	$car_repair_mechanic_metabox_seperator = get_theme_mod('car_repair_mechanic_metabox_seperator','|');
	if($car_repair_mechanic_metabox_seperator != '' ){
		$car_repair_mechanic_custom_css .='#blog_post .blog-sec .post-info span:after{';
			$car_repair_mechanic_custom_css .=' content: "'.esc_attr($car_repair_mechanic_metabox_seperator).'"; padding-left:10px;';
		$car_repair_mechanic_custom_css .='}';
		$car_repair_mechanic_custom_css .='#blog_post .blog-sec .post-info span:last-child:after{';
			$car_repair_mechanic_custom_css .=' content: none;';
		$car_repair_mechanic_custom_css .='}';
	}	

	// Metabox Seperator Single post
	$car_repair_mechanic_single_post_metabox_seperator = get_theme_mod('car_repair_mechanic_single_post_metabox_seperator','|');
	if($car_repair_mechanic_single_post_metabox_seperator != '' ){
		$car_repair_mechanic_custom_css .='.post-info span:after{';
			$car_repair_mechanic_custom_css .=' content: "'.esc_attr($car_repair_mechanic_single_post_metabox_seperator).'"; padding-left:10px;';
		$car_repair_mechanic_custom_css .='}';
		$car_repair_mechanic_custom_css .='.post-info span:last-child:after{';
			$car_repair_mechanic_custom_css .=' content: none;';
		$car_repair_mechanic_custom_css .='}';
	}

	// Metabox Seperator Grid post
	$car_repair_mechanic_grid_post_metabox_seperator = get_theme_mod('car_repair_mechanic_grid_post_metabox_seperator','|');
	if($car_repair_mechanic_grid_post_metabox_seperator != '' ){
		$car_repair_mechanic_custom_css .='.grid-post-info span:after{';
			$car_repair_mechanic_custom_css .=' content: "'.esc_attr($car_repair_mechanic_grid_post_metabox_seperator).'"; padding-left:10px;';
		$car_repair_mechanic_custom_css .='}';
		$car_repair_mechanic_custom_css .='.grid-post-info span:last-child:after{';
			$car_repair_mechanic_custom_css .=' content: none;';
		$car_repair_mechanic_custom_css .='}';
	}

	/*----- grid Post display type css ------*/
	$car_repair_mechanic_grid_post_display_type = get_theme_mod('car_repair_mechanic_grid_post_display_type', 'blocks');
	if($car_repair_mechanic_grid_post_display_type == 'without blocks' ){
		$car_repair_mechanic_custom_css .='.grid-sec{';
			$car_repair_mechanic_custom_css .='border: 0;';
		$car_repair_mechanic_custom_css .='}';
	}

	$car_repair_mechanic_grid_post_image_border_radius = get_theme_mod('car_repair_mechanic_grid_post_image_border_radius');
	 if($car_repair_mechanic_grid_post_image_border_radius != false){
		 $car_repair_mechanic_custom_css .='.grid-sec img{';
			 $car_repair_mechanic_custom_css .='border-radius: '.esc_attr($car_repair_mechanic_grid_post_image_border_radius).'px;';
		 $car_repair_mechanic_custom_css .='}';
	 }
 
	$car_repair_mechanic_grid_posts_image_shadow = get_theme_mod('car_repair_mechanic_grid_posts_image_shadow');
	if($car_repair_mechanic_grid_posts_image_shadow != false){
		$car_repair_mechanic_custom_css .='.grid-sec img{';
			$car_repair_mechanic_custom_css .='box-shadow: '.esc_attr($car_repair_mechanic_grid_posts_image_shadow).'px '.esc_attr($car_repair_mechanic_grid_posts_image_shadow).'px '.esc_attr($car_repair_mechanic_grid_posts_image_shadow).'px #aaa;';
		$car_repair_mechanic_custom_css .='}';
	}

	/*-------- grid post Alignment ------*/
	$car_repair_mechanic_grid_alignment = get_theme_mod('car_repair_mechanic_grid_alignment', 'center');
	if($car_repair_mechanic_grid_alignment == 'left' ){
		$car_repair_mechanic_custom_css .='.grid-sec, .grid-sec h2, .grid-post-info, .grid-sec .entry-content, .grid-sec .blogbtn{';
			$car_repair_mechanic_custom_css .=' text-align: '. $car_repair_mechanic_grid_alignment .'!important;';
		$car_repair_mechanic_custom_css .='}';
	}elseif($car_repair_mechanic_grid_alignment == 'right' ){
		$car_repair_mechanic_custom_css .='.grid-sec, .grid-sec h2, .grid-post-info, .grid-sec .entry-content, .grid-sec .blogbtn{';
			$car_repair_mechanic_custom_css .='text-align: '. $car_repair_mechanic_grid_alignment .'!important;';
		$car_repair_mechanic_custom_css .='}';
	}	

	/*-------- Blog Post Alignment ------*/
	$car_repair_mechanic_post_alignment = get_theme_mod('car_repair_mechanic_blog_post_alignment', 'center');
	if($car_repair_mechanic_post_alignment == 'left' ){
		$car_repair_mechanic_custom_css .='.blog-sec, .blog-sec h2, .post-info, .blog-sec .blogbtn{';
			$car_repair_mechanic_custom_css .=' text-align: '. $car_repair_mechanic_post_alignment .'!important;';
		$car_repair_mechanic_custom_css .='}';
	}elseif($car_repair_mechanic_post_alignment == 'right' ){
		$car_repair_mechanic_custom_css .='.blog-sec, .blog-sec h2, .post-info, .blog-sec .blogbtn{';
			$car_repair_mechanic_custom_css .='text-align: '. $car_repair_mechanic_post_alignment .'!important;';
		$car_repair_mechanic_custom_css .='}';
	}	

	// responsive settings
	if (get_theme_mod('car_repair_mechanic_preloader_responsive',false) == true && get_theme_mod('car_repair_mechanic_preloader',false) == false) {
		$car_repair_mechanic_custom_css .='@media screen and (min-width: 575px){
			.preloader, #overlayer, .tg-loader{';
			$car_repair_mechanic_custom_css .=' visibility: hidden;';
		$car_repair_mechanic_custom_css .='} }';
	}
	if (get_theme_mod('car_repair_mechanic_preloader_responsive',false) == false) {
		$car_repair_mechanic_custom_css .='@media screen and (max-width: 575px){
			.preloader, #overlayer, .tg-loader{';
			$car_repair_mechanic_custom_css .=' visibility: hidden;';
		$car_repair_mechanic_custom_css .='} }';
	}

	// scroll to top
	$car_repair_mechanic_scroll = get_theme_mod( 'car_repair_mechanic_backtotop_responsive',true);
	if (get_theme_mod('car_repair_mechanic_backtotop_responsive',true) == true && get_theme_mod('car_repair_mechanic_hide_scroll',true) == false) {
    	$car_repair_mechanic_custom_css .='.show-back-to-top{';
			$car_repair_mechanic_custom_css .='visibility: hidden !important;';
		$car_repair_mechanic_custom_css .='} ';
	}
    if($car_repair_mechanic_scroll == true){
    	$car_repair_mechanic_custom_css .='@media screen and (max-width:575px) {';
		$car_repair_mechanic_custom_css .='.show-back-to-top{';
			$car_repair_mechanic_custom_css .='visibility: visible !important;';
		$car_repair_mechanic_custom_css .='} }';
	}else if($car_repair_mechanic_scroll == false){
		$car_repair_mechanic_custom_css .='@media screen and (max-width:575px) {';
		$car_repair_mechanic_custom_css .='.show-back-to-top{';
			$car_repair_mechanic_custom_css .='visibility: hidden !important;';
		$car_repair_mechanic_custom_css .='} }';
	}

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

	/*------ Footer background css -------*/
	$car_repair_mechanic_copyright_bg_color = get_theme_mod('car_repair_mechanic_copyright_bg_color');
	if($car_repair_mechanic_copyright_bg_color != false){
		$car_repair_mechanic_custom_css .='.inner{';
			$car_repair_mechanic_custom_css .='background-color: '.esc_attr($car_repair_mechanic_copyright_bg_color).';';
		$car_repair_mechanic_custom_css .='}';
	}

	/*------Slider css -------*/
	$car_repair_mechanic_show_slider = get_theme_mod('car_repair_mechanic_show_slider',false);
	if($car_repair_mechanic_show_slider == false){
		$car_repair_mechanic_custom_css .='.page-template-custom-front-page #header {';
			$car_repair_mechanic_custom_css .='position: static; background:#000;';
		$car_repair_mechanic_custom_css .='}';
	}

	// responsive slider
	if (get_theme_mod('car_repair_mechanic_slider_responsive',true) == true && get_theme_mod('car_repair_mechanic_show_slider',false) == false) {
		$car_repair_mechanic_custom_css .='@media screen and (min-width: 575px){
			#slider{';
			$car_repair_mechanic_custom_css .=' display: none;';
		$car_repair_mechanic_custom_css .='} }';
	}
	if (get_theme_mod('car_repair_mechanic_slider_responsive',true) == false) {
		$car_repair_mechanic_custom_css .='@media screen and (max-width: 575px){
			#slider{';
			$car_repair_mechanic_custom_css .=' display: none;';
		$car_repair_mechanic_custom_css .='} }';
	}

	// slider button
	if (get_theme_mod('car_repair_mechanic_slider_button_responsive',true) == true && get_theme_mod('car_repair_mechanic_slider_button',true) == false) {
		$car_repair_mechanic_custom_css .='@media screen and (min-width: 575px){
			.read-more{';
			$car_repair_mechanic_custom_css .=' display: none;';
		$car_repair_mechanic_custom_css .='} }';
	}
	if (get_theme_mod('car_repair_mechanic_slider_button_responsive',true) == false) {
		$car_repair_mechanic_custom_css .='@media screen and (max-width: 575px){
			.read-more{';
			$car_repair_mechanic_custom_css .=' display: none;';
		$car_repair_mechanic_custom_css .='} }';
		$car_repair_mechanic_custom_css .='@media screen and (max-width: 575px){
			#slider .carousel-caption{';
			$car_repair_mechanic_custom_css .=' padding: 0px;';
		$car_repair_mechanic_custom_css .='} }';
	}

	// menu padding

	$car_repair_mechanic_menu_case = get_theme_mod('car_repair_mechanic_menu_case', 'Capitalize');
	if($car_repair_mechanic_menu_case == 'uppercase' ){
		$car_repair_mechanic_custom_css .='.nav-menu ul li a{';
			$car_repair_mechanic_custom_css .=' text-transform: uppercase;';
		$car_repair_mechanic_custom_css .='}';
	}elseif($car_repair_mechanic_menu_case == 'lowercase' ){
		$car_repair_mechanic_custom_css .='.nav-menu ul li a{';
			$car_repair_mechanic_custom_css .=' text-transform: lowercase;';
		$car_repair_mechanic_custom_css .='}';
	}

	// Single post image border radious
	$car_repair_mechanic_single_post_img_border_radius = get_theme_mod('car_repair_mechanic_single_post_img_border_radius', 0);
	$car_repair_mechanic_custom_css .='.feature-box img{';
		$car_repair_mechanic_custom_css .='border-radius: '.esc_attr($car_repair_mechanic_single_post_img_border_radius).'px;';
	$car_repair_mechanic_custom_css .='}';

	// Single post image box shadow
	$car_repair_mechanic_single_post_img_box_shadow = get_theme_mod('car_repair_mechanic_single_post_img_box_shadow',0);
	$car_repair_mechanic_custom_css .='.feature-box img{';
		$car_repair_mechanic_custom_css .='box-shadow: '.esc_attr($car_repair_mechanic_single_post_img_box_shadow).'px '.esc_attr($car_repair_mechanic_single_post_img_box_shadow).'px '.esc_attr($car_repair_mechanic_single_post_img_box_shadow).'px #ccc;';
	$car_repair_mechanic_custom_css .='}';

	// single post image dimention
	$car_repair_mechanic_single_post_image_dimension = get_theme_mod('car_repair_mechanic_single_post_image_dimension', 'default');
	$car_repair_mechanic_single_post_image_custom_width = get_theme_mod('car_repair_mechanic_single_post_image_custom_width',400);
	$car_repair_mechanic_single_post_image_custom_height = get_theme_mod('car_repair_mechanic_single_post_image_custom_height',400);
	if($car_repair_mechanic_single_post_image_dimension == 'custom'){
		$car_repair_mechanic_custom_css .='.singlepost-page .feature-box img{';
			$car_repair_mechanic_custom_css .='width: '.esc_attr($car_repair_mechanic_single_post_image_custom_width).'px; height: '.esc_attr($car_repair_mechanic_single_post_image_custom_height).'px;';
		$car_repair_mechanic_custom_css .='}';
	}

	// Button Font Size
	$car_repair_mechanic_button_font_size = get_theme_mod('car_repair_mechanic_button_font_size', '16');
	$car_repair_mechanic_custom_css .='.blogbtn a{';
		$car_repair_mechanic_custom_css .='font-size: '.esc_attr($car_repair_mechanic_button_font_size).'px;';
	$car_repair_mechanic_custom_css .='}';


	// sticky sidebar
	$car_repair_mechanic_sticky_sidebar = get_theme_mod('car_repair_mechanic_sticky_sidebar');
	if ( $car_repair_mechanic_sticky_sidebar ) {
		$car_repair_mechanic_custom_css .= '@media (min-width: 768px) {';
			$car_repair_mechanic_custom_css .= '#sidebar {';
				$car_repair_mechanic_custom_css .= 'position: sticky;';
				$car_repair_mechanic_custom_css .= 'top: 25px;';
				$car_repair_mechanic_custom_css .= 'align-self: start;';
			$car_repair_mechanic_custom_css .= '}';
		$car_repair_mechanic_custom_css .= '}';
	}
   
	// Copyright Sticky 
	$car_repair_mechanic_resp_stickycopyright = get_theme_mod( 'car_repair_mechanic_stickycopyright_hide_show',false);
	if($car_repair_mechanic_resp_stickycopyright == true && get_theme_mod( 'car_repair_mechanic_copyright_sticky',false) != true){
    	$car_repair_mechanic_custom_css .='.copyright-sticky{';
			$car_repair_mechanic_custom_css .='position:static;';
		$car_repair_mechanic_custom_css .='} ';
	}	

	// change the Category style //
	$car_repair_mechanic_single_post_styling = get_theme_mod( 'car_repair_mechanic_single_post_styling','Button');
		if($car_repair_mechanic_single_post_styling == 'Underline'){
		$car_repair_mechanic_custom_css .='.single-post-category .post-categories li a{';
			$car_repair_mechanic_custom_css .='text-decoration: underline; color: #000 !important; background-color:transparent;';
		$car_repair_mechanic_custom_css .='}';
	}
	else if($car_repair_mechanic_single_post_styling == 'Default'){
		$car_repair_mechanic_custom_css .='.single-post-category .post-categories li a{';
			$car_repair_mechanic_custom_css .='text-decoration: none; color: #000 !important; background-color:transparent;';
		$car_repair_mechanic_custom_css .='}';
	}