<?php

$dentist_dental_care_custom_css = '';

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

	$dentist_dental_care_text_transform = get_theme_mod( 'menu_text_transform_dentist_dental_care','CAPITALISE');

    if($dentist_dental_care_text_transform == 'CAPITALISE'){

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

			$dentist_dental_care_custom_css .='text-transform: capitalize ; font-size: 15px;';

		$dentist_dental_care_custom_css .='}';

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

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

			$dentist_dental_care_custom_css .='text-transform: uppercase ; font-size: 15px;';

		$dentist_dental_care_custom_css .='}';

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

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

			$dentist_dental_care_custom_css .='text-transform: lowercase ; font-size: 15px;';

		$dentist_dental_care_custom_css .='}';
	}

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

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

    if($dentist_dental_care_menu_zoom == 'None'){

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

			$dentist_dental_care_custom_css .='';

		$dentist_dental_care_custom_css .='}';

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

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

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

		$dentist_dental_care_custom_css .='}';
	}

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

$dentist_dental_care_container_width = get_theme_mod('dentist_dental_care_container_width');

		$dentist_dental_care_custom_css .='body{';

			$dentist_dental_care_custom_css .='width: '.esc_attr($dentist_dental_care_container_width).'%; margin: auto';

		$dentist_dental_care_custom_css .='}';

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

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

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

			$dentist_dental_care_custom_css .='.blog_box{';

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

			$dentist_dental_care_custom_css .='}';


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

			$dentist_dental_care_custom_css .='.blog_box{';

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

			$dentist_dental_care_custom_css .='}';


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

			$dentist_dental_care_custom_css .='.blog_box{';

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

			$dentist_dental_care_custom_css .='}';

		}

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

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

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

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

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

		$dentist_dental_care_custom_css .='}';


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

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

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

		$dentist_dental_care_custom_css .='}';


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

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

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

		$dentist_dental_care_custom_css .='}';

	}

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

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

	if($dentist_dental_care_related_product_setting == false){

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

			$dentist_dental_care_custom_css .='display: none;';

		$dentist_dental_care_custom_css .='}';
	}

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

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

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

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

	$dentist_dental_care_slider_opacity_color = get_theme_mod( 'dentist_dental_care_slider_opacity_color','0.5');

	if($dentist_dental_care_slider_opacity_color == '0'){

		$dentist_dental_care_custom_css .='.blog_inner_box img{';

			$dentist_dental_care_custom_css .='opacity:0';

		$dentist_dental_care_custom_css .='}';

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

		$dentist_dental_care_custom_css .='.blog_inner_box img{';

			$dentist_dental_care_custom_css .='opacity:0.1';

		$dentist_dental_care_custom_css .='}';

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

		$dentist_dental_care_custom_css .='.blog_inner_box img{';

			$dentist_dental_care_custom_css .='opacity:0.2';

		$dentist_dental_care_custom_css .='}';

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

		$dentist_dental_care_custom_css .='.blog_inner_box img{';

			$dentist_dental_care_custom_css .='opacity:0.3';

		$dentist_dental_care_custom_css .='}';

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

		$dentist_dental_care_custom_css .='.blog_inner_box img{';

			$dentist_dental_care_custom_css .='opacity:0.4';

		$dentist_dental_care_custom_css .='}';

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

		$dentist_dental_care_custom_css .='.blog_inner_box img{';

			$dentist_dental_care_custom_css .='opacity:0.5';

		$dentist_dental_care_custom_css .='}';

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

		$dentist_dental_care_custom_css .='.blog_inner_box img{';

			$dentist_dental_care_custom_css .='opacity:0.6';

		$dentist_dental_care_custom_css .='}';

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

		$dentist_dental_care_custom_css .='.blog_inner_box img{';

			$dentist_dental_care_custom_css .='opacity:0.7';

		$dentist_dental_care_custom_css .='}';

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

		$dentist_dental_care_custom_css .='.blog_inner_box img{';

			$dentist_dental_care_custom_css .='opacity:0.8';

		$dentist_dental_care_custom_css .='}';

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

		$dentist_dental_care_custom_css .='.blog_inner_box img{';

			$dentist_dental_care_custom_css .='opacity:0.9';

		$dentist_dental_care_custom_css .='}';

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

		$dentist_dental_care_custom_css .='.blog_inner_box img{';

			$dentist_dental_care_custom_css .='opacity:unset';

		$dentist_dental_care_custom_css .='}';

		}

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

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

	if($dentist_dental_care_woocommerce_pagination_position == 'Left'){

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

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

		$dentist_dental_care_custom_css .='}';

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

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

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

		$dentist_dental_care_custom_css .='}';

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

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

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

		$dentist_dental_care_custom_css .='}';
	}

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

$dentist_dental_care_first_color = get_theme_mod('dentist_dental_care_first_color');
$dentist_dental_care_second_color = get_theme_mod('dentist_dental_care_second_color');

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

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

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

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