<?php


$web_hosting_lite_custom_css = '';

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

	$web_hosting_lite_text_transform = get_theme_mod( 'menu_text_transform_web_hosting_lite','UPPERCASE');
	
    if($web_hosting_lite_text_transform == 'CAPITALISE'){

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

			$web_hosting_lite_custom_css .='text-transform: capitalize ; font-size: 14px;';

		$web_hosting_lite_custom_css .='}';

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

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

			$web_hosting_lite_custom_css .='text-transform: uppercase ; font-size: 14px;';

		$web_hosting_lite_custom_css .='}';

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

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

			$web_hosting_lite_custom_css .='text-transform: lowercase ; font-size: 14px;';

		$web_hosting_lite_custom_css .='}';
	}

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

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

		if($web_hosting_lite_menu_zoom == 'None'){

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

				$web_hosting_lite_custom_css .='';

			$web_hosting_lite_custom_css .='}';

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

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

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

			$web_hosting_lite_custom_css .='}';
		}

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

$web_hosting_lite_container_width = get_theme_mod('web_hosting_lite_container_width');

		$web_hosting_lite_custom_css .='body,.page-template-frontpage #site-navigation{';

			$web_hosting_lite_custom_css .='width: '.esc_attr($web_hosting_lite_container_width).'%; margin: auto';

		$web_hosting_lite_custom_css .='}';

		/*---------------------------slider-content-------------------*/

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

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

				$web_hosting_lite_custom_css .='.blog_box{';

					$web_hosting_lite_custom_css .='text-align:left; left:10%; right:60%';

				$web_hosting_lite_custom_css .='}';


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

				$web_hosting_lite_custom_css .='.blog_box{';

					$web_hosting_lite_custom_css .='text-align:center; left:30%; right:30%';

				$web_hosting_lite_custom_css .='}';


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

				$web_hosting_lite_custom_css .='.blog_box{';

					$web_hosting_lite_custom_css .='text-align:left; left:55%; right:15%';

				$web_hosting_lite_custom_css .='}';

			}

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

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

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

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

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

		$web_hosting_lite_custom_css .='}';


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

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

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

		$web_hosting_lite_custom_css .='}';


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

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

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

		$web_hosting_lite_custom_css .='}';

	}

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


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

	if($web_hosting_lite_related_product_setting == false){

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

			$web_hosting_lite_custom_css .='display: none;';

		$web_hosting_lite_custom_css .='}';
	}

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

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

	if($web_hosting_lite_scroll_top_position == 'Right'){

		$web_hosting_lite_custom_css .='.scroll-up{';

			$web_hosting_lite_custom_css .='right: 20px;';

		$web_hosting_lite_custom_css .='}';

	}else if($web_hosting_lite_scroll_top_position == 'Left'){

		$web_hosting_lite_custom_css .='.scroll-up{';

			$web_hosting_lite_custom_css .='left: 20px;';

		$web_hosting_lite_custom_css .='}';

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

		$web_hosting_lite_custom_css .='.scroll-up{';

			$web_hosting_lite_custom_css .='right: 50%;left: 50%;';

		$web_hosting_lite_custom_css .='}';
	}

		/*---------------------------Pagination Settings-------------------*/


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

	if($web_hosting_lite_pagination_setting == false){

		$web_hosting_lite_custom_css .='.nav-links{';

			$web_hosting_lite_custom_css .='display: none;';

		$web_hosting_lite_custom_css .='}';
	}

	/*--------------------------- Slider Opacity -------------------*/

	$web_hosting_lite_slider_opacity_color = get_theme_mod( 'web_hosting_lite_slider_opacity_color','0.8');

	if($web_hosting_lite_slider_opacity_color == '0'){

		$web_hosting_lite_custom_css .='.blog_inner_box img{';

			$web_hosting_lite_custom_css .='opacity:0';

		$web_hosting_lite_custom_css .='}';

		}else if($web_hosting_lite_slider_opacity_color == '0.1'){

		$web_hosting_lite_custom_css .='.blog_inner_box img{';

			$web_hosting_lite_custom_css .='opacity:0.1';

		$web_hosting_lite_custom_css .='}';

		}else if($web_hosting_lite_slider_opacity_color == '0.2'){

		$web_hosting_lite_custom_css .='.blog_inner_box img{';

			$web_hosting_lite_custom_css .='opacity:0.2';

		$web_hosting_lite_custom_css .='}';

		}else if($web_hosting_lite_slider_opacity_color == '0.3'){

		$web_hosting_lite_custom_css .='.blog_inner_box img{';

			$web_hosting_lite_custom_css .='opacity:0.3';

		$web_hosting_lite_custom_css .='}';

		}else if($web_hosting_lite_slider_opacity_color == '0.4'){

		$web_hosting_lite_custom_css .='.blog_inner_box img{';

			$web_hosting_lite_custom_css .='opacity:0.4';

		$web_hosting_lite_custom_css .='}';

		}else if($web_hosting_lite_slider_opacity_color == '0.5'){

		$web_hosting_lite_custom_css .='.blog_inner_box img{';

			$web_hosting_lite_custom_css .='opacity:0.5';

		$web_hosting_lite_custom_css .='}';

		}else if($web_hosting_lite_slider_opacity_color == '0.6'){

		$web_hosting_lite_custom_css .='.blog_inner_box img{';

			$web_hosting_lite_custom_css .='opacity:0.6';

		$web_hosting_lite_custom_css .='}';

		}else if($web_hosting_lite_slider_opacity_color == '0.7'){

		$web_hosting_lite_custom_css .='.blog_inner_box img{';

			$web_hosting_lite_custom_css .='opacity:0.7';

		$web_hosting_lite_custom_css .='}';

		}else if($web_hosting_lite_slider_opacity_color == '0.8'){

		$web_hosting_lite_custom_css .='.blog_inner_box img{';

			$web_hosting_lite_custom_css .='opacity:0.8';

		$web_hosting_lite_custom_css .='}';

		}else if($web_hosting_lite_slider_opacity_color == '0.9'){

		$web_hosting_lite_custom_css .='.blog_inner_box img{';

			$web_hosting_lite_custom_css .='opacity:0.9';

		$web_hosting_lite_custom_css .='}';

		}else if($web_hosting_lite_slider_opacity_color == 'unset'){

		$web_hosting_lite_custom_css .='.blog_inner_box img{';

			$web_hosting_lite_custom_css .='opacity:unset';

		$web_hosting_lite_custom_css .='}';

		}

	/*---------------------------Woocommerce Pagination Alignment Settings-------------------*/

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

	if($web_hosting_lite_woocommerce_pagination_position == 'Left'){

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

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

		$web_hosting_lite_custom_css .='}';

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

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

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

		$web_hosting_lite_custom_css .='}';

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

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

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

		$web_hosting_lite_custom_css .='}';
	}

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

$web_hosting_lite_first_color = get_theme_mod('web_hosting_lite_first_color');
$web_hosting_lite_second_color = get_theme_mod('web_hosting_lite_second_color');
$web_hosting_lite_third_color = get_theme_mod('web_hosting_lite_third_color');

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

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

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

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

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

if ($web_hosting_lite_third_color) {
  $web_hosting_lite_custom_css .= ':root {';
  $web_hosting_lite_custom_css .= '--third-color: ' . esc_attr($web_hosting_lite_third_color) . ' !important;';
  $web_hosting_lite_custom_css .= '} ';
}