<?php 

	$nikhar_spa_salon_custom_style = '';

	// Logo Size
	$nikhar_spa_salon_logo_top_padding = get_theme_mod('nikhar_spa_salon_logo_top_padding');
	$nikhar_spa_salon_logo_bottom_padding = get_theme_mod('nikhar_spa_salon_logo_bottom_padding');
	$nikhar_spa_salon_logo_left_padding = get_theme_mod('nikhar_spa_salon_logo_left_padding');
	$nikhar_spa_salon_logo_right_padding = get_theme_mod('nikhar_spa_salon_logo_right_padding');

	if( $nikhar_spa_salon_logo_top_padding != '' || $nikhar_spa_salon_logo_bottom_padding != '' || $nikhar_spa_salon_logo_left_padding != '' || $nikhar_spa_salon_logo_right_padding != ''){
		$nikhar_spa_salon_custom_style .=' .logo {';
			$nikhar_spa_salon_custom_style .=' padding-top: '.esc_attr($nikhar_spa_salon_logo_top_padding).'px; padding-bottom: '.esc_attr($nikhar_spa_salon_logo_bottom_padding).'px; padding-left: '.esc_attr($nikhar_spa_salon_logo_left_padding).'px; padding-right: '.esc_attr($nikhar_spa_salon_logo_right_padding).'px;';
		$nikhar_spa_salon_custom_style .=' }';
	}

	$nikhar_spa_salon_logo_size = get_theme_mod('nikhar_spa_salon_logo_size');
	if( $nikhar_spa_salon_logo_size != '' ) {
		if($nikhar_spa_salon_logo_size >= 0 && $nikhar_spa_salon_logo_size <= 100) {
			$calculated_width = $nikhar_spa_salon_logo_size * 3.5;
			$nikhar_spa_salon_custom_style .= ' .custom-logo-link img {';
			$nikhar_spa_salon_custom_style .= ' width: ' . esc_attr($calculated_width) . 'px;';
			$nikhar_spa_salon_custom_style .= ' }';
		}
	}

	// service section padding
	$nikhar_spa_salon_services_section_padding = get_theme_mod('nikhar_spa_salon_services_section_padding');

	if( $nikhar_spa_salon_services_section_padding != ''){
		$nikhar_spa_salon_custom_style .=' #our-services {';
			$nikhar_spa_salon_custom_style .=' padding-top: '.esc_attr($nikhar_spa_salon_services_section_padding).'px; padding-bottom: '.esc_attr($nikhar_spa_salon_services_section_padding).'px;';
		$nikhar_spa_salon_custom_style .=' }';
	}

	// Site Title Font Size
	$nikhar_spa_salon_site_title_font_size = get_theme_mod('nikhar_spa_salon_site_title_font_size');
	if( $nikhar_spa_salon_site_title_font_size != ''){
		$nikhar_spa_salon_custom_style .=' .logo h1.site-title, .logo p.site-title {';
			$nikhar_spa_salon_custom_style .=' font-size: '.esc_attr($nikhar_spa_salon_site_title_font_size).'px;';
		$nikhar_spa_salon_custom_style .=' }';
	}

	$nikhar_spa_salon_site_title_color = get_theme_mod('nikhar_spa_salon_site_title_color');
	if ( $nikhar_spa_salon_site_title_color != '') {
		$nikhar_spa_salon_custom_style .=' .logo p.site-title a {';
			$nikhar_spa_salon_custom_style .=' color:'.esc_attr($nikhar_spa_salon_site_title_color).';';
		$nikhar_spa_salon_custom_style .=' }';
	}

	// Site Tagline Font Size
	$nikhar_spa_salon_site_tagline_font_size = get_theme_mod('nikhar_spa_salon_site_tagline_font_size');
	if( $nikhar_spa_salon_site_tagline_font_size != ''){
		$nikhar_spa_salon_custom_style .=' .logo p.site-description {';
			$nikhar_spa_salon_custom_style .=' font-size: '.esc_attr($nikhar_spa_salon_site_tagline_font_size).'px;';
		$nikhar_spa_salon_custom_style .=' }';
	}

	$nikhar_spa_salon_site_tagline_color = get_theme_mod('nikhar_spa_salon_site_tagline_color');
	if ( $nikhar_spa_salon_site_tagline_color != '') {
		$nikhar_spa_salon_custom_style .=' p.site-description {';
			$nikhar_spa_salon_custom_style .=' color:'.esc_attr($nikhar_spa_salon_site_tagline_color).';';
		$nikhar_spa_salon_custom_style .=' }';
	}

	// Footer Css
	$nikhar_spa_salon_copyright_padding = get_theme_mod('nikhar_spa_salon_copyright_padding');

	if( $nikhar_spa_salon_copyright_padding != ''){
		$nikhar_spa_salon_custom_style .=' .site-info {';
			$nikhar_spa_salon_custom_style .=' padding-top: '.esc_attr($nikhar_spa_salon_copyright_padding).'px; padding-bottom: '.esc_attr($nikhar_spa_salon_copyright_padding).'px;';
		$nikhar_spa_salon_custom_style .=' }';
	}

	$nikhar_spa_salon_copyright_font_size = get_theme_mod('nikhar_spa_salon_copyright_font_size');

	if( $nikhar_spa_salon_copyright_font_size != ''){
		$nikhar_spa_salon_custom_style .=' .copyright p, .copyright a {';
			$nikhar_spa_salon_custom_style .=' font-size: '.esc_attr($nikhar_spa_salon_copyright_font_size).'px;';
		$nikhar_spa_salon_custom_style .=' }';
	}

	$nikhar_spa_salon_copyright_color = get_theme_mod('nikhar_spa_salon_copyright_color');

	if ( $nikhar_spa_salon_copyright_color != '') {
		$nikhar_spa_salon_custom_style .=' .copyright p, .copyright a {';
			$nikhar_spa_salon_custom_style .=' color:'.esc_attr($nikhar_spa_salon_copyright_color).';';
		$nikhar_spa_salon_custom_style .=' }';
	}

	$nikhar_spa_salon_copyrightbg_color = get_theme_mod('nikhar_spa_salon_copyrightbg_color');

	if ( $nikhar_spa_salon_copyrightbg_color != '') {
		$nikhar_spa_salon_custom_style .=' .copyright {';
			$nikhar_spa_salon_custom_style .=' background-color:'.esc_attr($nikhar_spa_salon_copyrightbg_color).';';
		$nikhar_spa_salon_custom_style .=' }';
	}

	$nikhar_spa_salon_footer_widgets_color = get_theme_mod('nikhar_spa_salon_footer_widgets_color');

	if ( $nikhar_spa_salon_footer_widgets_color != '') {
		$nikhar_spa_salon_custom_style .=' .site-footer h3.widget-title {';
			$nikhar_spa_salon_custom_style .=' color:'.esc_attr($nikhar_spa_salon_footer_widgets_color).';';
		$nikhar_spa_salon_custom_style .=' }';
	}

	$nikhar_spa_salon_footer_widgets_text_color = get_theme_mod('nikhar_spa_salon_footer_widgets_text_color');

	if ( $nikhar_spa_salon_footer_widgets_text_color != '') {
		$nikhar_spa_salon_custom_style .=' .widget ul li a, .site-footer .widget-area ul li a, .site-footer .widget-area ul li a {';
			$nikhar_spa_salon_custom_style .=' color:'.esc_attr($nikhar_spa_salon_footer_widgets_text_color).';';
		$nikhar_spa_salon_custom_style .=' }';
	}

	// front page inner page
	$nikhar_spa_salon_slider_hide_show = get_theme_mod('nikhar_spa_salon_slider_hide_show',false);
	if( $nikhar_spa_salon_slider_hide_show == true){
		$nikhar_spa_salon_custom_style .=' .page-template-custom-home-page #inner-pages-header {';
			$nikhar_spa_salon_custom_style .=' display:none;';
		$nikhar_spa_salon_custom_style .=' }';
	}

	//Top color
	$nikhar_spa_salon_toptext_color = get_theme_mod('nikhar_spa_salon_toptext_color');

	if ( $nikhar_spa_salon_toptext_color != '') {
		$nikhar_spa_salon_custom_style .=' #top-header p.phone, .call p a {';
			$nikhar_spa_salon_custom_style .=' color:'.esc_attr($nikhar_spa_salon_toptext_color).';';
		$nikhar_spa_salon_custom_style .=' }';
	}

	$nikhar_spa_salon_topbg_color1 = get_theme_mod('nikhar_spa_salon_topbg_color1');
	$nikhar_spa_salon_topbg_color2 = get_theme_mod('nikhar_spa_salon_topbg_color2');

	if ( $nikhar_spa_salon_topbg_color1 != '') {
		$nikhar_spa_salon_custom_style .=' #top-header .top {';
			$nikhar_spa_salon_custom_style .=' background: rgba(0, 0, 0, 0) linear-gradient(120deg, '.esc_attr($nikhar_spa_salon_topbg_color1).' 85%, '.esc_attr($nikhar_spa_salon_topbg_color2).' 25%) repeat scroll 0 0;';
		$nikhar_spa_salon_custom_style .=' }';
	}

	$nikhar_spa_salon_topmenu_color = get_theme_mod('nikhar_spa_salon_topmenu_color');

	if ( $nikhar_spa_salon_topmenu_color != '') {
		$nikhar_spa_salon_custom_style .=' .nav-menu ul li a {';
			$nikhar_spa_salon_custom_style .=' color:'.esc_attr($nikhar_spa_salon_topmenu_color).';';
		$nikhar_spa_salon_custom_style .=' }';
	}

	$nikhar_spa_salon_topmenubg_color = get_theme_mod('nikhar_spa_salon_topmenubg_color');

	if ( $nikhar_spa_salon_topmenubg_color != '') {
		$nikhar_spa_salon_custom_style .=' #header .main-top {';
			$nikhar_spa_salon_custom_style .=' background-color:'.esc_attr($nikhar_spa_salon_topmenubg_color).';';
		$nikhar_spa_salon_custom_style .=' }';
	}

	//Menu animation
	$nikhar_spa_salon_dropdown_anim = get_theme_mod('nikhar_spa_salon_dropdown_anim');

	if ( $nikhar_spa_salon_dropdown_anim != '') {
		$nikhar_spa_salon_custom_style .=' .nav-menu ul ul {';
			$nikhar_spa_salon_custom_style .=' animation:'.esc_attr($nikhar_spa_salon_dropdown_anim).' 1s ease;';
		$nikhar_spa_salon_custom_style .=' }';
	}

	//Social color
	$nikhar_spa_salon_social_color = get_theme_mod('nikhar_spa_salon_social_color');

	if ( $nikhar_spa_salon_social_color != '') {
		$nikhar_spa_salon_custom_style .=' #top-header .social-icons i{';
			$nikhar_spa_salon_custom_style .=' color:'.esc_attr($nikhar_spa_salon_social_color).';';
		$nikhar_spa_salon_custom_style .=' }';
	}

	$nikhar_spa_salon_socialbdr_color = get_theme_mod('nikhar_spa_salon_socialbdr_color');

	if ( $nikhar_spa_salon_socialbdr_color != '') {
		$nikhar_spa_salon_custom_style .=' #top-header .social-icons i{';
			$nikhar_spa_salon_custom_style .=' border-color:'.esc_attr($nikhar_spa_salon_socialbdr_color).';';
		$nikhar_spa_salon_custom_style .=' }';
	}

	//Slider color
	$nikhar_spa_salon_slider_title_font_size = get_theme_mod('nikhar_spa_salon_slider_title_font_size');

	if( $nikhar_spa_salon_slider_title_font_size != ''){
		$nikhar_spa_salon_custom_style .=' #slider .inner_carousel h1 {';
			$nikhar_spa_salon_custom_style .=' font-size: '.esc_attr($nikhar_spa_salon_slider_title_font_size).'px;';
		$nikhar_spa_salon_custom_style .=' }';
	}

	$nikhar_spa_salon_slider_text_font_size = get_theme_mod('nikhar_spa_salon_slider_text_font_size');

	if( $nikhar_spa_salon_slider_text_font_size != ''){
		$nikhar_spa_salon_custom_style .=' #slider .inner_carousel p {';
			$nikhar_spa_salon_custom_style .=' font-size: '.esc_attr($nikhar_spa_salon_slider_text_font_size).'px;';
		$nikhar_spa_salon_custom_style .=' }';
	}

	$nikhar_spa_salon_slider_color = get_theme_mod('nikhar_spa_salon_slider_color');

	if ( $nikhar_spa_salon_slider_color != '') {
		$nikhar_spa_salon_custom_style .=' #slider .inner_carousel h1{';
			$nikhar_spa_salon_custom_style .=' color:'.esc_attr($nikhar_spa_salon_slider_color).';';
		$nikhar_spa_salon_custom_style .=' }';
	}

	$nikhar_spa_salon_slidertext_color = get_theme_mod('nikhar_spa_salon_slidertext_color');

	if ( $nikhar_spa_salon_slidertext_color != '') {
		$nikhar_spa_salon_custom_style .=' #slider .inner_carousel p{';
			$nikhar_spa_salon_custom_style .=' color:'.esc_attr($nikhar_spa_salon_slidertext_color).';';
		$nikhar_spa_salon_custom_style .=' }';
	}

	$nikhar_spa_salon_sliderbtn_color = get_theme_mod('nikhar_spa_salon_sliderbtn_color');
	$nikhar_spa_salon_sliderbtnbg_color = get_theme_mod('nikhar_spa_salon_sliderbtnbg_color');

	if ( $nikhar_spa_salon_sliderbtn_color != '') {
		$nikhar_spa_salon_custom_style .=' #slider .read-btn a.blogbutton-small{';
			$nikhar_spa_salon_custom_style .=' color:'.esc_attr($nikhar_spa_salon_sliderbtn_color).'; background-color:'.esc_attr($nikhar_spa_salon_sliderbtnbg_color).';';
		$nikhar_spa_salon_custom_style .=' }';
	}

	//Service color
	$nikhar_spa_salon_servicebg_color = get_theme_mod('nikhar_spa_salon_servicebg_color');

	if ( $nikhar_spa_salon_servicebg_color != '') {
		$nikhar_spa_salon_custom_style .=' #our-services{';
			$nikhar_spa_salon_custom_style .=' background-color:'.esc_attr($nikhar_spa_salon_servicebg_color).';';
		$nikhar_spa_salon_custom_style .=' }';
	}

	$nikhar_spa_salon_our_services_title_font_size = get_theme_mod('nikhar_spa_salon_our_services_title_font_size');

	if( $nikhar_spa_salon_our_services_title_font_size != ''){
		$nikhar_spa_salon_custom_style .=' #our-services h2 {';
			$nikhar_spa_salon_custom_style .=' font-size: '.esc_attr($nikhar_spa_salon_our_services_title_font_size).'px;';
		$nikhar_spa_salon_custom_style .=' }';
	}

	$nikhar_spa_salon_services_subtitle_font_size = get_theme_mod('nikhar_spa_salon_services_subtitle_font_size');

	if( $nikhar_spa_salon_services_subtitle_font_size != ''){
		$nikhar_spa_salon_custom_style .=' #our-services .service-title p {';
			$nikhar_spa_salon_custom_style .=' font-size: '.esc_attr($nikhar_spa_salon_services_subtitle_font_size).'px;';
		$nikhar_spa_salon_custom_style .=' }';
	}

	$nikhar_spa_salon_services_post_title_font_size = get_theme_mod('nikhar_spa_salon_services_post_title_font_size');

	if( $nikhar_spa_salon_services_post_title_font_size != ''){
		$nikhar_spa_salon_custom_style .=' #our-services h3 {';
			$nikhar_spa_salon_custom_style .=' font-size: '.esc_attr($nikhar_spa_salon_services_post_title_font_size).'px;';
		$nikhar_spa_salon_custom_style .=' }';
	}

	$nikhar_spa_salon_services_post_text_font_size = get_theme_mod('nikhar_spa_salon_services_post_text_font_size');

	if( $nikhar_spa_salon_services_post_text_font_size != ''){
		$nikhar_spa_salon_custom_style .=' #our-services p {';
			$nikhar_spa_salon_custom_style .=' font-size: '.esc_attr($nikhar_spa_salon_services_post_text_font_size).'px;';
		$nikhar_spa_salon_custom_style .=' }';
	}

	$nikhar_spa_salon_img_hight = get_theme_mod('nikhar_spa_salon_img_hight');

	if( $nikhar_spa_salon_img_hight != ''){
		$nikhar_spa_salon_custom_style .=' .image-section .service-img img {';
			$nikhar_spa_salon_custom_style .=' width: '.esc_attr($nikhar_spa_salon_img_hight).'px; height: '.esc_attr($nikhar_spa_salon_img_hight).'px;';
		$nikhar_spa_salon_custom_style .=' }';
	}

	$nikhar_spa_salon_serviceheading_color = get_theme_mod('nikhar_spa_salon_serviceheading_color');

	if ( $nikhar_spa_salon_serviceheading_color != '') {
		$nikhar_spa_salon_custom_style .=' #our-services h2{';
			$nikhar_spa_salon_custom_style .=' color:'.esc_attr($nikhar_spa_salon_serviceheading_color).';';
		$nikhar_spa_salon_custom_style .=' }';
	}

	$nikhar_spa_salon_servicesubheading_color = get_theme_mod('nikhar_spa_salon_servicesubheading_color');

	if ( $nikhar_spa_salon_servicesubheading_color != '') {
		$nikhar_spa_salon_custom_style .=' #our-services .service-title p{';
			$nikhar_spa_salon_custom_style .=' color:'.esc_attr($nikhar_spa_salon_servicesubheading_color).';';
		$nikhar_spa_salon_custom_style .=' }';
	}

	$nikhar_spa_salon_servicetitle_color = get_theme_mod('nikhar_spa_salon_servicetitle_color');

	if ( $nikhar_spa_salon_servicetitle_color != '') {
		$nikhar_spa_salon_custom_style .=' #our-services h3 a{';
			$nikhar_spa_salon_custom_style .=' color:'.esc_attr($nikhar_spa_salon_servicetitle_color).';';
		$nikhar_spa_salon_custom_style .=' }';
	}

	$nikhar_spa_salon_servicetext_color = get_theme_mod('nikhar_spa_salon_servicetext_color');

	if ( $nikhar_spa_salon_servicetext_color != '') {
		$nikhar_spa_salon_custom_style .=' #our-services .content p{';
			$nikhar_spa_salon_custom_style .=' color:'.esc_attr($nikhar_spa_salon_servicetext_color).';';
		$nikhar_spa_salon_custom_style .=' }';
	}