<?php


$ngo_disaster_relief_custom_css = '';

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

	$ngo_disaster_relief_text_transform = get_theme_mod( 'menu_text_transform_ngo_disaster_relief','CAPITALISE');
    if($ngo_disaster_relief_text_transform == 'CAPITALISE'){

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

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

		$ngo_disaster_relief_custom_css .='}';

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

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

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

		$ngo_disaster_relief_custom_css .='}';

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

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

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

		$ngo_disaster_relief_custom_css .='}';
	}

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

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

    if($ngo_disaster_relief_menu_zoom == 'Zoomout'){

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

			$ngo_disaster_relief_custom_css .='';

		$ngo_disaster_relief_custom_css .='}';

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

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

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

		$ngo_disaster_relief_custom_css .='}';
	}

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

$ngo_disaster_relief_container_width = get_theme_mod('ngo_disaster_relief_container_width');

		$ngo_disaster_relief_custom_css .='body{';

			$ngo_disaster_relief_custom_css .='width: '.esc_attr($ngo_disaster_relief_container_width).'%; margin: auto';

		$ngo_disaster_relief_custom_css .='}';

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

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

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

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

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

		$ngo_disaster_relief_custom_css .='}';


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

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

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

		$ngo_disaster_relief_custom_css .='}';


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

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

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

		$ngo_disaster_relief_custom_css .='}';

	}

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

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

	if($ngo_disaster_relief_related_product_setting == false){

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

			$ngo_disaster_relief_custom_css .='display: none;';

		$ngo_disaster_relief_custom_css .='}';
	}

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

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

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

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

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

	if($ngo_disaster_relief_woocommerce_pagination_position == 'Left'){

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

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

		$ngo_disaster_relief_custom_css .='}';

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

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

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

		$ngo_disaster_relief_custom_css .='}';

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

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

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

		$ngo_disaster_relief_custom_css .='}';
	}

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

$ngo_disaster_relief_first_color = get_theme_mod('ngo_disaster_relief_first_color');
$ngo_disaster_relief_second_color = get_theme_mod('ngo_disaster_relief_second_color');

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

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

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

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