<?php

	$halloween_party_custom_css= "";

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

	$halloween_party_first_color = get_theme_mod('halloween_party_first_color');

	if($halloween_party_first_color != false){
		$halloween_party_custom_css .='.top-bar, .tickets-btn a, #slider .more-btn a, .more-btn a, #slider .carousel-control-next i, #slider .carousel-control-prev i, #comments input[type="submit"],#comments a.comment-reply-link,input[type="submit"],.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,.pro-button a, .woocommerce a.added_to_cart.wc-forward, #preloader, #footer .tagcloud a:hover, #footer input[type="submit"], #footer-2, #footer .wp-block-search .wp-block-search__button, #sidebar .wp-block-search .wp-block-search__button, .scrollup i, .breadcrumbs span, #sidebar .custom-social-icons a,#footer .custom-social-icons a, #sidebar h3,  #sidebar .widget_block h3, #sidebar h2, #sidebar .tagcloud a:hover, .pagination a:hover, .pagination .current, .woocommerce span.onsale, nav.woocommerce-MyAccount-navigation ul li, .toggle-nav i,.breadcrumbs a,.breadcrumbs span,.post-categories li a, nav.navigation.posts-navigation .nav-previous a, nav.navigation.posts-navigation .nav-next a, #sidebar label.wp-block-search__label, #sidebar .wp-block-heading,a.wc-block-components-checkout-return-to-cart-button, a.wc-block-components-checkout-return-to-cart-button:hover{';
			$halloween_party_custom_css .='background-color: '.esc_attr($halloween_party_first_color).';';
		$halloween_party_custom_css .='}';
	}

	if($halloween_party_first_color != false){
		$halloween_party_custom_css .='.wp-block-woocommerce-cart .wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button, .wc-block-components-totals-coupon__button,.wc-block-components-order-summary-item__quantity,.wp-block-woocommerce-cart .wc-block-cart__submit-button:hover, .wc-block-components-checkout-place-order-button:hover{';
			$halloween_party_custom_css .='background-color: '.esc_attr($halloween_party_first_color).'!important;';
		$halloween_party_custom_css .='}';
	}

	if($halloween_party_first_color != false){
		$halloween_party_custom_css .='h1, h2, h3, h4, h5, h6, a, a:hover, p.site-title a:hover, .logo h1 a:hover, .tickets-btn a:hover, #slider .more-btn a:hover, #comments input[type="submit"]:hover, .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,.widget_product_search button:hover, .woocommerce button.button:disabled:hover, .woocommerce button.button:disabled[disabled]:hover, .woocommerce a.added_to_cart.wc-forward:hover, .main-navigation li a:hover, .main-navigation li a:focus, .main-navigation ul ul a:focus, .main-navigation ul ul a:hover, #slider .carousel-control-next i:hover, #slider .carousel-control-prev i:hover, #slider .inner_carousel h1 a, #events-section h2, .post-main-box:hover h2 a, .post-main-box:hover .post-info span a, .single-post .post-info:hover a, .middle-bar h6, .post-main-box:hover h3 a,#sidebar ul li a:hover, #footer li a:hover,.post-navigation a:hover .post-title, .post-navigation a:focus .post-title,.post-navigation a:hover,.post-navigation a:focus, .post-navigation span.meta-nav:hover, .woocommerce-message::before,.woocommerce-info::before{';
			$halloween_party_custom_css .='color: '.esc_attr($halloween_party_first_color).';';
		$halloween_party_custom_css .='}';
	}

	if($halloween_party_first_color != false){
		$halloween_party_custom_css .='.tags-bg a:hover,.wp-block-quote, .wp-block-quote:not(.is-large):not(.is-style-large), .wp-block-pullquote{';
			$halloween_party_custom_css .='color: '.esc_attr($halloween_party_first_color).'!important;';
		$halloween_party_custom_css .='}';
	}

	if($halloween_party_first_color != false){
		$halloween_party_custom_css .='#footer .tagcloud a:hover,.wp-block-quote, .wp-block-quote:not(.is-large):not(.is-style-large), .wp-block-pullquote{';
			$halloween_party_custom_css .='border-color: '.esc_attr($halloween_party_first_color).';';
		$halloween_party_custom_css .='}';
	}

	if($halloween_party_first_color != false){
		$halloween_party_custom_css .='.woocommerce-message,.woocommerce-info{';
			$halloween_party_custom_css .='border-top-color: '.esc_attr($halloween_party_first_color).';';
		$halloween_party_custom_css .='}';
	}

	$halloween_party_custom_css .='@media screen and (max-width:1000px) {';
		if($halloween_party_first_color != false){
			$halloween_party_custom_css .='.main-navigation a:hover{
				color:'.esc_attr($halloween_party_first_color).' !important;
			}';
		}
	$halloween_party_custom_css .='}';

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

	$halloween_party_theme_lay = get_theme_mod( 'halloween_party_width_option','Full Width');
    if($halloween_party_theme_lay == 'Boxed'){
		$halloween_party_custom_css .='body{';
			$halloween_party_custom_css .='max-width: 1140px; width: 100%; padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto;';
		$halloween_party_custom_css .='}';
		$halloween_party_custom_css .='.scrollup i{';
			$halloween_party_custom_css .='right: 100px;';
		$halloween_party_custom_css .='}';
		$halloween_party_custom_css .='.page-template-custom-home-page .home-page-header{';
			$halloween_party_custom_css .='padding: 0px 40px 0 10px;';
		$halloween_party_custom_css .='}';
	}else if($halloween_party_theme_lay == 'Wide Width'){
		$halloween_party_custom_css .='body{';
			$halloween_party_custom_css .='width: 100%;padding-right: 15px;padding-left: 15px;margin-right: auto;margin-left: auto;';
		$halloween_party_custom_css .='}';
		$halloween_party_custom_css .='.scrollup i{';
			$halloween_party_custom_css .='right: 30px;';
		$halloween_party_custom_css .='}';
	}else if($halloween_party_theme_lay == 'Full Width'){
		$halloween_party_custom_css .='body{';
			$halloween_party_custom_css .='max-width: 100%;';
		$halloween_party_custom_css .='}';
	}

	/*--------------------- Blog Page Posts -------------------*/

	$halloween_party_blog_page_posts_settings = get_theme_mod( 'halloween_party_blog_page_posts_settings','Into Blocks');
    if($halloween_party_blog_page_posts_settings == 'Without Blocks'){
		$halloween_party_custom_css .='.post-main-box{';
			$halloween_party_custom_css .='box-shadow: none; border: none; margin:30px 0;';
		$halloween_party_custom_css .='}';
	}

	/*--------------------- Grid Posts Posts -------------------*/

	$halloween_party_display_grid_posts_settings = get_theme_mod( 'halloween_party_display_grid_posts_settings','Into Blocks');
    if($halloween_party_display_grid_posts_settings == 'Without Blocks'){
		$halloween_party_custom_css .='.grid-post-main-box{';
			$halloween_party_custom_css .='box-shadow: none; border: none; margin:30px 0;';
		$halloween_party_custom_css .='}';
	}

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

	$halloween_party_resp_stickyheader = get_theme_mod( 'halloween_party_stickyheader_hide_show',false);
	if($halloween_party_resp_stickyheader == true && get_theme_mod( 'halloween_party_sticky_header',false) != true){
    	$halloween_party_custom_css .='.header-fixed{';
			$halloween_party_custom_css .='position:static;';
		$halloween_party_custom_css .='} ';
	}
    if($halloween_party_resp_stickyheader == true){
    	$halloween_party_custom_css .='@media screen and (max-width:575px) {';
		$halloween_party_custom_css .='.header-fixed{';
			$halloween_party_custom_css .='position:fixed;';
		$halloween_party_custom_css .='} }';
	}else if($halloween_party_resp_stickyheader == false){
		$halloween_party_custom_css .='@media screen and (max-width:575px){';
		$halloween_party_custom_css .='.header-fixed{';
			$halloween_party_custom_css .='position:static;';
		$halloween_party_custom_css .='} }';
	}

	$halloween_party_resp_slider = get_theme_mod( 'halloween_party_resp_slider_hide_show',true);
	if($halloween_party_resp_slider == true && get_theme_mod( 'halloween_party_slider_hide_show', true) == false){
    	$halloween_party_custom_css .='#slider{';
			$halloween_party_custom_css .='display:none;';
		$halloween_party_custom_css .='} ';
	}
    if($halloween_party_resp_slider == true){
    	$halloween_party_custom_css .='@media screen and (max-width:575px) {';
		$halloween_party_custom_css .='#slider{';
			$halloween_party_custom_css .='display:block;';
		$halloween_party_custom_css .='} }';
	}else if($halloween_party_resp_slider == false){
		$halloween_party_custom_css .='@media screen and (max-width:575px) {';
		$halloween_party_custom_css .='#slider{';
			$halloween_party_custom_css .='display:none;';
		$halloween_party_custom_css .='} }';
		$halloween_party_custom_css .='@media screen and (max-width:575px){';
		$halloween_party_custom_css .='.page-template-custom-home-page.admin-bar .homepageheader{';
			$halloween_party_custom_css .='margin-top: 45px;';
		$halloween_party_custom_css .='} }';
		$halloween_party_custom_css .='@media screen and (max-width:575px) {';
		$halloween_party_custom_css .='#track-player-sec .audioigniter-root{';
			$halloween_party_custom_css .='margin-top: 5%;';
		$halloween_party_custom_css .='} }';
	}

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

	$halloween_party_resp_scroll_top = get_theme_mod( 'halloween_party_resp_scroll_top_hide_show',true);
	if($halloween_party_resp_scroll_top == true && get_theme_mod( 'halloween_party_hide_show_scroll',true) == false){
    	$halloween_party_custom_css .='.scrollup i{';
			$halloween_party_custom_css .='visibility:hidden !important;';
		$halloween_party_custom_css .='} ';
	}
    if($halloween_party_resp_scroll_top == true){
    	$halloween_party_custom_css .='@media screen and (max-width:575px) {';
		$halloween_party_custom_css .='.scrollup i{';
			$halloween_party_custom_css .='visibility:visible !important;';
		$halloween_party_custom_css .='} }';
	}else if($halloween_party_resp_scroll_top == false){
		$halloween_party_custom_css .='@media screen and (max-width:575px){';
		$halloween_party_custom_css .='.scrollup i{';
			$halloween_party_custom_css .='visibility:hidden !important;';
		$halloween_party_custom_css .='} }';
	}

	$halloween_party_resp_menu_toggle_btn_bg_color = get_theme_mod('halloween_party_resp_menu_toggle_btn_bg_color');
	if($halloween_party_resp_menu_toggle_btn_bg_color != false){
		$halloween_party_custom_css .='.toggle-nav i,.sidenav .closebtn, .left-menu .closebtn{';
			$halloween_party_custom_css .='background: '.esc_attr($halloween_party_resp_menu_toggle_btn_bg_color).';';
		$halloween_party_custom_css .='}';
	}

	$halloween_party_theme_lay = get_theme_mod( 'halloween_party_slider_content_option','Left');
    if($halloween_party_theme_lay == 'Left'){
		$halloween_party_custom_css .='#slider .carousel-caption, #slider .inner_carousel, #slider .inner_carousel h1{';
			$halloween_party_custom_css .='text-align:left; left:20%; right:40%;';
		$halloween_party_custom_css .='}';
	}else if($halloween_party_theme_lay == 'Center'){
		$halloween_party_custom_css .='#slider .carousel-caption, #slider .inner_carousel, #slider .inner_carousel h1{';
			$halloween_party_custom_css .='text-align:center; left:20%; right:20%;';
		$halloween_party_custom_css .='}';
	}else if($halloween_party_theme_lay == 'Right'){
		$halloween_party_custom_css .='#slider .carousel-caption, #slider .inner_carousel, #slider .inner_carousel h1{';
			$halloween_party_custom_css .='text-align:right; left:40%; right:20%;';
		$halloween_party_custom_css .='}';
	}

	/*------------- Slider Content Padding Settings ------------------*/

	$halloween_party_slider_content_padding_top_bottom = get_theme_mod('halloween_party_slider_content_padding_top_bottom');
	$halloween_party_slider_content_padding_left_right = get_theme_mod('halloween_party_slider_content_padding_left_right');
	if($halloween_party_slider_content_padding_top_bottom != false || $halloween_party_slider_content_padding_left_right != false){
		$halloween_party_custom_css .='#slider .carousel-caption{';
			$halloween_party_custom_css .='top: '.esc_attr($halloween_party_slider_content_padding_top_bottom).'; bottom: '.esc_attr($halloween_party_slider_content_padding_top_bottom).';left: '.esc_attr($halloween_party_slider_content_padding_left_right).';right: '.esc_attr($halloween_party_slider_content_padding_left_right).';';
		$halloween_party_custom_css .='}';
	}

	/*---------------------------Blog Layout -------------------*/

	$halloween_party_theme_lay = get_theme_mod( 'halloween_party_blog_layout_option','Default');
    if($halloween_party_theme_lay == 'Default'){
		$halloween_party_custom_css .='.post-main-box{';
			$halloween_party_custom_css .='';
		$halloween_party_custom_css .='}';
	}else if($halloween_party_theme_lay == 'Center'){
		$halloween_party_custom_css .='.post-main-box, .post-main-box h2, .post-info, .new-text p, .content-bttn{';
			$halloween_party_custom_css .='text-align:center;';
		$halloween_party_custom_css .='}';
		$halloween_party_custom_css .='.post-info{';
			$halloween_party_custom_css .='margin-top:10px;';
		$halloween_party_custom_css .='}';
		$halloween_party_custom_css .='.post-info hr{';
			$halloween_party_custom_css .='margin:15px auto;';
		$halloween_party_custom_css .='}';
	}else if($halloween_party_theme_lay == 'Left'){
		$halloween_party_custom_css .='.post-main-box, .post-main-box h2, .post-info, .new-text p, .content-bttn, #our-services p{';
			$halloween_party_custom_css .='text-align:Left;';
		$halloween_party_custom_css .='}';
		$halloween_party_custom_css .='.post-info hr{';
			$halloween_party_custom_css .='margin-bottom:10px;';
		$halloween_party_custom_css .='}';
		$halloween_party_custom_css .='.post-main-box h2{';
			$halloween_party_custom_css .='margin-top:10px;';
		$halloween_party_custom_css .='}';
	}

	// featured image dimention
	$halloween_party_blog_post_featured_image_dimension = get_theme_mod('halloween_party_blog_post_featured_image_dimension', 'default');
	$halloween_party_blog_post_featured_image_custom_width = get_theme_mod('halloween_party_blog_post_featured_image_custom_width',250);
	$halloween_party_blog_post_featured_image_custom_height = get_theme_mod('halloween_party_blog_post_featured_image_custom_height',250);
	if($halloween_party_blog_post_featured_image_dimension == 'custom'){
		$halloween_party_custom_css .='.post-main-box img{';
			$halloween_party_custom_css .='width: '.esc_attr($halloween_party_blog_post_featured_image_custom_width).'; height: '.esc_attr($halloween_party_blog_post_featured_image_custom_height).';';
		$halloween_party_custom_css .='}';
	}

	$halloween_party_featured_image_border_radius = get_theme_mod('halloween_party_featured_image_border_radius', 0);
	if($halloween_party_featured_image_border_radius != false){
		$halloween_party_custom_css .='.box-image img, .feature-box img{';
			$halloween_party_custom_css .='border-radius: '.esc_attr($halloween_party_featured_image_border_radius).'px;';
		$halloween_party_custom_css .='}';
	}

	$halloween_party_featured_image_box_shadow = get_theme_mod('halloween_party_featured_image_box_shadow',0);
	if($halloween_party_featured_image_box_shadow != false){
		$halloween_party_custom_css .='.box-image img{';
			$halloween_party_custom_css .='box-shadow: '.esc_attr($halloween_party_featured_image_box_shadow).'px '.esc_attr($halloween_party_featured_image_box_shadow).'px '.esc_attr($halloween_party_featured_image_box_shadow).'px #cccccc;';
		$halloween_party_custom_css .='}';
	}

	$halloween_party_singlepost_image_box_shadow = get_theme_mod('halloween_party_singlepost_image_box_shadow',0);
	if($halloween_party_singlepost_image_box_shadow != false){
		$halloween_party_custom_css .='.feature-box img{';
			$halloween_party_custom_css .='box-shadow: '.esc_attr($halloween_party_singlepost_image_box_shadow).'px '.esc_attr($halloween_party_singlepost_image_box_shadow).'px '.esc_attr($halloween_party_singlepost_image_box_shadow).'px #cccccc;';
		$halloween_party_custom_css .='}';
	}

	$halloween_party_related_image_box_shadow = get_theme_mod('halloween_party_related_image_box_shadow',0);
	if($halloween_party_related_image_box_shadow != false){
		$halloween_party_custom_css .='.related-post .box-image img{';
			$halloween_party_custom_css .='box-shadow: '.esc_attr($halloween_party_related_image_box_shadow).'px '.esc_attr($halloween_party_related_image_box_shadow).'px '.esc_attr($halloween_party_related_image_box_shadow).'px #cccccc;';
		$halloween_party_custom_css .='}';
	}

	/*---------------- Single Blog Page Settings ------------------*/

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

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

	$halloween_party_comment_width = get_theme_mod('halloween_party_single_blog_comment_width');
	if($halloween_party_comment_width != false){
		$halloween_party_custom_css .='#comments textarea{';
			$halloween_party_custom_css .='width: '.esc_attr($halloween_party_comment_width).';';
		$halloween_party_custom_css .='}';
	}

	$halloween_party_single_blog_post_navigation_show_hide = get_theme_mod('halloween_party_single_blog_post_navigation_show_hide',true);
	if($halloween_party_single_blog_post_navigation_show_hide != true){
		$halloween_party_custom_css .='.post-navigation{';
			$halloween_party_custom_css .='display: none;';
		$halloween_party_custom_css .='}';
	}

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

	$halloween_party_theme_lay = get_theme_mod( 'halloween_party_slider_opacity_color','0.8');
	if($halloween_party_theme_lay == '0'){
		$halloween_party_custom_css .='#slider img{';
			$halloween_party_custom_css .='opacity:0';
		$halloween_party_custom_css .='}';
		}else if($halloween_party_theme_lay == '0.1'){
		$halloween_party_custom_css .='#slider img{';
			$halloween_party_custom_css .='opacity:0.1';
		$halloween_party_custom_css .='}';
		}else if($halloween_party_theme_lay == '0.2'){
		$halloween_party_custom_css .='#slider img{';
			$halloween_party_custom_css .='opacity:0.2';
		$halloween_party_custom_css .='}';
		}else if($halloween_party_theme_lay == '0.3'){
		$halloween_party_custom_css .='#slider img{';
			$halloween_party_custom_css .='opacity:0.3';
		$halloween_party_custom_css .='}';
		}else if($halloween_party_theme_lay == '0.4'){
		$halloween_party_custom_css .='#slider img{';
			$halloween_party_custom_css .='opacity:0.4';
		$halloween_party_custom_css .='}';
		}else if($halloween_party_theme_lay == '0.5'){
		$halloween_party_custom_css .='#slider img{';
			$halloween_party_custom_css .='opacity:0.5';
		$halloween_party_custom_css .='}';
		}else if($halloween_party_theme_lay == '0.6'){
		$halloween_party_custom_css .='#slider img{';
			$halloween_party_custom_css .='opacity:0.6';
		$halloween_party_custom_css .='}';
		}else if($halloween_party_theme_lay == '0.7'){
		$halloween_party_custom_css .='#slider img{';
			$halloween_party_custom_css .='opacity:0.7';
		$halloween_party_custom_css .='}';
		}else if($halloween_party_theme_lay == '0.8'){
		$halloween_party_custom_css .='#slider img{';
			$halloween_party_custom_css .='opacity:0.8';
		$halloween_party_custom_css .='}';
		}else if($halloween_party_theme_lay == '0.9'){
		$halloween_party_custom_css .='#slider img{';
			$halloween_party_custom_css .='opacity:0.9';
		$halloween_party_custom_css .='}';
		}

	/*---------------------- Slider Image Overlay ------------------------*/

	$halloween_party_slider_image_overlay = get_theme_mod('halloween_party_slider_image_overlay', true);
	if($halloween_party_slider_image_overlay == false){
		$halloween_party_custom_css .='#slider img{';
			$halloween_party_custom_css .='opacity:1;';
		$halloween_party_custom_css .='}';
	}

	$halloween_party_slider_image_overlay_color = get_theme_mod('halloween_party_slider_image_overlay_color', true);
	if($halloween_party_slider_image_overlay_color != false){
		$halloween_party_custom_css .='#slider{';
			$halloween_party_custom_css .='background-color: '.esc_attr($halloween_party_slider_image_overlay_color).';';
		$halloween_party_custom_css .='}';
	}

	/*---------------------------Slider Height ------------*/

	$halloween_party_slider_height = get_theme_mod('halloween_party_slider_height');
	if($halloween_party_slider_height != false){
		$halloween_party_custom_css .='#slider img{';
			$halloween_party_custom_css .='height: '.esc_attr($halloween_party_slider_height).';';
		$halloween_party_custom_css .='}';
	}

	/*-------------- Copyright Alignment ----------------*/

	$halloween_party_copyright_background_color = get_theme_mod('halloween_party_copyright_background_color');
	if($halloween_party_copyright_background_color != false){
		$halloween_party_custom_css .='#footer-2{';
			$halloween_party_custom_css .='background-color: '.esc_attr($halloween_party_copyright_background_color).';';
		$halloween_party_custom_css .='}';
	}

	$halloween_party_resp_stickycopyright = get_theme_mod( 'halloween_party_stickycopyright_hide_show',false);
	if($halloween_party_resp_stickycopyright == true && get_theme_mod( 'halloween_party_copyright_sticky',false) != true){
    	$halloween_party_custom_css .='.copyright-sticky{';
			$halloween_party_custom_css .='position:static;';
		$halloween_party_custom_css .='} ';
	}

	$halloween_party_footer_social_icons_font_size = get_theme_mod('halloween_party_footer_social_icons_font_size','16');
	$halloween_party_custom_css .='.copyright .widget i{';
		$halloween_party_custom_css .='font-size: '.esc_attr($halloween_party_footer_social_icons_font_size).'px;';
	$halloween_party_custom_css .='}';

	$halloween_party_footer_widgets_heading = get_theme_mod( 'halloween_party_footer_widgets_heading','Left');
    if($halloween_party_footer_widgets_heading == 'Left'){
		$halloween_party_custom_css .='#footer h3, #footer .wp-block-search .wp-block-search__label{';
		$halloween_party_custom_css .='text-align: left;';
		$halloween_party_custom_css .='}';
	}else if($halloween_party_footer_widgets_heading == 'Center'){
		$halloween_party_custom_css .='#footer h3, #footer .wp-block-search .wp-block-search__label{';
			$halloween_party_custom_css .='text-align: center;';
		$halloween_party_custom_css .='}';
	}else if($halloween_party_footer_widgets_heading == 'Right'){
		$halloween_party_custom_css .='#footer h3, #footer .wp-block-search .wp-block-search__label{';
			$halloween_party_custom_css .='text-align: right;';
		$halloween_party_custom_css .='}';
	}

	$halloween_party_footer_widgets_content = get_theme_mod( 'halloween_party_footer_widgets_content','Left');
    if($halloween_party_footer_widgets_content == 'Left'){
		$halloween_party_custom_css .='#footer .widget{';
		$halloween_party_custom_css .='text-align: left;';
		$halloween_party_custom_css .='}';
	}else if($halloween_party_footer_widgets_content == 'Center'){
		$halloween_party_custom_css .='#footer .widget{';
			$halloween_party_custom_css .='text-align: center;';
		$halloween_party_custom_css .='}';
	}else if($halloween_party_footer_widgets_content == 'Right'){
		$halloween_party_custom_css .='#footer .widget{';
			$halloween_party_custom_css .='text-align: right;';
		$halloween_party_custom_css .='}';
	}

	$halloween_party_copyright_alingment = get_theme_mod('halloween_party_copyright_alingment');
	if($halloween_party_copyright_alingment != false){
		$halloween_party_custom_css .='.copyright p{';
			$halloween_party_custom_css .='text-align: '.esc_attr($halloween_party_copyright_alingment).';';
		$halloween_party_custom_css .='}';
		$halloween_party_custom_css .='
		@media screen and (max-width:720px) {
			.copyright p{';
			$halloween_party_custom_css .='text-align: center;} }';
	}

	$halloween_party_align_footer_social_icon = get_theme_mod('halloween_party_align_footer_social_icon');
	if($halloween_party_align_footer_social_icon != false){
		$halloween_party_custom_css .='.copyright .widget{';
			$halloween_party_custom_css .='text-align: '.esc_attr($halloween_party_align_footer_social_icon).';';
		$halloween_party_custom_css .='}';
		$halloween_party_custom_css .='
		@media screen and (max-width:720px) {
			.copyright .widget{';
			$halloween_party_custom_css .='text-align: center;} }';
	}

	$halloween_party_footer_padding = get_theme_mod('halloween_party_footer_padding');
	if($halloween_party_footer_padding != false){
		$halloween_party_custom_css .='#footer{';
			$halloween_party_custom_css .='padding: '.esc_attr($halloween_party_footer_padding).' 0;';
		$halloween_party_custom_css .='}';
	}

	$halloween_party_copyright_font_size = get_theme_mod('halloween_party_copyright_font_size');
	if($halloween_party_copyright_font_size != false){
		$halloween_party_custom_css .='.copyright p, .copyright a{';
			$halloween_party_custom_css .='font-size: '.esc_attr($halloween_party_copyright_font_size).';';
		$halloween_party_custom_css .='}';
	}

	$halloween_party_copyright_font_weight = get_theme_mod('halloween_party_copyright_font_weight');
	if($halloween_party_copyright_font_weight != false){
		$halloween_party_custom_css .='.copyright p, .copyright a{';
			$halloween_party_custom_css .='font-weight: '.esc_attr($halloween_party_copyright_font_weight).';';
		$halloween_party_custom_css .='}';
	}

	$halloween_party_copyright_text_color = get_theme_mod('halloween_party_copyright_text_color');
	if($halloween_party_copyright_text_color != false){
		$halloween_party_custom_css .='.copyright p, .copyright a{';
			$halloween_party_custom_css .='color: '.esc_attr($halloween_party_copyright_text_color).';';
		$halloween_party_custom_css .='}';
	}

	$halloween_party_footer_background_image = get_theme_mod('halloween_party_footer_background_image');
	if($halloween_party_footer_background_image != false){
		$halloween_party_custom_css .='#footer{';
			$halloween_party_custom_css .='background: url('.esc_attr($halloween_party_footer_background_image).');';
		$halloween_party_custom_css .='}';
	}

	$halloween_party_theme_lay = get_theme_mod( 'halloween_party_img_footer','scroll');
	if($halloween_party_theme_lay == 'fixed'){
		$halloween_party_custom_css .='#footer{';
			$halloween_party_custom_css .='background-attachment: fixed !important;';
		$halloween_party_custom_css .='}';
	}elseif ($halloween_party_theme_lay == 'scroll'){
		$halloween_party_custom_css .='#footer{';
			$halloween_party_custom_css .='background-attachment: scroll !important;';
		$halloween_party_custom_css .='}';
	}

	$halloween_party_footer_img_position = get_theme_mod('halloween_party_footer_img_position','center center');
	if($halloween_party_footer_img_position != false){
		$halloween_party_custom_css .='#footer{';
			$halloween_party_custom_css .='background-position: '.esc_attr($halloween_party_footer_img_position).'!important;';
		$halloween_party_custom_css .='}';
	}

	$halloween_party_footer_background_color = get_theme_mod('halloween_party_footer_background_color');
	if($halloween_party_footer_background_color != false){
		$halloween_party_custom_css .='#footer{';
			$halloween_party_custom_css .='background-color: '.esc_attr($halloween_party_footer_background_color).';background-size:cover;';
		$halloween_party_custom_css .='}';
	}

	$halloween_party_navigation_menu_font_weight = get_theme_mod('halloween_party_navigation_menu_font_weight','500');
	if($halloween_party_navigation_menu_font_weight != false){
		$halloween_party_custom_css .='.main-navigation a{';
			$halloween_party_custom_css .='font-weight: '.esc_attr($halloween_party_navigation_menu_font_weight).';';
		$halloween_party_custom_css .='}';
	}

	$halloween_party_theme_lay = get_theme_mod( 'halloween_party_menu_text_transform','Uppercase');
	if($halloween_party_theme_lay == 'Capitalize'){
		$halloween_party_custom_css .='.main-navigation a{';
			$halloween_party_custom_css .='text-transform:Capitalize;';
		$halloween_party_custom_css .='}';
	}
	if($halloween_party_theme_lay == 'Lowercase'){
		$halloween_party_custom_css .='.main-navigation a{';
			$halloween_party_custom_css .='text-transform:Lowercase;';
		$halloween_party_custom_css .='}';
	}
	if($halloween_party_theme_lay == 'Uppercase'){
		$halloween_party_custom_css .='.main-navigation a{';
			$halloween_party_custom_css .='text-transform:Uppercase;';
		$halloween_party_custom_css .='}';
	}

	/*------------------ Logo  -------------------*/

	$halloween_party_logo_padding = get_theme_mod('halloween_party_logo_padding');
	if($halloween_party_logo_padding != false){
		$halloween_party_custom_css .='.main-header .logo{';
			$halloween_party_custom_css .='padding: '.esc_attr($halloween_party_logo_padding).';';
		$halloween_party_custom_css .='}';
	}

	$halloween_party_logo_margin = get_theme_mod('halloween_party_logo_margin');
	if($halloween_party_logo_margin != false){
		$halloween_party_custom_css .='.main-header .logo{';
			$halloween_party_custom_css .='margin: '.esc_attr($halloween_party_logo_margin).';';
		$halloween_party_custom_css .='}';
	}

	$halloween_party_site_title_font_size = get_theme_mod('halloween_party_site_title_font_size');
	if($halloween_party_site_title_font_size != false){
		$halloween_party_custom_css .='.logo h1, .logo p.site-title{';
			$halloween_party_custom_css .='font-size: '.esc_attr($halloween_party_site_title_font_size).';';
		$halloween_party_custom_css .='}';
	}

	$halloween_party_site_tagline_font_size = get_theme_mod('halloween_party_site_tagline_font_size');
	if($halloween_party_site_tagline_font_size != false){
		$halloween_party_custom_css .='.logo p.site-description{';
			$halloween_party_custom_css .='font-size: '.esc_attr($halloween_party_site_tagline_font_size).';';
		$halloween_party_custom_css .='}';
	}

	$halloween_party_site_title_color = get_theme_mod('halloween_party_site_title_color');
	if($halloween_party_site_title_color != false){
		$halloween_party_custom_css .='p.site-title a{';
			$halloween_party_custom_css .='color: '.esc_attr($halloween_party_site_title_color).';';
		$halloween_party_custom_css .='}';
	}

	$halloween_party_site_tagline_color = get_theme_mod('halloween_party_site_tagline_color');
	if($halloween_party_site_tagline_color != false){
		$halloween_party_custom_css .='.logo p.site-description{';
			$halloween_party_custom_css .='color: '.esc_attr($halloween_party_site_tagline_color).';';
		$halloween_party_custom_css .='}';
	}

	$halloween_party_logo_width = get_theme_mod('halloween_party_logo_width');
	if($halloween_party_logo_width != false){
		$halloween_party_custom_css .='.logo img{';
			$halloween_party_custom_css .='width: '.esc_attr($halloween_party_logo_width).';';
		$halloween_party_custom_css .='}';
	}

	$halloween_party_logo_height = get_theme_mod('halloween_party_logo_height');
	if($halloween_party_logo_height != false){
		$halloween_party_custom_css .='.logo img{';
			$halloween_party_custom_css .='height: '.esc_attr($halloween_party_logo_height).';';
		$halloween_party_custom_css .='}';
	}

	/*------------------ Menus -------------------*/

	$halloween_party_header_menus_color = get_theme_mod('halloween_party_header_menus_color');
	if($halloween_party_header_menus_color != false){
		$halloween_party_custom_css .='.main-navigation a{';
			$halloween_party_custom_css .='color: '.esc_attr($halloween_party_header_menus_color).';';
		$halloween_party_custom_css .='}';
	}

	$halloween_party_header_menus_hover_color = get_theme_mod('halloween_party_header_menus_hover_color');
	if($halloween_party_header_menus_hover_color != false){
		$halloween_party_custom_css .='.main-navigation a:hover{';
			$halloween_party_custom_css .='color: '.esc_attr($halloween_party_header_menus_hover_color).'!important;';
		$halloween_party_custom_css .='}';
	}

	$halloween_party_header_submenus_color = get_theme_mod('halloween_party_header_submenus_color');
	if($halloween_party_header_submenus_color != false){
		$halloween_party_custom_css .='.main-navigation ul ul a{';
			$halloween_party_custom_css .='color: '.esc_attr($halloween_party_header_submenus_color).';';
		$halloween_party_custom_css .='}';
	}

	$halloween_party_header_submenus_hover_color = get_theme_mod('halloween_party_header_submenus_hover_color');
	if($halloween_party_header_submenus_hover_color != false){
		$halloween_party_custom_css .='.main-navigation ul.sub-menu a:hover{';
			$halloween_party_custom_css .='color: '.esc_attr($halloween_party_header_submenus_hover_color).'!important;';
		$halloween_party_custom_css .='}';
	}

	$halloween_party_menus_item = get_theme_mod( 'halloween_party_menus_item_style','None');
    if($halloween_party_menus_item == 'None'){
		$halloween_party_custom_css .='.main-navigation a{';
			$halloween_party_custom_css .='';
		$halloween_party_custom_css .='}';
	}else if($halloween_party_menus_item == 'Zoom In'){
		$halloween_party_custom_css .='.main-navigation a:hover{';
			$halloween_party_custom_css .='transition: all 0.3s ease-in-out !important; transform: scale(1.2) !important; color: #ffcc05;';
		$halloween_party_custom_css .='}';
	}

	$halloween_party_navigation_menu_font_size = get_theme_mod('halloween_party_navigation_menu_font_size');
	if($halloween_party_navigation_menu_font_size != false){
		$halloween_party_custom_css .='.main-navigation a{';
			$halloween_party_custom_css .='font-size: '.esc_attr($halloween_party_navigation_menu_font_size).';';
		$halloween_party_custom_css .='}';
	}


	/*------------- Preloader Background Color  -------------------*/

	$halloween_party_preloader_bg_color = get_theme_mod('halloween_party_preloader_bg_color');
	if($halloween_party_preloader_bg_color != false){
		$halloween_party_custom_css .='#preloader{';
			$halloween_party_custom_css .='background-color: '.esc_attr($halloween_party_preloader_bg_color).';';
		$halloween_party_custom_css .='}';
	}

	$halloween_party_preloader_border_color = get_theme_mod('halloween_party_preloader_border_color');
	if($halloween_party_preloader_border_color != false){
		$halloween_party_custom_css .='.loader-line{';
			$halloween_party_custom_css .='border-color: '.esc_attr($halloween_party_preloader_border_color).'!important;';
		$halloween_party_custom_css .='}';
	}

	$halloween_party_preloader_bg_img = get_theme_mod('halloween_party_preloader_bg_img');
	if($halloween_party_preloader_bg_img != false){
		$halloween_party_custom_css .='#preloader{';
			$halloween_party_custom_css .='background: url('.esc_attr($halloween_party_preloader_bg_img).');-webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover;';
		$halloween_party_custom_css .='}';
	}

	// Header Background Color

	$halloween_party_header_background_color = get_theme_mod('halloween_party_header_background_color');
	if($halloween_party_header_background_color != false){
		$halloween_party_custom_css .='.home-page-header{';
			$halloween_party_custom_css .='background-color: '.esc_attr($halloween_party_header_background_color).';';
		$halloween_party_custom_css .='}';
	}

	/*---------------- Button Settings ------------------*/

	$halloween_party_button_padding_top_bottom = get_theme_mod('halloween_party_button_padding_top_bottom');
	$halloween_party_button_padding_left_right = get_theme_mod('halloween_party_button_padding_left_right');
	if($halloween_party_button_padding_top_bottom != false || $halloween_party_button_padding_left_right != false){
		$halloween_party_custom_css .='.post-main-box .more-btn a{';
			$halloween_party_custom_css .='padding-top: '.esc_attr($halloween_party_button_padding_top_bottom).'!important;
			padding-bottom: '.esc_attr($halloween_party_button_padding_top_bottom).'!important;
			padding-left: '.esc_attr($halloween_party_button_padding_left_right).'!important;
			padding-right: '.esc_attr($halloween_party_button_padding_left_right).'!important;';
		$halloween_party_custom_css .='}';
	}

	$halloween_party_button_border_radius = get_theme_mod('halloween_party_button_border_radius');
	if($halloween_party_button_border_radius != false){
		$halloween_party_custom_css .='.post-main-box .more-btn a{';
			$halloween_party_custom_css .='border-radius: '.esc_attr($halloween_party_button_border_radius).'px;';
		$halloween_party_custom_css .='}';
	}

	$halloween_party_button_font_size = get_theme_mod('halloween_party_button_font_size',14);
	$halloween_party_custom_css .='.post-main-box .more-btn a{';
		$halloween_party_custom_css .='font-size: '.esc_attr($halloween_party_button_font_size).';';
	$halloween_party_custom_css .='}';

	$halloween_party_theme_lay = get_theme_mod( 'halloween_party_button_text_transform','Uppercase');
	if($halloween_party_theme_lay == 'Capitalize'){
		$halloween_party_custom_css .='.post-main-box .more-btn a{';
			$halloween_party_custom_css .='text-transform:Capitalize;';
		$halloween_party_custom_css .='}';
	}
	if($halloween_party_theme_lay == 'Lowercase'){
		$halloween_party_custom_css .='.post-main-box .more-btn a{';
			$halloween_party_custom_css .='text-transform:Lowercase;';
		$halloween_party_custom_css .='}';
	}
	if($halloween_party_theme_lay == 'Uppercase'){
		$halloween_party_custom_css .='.post-main-box .more-btn a{';
			$halloween_party_custom_css .='text-transform:Uppercase;';
		$halloween_party_custom_css .='}';
	}

	$halloween_party_button_letter_spacing = get_theme_mod('halloween_party_button_letter_spacing');
	$halloween_party_custom_css .='.post-main-box .more-btn a{';
		$halloween_party_custom_css .='letter-spacing: '.esc_attr($halloween_party_button_letter_spacing).';';
	$halloween_party_custom_css .='}';

	// button font weight
	$halloween_party_button_font_weight = get_theme_mod('halloween_party_button_font_weight');
  	$halloween_party_custom_css .='.more-btn a{';
    $halloween_party_custom_css .='font-weight: '.esc_attr($halloween_party_button_font_weight).'!important;';
  	$halloween_party_custom_css .='}';

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

	/*----------------Woocommerce Products Settings ------------------*/

	$halloween_party_related_product_show_hide = get_theme_mod('halloween_party_related_product_show_hide',true);
	if($halloween_party_related_product_show_hide != true){
		$halloween_party_custom_css .='.related.products{';
			$halloween_party_custom_css .='display: none;';
		$halloween_party_custom_css .='}';
	}

	/*----------------Sroll to top Settings ------------------*/

	$halloween_party_scroll_to_top_font_size = get_theme_mod('halloween_party_scroll_to_top_font_size');
	if($halloween_party_scroll_to_top_font_size != false){
		$halloween_party_custom_css .='.scrollup i{';
			$halloween_party_custom_css .='font-size: '.esc_attr($halloween_party_scroll_to_top_font_size).';';
		$halloween_party_custom_css .='}';
	}

	$halloween_party_scroll_to_top_padding = get_theme_mod('halloween_party_scroll_to_top_padding');
	$halloween_party_scroll_to_top_padding = get_theme_mod('halloween_party_scroll_to_top_padding');
	if($halloween_party_scroll_to_top_padding != false){
		$halloween_party_custom_css .='.scrollup i{';
			$halloween_party_custom_css .='padding-top: '.esc_attr($halloween_party_scroll_to_top_padding).';padding-bottom: '.esc_attr($halloween_party_scroll_to_top_padding).';';
		$halloween_party_custom_css .='}';
	}

	$halloween_party_scroll_to_top_width = get_theme_mod('halloween_party_scroll_to_top_width');
	if($halloween_party_scroll_to_top_width != false){
		$halloween_party_custom_css .='.scrollup i{';
			$halloween_party_custom_css .='width: '.esc_attr($halloween_party_scroll_to_top_width).';';
		$halloween_party_custom_css .='}';
	}

	$halloween_party_scroll_to_top_height = get_theme_mod('halloween_party_scroll_to_top_height');
	if($halloween_party_scroll_to_top_height != false){
		$halloween_party_custom_css .='.scrollup i{';
			$halloween_party_custom_css .='height: '.esc_attr($halloween_party_scroll_to_top_height).';';
		$halloween_party_custom_css .='}';
	}

	$halloween_party_scroll_to_top_border_radius = get_theme_mod('halloween_party_scroll_to_top_border_radius');
	if($halloween_party_scroll_to_top_border_radius != false){
		$halloween_party_custom_css .='.scrollup i{';
			$halloween_party_custom_css .='border-radius: '.esc_attr($halloween_party_scroll_to_top_border_radius).'px;';
		$halloween_party_custom_css .='}';
	}

	// Woocommerce img

	$halloween_party_shop_featured_image_border_radius = get_theme_mod('halloween_party_shop_featured_image_border_radius', 0);
	if($halloween_party_shop_featured_image_border_radius != false){
		$halloween_party_custom_css .='.woocommerce ul.products li.product a img{';
			$halloween_party_custom_css .='border-radius: '.esc_attr($halloween_party_shop_featured_image_border_radius).'px;';
		$halloween_party_custom_css .='}';
	}

	$halloween_party_shop_featured_image_box_shadow = get_theme_mod('halloween_party_shop_featured_image_box_shadow',0);
	if($halloween_party_shop_featured_image_box_shadow != false){
		$halloween_party_custom_css .='.woocommerce ul.products li.product a img{';
			$halloween_party_custom_css .='box-shadow: '.esc_attr($halloween_party_shop_featured_image_box_shadow).'px '.esc_attr($halloween_party_shop_featured_image_box_shadow).'px '.esc_attr($halloween_party_shop_featured_image_box_shadow).'px #cccccc;';
		$halloween_party_custom_css .='}';
	}

	$halloween_party_products_padding_top_bottom = get_theme_mod('halloween_party_products_padding_top_bottom');
	if($halloween_party_products_padding_top_bottom != false){
		$halloween_party_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{';
			$halloween_party_custom_css .='padding-top: '.esc_attr($halloween_party_products_padding_top_bottom).'!important; padding-bottom: '.esc_attr($halloween_party_products_padding_top_bottom).'!important;';
		$halloween_party_custom_css .='}';
	}

	$halloween_party_products_padding_left_right = get_theme_mod('halloween_party_products_padding_left_right');
	if($halloween_party_products_padding_left_right != false){
		$halloween_party_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{';
			$halloween_party_custom_css .='padding-left: '.esc_attr($halloween_party_products_padding_left_right).'!important; padding-right: '.esc_attr($halloween_party_products_padding_left_right).'!important;';
		$halloween_party_custom_css .='}';
	}

	$halloween_party_products_box_shadow = get_theme_mod('halloween_party_products_box_shadow');
	if($halloween_party_products_box_shadow != false){
		$halloween_party_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{';
				$halloween_party_custom_css .='box-shadow: '.esc_attr($halloween_party_products_box_shadow).'px '.esc_attr($halloween_party_products_box_shadow).'px '.esc_attr($halloween_party_products_box_shadow).'px #ddd;';
		$halloween_party_custom_css .='}';
	}

	$halloween_party_products_border_radius = get_theme_mod('halloween_party_products_border_radius', 0);
	if($halloween_party_products_border_radius != false){
		$halloween_party_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{';
			$halloween_party_custom_css .='border-radius: '.esc_attr($halloween_party_products_border_radius).'px;';
		$halloween_party_custom_css .='}';
	}

	$halloween_party_products_btn_padding_top_bottom = get_theme_mod('halloween_party_products_btn_padding_top_bottom');
	if($halloween_party_products_btn_padding_top_bottom != false){
		$halloween_party_custom_css .='.woocommerce a.button{';
			$halloween_party_custom_css .='padding-top: '.esc_attr($halloween_party_products_btn_padding_top_bottom).' !important; padding-bottom: '.esc_attr($halloween_party_products_btn_padding_top_bottom).' !important;';
		$halloween_party_custom_css .='}';
	}

	$halloween_party_products_btn_padding_left_right = get_theme_mod('halloween_party_products_btn_padding_left_right');
	if($halloween_party_products_btn_padding_left_right != false){
		$halloween_party_custom_css .='.woocommerce a.button{';
			$halloween_party_custom_css .='padding-left: '.esc_attr($halloween_party_products_btn_padding_left_right).' !important; padding-right: '.esc_attr($halloween_party_products_btn_padding_left_right).' !important;';
		$halloween_party_custom_css .='}';
	}

	$halloween_party_products_button_border_radius = get_theme_mod('halloween_party_products_button_border_radius', 0);
	if($halloween_party_products_button_border_radius != false){
		$halloween_party_custom_css .='.woocommerce ul.products li.product .button, a.checkout-button.button.alt.wc-forward,.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt{';
			$halloween_party_custom_css .='border-radius: '.esc_attr($halloween_party_products_button_border_radius).'px !important;';
		$halloween_party_custom_css .='}';
	}

	$halloween_party_woocommerce_sale_position = get_theme_mod( 'halloween_party_woocommerce_sale_position','right');
    if($halloween_party_woocommerce_sale_position == 'left'){
		$halloween_party_custom_css .='.woocommerce ul.products li.product .onsale{';
			$halloween_party_custom_css .='left: 10px !important; right: auto !important;';
		$halloween_party_custom_css .='}';
	}else if($halloween_party_woocommerce_sale_position == 'right'){
		$halloween_party_custom_css .='.woocommerce ul.products li.product .onsale{';
			$halloween_party_custom_css .='left: auto !important; right: 10px !important;';
		$halloween_party_custom_css .='}';
	}

	$halloween_party_woocommerce_sale_font_size = get_theme_mod('halloween_party_woocommerce_sale_font_size');
	if($halloween_party_woocommerce_sale_font_size != false){
		$halloween_party_custom_css .='.woocommerce span.onsale{';
			$halloween_party_custom_css .='font-size: '.esc_attr($halloween_party_woocommerce_sale_font_size).';';
		$halloween_party_custom_css .='}';
	}

	$halloween_party_woocommerce_sale_border_radius = get_theme_mod('halloween_party_woocommerce_sale_border_radius', 0);
	if($halloween_party_woocommerce_sale_border_radius != false){
		$halloween_party_custom_css .='.woocommerce span.onsale{';
			$halloween_party_custom_css .='border-radius: '.esc_attr($halloween_party_woocommerce_sale_border_radius).'px;';
		$halloween_party_custom_css .='}';
	}

	$halloween_party_header_img_position = get_theme_mod('halloween_party_header_img_position','center top');
	if($halloween_party_header_img_position != false){
		$halloween_party_custom_css .='.main-header{';
			$halloween_party_custom_css .='background-position: '.esc_attr($halloween_party_header_img_position).'!important;';
		$halloween_party_custom_css .='}';
	}

	/*----------------Social Icons Settings ------------------*/

	$halloween_party_social_icon_font_size = get_theme_mod('halloween_party_social_icon_font_size');
	if($halloween_party_social_icon_font_size != false){
		$halloween_party_custom_css .='#sidebar .custom-social-icons i, #footer-2 .custom-social-icons i{';
			$halloween_party_custom_css .='font-size: '.esc_attr($halloween_party_social_icon_font_size).';';
		$halloween_party_custom_css .='}';
	}

	$halloween_party_social_icon_padding = get_theme_mod('halloween_party_social_icon_padding');
	if($halloween_party_social_icon_padding != false){
		$halloween_party_custom_css .='#sidebar .custom-social-icons i, #footer-2 .custom-social-icons i{';
			$halloween_party_custom_css .='padding: '.esc_attr($halloween_party_social_icon_padding).';';
		$halloween_party_custom_css .='}';
	}

	$halloween_party_social_icon_width = get_theme_mod('halloween_party_social_icon_width');
	if($halloween_party_social_icon_width != false){
		$halloween_party_custom_css .='#sidebar .custom-social-icons i, #footer-2 .custom-social-icons i{';
			$halloween_party_custom_css .='width: '.esc_attr($halloween_party_social_icon_width).';';
		$halloween_party_custom_css .='}';
	}

	$halloween_party_social_icon_height = get_theme_mod('halloween_party_social_icon_height');
	if($halloween_party_social_icon_height != false){
		$halloween_party_custom_css .='#sidebar .custom-social-icons i, #footer-2 .custom-social-icons i{';
			$halloween_party_custom_css .='height: '.esc_attr($halloween_party_social_icon_height).';';
		$halloween_party_custom_css .='}';
	}

	/*---------------- Grid Posts Settings ------------------*/

	$halloween_party_grid_featured_image_border_radius = get_theme_mod('halloween_party_grid_featured_image_border_radius', 0);
	if($halloween_party_grid_featured_image_border_radius != false){
		$halloween_party_custom_css .='.grid-post-main-box .box-image img, .grid-post-main-box .feature-box img{';
			$halloween_party_custom_css .='border-radius: '.esc_attr($halloween_party_grid_featured_image_border_radius).'px;';
		$halloween_party_custom_css .='}';
	}

	$halloween_party_grid_featured_image_box_shadow = get_theme_mod('halloween_party_grid_featured_image_box_shadow',0);
	if($halloween_party_grid_featured_image_box_shadow != false){
		$halloween_party_custom_css .='.grid-post-main-box .box-image img, .grid-post-main-box .feature-box img{';
			$halloween_party_custom_css .='box-shadow: '.esc_attr($halloween_party_grid_featured_image_box_shadow).'px '.esc_attr($halloween_party_grid_featured_image_box_shadow).'px '.esc_attr($halloween_party_grid_featured_image_box_shadow).'px #cccccc;';
		$halloween_party_custom_css .='}';
	}

	/*-------------- Sticky Header Padding ----------------*/

	$halloween_party_sticky_header_padding = get_theme_mod('halloween_party_sticky_header_padding');
	if($halloween_party_sticky_header_padding != false){
		$halloween_party_custom_css .='.header-fixed{';
			$halloween_party_custom_css .='padding: '.esc_attr($halloween_party_sticky_header_padding).'!important;';
		$halloween_party_custom_css .='}';
	}

/*---------------------------Footer Style -------------------*/

	$halloween_party_theme_lay = get_theme_mod( 'halloween_party_footer_template','halloween_party-footer-one');
    if($halloween_party_theme_lay == 'halloween_party-footer-one'){
		$halloween_party_custom_css .='#footer{';
			$halloween_party_custom_css .='';
		$halloween_party_custom_css .='}';

	}else if($halloween_party_theme_lay == 'halloween_party-footer-two'){
		$halloween_party_custom_css .='#footer{';
			$halloween_party_custom_css .='background: linear-gradient(to right, #f9f8ff, #dedafa);';
		$halloween_party_custom_css .='}';
		$halloween_party_custom_css .='#footer p, #footer li a, #footer, #footer h3, #footer a.rsswidget, #footer #wp-calendar a, .copyright a, #footer .custom_details, #footer ins span, #footer .tagcloud a, .main-inner-box span.entry-date a, nav.woocommerce-MyAccount-navigation ul li:hover a, #footer ul li a, #footer table, #footer th, #footer td, #footer caption, #sidebar caption,#footer nav.wp-calendar-nav a,#footer .search-form .search-field{';
			$halloween_party_custom_css .='color:#000;';
		$halloween_party_custom_css .='}';
		$halloween_party_custom_css .='#footer ul li::before{';
			$halloween_party_custom_css .='background:#000;';
		$halloween_party_custom_css .='}';
		$halloween_party_custom_css .='#footer table, #footer th, #footer td,#footer .search-form .search-field,#footer .tagcloud a{';
			$halloween_party_custom_css .='border: 1px solid #000;';
		$halloween_party_custom_css .='}';

	}else if($halloween_party_theme_lay == 'halloween_party-footer-three'){
		$halloween_party_custom_css .='#footer{';
			$halloween_party_custom_css .='background: #232524;';
		$halloween_party_custom_css .='}';
	}
	else if($halloween_party_theme_lay == 'halloween_party-footer-four'){
		$halloween_party_custom_css .='#footer{';
			$halloween_party_custom_css .='background: #f7f7f7;';
		$halloween_party_custom_css .='}';
		$halloween_party_custom_css .='#footer p, #footer li a, #footer, #footer h3, #footer a.rsswidget, #footer #wp-calendar a, .copyright a, #footer .custom_details, #footer ins span, #footer .tagcloud a, .main-inner-box span.entry-date a, nav.woocommerce-MyAccount-navigation ul li:hover a, #footer ul li a, #footer table, #footer th, #footer td, #footer caption, #sidebar caption,#footer nav.wp-calendar-nav a,#footer .search-form .search-field,#footer ul li{';
			$halloween_party_custom_css .='color:#000;';
		$halloween_party_custom_css .='}';
		$halloween_party_custom_css .='#footer ul li::before{';
			$halloween_party_custom_css .='background:#000;';
		$halloween_party_custom_css .='}';
		$halloween_party_custom_css .='#footer table, #footer th, #footer td,#footer .search-form .search-field,#footer .tagcloud a{';
			$halloween_party_custom_css .='border: 1px solid #000;';
		$halloween_party_custom_css .='}';
	}
	else if($halloween_party_theme_lay == 'halloween_party-footer-five'){
		$halloween_party_custom_css .='#footer{';
			$halloween_party_custom_css .='background: linear-gradient(to right, #01093a, #2d0b00);';
		$halloween_party_custom_css .='}';
	}

 	/*---------------- Footer Settings ------------------*/

	$halloween_party_button_footer_heading_letter_spacing = get_theme_mod('halloween_party_button_footer_heading_letter_spacing',1);
	$halloween_party_custom_css .='#footer h3, a.rsswidget.rss-widget-title{';
		$halloween_party_custom_css .='letter-spacing: '.esc_attr($halloween_party_button_footer_heading_letter_spacing).'px;';
	$halloween_party_custom_css .='}';

	$halloween_party_button_footer_font_size = get_theme_mod('halloween_party_button_footer_font_size','30');
	$halloween_party_custom_css .='#footer h3, a.rsswidget.rss-widget-title{';
		$halloween_party_custom_css .='font-size: '.esc_attr($halloween_party_button_footer_font_size).'px;';
	$halloween_party_custom_css .='}';

	$halloween_party_theme_lay = get_theme_mod( 'halloween_party_button_footer_text_transform','Capitalize');
	if($halloween_party_theme_lay == 'Capitalize'){
		$halloween_party_custom_css .='#footer h3{';
			$halloween_party_custom_css .='text-transform:Capitalize;';
		$halloween_party_custom_css .='}';
	}
	if($halloween_party_theme_lay == 'Lowercase'){
		$halloween_party_custom_css .='#footer h3, a.rsswidget.rss-widget-title{';
			$halloween_party_custom_css .='text-transform:Lowercase;';
		$halloween_party_custom_css .='}';
	}
	if($halloween_party_theme_lay == 'Uppercase'){
		$halloween_party_custom_css .='#footer h3, a.rsswidget.rss-widget-title{';
			$halloween_party_custom_css .='text-transform:Uppercase;';
		$halloween_party_custom_css .='}';
	}

	$halloween_party_footer_heading_weight = get_theme_mod('halloween_party_footer_heading_weight','600');
	if($halloween_party_footer_heading_weight != false){
		$halloween_party_custom_css .='#footer h3, a.rsswidget.rss-widget-title{';
			$halloween_party_custom_css .='font-weight: '.esc_attr($halloween_party_footer_heading_weight).';';
		$halloween_party_custom_css .='}';
	}

		$halloween_party_responsive_preloader_hide = get_theme_mod('halloween_party_responsive_preloader_hide',false);
	if($halloween_party_responsive_preloader_hide == true && get_theme_mod('halloween_party_loader_enable',false) == false){
		$halloween_party_custom_css .='@media screen and (min-width:575px){
			#preloader{';
			$halloween_party_custom_css .='display:none !important;';
		$halloween_party_custom_css .='} }';
	}

	if($halloween_party_responsive_preloader_hide == false){
		$halloween_party_custom_css .='@media screen and (max-width:575px){
			#preloader{';
			$halloween_party_custom_css .='display:none !important;';
		$halloween_party_custom_css .='} }';
	}

	// top bar show /hide responsive media

	$halloween_party_responsive_topbar_hide = get_theme_mod('halloween_party_responsive_topbar_hide',true);
	if($halloween_party_responsive_topbar_hide == true && get_theme_mod('halloween_party_topbar_hide_show',true) == false){
		$halloween_party_custom_css .='@media screen and (min-width:575px){
			.top-bar{';
			$halloween_party_custom_css .='display:none !important;';
		$halloween_party_custom_css .='} }';
	}

	if($halloween_party_responsive_topbar_hide == false){
		$halloween_party_custom_css .='@media screen and (max-width:575px){
			.top-bar{';
			$halloween_party_custom_css .='display:none !important;';
		$halloween_party_custom_css .='} }';
	}

	$halloween_party_breadcrumbs_alignment = get_theme_mod( 'halloween_party_breadcrumbs_alignment','Left');
    if($halloween_party_breadcrumbs_alignment == 'Left'){
    	$halloween_party_custom_css .='@media screen and (min-width:768px) {';
		$halloween_party_custom_css .='.breadcrumbs{';
			$halloween_party_custom_css .='text-align:start;';
		$halloween_party_custom_css .='}}';
	}else if($halloween_party_breadcrumbs_alignment == 'Center'){
		$halloween_party_custom_css .='@media screen and (min-width:768px) {';
		$halloween_party_custom_css .='.breadcrumbs{';
			$halloween_party_custom_css .='text-align:center;';
		$halloween_party_custom_css .='}}';
	}else if($halloween_party_breadcrumbs_alignment == 'Right'){
		$halloween_party_custom_css .='@media screen and (min-width:768px) {';
		$halloween_party_custom_css .='.breadcrumbs{';
			$halloween_party_custom_css .='text-align:end;';
		$halloween_party_custom_css .='}}';
	}

	// sticky sidebar
		$halloween_party_resp_stickysidebar = get_theme_mod( 'halloween_party_stickysidebar_hide_show',false);
	if($halloween_party_resp_stickysidebar == true && get_theme_mod( 'halloween_party_sticky_sidebar',false) != true){
		$halloween_party_custom_css .= '@media (min-width: 768px) {';
    	$halloween_party_custom_css .='#sidebar{';
			$halloween_party_custom_css .='position:static;';
		$halloween_party_custom_css .='} ';
		$halloween_party_custom_css .= '}';
	}
    // First Letter Capital
	$halloween_party_show_first_caps = get_theme_mod('halloween_party_show_first_caps', false);
	if ($halloween_party_show_first_caps ) {
	    $halloween_party_custom_css .= '.post-main-box .new-text p:nth-of-type(1)::first-letter {';
	    $halloween_party_custom_css .=' font-size: 55px;font-weight: 600;margin-right: 5px;';
	    $halloween_party_custom_css .='}';
	} else {
		$halloween_party_custom_css .= '.post-main-box .new-text p:nth-of-type(1)::first-letter {';
	    $halloween_party_custom_css .= 'display: none;';
	    $halloween_party_custom_css .='}';
	}
	// Featured hover image effect //
	$halloween_party_show_featured = get_theme_mod( 'halloween_party_featured_image_hide_show', 1 );
	$halloween_party_hover_effect  = get_theme_mod( 'halloween_party_featured_image_hover', 'none' );

	if ( $halloween_party_show_featured && $halloween_party_hover_effect !== 'none' ) {

		$halloween_party_custom_css .= '
		.halloween-party-featured-image img{
			transition: all 0.4s ease;
		}';

		if ( $halloween_party_hover_effect === 'zoom-in' ) {
			$halloween_party_custom_css .= '
			.halloween-party-featured-image:hover img{
				transform: scale(1.2);
			}';
		}

		if ( $halloween_party_hover_effect === 'zoom-out' ) {
			$halloween_party_custom_css .= '
			.halloween-party-featured-image img{
				transform: scale(1.2);
			}
			.halloween-party-featured-image:hover img{
				transform: scale(1);
			}';
		}

		if ( $halloween_party_hover_effect === 'grayscale' ) {
			$halloween_party_custom_css .= '
			.halloween-party-featured-image img{
				filter: grayscale(100%);
			}
			.halloween-party-featured-image:hover img{
				filter: grayscale(0);
			}';
		}

		if ( $halloween_party_hover_effect === 'sepia' ) {
			$halloween_party_custom_css .= '
			.halloween-party-featured-image:hover img{
				filter: sepia(100%);
			}';
		}

		if ( $halloween_party_hover_effect === 'blur' ) {
			$halloween_party_custom_css .= '
			.halloween-party-featured-image:hover img{
				filter: blur(3px);
			}';
		}

		if ( $halloween_party_hover_effect === 'bright' ) {
			$halloween_party_custom_css .= '
			.halloween-party-featured-image:hover img{
				filter: brightness(1.3);
			}';
		}

		if ( $halloween_party_hover_effect === 'translate' ) {
			$halloween_party_custom_css .= '
			.halloween-party-featured-image:hover img{
				transform: translateY(-10px);
			}';
		}
	}

