<?php
	
	/*----------------------First highlight color-------------------*/

	$vw_painter_first_color = get_theme_mod('vw_painter_first_color');

	$vw_painter_custom_css = '';

	if($vw_painter_first_color != false){
		$vw_painter_custom_css .='.cat-btn a:hover, #footer input[type="submit"], #sidebar .tagcloud a:hover, #footer .tagcloud a:hover, .scrollup i, input[type="submit"], #comments a.comment-reply-link, #sidebar .widget_price_filter .ui-slider .ui-slider-range, #sidebar .widget_price_filter .ui-slider .ui-slider-handle, #sidebar .woocommerce-product-search button, #footer .widget_price_filter .ui-slider .ui-slider-range, #footer .widget_price_filter .ui-slider .ui-slider-handle, #footer .woocommerce-product-search button, #footer #respond input#submit, #footer a.button, #footer button.button, #footer input.button, #footer #respond input#submit.alt, #footer a.button.alt, #footer button.button.alt, #footer input.button.alt, #footer a.custom_read_more:hover, #footer .custom-social-icons i:hover, #sidebar .custom-social-icons i:hover, .nav-previous a:hover, .nav-next a:hover, #preloader, #footer .wp-block-search .wp-block-search__button, #sidebar .wp-block-search .wp-block-search__button, a.wc-block-components-checkout-return-to-cart-button{';
			$vw_painter_custom_css .='background-color: '.esc_attr($vw_painter_first_color).';';
		$vw_painter_custom_css .='}';
	}
	if($vw_painter_first_color != false){
		$vw_painter_custom_css .='#comments input[type="submit"].submit,.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{';
			$vw_painter_custom_css .='background-color: '.esc_attr($vw_painter_first_color).'!important;';
		$vw_painter_custom_css .='}';
	}
	if($vw_painter_first_color != false){
		$vw_painter_custom_css .='a, .post-navigation a:hover .post-title, .post-navigation a:focus .post-title, .woocommerce-message::before, #footer li a:hover, .main-navigation a:hover, .main-navigation ul.sub-menu a:hover, .entry-content a, #sidebar .textwidget p a, .textwidget p a, #comments p a, .slider .inner_carousel p a, #footer a.custom_read_more, #footer .custom-social-icons i, #sidebar .custom-social-icons i, #sidebar ul li a:hover, .post-main-box:hover h2 a, .post-main-box:hover .post-info a, .single-post .post-info:hover a, .logo .site-title a:hover, nav.woocommerce-MyAccount-navigation ul li a:hover, #slider .inner_carousel h1 a:hover{';
			$vw_painter_custom_css .='color: '.esc_attr($vw_painter_first_color).';';
		$vw_painter_custom_css .='}';
	}
	if($vw_painter_first_color != false){
		$vw_painter_custom_css .='.cat-btn a:hover, #footer a.custom_read_more, #footer .custom-social-icons i, #sidebar .custom-social-icons i, #footer .custom-social-icons i:hover, #sidebar .custom-social-icons i:hover{';
			$vw_painter_custom_css .='border-color: '.esc_attr($vw_painter_first_color).'!important;';
		$vw_painter_custom_css .='}';
	}
	if($vw_painter_first_color != false){
		$vw_painter_custom_css .='.post-info hr, .woocommerce-message, .main-navigation ul ul{';
			$vw_painter_custom_css .='border-top-color: '.esc_attr($vw_painter_first_color).';';
		$vw_painter_custom_css .='}';
	}
	if($vw_painter_first_color != false){
		$vw_painter_custom_css .='.main-navigation ul ul{';
			$vw_painter_custom_css .='border-bottom-color: '.esc_attr($vw_painter_first_color).';';
		$vw_painter_custom_css .='}';
	}

	/*------------------Second highlight color-------------------*/

	$vw_painter_second_color = get_theme_mod('vw_painter_second_color');

	$vw_painter_third_color = get_theme_mod('vw_painter_third_color');

	$vw_painter_fourth_color = get_theme_mod('vw_painter_fourth_color');

	if($vw_painter_second_color != false || $vw_painter_first_color != false || $vw_painter_third_color != false || $vw_painter_fourth_color != false){
		$vw_painter_custom_css .='#topbar, #footer-2, .home-page-header,.bradcrumbs a, .post-categories li a,.bradcrumbs span, .wp-block-tag-cloud a:hover{
		background-image: linear-gradient(to right, '.esc_attr($vw_painter_second_color).', '.esc_attr($vw_painter_first_color).', '.esc_attr($vw_painter_third_color).', '.esc_attr($vw_painter_fourth_color).');
		}';
	}

	if($vw_painter_second_color != false || $vw_painter_first_color != false || $vw_painter_third_color != false || $vw_painter_fourth_color != false){
		$vw_painter_custom_css .='#slider .carousel-caption{
		border-image: linear-gradient(to bottom, '.esc_attr($vw_painter_second_color).', '.esc_attr($vw_painter_first_color).', '.esc_attr($vw_painter_third_color).', '.esc_attr($vw_painter_fourth_color).')1 100%;
		}';
	}
	
	/*------------------------Width Layout -------------------*/

	$vw_painter_theme_lay = get_theme_mod( 'vw_painter_width_option','Full Width');
    if($vw_painter_theme_lay == 'Boxed'){
		$vw_painter_custom_css .='body{';
			$vw_painter_custom_css .='max-width: 1140px; width: 100%; padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto;';
		$vw_painter_custom_css .='}';
		$vw_painter_custom_css .='.scrollup i{';
			$vw_painter_custom_css .='right: 100px;';
		$vw_painter_custom_css .='}';
		$vw_painter_custom_css .='.scrollup.left i{';
			$vw_painter_custom_css .='left: 100px;';
		$vw_painter_custom_css .='}';
	}else if($vw_painter_theme_lay == 'Wide Width'){
		$vw_painter_custom_css .='body{';
			$vw_painter_custom_css .='width: 100%;padding-right: 15px;padding-left: 15px;margin-right: auto;margin-left: auto;';
		$vw_painter_custom_css .='}';
		$vw_painter_custom_css .='.scrollup i{';
			$vw_painter_custom_css .='right: 30px;';
		$vw_painter_custom_css .='}';
		$vw_painter_custom_css .='.scrollup.left i{';
			$vw_painter_custom_css .='left: 30px;';
		$vw_painter_custom_css .='}';
	}else if($vw_painter_theme_lay == 'Full Width'){
		$vw_painter_custom_css .='body{';
			$vw_painter_custom_css .='max-width: 100%;';
		$vw_painter_custom_css .='}';
	}

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

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

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

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

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

	/*----------------Slider Content Layout -------------------*/

	$vw_painter_theme_lay = get_theme_mod( 'vw_painter_slider_content_option','Right');
    if($vw_painter_theme_lay == 'Left'){
		$vw_painter_custom_css .='#slider .carousel-caption, #slider .inner_carousel, #slider .inner_carousel h1{';
			$vw_painter_custom_css .='text-align:left; left:15%; right:45%;';
		$vw_painter_custom_css .='}';
		$vw_painter_custom_css .='#slider .carousel-caption{';
			$vw_painter_custom_css .='padding-left: 15px; border-left: solid 12px; border-right: none;';
		$vw_painter_custom_css .='}';
	}else if($vw_painter_theme_lay == 'Center'){
		$vw_painter_custom_css .='#slider .carousel-caption, #slider .inner_carousel, #slider .inner_carousel h1{';
			$vw_painter_custom_css .='text-align:center; left:20%; right:20%;';
		$vw_painter_custom_css .='}';
		$vw_painter_custom_css .='#slider .carousel-caption{';
			$vw_painter_custom_css .='border-left: none; border-right: none;';
		$vw_painter_custom_css .='}';
	}else if($vw_painter_theme_lay == 'Right'){
		$vw_painter_custom_css .='#slider .carousel-caption, #slider .inner_carousel, #slider .inner_carousel h1{';
			$vw_painter_custom_css .='text-align:right; left:45%; right:15%;';
		$vw_painter_custom_css .='}';
	}

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

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

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

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

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

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

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

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

	// featured image dimention
	$vw_painter_blog_post_featured_image_dimension = get_theme_mod('vw_painter_blog_post_featured_image_dimension', 'default');
	$vw_painter_blog_post_featured_image_custom_width = get_theme_mod('vw_painter_blog_post_featured_image_custom_width',250);
	$vw_painter_blog_post_featured_image_custom_height = get_theme_mod('vw_painter_blog_post_featured_image_custom_height',250);
	if($vw_painter_blog_post_featured_image_dimension == 'custom'){
		$vw_painter_custom_css .='.box-image img{';
			$vw_painter_custom_css .='width: '.esc_attr($vw_painter_blog_post_featured_image_custom_width).'; height: '.esc_attr($vw_painter_blog_post_featured_image_custom_height).';';
		$vw_painter_custom_css .='}';
	}
	
	/*-------------------Responsive Media -----------------------*/

	$vw_painter_resp_topbar = get_theme_mod( 'vw_painter_resp_topbar_hide_show',true);
	if($vw_painter_resp_topbar == true && get_theme_mod( 'vw_painter_topbar_hide_show', true) == false){
    	$vw_painter_custom_css .='#topbar{';
			$vw_painter_custom_css .='display:none;';
		$vw_painter_custom_css .='} ';
	}
    if($vw_painter_resp_topbar == true){
    	$vw_painter_custom_css .='@media screen and (max-width:575px) {';
		$vw_painter_custom_css .='#topbar{';
			$vw_painter_custom_css .='display:block;';
		$vw_painter_custom_css .='} }';
	}else if($vw_painter_resp_topbar == false){
		$vw_painter_custom_css .='@media screen and (max-width:575px) {';
		$vw_painter_custom_css .='#topbar{';
			$vw_painter_custom_css .='display:none;';
		$vw_painter_custom_css .='} }';
	}

	$vw_painter_resp_stickyheader = get_theme_mod( 'vw_painter_stickyheader_hide_show',false);
	if($vw_painter_resp_stickyheader == true && get_theme_mod( 'vw_painter_sticky_header',false) != true){
    	$vw_painter_custom_css .='.header-fixed{';
			$vw_painter_custom_css .='position:static;';
		$vw_painter_custom_css .='} ';
	}
    if($vw_painter_resp_stickyheader == true){
    	$vw_painter_custom_css .='@media screen and (max-width:575px) {';
		$vw_painter_custom_css .='.header-fixed{';
			$vw_painter_custom_css .='position:fixed;';
		$vw_painter_custom_css .='} }';
	}else if($vw_painter_resp_stickyheader == false){
		$vw_painter_custom_css .='@media screen and (max-width:575px){';
		$vw_painter_custom_css .='.header-fixed{';
			$vw_painter_custom_css .='position:static;';
		$vw_painter_custom_css .='} }';
	}

	$vw_painter_resp_slider = get_theme_mod( 'vw_painter_resp_slider_hide_show',true);
	if($vw_painter_resp_slider == true && get_theme_mod( 'vw_painter_slider_hide_show', true) == false){
    	$vw_painter_custom_css .='#slider{';
			$vw_painter_custom_css .='display:none;';
		$vw_painter_custom_css .='} ';
	}
    if($vw_painter_resp_slider == true){
    	$vw_painter_custom_css .='@media screen and (max-width:575px) {';
		$vw_painter_custom_css .='#slider{';
			$vw_painter_custom_css .='display:block;';
		$vw_painter_custom_css .='} }';
	}else if($vw_painter_resp_slider == false){
		$vw_painter_custom_css .='@media screen and (max-width:575px) {';
		$vw_painter_custom_css .='#slider{';
			$vw_painter_custom_css .='display:none;';
		$vw_painter_custom_css .='} }';
	}

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

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

	$vw_painter_resp_menu_toggle_btn_bg_color = get_theme_mod('vw_painter_resp_menu_toggle_btn_bg_color');
	if($vw_painter_resp_menu_toggle_btn_bg_color != false){
		$vw_painter_custom_css .='.toggle-nav i,.sidenav .closebtn{';
			$vw_painter_custom_css .='background-color: '.esc_attr($vw_painter_resp_menu_toggle_btn_bg_color).';';
		$vw_painter_custom_css .='}';
	}

	/*------------- Top Bar Settings ------------------*/

	$vw_painter_topbar_padding_top_bottom = get_theme_mod('vw_painter_topbar_padding_top_bottom');
	if($vw_painter_topbar_padding_top_bottom != false){
		$vw_painter_custom_css .='#topbar{';
			$vw_painter_custom_css .='padding-top: '.esc_attr($vw_painter_topbar_padding_top_bottom).'; padding-bottom: '.esc_attr($vw_painter_topbar_padding_top_bottom).';';
		$vw_painter_custom_css .='}';
	}

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

	$vw_painter_sticky_header_padding = get_theme_mod('vw_painter_sticky_header_padding');
	if($vw_painter_sticky_header_padding != false){
		$vw_painter_custom_css .='.header-fixed{';
			$vw_painter_custom_css .='padding: '.esc_attr($vw_painter_sticky_header_padding).';';
		$vw_painter_custom_css .='}';
	}

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

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

	$vw_painter_navigation_menu_font_weight = get_theme_mod('vw_painter_navigation_menu_font_weight','600');
	if($vw_painter_navigation_menu_font_weight != false){
		$vw_painter_custom_css .='.main-navigation a{';
			$vw_painter_custom_css .='font-weight: '.esc_attr($vw_painter_navigation_menu_font_weight).';';
		$vw_painter_custom_css .='}';
	}

	$vw_painter_theme_lay = get_theme_mod( 'vw_painter_menu_text_transform','Capitalize');
	if($vw_painter_theme_lay == 'Capitalize'){
		$vw_painter_custom_css .='.main-navigation a{';
			$vw_painter_custom_css .='text-transform:Capitalize;';
		$vw_painter_custom_css .='}';
	}
	if($vw_painter_theme_lay == 'Lowercase'){
		$vw_painter_custom_css .='.main-navigation a{';
			$vw_painter_custom_css .='text-transform:Lowercase;';
		$vw_painter_custom_css .='}';
	}
	if($vw_painter_theme_lay == 'Uppercase'){
		$vw_painter_custom_css .='.main-navigation a{';
			$vw_painter_custom_css .='text-transform:Uppercase;';
		$vw_painter_custom_css .='}';
	}

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

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

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

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

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

	/*------------------ Search Settings -----------------*/
	
	$vw_painter_search_padding_top_bottom = get_theme_mod('vw_painter_search_padding_top_bottom');
	$vw_painter_search_padding_left_right = get_theme_mod('vw_painter_search_padding_left_right');
	$vw_painter_search_font_size = get_theme_mod('vw_painter_search_font_size');
	$vw_painter_search_border_radius = get_theme_mod('vw_painter_search_border_radius');
	if($vw_painter_search_padding_top_bottom != false || $vw_painter_search_padding_left_right != false || $vw_painter_search_font_size != false || $vw_painter_search_border_radius != false){
		$vw_painter_custom_css .='.search-box i{';
			$vw_painter_custom_css .='padding-top: '.esc_attr($vw_painter_search_padding_top_bottom).'; padding-bottom: '.esc_attr($vw_painter_search_padding_top_bottom).';padding-left: '.esc_attr($vw_painter_search_padding_left_right).';padding-right: '.esc_attr($vw_painter_search_padding_left_right).';font-size: '.esc_attr($vw_painter_search_font_size).';border-radius: '.esc_attr($vw_painter_search_border_radius).'px;';
		$vw_painter_custom_css .='}';
	}

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

	$vw_painter_button_padding_top_bottom = get_theme_mod('vw_painter_button_padding_top_bottom');
	$vw_painter_button_padding_left_right = get_theme_mod('vw_painter_button_padding_left_right');
	if($vw_painter_button_padding_top_bottom != false || $vw_painter_button_padding_left_right != false){
		$vw_painter_custom_css .='.post-main-box .content-bttn a{';
			$vw_painter_custom_css .='padding-top: '.esc_attr($vw_painter_button_padding_top_bottom).'; padding-bottom: '.esc_attr($vw_painter_button_padding_top_bottom).';padding-left: '.esc_attr($vw_painter_button_padding_left_right).';padding-right: '.esc_attr($vw_painter_button_padding_left_right).';';
		$vw_painter_custom_css .='}';
	}

	$vw_painter_button_border_radius = get_theme_mod('vw_painter_button_border_radius');
	if($vw_painter_button_border_radius != false){
		$vw_painter_custom_css .='.post-main-box .content-bttn a{';
			$vw_painter_custom_css .='border-radius: '.esc_attr($vw_painter_button_border_radius).'px;';
		$vw_painter_custom_css .='}';
	}

	$vw_painter_button_font_size = get_theme_mod('vw_painter_button_font_size',14);
	$vw_painter_custom_css .='.post-main-box .content-bttn a{';
		$vw_painter_custom_css .='font-size: '.esc_attr($vw_painter_button_font_size).';';
	$vw_painter_custom_css .='}';

	$vw_painter_theme_lay = get_theme_mod( 'vw_painter_button_text_transform','Uppercase');
	if($vw_painter_theme_lay == 'Capitalize'){
		$vw_painter_custom_css .='.post-main-box .content-bttn a{';
			$vw_painter_custom_css .='text-transform:Capitalize;';
		$vw_painter_custom_css .='}';
	}
	if($vw_painter_theme_lay == 'Lowercase'){
		$vw_painter_custom_css .='.post-main-box .content-bttn a{';
			$vw_painter_custom_css .='text-transform:Lowercase;';
		$vw_painter_custom_css .='}';
	}
	if($vw_painter_theme_lay == 'Uppercase'){ 
		$vw_painter_custom_css .='.post-main-box .content-bttn a{';
			$vw_painter_custom_css .='text-transform:Uppercase;';
		$vw_painter_custom_css .='}';
	}

	$vw_painter_button_letter_spacing = get_theme_mod('vw_painter_button_letter_spacing');
	$vw_painter_custom_css .='.post-main-box .content-bttn a{';
		$vw_painter_custom_css .='letter-spacing: '.esc_attr($vw_painter_button_letter_spacing).';';
	$vw_painter_custom_css .='}';

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

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

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

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

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

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

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

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

	$vw_painter_comment_width = get_theme_mod('vw_painter_single_blog_comment_width');
	if($vw_painter_comment_width != false){
		$vw_painter_custom_css .='#comments textarea{';
			$vw_painter_custom_css .='width: '.esc_attr($vw_painter_comment_width).';';
		$vw_painter_custom_css .='}';
	}

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

	$vw_painter_copyright_first_color = get_theme_mod('vw_painter_copyright_first_color');

	$vw_painter_copyright_second_color = get_theme_mod('vw_painter_copyright_second_color');

	$vw_painter_copyright_third_color = get_theme_mod('vw_painter_copyright_third_color');

	$vw_painter_copyright_fourth_color = get_theme_mod('vw_painter_copyright_fourth_color');

	if($vw_painter_copyright_first_color != false || $vw_painter_copyright_second_color != false || $vw_painter_copyright_third_color != false|| $vw_painter_copyright_fourth_color != false ){
		$vw_painter_custom_css .='#footer-2{
		background: linear-gradient(to right, '.esc_attr($vw_painter_copyright_first_color).', '.esc_attr($vw_painter_copyright_second_color).', '.esc_attr($vw_painter_copyright_third_color).', '.esc_attr($vw_painter_copyright_fourth_color).');
		}';
	}

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

	$vw_painter_copyright_font_size = get_theme_mod('vw_painter_copyright_font_size');
	if($vw_painter_copyright_font_size != false){
		$vw_painter_custom_css .='.copyright p{';
			$vw_painter_custom_css .='font-size: '.esc_attr($vw_painter_copyright_font_size).';';
		$vw_painter_custom_css .='}';
	}

	$vw_painter_copyright_padding_top_bottom = get_theme_mod('vw_painter_copyright_padding_top_bottom');
	if($vw_painter_copyright_padding_top_bottom != false){
		$vw_painter_custom_css .='#footer-2{';
			$vw_painter_custom_css .='padding-top: '.esc_attr($vw_painter_copyright_padding_top_bottom).'; padding-bottom: '.esc_attr($vw_painter_copyright_padding_top_bottom).';';
		$vw_painter_custom_css .='}';
	}

	$vw_painter_copyright_alignment = get_theme_mod('vw_painter_copyright_alignment');
	if($vw_painter_copyright_alignment != false){
		$vw_painter_custom_css .='.copyright p,#footer-2 p{';
			$vw_painter_custom_css .='text-align: '.esc_attr($vw_painter_copyright_alignment).';';
		$vw_painter_custom_css .='}';
		$vw_painter_custom_css .='
		@media screen and (max-width:720px) {
			.copyright p,#footer-2 p{';
			$vw_painter_custom_css .='text-align: center;} }';
	}

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

	$vw_painter_resp_stickycopyright = get_theme_mod( 'vw_painter_stickycopyright_hide_show',false);
	if($vw_painter_resp_stickycopyright == true && get_theme_mod( 'vw_painter_copyright_sticky',false) != true){
    	$vw_painter_custom_css .='.copyright-sticky{';
			$vw_painter_custom_css .='position:static;';
		$vw_painter_custom_css .='} ';
	}

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

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

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

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

	$vw_painter_footer_icon = get_theme_mod('vw_painter_footer_icon');
	if($vw_painter_footer_icon == false){
		$vw_painter_custom_css .='.copyright p{';
			$vw_painter_custom_css .='width:100%; text-align:center; float:none;';
		$vw_painter_custom_css .='}';
	}

	$vw_painter_footer_background_image = get_theme_mod('vw_painter_footer_background_image');
	if($vw_painter_footer_background_image != false){
		$vw_painter_custom_css .='#footer{';
			$vw_painter_custom_css .='background: url('.esc_attr($vw_painter_footer_background_image).');background-size:cover;';
		$vw_painter_custom_css .='}';
	}

	$vw_painter_theme_lay = get_theme_mod( 'vw_painter_img_footer','scroll');
	if($vw_painter_theme_lay == 'fixed'){
		$vw_painter_custom_css .='#footer{';
			$vw_painter_custom_css .='background-attachment: fixed !important;';
		$vw_painter_custom_css .='}';
	}elseif ($vw_painter_theme_lay == 'scroll'){
		$vw_painter_custom_css .='#footer{';
			$vw_painter_custom_css .='background-attachment: scroll !important;';
		$vw_painter_custom_css .='}';
	}

	$vw_painter_footer_img_position = get_theme_mod('vw_painter_footer_img_position','center center');
	if($vw_painter_footer_img_position != false){
		$vw_painter_custom_css .='#footer{';
			$vw_painter_custom_css .='background-position: '.esc_attr($vw_painter_footer_img_position).'!important;';
		$vw_painter_custom_css .='}';
	}  
	
	/*----------------Scroll to top Settings ------------------*/

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

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

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

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

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

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

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

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

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

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

	$vw_painter_social_icon_border_radius = get_theme_mod('vw_painter_social_icon_border_radius');
	if($vw_painter_social_icon_border_radius != false){
		$vw_painter_custom_css .='#sidebar .custom-social-icons i, #footer .custom-social-icons i{';
			$vw_painter_custom_css .='border-radius: '.esc_attr($vw_painter_social_icon_border_radius).'px;';
		$vw_painter_custom_css .='}';
	}

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

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

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

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

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

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

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

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

	$vw_painter_products_button_border_radius = get_theme_mod('vw_painter_products_button_border_radius', 0);
	if($vw_painter_products_button_border_radius != false){
		$vw_painter_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{';
			$vw_painter_custom_css .='border-radius: '.esc_attr($vw_painter_products_button_border_radius).'px;';
		$vw_painter_custom_css .='}';
	}

	$vw_painter_woocommerce_sale_position = get_theme_mod( 'vw_painter_woocommerce_sale_position','right');
    if($vw_painter_woocommerce_sale_position == 'left'){
		$vw_painter_custom_css .='.woocommerce ul.products li.product .onsale{';
			$vw_painter_custom_css .='left: -10px; right: auto;';
		$vw_painter_custom_css .='}';
	}else if($vw_painter_woocommerce_sale_position == 'right'){
		$vw_painter_custom_css .='.woocommerce ul.products li.product .onsale{';
			$vw_painter_custom_css .='left: auto; right: 0;';
		$vw_painter_custom_css .='}';
	}

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

	$vw_painter_woocommerce_sale_padding_top_bottom = get_theme_mod('vw_painter_woocommerce_sale_padding_top_bottom');
	if($vw_painter_woocommerce_sale_padding_top_bottom != false){
		$vw_painter_custom_css .='.woocommerce span.onsale{';
			$vw_painter_custom_css .='padding-top: '.esc_attr($vw_painter_woocommerce_sale_padding_top_bottom).'; padding-bottom: '.esc_attr($vw_painter_woocommerce_sale_padding_top_bottom).';';
		$vw_painter_custom_css .='}';
	}

	$vw_painter_woocommerce_sale_padding_left_right = get_theme_mod('vw_painter_woocommerce_sale_padding_left_right');
	if($vw_painter_woocommerce_sale_padding_left_right != false){
		$vw_painter_custom_css .='.woocommerce span.onsale{';
			$vw_painter_custom_css .='padding-left: '.esc_attr($vw_painter_woocommerce_sale_padding_left_right).'; padding-right: '.esc_attr($vw_painter_woocommerce_sale_padding_left_right).';';
		$vw_painter_custom_css .='}';
	}

	$vw_painter_woocommerce_sale_border_radius = get_theme_mod('vw_painter_woocommerce_sale_border_radius', 100);
	if($vw_painter_woocommerce_sale_border_radius != false){
		$vw_painter_custom_css .='.woocommerce span.onsale{';
			$vw_painter_custom_css .='border-radius: '.esc_attr($vw_painter_woocommerce_sale_border_radius).'px;';
		$vw_painter_custom_css .='}';
	}

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

	$vw_painter_logo_padding = get_theme_mod('vw_painter_logo_padding');
	if($vw_painter_logo_padding != false){
		$vw_painter_custom_css .='.logo{';
			$vw_painter_custom_css .='padding: '.esc_attr($vw_painter_logo_padding).';';
		$vw_painter_custom_css .='}';
	}

	$vw_painter_logo_margin = get_theme_mod('vw_painter_logo_margin');
	if($vw_painter_logo_margin != false){
		$vw_painter_custom_css .='.logo{';
			$vw_painter_custom_css .='margin: '.esc_attr($vw_painter_logo_margin).';';
		$vw_painter_custom_css .='}';
	}

	// Site title Font Size
	$vw_painter_site_title_font_size = get_theme_mod('vw_painter_site_title_font_size');
	if($vw_painter_site_title_font_size != false){
		$vw_painter_custom_css .='.logo h1 a, .logo p.site-title a{';
			$vw_painter_custom_css .='font-size: '.esc_attr($vw_painter_site_title_font_size).';';
		$vw_painter_custom_css .='}';
	}

	// Site tagline Font Size
	$vw_painter_site_tagline_font_size = get_theme_mod('vw_painter_site_tagline_font_size');
	if($vw_painter_site_tagline_font_size != false){
		$vw_painter_custom_css .='.logo p.site-description{';
			$vw_painter_custom_css .='font-size: '.esc_attr($vw_painter_site_tagline_font_size).';';
		$vw_painter_custom_css .='}';
	}

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

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

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

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

	// Woocommerce img

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

	$vw_painter_shop_featured_image_box_shadow = get_theme_mod('vw_painter_shop_featured_image_box_shadow');
	if($vw_painter_shop_featured_image_box_shadow != false){
		$vw_painter_custom_css .='.woocommerce ul.products li.product a img{';
				$vw_painter_custom_css .='box-shadow: '.esc_attr($vw_painter_shop_featured_image_box_shadow).'px '.esc_attr($vw_painter_shop_featured_image_box_shadow).'px '.esc_attr($vw_painter_shop_featured_image_box_shadow).'px #ddd;';
		$vw_painter_custom_css .='}';
	}

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

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

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

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

	$vw_painter_header_first_color = get_theme_mod('vw_painter_header_first_color');
	$vw_painter_header_second_color = get_theme_mod('vw_painter_header_second_color');
	$vw_painter_header_third_color = get_theme_mod('vw_painter_header_third_color');
	$vw_painter_header_fourth_color = get_theme_mod('vw_painter_header_fourth_color');
	if($vw_painter_header_first_color != false || $vw_painter_header_second_color != false || $vw_painter_header_third_color != false|| $vw_painter_header_fourth_color != false ){
		$vw_painter_custom_css .='.home-page-header, #topbar{
		background: linear-gradient(to right, '.esc_attr($vw_painter_header_first_color).', '.esc_attr($vw_painter_header_second_color).', '.esc_attr($vw_painter_header_third_color).', '.esc_attr($vw_painter_header_fourth_color).');
		}';
	}

	$vw_painter_header_img_position = get_theme_mod('vw_painter_header_img_position','center top');
	if($vw_painter_header_img_position != false){
		$vw_painter_custom_css .='.page-template-custom-home-page #top-header, #top-header{';
			$vw_painter_custom_css .='background-position: '.esc_attr($vw_painter_header_img_position).'!important;';
		$vw_painter_custom_css .='}';
	}

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

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

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

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

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

	$vw_painter_button_footer_heading_letter_spacing = get_theme_mod('vw_painter_button_footer_heading_letter_spacing',1);
	$vw_painter_custom_css .='#footer h3, #footer .wp-block-search .wp-block-search__label, a.rsswidget.rss-widget-title{';
		$vw_painter_custom_css .='letter-spacing: '.esc_attr($vw_painter_button_footer_heading_letter_spacing).'px;';
	$vw_painter_custom_css .='}';

	$vw_painter_button_footer_font_size = get_theme_mod('vw_painter_button_footer_font_size','25');
	$vw_painter_custom_css .='#footer h3, #footer .wp-block-search .wp-block-search__label, a.rsswidget.rss-widget-title{';
		$vw_painter_custom_css .='font-size: '.esc_attr($vw_painter_button_footer_font_size).'px;';
	$vw_painter_custom_css .='}';

	$vw_painter_theme_lay = get_theme_mod( 'vw_painter_button_footer_text_transform','Capitalize');
	if($vw_painter_theme_lay == 'Capitalize'){
		$vw_painter_custom_css .='#footer h3, #footer .wp-block-search .wp-block-search__label{';
			$vw_painter_custom_css .='text-transform:Capitalize;';
		$vw_painter_custom_css .='}';
	}
	if($vw_painter_theme_lay == 'Lowercase'){
		$vw_painter_custom_css .='#footer h3, #footer .wp-block-search .wp-block-search__label, a.rsswidget.rss-widget-title{';
			$vw_painter_custom_css .='text-transform:Lowercase;';
		$vw_painter_custom_css .='}';
	}
	if($vw_painter_theme_lay == 'Uppercase'){
		$vw_painter_custom_css .='#footer h3, #footer .wp-block-search .wp-block-search__label, a.rsswidget.rss-widget-title{';
			$vw_painter_custom_css .='text-transform:Uppercase;';
		$vw_painter_custom_css .='}';
	}

	$vw_painter_footer_heading_weight = get_theme_mod('vw_painter_footer_heading_weight');
	if($vw_painter_footer_heading_weight != false){
		$vw_painter_custom_css .='#footer h3, #footer .wp-block-search .wp-block-search__label, a.rsswidget.rss-widget-title{';
			$vw_painter_custom_css .='font-weight: '.esc_attr($vw_painter_footer_heading_weight).';';
		$vw_painter_custom_css .='}';
	}

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

	$vw_painter_theme_lay = get_theme_mod( 'vw_painter_footer_template','vw_painter-footer-one');
    if($vw_painter_theme_lay == 'vw_painter-footer-one'){
		$vw_painter_custom_css .='#footer{';
			$vw_painter_custom_css .='';
		$vw_painter_custom_css .='}';

	}else if($vw_painter_theme_lay == 'vw_painter-footer-two'){
		$vw_painter_custom_css .='#footer{';
			$vw_painter_custom_css .='background: linear-gradient(to right, #f9f8ff, #dedafa);';
		$vw_painter_custom_css .='}';
		$vw_painter_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{';
			$vw_painter_custom_css .='color:#000;';
		$vw_painter_custom_css .='}';
		$vw_painter_custom_css .='#footer ul li::before{';
			$vw_painter_custom_css .='background:#000;';
		$vw_painter_custom_css .='}';
		$vw_painter_custom_css .='#footer table, #footer th, #footer td,#footer .search-form .search-field,#footer .tagcloud a{';
			$vw_painter_custom_css .='border: 1px solid #000;';
		$vw_painter_custom_css .='}';

	}else if($vw_painter_theme_lay == 'vw_painter-footer-three'){
		$vw_painter_custom_css .='#footer{';
			$vw_painter_custom_css .='background: #232524;';
		$vw_painter_custom_css .='}';
	}
	else if($vw_painter_theme_lay == 'vw_painter-footer-four'){
		$vw_painter_custom_css .='#footer{';
			$vw_painter_custom_css .='background: #f7f7f7;';
		$vw_painter_custom_css .='}';
		$vw_painter_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{';
			$vw_painter_custom_css .='color:#000;';
		$vw_painter_custom_css .='}';
		$vw_painter_custom_css .='#footer ul li::before{';
			$vw_painter_custom_css .='background:#000;';
		$vw_painter_custom_css .='}';
		$vw_painter_custom_css .='#footer table, #footer th, #footer td,#footer .search-form .search-field,#footer .tagcloud a{';
			$vw_painter_custom_css .='border: 1px solid #000;';
		$vw_painter_custom_css .='}';
	}
	else if($vw_painter_theme_lay == 'vw_painter-footer-five'){
		$vw_painter_custom_css .='#footer{';
			$vw_painter_custom_css .='background: linear-gradient(to right, #01093a, #2d0b00);';
		$vw_painter_custom_css .='}';
	}

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

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

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