<?php

$influencer_marketing_custom_css = '';

	/*---------------------------Transform -------------------*/

	$influencer_marketing_text_transform = get_theme_mod( 'menu_text_transform_influencer_marketing','CAPITALISE');
	
    if($influencer_marketing_text_transform == 'CAPITALISE'){

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

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

		$influencer_marketing_custom_css .='}';

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

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

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

		$influencer_marketing_custom_css .='}';

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

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

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

		$influencer_marketing_custom_css .='}';
	}

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

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

		if($influencer_marketing_menu_zoom == 'None'){

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

				$influencer_marketing_custom_css .='';

			$influencer_marketing_custom_css .='}';

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

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

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

			$influencer_marketing_custom_css .='}';
		}

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

	$influencer_marketing_container_width = get_theme_mod('influencer_marketing_container_width');

			$influencer_marketing_custom_css .='body{';

				$influencer_marketing_custom_css .='width: '.esc_attr($influencer_marketing_container_width).'%; margin: auto;';

			$influencer_marketing_custom_css .='}';

		/*---------------------------Slider-content-alignment-------------------*/

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

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

			$influencer_marketing_custom_css .='.slider-content{';

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

			$influencer_marketing_custom_css .='}';


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

			$influencer_marketing_custom_css .='.slider-content{';

				$influencer_marketing_custom_css .='text-align:center; left: 5% !important;';

			$influencer_marketing_custom_css .='}';


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

			$influencer_marketing_custom_css .='.slider-content{';

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

			$influencer_marketing_custom_css .='}';

		}

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

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

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

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

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

		$influencer_marketing_custom_css .='}';


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

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

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

		$influencer_marketing_custom_css .='}';


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

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

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

		$influencer_marketing_custom_css .='}';

	}

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


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

	if($influencer_marketing_related_product_setting == false){

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

			$influencer_marketing_custom_css .='display: none;';

		$influencer_marketing_custom_css .='}';
	}

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

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

	if($influencer_marketing_scroll_top_position == 'Right'){

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

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

		$influencer_marketing_custom_css .='}';

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

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

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

		$influencer_marketing_custom_css .='}';

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

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

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

		$influencer_marketing_custom_css .='}';
	}

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


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

	if($influencer_marketing_pagination_setting == false){

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

			$influencer_marketing_custom_css .='display: none;';

		$influencer_marketing_custom_css .='}';
	}

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

	$influencer_marketing_slider_opacity_color = get_theme_mod( 'influencer_marketing_slider_opacity_color','0.1');

	if($influencer_marketing_slider_opacity_color == '0'){

		$influencer_marketing_custom_css .='#slider img.slide-outer-image{';

			$influencer_marketing_custom_css .='opacity:0';

		$influencer_marketing_custom_css .='}';

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

		$influencer_marketing_custom_css .='#slider img.slide-outer-image{';

			$influencer_marketing_custom_css .='opacity:0.1';

		$influencer_marketing_custom_css .='}';

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

		$influencer_marketing_custom_css .='#slider img.slide-outer-image{';

			$influencer_marketing_custom_css .='opacity:0.2';

		$influencer_marketing_custom_css .='}';

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

		$influencer_marketing_custom_css .='#slider img.slide-outer-image{';

			$influencer_marketing_custom_css .='opacity:0.3';

		$influencer_marketing_custom_css .='}';

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

		$influencer_marketing_custom_css .='#slider img.slide-outer-image{';

			$influencer_marketing_custom_css .='opacity:0.4';

		$influencer_marketing_custom_css .='}';

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

		$influencer_marketing_custom_css .='#slider img.slide-outer-image{';

			$influencer_marketing_custom_css .='opacity:0.5';

		$influencer_marketing_custom_css .='}';

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

		$influencer_marketing_custom_css .='#slider img.slide-outer-image{';

			$influencer_marketing_custom_css .='opacity:0.6';

		$influencer_marketing_custom_css .='}';

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

		$influencer_marketing_custom_css .='#slider img.slide-outer-image{';

			$influencer_marketing_custom_css .='opacity:0.7';

		$influencer_marketing_custom_css .='}';

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

		$influencer_marketing_custom_css .='#slider img.slide-outer-image{';

			$influencer_marketing_custom_css .='opacity:0.8';

		$influencer_marketing_custom_css .='}';

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

		$influencer_marketing_custom_css .='#slider img.slide-outer-image{';

			$influencer_marketing_custom_css .='opacity:0.9';

		$influencer_marketing_custom_css .='}';

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

		$influencer_marketing_custom_css .='#slider img.slide-outer-image{';

			$influencer_marketing_custom_css .='opacity: unset';

		$influencer_marketing_custom_css .='}';

		}

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

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

	if($influencer_marketing_woocommerce_pagination_position == 'Left'){

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

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

		$influencer_marketing_custom_css .='}';

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

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

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

		$influencer_marketing_custom_css .='}';

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

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

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

		$influencer_marketing_custom_css .='}';
	}

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

$influencer_marketing_first_color = get_theme_mod('influencer_marketing_first_color');
$influencer_marketing_second_color = get_theme_mod('influencer_marketing_second_color');

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

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

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

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