<?php

	$kindergarten_education_first_color = get_theme_mod('kindergarten_education_first_color');
	$kindergarten_education_second_color = get_theme_mod('kindergarten_education_second_color');
	$kindergarten_education_third_color = get_theme_mod('kindergarten_education_third_color');
	$kindergarten_education_fourth_color = get_theme_mod('kindergarten_education_fourth_color');
	$kindergarten_education_custom_css ='';

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

	if ($kindergarten_education_first_color) {
		$kindergarten_education_custom_css .= ':root {';
		$kindergarten_education_custom_css .= '--first-theme-color: ' . esc_attr($kindergarten_education_first_color) . ' !important;';
		$kindergarten_education_custom_css .= '} ';
	}

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

	if ($kindergarten_education_second_color) {
		$kindergarten_education_custom_css .= ':root {';
		$kindergarten_education_custom_css .= '--second-theme-color: ' . esc_attr($kindergarten_education_second_color) . ' !important;';
		$kindergarten_education_custom_css .= '} ';
	}

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

	if ($kindergarten_education_third_color) {
		$kindergarten_education_custom_css .= ':root {';
		$kindergarten_education_custom_css .= '--third-theme-color: ' . esc_attr($kindergarten_education_third_color) . ' !important;';
		$kindergarten_education_custom_css .= '} ';
	}

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

	if ($kindergarten_education_fourth_color) {
		$kindergarten_education_custom_css .= ':root {';
		$kindergarten_education_custom_css .= '--fourth-theme-color: ' . esc_attr($kindergarten_education_fourth_color) . ' !important;';
		$kindergarten_education_custom_css .= '} ';
	}

	/*---------------------------Width Layout -------------------*/

	$kindergarten_education_theme_lay = get_theme_mod( 'kindergarten_education_width_layout_options','Default');
    if($kindergarten_education_theme_lay == 'Default'){
		$kindergarten_education_custom_css .='body{';
			$kindergarten_education_custom_css .='max-width: 100%;';
		$kindergarten_education_custom_css .='}';
	}else if($kindergarten_education_theme_lay == 'Container Layout'){
		$kindergarten_education_custom_css .='body{';
			$kindergarten_education_custom_css .='width: 100%;padding-right: 15px;padding-left: 15px;margin-right: auto;margin-left: auto;';
		$kindergarten_education_custom_css .='}';
		$kindergarten_education_custom_css .='
		@media screen and (max-width: 768px){
		.page-template-custom-home-page #header{';
		$kindergarten_education_custom_css .='width:100%;';
		$kindergarten_education_custom_css .='} }';
	}else if($kindergarten_education_theme_lay == 'Box Layout'){
		$kindergarten_education_custom_css .='body{';
			$kindergarten_education_custom_css .='max-width: 1140px; width: 100%; padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto;';
		$kindergarten_education_custom_css .='}';
		$kindergarten_education_custom_css .='.page-template-custom-home-page header{';
			$kindergarten_education_custom_css .='position: relative';
		$kindergarten_education_custom_css .='}';
	}

	/*-----------------Slider Content Layout -------------------*/
	$kindergarten_education_theme_lay = get_theme_mod( 'kindergarten_education_slider_content_layout','Left');
    if($kindergarten_education_theme_lay == 'Left'){
		$kindergarten_education_custom_css .='#slider .carousel-caption, #slider .inner_carousel, #slider .inner_carousel h1, #slider .inner_carousel p, .slide-button {';
			$kindergarten_education_custom_css .='text-align:left; left:15%; right:40%;';
		$kindergarten_education_custom_css .='}';
	}else if($kindergarten_education_theme_lay == 'Center'){
		$kindergarten_education_custom_css .='#slider .carousel-caption, #slider .inner_carousel, #slider .inner_carousel h1, #slider .inner_carousel p, .slide-button {';
			$kindergarten_education_custom_css .='text-align:center; left:30%; right:30%;';
		$kindergarten_education_custom_css .='}';
	}else if($kindergarten_education_theme_lay == 'Right'){
		$kindergarten_education_custom_css .='#slider .carousel-caption, #slider .inner_carousel, #slider .inner_carousel h1, #slider .inner_carousel p, .slide-button {';
			$kindergarten_education_custom_css .='text-align:right; left:40%; right:15%;';
		$kindergarten_education_custom_css .='}';
	}

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

	//slider heading color
	$kindergarten_education_slider_heading_color = get_theme_mod('kindergarten_education_slider_heading_color');
	$kindergarten_education_custom_css .='#slider h1{';
		$kindergarten_education_custom_css .='color: '.esc_attr($kindergarten_education_slider_heading_color).';';
	$kindergarten_education_custom_css .='}';

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

	//slider button text color
	$kindergarten_education_slider_btn_text_color = get_theme_mod('kindergarten_education_slider_btn_text_color');
	$kindergarten_education_custom_css .='#slider .more-btn a{';
		$kindergarten_education_custom_css .='color: '.esc_attr($kindergarten_education_slider_btn_text_color).';';
	$kindergarten_education_custom_css .='}';

	//slider button bg color
	$kindergarten_education_slider_btn_bg_color = get_theme_mod('kindergarten_education_slider_btn_bg_color');
	$kindergarten_education_custom_css .='#slider .more-btn a{';
		$kindergarten_education_custom_css .='background-color: '.esc_attr($kindergarten_education_slider_btn_bg_color).';';
	$kindergarten_education_custom_css .='}';

	/*-------------- Woocommerce Button  -------------*/
	$kindergarten_education_woocommerce_button_padding_top = get_theme_mod('kindergarten_education_woocommerce_button_padding_top',15);
	$kindergarten_education_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{';
		$kindergarten_education_custom_css .='padding-top: '.esc_attr($kindergarten_education_woocommerce_button_padding_top).'px; padding-bottom: '.esc_attr($kindergarten_education_woocommerce_button_padding_top).'px;';
	$kindergarten_education_custom_css .='}';

	$kindergarten_education_woocommerce_button_padding_right = get_theme_mod('kindergarten_education_woocommerce_button_padding_right',15);
	$kindergarten_education_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{';
		$kindergarten_education_custom_css .='padding-left: '.esc_attr($kindergarten_education_woocommerce_button_padding_right).'px; padding-right: '.esc_attr($kindergarten_education_woocommerce_button_padding_right).'px;';
	$kindergarten_education_custom_css .='}';

	$kindergarten_education_woocommerce_button_border_radius = get_theme_mod('kindergarten_education_woocommerce_button_border_radius',30);
	$kindergarten_education_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{';
		$kindergarten_education_custom_css .='border-radius: '.esc_attr($kindergarten_education_woocommerce_button_border_radius).'px;';
	$kindergarten_education_custom_css .='}';

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

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

	$kindergarten_education_woocommerce_product_padding_top = get_theme_mod('kindergarten_education_woocommerce_product_padding_top',10);
	$kindergarten_education_custom_css .='.products li{';
		$kindergarten_education_custom_css .='padding-top: '.esc_attr($kindergarten_education_woocommerce_product_padding_top).'px !important; padding-bottom: '.esc_attr($kindergarten_education_woocommerce_product_padding_top).'px !important;';
	$kindergarten_education_custom_css .='}';

	$kindergarten_education_woocommerce_product_padding_right = get_theme_mod('kindergarten_education_woocommerce_product_padding_right',10);
	$kindergarten_education_custom_css .='.products li{';
		$kindergarten_education_custom_css .='padding-left: '.esc_attr($kindergarten_education_woocommerce_product_padding_right).'px !important; padding-right: '.esc_attr($kindergarten_education_woocommerce_product_padding_right).'px !important;';
	$kindergarten_education_custom_css .='}';

	$kindergarten_education_woocommerce_product_border_radius = get_theme_mod('kindergarten_education_woocommerce_product_border_radius');
	$kindergarten_education_custom_css .='.products li{';
		$kindergarten_education_custom_css .='border-radius: '.esc_attr($kindergarten_education_woocommerce_product_border_radius).'px;';
	$kindergarten_education_custom_css .='}';

	$kindergarten_education_woocommerce_product_box_shadow = get_theme_mod('kindergarten_education_woocommerce_product_box_shadow');
	$kindergarten_education_custom_css .='.products li{';
		$kindergarten_education_custom_css .='box-shadow: '.esc_attr($kindergarten_education_woocommerce_product_box_shadow).'px '.esc_attr($kindergarten_education_woocommerce_product_box_shadow).'px '.esc_attr($kindergarten_education_woocommerce_product_box_shadow).'px #eee;';
	$kindergarten_education_custom_css .='}';

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

	$kindergarten_education_woo_product_sale_border_radius = get_theme_mod('kindergarten_education_woo_product_sale_border_radius',100);
	$kindergarten_education_custom_css .='.woocommerce span.onsale {';
		$kindergarten_education_custom_css .='border-radius: '.esc_attr($kindergarten_education_woo_product_sale_border_radius).'%;';
	$kindergarten_education_custom_css .='}';

	$kindergarten_education_woo_product_sale_position = get_theme_mod('kindergarten_education_woo_product_sale_position', 'Right');
	if($kindergarten_education_woo_product_sale_position == 'Right' ){
		$kindergarten_education_custom_css .='.woocommerce ul.products li.product .onsale{';
			$kindergarten_education_custom_css .=' left:auto; right:0;';
		$kindergarten_education_custom_css .='}';
	}elseif($kindergarten_education_woo_product_sale_position == 'Left' ){
		$kindergarten_education_custom_css .='.woocommerce ul.products li.product .onsale{';
			$kindergarten_education_custom_css .=' left:-6px; right:auto;';
		$kindergarten_education_custom_css .='}';
	}

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

	// footer setting
	$kindergarten_education_footer_bg_color = get_theme_mod('kindergarten_education_footer_bg_color');
	$kindergarten_education_custom_css .='.footer-wp{';
		$kindergarten_education_custom_css .='background-color: '.esc_attr($kindergarten_education_footer_bg_color).';';
	$kindergarten_education_custom_css .='}';

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

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

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

	//Footer Style 
	$kindergarten_education_theme_lay = get_theme_mod( 'kindergarten_education_footer_template','kindergarten_education-footer-one');
	if($kindergarten_education_theme_lay == 'kindergarten_education-footer-one'){
		$kindergarten_education_custom_css .='.footer-wp{';
			$kindergarten_education_custom_css .='';
		$kindergarten_education_custom_css .='}';
	}else if($kindergarten_education_theme_lay == 'kindergarten_education-footer-two'){
		$kindergarten_education_custom_css .='.footer-wp {';
			$kindergarten_education_custom_css .='background: #E3F2FD !important;';
		$kindergarten_education_custom_css .='}';
		$kindergarten_education_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, .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{';
			$kindergarten_education_custom_css .='color:#000 !important;';
		$kindergarten_education_custom_css .='}';
		$kindergarten_education_custom_css .='.footer-wp p{';
			$kindergarten_education_custom_css .='color:#000 !important;';
		$kindergarten_education_custom_css .='}';
		$kindergarten_education_custom_css .='.footer-wp ul li::before{';
			$kindergarten_education_custom_css .='background:#000;';
		$kindergarten_education_custom_css .='}';
		$kindergarten_education_custom_css .='.footer-wp table, .footer-wp th, .footer-wp td,.footer-wp.search-form .search-field,.footer-wp .tagcloud a{';
			$kindergarten_education_custom_css .='border: 1px solid #000;';
		$kindergarten_education_custom_css .='}';

	}else if($kindergarten_education_theme_lay == 'kindergarten_education-footer-three'){
		$kindergarten_education_custom_css .='.footer-wp {';
			$kindergarten_education_custom_css .='background: #0A0A1F !important;;';
		$kindergarten_education_custom_css .='}';
	}
	else if($kindergarten_education_theme_lay == 'kindergarten_education-footer-four'){
		$kindergarten_education_custom_css .='.footer-wp {';
			$kindergarten_education_custom_css .='background: #F5F5DC !important;;';
		$kindergarten_education_custom_css .='}';
		$kindergarten_education_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, .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{';
			$kindergarten_education_custom_css .='color:#000 !important;';
		$kindergarten_education_custom_css .='}';
		$kindergarten_education_custom_css .='.footer-wp p{';
			$kindergarten_education_custom_css .='color:#000 !important;';
		$kindergarten_education_custom_css .='}';
		$kindergarten_education_custom_css .='.footer-wp ul li::before{';
			$kindergarten_education_custom_css .='background:#000;';
		$kindergarten_education_custom_css .='}';
		$kindergarten_education_custom_css .='.footer-wp table, .footer-wp th, .footer-wp td,.footer-wp.search-form .search-field,.footer-wp .tagcloud a{';
			$kindergarten_education_custom_css .='border: 1px solid #000;';
		$kindergarten_education_custom_css .='}';
	}
	else if($kindergarten_education_theme_lay == 'kindergarten_education-footer-five'){
	$kindergarten_education_custom_css .='.footer-wp {';
		$kindergarten_education_custom_css .='background: #333333 !important;;';
	$kindergarten_education_custom_css .='}';
	}		

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

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

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

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

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

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

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

	//Footer Social Icon Alignment
	$kindergarten_education_footer_icon_alignment = get_theme_mod( 'kindergarten_education_footer_icon_alignment','center');
    if($kindergarten_education_footer_icon_alignment == 'left'){
		$kindergarten_education_custom_css .='footer .socialicons{';
			$kindergarten_education_custom_css .='text-align:left !important;';
		$kindergarten_education_custom_css .='}';
	}else if($kindergarten_education_footer_icon_alignment == 'center'){
		$kindergarten_education_custom_css .='footer .socialicons{';
			$kindergarten_education_custom_css .='text-align:center !important;';
		$kindergarten_education_custom_css .='}';
	}else if($kindergarten_education_footer_icon_alignment == 'right'){
		$kindergarten_education_custom_css .='footer .socialicons{';
			$kindergarten_education_custom_css .='text-align:right !important;';
		$kindergarten_education_custom_css .='}';
	}		

	//Footer Social Icon Top Bottom padding 
	$kindergarten_education_footer_icon_to_top_padding = get_theme_mod('kindergarten_education_footer_icon_to_top_padding');
	$kindergarten_education_custom_css .='footer .socialicons a i{';
	$kindergarten_education_custom_css .='padding-top: '.esc_attr($kindergarten_education_footer_icon_to_top_padding).'px;!important;';
	$kindergarten_education_custom_css .='padding-bottom: '.esc_attr($kindergarten_education_footer_icon_to_top_padding).'px;!important;';
	$kindergarten_education_custom_css .='}';
	
	//Social icon color
	$kindergarten_education_social_icon_color = get_theme_mod('kindergarten_education_social_icon_color');
	$kindergarten_education_custom_css .='footer .socialicons i{';
			$kindergarten_education_custom_css .='color: '.esc_attr($kindergarten_education_social_icon_color).' !important;';
	$kindergarten_education_custom_css .='}';  

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

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

	// back to top bg color
	$kindergarten_education_scroll_icon_color = get_theme_mod('kindergarten_education_scroll_icon_color');
	$kindergarten_education_custom_css .='#scrollbutton i{';
		$kindergarten_education_custom_css .='color: '.esc_attr($kindergarten_education_scroll_icon_color).';';
	$kindergarten_education_custom_css .='}';

	// back to top bg hover color
	$kindergarten_education_scroll_icon_hover_color = get_theme_mod('kindergarten_education_scroll_icon_hover_color');
	$kindergarten_education_custom_css .='#scrollbutton i:hover{';
		$kindergarten_education_custom_css .='color: '.esc_attr($kindergarten_education_scroll_icon_hover_color).';';
	$kindergarten_education_custom_css .='}';

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

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

	$kindergarten_education_top_bottom_scroll_padding = get_theme_mod('kindergarten_education_top_bottom_scroll_padding', 12);
	$kindergarten_education_custom_css .='#scrollbutton i{';
		$kindergarten_education_custom_css .='padding-top: '.esc_attr($kindergarten_education_top_bottom_scroll_padding).'px; padding-bottom: '.esc_attr($kindergarten_education_top_bottom_scroll_padding).'px;';
	$kindergarten_education_custom_css .='}';

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

	/*------ Slider show/hide ------*/
	$kindergarten_education_slider = get_theme_mod('kindergarten_education_slider_hide', false);
	if($kindergarten_education_slider == true){
		$kindergarten_education_custom_css .='.page-template-custom-home-page #header{';
			$kindergarten_education_custom_css .=' position: static;';
		$kindergarten_education_custom_css .='}';
	}

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

	/*----------- Preloader Color Option  ----------------*/
	$kindergarten_education_preloader_bg_color_option = get_theme_mod('kindergarten_education_preloader_bg_color_option');
	$kindergarten_education_preloader_icon_color_option = get_theme_mod('kindergarten_education_preloader_icon_color_option');
	$kindergarten_education_custom_css .='.frame{';
		$kindergarten_education_custom_css .='background-color: '.esc_attr($kindergarten_education_preloader_bg_color_option).';';
	$kindergarten_education_custom_css .='}';

	$kindergarten_education_custom_css .='.dot-1,.dot-2,.dot-3{';
		$kindergarten_education_custom_css .='background-color: '.esc_attr($kindergarten_education_preloader_icon_color_option).';';
	$kindergarten_education_custom_css .='}';

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

	// menu settings
	$kindergarten_education_menu_font_size_option = get_theme_mod('kindergarten_education_menu_font_size_option', 14);
	$kindergarten_education_custom_css .='.primary-navigation a{';
		$kindergarten_education_custom_css .='font-size: '.esc_attr($kindergarten_education_menu_font_size_option).'px;';
	$kindergarten_education_custom_css .='}';

	// menu top-bottom padding
	$kindergarten_education_menu_top_bottom_padding = get_theme_mod('kindergarten_education_menu_top_bottom_padding');
	$kindergarten_education_custom_css .='.primary-navigation li{';
		$kindergarten_education_custom_css .='padding-top: '.esc_attr($kindergarten_education_menu_top_bottom_padding).'px;';
		$kindergarten_education_custom_css .='padding-bottom: '.esc_attr($kindergarten_education_menu_top_bottom_padding).'px;';
	$kindergarten_education_custom_css .='}';

	// menu left-right padding
	$kindergarten_education_menu_left_right_padding = get_theme_mod('kindergarten_education_menu_left_right_padding');
	$kindergarten_education_custom_css .='.primary-navigation li{';
		$kindergarten_education_custom_css .='padding-left: '.esc_attr($kindergarten_education_menu_left_right_padding).'px;';
		$kindergarten_education_custom_css .='padding-right: '.esc_attr($kindergarten_education_menu_left_right_padding).'px;';
	$kindergarten_education_custom_css .='}';

	// Responsive Media
	$kindergarten_education_slider = get_theme_mod( 'kindergarten_education_display_slider',false);
	if($kindergarten_education_slider == true && get_theme_mod( 'kindergarten_education_slider_hide', true) == false){
    	$kindergarten_education_custom_css .='#slider{';
			$kindergarten_education_custom_css .='display:none;';
		$kindergarten_education_custom_css .='} ';
	}
    if($kindergarten_education_slider == true){
    	$kindergarten_education_custom_css .='@media screen and (max-width:575px) {';
		$kindergarten_education_custom_css .='#slider{';
			$kindergarten_education_custom_css .='display:block;';
		$kindergarten_education_custom_css .='} }';
	}else if($kindergarten_education_slider == false){
		$kindergarten_education_custom_css .='@media screen and (max-width:575px){';
		$kindergarten_education_custom_css .='#slider{';
			$kindergarten_education_custom_css .='display:none;';
		$kindergarten_education_custom_css .='} }';
	}

	$kindergarten_education_sliderbutton = get_theme_mod( 'kindergarten_education_display_slider_button',true);
	if($kindergarten_education_sliderbutton == true && get_theme_mod( 'kindergarten_education_show_slider_button',true) != true){
    	$kindergarten_education_custom_css .='.more-btn{';
			$kindergarten_education_custom_css .='display:none;';
		$kindergarten_education_custom_css .='} ';
	}
    if($kindergarten_education_sliderbutton == true){
    	$kindergarten_education_custom_css .='@media screen and (max-width:575px) {';
		$kindergarten_education_custom_css .='.more-btn{';
			$kindergarten_education_custom_css .='display:block;';
		$kindergarten_education_custom_css .='} }';
	}else if($kindergarten_education_sliderbutton == false){
		$kindergarten_education_custom_css .='@media screen and (max-width:575px){';
		$kindergarten_education_custom_css .='.more-btn{';
			$kindergarten_education_custom_css .='display:none;';
		$kindergarten_education_custom_css .='} }';
	}

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

	$kindergarten_education_scroll = get_theme_mod( 'kindergarten_education_display_scrolltop', true);
	if($kindergarten_education_scroll == true && get_theme_mod( 'kindergarten_education_hide_show_scroll',true) != true){
    	$kindergarten_education_custom_css .='#scrollbutton i{';
			$kindergarten_education_custom_css .='display:none;';
		$kindergarten_education_custom_css .='} ';
	}
    if($kindergarten_education_scroll == true){
    	$kindergarten_education_custom_css .='@media screen and (max-width:575px) {';
		$kindergarten_education_custom_css .='#scrollbutton i{';
			$kindergarten_education_custom_css .='display:block;';
		$kindergarten_education_custom_css .='} }';
	}else if($kindergarten_education_scroll == false){
		$kindergarten_education_custom_css .='@media screen and (max-width:575px){';
		$kindergarten_education_custom_css .='#scrollbutton i{';
			$kindergarten_education_custom_css .='display:none;';
		$kindergarten_education_custom_css .='} }';
	}

	$kindergarten_education_preloader = get_theme_mod( 'kindergarten_education_display_preloader',false);
	if($kindergarten_education_preloader == true && get_theme_mod( 'kindergarten_education_preloader',false) != true){
    	$kindergarten_education_custom_css .='.frame{';
			$kindergarten_education_custom_css .='display:none;';
		$kindergarten_education_custom_css .='} ';
	}
    if($kindergarten_education_preloader == true){
    	$kindergarten_education_custom_css .='@media screen and (max-width:575px) {';
		$kindergarten_education_custom_css .='.frame{';
			$kindergarten_education_custom_css .='display:block;';
		$kindergarten_education_custom_css .='} }';
	}else if($kindergarten_education_preloader == false){
		$kindergarten_education_custom_css .='@media screen and (max-width:575px){';
		$kindergarten_education_custom_css .='.frame{';
			$kindergarten_education_custom_css .='display:none;';
		$kindergarten_education_custom_css .='} }';
	}

	$kindergarten_education_fixed_header = get_theme_mod( 'kindergarten_education_display_fixed_header',false);
	if($kindergarten_education_fixed_header == true && get_theme_mod( 'kindergarten_education_sticky_header',false) != true){
    	$kindergarten_education_custom_css .='.fixed-header{';
			$kindergarten_education_custom_css .='position:static;';
		$kindergarten_education_custom_css .='} ';
	}
    if($kindergarten_education_fixed_header == true){
    	$kindergarten_education_custom_css .='@media screen and (max-width:575px) {';
		$kindergarten_education_custom_css .='.fixed-header{';
			$kindergarten_education_custom_css .='position:fixed;';
		$kindergarten_education_custom_css .='} }';
	}else if($kindergarten_education_fixed_header == false){
		$kindergarten_education_custom_css .='@media screen and (max-width:575px){';
		$kindergarten_education_custom_css .='.fixed-header{';
			$kindergarten_education_custom_css .='position:static;';
		$kindergarten_education_custom_css .='} }';
	}

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

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

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

	// slider height
	$kindergarten_education_option_slider_height = get_theme_mod('kindergarten_education_option_slider_height');
	$kindergarten_education_custom_css .='#slider img{';
		$kindergarten_education_custom_css .='height: '.esc_attr($kindergarten_education_option_slider_height).'px;';
	$kindergarten_education_custom_css .='}';

	// site title font size
	$kindergarten_education_site_title_font_size = get_theme_mod('kindergarten_education_site_title_font_size', 30);
	$kindergarten_education_custom_css .='#header .logo a{';
	$kindergarten_education_custom_css .='font-size: '.esc_attr($kindergarten_education_site_title_font_size).'px;';
	$kindergarten_education_custom_css .='}';

	// site tagline font size
	$kindergarten_education_site_tagline_font_size = get_theme_mod('kindergarten_education_site_tagline_font_size', 15);
	$kindergarten_education_custom_css .='.page-template-custom-home-page #header .logo p, #header .logo p{';
	$kindergarten_education_custom_css .='font-size: '.esc_attr($kindergarten_education_site_tagline_font_size).'px;';
	$kindergarten_education_custom_css .='}';

	// site logo padding 
	$kindergarten_education_logo_padding = get_theme_mod('kindergarten_education_logo_padding', '');
	$kindergarten_education_custom_css .='.logo{';
	$kindergarten_education_custom_css .='padding: '.esc_attr($kindergarten_education_logo_padding).'px!important';
	$kindergarten_education_custom_css .='}';

	// site logo margin 
	$kindergarten_education_logo_margin = get_theme_mod('kindergarten_education_logo_margin', '');
	$kindergarten_education_custom_css .='.logo{';
	$kindergarten_education_custom_css .='margin: '.esc_attr($kindergarten_education_logo_margin).'px!important';
	$kindergarten_education_custom_css .='}';

	// site logo padding 
	$automobile_car_dealer_logo_padding = get_theme_mod('automobile_car_dealer_logo_padding', '');
	$automobile_car_dealer_custom_css .='.logo{';
	$automobile_car_dealer_custom_css .='padding: '.esc_attr($automobile_car_dealer_logo_padding).'px !important;';
	$automobile_car_dealer_custom_css .='}';

	/*------------------ Skin Option  -------------------*/
	$kindergarten_education_theme_lay = get_theme_mod( 'kindergarten_education_background_skin','Without Background');
    if($kindergarten_education_theme_lay == 'With Background'){
		$kindergarten_education_custom_css .='.inner-service, #sidebar .widget,.woocommerce ul.products li.product, .woocommerce-page ul.products li.product, .search-cat-box, .login-box a, .front-page-content, .background-img-skin, .category-text, .service-section{';
			$kindergarten_education_custom_css .='background-color: #fff; padding:10px !important;';
		$kindergarten_education_custom_css .='}';
	}else if($kindergarten_education_theme_lay == 'Without Background'){
		$kindergarten_education_custom_css .='#sidebar ul, #sidebar .widget_shopping_cart_content, #sidebar .tagcloud, #sidebar .textwidget, #sidebar form, #sidebar #calendar_wrap, .inner-box{';
			$kindergarten_education_custom_css .='background-color: transparent;';
		$kindergarten_education_custom_css .='}';
	}

	// slider overlay
	$kindergarten_education_enable_slider_overlay = get_theme_mod('kindergarten_education_enable_slider_overlay', true);
	if($kindergarten_education_enable_slider_overlay == false){
		$kindergarten_education_custom_css .='#slider img{';
			$kindergarten_education_custom_css .='opacity:1;';
		$kindergarten_education_custom_css .='}';
	} 
	$kindergarten_education_slider_overlay_color = get_theme_mod('kindergarten_education_slider_overlay_color', true);
	if($kindergarten_education_enable_slider_overlay != false){
		$kindergarten_education_custom_css .='#slider{';
			$kindergarten_education_custom_css .='background-color: '.esc_attr($kindergarten_education_slider_overlay_color).';';
		$kindergarten_education_custom_css .='}';
	}

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

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

	// featured image setting
	$kindergarten_education_image_border_radius = get_theme_mod('kindergarten_education_image_border_radius', 0);
	$kindergarten_education_custom_css .='.blog-section .inner-service .box-image img{';
		$kindergarten_education_custom_css .='border-radius: '.esc_attr($kindergarten_education_image_border_radius).'%;';
	$kindergarten_education_custom_css .='}';

	$kindergarten_education_image_box_shadow = get_theme_mod('kindergarten_education_image_box_shadow',0);
	$kindergarten_education_custom_css .='.blog-section .inner-service .box-image img{';
		$kindergarten_education_custom_css .='box-shadow: '.esc_attr($kindergarten_education_image_box_shadow).'px '.esc_attr($kindergarten_education_image_box_shadow).'px '.esc_attr($kindergarten_education_image_box_shadow).'px #ccc;';
	$kindergarten_education_custom_css .='}';

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

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

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

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

	$kindergarten_education_single_image_box_shadow = get_theme_mod('kindergarten_education_single_image_box_shadow',0);
	$kindergarten_education_custom_css .='.feature-box img{';
		$kindergarten_education_custom_css .='box-shadow: '.esc_attr($kindergarten_education_single_image_box_shadow).'px '.esc_attr($kindergarten_education_single_image_box_shadow).'px '.esc_attr($kindergarten_education_single_image_box_shadow).'px #ccc;';
	$kindergarten_education_custom_css .='}';

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

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

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

	// slider content spacing
	$kindergarten_education_slider_content_top_padding = get_theme_mod('kindergarten_education_slider_content_top_padding');
	$kindergarten_education_slider_content_left_padding = get_theme_mod('kindergarten_education_slider_content_left_padding');
	$kindergarten_education_custom_css .='#slider .carousel-caption, #slider .inner_carousel, #slider .inner_carousel h1, #slider .inner_carousel p, #slider .readbutton{';
		$kindergarten_education_custom_css .='top: '.esc_attr($kindergarten_education_slider_content_top_padding).'%; bottom: '.esc_attr($kindergarten_education_slider_content_top_padding).'%;left: '.esc_attr($kindergarten_education_slider_content_left_padding).'%;right: '.esc_attr($kindergarten_education_slider_content_left_padding).'%;';
	$kindergarten_education_custom_css .='}';

	// copyright font size
	$kindergarten_education_copyright_text_font_size = get_theme_mod('kindergarten_education_copyright_text_font_size', 15);
	$kindergarten_education_custom_css .='.copyright-wrapper span, .copyright-wrapper a{';
		$kindergarten_education_custom_css .='font-size: '.esc_attr($kindergarten_education_copyright_text_font_size).'px;';
	$kindergarten_education_custom_css .='}';

	// copyright padding option
	$kindergarten_education_footer_text_padding = get_theme_mod('kindergarten_education_footer_text_padding', 15);
	$kindergarten_education_custom_css .='.copyright-wrapper{';
		$kindergarten_education_custom_css .='padding-top: '.esc_attr($kindergarten_education_footer_text_padding).'px !important; padding-bottom: '.esc_attr($kindergarten_education_footer_text_padding).'px !important;';
	$kindergarten_education_custom_css .='}';

	// menu text transform
	$kindergarten_education_theme_lay = get_theme_mod( 'kindergarten_education_text_tranform_menu','Uppercase');
    if($kindergarten_education_theme_lay == 'Uppercase'){
		$kindergarten_education_custom_css .='.primary-navigation a{';
			$kindergarten_education_custom_css .='';
		$kindergarten_education_custom_css .='}';
	}else if($kindergarten_education_theme_lay == 'Lowercase'){
		$kindergarten_education_custom_css .='.primary-navigation a{';
			$kindergarten_education_custom_css .='text-transform: lowercase;';
		$kindergarten_education_custom_css .='}';
	}
	else if($kindergarten_education_theme_lay == 'Capitalize'){
		$kindergarten_education_custom_css .='.primary-navigation a{';
			$kindergarten_education_custom_css .='text-transform: Capitalize;';
		$kindergarten_education_custom_css .='}';
	}

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

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

	// site toggle button color
	$kindergarten_education_toggle_button_color = get_theme_mod('kindergarten_education_toggle_button_color');
	$kindergarten_education_custom_css .='.toggle-menu i, .page-template-custom-home-page .toggle-menu i{';
		$kindergarten_education_custom_css .='color: '.esc_attr($kindergarten_education_toggle_button_color).' !important;';
	$kindergarten_education_custom_css .='}';

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

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

	//Copyright text color
	$kindergarten_education_copyright_text_color = get_theme_mod('kindergarten_education_copyright_text_color');
	$kindergarten_education_custom_css .='.copyright-wrapper span, .copyright-wrapper span a{';
		$kindergarten_education_custom_css .='color: '.esc_attr($kindergarten_education_copyright_text_color).';';
	$kindergarten_education_custom_css .='}';

	//Copyright background css
	$kindergarten_education_copyright_text_background = get_theme_mod('kindergarten_education_copyright_text_background');
	$kindergarten_education_custom_css .='.copyright-wrapper{';
		$kindergarten_education_custom_css .='background-color: '.esc_attr($kindergarten_education_copyright_text_background).';';
	$kindergarten_education_custom_css .='}';

	// menu color
	$kindergarten_education_menu_color = get_theme_mod('kindergarten_education_menu_color');
	$kindergarten_education_custom_css .='.primary-navigation a, .primary-navigation ul li a{';
			$kindergarten_education_custom_css .='color: '.esc_attr($kindergarten_education_menu_color).' !important;';
	$kindergarten_education_custom_css .='}';

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

	// menu hover color
	$kindergarten_education_menu_hover_color = get_theme_mod('kindergarten_education_menu_hover_color');
	$kindergarten_education_custom_css .='.primary-navigation a:hover, .primary-navigation ul li a:hover{';
			$kindergarten_education_custom_css .='color: '.esc_attr($kindergarten_education_menu_hover_color).' !important;';
	$kindergarten_education_custom_css .='}';

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

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

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

	// button text transform
	$kindergarten_education_theme_lay = get_theme_mod( 'kindergarten_education_tranform_button_text','Capitalize');
    if($kindergarten_education_theme_lay == 'Uppercase'){
		$kindergarten_education_custom_css .='.postbtn a{';
			$kindergarten_education_custom_css .='text-transform: uppercase;';
		$kindergarten_education_custom_css .='}';
	}else if($kindergarten_education_theme_lay == 'Lowercase'){
		$kindergarten_education_custom_css .='.postbtn a{';
			$kindergarten_education_custom_css .='text-transform: lowercase;';
		$kindergarten_education_custom_css .='}';
	}
	else if($kindergarten_education_theme_lay == 'Capitalize'){
		$kindergarten_education_custom_css .='.postbtn a{';
			$kindergarten_education_custom_css .='text-transform: capitalize;';
		$kindergarten_education_custom_css .='}';
	}

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

	// button font weight
	$kindergarten_education_button_font_weight = get_theme_mod( 'kindergarten_education_button_font_weight','700');
	if($kindergarten_education_button_font_weight != ''){
		$kindergarten_education_custom_css .='.postbtn a{';
			$kindergarten_education_custom_css .='font-weight: '.esc_attr($kindergarten_education_button_font_weight).';';
		$kindergarten_education_custom_css .='}';
	}

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

	//keyframes for all animations
	$kindergarten_education_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); }
	}';

	// button letter spacing
	$kindergarten_education_button_letter_spacing = get_theme_mod('kindergarten_education_button_letter_spacing', '0');
	$kindergarten_education_custom_css .='.postbtn a {';
		$kindergarten_education_custom_css .='letter-spacing: '.esc_attr($kindergarten_education_button_letter_spacing).'px;';
	$kindergarten_education_custom_css .='}';		

	//Button Shape
	$kindergarten_education_btn_shape = get_theme_mod('kindergarten_education_btn_shape', 'Square');
	if($kindergarten_education_btn_shape == 'Square' ){
		$kindergarten_education_custom_css .='.postbtn a{';
			$kindergarten_education_custom_css .=' border-radius: 0';
		$kindergarten_education_custom_css .='}';
	}elseif($kindergarten_education_btn_shape == 'Round' ){
		$kindergarten_education_custom_css .='.postbtn a{';
			$kindergarten_education_custom_css .=' border-radius: .3em';
		$kindergarten_education_custom_css .='}';
	}elseif($kindergarten_education_btn_shape == 'Pill' ){
		$kindergarten_education_custom_css .='.postbtn a{';
			$kindergarten_education_custom_css .=' border-radius: 2em;';
		$kindergarten_education_custom_css .='}';
	}

	//First Cap
	$kindergarten_education_show_first_caps = get_theme_mod('kindergarten_education_show_first_caps', 'false');
	if($kindergarten_education_show_first_caps == 'true' ){
	$kindergarten_education_custom_css .='.blog-section .inner-box .new-text p:nth-of-type(1)::first-letter{';
	$kindergarten_education_custom_css .=' font-size: 55px; font-weight: 600;';
	$kindergarten_education_custom_css .=' margin-right: 6px;';
	$kindergarten_education_custom_css .=' line-height: 1;';
	$kindergarten_education_custom_css .='}';
	}elseif($kindergarten_education_show_first_caps == 'false' ){
	$kindergarten_education_custom_css .='.blog-section .inner-box .new-text p:nth-of-type(1)::first-letter {';
	$kindergarten_education_custom_css .='display: none;';
	$kindergarten_education_custom_css .='}';
	}

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

	$kindergarten_education_btn_font_size_option = get_theme_mod('kindergarten_education_btn_font_size_option');
	$kindergarten_education_custom_css .='.postbtn a{';
		$kindergarten_education_custom_css .='font-size: '.esc_attr($kindergarten_education_btn_font_size_option).'px !important;';
	$kindergarten_education_custom_css .='}';
	
	$kindergarten_education_post_button_padding_top = get_theme_mod('kindergarten_education_post_button_padding_top');
	$kindergarten_education_custom_css .='.postbtn a, #comments input[type="submit"].submit{';
		$kindergarten_education_custom_css .='padding-top: '.esc_attr($kindergarten_education_post_button_padding_top).'px !important; padding-bottom: '.esc_attr($kindergarten_education_post_button_padding_top).'px !important;';
	$kindergarten_education_custom_css .='}';

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

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

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

	// Fixed Copyright
	$kindergarten_education_fixed_copyright = get_theme_mod( 'kindergarten_education_display_fixed_copyright',false);
	if($kindergarten_education_fixed_copyright == true && get_theme_mod( 'kindergarten_education_sticky_copyright',false) != true){
    	$kindergarten_education_custom_css .='.fixed-copyright{';
			$kindergarten_education_custom_css .='position:static;';
		$kindergarten_education_custom_css .='} ';
	}
    if($kindergarten_education_fixed_copyright == true){
    	$kindergarten_education_custom_css .='@media screen and (max-width:575px) {';
		$kindergarten_education_custom_css .='.fixed-copyright{';
			$kindergarten_education_custom_css .='position:fixed;';
		$kindergarten_education_custom_css .='} }';
	}else if($kindergarten_education_fixed_copyright == false){
		$kindergarten_education_custom_css .='@media screen and (max-width:575px){';
		$kindergarten_education_custom_css .='.fixed-copyright{';
			$kindergarten_education_custom_css .='position:static;';
		$kindergarten_education_custom_css .='} }';
	}

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

	$kindergarten_education_show_featured = get_theme_mod(
		'kindergarten_education_featured_image_hide_show',
		1
	);

	$kindergarten_education_hover_effect = get_theme_mod(
		'kindergarten_education_featured_image_hover',
		'none'
	);

	$kindergarten_education_hover_duration = get_theme_mod(
		'kindergarten_education_featured_image_hover_duration',
		0.4
	);

	if ( $kindergarten_education_show_featured && $kindergarten_education_hover_effect !== 'none' ) {

		/* BASE RESET (MOST IMPORTANT PART) */
		$kindergarten_education_custom_css .= '
		.kindergarten-education-featured-image{
			overflow: hidden;
		}
		.kindergarten-education-featured-image img{
			transform: scale(1);
			filter: none;
			transition:
				transform ' . esc_attr( $kindergarten_education_hover_duration ) . 's ease,
				filter ' . esc_attr( $kindergarten_education_hover_duration ) . 's ease;
			will-change: transform, filter;
		}';

		/* ZOOM IN */
		if ( $kindergarten_education_hover_effect === 'zoom-in' ) {
			$kindergarten_education_custom_css .= '
			.kindergarten-education-featured-image img:hover{
				transform: scale(1.2);
			}';
		}

		/* ZOOM OUT */
		if ( $kindergarten_education_hover_effect === 'zoom-out' ) {
			$kindergarten_education_custom_css .= '
			.kindergarten-education-featured-image img{
				transform: scale(1.2);
			}
			.kindergarten-education-featured-image img:hover{
				transform: scale(1);
			}';
		}

		/* GRAYSCALE (NORMAL → COLOR ON HOVER) */
		if ( $kindergarten_education_hover_effect === 'grayscale' ) {
			$kindergarten_education_custom_css .= '
			.kindergarten-education-featured-image img{
				filter: grayscale(0%);
			}
			.kindergarten-education-featured-image img:hover{
				filter: grayscale(100%);
			}';
		}

		/* SEPIA */
		if ( $kindergarten_education_hover_effect === 'sepia' ) {
			$kindergarten_education_custom_css .= '
			.kindergarten-education-featured-image img:hover{
				filter: sepia(100%);
			}';
		}

		/* BLUR */
		if ( $kindergarten_education_hover_effect === 'blur' ) {
			$kindergarten_education_custom_css .= '
			.kindergarten-education-featured-image img:hover{
				filter: blur(3px);
			}';
		}

		/* BRIGHT */
		if ( $kindergarten_education_hover_effect === 'bright' ) {
			$kindergarten_education_custom_css .= '
			.kindergarten-education-featured-image img:hover{
				filter: brightness(1.3);
			}';
		}

		/* TRANSLATE */
		if ( $kindergarten_education_hover_effect === 'translate' ) {
			$kindergarten_education_custom_css .= '
			.kindergarten-education-featured-image img:hover{
				transform: translateY(-10px);
			}';
		}
	}