<?php


$preschool_nursery_theme_color = get_theme_mod('preschool_nursery_theme_color');

	$preschool_nursery_custom_css = '';

	if($preschool_nursery_theme_color != false){
		$preschool_nursery_custom_css .='button,
		input[type="button"],
		input[type="submit"],.readbutton a:hover,
		.book-btn a:hover,.woocommerce span.onsale ,.woocommerce #respond input#submit:hover,
		.woocommerce a.button:hover,
		.woocommerce button.button:hover,
		.woocommerce input.button:hover,
		.woocommerce #respond input#submit.alt:hover,
		.woocommerce a.button.alt:hover,
		.woocommerce button.button.alt:hover,
		.woocommerce input.button.alt:hover,
		.woocommerce a.added_to_cart.wc-forward:hover, .woocommerce-MyAccount-navigation ul li,#sidebox .widget_price_filter .ui-slider-horizontal .ui-slider-range,
		#sidebox .widget_price_filter .ui-slider .ui-slider-handle,
		.site-footer .widget_price_filter .ui-slider-horizontal .ui-slider-range,
		.site-footer .widget_price_filter .ui-slider .ui-slider-handle , .site-footer button[type="submit"],
		#sidebox button[type="submit"],
		#sidebox .widget_shopping_cart .buttons a:hover,
		#sidebox .widget_price_filter .price_slider_amount .button:hover,
		.site-footer .widget_shopping_cart .buttons a:hover,
		.site-footer .widget_price_filter .price_slider_amount .button:hover,
		.site-footer form.woocommerce-product-search button:hover,
		.site-footer form.woocommerce-product-search button:focus,.breadcrumb a ,.breadcrumb span , .post-link a:hover,.post-navigation .nav-next a ,.post-navigation .nav-previous a , .tags p a ,#sidebox h3 ,#sidebox .wp-block-heading ,#sidebox .wp-block-search__label ,.nav-links .nav-previous a ,.nav-links .nav-next a ,.page-numbers , button.search-submit:hover ,.scrollup i, .search-form button.search-submit,.site-info , .comment-reply-link , .widget .tagcloud a:hover,
		.widget .tagcloud a:focus,
		.widget.widget_tag_cloud a:hover,
		.widget.widget_tag_cloud a:focus,
		.wp_widget_tag_cloud a:hover,
		.wp_widget_tag_cloud a:focus ,.page-links .post-page-numbers 
		{';
			$preschool_nursery_custom_css .='background-color: '.esc_attr($preschool_nursery_theme_color).';';
		$preschool_nursery_custom_css .='}';
	}
	
	if($preschool_nursery_theme_color != false){
		$preschool_nursery_custom_css .='a ,a:hover,
		a:active ,.main-navigation ,.topbar a.email i,
		.topbar a.phone i ,.text code,
		.blogger h2 a:hover,
		p.logged-in-as a,
		.related-posts h3 a:hover,.site-footer h3 , .site-footer .wp-block-heading , #sidebox ul li a:hover ,  .main-navigation li li:focus > a,
		.main-navigation li li:hover > a {';
			$preschool_nursery_custom_css .='color: '.esc_attr($preschool_nursery_theme_color).';';
		$preschool_nursery_custom_css .='}';
	}

	if($preschool_nursery_theme_color != false){
		$preschool_nursery_custom_css .='.site-footer h3 , .site-footer .wp-block-heading , .scrollup i{';
			$preschool_nursery_custom_css .='border-color: '.esc_attr($preschool_nursery_theme_color).';';
		$preschool_nursery_custom_css .='}';
	}

	if($preschool_nursery_theme_color != false){
		$preschool_nursery_custom_css .='.site-footer h3{';
			$preschool_nursery_custom_css .='border-bottom: '.esc_attr($preschool_nursery_theme_color).';';
		$preschool_nursery_custom_css .='}';
	}

	if($preschool_nursery_theme_color != false){
		$preschool_nursery_custom_css .='.site-footer ul li a:hover {';
			$preschool_nursery_custom_css .='color: '.esc_attr($preschool_nursery_theme_color).'!important;';
		$preschool_nursery_custom_css .='}';
	}

	if($preschool_nursery_theme_color != false){
		$preschool_nursery_custom_css .=' button.wc-block-components-checkout-place-order-button:hover,
		a.wc-block-components-totals-coupon-link:hover, a.components-button.wc-block-components-button.wp-element-button.wc-block-cart__submit-button.contained:hover,
		a.wc-block-components-checkout-return-to-cart-button:hover, .wp-block-button__link  {';
			$preschool_nursery_custom_css .='background-color: '.esc_attr($preschool_nursery_theme_color).'!important;';
		$preschool_nursery_custom_css .='}';
	}
 

	/*---------------------------Media -------------------*/

	if($preschool_nursery_theme_color != false){
		$preschool_nursery_custom_css .='@media screen and (min-width: 48em) {   .main-navigation li li:focus > a,
			.main-navigation li li:hover > a   {';
			$preschool_nursery_custom_css .='background: '.esc_attr($preschool_nursery_theme_color).';';
		$preschool_nursery_custom_css .='} }';
	}

	if($preschool_nursery_theme_color != false){
		$preschool_nursery_custom_css .='@media screen and (min-width: 48em) {  .main-navigation ul ul li a {';
			$preschool_nursery_custom_css .='color: '.esc_attr($preschool_nursery_theme_color).';';
		$preschool_nursery_custom_css .='} }';
	}

	if($preschool_nursery_theme_color != false){
		$preschool_nursery_custom_css .='@media screen and (min-width: 48em) { ..main-navigation ul ul li:hover {';
			$preschool_nursery_custom_css .='border: '.esc_attr($preschool_nursery_theme_color).';';
		$preschool_nursery_custom_css .='} }';
	}

    // Second color

	$preschool_nursery_theme_second_color = get_theme_mod('preschool_nursery_theme_second_color');

	if($preschool_nursery_theme_second_color != false){
		$preschool_nursery_custom_css .='.site-footer button[type="submit"]:hover,
		#sidebox button[type="submit"]:hover,
		.search-form button.search-submit:hover,
		.page-content .search-form .search-submit:hover,
		.nav-links .nav-previous a:hover,
		.nav-links .nav-next a:hover,
		#comments input[type="submit"]:hover{';
			$preschool_nursery_custom_css .='background-color: '.esc_attr($preschool_nursery_theme_second_color).';';
		$preschool_nursery_custom_css .='}';
	}
	
	if($preschool_nursery_theme_second_color != false){
		$preschool_nursery_custom_css .='.menu-toggle , .book-btn a,.readbutton a ,.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.wc-forward,.breadcrumb a:hover, .breadcrumb a:hover , .breadcrumb span:hover ,.blogger h2 a,
		.related-posts h3 a , .post-link a ,.post-info ,.post-info i,
		.post-info span,
		.post-info a, .wp-block-button .wp-block-button__link:hover, .wp-block-button .wp-block-button__link:focus{';
			$preschool_nursery_custom_css .='color: '.esc_attr($preschool_nursery_theme_second_color).';';
		$preschool_nursery_custom_css .='}';
	}

	if($preschool_nursery_theme_second_color != false){
		$preschool_nursery_custom_css .='.menu-toggle{';
			$preschool_nursery_custom_css .='border-color: '.esc_attr($preschool_nursery_theme_second_color).';';
		$preschool_nursery_custom_css .='}';
	}

	if($preschool_nursery_theme_second_color != false){
		$preschool_nursery_custom_css .='a.wc-block-components-totals-coupon-link,a.components-button.wc-block-components-button.wp-element-button.wc-block-cart__submit-button.contained,
		a.wc-block-components-checkout-return-to-cart-button,.wc-block-components-totals-coupon__button.contained,button.wc-block-components-checkout-place-order-button ,.wc-block-grid__product-onsale{';
			$preschool_nursery_custom_css .='color: '.esc_attr($preschool_nursery_theme_second_color).'!important;';
		$preschool_nursery_custom_css .='}';
	}

	// Third color

	$preschool_nursery_theme_third_color = get_theme_mod('preschool_nursery_theme_third_color');

	if($preschool_nursery_theme_third_color != false){
		$preschool_nursery_custom_css .=' .book-btn a ,.readbutton a,a.wc-block-components-totals-coupon-link,a.components-button.wc-block-components-button.wp-element-button.wc-block-cart__submit-button.contained,
		a.wc-block-components-checkout-return-to-cart-button,.wc-block-components-totals-coupon__button.contained,button.wc-block-components-checkout-place-order-button ,.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.wc-forward ,.breadcrumb a:hover, .breadcrumb span:hover , .post-link a , .post-info {';
			$preschool_nursery_custom_css .='background-color: '.esc_attr($preschool_nursery_theme_third_color).';';
		$preschool_nursery_custom_css .='}';
	}
	
	if($preschool_nursery_theme_third_color != false){
		$preschool_nursery_custom_css .='  .wc-block-grid__product-onsale ,.wp-block-button .wp-block-button__link:hover, .wp-block-button .wp-block-button__link:focus{';
			$preschool_nursery_custom_css .='background-color: '.esc_attr($preschool_nursery_theme_third_color).'!important;';
		$preschool_nursery_custom_css .='}';
	}

	if($preschool_nursery_theme_third_color != false){
		$preschool_nursery_custom_css .=' .wc-block-grid__product-onsale{';
			$preschool_nursery_custom_css .='border: '.esc_attr($preschool_nursery_theme_third_color).'!important;';
		$preschool_nursery_custom_css .='}';
	}

	/*---------------------------Width Layout -------------------*/
	$preschool_nursery_theme_lay = get_theme_mod( 'preschool_nursery_theme_options','Default');
    if($preschool_nursery_theme_lay == 'Default'){
		$preschool_nursery_custom_css .='body{';
			$preschool_nursery_custom_css .='max-width: 100%;';
		$preschool_nursery_custom_css .='}';
		$preschool_nursery_custom_css .='.page-template-custom-home-page .middle-header{';
			$preschool_nursery_custom_css .='width: 97.3%';
		$preschool_nursery_custom_css .='}';
	}else if($preschool_nursery_theme_lay == 'Wide Layout'){
		$preschool_nursery_custom_css .='body{';
			$preschool_nursery_custom_css .='width: 100%;padding-right: 15px;padding-left: 15px;margin-right: auto;margin-left: auto;';
		$preschool_nursery_custom_css .='}';
		$preschool_nursery_custom_css .='.page-template-custom-home-page .middle-header{';
			$preschool_nursery_custom_css .='width: 97.7%';
		$preschool_nursery_custom_css .='}';
	}else if($preschool_nursery_theme_lay == 'Box Layout'){
		$preschool_nursery_custom_css .='body{';
			$preschool_nursery_custom_css .='max-width: 1140px; width: 100%; padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto;';
		$preschool_nursery_custom_css .='}';
	}

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

	/*---------------------------Slider Content Layout -------------------*/
	$preschool_nursery_slider_layout = get_theme_mod( 'preschool_nursery_slider_content_option','Left');
    if($preschool_nursery_slider_layout == 'Left'){
		$preschool_nursery_custom_css .='#slider .carousel-caption, #slider .inner_carousel, #slider .inner_carousel h1, #slider .inner_carousel p, #slider .readbutton{';
			$preschool_nursery_custom_css .='text-align:left; left:10%; right:52%; bottom: auto;';
		$preschool_nursery_custom_css .='}';		
	}else if($preschool_nursery_slider_layout == 'Center'){
		$preschool_nursery_custom_css .='#slider .carousel-caption, #slider .inner_carousel, #slider .inner_carousel h1, #slider .inner_carousel p, #slider .readbutton{';
			$preschool_nursery_custom_css .='text-align:center; left:20%; right:20%; bottom: auto;';
		$preschool_nursery_custom_css .='}';		
	}else if($preschool_nursery_slider_layout == 'Right'){
		$preschool_nursery_custom_css .='#slider .carousel-caption, #slider .inner_carousel, #slider .inner_carousel h1, #slider .inner_carousel p, #slider .readbutton{';
			$preschool_nursery_custom_css .='text-align:right; left:52%; right:10%; bottom: auto;';
		$preschool_nursery_custom_css .='}';		
	}

	/*----------------------------- Button Settings option-----------------------*/
	$preschool_nursery_btn_font_size_option = get_theme_mod('preschool_nursery_btn_font_size_option', 14);
	$preschool_nursery_custom_css .='.post-link a,#slider .readbutton, .form-submit input[type="submit"]{';
	$preschool_nursery_custom_css .='font-size: '.esc_attr($preschool_nursery_btn_font_size_option).'px;';
	$preschool_nursery_custom_css .='}';

	$preschool_nursery_top_bottom_padding = get_theme_mod('preschool_nursery_top_bottom_padding');
	$preschool_nursery_left_right_padding = get_theme_mod('preschool_nursery_left_right_padding');
	$preschool_nursery_custom_css .='.post-link a, #slider .readbutton, .form-submit input[type="submit"]{';
		$preschool_nursery_custom_css .='padding-top: '.esc_attr($preschool_nursery_top_bottom_padding).'px; padding-bottom: '.esc_attr($preschool_nursery_top_bottom_padding).'px; padding-left: '.esc_attr($preschool_nursery_left_right_padding).'px; padding-right: '.esc_attr($preschool_nursery_left_right_padding).'px; display:inline-block;';
	$preschool_nursery_custom_css .='}';

	$preschool_nursery_border_radius = get_theme_mod('preschool_nursery_border_radius');
	$preschool_nursery_custom_css .='.post-link a,#slider .readbutton, .form-submit input[type="submit"]{';
		$preschool_nursery_custom_css .='border-radius: '.esc_attr($preschool_nursery_border_radius).'px;';
	$preschool_nursery_custom_css .='}';


	// Button Text Transform
	$preschool_nursery_theme_lay = get_theme_mod( 'preschool_nursery_button_text_transform','Uppercase');
	   if($preschool_nursery_theme_lay == 'Uppercase'){
		$preschool_nursery_custom_css .='.post-link a,#slider .readbutton, .form-submit input[type="submit"]{';
		$preschool_nursery_custom_css .='text-transform: uppercase;';
		$preschool_nursery_custom_css .='}';
	}else if($preschool_nursery_theme_lay == 'Lowercase'){
		$preschool_nursery_custom_css .='.post-link a,#slider .readbutton, .form-submit input[type="submit"]{';
		$preschool_nursery_custom_css .='text-transform: lowercase;';
		$preschool_nursery_custom_css .='}';
	}
	   else if($preschool_nursery_theme_lay == 'Capitalize'){
	    $preschool_nursery_custom_css .='.post-link a,#slider .readbutton, .form-submit input[type="submit"]{';
	    $preschool_nursery_custom_css .='text-transform: capitalize;';
		$preschool_nursery_custom_css .='}';
	}

	// font weight
    $preschool_nursery_btn_font_weight = get_theme_mod('preschool_nursery_btn_font_weight');{
	$preschool_nursery_custom_css .='.post-link a,#slider .readbutton, .form-submit input[type="submit"]{';
	$preschool_nursery_custom_css .='font-weight: '.esc_attr($preschool_nursery_btn_font_weight).';';
	$preschool_nursery_custom_css .='}';
	}  
	
	//Button hover effect
	$preschool_nursery_button_hover_effect = get_theme_mod('preschool_nursery_button_hover_effect', 'disable');
	if ($preschool_nursery_button_hover_effect !== 'disable') {
		$preschool_nursery_custom_css .= '.post-link a:hover {';
		switch ($preschool_nursery_button_hover_effect) {
			case 'pulse':
				$preschool_nursery_custom_css .= 'animation: pulse 0.5s ease-in-out;';
				break;
			case 'rubberBand':
				$preschool_nursery_custom_css .= 'animation: rubberBand 0.5s ease-in-out;';
				break;
			case 'swing':
				$preschool_nursery_custom_css .= 'animation: swing 0.5s ease-in-out;';
				break;
			case 'tada':
				$preschool_nursery_custom_css .= 'animation: tada 0.5s ease-in-out;';
				break;
			case 'jello':
				$preschool_nursery_custom_css .= 'animation: jello 0.5s ease-in-out;';
				break;
		}
		$preschool_nursery_custom_css .= '}';
	}

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

	/*---------------------------Blog Layout -------------------*/
	$preschool_nursery_theme_lay = get_theme_mod( 'preschool_nursery_blog_post_layout','Default');
    if($preschool_nursery_theme_lay == 'Default'){
		$preschool_nursery_custom_css .='.blogger{';
			$preschool_nursery_custom_css .='';
		$preschool_nursery_custom_css .='}';
	}else if($preschool_nursery_theme_lay == 'Center'){
		$preschool_nursery_custom_css .='.blogger, .blogger h2, .post-info, .text p, .blogger .post-link{';
			$preschool_nursery_custom_css .='text-align:center!important';
		$preschool_nursery_custom_css .='}';
		$preschool_nursery_custom_css .='.post-info{';
			$preschool_nursery_custom_css .='margin-top:10px;';
		$preschool_nursery_custom_css .='}';
		$preschool_nursery_custom_css .='.blogger .post-link{';
			$preschool_nursery_custom_css .='margin-top:25px;';
		$preschool_nursery_custom_css .='}';
	}else if($preschool_nursery_theme_lay == 'Image and Content'){
		$preschool_nursery_custom_css .='.blogger, .blogger h2, .post-info, .text p, #our-services p{';
			$preschool_nursery_custom_css .='text-align:Left;';
		$preschool_nursery_custom_css .='}';
		$preschool_nursery_custom_css .='.blogger .post-link{';
			$preschool_nursery_custom_css .='text-align:right;';
		$preschool_nursery_custom_css .='}';
	}else if($preschool_nursery_theme_lay == 'Content and Image'){
		$preschool_nursery_custom_css .='.blogger, .blogger h2, .post-info, .text p, #our-services p{';
			$preschool_nursery_custom_css .='text-align:Left;';
		$preschool_nursery_custom_css .='}';
		$preschool_nursery_custom_css .='.blogger .post-link{';
			$preschool_nursery_custom_css .='text-align:right;';
		$preschool_nursery_custom_css .='}';
	}

	/*--------- Preloader Color Option -------*/
	$preschool_nursery_loader_color_setting = get_theme_mod('preschool_nursery_loader_color_setting');
	$preschool_nursery_custom_css .=' .circle .inner{';
		$preschool_nursery_custom_css .='border-color: '.esc_attr($preschool_nursery_loader_color_setting).';';
	$preschool_nursery_custom_css .='} ';

	$preschool_nursery_loader_background_color = get_theme_mod('preschool_nursery_loader_background_color');
	$preschool_nursery_custom_css .=' #pre-loader{';
		$preschool_nursery_custom_css .='background-color: '.esc_attr($preschool_nursery_loader_background_color).';';
	$preschool_nursery_custom_css .='} ';

	$preschool_nursery_theme_lay = get_theme_mod( 'preschool_nursery_preloader_types','Default');
    if($preschool_nursery_theme_lay == 'Default'){
		$preschool_nursery_custom_css .='{';
			$preschool_nursery_custom_css .='';
		$preschool_nursery_custom_css .='}';
	}elseif($preschool_nursery_theme_lay == 'Circle'){
		$preschool_nursery_custom_css .='.circle .inner{';
			$preschool_nursery_custom_css .='width:unset;';
		$preschool_nursery_custom_css .='}';
	}elseif($preschool_nursery_theme_lay == 'Two Circle'){
		$preschool_nursery_custom_css .='.circle .inner{';
			$preschool_nursery_custom_css .='width:80%;
    border-right: 5px;';
		$preschool_nursery_custom_css .='}';
	}

	$preschool_nursery_loader_background_image = get_theme_mod('preschool_nursery_loader_background_image');
	if($preschool_nursery_loader_background_image != false){
		$preschool_nursery_custom_css .='#pre-loader{';
			$preschool_nursery_custom_css .='background: url('.esc_attr($preschool_nursery_loader_background_image).');-webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover;';
		$preschool_nursery_custom_css .='}';
	}

	// Responsive Media
    $preschool_nursery_preloader = get_theme_mod( 'preschool_nursery_enable_disable_preloader', false);
	if($preschool_nursery_preloader == true && get_theme_mod( 'preschool_nursery_loader_setting', false) == false){
    	$preschool_nursery_custom_css .='#pre-loader{';
			$preschool_nursery_custom_css .='visibility:hidden;';
		$preschool_nursery_custom_css .='} ';
	}
    if($preschool_nursery_preloader == true){
    	$preschool_nursery_custom_css .='@media screen and (max-width:575px) {';
		$preschool_nursery_custom_css .='#pre-loader{';
			$preschool_nursery_custom_css .='visibility:visible;';
		$preschool_nursery_custom_css .='} }';
	}else if($preschool_nursery_preloader == false){
		$preschool_nursery_custom_css .='@media screen and (max-width:575px) {';
		$preschool_nursery_custom_css .='#pre-loader{';
			$preschool_nursery_custom_css .='visibility:hidden;';
		$preschool_nursery_custom_css .='} }';
	}

	$preschool_nursery_sidebar = get_theme_mod( 'preschool_nursery_enable_disable_sidebar',true);
    if($preschool_nursery_sidebar == true){
    	$preschool_nursery_custom_css .='@media screen and (max-width:575px) {';
		$preschool_nursery_custom_css .='#sidebox{';
			$preschool_nursery_custom_css .='display:block;';
		$preschool_nursery_custom_css .='} }';
	}else if($preschool_nursery_sidebar == false){
		$preschool_nursery_custom_css .='@media screen and (max-width:575px) {';
		$preschool_nursery_custom_css .='#sidebox{';
			$preschool_nursery_custom_css .='display:none;';
		$preschool_nursery_custom_css .='} }';
	}

	$preschool_nursery_stickyheader = get_theme_mod( 'preschool_nursery_enable_disable_topbar',false);
	if($preschool_nursery_stickyheader == true && get_theme_mod( 'preschool_nursery_show_hide_topbar', false) == false){
    	$preschool_nursery_custom_css .='.topbar{';
			$preschool_nursery_custom_css .='display:none;';
		$preschool_nursery_custom_css .='} ';
	}
    if($preschool_nursery_stickyheader == true){
    	$preschool_nursery_custom_css .='@media screen and (max-width:575px) {';
		$preschool_nursery_custom_css .='.topbar{';
			$preschool_nursery_custom_css .='display:block;';
		$preschool_nursery_custom_css .='} }';
	}else if($preschool_nursery_stickyheader == false){
		$preschool_nursery_custom_css .='@media screen and (max-width:575px) {';
		$preschool_nursery_custom_css .='.topbar{';
			$preschool_nursery_custom_css .='display:none;';
		$preschool_nursery_custom_css .='} }';
	}

	$preschool_nursery_stickyheader = get_theme_mod( 'preschool_nursery_enable_disable_fixed_header',false);
	if($preschool_nursery_stickyheader == true && get_theme_mod( 'preschool_nursery_fixed_header', false) == false){
    	$preschool_nursery_custom_css .='.fixed-header{';
			$preschool_nursery_custom_css .='position:static;';
		$preschool_nursery_custom_css .='} ';
	}
    if($preschool_nursery_stickyheader == true){
    	$preschool_nursery_custom_css .='@media screen and (max-width:575px) {';
		$preschool_nursery_custom_css .='.fixed-header{';
			$preschool_nursery_custom_css .='position:fixed;';
		$preschool_nursery_custom_css .='} }';
	}else if($preschool_nursery_stickyheader == false){
		$preschool_nursery_custom_css .='@media screen and (max-width:575px) {';
		$preschool_nursery_custom_css .='.fixed-header{';
			$preschool_nursery_custom_css .='position:static;';
		$preschool_nursery_custom_css .='} }';
	}

	$preschool_nursery_slider = get_theme_mod( 'preschool_nursery_enable_disable_slider', true);
	if($preschool_nursery_slider == true && get_theme_mod( 'preschool_nursery_slider_arrows', false) == false){
    	$preschool_nursery_custom_css .='#slider{';
			$preschool_nursery_custom_css .='display:none;';
		$preschool_nursery_custom_css .='} ';
	}
    if($preschool_nursery_slider == true){
    	$preschool_nursery_custom_css .='@media screen and (max-width:575px) {';
		$preschool_nursery_custom_css .='#slider{';
			$preschool_nursery_custom_css .='display:block;';
		$preschool_nursery_custom_css .='} }';
	}else if($preschool_nursery_slider == false){
		$preschool_nursery_custom_css .='@media screen and (max-width:575px){';
		$preschool_nursery_custom_css .='#slider{';
			$preschool_nursery_custom_css .='display:none;';
		$preschool_nursery_custom_css .='} }';
	}

	$preschool_nursery_sliderbutton = get_theme_mod( 'preschool_nursery_show_hide_slider_button', true);
	if($preschool_nursery_sliderbutton == true && get_theme_mod( 'preschool_nursery_slider_button', true) != true){
    	$preschool_nursery_custom_css .='#slider .readbutton{';
			$preschool_nursery_custom_css .='display:none;';
		$preschool_nursery_custom_css .='} ';
	}
    if($preschool_nursery_sliderbutton == true){
    	$preschool_nursery_custom_css .='@media screen and (max-width:575px) {';
		$preschool_nursery_custom_css .='#slider .readbutton{';
			$preschool_nursery_custom_css .='display:inline-block;';
		$preschool_nursery_custom_css .='} }';
	}else if($preschool_nursery_sliderbutton != true){
		$preschool_nursery_custom_css .='@media screen and (max-width:575px){';
		$preschool_nursery_custom_css .='#slider .readbutton{';
			$preschool_nursery_custom_css .='display:none;';
		$preschool_nursery_custom_css .='} }';
	}

	$preschool_nursery_scroll = get_theme_mod( 'preschool_nursery_enable_disable_scrolltop', false);
	if($preschool_nursery_scroll == true && get_theme_mod( 'preschool_nursery_hide_show_scroll', false) == false){
    	$preschool_nursery_custom_css .='.scrollup i{';
			$preschool_nursery_custom_css .='display:none;';
		$preschool_nursery_custom_css .='} ';
	}
    if($preschool_nursery_scroll == true){
    	$preschool_nursery_custom_css .='@media screen and (max-width:575px) {';
		$preschool_nursery_custom_css .='.scrollup i{';
			$preschool_nursery_custom_css .='display:block;';
		$preschool_nursery_custom_css .='} }';
	}else if($preschool_nursery_scroll == false){
		$preschool_nursery_custom_css .='@media screen and (max-width:575px){';
		$preschool_nursery_custom_css .='.scrollup i{';
			$preschool_nursery_custom_css .='display:none;';
		$preschool_nursery_custom_css .='} }';
	}

	// Copyright top-bottom padding setting 
	$preschool_nursery_copyright_top_bottom_padding = get_theme_mod('preschool_nursery_copyright_top_bottom_padding');
	$preschool_nursery_custom_css .='.site-info{';
		$preschool_nursery_custom_css .='padding-top: '.esc_attr($preschool_nursery_copyright_top_bottom_padding).'px; padding-bottom: '.esc_attr($preschool_nursery_copyright_top_bottom_padding).'px;';
	$preschool_nursery_custom_css .='}';

	$preschool_nursery_footer_text_font_size = get_theme_mod('preschool_nursery_footer_text_font_size', 16);
	$preschool_nursery_custom_css .='.site-info{';
		$preschool_nursery_custom_css .='font-size: '.esc_attr($preschool_nursery_footer_text_font_size).'px;';
	$preschool_nursery_custom_css .='}';

	// Slider Height 
	$preschool_nursery_slider_height_option = get_theme_mod('preschool_nursery_slider_height_option');
	$preschool_nursery_custom_css .='#slider img{';
		$preschool_nursery_custom_css .='height: '.esc_attr($preschool_nursery_slider_height_option).'px;';
	$preschool_nursery_custom_css .='}';

	// scroll to top setting
	$preschool_nursery_scroll_border_radius = get_theme_mod('preschool_nursery_scroll_border_radius');
	$preschool_nursery_custom_css .='.scrollup i{';
		$preschool_nursery_custom_css .='border-radius: '.esc_attr($preschool_nursery_scroll_border_radius).'px;';
	$preschool_nursery_custom_css .='}';

	$preschool_nursery_scroll_top_fontsize = get_theme_mod('preschool_nursery_scroll_top_fontsize');
	$preschool_nursery_custom_css .='.scrollup i{';
		$preschool_nursery_custom_css .='font-size: '.esc_attr($preschool_nursery_scroll_top_fontsize).'px;';
	$preschool_nursery_custom_css .='}';

	$preschool_nursery_scroll_top_bottom_padding = get_theme_mod('preschool_nursery_scroll_top_bottom_padding');
	$preschool_nursery_scroll_left_right_padding = get_theme_mod('preschool_nursery_scroll_left_right_padding');
	$preschool_nursery_custom_css .='.scrollup i{';
		$preschool_nursery_custom_css .='padding-top: '.esc_attr($preschool_nursery_scroll_top_bottom_padding).'px; padding-bottom: '.esc_attr($preschool_nursery_scroll_top_bottom_padding).'px; padding-left: '.esc_attr($preschool_nursery_scroll_left_right_padding).'px; padding-right: '.esc_attr($preschool_nursery_scroll_left_right_padding).'px;';
	$preschool_nursery_custom_css .='}';

	// comment settings
	$preschool_nursery_comment_button_text = get_theme_mod('preschool_nursery_comment_button_text', 'Post Comment');
	if($preschool_nursery_comment_button_text == ''){
		$preschool_nursery_custom_css .='#comments p.form-submit {';
			$preschool_nursery_custom_css .='display: none;';
		$preschool_nursery_custom_css .='}';
	}

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

	$preschool_nursery_comment_form_size = get_theme_mod( 'preschool_nursery_comment_form_size',100);
	$preschool_nursery_custom_css .='#comments textarea{';
		$preschool_nursery_custom_css .='width: '.esc_attr($preschool_nursery_comment_form_size).'%;';
	$preschool_nursery_custom_css .='}';

	/*------------ Woocommerce Settings  --------------*/
	$preschool_nursery_shop_button_padding_top = get_theme_mod('preschool_nursery_shop_button_padding_top', 9);
	$preschool_nursery_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, .woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled], .woocommerce a.added_to_cart.wc-forward{';
		$preschool_nursery_custom_css .='padding-top: '.esc_attr($preschool_nursery_shop_button_padding_top).'px; padding-bottom: '.esc_attr($preschool_nursery_shop_button_padding_top).'px;';
	$preschool_nursery_custom_css .='}';

	$preschool_nursery_shop_button_padding_left = get_theme_mod('preschool_nursery_shop_button_padding_left', 16);
	$preschool_nursery_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, .woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled], .woocommerce a.added_to_cart.wc-forward{';
		$preschool_nursery_custom_css .='padding-left: '.esc_attr($preschool_nursery_shop_button_padding_left).'px; padding-right: '.esc_attr($preschool_nursery_shop_button_padding_left).'px;';
	$preschool_nursery_custom_css .='}';

	$preschool_nursery_shop_button_border_radius = get_theme_mod('preschool_nursery_shop_button_border_radius',5);
	$preschool_nursery_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, .woocommerce a.added_to_cart.wc-forward{';
		$preschool_nursery_custom_css .='border-radius: '.esc_attr($preschool_nursery_shop_button_border_radius).'px;';
	$preschool_nursery_custom_css .='}';

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

	$preschool_nursery_shop_products_border = get_theme_mod('preschool_nursery_shop_products_border', true);
	if($preschool_nursery_shop_products_border == false){
		$preschool_nursery_custom_css .='.woocommerce .products li{';
			$preschool_nursery_custom_css .='border: none;';
		$preschool_nursery_custom_css .='}';
	}

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

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

	$preschool_nursery_shop_page_border_radius = get_theme_mod('preschool_nursery_shop_page_border_radius',0);
	$preschool_nursery_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{';
		$preschool_nursery_custom_css .='border-radius: '.esc_attr($preschool_nursery_shop_page_border_radius).'px;';
	$preschool_nursery_custom_css .='}';

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

	// footer widget background
	$preschool_nursery_footer_widget_background = get_theme_mod('preschool_nursery_footer_widget_background', '#121212');
	$preschool_nursery_custom_css .='.site-footer{';
		$preschool_nursery_custom_css .='background-color: '.esc_attr($preschool_nursery_footer_widget_background).';';
	$preschool_nursery_custom_css .='}';

	$preschool_nursery_footer_widget_image = get_theme_mod('preschool_nursery_footer_widget_image');
	if($preschool_nursery_footer_widget_image != false){
		$preschool_nursery_custom_css .='.site-footer{';
			$preschool_nursery_custom_css .='background: url('.esc_attr($preschool_nursery_footer_widget_image).');';  
			$preschool_nursery_custom_css .='background-repeat: no-repeat;';
			$preschool_nursery_custom_css .='background-size: cover;';
		$preschool_nursery_custom_css .='}';
	}

	$preschool_nursery_theme_lay = get_theme_mod( 'preschool_nursery_img_footer','scroll');
	if($preschool_nursery_theme_lay == 'fixed'){
		$preschool_nursery_custom_css .='.site-footer{';
			$preschool_nursery_custom_css .='background-attachment: fixed !important;';
		$preschool_nursery_custom_css .='}';
	}elseif ($preschool_nursery_theme_lay == 'scroll'){
		$preschool_nursery_custom_css .='.site-footer{';
			$preschool_nursery_custom_css .='background-attachment: scroll !important;';
		$preschool_nursery_custom_css .='}';
	}

	$preschool_nursery_footer_img_position = get_theme_mod('preschool_nursery_footer_img_position','center center');
	if($preschool_nursery_footer_img_position != false){
		$preschool_nursery_custom_css .='.site-footer{';
			$preschool_nursery_custom_css .='background-position: '.esc_attr($preschool_nursery_footer_img_position).'!important;';
		$preschool_nursery_custom_css .='}';
	} 

	$preschool_nursery_footer_heading_alignment = get_theme_mod( 'preschool_nursery_footer_heading_option','Left');
    if($preschool_nursery_footer_heading_alignment == 'Left'){
		$preschool_nursery_custom_css .='.site-footer h3{';
		$preschool_nursery_custom_css .='text-align: left;';
		$preschool_nursery_custom_css .='}';
	}else if($preschool_nursery_footer_heading_alignment == 'Center'){
		$preschool_nursery_custom_css .='.site-footer h3{';
			$preschool_nursery_custom_css .='text-align: center;';
		$preschool_nursery_custom_css .='}';
	}else if($preschool_nursery_footer_heading_alignment == 'Right'){
		$preschool_nursery_custom_css .='.site-footer h3{';
			$preschool_nursery_custom_css .='text-align: right;';
		$preschool_nursery_custom_css .='}';
	}

	// Footer Heading Text Transform
	$preschool_nursery_theme_lay = get_theme_mod( 'preschool_nursery_footer_text_tranform','Capitalize');
	if($preschool_nursery_theme_lay == 'Uppercase'){
		$preschool_nursery_custom_css .='.site-footer h3{';
			$preschool_nursery_custom_css .='text-transform: Uppercase;';
		$preschool_nursery_custom_css .='}';
	}else if($preschool_nursery_theme_lay == 'Lowercase'){
		$preschool_nursery_custom_css .='.site-footer h3{';
			$preschool_nursery_custom_css .='text-transform: Lowercase;';
		$preschool_nursery_custom_css .='}';
	}
	else if($preschool_nursery_theme_lay == 'Capitalize'){
		$preschool_nursery_custom_css .='.site-footer h3{';
			$preschool_nursery_custom_css .='text-transform: Capitalize;';
		$preschool_nursery_custom_css .='}';
	}	
	
	// footer heading font size
	$preschool_nursery_heading_fontsize = get_theme_mod('preschool_nursery_heading_fontsize',25);
	if($preschool_nursery_heading_fontsize != false){
		$preschool_nursery_custom_css .='.site-footer h3, .site-footer h2, .site-footer .wp-block-search__label,.site-footer .wp-block-heading{';
			$preschool_nursery_custom_css .='font-size: '.esc_attr($preschool_nursery_heading_fontsize).'px; ';
		$preschool_nursery_custom_css .='}';
	}

	$preschool_nursery_footer_content_alignment = get_theme_mod( 'preschool_nursery_footer_content_option','Left');
    if($preschool_nursery_footer_content_alignment == 'Left'){
		$preschool_nursery_custom_css .='.site-footer ul, .site-footer p, .site-footer .tagcloud{';
		$preschool_nursery_custom_css .='text-align: left;';
		$preschool_nursery_custom_css .='}';
	}else if($preschool_nursery_footer_content_alignment == 'Center'){
		$preschool_nursery_custom_css .='.site-footer ul, .site-footer p, .site-footer .tagcloud{';
			$preschool_nursery_custom_css .='text-align: center;';
		$preschool_nursery_custom_css .='}';
	}else if($preschool_nursery_footer_content_alignment == 'Right'){
		$preschool_nursery_custom_css .='.site-footer ul, .site-footer p, .site-footer .tagcloud{';
			$preschool_nursery_custom_css .='text-align: right;';
		$preschool_nursery_custom_css .='}';
	}

	//Footer Social Icon Font size
	$preschool_nursery_footer_icon_font_size = get_theme_mod('preschool_nursery_footer_icon_font_size');
	$preschool_nursery_custom_css .='.site-info .socialicons a{';
	$preschool_nursery_custom_css .='font-size: '.esc_attr($preschool_nursery_footer_icon_font_size).'px;';
	$preschool_nursery_custom_css .='}';

	//footer icon color
	$preschool_nursery_footer_icon_color = get_theme_mod('preschool_nursery_footer_icon_color', '#fff');
	$preschool_nursery_custom_css .='.site-info .socialicons a{';
		$preschool_nursery_custom_css .='color: '.esc_attr($preschool_nursery_footer_icon_color).'!important;';
	$preschool_nursery_custom_css .='}';
	
	/*---------------------------Footer top bottom padding -------------------*/
	$preschool_nursery_footer_padding = get_theme_mod('preschool_nursery_footer_padding');
	if($preschool_nursery_footer_padding != false){
		$preschool_nursery_custom_css .='.site-footer{';
			$preschool_nursery_custom_css .='padding: '.esc_attr($preschool_nursery_footer_padding).' 0 !important;';
		$preschool_nursery_custom_css .='}';
	}

	/*------------- Navigation Menu Font Size ------------------*/
	$preschool_nursery_navigation_menu_font_size = get_theme_mod('preschool_nursery_navigation_menu_font_size');{
		$preschool_nursery_custom_css .='.main-navigation a, .navigation-top a{';
			$preschool_nursery_custom_css .='font-size: '.esc_attr($preschool_nursery_navigation_menu_font_size).'px;';
		$preschool_nursery_custom_css .='}';
	}

	$preschool_nursery_theme_lay = get_theme_mod( 'preschool_nursery_menu_text_tranform','Default');
	if($preschool_nursery_theme_lay == 'Uppercase'){
		$preschool_nursery_custom_css .='.main-navigation a, .navigation-top a,.main-navigation ul li a{';
			$preschool_nursery_custom_css .='text-transform:Uppercase;';
		$preschool_nursery_custom_css .='}';
	}else if($preschool_nursery_theme_lay == 'Lowercase'){
		$preschool_nursery_custom_css .='.main-navigation a, .navigation-top a,.main-navigation ul li a{';
			$preschool_nursery_custom_css .='text-transform:lowercase;';
		$preschool_nursery_custom_css .='}';
	}

	/*------------- Navigation Menu Font Weight ------------------*/
	$preschool_nursery_menu_font_weight = get_theme_mod('preschool_nursery_menu_font_weight');
	$preschool_nursery_custom_css .='.main-navigation a, .navigation-top a,.main-navigation ul li a{';
		$preschool_nursery_custom_css .='font-weight: '.esc_attr($preschool_nursery_menu_font_weight).';';
	$preschool_nursery_custom_css .='}';

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

	// Sub menu color
	$preschool_nursery_sub_menu_color = get_theme_mod('preschool_nursery_sub_menu_color');
	$preschool_nursery_custom_css .='.main-navigation ul.sub-menu a, .main-navigation ul.sub-menu li a, #site-navigation ul.sub-menu li a{';
			$preschool_nursery_custom_css .='color: '.esc_attr($preschool_nursery_sub_menu_color).' !important;';
	$preschool_nursery_custom_css .='}';
	$preschool_nursery_custom_css .='.main-navigation ul.sub-menu li{';
			$preschool_nursery_custom_css .='color: '.esc_attr($preschool_nursery_sub_menu_color).' !important;';
	$preschool_nursery_custom_css .='}';

	// menu hover color
	$preschool_nursery_menu_hover_color = get_theme_mod('preschool_nursery_menu_hover_color');
	$preschool_nursery_custom_css .='.main-navigation a:hover, .main-navigation ul li a:hover, .main-navigation .current_page_item > a:hover, .main-navigation .current-menu-item > a:hover, .main-navigation .current_page_ancestor > a:hover, #site-navigation li a:hover{';
			$preschool_nursery_custom_css .='color: '.esc_attr($preschool_nursery_menu_hover_color).' !important;';
	$preschool_nursery_custom_css .='}';

	// Sub menu hover color
	$preschool_nursery_sub_menu_hover_color = get_theme_mod('preschool_nursery_sub_menu_hover_color');
	$preschool_nursery_custom_css .='.main-navigation ul.sub-menu a:hover, .main-navigation ul.sub-menu li a:hover, .main-navigation .current_page_item > a:hover, .main-navigation .current-menu-item > a:hover, .main-navigation .current_page_ancestor > a:hover, #site-navigation ul.sub-menu li a:hover{';
			$preschool_nursery_custom_css .='color: '.esc_attr($preschool_nursery_sub_menu_hover_color).' !important;';
	$preschool_nursery_custom_css .='}';
	$preschool_nursery_custom_css .='.main-navigation ul.sub-menu li:hover{';
			$preschool_nursery_custom_css .='border-left-color: '.esc_attr($preschool_nursery_sub_menu_hover_color).' !important;';
	$preschool_nursery_custom_css .='}';

	// menu hover effect
	$preschool_nursery_menus_item = get_theme_mod( 'preschool_nursery_menus_item_style','None');
    if($preschool_nursery_menus_item == 'None'){
		$preschool_nursery_custom_css .='.main-navigation ul li a{';
			$preschool_nursery_custom_css .='';
		$preschool_nursery_custom_css .='}';
	}else if($preschool_nursery_menus_item == 'Zoom In'){
		$preschool_nursery_custom_css .='.main-navigation ul li a:hover{';
			$preschool_nursery_custom_css .='transition: all 0.3s ease-in-out !important; transform: scale(1.2) !important;';
		$preschool_nursery_custom_css .='}';
	}	

    // site title color option
	$preschool_nursery_site_title_color_setting = get_theme_mod('preschool_nursery_site_title_color_setting');
	$preschool_nursery_custom_css .=' .site-title a{';
		$preschool_nursery_custom_css .='color: '.esc_attr($preschool_nursery_site_title_color_setting).';';
	$preschool_nursery_custom_css .='} ';

	$preschool_nursery_tagline_color_setting = get_theme_mod('preschool_nursery_tagline_color_setting');
	$preschool_nursery_custom_css .=' .site-description{';
		$preschool_nursery_custom_css .='color: '.esc_attr($preschool_nursery_tagline_color_setting).';';
	$preschool_nursery_custom_css .='} ';

	// site title font size option
	$preschool_nursery_site_title_font_size = get_theme_mod('preschool_nursery_site_title_font_size', 30);{
	$preschool_nursery_custom_css .='.logo h1, .site-title a{';
	$preschool_nursery_custom_css .='font-size: '.esc_attr($preschool_nursery_site_title_font_size).'px;';
		$preschool_nursery_custom_css .='}';
	}

	$preschool_nursery_site_tagline_font_size_settings = get_theme_mod('preschool_nursery_site_tagline_font_size_settings', 13);{
	$preschool_nursery_custom_css .='.logo p.site-description{';
	$preschool_nursery_custom_css .='font-size: '.esc_attr($preschool_nursery_site_tagline_font_size_settings).'px;';
		$preschool_nursery_custom_css .='}';
	}

	// -------------- site logo margin ------------
	$preschool_nursery_logo_margin = get_theme_mod('preschool_nursery_logo_margin', '');{ 
	$preschool_nursery_custom_css .='.logo{';
	$preschool_nursery_custom_css .='margin: '.esc_attr($preschool_nursery_logo_margin).'px ;';
	$preschool_nursery_custom_css .='}';
	}
	//  ------------------logo padding-----------
	$preschool_nursery_logo_padding = get_theme_mod('preschool_nursery_logo_padding');
	$preschool_nursery_custom_css .='.logo{';
	$preschool_nursery_custom_css .='padding: '.esc_attr($preschool_nursery_logo_padding).'px;';
	$preschool_nursery_custom_css .='}';
   

	/*------------------ Background Skin Option  -------------------*/
	$preschool_nursery_theme_lay = get_theme_mod( 'preschool_nursery_background_image_type','Transparent');
    if($preschool_nursery_theme_lay == 'Background'){
		$preschool_nursery_custom_css .='.blogger, #sidebox .widget, .about-text, .related-posts .page-box, .woocommerce ul.products li.product, .woocommerce-page ul.products li.product, .background-img-skin, .pages-te, .woocommerce .woocommerce-ordering{';
			$preschool_nursery_custom_css .='background-color: #fff;';
		$preschool_nursery_custom_css .='}';
	}else if($preschool_nursery_theme_lay == 'Transparent'){
		$preschool_nursery_custom_css .='#services h3{';
			$preschool_nursery_custom_css .='background-color: transparent;';
		$preschool_nursery_custom_css .='}';
	}

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

	// woocommerce product sale settings
	$preschool_nursery_border_radius_product_sale_text = get_theme_mod('preschool_nursery_border_radius_product_sale_text',50);
	$preschool_nursery_custom_css .='.woocommerce span.onsale {';
		$preschool_nursery_custom_css .='border-radius: '.esc_attr($preschool_nursery_border_radius_product_sale_text).'%;';
	$preschool_nursery_custom_css .='}';

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

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

	$preschool_nursery_top_bottom_product_sale_padding = get_theme_mod('preschool_nursery_top_bottom_product_sale_padding');
	$preschool_nursery_left_right_product_sale_padding = get_theme_mod('preschool_nursery_left_right_product_sale_padding');
	$preschool_nursery_custom_css .='.woocommerce span.onsale{';
		$preschool_nursery_custom_css .='padding-top: '.esc_attr($preschool_nursery_top_bottom_product_sale_padding).'px; padding-bottom: '.esc_attr($preschool_nursery_top_bottom_product_sale_padding).'px; padding-left: '.esc_attr($preschool_nursery_left_right_product_sale_padding).'px; padding-right: '.esc_attr($preschool_nursery_left_right_product_sale_padding).'px; display:inline-block;';
	$preschool_nursery_custom_css .='}';

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

	// Post Block
	$preschool_nursery_post_break_block_setting = get_theme_mod( 'preschool_nursery_post_break_block_setting','Into Blocks');
    if($preschool_nursery_post_break_block_setting == 'Without Blocks'){
		$preschool_nursery_custom_css .='.blogger{';
			$preschool_nursery_custom_css .='border: none; margin:30px 0;';
		$preschool_nursery_custom_css .='}';
	}

	// Pagination Alignment
	$preschool_nursery_post_pagination_alignment = get_theme_mod( 'preschool_nursery_post_pagination_option','Left');
    if($preschool_nursery_post_pagination_alignment == 'Left'){
		$preschool_nursery_custom_css .='.navigation nav.pagination{';
		$preschool_nursery_custom_css .='justify-content: left;';
		$preschool_nursery_custom_css .='}';
	}else if($preschool_nursery_post_pagination_alignment == 'Center'){
		$preschool_nursery_custom_css .='.navigation nav.pagination{';
			$preschool_nursery_custom_css .='justify-content: center;';
		$preschool_nursery_custom_css .='}';
	}else if($preschool_nursery_post_pagination_alignment == 'Right'){
		$preschool_nursery_custom_css .='.navigation nav.pagination{';
			$preschool_nursery_custom_css .='justify-content: right;';
		$preschool_nursery_custom_css .='}';
	}

	// fixed header padding option
	$preschool_nursery_fixed_header_padding_option = get_theme_mod('preschool_nursery_fixed_header_padding_option');
	$preschool_nursery_custom_css .='.fixed-header{';
		$preschool_nursery_custom_css .='padding: '.esc_attr($preschool_nursery_fixed_header_padding_option).'px;';
	$preschool_nursery_custom_css .='}';

	// slider top and bottom padding
	$preschool_nursery_padding_top_bottom_slider_content = get_theme_mod('preschool_nursery_padding_top_bottom_slider_content');
	$preschool_nursery_padding_left_right_slider_content = get_theme_mod('preschool_nursery_padding_left_right_slider_content');
	$preschool_nursery_custom_css .='#slider .carousel-caption, #slider .inner_carousel, #slider .inner_carousel h1, #slider .inner_carousel p, #slider .readbutton{';
		$preschool_nursery_custom_css .='top: '.esc_attr($preschool_nursery_padding_top_bottom_slider_content).'%; bottom: '.esc_attr($preschool_nursery_padding_top_bottom_slider_content).'%;left: '.esc_attr($preschool_nursery_padding_left_right_slider_content).'%;right: '.esc_attr($preschool_nursery_padding_left_right_slider_content).'%;';

	$preschool_nursery_custom_css .='}';


	// Slider
	$preschool_nursery_slider_arrows = get_theme_mod('preschool_nursery_slider_arrows',false);
	if ($preschool_nursery_slider_arrows == false) {
		$preschool_nursery_custom_css .='.page-template-home-custom #masthead{';
			$preschool_nursery_custom_css .=' position:static; border-bottom: 2px solid #e2e2e2;';

		$preschool_nursery_custom_css .='}';
	}

	// featured image setting
	$preschool_nursery_post_image_border_radius = get_theme_mod('preschool_nursery_post_image_border_radius', 0);
	$preschool_nursery_custom_css .='.post-image img, .wrapper img{';
		$preschool_nursery_custom_css .='border-radius: '.esc_attr($preschool_nursery_post_image_border_radius).'px;';
	$preschool_nursery_custom_css .='}';

	$preschool_nursery_featured_image_box_shadow = get_theme_mod('preschool_nursery_featured_image_box_shadow',0);
	$preschool_nursery_custom_css .='.post-image img, .wrapper img{';
		$preschool_nursery_custom_css .='box-shadow: '.esc_attr($preschool_nursery_featured_image_box_shadow).'px '.esc_attr($preschool_nursery_featured_image_box_shadow).'px '.esc_attr($preschool_nursery_featured_image_box_shadow).'px #ccc;';
	$preschool_nursery_custom_css .='}';

    //Copyright background css
	$preschool_nursery_copyright_background_color = get_theme_mod('preschool_nursery_copyright_background_color');
	$preschool_nursery_custom_css .='.site-info{';
		$preschool_nursery_custom_css .='background-color: '.esc_attr($preschool_nursery_copyright_background_color).';';
	$preschool_nursery_custom_css .='}';
     
	$preschool_nursery_copyright_text_color = get_theme_mod('preschool_nursery_copyright_text_color');
	$preschool_nursery_custom_css .='.site-info , .site-info a{';
		$preschool_nursery_custom_css .='color: '.esc_attr($preschool_nursery_copyright_text_color).'!important;';
	$preschool_nursery_custom_css .='}';

    // featured image dimention
	$preschool_nursery_post_image_dimention = get_theme_mod('preschool_nursery_post_image_dimention', 'Default');
	$preschool_nursery_post_featured_image_width = get_theme_mod('preschool_nursery_post_featured_image_width');
	$preschool_nursery_post_featured_image_height = get_theme_mod('preschool_nursery_post_featured_image_height');
	if($preschool_nursery_post_image_dimention == 'Custom Image Size'){
		$preschool_nursery_custom_css .='.blogger .post-image img{';
			$preschool_nursery_custom_css .='width: '.esc_attr($preschool_nursery_post_featured_image_width).'px; height: '.esc_attr($preschool_nursery_post_featured_image_height).'px;';
		$preschool_nursery_custom_css .='}';
	}

	// Single Post Categories
	$preschool_nursery_show_hide_single_post_categories = get_theme_mod('preschool_nursery_show_hide_single_post_categories',false);
	if ($preschool_nursery_show_hide_single_post_categories == false) {
		$preschool_nursery_custom_css .='.post-info{';
			$preschool_nursery_custom_css .=' margin-top:20px;';
		$preschool_nursery_custom_css .='}';
	}

	// Slider Width Layout
	$preschool_nursery_slider_width_options = get_theme_mod('preschool_nursery_slider_width_options', 'Full Width');
	if($preschool_nursery_slider_width_options == 'Full Width' ){
		$preschool_nursery_custom_css .='.page-template-home-custom #masthead{';
			$preschool_nursery_custom_css .=' position:absolute;';
		$preschool_nursery_custom_css .='}';
	}elseif($preschool_nursery_slider_width_options == 'Container Width' ){
		$preschool_nursery_custom_css .='.page-template-home-custom #masthead{';
			$preschool_nursery_custom_css .=' position:static;';
		$preschool_nursery_custom_css .='}';
		$preschool_nursery_custom_css .='.admin-bar.page-template-home-custom #masthead{';
			$preschool_nursery_custom_css .=' margin-top:0px;';
		$preschool_nursery_custom_css .='}';
	}

	 // Blog post image border radious
    $preschool_nursery_blog_post_img_border_radius = get_theme_mod('preschool_nursery_blog_post_img_border_radius', 0);
	$preschool_nursery_custom_css .='blogger .post-image img{';
		$preschool_nursery_custom_css .='border-radius: '.esc_attr($preschool_nursery_blog_post_img_border_radius).'px;';
	$preschool_nursery_custom_css .='}';

     // Blog post image box shadow
	$preschool_nursery_blog_post_img_box_shadow = get_theme_mod('preschool_nursery_blog_post_img_box_shadow',0);
	$preschool_nursery_custom_css .='blogger .post-image img{';
		$preschool_nursery_custom_css .='box-shadow: '.esc_attr($preschool_nursery_blog_post_img_box_shadow).'px '.esc_attr($preschool_nursery_blog_post_img_box_shadow).'px '.esc_attr($preschool_nursery_blog_post_img_box_shadow).'px #ccc;';
	$preschool_nursery_custom_css .='}';

    // Single post image border radius
	$preschool_nursery_single_post_img_border_radius = get_theme_mod('preschool_nursery_single_post_img_border_radius', 0);
	$preschool_nursery_custom_css .='.blogger.singlebox img{';
		$preschool_nursery_custom_css .='border-radius: '.esc_attr($preschool_nursery_single_post_img_border_radius).'px;';
	$preschool_nursery_custom_css .='}';

	 // Single post image box shadow
	$preschool_nursery_single_post_img_box_shadow = get_theme_mod('preschool_nursery_single_post_img_box_shadow',0);
	$preschool_nursery_custom_css .='.blogger.singlebox img{';
		$preschool_nursery_custom_css .='box-shadow: '.esc_attr($preschool_nursery_single_post_img_box_shadow).'px '.esc_attr($preschool_nursery_single_post_img_box_shadow).'px '.esc_attr($preschool_nursery_single_post_img_box_shadow).'px #ccc;';
	$preschool_nursery_custom_css .='}';

	// Related post image box shadow
	$preschool_nursery_related_post_image_shadow = get_theme_mod('preschool_nursery_related_post_image_shadow',0);
	if($preschool_nursery_related_post_image_shadow != false){
		$preschool_nursery_custom_css .='.page-box .post-image img{';
			$preschool_nursery_custom_css .='box-shadow: '.esc_attr($preschool_nursery_related_post_image_shadow).'px '.esc_attr($preschool_nursery_related_post_image_shadow).'px '.esc_attr($preschool_nursery_related_post_image_shadow).'px #cccccc;';
		$preschool_nursery_custom_css .='}';
	}

	// single post image dimention
	$preschool_nursery_single_post_image_dimention = get_theme_mod('preschool_nursery_single_post_image_dimention', 'Default');
	$preschool_nursery_single_post_featured_image_width = get_theme_mod('preschool_nursery_single_post_featured_image_width');
	$preschool_nursery_single_post_featured_image_height = get_theme_mod('preschool_nursery_single_post_featured_image_height');
	if($preschool_nursery_single_post_image_dimention == 'Custom Image Size'){
		$preschool_nursery_custom_css .='.blogger.singlebox .single-post-image img{';
			$preschool_nursery_custom_css .='width: '.esc_attr($preschool_nursery_single_post_featured_image_width).'px; height: '.esc_attr($preschool_nursery_single_post_featured_image_height).'px;';
		$preschool_nursery_custom_css .='}';
	}

	// Single post comments
	$preschool_nursery_post_comment_enable = get_theme_mod('preschool_nursery_post_comment_enable',true);
	if($preschool_nursery_post_comment_enable == false){
		$preschool_nursery_custom_css .='#comments{';
			$preschool_nursery_custom_css .='display: none;';
		$preschool_nursery_custom_css .='}';
	}

	//scroll to top css
	$preschool_nursery_scroll_background_color = get_theme_mod('preschool_nursery_scroll_background_color');
	$preschool_nursery_custom_css .='.scrollup i{';
	$preschool_nursery_custom_css .='background: '.esc_attr($preschool_nursery_scroll_background_color).';';
	$preschool_nursery_custom_css .='border-color: '.esc_attr($preschool_nursery_scroll_background_color).';';
	$preschool_nursery_custom_css .='}';

	$preschool_nursery_scroll_icon_color = get_theme_mod('preschool_nursery_scroll_icon_color');
	$preschool_nursery_custom_css .='.scrollup i{';
	$preschool_nursery_custom_css .='color: '.esc_attr($preschool_nursery_scroll_icon_color).';';
	$preschool_nursery_custom_css .='}';

	$preschool_nursery_scroll_background_hover_color = get_theme_mod('preschool_nursery_scroll_background_hover_color');
	$preschool_nursery_custom_css .='.scrollup i:hover{';
	$preschool_nursery_custom_css .='background: '.esc_attr($preschool_nursery_scroll_background_hover_color).';';
	$preschool_nursery_custom_css .='border-color: '.esc_attr($preschool_nursery_scroll_background_hover_color).';';
	$preschool_nursery_custom_css .='}';

	//Initial Cap
	$preschool_nursery_caps_enable = get_theme_mod('preschool_nursery_caps_enable', 'false');
	if($preschool_nursery_caps_enable == 'true' ){
	$preschool_nursery_custom_css .='.blogger .text p:nth-of-type(1)::first-letter{';
	$preschool_nursery_custom_css .=' font-size: 60px; font-weight: 800;';
	$preschool_nursery_custom_css .=' margin-right: 10px;';
	$preschool_nursery_custom_css .=' font-family: "Vollkorn", serif;';
	$preschool_nursery_custom_css .=' line-height: 1;';
	$preschool_nursery_custom_css .='}';
	}elseif($preschool_nursery_caps_enable == 'false' ){
	$preschool_nursery_custom_css .='.blogger .text p:nth-of-type(1)::first-letter {';
	$preschool_nursery_custom_css .='display: none;';
	$preschool_nursery_custom_css .='}';
	}