<?php

$data_analytics_center_custom_css = '';

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

	$data_analytics_center_text_transform = get_theme_mod( 'menu_text_transform_data_analytics_center','CAPITALISE');
    if($data_analytics_center_text_transform == 'CAPITALISE'){

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

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

		$data_analytics_center_custom_css .='}';

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

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

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

		$data_analytics_center_custom_css .='}';

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

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

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

		$data_analytics_center_custom_css .='}';
	}

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

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

    if($data_analytics_center_menu_zoom == 'Zoomout'){

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

			$data_analytics_center_custom_css .='';

		$data_analytics_center_custom_css .='}';

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

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

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

		$data_analytics_center_custom_css .='}';
	}

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

$data_analytics_center_container_width = get_theme_mod('data_analytics_center_container_width');

		$data_analytics_center_custom_css .='body{';

			$data_analytics_center_custom_css .='width: '.esc_attr($data_analytics_center_container_width).'%; margin: auto';

		$data_analytics_center_custom_css .='}';

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

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

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

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

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

		$data_analytics_center_custom_css .='}';


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

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

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

		$data_analytics_center_custom_css .='}';


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

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

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

		$data_analytics_center_custom_css .='}';

	}

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

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

	if($data_analytics_center_related_product_setting == false){

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

			$data_analytics_center_custom_css .='display: none;';

		$data_analytics_center_custom_css .='}';
	}

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

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

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

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

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

	if($data_analytics_center_woocommerce_pagination_position == 'Left'){

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

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

		$data_analytics_center_custom_css .='}';

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

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

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

		$data_analytics_center_custom_css .='}';

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

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

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

		$data_analytics_center_custom_css .='}';
	}

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

$data_analytics_center_first_color = get_theme_mod('data_analytics_center_first_color');
$data_analytics_center_second_color = get_theme_mod('data_analytics_center_second_color');

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

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

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

if ($data_analytics_center_second_color) {
  $data_analytics_center_custom_css .= ':root {';
  $data_analytics_center_custom_css .= '--second-color: ' . esc_attr($data_analytics_center_second_color) . ' !important;';
  $data_analytics_center_custom_css .= '} ';
}