<?php

	$swimming_pool_cleaning_first_color = get_theme_mod('swimming_pool_cleaning_first_color');

	$swimming_pool_cleaning_custom_css ='';

	/*------------------ Global First Color -----------*/
	$swimming_pool_cleaning_custom_css .='.logo, .book-btn, #slider .carousel-control-prev i, .slide-button a, .footer-wp h3:after, .woocommerce a.button, .footer-wp input[type="submit"], .footer-wp button, .primary-navigation ul ul a, #sidebar button, #sidebar button:hover, .metabox i:before, .postbtn a, .bradcrumbs a, .bradcrumbs span, .nav-previous a, .nav-next a, #comments input[type="submit"].submit, .footer-wp button:hover, .woocommerce button.button, .woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled], .woocommerce a.button.alt, .woocommerce button.button.alt, nav.woocommerce-MyAccount-navigation ul li, .woocommerce span.onsale, .woocommerce #respond input#submit, #slider .carousel-control-next i, .service-icon:before, .tags a:hover, #sidebar ul li:before, a.added_to_cart.wc-forward, .woocommerce nav.woocommerce-pagination ul li span.current, .woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li a:hover, .pagination .current, #sidebar input[type="submit"], .widget_calendar tbody a, #comments a.comment-reply-link, .page-links .post-page-numbers.current span, input[type="submit"], input[type="submit"]:hover, #sidebar .widget_block .wp-block-tag-cloud a:hover, .content_box .tag-test-tag .wp-block-tag-cloud a:hover, #sidebar .tagcloud a:hover, .wp-block-woocommerce-cart .wc-block-components-totals-coupon a, .wp-block-woocommerce-cart .wc-block-cart__submit-container a, .wp-block-woocommerce-checkout .wc-block-components-totals-coupon a, .wp-block-woocommerce-checkout .wc-block-checkout__actions_row a, .wp-block-woocommerce-empty-cart-block .wp-block-button a{';
			$swimming_pool_cleaning_custom_css .='background-color: '.esc_attr($swimming_pool_cleaning_first_color).';';
	$swimming_pool_cleaning_custom_css .='}';

	$swimming_pool_cleaning_custom_css .='.new-text a, a:hover, .middle-header i, .footer-wp h3, .category span, .category a:hover, .tags, p.logged-in-as a, td.product-name a, .woocommerce .quantity .qty, .new-text p a, #sidebar ul li a:hover, .pagination a:hover, .widget_calendar caption, #sidebar h3.widget-title a.rsswidget, #comments a time, .page-links a:hover, #comments a, .woocommerce span.posted_in, .yith-wcwl-add-to-wishlist a i, .related-inner-box h4 a, .wp-calendar-nav span a, .wp-block-latest-comments a {';
			$swimming_pool_cleaning_custom_css .='color: '.esc_attr($swimming_pool_cleaning_first_color).'!important;';
	$swimming_pool_cleaning_custom_css .='}';

	$swimming_pool_cleaning_custom_css .='#scrollbutton, .copyright-wrapper, .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-onsale, .woocommerce span.posted_in a {';
			$swimming_pool_cleaning_custom_css .='background-color: '.esc_attr($swimming_pool_cleaning_first_color).'!important;';
	$swimming_pool_cleaning_custom_css .='}';

	$swimming_pool_cleaning_custom_css .='.footer-wp .tagcloud a:hover, .single-post-page .category a{';
		$swimming_pool_cleaning_custom_css .='background: '.esc_attr($swimming_pool_cleaning_first_color).'!important;';
	$swimming_pool_cleaning_custom_css .='}';

	$swimming_pool_cleaning_custom_css .='#scrollbutton, .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-onsale, .yith-wcwl-add-to-wishlist a i, .wp-block-button__link {';
			$swimming_pool_cleaning_custom_css .='border-color: '.esc_attr($swimming_pool_cleaning_first_color).'!important;';
	$swimming_pool_cleaning_custom_css .='}';

	$swimming_pool_cleaning_custom_css .='#scrollbutton, .related-inner-box, .woocommerce nav.woocommerce-pagination ul li span.current, .woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li a:hover, .wp-block-woocommerce-empty-cart-block .wp-block-button a{';
			$swimming_pool_cleaning_custom_css .='border-color: '.esc_attr($swimming_pool_cleaning_first_color).';';
	$swimming_pool_cleaning_custom_css .='}';

	$swimming_pool_cleaning_custom_css .='
	@media screen and (max-width:1000px) {
		.toggle-menu i{';
			$swimming_pool_cleaning_custom_css .='background-color: '.esc_attr($swimming_pool_cleaning_first_color).';';
	$swimming_pool_cleaning_custom_css .='} }';

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

	$swimming_pool_cleaning_second_color = get_theme_mod('swimming_pool_cleaning_second_color');
	$swimming_pool_cleaning_custom_css .='.topbar:after, .bottom-header, .postbtn:hover a, #comments input[type="submit"].submit:hover, .bradcrumbs a:hover, .bradcrumbs span:hover, .woocommerce .product a.button:hover, .woocommerce button.button.alt:hover, .slide-button a:hover, .woocommerce button.button:hover, .woocommerce button.button:hover, .woocommerce button.button:disabled:hover, .woocommerce button.button:disabled[disabled]:hover, .woocommerce a.button.alt:hover, .woocommerce #respond input#submit:hover, .wp-block-woocommerce-cart .wc-block-components-totals-coupon a:hover, .wp-block-woocommerce-cart .wc-block-cart__submit-container a:hover, .wp-block-woocommerce-checkout .wc-block-components-totals-coupon a:hover, .wp-block-woocommerce-checkout .wc-block-checkout__actions_row a:hover{';
			$swimming_pool_cleaning_custom_css .='background-color: '.esc_attr($swimming_pool_cleaning_second_color).';';
	$swimming_pool_cleaning_custom_css .='}';

	$swimming_pool_cleaning_second_color = get_theme_mod('swimming_pool_cleaning_second_color');
	$swimming_pool_cleaning_custom_css .='.single-post-page .category a:hover{';
			$swimming_pool_cleaning_custom_css .='background-color: '.esc_attr($swimming_pool_cleaning_second_color).'!important;';
	$swimming_pool_cleaning_custom_css .='}';

	$swimming_pool_cleaning_custom_css .='#service-section p, .service-icon i{';
			$swimming_pool_cleaning_custom_css .='color: '.esc_attr($swimming_pool_cleaning_second_color).';';
	$swimming_pool_cleaning_custom_css .='}';

	$swimming_pool_cleaning_custom_css .='.wp-block-woocommerce-empty-cart-block .wp-block-button a:hover{';
			$swimming_pool_cleaning_custom_css .='background-color: '.esc_attr($swimming_pool_cleaning_second_color).'!important;';
	$swimming_pool_cleaning_custom_css .='}';

	$swimming_pool_cleaning_custom_css .='.wp-block-woocommerce-empty-cart-block .wp-block-button a:hover{';
			$swimming_pool_cleaning_custom_css .='border-color: '.esc_attr($swimming_pool_cleaning_second_color).'!important;';
	$swimming_pool_cleaning_custom_css .='}';

	/*---------------------------Width Layout -------------------*/
	$swimming_pool_cleaning_theme_lay = get_theme_mod( 'swimming_pool_cleaning_width_layout_options','Default');
    if($swimming_pool_cleaning_theme_lay == 'Default'){
		$swimming_pool_cleaning_custom_css .='body{';
			$swimming_pool_cleaning_custom_css .='max-width: 100%;';
		$swimming_pool_cleaning_custom_css .='}';
	}else if($swimming_pool_cleaning_theme_lay == 'Container Layout'){
		$swimming_pool_cleaning_custom_css .='body{';
			$swimming_pool_cleaning_custom_css .='width: 100%;padding-right: 15px;padding-left: 15px;margin-right: auto;margin-left: auto;';
		$swimming_pool_cleaning_custom_css .='}';
	}else if($swimming_pool_cleaning_theme_lay == 'Box Layout'){
		$swimming_pool_cleaning_custom_css .='body{';
			$swimming_pool_cleaning_custom_css .='max-width: 1140px; width: 100%; padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto;';
		$swimming_pool_cleaning_custom_css .='}';
	}

	/*-------------- Footer Text -------------------*/
	$swimming_pool_cleaning_footer_text_align = get_theme_mod('swimming_pool_cleaning_footer_text_align');
	$swimming_pool_cleaning_custom_css .='.copyright-wrapper{';
		$swimming_pool_cleaning_custom_css .='text-align: '.esc_attr($swimming_pool_cleaning_footer_text_align).';';
	$swimming_pool_cleaning_custom_css .='}';
	$swimming_pool_cleaning_custom_css .='
	@media screen and (max-width:575px) {
		.copyright-wrapper{';
			$swimming_pool_cleaning_custom_css .='text-align: center;'.esc_attr($swimming_pool_cleaning_footer_text_align).'';
	$swimming_pool_cleaning_custom_css .='} }';

	$swimming_pool_cleaning_footer_text_padding = get_theme_mod('swimming_pool_cleaning_footer_text_padding');
	$swimming_pool_cleaning_custom_css .='.copyright-wrapper{';
		$swimming_pool_cleaning_custom_css .='padding-top: '.esc_attr($swimming_pool_cleaning_footer_text_padding).'px !important; padding-bottom: '.esc_attr($swimming_pool_cleaning_footer_text_padding).'px !important;';
	$swimming_pool_cleaning_custom_css .='}';

	$swimming_pool_cleaning_footer_bg_color = get_theme_mod('swimming_pool_cleaning_footer_bg_color');
	$swimming_pool_cleaning_custom_css .='.footer-wp{';
		$swimming_pool_cleaning_custom_css .='background-color: '.esc_attr($swimming_pool_cleaning_footer_bg_color).';';
	$swimming_pool_cleaning_custom_css .='}';

	$swimming_pool_cleaning_footer_bg_image = get_theme_mod('swimming_pool_cleaning_footer_bg_image');
	if($swimming_pool_cleaning_footer_bg_image != false){
		$swimming_pool_cleaning_custom_css .='.footer-wp{';
			$swimming_pool_cleaning_custom_css .='background: url('.esc_attr($swimming_pool_cleaning_footer_bg_image).'); background-size: cover;';
		$swimming_pool_cleaning_custom_css .='}';
	}

	// footer heading font size
	$swimming_pool_cleaning_footer_heading_font_size = get_theme_mod('swimming_pool_cleaning_footer_heading_font_size');
	$swimming_pool_cleaning_custom_css .='.footer-wp h3{';
		$swimming_pool_cleaning_custom_css .='font-size: '.esc_attr($swimming_pool_cleaning_footer_heading_font_size).'px;';
	$swimming_pool_cleaning_custom_css .='}';

	$swimming_pool_cleaning_footer_heading_font_weight = get_theme_mod( 'swimming_pool_cleaning_footer_heading_font_weight','500');
	if($swimming_pool_cleaning_footer_heading_font_weight != ''){
		$swimming_pool_cleaning_custom_css .='.footer-wp h3, .footer-wp .wp-block-heading{';
			$swimming_pool_cleaning_custom_css .='font-weight: '.esc_attr($swimming_pool_cleaning_footer_heading_font_weight).';';
		$swimming_pool_cleaning_custom_css .='}';
	}

	$swimming_pool_cleaning_theme_lay = get_theme_mod( 'swimming_pool_cleaning_footer_text_tranform','Capitalize');
    if($swimming_pool_cleaning_theme_lay == 'Uppercase'){
		$swimming_pool_cleaning_custom_css .='.footer-wp h3{';
			$swimming_pool_cleaning_custom_css .='text-transform: uppercase;';
		$swimming_pool_cleaning_custom_css .='}';
	}else if($swimming_pool_cleaning_theme_lay == 'Lowercase'){
		$swimming_pool_cleaning_custom_css .='.footer-wp h3{';
			$swimming_pool_cleaning_custom_css .='text-transform: lowercase;';
		$swimming_pool_cleaning_custom_css .='}';
	}
	else if($swimming_pool_cleaning_theme_lay == 'Capitalize'){
		$swimming_pool_cleaning_custom_css .='.footer-wp h3{';
			$swimming_pool_cleaning_custom_css .='text-transform: capitalize;';
		$swimming_pool_cleaning_custom_css .='}';
	}


    // footer image position
	$swimming_pool_cleaning_footer_img_position = get_theme_mod('swimming_pool_cleaning_footer_img_position','center center');
	if($swimming_pool_cleaning_footer_img_position != false){
		$swimming_pool_cleaning_custom_css .='.footer-wp{';
			$swimming_pool_cleaning_custom_css .='background-position: '.esc_attr($swimming_pool_cleaning_footer_img_position).'!important;';
		$swimming_pool_cleaning_custom_css .='}';
	}		

	// Footer Attatchment
	$swimming_pool_cleaning_theme_lay = get_theme_mod( 'swimming_pool_cleaning_footer_attatchment','scroll');
	if($swimming_pool_cleaning_theme_lay == 'fixed'){
		$swimming_pool_cleaning_custom_css .='.footer-wp{';
			$swimming_pool_cleaning_custom_css .='background-attachment: fixed;';
		$swimming_pool_cleaning_custom_css .='}';
	}elseif ($swimming_pool_cleaning_theme_lay == 'scroll'){
		$swimming_pool_cleaning_custom_css .='.footer-wp{';
			$swimming_pool_cleaning_custom_css .='background-attachment: scroll;';
		$swimming_pool_cleaning_custom_css .='}';
	}

	// footer padding
	$swimming_pool_cleaning_footer_padding = get_theme_mod('swimming_pool_cleaning_footer_padding');
	$swimming_pool_cleaning_custom_css .='.footer-wp{';
		$swimming_pool_cleaning_custom_css .='padding: '.esc_attr($swimming_pool_cleaning_footer_padding).'px;';
	$swimming_pool_cleaning_custom_css .='}';

	$swimming_pool_cleaning_copyright_text_font_size = get_theme_mod('swimming_pool_cleaning_copyright_text_font_size', 15);
	$swimming_pool_cleaning_custom_css .='.copyright-wrapper p, .copyright-wrapper a{';
		$swimming_pool_cleaning_custom_css .='font-size: '.esc_attr($swimming_pool_cleaning_copyright_text_font_size).'px;';
	$swimming_pool_cleaning_custom_css .='}';

   //Footer Style 
	$swimming_pool_cleaning_theme_lay = get_theme_mod( 'swimming_pool_cleaning_footer_template','swimming_pool_cleaning-footer-one');
    if($swimming_pool_cleaning_theme_lay == 'swimming_pool_cleaning-footer-one'){
		$swimming_pool_cleaning_custom_css .='.footer-wp{';
			$swimming_pool_cleaning_custom_css .='';
		$swimming_pool_cleaning_custom_css .='}';

	}else if($swimming_pool_cleaning_theme_lay == 'swimming_pool_cleaning-footer-two'){
		$swimming_pool_cleaning_custom_css .='.footer-wp {';
			$swimming_pool_cleaning_custom_css .='background: #E3F2FD !important;';
		$swimming_pool_cleaning_custom_css .='}';
		$swimming_pool_cleaning_custom_css .='.footer-wp p,.footer-wp span,.footer-wp li a,.footer-wp #wp-calendar caption,.footer-wp #wp-calendar td,.footer-wp #wp-calendar th, .footer-wp, .footer-wp h3, .footer-wp a.rsswidget, .footer-wp #wp-calendar a, .copyright a, .footer-wp .custom_details, .footer-wp ins span, .footer-wp .tagcloud a, .main-inner-box span.entry-date a, nav.woocommerce-MyAccount-navigation ul li:hover a, .footer-wp ul li a, .footer-wp table, .footer-wp th, .footer-wp td, .footer-wp caption, #sidebar caption,.footer-wp nav.wp-calendar-nav a,.footer-wp .search-form .search-field, .footer-wp .rssSummary, .footer-wp ul li{';
			$swimming_pool_cleaning_custom_css .='color:#000 !important;';
		$swimming_pool_cleaning_custom_css .='}';
		$swimming_pool_cleaning_custom_css .='.footer-wp p{';
			$swimming_pool_cleaning_custom_css .='color:#000 !important;';
		$swimming_pool_cleaning_custom_css .='}';
		$swimming_pool_cleaning_custom_css .='.footer-wp ul li::before{';
			$swimming_pool_cleaning_custom_css .='background:#000;';
		$swimming_pool_cleaning_custom_css .='}';
		$swimming_pool_cleaning_custom_css .='.footer-wp table, .footer-wp th, .footer-wp td,.footer-wp.search-form .search-field,.footer-wp .tagcloud a{';
			$swimming_pool_cleaning_custom_css .='border: 1px solid #000;';
		$swimming_pool_cleaning_custom_css .='}';

	}else if($swimming_pool_cleaning_theme_lay == 'swimming_pool_cleaning-footer-three'){
		$swimming_pool_cleaning_custom_css .='.footer-wp {';
			$swimming_pool_cleaning_custom_css .='background: #0A0A1F !important;;';
		$swimming_pool_cleaning_custom_css .='}';
	}
	else if($swimming_pool_cleaning_theme_lay == 'swimming_pool_cleaning-footer-four'){
		$swimming_pool_cleaning_custom_css .='.footer-wp {';
			$swimming_pool_cleaning_custom_css .='background: #F5F5DC !important;;';
		$swimming_pool_cleaning_custom_css .='}';
		$swimming_pool_cleaning_custom_css .='.footer-wp p,.footer-wp span,.footer-wp li a,.footer-wp #wp-calendar caption,.footer-wp #wp-calendar td,.footer-wp #wp-calendar th, .footer-wp, .footer-wp h3, .footer-wp a.rsswidget, .footer-wp #wp-calendar a, .copyright a, .footer-wp .custom_details, .footer-wp ins span, .footer-wp .tagcloud a, .main-inner-box span.entry-date a, nav.woocommerce-MyAccount-navigation ul li:hover a, .footer-wp ul li a, .footer-wp table, .footer-wp th, .footer-wp td, .footer-wp caption, #sidebar caption,.footer-wp nav.wp-calendar-nav a,.footer-wp .search-form .search-field, .footer-wp .rssSummary, .footer-wp ul li{';
			$swimming_pool_cleaning_custom_css .='color:#000 !important;';
		$swimming_pool_cleaning_custom_css .='}';
		$swimming_pool_cleaning_custom_css .='.footer-wp p{';
			$swimming_pool_cleaning_custom_css .='color:#000 !important;';
		$swimming_pool_cleaning_custom_css .='}';
		$swimming_pool_cleaning_custom_css .='.footer-wp ul li::before{';
			$swimming_pool_cleaning_custom_css .='background:#000;';
		$swimming_pool_cleaning_custom_css .='}';
		$swimming_pool_cleaning_custom_css .='.footer-wp table, .footer-wp th, .footer-wp td,.footer-wp.search-form .search-field,.footer-wp .tagcloud a{';
			$swimming_pool_cleaning_custom_css .='border: 1px solid #000;';
		$swimming_pool_cleaning_custom_css .='}';
	}
    else if($swimming_pool_cleaning_theme_lay == 'swimming_pool_cleaning-footer-five'){
	$swimming_pool_cleaning_custom_css .='.footer-wp {';
		$swimming_pool_cleaning_custom_css .='background: #333333 !important;;';
	$swimming_pool_cleaning_custom_css .='}';
   }	
   
	//Footer Social Icon Alignment
	$swimming_pool_cleaning_footer_icon_alignment = get_theme_mod( 'swimming_pool_cleaning_footer_icon_alignment','center');
    if($swimming_pool_cleaning_footer_icon_alignment == 'left'){
		$swimming_pool_cleaning_custom_css .='footer .socialicons{';
			$swimming_pool_cleaning_custom_css .='text-align:left !important;';
		$swimming_pool_cleaning_custom_css .='}';
	}else if($swimming_pool_cleaning_footer_icon_alignment == 'center'){
		$swimming_pool_cleaning_custom_css .='footer .socialicons{';
			$swimming_pool_cleaning_custom_css .='text-align:center !important;';
		$swimming_pool_cleaning_custom_css .='}';
	}else if($swimming_pool_cleaning_footer_icon_alignment == 'right'){
		$swimming_pool_cleaning_custom_css .='footer .socialicons{';
			$swimming_pool_cleaning_custom_css .='text-align:right !important;';
		$swimming_pool_cleaning_custom_css .='}';
	}	
	
	// Header Contact Icons Font Size
    $swimming_pool_cleaning_header_icons_size = get_theme_mod('swimming_pool_cleaning_header_icons_size', '16');
    $swimming_pool_cleaning_custom_css .='.middle-header i{';
        $swimming_pool_cleaning_custom_css .='font-size: '.esc_attr($swimming_pool_cleaning_header_icons_size).'px;';
    $swimming_pool_cleaning_custom_css .='}'; 

	//Footer icon color
	$swimming_pool_cleaning_footer_icon_color_option = get_theme_mod('swimming_pool_cleaning_footer_icon_color_option');
	$swimming_pool_cleaning_custom_css .='footer .socialicons a{';
			$swimming_pool_cleaning_custom_css .='color: '.esc_attr($swimming_pool_cleaning_footer_icon_color_option).' !important;';
	$swimming_pool_cleaning_custom_css .='}';  

	// letter spacing
	$swimming_pool_cleaning_footer_heading_letter_spacing = get_theme_mod('swimming_pool_cleaning_footer_heading_letter_spacing',1);
	$swimming_pool_cleaning_custom_css .='.footer-wp h3{';
	$swimming_pool_cleaning_custom_css .='letter-spacing: '.esc_attr($swimming_pool_cleaning_footer_heading_letter_spacing).'px;';
	$swimming_pool_cleaning_custom_css .='}';

	$swimming_pool_cleaning_footer_heading = get_theme_mod( 'swimming_pool_cleaning_footer_heading','Left');
    if($swimming_pool_cleaning_footer_heading == 'Left'){
		$swimming_pool_cleaning_custom_css .='.footer-wp h3, .footer-wp .wp-block-search .wp-block-search__label{';
		$swimming_pool_cleaning_custom_css .='text-align: left;';
		$swimming_pool_cleaning_custom_css .='}';
	}else if($swimming_pool_cleaning_footer_heading == 'Center'){
		$swimming_pool_cleaning_custom_css .='.footer-wp h3, .footer-wp .wp-block-search .wp-block-search__label{';
			$swimming_pool_cleaning_custom_css .='text-align: center;';
		$swimming_pool_cleaning_custom_css .='}';
		$swimming_pool_cleaning_custom_css .='.footer-wp h3:after, .footer-wp .wp-block-heading:after{';
			$swimming_pool_cleaning_custom_css .='margin: 7px auto;';
		$swimming_pool_cleaning_custom_css .='}';
		$swimming_pool_cleaning_custom_css .='
		@media screen and (max-width:767px) {
			.footer-wp h3, .footer-wp .wp-block-search .wp-block-search__label{';
				$swimming_pool_cleaning_custom_css .='text-align: left;';
				$swimming_pool_cleaning_custom_css .='}
			.footer-wp h3:after, .footer-wp .wp-block-heading:after{';
				$swimming_pool_cleaning_custom_css .='margin: 7px 0 0;';
				$swimming_pool_cleaning_custom_css .='} }';
	}else if($swimming_pool_cleaning_footer_heading == 'Right'){
		$swimming_pool_cleaning_custom_css .='.footer-wp h3, .footer-wp .wp-block-search .wp-block-search__label{';
			$swimming_pool_cleaning_custom_css .='text-align: right; padding-bottom: 25px;';
		$swimming_pool_cleaning_custom_css .='}';
		$swimming_pool_cleaning_custom_css .='.footer-wp .widget, .footer-wp aside{';
			$swimming_pool_cleaning_custom_css .='position: relative;';
		$swimming_pool_cleaning_custom_css .='}';
		$swimming_pool_cleaning_custom_css .='.footer-wp h3:after, .footer-wp .wp-block-heading:after{';
			$swimming_pool_cleaning_custom_css .='position: absolute; right: 0;';
		$swimming_pool_cleaning_custom_css .='}';
		$swimming_pool_cleaning_custom_css .='
		@media screen and (max-width:767px) {
			.footer-wp h3, .footer-wp .wp-block-search .wp-block-search__label{';
				$swimming_pool_cleaning_custom_css .='text-align: left;';
				$swimming_pool_cleaning_custom_css .='}
			.footer-wp h3:after, .footer-wp .wp-block-heading:after{';
				$swimming_pool_cleaning_custom_css .='left: 0;';
				$swimming_pool_cleaning_custom_css .='} }';
	}

	$swimming_pool_cleaning_footer_content = get_theme_mod( 'swimming_pool_cleaning_footer_content','Left');
    if($swimming_pool_cleaning_footer_content == 'Left'){
		$swimming_pool_cleaning_custom_css .='.footer-wp .widget{';
		$swimming_pool_cleaning_custom_css .='text-align: left;';
		$swimming_pool_cleaning_custom_css .='}';
	}else if($swimming_pool_cleaning_footer_content == 'Center'){
		$swimming_pool_cleaning_custom_css .='.footer-wp .widget{';
			$swimming_pool_cleaning_custom_css .='text-align: center;';
		$swimming_pool_cleaning_custom_css .='}';
		$swimming_pool_cleaning_custom_css .='
		@media screen and (max-width:767px) {
			.footer-wp .widget{';
				$swimming_pool_cleaning_custom_css .='text-align: left;';
				$swimming_pool_cleaning_custom_css .='} }';
	}else if($swimming_pool_cleaning_footer_content == 'Right'){
		$swimming_pool_cleaning_custom_css .='.footer-wp .widget{';
			$swimming_pool_cleaning_custom_css .='text-align: right;';
		$swimming_pool_cleaning_custom_css .='}';
		$swimming_pool_cleaning_custom_css .='
		@media screen and (max-width:767px) {
			.footer-wp .widget{';
				$swimming_pool_cleaning_custom_css .='text-align: left;';
				$swimming_pool_cleaning_custom_css .='} }';
	}

	/*------------- Back to Top  -------------------*/
	$swimming_pool_cleaning_back_to_top_border_radius = get_theme_mod('swimming_pool_cleaning_back_to_top_border_radius');
	$swimming_pool_cleaning_custom_css .='#scrollbutton {';
		$swimming_pool_cleaning_custom_css .='border-radius: '.esc_attr($swimming_pool_cleaning_back_to_top_border_radius).'px;';
	$swimming_pool_cleaning_custom_css .='}';

	$swimming_pool_cleaning_scroll_icon_font_size = get_theme_mod('swimming_pool_cleaning_scroll_icon_font_size', 22);
	$swimming_pool_cleaning_custom_css .='#scrollbutton {';
		$swimming_pool_cleaning_custom_css .='font-size: '.esc_attr($swimming_pool_cleaning_scroll_icon_font_size).'px;';
	$swimming_pool_cleaning_custom_css .='}';

	// back to top icon color
	$swimming_pool_cleaning_scroll_icon_color = get_theme_mod('swimming_pool_cleaning_scroll_icon_color');
	$swimming_pool_cleaning_custom_css .='#scrollbutton i{';
		$swimming_pool_cleaning_custom_css .='color: '.esc_attr($swimming_pool_cleaning_scroll_icon_color).';';
	$swimming_pool_cleaning_custom_css .='}';

	// back to top icon hover color
	$swimming_pool_cleaning_scroll_icon_hover_color = get_theme_mod('swimming_pool_cleaning_scroll_icon_hover_color');
	$swimming_pool_cleaning_custom_css .='#scrollbutton i:hover{';
		$swimming_pool_cleaning_custom_css .='color: '.esc_attr($swimming_pool_cleaning_scroll_icon_hover_color).';';
	$swimming_pool_cleaning_custom_css .='}';

	// back to top bg color
	$swimming_pool_cleaning_scroll_icon_background = get_theme_mod('swimming_pool_cleaning_scroll_icon_background');
	$swimming_pool_cleaning_custom_css .='#scrollbutton{';
		$swimming_pool_cleaning_custom_css .='background-color: '.esc_attr($swimming_pool_cleaning_scroll_icon_background).';';
		$swimming_pool_cleaning_custom_css .='border-color: '.esc_attr($swimming_pool_cleaning_scroll_icon_background).';';
	$swimming_pool_cleaning_custom_css .='}';

	// back to top bg hover color
	$swimming_pool_cleaning_scroll_icon_bg_hover = get_theme_mod('swimming_pool_cleaning_scroll_icon_bg_hover');
	$swimming_pool_cleaning_custom_css .='#scrollbutton:hover{';
		$swimming_pool_cleaning_custom_css .='background-color: '.esc_attr($swimming_pool_cleaning_scroll_icon_bg_hover).';';
		$swimming_pool_cleaning_custom_css .='border-color: '.esc_attr($swimming_pool_cleaning_scroll_icon_bg_hover).';';
	$swimming_pool_cleaning_custom_css .='}';

	$swimming_pool_cleaning_top_bottom_scroll_padding = get_theme_mod('swimming_pool_cleaning_top_bottom_scroll_padding', 7);
	$swimming_pool_cleaning_custom_css .='#scrollbutton {';
		$swimming_pool_cleaning_custom_css .='padding-top: '.esc_attr($swimming_pool_cleaning_top_bottom_scroll_padding).'px; padding-bottom: '.esc_attr($swimming_pool_cleaning_top_bottom_scroll_padding).'px;';
	$swimming_pool_cleaning_custom_css .='}';

	$swimming_pool_cleaning_left_right_scroll_padding = get_theme_mod('swimming_pool_cleaning_left_right_scroll_padding', 17);
	$swimming_pool_cleaning_custom_css .='#scrollbutton {';
		$swimming_pool_cleaning_custom_css .='padding-left: '.esc_attr($swimming_pool_cleaning_left_right_scroll_padding).'px; padding-right: '.esc_attr($swimming_pool_cleaning_left_right_scroll_padding).'px;';
	$swimming_pool_cleaning_custom_css .='}';

	//First Cap
	$swimming_pool_cleaning_show_first_caps = get_theme_mod('swimming_pool_cleaning_show_first_caps', 'false');
	if($swimming_pool_cleaning_show_first_caps == 'true' ){
	$swimming_pool_cleaning_custom_css .='#blog_sec .layout1 .new-text p:nth-of-type(1)::first-letter{';
	$swimming_pool_cleaning_custom_css .=' font-size: 55px; font-weight: 600;';
	$swimming_pool_cleaning_custom_css .=' margin-right: 6px;';
	$swimming_pool_cleaning_custom_css .=' line-height: 1;';
	$swimming_pool_cleaning_custom_css .='}';
	}elseif($swimming_pool_cleaning_show_first_caps == 'false' ){
	$swimming_pool_cleaning_custom_css .='#blog_sec .layout1 .new-text p:nth-of-type(1)::first-letter {';
	$swimming_pool_cleaning_custom_css .='display: none;';
	$swimming_pool_cleaning_custom_css .='}';
	}

	/*-------------- Post Button  -------------------*/

	$swimming_pool_cleaning_btn_font_size_option = get_theme_mod('swimming_pool_cleaning_btn_font_size_option');
	$swimming_pool_cleaning_custom_css .='.postbtn a{';
		$swimming_pool_cleaning_custom_css .='font-size: '.esc_attr($swimming_pool_cleaning_btn_font_size_option).'px !important;';
	$swimming_pool_cleaning_custom_css .='}';

	$swimming_pool_cleaning_post_button_padding_top = get_theme_mod('swimming_pool_cleaning_post_button_padding_top');
	$swimming_pool_cleaning_custom_css .='.postbtn a, #comments input[type="submit"].submit{';
		$swimming_pool_cleaning_custom_css .='padding-top: '.esc_attr($swimming_pool_cleaning_post_button_padding_top).'px; padding-bottom: '.esc_attr($swimming_pool_cleaning_post_button_padding_top).'px;';
	$swimming_pool_cleaning_custom_css .='}';

	$swimming_pool_cleaning_post_button_padding_right = get_theme_mod('swimming_pool_cleaning_post_button_padding_right');
	$swimming_pool_cleaning_custom_css .='.postbtn a, #comments input[type="submit"].submit{';
		$swimming_pool_cleaning_custom_css .='padding-left: '.esc_attr($swimming_pool_cleaning_post_button_padding_right).'px; padding-right: '.esc_attr($swimming_pool_cleaning_post_button_padding_right).'px;';
	$swimming_pool_cleaning_custom_css .='}';

	$swimming_pool_cleaning_post_button_border_radius = get_theme_mod('swimming_pool_cleaning_post_button_border_radius');
	$swimming_pool_cleaning_custom_css .='.postbtn a, #comments input[type="submit"].submit{';
		$swimming_pool_cleaning_custom_css .='border-radius: '.esc_attr($swimming_pool_cleaning_post_button_border_radius).'px;';
	$swimming_pool_cleaning_custom_css .='}';

	// button letter spacing
	$swimming_pool_cleaning_button_letter_spacing = get_theme_mod('swimming_pool_cleaning_button_letter_spacing', '0');
	$swimming_pool_cleaning_custom_css .='.postbtn a {';
		$swimming_pool_cleaning_custom_css .='letter-spacing: '.esc_attr($swimming_pool_cleaning_button_letter_spacing).'px;';
	$swimming_pool_cleaning_custom_css .='}';	
	
	//Button Shape
	$swimming_pool_cleaning_btn_shape = get_theme_mod('swimming_pool_cleaning_btn_shape', 'Square');
	if($swimming_pool_cleaning_btn_shape == 'Square' ){
		$swimming_pool_cleaning_custom_css .='.inner-service .mainbox .postbtn a{';
			$swimming_pool_cleaning_custom_css .=' border-radius: 0';
		$swimming_pool_cleaning_custom_css .='}';
	}elseif($swimming_pool_cleaning_btn_shape == 'Round' ){
		$swimming_pool_cleaning_custom_css .='.inner-service .mainbox .postbtn a{';
			$swimming_pool_cleaning_custom_css .=' border-radius: .3em';
		$swimming_pool_cleaning_custom_css .='}';
	}elseif($swimming_pool_cleaning_btn_shape == 'Pill' ){
		$swimming_pool_cleaning_custom_css .='.inner-service .mainbox .postbtn a{';
			$swimming_pool_cleaning_custom_css .=' border-radius: 2em;';
		$swimming_pool_cleaning_custom_css .='}';
	}

	//Button hover effect
	$swimming_pool_cleaning_button_hover_effect = get_theme_mod('swimming_pool_cleaning_button_hover_effect', 'disable');
	if ($swimming_pool_cleaning_button_hover_effect !== 'disable') {
		$swimming_pool_cleaning_custom_css .= '.postbtn a:hover {';
		switch ($swimming_pool_cleaning_button_hover_effect) {
			case 'pulse':
				$swimming_pool_cleaning_custom_css .= 'animation: pulse 0.5s ease-in-out;';
				break;
			case 'rubberBand':
				$swimming_pool_cleaning_custom_css .= 'animation: rubberBand 0.5s ease-in-out;';
				break;
			case 'swing':
				$swimming_pool_cleaning_custom_css .= 'animation: swing 0.5s ease-in-out;';
				break;
			case 'tada':
				$swimming_pool_cleaning_custom_css .= 'animation: tada 0.5s ease-in-out;';
				break;
			case 'jello':
				$swimming_pool_cleaning_custom_css .= 'animation: jello 0.5s ease-in-out;';
				break;
		}
		$swimming_pool_cleaning_custom_css .= '}';
	}

	//keyframes for all animations
	$swimming_pool_cleaning_custom_css .= '
	@keyframes pulse {
		0% { transform: scale(1); }
		50% { transform: scale(1.1); }
		100% { transform: scale(1); }
	}

	@keyframes rubberBand {
		0% { transform: scale(1); }
		30% { transform: scaleX(1.25) scaleY(0.75); }
		40% { transform: scaleX(0.75) scaleY(1.25); }
		50% { transform: scale(1); }
	}

	@keyframes swing {
		20% { transform: rotate(15deg); }
		40% { transform: rotate(-10deg); }
		60% { transform: rotate(5deg); }
		80% { transform: rotate(-5deg); }
		100% { transform: rotate(0deg); }
	}

	@keyframes tada {
		0% { transform: scale(1); }
		10%, 20% { transform: scale(0.9) rotate(-3deg); }
		30%, 50%, 70%, 90% { transform: scale(1.1) rotate(3deg); }
		40%, 60%, 80% { transform: scale(1.1) rotate(-3deg); }
		100% { transform: scale(1) rotate(0); }
	}

	@keyframes jello {
		0%, 11.1%, 100% { transform: none; }
		22.2% { transform: skewX(-12.5deg) skewY(-12.5deg); }
		33.3% { transform: skewX(6.25deg) skewY(6.25deg); }
		44.4% { transform: skewX(-3.125deg) skewY(-3.125deg); }
		55.5% { transform: skewX(1.5625deg) skewY(1.5625deg); }
		66.6% { transform: skewX(-0.78125deg) skewY(-0.78125deg); }
		77.7% { transform: skewX(0.390625deg) skewY(0.390625deg); }
		88.8% { transform: skewX(-0.1953125deg) skewY(-0.1953125deg); }
	}';

	$swimming_pool_cleaning_post_comment_enable = get_theme_mod('swimming_pool_cleaning_post_comment_enable',true);
	if($swimming_pool_cleaning_post_comment_enable == false){
		$swimming_pool_cleaning_custom_css .='#comments{';
			$swimming_pool_cleaning_custom_css .='display: none;';
		$swimming_pool_cleaning_custom_css .='}';
	}

	// preloader background image
	$swimming_pool_cleaning_preloader_bg_image = get_theme_mod('swimming_pool_cleaning_preloader_bg_image');
	if($swimming_pool_cleaning_preloader_bg_image != false){
		$swimming_pool_cleaning_custom_css .='.frame{';
			$swimming_pool_cleaning_custom_css .='background: url('.esc_attr($swimming_pool_cleaning_preloader_bg_image).'); background-size: cover;';
		$swimming_pool_cleaning_custom_css .='}';
	}

	/*----------- Preloader Color Option  ----------------*/
	$swimming_pool_cleaning_preloader_bg_color_option = get_theme_mod('swimming_pool_cleaning_preloader_bg_color_option');
	$swimming_pool_cleaning_preloader_icon_color_option = get_theme_mod('swimming_pool_cleaning_preloader_icon_color_option');
	$swimming_pool_cleaning_custom_css .='.frame{';
		$swimming_pool_cleaning_custom_css .='background-color: '.esc_attr($swimming_pool_cleaning_preloader_bg_color_option).';';
	$swimming_pool_cleaning_custom_css .='}';
	$swimming_pool_cleaning_custom_css .='.dot-1,.dot-2,.dot-3{';
		$swimming_pool_cleaning_custom_css .='background-color: '.esc_attr($swimming_pool_cleaning_preloader_icon_color_option).';';
	$swimming_pool_cleaning_custom_css .='}';

	// preloader type
	$swimming_pool_cleaning_theme_lay = get_theme_mod( 'swimming_pool_cleaning_preloader_type','First Preloader Type');
    if($swimming_pool_cleaning_theme_lay == 'First Preloader Type'){
		$swimming_pool_cleaning_custom_css .='.dot-1, .dot-2, .dot-3{';
			$swimming_pool_cleaning_custom_css .='';
		$swimming_pool_cleaning_custom_css .='}';
	}else if($swimming_pool_cleaning_theme_lay == 'Second Preloader Type'){
		$swimming_pool_cleaning_custom_css .='.dot-1, .dot-2, .dot-3{';
			$swimming_pool_cleaning_custom_css .='border-radius:0;';
		$swimming_pool_cleaning_custom_css .='}';
	}

	/*------------------ Skin Option  -------------------*/
	$swimming_pool_cleaning_theme_lay = get_theme_mod( 'swimming_pool_cleaning_background_skin','Without Background');
    if($swimming_pool_cleaning_theme_lay == 'With Background'){
		$swimming_pool_cleaning_custom_css .='.inner-service,#sidebar .widget,.woocommerce ul.products li.product, .woocommerce-page ul.products li.product,.front-page-content,.background-img-skin{';
			$swimming_pool_cleaning_custom_css .='background-color: #fff; padding:20px;';
		$swimming_pool_cleaning_custom_css .='}';
		$swimming_pool_cleaning_custom_css .='.login-box a{';
			$swimming_pool_cleaning_custom_css .='background-color: #fff;';
		$swimming_pool_cleaning_custom_css .='}';
	}else if($swimming_pool_cleaning_theme_lay == 'Without Background'){
		$swimming_pool_cleaning_custom_css .='{';
			$swimming_pool_cleaning_custom_css .='background-color: transparent;';
		$swimming_pool_cleaning_custom_css .='}';
	}

	/*-------------- Woocommerce Button  -------------------*/
	$swimming_pool_cleaning_woocommerce_button_padding_top = get_theme_mod('swimming_pool_cleaning_woocommerce_button_padding_top',12);
	$swimming_pool_cleaning_custom_css .='.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt{';
		$swimming_pool_cleaning_custom_css .='padding-top: '.esc_attr($swimming_pool_cleaning_woocommerce_button_padding_top).'px; padding-bottom: '.esc_attr($swimming_pool_cleaning_woocommerce_button_padding_top).'px;';
	$swimming_pool_cleaning_custom_css .='}';
	

	$swimming_pool_cleaning_woocommerce_button_padding_right = get_theme_mod('swimming_pool_cleaning_woocommerce_button_padding_right',15);
	$swimming_pool_cleaning_custom_css .='.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt{';
		$swimming_pool_cleaning_custom_css .='padding-left: '.esc_attr($swimming_pool_cleaning_woocommerce_button_padding_right).'px; padding-right: '.esc_attr($swimming_pool_cleaning_woocommerce_button_padding_right).'px;';
	$swimming_pool_cleaning_custom_css .='}';

	$swimming_pool_cleaning_woocommerce_button_border_radius = get_theme_mod('swimming_pool_cleaning_woocommerce_button_border_radius',0);
	$swimming_pool_cleaning_custom_css .='.woocommerce ul.products li.product .button, a.checkout-button.button.alt.wc-forward,.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .woocommerce a.added_to_cart{';
		$swimming_pool_cleaning_custom_css .='border-radius: '.esc_attr($swimming_pool_cleaning_woocommerce_button_border_radius).'px;';
	$swimming_pool_cleaning_custom_css .='}';

	$swimming_pool_cleaning_related_product_enable = get_theme_mod('swimming_pool_cleaning_related_product_enable',true);
	if($swimming_pool_cleaning_related_product_enable == false){
		$swimming_pool_cleaning_custom_css .='.related.products{';
			$swimming_pool_cleaning_custom_css .='display: none;';
		$swimming_pool_cleaning_custom_css .='}';
	}

	$swimming_pool_cleaning_woocommerce_product_border_enable = get_theme_mod('swimming_pool_cleaning_woocommerce_product_border_enable',true);
	if($swimming_pool_cleaning_woocommerce_product_border_enable == false){
		$swimming_pool_cleaning_custom_css .='.products li{';
			$swimming_pool_cleaning_custom_css .='border: none;';
		$swimming_pool_cleaning_custom_css .='}';
	}

	$swimming_pool_cleaning_woocommerce_product_padding_top = get_theme_mod('swimming_pool_cleaning_woocommerce_product_padding_top',0);
	$swimming_pool_cleaning_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{';
		$swimming_pool_cleaning_custom_css .='padding-top: '.esc_attr($swimming_pool_cleaning_woocommerce_product_padding_top).'px !important; padding-bottom: '.esc_attr($swimming_pool_cleaning_woocommerce_product_padding_top).'px !important;';
	$swimming_pool_cleaning_custom_css .='}';

	$swimming_pool_cleaning_woocommerce_product_padding_right = get_theme_mod('swimming_pool_cleaning_woocommerce_product_padding_right',0);
	$swimming_pool_cleaning_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{';
		$swimming_pool_cleaning_custom_css .='padding-left: '.esc_attr($swimming_pool_cleaning_woocommerce_product_padding_right).'px !important; padding-right: '.esc_attr($swimming_pool_cleaning_woocommerce_product_padding_right).'px !important;';
	$swimming_pool_cleaning_custom_css .='}';

	$swimming_pool_cleaning_woocommerce_product_border_radius = get_theme_mod('swimming_pool_cleaning_woocommerce_product_border_radius',3);
	$swimming_pool_cleaning_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{';
		$swimming_pool_cleaning_custom_css .='border-radius: '.esc_attr($swimming_pool_cleaning_woocommerce_product_border_radius).'px;';
	$swimming_pool_cleaning_custom_css .='}';

	$swimming_pool_cleaning_woocommerce_product_box_shadow = get_theme_mod('swimming_pool_cleaning_woocommerce_product_box_shadow', 0);
	$swimming_pool_cleaning_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{';
		$swimming_pool_cleaning_custom_css .='box-shadow: '.esc_attr($swimming_pool_cleaning_woocommerce_product_box_shadow).'px '.esc_attr($swimming_pool_cleaning_woocommerce_product_box_shadow).'px '.esc_attr($swimming_pool_cleaning_woocommerce_product_box_shadow).'px #ddd;';
	$swimming_pool_cleaning_custom_css .='}';

	$swimming_pool_cleaning_woo_product_sale_top_bottom_padding = get_theme_mod('swimming_pool_cleaning_woo_product_sale_top_bottom_padding', 0);
	$swimming_pool_cleaning_woo_product_sale_left_right_padding = get_theme_mod('swimming_pool_cleaning_woo_product_sale_left_right_padding', 0);
	$swimming_pool_cleaning_custom_css .='.woocommerce span.onsale{';
		$swimming_pool_cleaning_custom_css .='padding-top: '.esc_attr($swimming_pool_cleaning_woo_product_sale_top_bottom_padding).'px; padding-bottom: '.esc_attr($swimming_pool_cleaning_woo_product_sale_top_bottom_padding).'px; padding-left: '.esc_attr($swimming_pool_cleaning_woo_product_sale_left_right_padding).'px; padding-right: '.esc_attr($swimming_pool_cleaning_woo_product_sale_left_right_padding).'px; display:inline-block;';
	$swimming_pool_cleaning_custom_css .='}';

	$swimming_pool_cleaning_woo_product_sale_border_radius = get_theme_mod('swimming_pool_cleaning_woo_product_sale_border_radius',0);
	$swimming_pool_cleaning_custom_css .='.woocommerce span.onsale {';
		$swimming_pool_cleaning_custom_css .='border-radius: '.esc_attr($swimming_pool_cleaning_woo_product_sale_border_radius).'px;';
	$swimming_pool_cleaning_custom_css .='}';

	$swimming_pool_cleaning_woo_product_sale_position = get_theme_mod('swimming_pool_cleaning_woo_product_sale_position', 'Left');
	if($swimming_pool_cleaning_woo_product_sale_position == 'Right' ){
		$swimming_pool_cleaning_custom_css .='.woocommerce ul.products li.product .onsale{';
			$swimming_pool_cleaning_custom_css .=' left:auto; right:0;';
		$swimming_pool_cleaning_custom_css .='}';
	}elseif($swimming_pool_cleaning_woo_product_sale_position == 'Left' ){
		$swimming_pool_cleaning_custom_css .='.woocommerce ul.products li.product .onsale{';
			$swimming_pool_cleaning_custom_css .=' left:0; right:auto;';
		$swimming_pool_cleaning_custom_css .='}';
	}

	$swimming_pool_cleaning_wooproduct_sale_font_size = get_theme_mod('swimming_pool_cleaning_wooproduct_sale_font_size',14);
	$swimming_pool_cleaning_custom_css .='.woocommerce span.onsale{';
		$swimming_pool_cleaning_custom_css .='font-size: '.esc_attr($swimming_pool_cleaning_wooproduct_sale_font_size).'px;';
	$swimming_pool_cleaning_custom_css .='}';

	// Responsive Media
	$swimming_pool_cleaning_post_date = get_theme_mod( 'swimming_pool_cleaning_display_post_date',true);
	if($swimming_pool_cleaning_post_date == true && get_theme_mod( 'swimming_pool_cleaning_metafields_date',true) != true){
    	$swimming_pool_cleaning_custom_css .='.metabox .entry-date{';
			$swimming_pool_cleaning_custom_css .='display:none;';
		$swimming_pool_cleaning_custom_css .='} ';
	}
    if($swimming_pool_cleaning_post_date == true){
    	$swimming_pool_cleaning_custom_css .='@media screen and (max-width:575px) {';
		$swimming_pool_cleaning_custom_css .='.metabox .entry-date{';
			$swimming_pool_cleaning_custom_css .='display:inline-block;';
		$swimming_pool_cleaning_custom_css .='} }';
	}else if($swimming_pool_cleaning_post_date == false){
		$swimming_pool_cleaning_custom_css .='@media screen and (max-width:575px){';
		$swimming_pool_cleaning_custom_css .='.metabox .entry-date{';
			$swimming_pool_cleaning_custom_css .='display:none;';
		$swimming_pool_cleaning_custom_css .='} }';
	}

	$swimming_pool_cleaning_post_author = get_theme_mod( 'swimming_pool_cleaning_display_post_author',true);
	if($swimming_pool_cleaning_post_author == true && get_theme_mod( 'swimming_pool_cleaning_metafields_author',true) != true){
    	$swimming_pool_cleaning_custom_css .='.metabox .entry-author{';
			$swimming_pool_cleaning_custom_css .='display:none;';
		$swimming_pool_cleaning_custom_css .='} ';
	}
    if($swimming_pool_cleaning_post_author == true){
    	$swimming_pool_cleaning_custom_css .='@media screen and (max-width:575px) {';
		$swimming_pool_cleaning_custom_css .='.metabox .entry-author{';
			$swimming_pool_cleaning_custom_css .='display:inline-block;';
		$swimming_pool_cleaning_custom_css .='} }';
	}else if($swimming_pool_cleaning_post_author == false){
		$swimming_pool_cleaning_custom_css .='@media screen and (max-width:575px){';
		$swimming_pool_cleaning_custom_css .='.metabox .entry-author{';
			$swimming_pool_cleaning_custom_css .='display:none;';
		$swimming_pool_cleaning_custom_css .='} }';
	}

	$swimming_pool_cleaning_post_comment = get_theme_mod( 'swimming_pool_cleaning_display_post_comment',true);
	if($swimming_pool_cleaning_post_comment == true && get_theme_mod( 'swimming_pool_cleaning_metafields_comment',true) != true){
    	$swimming_pool_cleaning_custom_css .='.metabox .entry-comments{';
			$swimming_pool_cleaning_custom_css .='display:none;';
		$swimming_pool_cleaning_custom_css .='} ';
	}
    if($swimming_pool_cleaning_post_comment == true){
    	$swimming_pool_cleaning_custom_css .='@media screen and (max-width:575px) {';
		$swimming_pool_cleaning_custom_css .='.metabox .entry-comments{';
			$swimming_pool_cleaning_custom_css .='display:inline-block;';
		$swimming_pool_cleaning_custom_css .='} }';
	}else if($swimming_pool_cleaning_post_comment == false){
		$swimming_pool_cleaning_custom_css .='@media screen and (max-width:575px){';
		$swimming_pool_cleaning_custom_css .='.metabox .entry-comments{';
			$swimming_pool_cleaning_custom_css .='display:none;';
		$swimming_pool_cleaning_custom_css .='} }';
	}

	$swimming_pool_cleaning_post_time = get_theme_mod( 'swimming_pool_cleaning_display_post_time',true);
	if($swimming_pool_cleaning_post_time == true && get_theme_mod( 'swimming_pool_cleaning_metafields_time',true) != true){
    	$swimming_pool_cleaning_custom_css .='.metabox .entry-time{';
			$swimming_pool_cleaning_custom_css .='display:none;';
		$swimming_pool_cleaning_custom_css .='} ';
	}
    if($swimming_pool_cleaning_post_time == true){
    	$swimming_pool_cleaning_custom_css .='@media screen and (max-width:575px) {';
		$swimming_pool_cleaning_custom_css .='.metabox .entry-time{';
			$swimming_pool_cleaning_custom_css .='display:inline-block;';
		$swimming_pool_cleaning_custom_css .='} }';
	}else if($swimming_pool_cleaning_post_time == false){
		$swimming_pool_cleaning_custom_css .='@media screen and (max-width:575px){';
		$swimming_pool_cleaning_custom_css .='.metabox .entry-time{';
			$swimming_pool_cleaning_custom_css .='display:none;';
		$swimming_pool_cleaning_custom_css .='} }';
	}

	if($swimming_pool_cleaning_post_date == false && $swimming_pool_cleaning_post_author == false && $swimming_pool_cleaning_post_comment == false && $swimming_pool_cleaning_post_time == false){
		$swimming_pool_cleaning_custom_css .='@media screen and (max-width:575px) {';
    	$swimming_pool_cleaning_custom_css .='.metabox {';
			$swimming_pool_cleaning_custom_css .='display:none;';
		$swimming_pool_cleaning_custom_css .='} }';
	}

	$swimming_pool_cleaning_metafields_date = get_theme_mod( 'swimming_pool_cleaning_metafields_date',true);
	$swimming_pool_cleaning_metafields_author = get_theme_mod( 'swimming_pool_cleaning_metafields_author',true);
	$swimming_pool_cleaning_metafields_comment = get_theme_mod( 'swimming_pool_cleaning_metafields_comment',true);
	$swimming_pool_cleaning_metafields_time = get_theme_mod( 'swimming_pool_cleaning_metafields_time',true);
	if($swimming_pool_cleaning_metafields_date == false && $swimming_pool_cleaning_metafields_author == false && $swimming_pool_cleaning_metafields_comment == false && $swimming_pool_cleaning_metafields_time == false){
		$swimming_pool_cleaning_custom_css .='@media screen and (min-width:576px) {';
    	$swimming_pool_cleaning_custom_css .='.metabox {';
			$swimming_pool_cleaning_custom_css .='display:none;';
		$swimming_pool_cleaning_custom_css .='} }';
	}

	$swimming_pool_cleaning_slider = get_theme_mod( 'swimming_pool_cleaning_display_slider',true);
	if($swimming_pool_cleaning_slider == true && get_theme_mod( 'swimming_pool_cleaning_slider_hide', false) == false){
    	$swimming_pool_cleaning_custom_css .='#slider{';
			$swimming_pool_cleaning_custom_css .='display:none;';
		$swimming_pool_cleaning_custom_css .='} ';
	}
    if($swimming_pool_cleaning_slider == true){
    	$swimming_pool_cleaning_custom_css .='@media screen and (max-width:575px) {';
		$swimming_pool_cleaning_custom_css .='#slider{';
			$swimming_pool_cleaning_custom_css .='display:block;';
		$swimming_pool_cleaning_custom_css .='} }';
	}else if($swimming_pool_cleaning_slider == false){
		$swimming_pool_cleaning_custom_css .='@media screen and (max-width:575px){';
		$swimming_pool_cleaning_custom_css .='#slider{';
			$swimming_pool_cleaning_custom_css .='display:none;';
		$swimming_pool_cleaning_custom_css .='} }';
	}

	$swimming_pool_cleaning_sliderbutton = get_theme_mod( 'swimming_pool_cleaning_display_slider_button',true);
	if($swimming_pool_cleaning_sliderbutton == true && get_theme_mod( 'swimming_pool_cleaning_show_slider_button',true) != true){
    	$swimming_pool_cleaning_custom_css .='.slide-button{';
			$swimming_pool_cleaning_custom_css .='display:none;';
		$swimming_pool_cleaning_custom_css .='} ';
	}
    if($swimming_pool_cleaning_sliderbutton == true){
    	$swimming_pool_cleaning_custom_css .='@media screen and (max-width:575px) {';
		$swimming_pool_cleaning_custom_css .='.slide-button{';
			$swimming_pool_cleaning_custom_css .='display:block;';
		$swimming_pool_cleaning_custom_css .='} }';
	}else if($swimming_pool_cleaning_sliderbutton == false){
		$swimming_pool_cleaning_custom_css .='@media screen and (max-width:575px){';
		$swimming_pool_cleaning_custom_css .='.slide-button{';
			$swimming_pool_cleaning_custom_css .='display:none;';
		$swimming_pool_cleaning_custom_css .='} }';
	}

	/*------------ Slider Opacity -------------------*/
	$swimming_pool_cleaning_theme_lay = get_theme_mod( 'swimming_pool_cleaning_slider_opacity');
	if($swimming_pool_cleaning_theme_lay == '0.9'){
	$swimming_pool_cleaning_custom_css .='#slider .slider-content img{';
		$swimming_pool_cleaning_custom_css .='opacity:0';
	$swimming_pool_cleaning_custom_css .='}';
	}else if($swimming_pool_cleaning_theme_lay == '0.1'){
	$swimming_pool_cleaning_custom_css .='#slider .slider-content img{';
		$swimming_pool_cleaning_custom_css .='opacity:0.1';
	$swimming_pool_cleaning_custom_css .='}';
	}else if($swimming_pool_cleaning_theme_lay == '0.2'){
	$swimming_pool_cleaning_custom_css .='#slider .slider-content img{';
		$swimming_pool_cleaning_custom_css .='opacity:0.2';
	$swimming_pool_cleaning_custom_css .='}';
	}else if($swimming_pool_cleaning_theme_lay == '0.3'){
	$swimming_pool_cleaning_custom_css .='#slider .slider-content img{';
		$swimming_pool_cleaning_custom_css .='opacity:0.3';
	$swimming_pool_cleaning_custom_css .='}';
	}else if($swimming_pool_cleaning_theme_lay == '0.4'){
	$swimming_pool_cleaning_custom_css .='#slider .slider-content img{';
		$swimming_pool_cleaning_custom_css .='opacity:0.4';
	$swimming_pool_cleaning_custom_css .='}';
	}else if($swimming_pool_cleaning_theme_lay == '0.5'){
	$swimming_pool_cleaning_custom_css .='#slider .slider-content img{';
		$swimming_pool_cleaning_custom_css .='opacity:0.5';
	$swimming_pool_cleaning_custom_css .='}';
	}else if($swimming_pool_cleaning_theme_lay == '0.6'){
	$swimming_pool_cleaning_custom_css .='#slider .slider-content img{';
		$swimming_pool_cleaning_custom_css .='opacity:0.6';
	$swimming_pool_cleaning_custom_css .='}';
	}else if($swimming_pool_cleaning_theme_lay == '0.7'){
	$swimming_pool_cleaning_custom_css .='#slider .slider-content img{';
		$swimming_pool_cleaning_custom_css .='opacity:0.7';
	$swimming_pool_cleaning_custom_css .='}';
	}else if($swimming_pool_cleaning_theme_lay == '0.8'){
	$swimming_pool_cleaning_custom_css .='#slider .slider-content img{';
		$swimming_pool_cleaning_custom_css .='opacity:0.8';
	$swimming_pool_cleaning_custom_css .='}';
	}else if($swimming_pool_cleaning_theme_lay == '0.9'){
	$swimming_pool_cleaning_custom_css .='#slider .slider-content img{';
		$swimming_pool_cleaning_custom_css .='opacity:0.9';
	$swimming_pool_cleaning_custom_css .='}';
	}

	/*--------------------Slider Content Layout ---------------*/
	$swimming_pool_cleaning_theme_lay = get_theme_mod( 'swimming_pool_cleaning_slider_content_layout','Left');
    if($swimming_pool_cleaning_theme_lay == 'Left'){
		$swimming_pool_cleaning_custom_css .='#slider .inner_carousel .slider-badge, #slider .inner_carousel h1, #slider .inner_carousel p, #slider .slide-button {';
			$swimming_pool_cleaning_custom_css .='text-align:left;';
		$swimming_pool_cleaning_custom_css .='}';
	}else if($swimming_pool_cleaning_theme_lay == 'Center'){
		$swimming_pool_cleaning_custom_css .='#slider .inner_carousel .slider-badge, #slider .carousel-caption, #slider .inner_carousel, #slider .inner_carousel h1, #slider .inner_carousel p, #slider .slide-button{';
			$swimming_pool_cleaning_custom_css .='text-align:center;';
		$swimming_pool_cleaning_custom_css .='}';
	}else if($swimming_pool_cleaning_theme_lay == 'Right'){
		$swimming_pool_cleaning_custom_css .='#slider .inner_carousel .slider-badge, #slider .carousel-caption, #slider .inner_carousel, #slider .inner_carousel h1, #slider .inner_carousel p, #slider .slide-button {';
			$swimming_pool_cleaning_custom_css .='text-align:right;';
		$swimming_pool_cleaning_custom_css .='}';
	}

	$swimming_pool_cleaning_sidebar = get_theme_mod( 'swimming_pool_cleaning_display_sidebar',true);
    if($swimming_pool_cleaning_sidebar == true){
    	$swimming_pool_cleaning_custom_css .='@media screen and (max-width:575px) {';
		$swimming_pool_cleaning_custom_css .='#sidebar{';
			$swimming_pool_cleaning_custom_css .='display:block;';
		$swimming_pool_cleaning_custom_css .='} }';
	}else if($swimming_pool_cleaning_sidebar == false){
		$swimming_pool_cleaning_custom_css .='@media screen and (max-width:575px) {';
		$swimming_pool_cleaning_custom_css .='#sidebar{';
			$swimming_pool_cleaning_custom_css .='display:none;';
		$swimming_pool_cleaning_custom_css .='} }';
	}

	$swimming_pool_cleaning_scroll = get_theme_mod( 'swimming_pool_cleaning_display_scrolltop',true);
	if($swimming_pool_cleaning_scroll == true && get_theme_mod( 'swimming_pool_cleaning_hide_show_scroll',true) != true){
    	$swimming_pool_cleaning_custom_css .='#scrollbutton {';
			$swimming_pool_cleaning_custom_css .='display:none;';
		$swimming_pool_cleaning_custom_css .='} ';
	}
    if($swimming_pool_cleaning_scroll == true){
    	$swimming_pool_cleaning_custom_css .='@media screen and (max-width:575px) {';
		$swimming_pool_cleaning_custom_css .='#scrollbutton {';
			$swimming_pool_cleaning_custom_css .='display:block;';
		$swimming_pool_cleaning_custom_css .='} }';
	}else if($swimming_pool_cleaning_scroll == false){
		$swimming_pool_cleaning_custom_css .='@media screen and (max-width:575px){';
		$swimming_pool_cleaning_custom_css .='#scrollbutton {';
			$swimming_pool_cleaning_custom_css .='display:none;';
		$swimming_pool_cleaning_custom_css .='} }';
	}

	$swimming_pool_cleaning_preloader = get_theme_mod( 'swimming_pool_cleaning_display_preloader',false);
	if($swimming_pool_cleaning_preloader == true && get_theme_mod( 'swimming_pool_cleaning_preloader',false) == false){
		$swimming_pool_cleaning_custom_css .='@media screen and (min-width:575px) {';
    	$swimming_pool_cleaning_custom_css .='.frame{';
			$swimming_pool_cleaning_custom_css .=' visibility: hidden;';
		$swimming_pool_cleaning_custom_css .='} }';
	}
    if($swimming_pool_cleaning_preloader == true){
    	$swimming_pool_cleaning_custom_css .='@media screen and (max-width:575px) {';
		$swimming_pool_cleaning_custom_css .='.frame{';
			$swimming_pool_cleaning_custom_css .='visibility:visible;';
		$swimming_pool_cleaning_custom_css .='} }';
	}else if($swimming_pool_cleaning_preloader == false){
		$swimming_pool_cleaning_custom_css .='@media screen and (max-width:575px){';
		$swimming_pool_cleaning_custom_css .='.frame{';
			$swimming_pool_cleaning_custom_css .='visibility: hidden;';
		$swimming_pool_cleaning_custom_css .='} }';
	}

	$swimming_pool_cleaning_search = get_theme_mod( 'swimming_pool_cleaning_display_search_category',true);
	if($swimming_pool_cleaning_search == true && get_theme_mod( 'swimming_pool_cleaning_search_enable_disable',true) != true){
    	$swimming_pool_cleaning_custom_css .='.search-cat-box{';
			$swimming_pool_cleaning_custom_css .='display:none;';
		$swimming_pool_cleaning_custom_css .='} ';
	}
    if($swimming_pool_cleaning_search == true){
    	$swimming_pool_cleaning_custom_css .='@media screen and (max-width:575px) {';
		$swimming_pool_cleaning_custom_css .='.search-cat-box{';
			$swimming_pool_cleaning_custom_css .='display:block;';
		$swimming_pool_cleaning_custom_css .='} }';
	}else if($swimming_pool_cleaning_search == false){
		$swimming_pool_cleaning_custom_css .='@media screen and (max-width:575px){';
		$swimming_pool_cleaning_custom_css .='.search-cat-box{';
			$swimming_pool_cleaning_custom_css .='display:none;';
		$swimming_pool_cleaning_custom_css .='} }';
	}

	$swimming_pool_cleaning_myaccount = get_theme_mod( 'swimming_pool_cleaning_display_myaccount',true);
	if($swimming_pool_cleaning_myaccount == true && get_theme_mod( 'swimming_pool_cleaning_myaccount_enable_disable',true) != true){
    	$swimming_pool_cleaning_custom_css .='.login-box{';
			$swimming_pool_cleaning_custom_css .='display:none;';
		$swimming_pool_cleaning_custom_css .='} ';
	}
    if($swimming_pool_cleaning_myaccount == true){
    	$swimming_pool_cleaning_custom_css .='@media screen and (max-width:575px) {';
		$swimming_pool_cleaning_custom_css .='.login-box{';
			$swimming_pool_cleaning_custom_css .='display:block;';
		$swimming_pool_cleaning_custom_css .='} }';
	}else if($swimming_pool_cleaning_myaccount == false){
		$swimming_pool_cleaning_custom_css .='@media screen and (max-width:575px){';
		$swimming_pool_cleaning_custom_css .='.login-box{';
			$swimming_pool_cleaning_custom_css .='display:none;';
		$swimming_pool_cleaning_custom_css .='} }';
	}

	// menu settings
	$swimming_pool_cleaning_menu_font_size_option = get_theme_mod('swimming_pool_cleaning_menu_font_size_option');
	$swimming_pool_cleaning_custom_css .='.primary-navigation a{';
		$swimming_pool_cleaning_custom_css .='font-size: '.esc_attr($swimming_pool_cleaning_menu_font_size_option).'px !important;';
	$swimming_pool_cleaning_custom_css .='}';

	// menu top-bottom padding
	$swimming_pool_cleaning_menu_top_bottom_padding = get_theme_mod('swimming_pool_cleaning_menu_top_bottom_padding');
	$swimming_pool_cleaning_custom_css .='.primary-navigation ul li a{';
		$swimming_pool_cleaning_custom_css .='padding-top: '.esc_attr($swimming_pool_cleaning_menu_top_bottom_padding).'px;';
		$swimming_pool_cleaning_custom_css .='padding-bottom: '.esc_attr($swimming_pool_cleaning_menu_top_bottom_padding).'px;';
	$swimming_pool_cleaning_custom_css .='}';

	// menu left-right padding
	$swimming_pool_cleaning_menu_left_right_padding = get_theme_mod('swimming_pool_cleaning_menu_left_right_padding');
	$swimming_pool_cleaning_custom_css .='.primary-navigation ul li a{';
		$swimming_pool_cleaning_custom_css .='padding-left: '.esc_attr($swimming_pool_cleaning_menu_left_right_padding).'px;';
		$swimming_pool_cleaning_custom_css .='padding-right: '.esc_attr($swimming_pool_cleaning_menu_left_right_padding).'px;';
	$swimming_pool_cleaning_custom_css .='}';

	// Menu Text Transform
	$swimming_pool_cleaning_theme_lay = get_theme_mod( 'swimming_pool_cleaning_text_tranform_menu','Uppercase');
    if($swimming_pool_cleaning_theme_lay == 'Uppercase'){
		$swimming_pool_cleaning_custom_css .='.primary-navigation a{';
			$swimming_pool_cleaning_custom_css .='text-transform: uppercase;';
		$swimming_pool_cleaning_custom_css .='}';
	}else if($swimming_pool_cleaning_theme_lay == 'Lowercase'){
		$swimming_pool_cleaning_custom_css .='.primary-navigation a{';
			$swimming_pool_cleaning_custom_css .='text-transform: lowercase;';
		$swimming_pool_cleaning_custom_css .='}';
	}
	else if($swimming_pool_cleaning_theme_lay == 'Capitalize'){
		$swimming_pool_cleaning_custom_css .='.primary-navigation a{';
			$swimming_pool_cleaning_custom_css .='text-transform: capitalize;';
		$swimming_pool_cleaning_custom_css .='}';
	}

	// menu font weight
	$swimming_pool_cleaning_font_weight_option_menu = get_theme_mod( 'swimming_pool_cleaning_font_weight_option_menu','500');
	if($swimming_pool_cleaning_font_weight_option_menu != ''){
		$swimming_pool_cleaning_custom_css .='.primary-navigation ul li a{';
			$swimming_pool_cleaning_custom_css .='font-weight: '.esc_attr($swimming_pool_cleaning_font_weight_option_menu).';';
		$swimming_pool_cleaning_custom_css .='}';
	}

	// Menu Item Hover Style	
	$swimming_pool_cleaning_menus_item = get_theme_mod( 'swimming_pool_cleaning_menus_item_style','None');
    if($swimming_pool_cleaning_menus_item == 'None'){
		$swimming_pool_cleaning_custom_css .='.primary-navigation ul li a{';
			$swimming_pool_cleaning_custom_css .='';
		$swimming_pool_cleaning_custom_css .='}';
	}else if($swimming_pool_cleaning_menus_item == 'Zoom In'){
		$swimming_pool_cleaning_custom_css .='.primary-navigation ul li a:hover{';
			$swimming_pool_cleaning_custom_css .='transition: all 0.3s ease-in-out !important; transform: scale(1.2) !important;';
		$swimming_pool_cleaning_custom_css .='}';
	}	

	// menu color
	$swimming_pool_cleaning_menu_color = get_theme_mod('swimming_pool_cleaning_menu_color');
	$swimming_pool_cleaning_custom_css .='.primary-navigationul ul li a, #site-navigation .main-menu-navigation ul li a {';
			$swimming_pool_cleaning_custom_css .='color: '.esc_attr($swimming_pool_cleaning_menu_color).' !important;';
	$swimming_pool_cleaning_custom_css .='}';

	// Sub menu color
	$swimming_pool_cleaning_sub_menu_color = get_theme_mod('swimming_pool_cleaning_sub_menu_color');
	$swimming_pool_cleaning_custom_css .='.primary-navigation ul.sub-menu a, .primary-navigation ul.sub-menu li a, #site-navigation ul.sub-menu li a, .primary-navigation ul.children a, .primary-navigation ul.children li a, #site-navigation ul.children li a{';
			$swimming_pool_cleaning_custom_css .='color: '.esc_attr($swimming_pool_cleaning_sub_menu_color).' !important;';
	$swimming_pool_cleaning_custom_css .='}';

	// menu hover color
	$swimming_pool_cleaning_menu_hover_color = get_theme_mod('swimming_pool_cleaning_menu_hover_color');
	$swimming_pool_cleaning_custom_css .='.primary-navigationul ul li a:hover, #site-navigation .main-menu-navigation ul li a:hover {';
			$swimming_pool_cleaning_custom_css .='color: '.esc_attr($swimming_pool_cleaning_menu_hover_color).' !important;';
	$swimming_pool_cleaning_custom_css .='}';

	// sub menu hover color
	$swimming_pool_cleaning_sub_menu_hover_color = get_theme_mod('swimming_pool_cleaning_sub_menu_hover_color');
	$swimming_pool_cleaning_custom_css .='.primary-navigation ul.sub-menu a:hover, .primary-navigation ul.sub-menu li a:hover, #site-navigation ul.sub-menu li a:hover, .primary-navigation ul.children a:hover, .primary-navigation ul.children li a:hover, #site-navigation ul.children li a:hover{';
			$swimming_pool_cleaning_custom_css .='color: '.esc_attr($swimming_pool_cleaning_sub_menu_hover_color).' !important;';
	$swimming_pool_cleaning_custom_css .='}';

	// Sub menu bg color
	$swimming_pool_cleaning_sub_menu_bg_color = get_theme_mod('swimming_pool_cleaning_sub_menu_bg_color');
	$swimming_pool_cleaning_custom_css .='.primary-navigation ul.sub-menu li a, .primary-navigation ul.children li a{';
			$swimming_pool_cleaning_custom_css .='background-color: '.esc_attr($swimming_pool_cleaning_sub_menu_bg_color).';';
	$swimming_pool_cleaning_custom_css .='}';

	// Sub menu bg color
	$swimming_pool_cleaning_sub_menu_bg_hover_color = get_theme_mod('swimming_pool_cleaning_sub_menu_bg_hover_color');
	$swimming_pool_cleaning_custom_css .='.primary-navigation ul.sub-menu li a:hover, .primary-navigation ul.children li a:hover{';
			$swimming_pool_cleaning_custom_css .='background-color: '.esc_attr($swimming_pool_cleaning_sub_menu_bg_hover_color).';';
	$swimming_pool_cleaning_custom_css .='}';

	//  comment form width
	$swimming_pool_cleaning_comment_form_width = get_theme_mod( 'swimming_pool_cleaning_comment_form_width');
	$swimming_pool_cleaning_custom_css .='#comments textarea{';
		$swimming_pool_cleaning_custom_css .='width: '.esc_attr($swimming_pool_cleaning_comment_form_width).'%;';
	$swimming_pool_cleaning_custom_css .='}';

	$swimming_pool_cleaning_title_comment_form = get_theme_mod('swimming_pool_cleaning_title_comment_form', 'Leave a Reply');
	if($swimming_pool_cleaning_title_comment_form == ''){
		$swimming_pool_cleaning_custom_css .='#comments h2#reply-title {';
			$swimming_pool_cleaning_custom_css .='display: none;';
		$swimming_pool_cleaning_custom_css .='}';
	}

	$swimming_pool_cleaning_comment_form_button_content = get_theme_mod('swimming_pool_cleaning_comment_form_button_content', 'Post Comment');
	if($swimming_pool_cleaning_comment_form_button_content == ''){
		$swimming_pool_cleaning_custom_css .='#comments p.form-submit {';
			$swimming_pool_cleaning_custom_css .='display: none;';
		$swimming_pool_cleaning_custom_css .='}';
	}

	// featured image setting
	$swimming_pool_cleaning_image_border_radius = get_theme_mod('swimming_pool_cleaning_image_border_radius', 0);
	$swimming_pool_cleaning_custom_css .='.layout2 .box-image img,.layout1 .box-image img,.layout3 .box-image img{';
		$swimming_pool_cleaning_custom_css .='border-radius: '.esc_attr($swimming_pool_cleaning_image_border_radius).'%;';
	$swimming_pool_cleaning_custom_css .='}';

	$swimming_pool_cleaning_image_box_shadow = get_theme_mod('swimming_pool_cleaning_image_box_shadow',0);
	$swimming_pool_cleaning_custom_css .='.layout2 .box-image img,.layout1 .box-image img,.layout3 .box-image img{';
		$swimming_pool_cleaning_custom_css .='box-shadow: '.esc_attr($swimming_pool_cleaning_image_box_shadow).'px '.esc_attr($swimming_pool_cleaning_image_box_shadow).'px '.esc_attr($swimming_pool_cleaning_image_box_shadow).'px #b5b5b5;';
	$swimming_pool_cleaning_custom_css .='}';

	// blog post Pagination Alignment
	$swimming_pool_cleaning_post_pagination_alignment = get_theme_mod( 'swimming_pool_cleaning_post_pagination_option','Left');
	if($swimming_pool_cleaning_post_pagination_alignment == 'Left'){
		$swimming_pool_cleaning_custom_css .='.navigation nav.pagination{';
			$swimming_pool_cleaning_custom_css .='justify-content: left;';
		$swimming_pool_cleaning_custom_css .='}';
	}else if($swimming_pool_cleaning_post_pagination_alignment == 'Center'){
		$swimming_pool_cleaning_custom_css .='.navigation nav.pagination{';
			$swimming_pool_cleaning_custom_css .='justify-content: center;';
		$swimming_pool_cleaning_custom_css .='}';
	}else if($swimming_pool_cleaning_post_pagination_alignment == 'Right'){
		$swimming_pool_cleaning_custom_css .='.navigation nav.pagination{';
			$swimming_pool_cleaning_custom_css .='justify-content: right;';
		$swimming_pool_cleaning_custom_css .='}';
	}

	// grid post image setting
	$swimming_pool_cleaning_grid_image_border_radius = get_theme_mod('swimming_pool_cleaning_grid_image_border_radius', 0);
	$swimming_pool_cleaning_custom_css .='.inner-service .gridbox .box-image img{';
		$swimming_pool_cleaning_custom_css .='border-radius: '.esc_attr($swimming_pool_cleaning_grid_image_border_radius).'%;';
	$swimming_pool_cleaning_custom_css .='}';

	$swimming_pool_cleaning_grid_image_box_shadow = get_theme_mod('swimming_pool_cleaning_grid_image_box_shadow',0);
	$swimming_pool_cleaning_custom_css .='.inner-service .gridbox .box-image img{';
		$swimming_pool_cleaning_custom_css .='box-shadow: '.esc_attr($swimming_pool_cleaning_grid_image_box_shadow).'px '.esc_attr($swimming_pool_cleaning_grid_image_box_shadow).'px '.esc_attr($swimming_pool_cleaning_grid_image_box_shadow).'px #b5b5b5;';
	$swimming_pool_cleaning_custom_css .='}';

	// single featured image setting
	$swimming_pool_cleaning_single_image_border_radius = get_theme_mod('swimming_pool_cleaning_single_image_border_radius', 0);
	$swimming_pool_cleaning_custom_css .='.feature-box img{';
		$swimming_pool_cleaning_custom_css .='border-radius: '.esc_attr($swimming_pool_cleaning_single_image_border_radius).'%;';
	$swimming_pool_cleaning_custom_css .='}';

	$swimming_pool_cleaning_single_image_box_shadow = get_theme_mod('swimming_pool_cleaning_single_image_box_shadow',0);
	$swimming_pool_cleaning_custom_css .='.feature-box img{';
		$swimming_pool_cleaning_custom_css .='box-shadow: '.esc_attr($swimming_pool_cleaning_single_image_box_shadow).'px '.esc_attr($swimming_pool_cleaning_single_image_box_shadow).'px '.esc_attr($swimming_pool_cleaning_single_image_box_shadow).'px #b5b5b5;';
	$swimming_pool_cleaning_custom_css .='}';

	// category color
	$swimming_pool_cleaning_category_color = get_theme_mod('swimming_pool_cleaning_category_color');
	$swimming_pool_cleaning_custom_css .='.type-post .category ul li a{';
			$swimming_pool_cleaning_custom_css .='color: '.esc_attr($swimming_pool_cleaning_category_color).';';
	$swimming_pool_cleaning_custom_css .='}';

	// category hover color
	$swimming_pool_cleaning_category_hover_color = get_theme_mod('swimming_pool_cleaning_category_hover_color');
	$swimming_pool_cleaning_custom_css .='.type-post .category ul li a:hover{';
			$swimming_pool_cleaning_custom_css .='color: '.esc_attr($swimming_pool_cleaning_category_hover_color).';';
	$swimming_pool_cleaning_custom_css .='}';

	// Button Text Transform
	$swimming_pool_cleaning_theme_lay = get_theme_mod( 'swimming_pool_cleaning_tranform_button_text','Capitalize');
    if($swimming_pool_cleaning_theme_lay == 'Uppercase'){
		$swimming_pool_cleaning_custom_css .='.postbtn a{';
			$swimming_pool_cleaning_custom_css .='text-transform: uppercase;';
		$swimming_pool_cleaning_custom_css .='}';
	}else if($swimming_pool_cleaning_theme_lay == 'Lowercase'){
		$swimming_pool_cleaning_custom_css .='.postbtn a{';
			$swimming_pool_cleaning_custom_css .='text-transform: lowercase;';
		$swimming_pool_cleaning_custom_css .='}';
	}
	else if($swimming_pool_cleaning_theme_lay == 'Capitalize'){
		$swimming_pool_cleaning_custom_css .='.postbtn a{';
			$swimming_pool_cleaning_custom_css .='text-transform: capitalize;';
		$swimming_pool_cleaning_custom_css .='}';
	}

	// button font weight
	$swimming_pool_cleaning_button_font_weight = get_theme_mod( 'swimming_pool_cleaning_button_font_weight','500');
	if($swimming_pool_cleaning_button_font_weight != ''){
		$swimming_pool_cleaning_custom_css .='.postbtn a{';
			$swimming_pool_cleaning_custom_css .='font-weight: '.esc_attr($swimming_pool_cleaning_button_font_weight).';';
		$swimming_pool_cleaning_custom_css .='}';
	}

	// Post Block
	$swimming_pool_cleaning_post_block_option = get_theme_mod( 'swimming_pool_cleaning_post_block_option','By Block');
    if($swimming_pool_cleaning_post_block_option == 'By Without Block'){
		$swimming_pool_cleaning_custom_css .='.mainbox-post, .layout2 .mainbox, .layout1.mainbox,.layout3.mainbox, .post_format-post-format-video,.post_format-post-format-image,.post_format-post-format-audio, .post_format-post-format-gallery{';
			$swimming_pool_cleaning_custom_css .='border:none; margin:30px 0;';
		$swimming_pool_cleaning_custom_css .='}';
	}

	//Grid Post Block
	$swimming_pool_cleaning_grid_post_block_option = get_theme_mod( 'swimming_pool_cleaning_grid_post_block_option','By Block');
    if($swimming_pool_cleaning_grid_post_block_option == 'By Without Block'){
		$swimming_pool_cleaning_custom_css .='.inner-service .gridbox {';
			$swimming_pool_cleaning_custom_css .='border:none; margin:30px 0;';
		$swimming_pool_cleaning_custom_css .='}';
	}

	// post image 
	$swimming_pool_cleaning_post_featured_color = get_theme_mod('swimming_pool_cleaning_post_featured_color', 'var(--first-theme-color)');
	$swimming_pool_cleaning_post_featured_image = get_theme_mod('swimming_pool_cleaning_post_featured_image','Image');
	if($swimming_pool_cleaning_post_featured_image == 'Color'){
		$swimming_pool_cleaning_custom_css .='.post-color{';
			$swimming_pool_cleaning_custom_css .='background-color: '.esc_attr($swimming_pool_cleaning_post_featured_color).';';
		$swimming_pool_cleaning_custom_css .='}';
	}

	// featured image dimention
	$swimming_pool_cleaning_post_featured_image_dimention = get_theme_mod('swimming_pool_cleaning_post_featured_image_dimention', 'Default');
	$swimming_pool_cleaning_post_featured_image_custom_width = get_theme_mod('swimming_pool_cleaning_post_featured_image_custom_width');
	$swimming_pool_cleaning_post_featured_image_custom_height = get_theme_mod('swimming_pool_cleaning_post_featured_image_custom_height');
	if($swimming_pool_cleaning_post_featured_image_dimention == 'Custom'){
		$swimming_pool_cleaning_custom_css .='.layout2 .box-image img,.layout1 .box-image img,.layout3 .box-image img{';
			$swimming_pool_cleaning_custom_css .='width: '.esc_attr($swimming_pool_cleaning_post_featured_image_custom_width).'px; height: '.esc_attr($swimming_pool_cleaning_post_featured_image_custom_height).'px;';
		$swimming_pool_cleaning_custom_css .='}';
	}

	// featured image dimention
	$swimming_pool_cleaning_custom_post_color_width = get_theme_mod('swimming_pool_cleaning_custom_post_color_width');
	$swimming_pool_cleaning_custom_post_color_height = get_theme_mod('swimming_pool_cleaning_custom_post_color_height');
	if($swimming_pool_cleaning_post_featured_image == 'Color'){
		$swimming_pool_cleaning_custom_css .='.post-color{';
			$swimming_pool_cleaning_custom_css .='width: '.esc_attr($swimming_pool_cleaning_custom_post_color_width).'px; height: '.esc_attr($swimming_pool_cleaning_custom_post_color_height).'px;';
		$swimming_pool_cleaning_custom_css .='}';
	}

	// single featured image dimention
	$swimming_pool_cleaning_single_post_featured_image_dimention = get_theme_mod('swimming_pool_cleaning_single_post_featured_image_dimention', 'Default');
	$swimming_pool_cleaning_single_post_featured_image_custom_width = get_theme_mod('swimming_pool_cleaning_single_post_featured_image_custom_width');
	$swimming_pool_cleaning_single_post_featured_image_custom_height = get_theme_mod('swimming_pool_cleaning_single_post_featured_image_custom_height');
	if($swimming_pool_cleaning_single_post_featured_image_dimention == 'Custom'){
		$swimming_pool_cleaning_custom_css .='.single-post-page .feature-box img{';
			$swimming_pool_cleaning_custom_css .='width: '.esc_attr($swimming_pool_cleaning_single_post_featured_image_custom_width).'px!important; height: '.esc_attr($swimming_pool_cleaning_single_post_featured_image_custom_height).'px!important;';
		$swimming_pool_cleaning_custom_css .='}';
	}

	// site title font size
	$swimming_pool_cleaning_site_title_font_size = get_theme_mod('swimming_pool_cleaning_site_title_font_size', 25);
	$swimming_pool_cleaning_custom_css .='.logo .site-title{';
	$swimming_pool_cleaning_custom_css .='font-size: '.esc_attr($swimming_pool_cleaning_site_title_font_size).'px;';
	$swimming_pool_cleaning_custom_css .='}';

	// Logo Padding
	$swimming_pool_cleaning_logo_padding = get_theme_mod('swimming_pool_cleaning_logo_padding');
	if($swimming_pool_cleaning_logo_padding != false){
		$swimming_pool_cleaning_custom_css .='.logo{';
			$swimming_pool_cleaning_custom_css .='padding: '.esc_attr($swimming_pool_cleaning_logo_padding).'px;';
		$swimming_pool_cleaning_custom_css .='}';
	}

	// site tagline font size
	$swimming_pool_cleaning_site_tagline_font_size = get_theme_mod('swimming_pool_cleaning_site_tagline_font_size', 13);
	$swimming_pool_cleaning_custom_css .='p.site-description{';
	$swimming_pool_cleaning_custom_css .='font-size: '.esc_attr($swimming_pool_cleaning_site_tagline_font_size).'px;';
	$swimming_pool_cleaning_custom_css .='}';

	// woocommerce Product Navigation
	$swimming_pool_cleaning_wooproducts_nav = get_theme_mod('swimming_pool_cleaning_wooproducts_nav', 'Yes');
	if($swimming_pool_cleaning_wooproducts_nav == 'No'){
		$swimming_pool_cleaning_custom_css .='.woocommerce nav.woocommerce-pagination{';
			$swimming_pool_cleaning_custom_css .='display: none;';
		$swimming_pool_cleaning_custom_css .='}';
	}

	// Slider Image
	$swimming_pool_cleaning_slider_bg_image = get_theme_mod('swimming_pool_cleaning_slider_bg_image');
	if($swimming_pool_cleaning_slider_bg_image != ''){
		$swimming_pool_cleaning_custom_css .='#slider {';
			$swimming_pool_cleaning_custom_css .=' background: url('.esc_attr($swimming_pool_cleaning_slider_bg_image).') no-repeat; background-size: 100% 100%;';
		$swimming_pool_cleaning_custom_css .='}';
		$swimming_pool_cleaning_custom_css .='@media screen and (max-width: 720px) {
				#slider {';
			$swimming_pool_cleaning_custom_css .=' background-size: cover;';
		$swimming_pool_cleaning_custom_css .='} }';
	}

	//slider heading color
	$swimming_pool_cleaning_slider_heading_color = get_theme_mod('swimming_pool_cleaning_slider_heading_color');
	$swimming_pool_cleaning_custom_css .='#slider .slider-content h1{';
		$swimming_pool_cleaning_custom_css .='color: '.esc_attr($swimming_pool_cleaning_slider_heading_color).';';
	$swimming_pool_cleaning_custom_css .='}';

	//slider text color
	$swimming_pool_cleaning_slider_text_color = get_theme_mod('swimming_pool_cleaning_slider_text_color');
	$swimming_pool_cleaning_custom_css .='#slider p{';
		$swimming_pool_cleaning_custom_css .='color: '.esc_attr($swimming_pool_cleaning_slider_text_color).';';
	$swimming_pool_cleaning_custom_css .='}';

	//slider button text color
	$swimming_pool_cleaning_slider_btn_text_color = get_theme_mod('swimming_pool_cleaning_slider_btn_text_color');
	$swimming_pool_cleaning_custom_css .='.slide-button a{';
		$swimming_pool_cleaning_custom_css .='color: '.esc_attr($swimming_pool_cleaning_slider_btn_text_color).'!important;';
	$swimming_pool_cleaning_custom_css .='}';

	//slider button bg color
	$swimming_pool_cleaning_slider_btn_bg_color = get_theme_mod('swimming_pool_cleaning_slider_btn_bg_color');
	$swimming_pool_cleaning_custom_css .='#slider .slide-button a{';
		$swimming_pool_cleaning_custom_css .='background-color: '.esc_attr($swimming_pool_cleaning_slider_btn_bg_color).';';
	$swimming_pool_cleaning_custom_css .='}';

	// site title color
	$swimming_pool_cleaning_site_title_color = get_theme_mod('swimming_pool_cleaning_site_title_color');
	$swimming_pool_cleaning_custom_css .='.site-title a{';
		$swimming_pool_cleaning_custom_css .='color: '.esc_attr($swimming_pool_cleaning_site_title_color).' !important;';
	$swimming_pool_cleaning_custom_css .='}';

	// site tagline color
	$swimming_pool_cleaning_site_tagline_color = get_theme_mod('swimming_pool_cleaning_site_tagline_color');
	$swimming_pool_cleaning_custom_css .='.site-description{';
		$swimming_pool_cleaning_custom_css .='color: '.esc_attr($swimming_pool_cleaning_site_tagline_color).' !important;';
	$swimming_pool_cleaning_custom_css .='}';

	// logo padding
	$swimming_pool_cleaning_logo_padding = get_theme_mod('swimming_pool_cleaning_logo_padding');
	$swimming_pool_cleaning_custom_css .='.logo{';
		$swimming_pool_cleaning_custom_css .='padding: '.esc_attr($swimming_pool_cleaning_logo_padding).'px;';
	$swimming_pool_cleaning_custom_css .='}';

	// logo margin
	$swimming_pool_cleaning_logo_margin = get_theme_mod('swimming_pool_cleaning_logo_margin');
	$swimming_pool_cleaning_custom_css .='.logo{';
		$swimming_pool_cleaning_custom_css .='margin: '.esc_attr($swimming_pool_cleaning_logo_margin).'px;';
	$swimming_pool_cleaning_custom_css .='}';
	
	// site toggle button color
	$swimming_pool_cleaning_toggle_button_color = get_theme_mod('swimming_pool_cleaning_toggle_button_color');
	$swimming_pool_cleaning_custom_css .='.toggle-menu i{';
		$swimming_pool_cleaning_custom_css .='color: '.esc_attr($swimming_pool_cleaning_toggle_button_color).' !important;';
	$swimming_pool_cleaning_custom_css .='}';

	//Copyright text color
	$swimming_pool_cleaning_copyright_text_color = get_theme_mod('swimming_pool_cleaning_copyright_text_color');
	$swimming_pool_cleaning_custom_css .='.copyright-wrapper p, .copyright-wrapper p a{';
		$swimming_pool_cleaning_custom_css .='color: '.esc_attr($swimming_pool_cleaning_copyright_text_color).';';
	$swimming_pool_cleaning_custom_css .='}';

	//Copyright background css
	$swimming_pool_cleaning_copyright_text_background = get_theme_mod('swimming_pool_cleaning_copyright_text_background');
	$swimming_pool_cleaning_custom_css .='.copyright-wrapper{';
		$swimming_pool_cleaning_custom_css .='background-color: '.esc_attr($swimming_pool_cleaning_copyright_text_background).';';
	$swimming_pool_cleaning_custom_css .='}';	// sticky copyright
	$swimming_pool_cleaning_resp_stickycopyright = get_theme_mod( 'swimming_pool_cleaning_stickycopyright_hide_show',false);
	if($swimming_pool_cleaning_resp_stickycopyright == true && get_theme_mod( 'swimming_pool_cleaning_copyright_sticky',false) != true){
    	$swimming_pool_cleaning_custom_css .='.copyright-sticky{';
			$swimming_pool_cleaning_custom_css .='position:static;';
		$swimming_pool_cleaning_custom_css .='} ';
	}
    // sticky copyright
	$swimming_pool_cleaning_resp_stickycopyright = get_theme_mod( 'swimming_pool_cleaning_stickycopyright_hide_show',false);
	if($swimming_pool_cleaning_resp_stickycopyright == true && get_theme_mod( 'swimming_pool_cleaning_copyright_sticky',false) != true){
    	$swimming_pool_cleaning_custom_css .='.copyright-sticky{';
			$swimming_pool_cleaning_custom_css .='position:static;';
		$swimming_pool_cleaning_custom_css .='} ';
	}

	// Hover effect on single post featured image (FIXED)

	$swimming_pool_cleaning_show_featured = get_theme_mod(
		'swimming_pool_cleaning_featured_image_hide_show',
		1
	);

	$swimming_pool_cleaning_hover_effect = get_theme_mod(
		'swimming_pool_cleaning_featured_image_hover',
		'none'
	);

	$swimming_pool_cleaning_hover_duration = get_theme_mod(
		'swimming_pool_cleaning_featured_image_hover_duration',
		0.4
	);

	if ( $swimming_pool_cleaning_show_featured && $swimming_pool_cleaning_hover_effect !== 'none' ) {

		/* BASE RESET (MOST IMPORTANT PART) */
		$swimming_pool_cleaning_custom_css .= '
		.swimming-pool-cleaning-featured-image{
			overflow: hidden;
		}
		.swimming-pool-cleaning-featured-image img{
			transform: scale(1);
			filter: none;
			transition:
				transform ' . esc_attr( $swimming_pool_cleaning_hover_duration ) . 's ease,
				filter ' . esc_attr( $swimming_pool_cleaning_hover_duration ) . 's ease;
			will-change: transform, filter;
		}';

		/* ZOOM IN */
		if ( $swimming_pool_cleaning_hover_effect === 'zoom-in' ) {
			$swimming_pool_cleaning_custom_css .= '
			.swimming-pool-cleaning-featured-image img:hover{
				transform: scale(1.2);
			}';
		}
 
		/* ZOOM OUT */
		if ( $swimming_pool_cleaning_hover_effect === 'zoom-out' ) {
			$swimming_pool_cleaning_custom_css .= '
			.swimming-pool-cleaning-featured-image img{
				transform: scale(1.2);
			}
			.swimming-pool-cleaning-featured-image img:hover{
				transform: scale(1);
			}';
		}

		/* GRAYSCALE (NORMAL → COLOR ON HOVER) */
		if ( $swimming_pool_cleaning_hover_effect === 'grayscale' ) {
			$swimming_pool_cleaning_custom_css .= '
			.swimming-pool-cleaning-featured-image img{
				filter: grayscale(0%);
			}
			.swimming-pool-cleaning-featured-image img:hover{
				filter: grayscale(100%);
			}';
		}

		/* SEPIA */
		if ( $swimming_pool_cleaning_hover_effect === 'sepia' ) {
			$swimming_pool_cleaning_custom_css .= '
			.swimming-pool-cleaning-featured-image img:hover{
				filter: sepia(100%);
			}';
		}

		/* BLUR */
		if ( $swimming_pool_cleaning_hover_effect === 'blur' ) {
			$swimming_pool_cleaning_custom_css .= '
			.swimming-pool-cleaning-featured-image img:hover{
				filter: blur(3px);
			}';
		}

		/* BRIGHT */
		if ( $swimming_pool_cleaning_hover_effect === 'bright' ) {
			$swimming_pool_cleaning_custom_css .= '
			.swimming-pool-cleaning-featured-image img:hover{
				filter: brightness(1.3);
			}';
		}

		/* TRANSLATE */
		if ( $swimming_pool_cleaning_hover_effect === 'translate' ) {
			$swimming_pool_cleaning_custom_css .= '
			.swimming-pool-cleaning-featured-image img:hover{
				transform: translateY(-10px);
			}';
		}
	}
