<?php

$automobile_rental_custom_css = '';

	/*---------------------------text-transform-------------------*/

	$automobile_rental_text_transform = get_theme_mod( 'menu_text_transform_automobile_rental','CAPITALISE');
    if($automobile_rental_text_transform == 'CAPITALISE'){

		$automobile_rental_custom_css .='.main-navigation ul li a{';

			$automobile_rental_custom_css .='text-transform: capitalize;';

		$automobile_rental_custom_css .='}';

	}else if($automobile_rental_text_transform == 'UPPERCASE'){

		$automobile_rental_custom_css .='.main-navigation ul li a{';

			$automobile_rental_custom_css .='text-transform: uppercase;';

		$automobile_rental_custom_css .='}';

	}else if($automobile_rental_text_transform == 'LOWERCASE'){

		$automobile_rental_custom_css .='.main-navigation ul li a{';

			$automobile_rental_custom_css .='text-transform: lowercase;';

		$automobile_rental_custom_css .='}';
	}

		/*---------------------------menu-zoom-------------------*/

		$automobile_rental_menu_zoom = get_theme_mod( 'automobile_rental_menu_zoom','None');

    if($automobile_rental_menu_zoom == 'Zoomout'){

		$automobile_rental_custom_css .='.main-navigation ul li a{';

			$automobile_rental_custom_css .='';

		$automobile_rental_custom_css .='}';

	}else if($automobile_rental_menu_zoom == 'Zoominn'){

		$automobile_rental_custom_css .='.main-navigation ul li a:hover{';

			$automobile_rental_custom_css .='transition: all 0.3s ease-in-out !important; transform: scale(1.2) !important; color: var(--first-color);';

		$automobile_rental_custom_css .='}';
	}

	/*---------------------------Container Width-------------------*/

$automobile_rental_container_width = get_theme_mod('automobile_rental_container_width');

		$automobile_rental_custom_css .='body{';

			$automobile_rental_custom_css .='width: '.esc_attr($automobile_rental_container_width).'%; margin: auto';

		$automobile_rental_custom_css .='}';

		/*---------------------------Copyright Text alignment-------------------*/

	$automobile_rental_copyright_text_alignment = get_theme_mod( 'automobile_rental_copyright_text_alignment','LEFT-ALIGN');

	if($automobile_rental_copyright_text_alignment == 'LEFT-ALIGN'){

		$automobile_rental_custom_css .='.copy-text p{';

			$automobile_rental_custom_css .='text-align:left;';

		$automobile_rental_custom_css .='}';


	}else if($automobile_rental_copyright_text_alignment == 'CENTER-ALIGN'){

		$automobile_rental_custom_css .='.copy-text p{';

			$automobile_rental_custom_css .='text-align:center;';

		$automobile_rental_custom_css .='}';


	}else if($automobile_rental_copyright_text_alignment == 'RIGHT-ALIGN'){

		$automobile_rental_custom_css .='.copy-text p{';

			$automobile_rental_custom_css .='text-align:right;';

		$automobile_rental_custom_css .='}';

	}

	/*---------------------------related Product Settings-------------------*/

$automobile_rental_related_product_setting = get_theme_mod('automobile_rental_related_product_setting',true);

	if($automobile_rental_related_product_setting == false){

		$automobile_rental_custom_css .='.related.products, .related h2{';

			$automobile_rental_custom_css .='display: none;';

		$automobile_rental_custom_css .='}';
	}

		/*---------------------------Scroll to Top Alignment Settings-------------------*/

		$automobile_rental_scroll_top_position = get_theme_mod( 'automobile_rental_scroll_top_position','Right');

		if($automobile_rental_scroll_top_position == 'Right'){
	
			$automobile_rental_custom_css .='.scroll-up{';
	
				$automobile_rental_custom_css .='right: 20px;';
	
			$automobile_rental_custom_css .='}';
	
		}else if($automobile_rental_scroll_top_position == 'Left'){
	
			$automobile_rental_custom_css .='.scroll-up{';
	
				$automobile_rental_custom_css .='left: 20px;';
	
			$automobile_rental_custom_css .='}';
	
		}else if($automobile_rental_scroll_top_position == 'Center'){
	
			$automobile_rental_custom_css .='.scroll-up{';
	
				$automobile_rental_custom_css .='right: 50%;left: 50%;';
	
			$automobile_rental_custom_css .='}';
		}
	
			/*---------------------------Pagination Settings-------------------*/
	
	
	$automobile_rental_pagination_setting = get_theme_mod('automobile_rental_pagination_setting',true);
	
		if($automobile_rental_pagination_setting == false){
	
			$automobile_rental_custom_css .='.nav-links{';
	
				$automobile_rental_custom_css .='display: none;';
	
			$automobile_rental_custom_css .='}';
		}

	/*---------------------------woocommerce pagination alignment settings-------------------*/

	$automobile_rental_woocommerce_pagination_position = get_theme_mod( 'automobile_rental_woocommerce_pagination_position','Center');

	if($automobile_rental_woocommerce_pagination_position == 'Left'){

		$automobile_rental_custom_css .='.woocommerce nav.woocommerce-pagination{';

			$automobile_rental_custom_css .='text-align: left;';

		$automobile_rental_custom_css .='}';

	}else if($automobile_rental_woocommerce_pagination_position == 'Center'){

		$automobile_rental_custom_css .='.woocommerce nav.woocommerce-pagination{';

			$automobile_rental_custom_css .='text-align: center;';

		$automobile_rental_custom_css .='}';

	}else if($automobile_rental_woocommerce_pagination_position == 'Right'){

		$automobile_rental_custom_css .='.woocommerce nav.woocommerce-pagination{';

			$automobile_rental_custom_css .='text-align: right;';

		$automobile_rental_custom_css .='}';
	}

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

$automobile_rental_first_color = get_theme_mod('automobile_rental_first_color');

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

if ($automobile_rental_first_color) {
  $automobile_rental_custom_css .= ':root {';
  $automobile_rental_custom_css .= '--first-color: ' . esc_attr($automobile_rental_first_color) . ' !important;';
  $automobile_rental_custom_css .= '} ';
}