<?php


$dark_photography_custom_css = '';

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

	$dark_photography_text_transform = get_theme_mod( 'menu_text_transform_dark_photography','UPPERCASE');
    if($dark_photography_text_transform == 'CAPITALISE'){

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

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

		$dark_photography_custom_css .='}';

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

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

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

		$dark_photography_custom_css .='}';

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

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

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

		$dark_photography_custom_css .='}';
	}

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

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

		if($dark_photography_menu_zoom == 'None'){

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

				$dark_photography_custom_css .='';

			$dark_photography_custom_css .='}';

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

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

				$dark_photography_custom_css .='transition: all 0.3s ease-in-out !important; transform: scale(1.2) !important; color: #fff;';

			$dark_photography_custom_css .='}';
		}

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

	$dark_photography_container_width = get_theme_mod('dark_photography_container_width');

			$dark_photography_custom_css .='body,.page-template-frontpage #site-navigationn,#site-navigationn{';

				$dark_photography_custom_css .='width: '.esc_attr($dark_photography_container_width).'%; margin: 0 auto;';

			$dark_photography_custom_css .='}';

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


	$dark_photography_slider_content_alignment = get_theme_mod( 'dark_photography_slider_content_alignment','RIGHT-ALIGN');

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

			$dark_photography_custom_css .='.blog_box{';

				$dark_photography_custom_css .='text-align:left; right: 55%; left: 18%;';

			$dark_photography_custom_css .='}';


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

			$dark_photography_custom_css .='.blog_box{';

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

			$dark_photography_custom_css .='}';


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

			$dark_photography_custom_css .='.blog_box{';

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

			$dark_photography_custom_css .='}';

		}

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

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

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

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

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

		$dark_photography_custom_css .='}';


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

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

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

		$dark_photography_custom_css .='}';


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

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

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

		$dark_photography_custom_css .='}';

	}

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


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

	if($dark_photography_related_product_setting == false){

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

			$dark_photography_custom_css .='display: none;';

		$dark_photography_custom_css .='}';
	}

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

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

	if($dark_photography_scroll_top_position == 'Right'){

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

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

		$dark_photography_custom_css .='}';

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

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

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

		$dark_photography_custom_css .='}';

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

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

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

		$dark_photography_custom_css .='}';
	}

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


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

	if($dark_photography_pagination_setting == false){

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

			$dark_photography_custom_css .='display: none;';

		$dark_photography_custom_css .='}';
	}

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

	$dark_photography_slider_opacity_color = get_theme_mod( 'dark_photography_slider_opacity_color','0.4');

	if($dark_photography_slider_opacity_color == '0'){

		$dark_photography_custom_css .='.blog_inner_box img{';

			$dark_photography_custom_css .='opacity:0';

		$dark_photography_custom_css .='}';

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

		$dark_photography_custom_css .='.blog_inner_box img{';

			$dark_photography_custom_css .='opacity:0.1';

		$dark_photography_custom_css .='}';

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

		$dark_photography_custom_css .='.blog_inner_box img{';

			$dark_photography_custom_css .='opacity:0.2';

		$dark_photography_custom_css .='}';

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

		$dark_photography_custom_css .='.blog_inner_box img{';

			$dark_photography_custom_css .='opacity:0.3';

		$dark_photography_custom_css .='}';

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

		$dark_photography_custom_css .='.blog_inner_box img{';

			$dark_photography_custom_css .='opacity:0.4';

		$dark_photography_custom_css .='}';

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

		$dark_photography_custom_css .='.blog_inner_box img{';

			$dark_photography_custom_css .='opacity:0.5';

		$dark_photography_custom_css .='}';

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

		$dark_photography_custom_css .='.blog_inner_box img{';

			$dark_photography_custom_css .='opacity:0.6';

		$dark_photography_custom_css .='}';

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

		$dark_photography_custom_css .='.blog_inner_box img{';

			$dark_photography_custom_css .='opacity:0.7';

		$dark_photography_custom_css .='}';

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

		$dark_photography_custom_css .='.blog_inner_box img{';

			$dark_photography_custom_css .='opacity:0.8';

		$dark_photography_custom_css .='}';

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

		$dark_photography_custom_css .='.blog_inner_box img{';

			$dark_photography_custom_css .='opacity:0.9';

		$dark_photography_custom_css .='}';

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

		$dark_photography_custom_css .='.blog_inner_box img{';

			$dark_photography_custom_css .='opacity:unset';

		$dark_photography_custom_css .='}';

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

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

	if($dark_photography_woocommerce_pagination_position == 'Left'){

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

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

		$dark_photography_custom_css .='}';

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

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

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

		$dark_photography_custom_css .='}';

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

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

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

		$dark_photography_custom_css .='}';
	}

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

$dark_photography_first_color = get_theme_mod('dark_photography_first_color');

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

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