<?php

	$chartered_accountant_custom_css= "";

	/*-------------------- Highlight Color -------------------*/

	$chartered_accountant_first_color = get_theme_mod('chartered_accountant_first_color');

	if($chartered_accountant_first_color != false){
		$chartered_accountant_custom_css .='#sidebar .wp-block-tag-cloud a:hover, #footer, .custom-about-us a.custom_read_more, #footer .wp-block-tag-cloud a:hover, table.compare-list .add-to-cart td a:not(.unstyled_button), .main-navigation ul.sub-menu > li > a:hover, .main-navigation ul.sub-menu > li > a:focus, .main-navigation ul.children > li > a:hover, .main-navigation ul.children > li > a:focus, #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, .single-product .woocommerce-notices-wrapper .woocommerce-message .button.wc-forward:hover, .main-topbar .top-btns .topbar-btn a:hover, #banner-sec .banner-left, #banner-sec .banner-img, #banner-sec .banner-content .banner-btn a:hover, #banner-sec .banner-left .banner-social-icon a:hover, #our-case-section .owl-nav button, .more-btn a , #comments input[type="submit"],#comments a.comment-reply-link,input[type="submit"],.woocommerce #respond input#submit, .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, .single-product .woocommerce-notices-wrapper .woocommerce-message .button.wc-forward, .single-product .yith-add-to-wishlist-button-block .yith-wcwl-add-to-wishlist-button, #preloader, #footer-2, #footer .wp-block-search .wp-block-search__button, #sidebar .wp-block-search .wp-block-search__button, .copyright .custom-social-icons i:hover, .scrollup i, .bradcrumbs a, .post-categories li a, .bradcrumbs span, nav.navigation.posts-navigation .nav-previous a, nav.navigation.posts-navigation .nav-next a, #sidebar .custom-social-icons a, #sidebar .custom-social-icons a:hover, #footer .custom-social-icons a:hover, #sidebar h3:before,#sidebar .widget_block h3:before, #sidebar h2:before, #sidebar label.wp-block-search__label:before, #sidebar .tagcloud a:hover, .pagination span, .pagination a, .post-nav-links span, .post-nav-links a, .woocommerce span.onsale, nav.woocommerce-MyAccount-navigation ul li, nav.woocommerce-MyAccount-navigation ul li:hover, .woocommerce ul.products li.product .button, .woocommerce a.added_to_cart.wc-forward,a.added_to_cart.wc-forward, .wishlist-items-wrapper .product-add-to-cart a, .wishlist_table.mobile .product-add-to-cart a, a.added_to_cart.wc-forward:hover, a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart:hover,.woocommerce ul.products li.product .button:hover, a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart, .woocommerce-cart .wc-block-grid__product-onsale,.woocommerce-cart .wc-block-grid .wc-block-grid__product-onsale, .wp-block-woocommerce-cart .wc-block-cart__submit-button,a.wc-block-components-checkout-return-to-cart-button, .wc-block-components-checkout-place-order-button, .wc-block-components-totals-coupon__button, .wp-block-woocommerce-cart .wc-block-cart__submit-button:hover, .wc-block-components-checkout-place-order-button:hover,a.wc-block-components-checkout-return-to-cart-button:hover, .wc-block-components-totals-coupon__button:hover, .search-form .search-submit, header.woocommerce-Address-title.title a, #tag-cloud-sec .tag-cloud-link{';
			$chartered_accountant_custom_css .='background-color: '.esc_attr($chartered_accountant_first_color).';';
		$chartered_accountant_custom_css .='}';
	}

	if($chartered_accountant_first_color != false){
		$chartered_accountant_custom_css .='.woocommerce-pagination .page-numbers.current, .woocommerce-pagination a.page-numbers:hover, header.woocommerce-Address-title.title a:hover,#tag-cloud-sec .tag-cloud-link:hover,.wc-block-grid__product-add-to-cart.wp-block-button .wp-block-button__link:hover, #sidebar ul li::before, .wp-block-woocommerce-cart .wc-block-components-product-badge, .wc-block-components-order-summary-item__quantity, header.woocommerce-Address-title.title a:hover,#tag-cloud-sec .tag-cloud-link:hover,.wc-block-grid__product-add-to-cart.wp-block-button .wp-block-button__link:hover{';
			$chartered_accountant_custom_css .='background-color: '.esc_attr($chartered_accountant_first_color).'!important;';
		$chartered_accountant_custom_css .='}';
	}

	if($chartered_accountant_first_color != false){
		$chartered_accountant_custom_css .='#banner-sec .banner-bottom{';
			$chartered_accountant_custom_css .='background: linear-gradient(to right, '.esc_attr($chartered_accountant_first_color).' 79%, #111111 21%);';
		$chartered_accountant_custom_css .='}';
	}

	if($chartered_accountant_first_color != false){
		$chartered_accountant_custom_css .='a:hover, .sticky .post-main-box h2:before, #sidebar .wp-block-search .wp-block-search__button:hover, #banner-sec .banner-content .tax-content i, #banner-sec .phone-sec i, #our-case-section .small-text, .post-main-box:hover h2 a, .post-main-box:hover .post-info span a, .single-post .post-info:hover a, .middle-bar h6, .grid-post-main-box:hover h2 a, .grid-post-main-box:hover .post-info span a, .bradcrumbs a:hover, .post-categories li a:hover, #sidebar ul li:hover, .woocommerce-error::before, .pagination a:hover, .pagination .current, .post-navigation span.meta-nav, .post-navigation span.meta-nav:hover, .yith-wcwl-wishlistaddedbrowse span.feedback, .yith-wcwl-wishlistexistsbrowse span.feedback, .wishlist_table .product-name a, .wishlist_table.mobile .product-name a, .woocommerce-message::before,.woocommerce-info::before{';
			$chartered_accountant_custom_css .='color: '.esc_attr($chartered_accountant_first_color).';';
		$chartered_accountant_custom_css .='}';
	}

	if($chartered_accountant_first_color != false){
		$chartered_accountant_custom_css .='.post-nav-links span:hover, .post-nav-links a:hover, #comments input[type="submit"]:hover, .more-btn a:hover,#footer .tagcloud a:hover, .pro-button a:hover, #comments a.comment-reply-link:hover, .tags-bg a:hover, #footer .custom-social-icons a:hover{';
			$chartered_accountant_custom_css .='color: '.esc_attr($chartered_accountant_first_color).'!important;';
		$chartered_accountant_custom_css .='}';
	}

	if($chartered_accountant_first_color != false){
		$chartered_accountant_custom_css .='#sidebar .wp-block-search .wp-block-search__button:hover, .more-btn a , #comments input[type="submit"],#comments a.comment-reply-link,input[type="submit"],.woocommerce #respond input#submit, .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, .single-product .woocommerce-notices-wrapper .woocommerce-message .button.wc-forward, .single-product .yith-add-to-wishlist-button-block .yith-wcwl-add-to-wishlist-button, .post-nav-links span:hover, .post-nav-links a:hover, #comments input[type="submit"]:hover, .more-btn a:hover,#footer .tagcloud a:hover, .pro-button a:hover, #comments a.comment-reply-link:hover, #footer .wp-block-search .wp-block-search__button, #sidebar .wp-block-search .wp-block-search__button, .post-main-box, .grid-post-main-box, .bradcrumbs a, .post-categories li a, .bradcrumbs a:hover, .post-categories li a:hover, .bradcrumbs span, #comments input[type="submit"],#comments a.comment-reply-link, #sidebar .widget, .pagination span, .pagination a, .post-nav-links span, .post-nav-links a{';
			$chartered_accountant_custom_css .='border-color: '.esc_attr($chartered_accountant_first_color).';';
		$chartered_accountant_custom_css .='}';
	}

	if($chartered_accountant_first_color != false){
		$chartered_accountant_custom_css .='#footer .custom-social-icons a:hover{';
			$chartered_accountant_custom_css .='outline: 6px double '.esc_attr($chartered_accountant_first_color).';';
		$chartered_accountant_custom_css .='}';
	}

	if($chartered_accountant_first_color != false){
		$chartered_accountant_custom_css .='#sidebar .widget{';
			$chartered_accountant_custom_css .='border-bottom-color: '.esc_attr($chartered_accountant_first_color).';';
		$chartered_accountant_custom_css .='}';
	}

	if($chartered_accountant_first_color != false){
		$chartered_accountant_custom_css .='#sidebar .widget, .woocommerce-error, .woocommerce-message,.woocommerce-info{';
			$chartered_accountant_custom_css .='border-top-color: '.esc_attr($chartered_accountant_first_color).';';
		$chartered_accountant_custom_css .='}';
	}

	if($chartered_accountant_first_color != false){
		$chartered_accountant_custom_css .='#sidebar .widget{';
			$chartered_accountant_custom_css .='border-right-color: '.esc_attr($chartered_accountant_first_color).';';
		$chartered_accountant_custom_css .='}';
	}

	if($chartered_accountant_first_color != false){
		$chartered_accountant_custom_css .='#sidebar .widget{';
			$chartered_accountant_custom_css .='border-left-color: '.esc_attr($chartered_accountant_first_color).';';
		$chartered_accountant_custom_css .='}';
	}

	if($chartered_accountant_first_color != false){
		$chartered_accountant_custom_css .='@media screen and (max-width:1000px) {';
			$chartered_accountant_custom_css .='.toggle-nav i, .sidenav .closebtn{';
				$chartered_accountant_custom_css .='background-color: '.esc_attr($chartered_accountant_first_color).';';
			$chartered_accountant_custom_css .='}';
		$chartered_accountant_custom_css .='}';

		$chartered_accountant_custom_css .='@media screen and (max-width:767px) {';
			$chartered_accountant_custom_css .='#banner-sec .banner-bottom{';
				$chartered_accountant_custom_css .='background-color: '.esc_attr($chartered_accountant_first_color).';';
			$chartered_accountant_custom_css .='}';
		$chartered_accountant_custom_css .='}';

		$chartered_accountant_custom_css .='@media screen and (min-width: 768px) and (max-width: 991px){';
			$chartered_accountant_custom_css .='#banner-sec .banner-bottom{';
				$chartered_accountant_custom_css .='background: linear-gradient(to right, '.esc_attr($chartered_accountant_first_color).' 74%, #111111 26%);';
			$chartered_accountant_custom_css .='}';
		$chartered_accountant_custom_css .='}';
	}

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

	$chartered_accountant_theme_lay = get_theme_mod( 'chartered_accountant_width_option','Full Width');
    if($chartered_accountant_theme_lay == 'Boxed'){
		$chartered_accountant_custom_css .='body{';
			$chartered_accountant_custom_css .='max-width: 1140px; width: 100%; margin-right: auto; margin-left: auto;';
		$chartered_accountant_custom_css .='}';
		$chartered_accountant_custom_css .='.scrollup i{';
			$chartered_accountant_custom_css .='right: 100px;';
		$chartered_accountant_custom_css .='}';
		$chartered_accountant_custom_css .='.row.outer-logo{';
			$chartered_accountant_custom_css .='margin-left: 0px;';
		$chartered_accountant_custom_css .='}';
	}else if($chartered_accountant_theme_lay == 'Wide Width'){
		$chartered_accountant_custom_css .='body{';
			$chartered_accountant_custom_css .='width: 100%;padding-right: 15px;padding-left: 15px;margin-right: auto;margin-left: auto;';
		$chartered_accountant_custom_css .='}';
		$chartered_accountant_custom_css .='.scrollup i{';
			$chartered_accountant_custom_css .='right: 30px;';
		$chartered_accountant_custom_css .='}';
		$chartered_accountant_custom_css .='.row.outer-logo{';
			$chartered_accountant_custom_css .='margin-left: 0px;';
		$chartered_accountant_custom_css .='}';
	}else if($chartered_accountant_theme_lay == 'Full Width'){
		$chartered_accountant_custom_css .='body{';
			$chartered_accountant_custom_css .='max-width: 100%;';
		$chartered_accountant_custom_css .='}';
	}

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

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

	// Banner
	$chartered_accountant_resp_slider = get_theme_mod( 'chartered_accountant_resp_slider_hide_show',true);
    if($chartered_accountant_resp_slider == true && get_theme_mod( 'chartered_accountant_hide_show_banner_section', true) == false){
        $chartered_accountant_custom_css .='#banner-sec{';
            $chartered_accountant_custom_css .='display:none;';
        $chartered_accountant_custom_css .='} ';
    }
    if($chartered_accountant_resp_slider == true){
        $chartered_accountant_custom_css .='@media screen and (max-width:575px) {';
        $chartered_accountant_custom_css .='#banner-sec{';
            $chartered_accountant_custom_css .='display:block;';
        $chartered_accountant_custom_css .='} }';
    }else if($chartered_accountant_resp_slider == false){
        $chartered_accountant_custom_css .='@media screen and (max-width:575px) {';
        $chartered_accountant_custom_css .='#banner-sec{';
            $chartered_accountant_custom_css .='display:none;';
        $chartered_accountant_custom_css .='} }';
        $chartered_accountant_custom_css .='@media screen and (max-width:575px){';
        $chartered_accountant_custom_css .='.page-template-custom-home-page.admin-bar .homepageheader{';
            $chartered_accountant_custom_css .='margin-top: 45px;';
        $chartered_accountant_custom_css .='} }';
        $chartered_accountant_custom_css .='@media screen and (max-width:575px) {';
        $chartered_accountant_custom_css .='#banner-sec{';
            $chartered_accountant_custom_css .='margin-top: 5%;';
        $chartered_accountant_custom_css .='} }';
    }

	$chartered_accountant_resp_stickyheader = get_theme_mod( 'chartered_accountant_stickyheader_hide_show',false);
	if($chartered_accountant_resp_stickyheader == true && get_theme_mod( 'chartered_accountant_sticky_header',false) != true){
    	$chartered_accountant_custom_css .='.header-fixed.header-sticky .main-topbar{';
			$chartered_accountant_custom_css .='position:static;';
		$chartered_accountant_custom_css .='} ';
	}
    if($chartered_accountant_resp_stickyheader == true){
    	$chartered_accountant_custom_css .='@media screen and (max-width:575px) {';
		$chartered_accountant_custom_css .='.header-fixed.header-sticky .main-topbar{';
			$chartered_accountant_custom_css .='position:fixed;';
		$chartered_accountant_custom_css .='} }';
	}else if($chartered_accountant_resp_stickyheader == false){
		$chartered_accountant_custom_css .='@media screen and (max-width:575px){';
		$chartered_accountant_custom_css .='.header-fixed.header-sticky .main-topbar{';
			$chartered_accountant_custom_css .='position:static;';
		$chartered_accountant_custom_css .='} }';
	}

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

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

	$chartered_accountant_resp_sidebar = get_theme_mod( 'chartered_accountant_sidebar_hide_show',true);
    if($chartered_accountant_resp_sidebar == true){
    	$chartered_accountant_custom_css .='@media screen and (max-width:575px) {';
		$chartered_accountant_custom_css .='#sidebar{';
			$chartered_accountant_custom_css .='display:block;';
		$chartered_accountant_custom_css .='} }';
	}else if($chartered_accountant_resp_sidebar == false){
		$chartered_accountant_custom_css .='@media screen and (max-width:575px) {';
		$chartered_accountant_custom_css .='#sidebar{';
			$chartered_accountant_custom_css .='display:none;';
		$chartered_accountant_custom_css .='} }';
	}
	$chartered_accountant_resp_scroll_top = get_theme_mod( 'chartered_accountant_resp_scroll_top_hide_show',true);
	if($chartered_accountant_resp_scroll_top == true && get_theme_mod( 'chartered_accountant_hide_show_scroll',true) == false){
    	$chartered_accountant_custom_css .='.scrollup i{';
			$chartered_accountant_custom_css .='visibility:hidden !important;';
		$chartered_accountant_custom_css .='} ';
	}
    if($chartered_accountant_resp_scroll_top == true){
    	$chartered_accountant_custom_css .='@media screen and (max-width:575px) {';
		$chartered_accountant_custom_css .='.scrollup i{';
			$chartered_accountant_custom_css .='visibility:visible !important;';
		$chartered_accountant_custom_css .='} }';
	}else if($chartered_accountant_resp_scroll_top == false){
		$chartered_accountant_custom_css .='@media screen and (max-width:575px){';
		$chartered_accountant_custom_css .='.scrollup i{';
			$chartered_accountant_custom_css .='visibility:hidden !important;';
		$chartered_accountant_custom_css .='} }';
	}

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

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


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

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

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

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

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

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

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


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

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

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

	$chartered_accountant_resp_stickycopyright = get_theme_mod( 'chartered_accountant_stickycopyright_hide_show',false);
	if($chartered_accountant_resp_stickycopyright == true && get_theme_mod( 'chartered_accountant_copyright_sticky',false) != true){
    	$chartered_accountant_custom_css .='.copyright-sticky{';
			$chartered_accountant_custom_css .='position:static;';
		$chartered_accountant_custom_css .='} ';
	}

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

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

	$chartered_accountant_footer_background_image = get_theme_mod('chartered_accountant_footer_background_image');
	if($chartered_accountant_footer_background_image != false){
		$chartered_accountant_custom_css .='#footer{';
			$chartered_accountant_custom_css .='background: url('.esc_attr($chartered_accountant_footer_background_image).')no-repeat;background-size:cover';
		$chartered_accountant_custom_css .='}';
	}

	$chartered_accountant_theme_lay = get_theme_mod( 'chartered_accountant_img_footer','scroll');
	if($chartered_accountant_theme_lay == 'fixed'){
		$chartered_accountant_custom_css .='#footer{';
			$chartered_accountant_custom_css .='background-attachment: fixed !important; background-position: center !important;';
		$chartered_accountant_custom_css .='}';
	}elseif ($chartered_accountant_theme_lay == 'scroll'){
		$chartered_accountant_custom_css .='#footer{';
			$chartered_accountant_custom_css .='background-attachment: scroll !important; background-position: center !important;';
		$chartered_accountant_custom_css .='}';
	}

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

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

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

	$chartered_accountant_copyright_font_size = get_theme_mod('chartered_accountant_copyright_font_size');
	if($chartered_accountant_copyright_font_size != false){
		$chartered_accountant_custom_css .='#footer-2 a, #footer-2 p{';
			$chartered_accountant_custom_css .='font-size: '.esc_attr($chartered_accountant_copyright_font_size).';';
		$chartered_accountant_custom_css .='}';
	}

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

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

	/*----------------Scroll to top Settings ------------------*/

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

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

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

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

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

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

	$chartered_accountant_logo_padding = get_theme_mod('chartered_accountant_logo_padding');
	if($chartered_accountant_logo_padding != false){
		$chartered_accountant_custom_css .='.logo{';
			$chartered_accountant_custom_css .='padding: '.esc_attr($chartered_accountant_logo_padding).' !important;';
		$chartered_accountant_custom_css .='}';
	}

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

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

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

	$chartered_accountant_site_title_color = get_theme_mod('chartered_accountant_site_title_color');
	if($chartered_accountant_site_title_color != false){
		$chartered_accountant_custom_css .='p.site-title a, .logo h1 a{';
			$chartered_accountant_custom_css .='color: '.esc_attr($chartered_accountant_site_title_color).'!important;';
		$chartered_accountant_custom_css .='}';
	}

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

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

	$chartered_accountant_logo_height = get_theme_mod('chartered_accountant_logo_height');
	if($chartered_accountant_logo_height != false){
		$chartered_accountant_custom_css .='.logo img{';
			$chartered_accountant_custom_css .='height: '.esc_attr($chartered_accountant_logo_height).';object-fit:cover;';
		$chartered_accountant_custom_css .='}';
	}

	// Header Background Color
	$chartered_accountant_header_background_color = get_theme_mod('chartered_accountant_header_background_color');
	if($chartered_accountant_header_background_color != false){
		$chartered_accountant_custom_css .='.page-template-custom-home-page .home-page-header, .home-page-header{';
			$chartered_accountant_custom_css .='background-color: '.esc_attr($chartered_accountant_header_background_color).';';
		$chartered_accountant_custom_css .='}';
	}

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

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

	$chartered_accountant_theme_lay = get_theme_mod( 'chartered_accountant_blog_layout_option','Left');
    if($chartered_accountant_theme_lay == 'Default'){
		$chartered_accountant_custom_css .='.post-main-box{';
			$chartered_accountant_custom_css .='';
		$chartered_accountant_custom_css .='}';
	}else if($chartered_accountant_theme_lay == 'Center'){
		$chartered_accountant_custom_css .='.post-main-box, .post-main-box h2, .post-info, .new-text p, .content-bttn{';
			$chartered_accountant_custom_css .='text-align:center;';
		$chartered_accountant_custom_css .='}';
		$chartered_accountant_custom_css .='.post-info{';
			$chartered_accountant_custom_css .='margin-top:10px;';
		$chartered_accountant_custom_css .='}';
		$chartered_accountant_custom_css .='.post-info hr{';
			$chartered_accountant_custom_css .='margin:15px auto;';
		$chartered_accountant_custom_css .='}';
	}else if($chartered_accountant_theme_lay == 'Left'){
		$chartered_accountant_custom_css .='.post-main-box, .post-main-box h2, .post-info, .new-text p, .content-bttn, #our-services p{';
			$chartered_accountant_custom_css .='text-align:Left;';
		$chartered_accountant_custom_css .='}';
		$chartered_accountant_custom_css .='.post-info hr{';
			$chartered_accountant_custom_css .='margin-bottom:10px;';
		$chartered_accountant_custom_css .='}';
		$chartered_accountant_custom_css .='.post-main-box h2{';
			$chartered_accountant_custom_css .='margin-top:10px;';
		$chartered_accountant_custom_css .='}';
		$chartered_accountant_custom_css .='.service-text .more-btn{';
			$chartered_accountant_custom_css .='display:inline-block;';
		$chartered_accountant_custom_css .='}';
	}

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

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

	// featured image dimention
	$chartered_accountant_blog_post_featured_image_dimension = get_theme_mod('chartered_accountant_blog_post_featured_image_dimension', 'default');
	$chartered_accountant_blog_post_featured_image_custom_width = get_theme_mod('chartered_accountant_blog_post_featured_image_custom_width',250);
	$chartered_accountant_blog_post_featured_image_custom_height = get_theme_mod('chartered_accountant_blog_post_featured_image_custom_height',250);
	if($chartered_accountant_blog_post_featured_image_dimension == 'custom'){
		$chartered_accountant_custom_css .='.post-main-box img{';
			$chartered_accountant_custom_css .='width: '.esc_attr($chartered_accountant_blog_post_featured_image_custom_width).'!important; height: '.esc_attr($chartered_accountant_blog_post_featured_image_custom_height).';';
		$chartered_accountant_custom_css .='}';
	}

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

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

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

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

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

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

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

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

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

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

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

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

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

	$chartered_accountant_comment_width = get_theme_mod('chartered_accountant_single_blog_comment_width');
	if($chartered_accountant_comment_width != false){
		$chartered_accountant_custom_css .='#comments textarea{';
			$chartered_accountant_custom_css .='width: '.esc_attr($chartered_accountant_comment_width).';';
		$chartered_accountant_custom_css .='}';
	}

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

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

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

	$chartered_accountant_grid_featured_image_border_radius = get_theme_mod('chartered_accountant_grid_featured_image_border_radius', 0);
	if($chartered_accountant_grid_featured_image_border_radius != false){
		$chartered_accountant_custom_css .='.grid-post-main-box .box-image img, .grid-post-main-box .feature-box img{';
			$chartered_accountant_custom_css .='border-radius: '.esc_attr($chartered_accountant_grid_featured_image_border_radius).'px;';
		$chartered_accountant_custom_css .='}';
	}
	/*----------------Woocommerce Products Settings ------------------*/

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	$chartered_accountant_resp_menu_toggle_btn_bg_color = get_theme_mod('chartered_accountant_resp_menu_toggle_btn_bg_color');
	if($chartered_accountant_resp_menu_toggle_btn_bg_color != false){
		$chartered_accountant_custom_css .='.toggle-nav i,#mySidenav .closebtn{';
			$chartered_accountant_custom_css .='background: '.esc_attr($chartered_accountant_resp_menu_toggle_btn_bg_color).';';
		$chartered_accountant_custom_css .='}';
	}

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


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

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

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

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

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

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

	$chartered_accountant_menus_item = get_theme_mod( 'chartered_accountant_menus_item_style','None');
    if($chartered_accountant_menus_item == 'None'){
		$chartered_accountant_custom_css .='.main-navigation ul a{';
			$chartered_accountant_custom_css .='';
		$chartered_accountant_custom_css .='}';
	}else if($chartered_accountant_menus_item == 'Zoom In'){
		$chartered_accountant_custom_css .='.main-navigation ul a:hover{';
			$chartered_accountant_custom_css .='transition: all 0.3s ease-in-out !important; transform: scale(1.2) !important;';
		$chartered_accountant_custom_css .='}';
	}

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

	$chartered_accountant_theme_lay = get_theme_mod( 'chartered_accountant_footer_template','chartered_accountant-footer-one');
    if($chartered_accountant_theme_lay == 'chartered_accountant-footer-one'){
		$chartered_accountant_custom_css .='#footer{';
			$chartered_accountant_custom_css .='';
		$chartered_accountant_custom_css .='}';

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

	}else if($chartered_accountant_theme_lay == 'chartered_accountant-footer-three'){
		$chartered_accountant_custom_css .='#footer{';
			$chartered_accountant_custom_css .='background: #232524;';
		$chartered_accountant_custom_css .='}';
	}
	else if($chartered_accountant_theme_lay == 'chartered_accountant-footer-four'){
		$chartered_accountant_custom_css .='#footer{';
			$chartered_accountant_custom_css .='background: #106B62;';
		$chartered_accountant_custom_css .='}';
		$chartered_accountant_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{';
			$chartered_accountant_custom_css .='color:#fff;';
		$chartered_accountant_custom_css .='}';
		$chartered_accountant_custom_css .='#footer ul li::before{';
			$chartered_accountant_custom_css .='background:#fff;';
		$chartered_accountant_custom_css .='}';
		$chartered_accountant_custom_css .='#footer table, #footer th, #footer td,#footer .search-form .search-field,#footer .tagcloud a{';
			$chartered_accountant_custom_css .='border: 1px solid #fff;';
		$chartered_accountant_custom_css .='}';
	}
	else if($chartered_accountant_theme_lay == 'chartered_accountant-footer-five'){
		$chartered_accountant_custom_css .='#footer{';
			$chartered_accountant_custom_css .='background: linear-gradient(to right, #01093a, #2d0b00);';
		$chartered_accountant_custom_css .='}';
	}

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

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

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

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

	$chartered_accountant_footer_heading_weight = get_theme_mod('chartered_accountant_footer_heading_weight','500');
	if($chartered_accountant_footer_heading_weight != false){
		$chartered_accountant_custom_css .='#footer h3, a.rsswidget.rss-widget-title{';
			$chartered_accountant_custom_css .='font-weight: '.esc_attr($chartered_accountant_footer_heading_weight).';';
		$chartered_accountant_custom_css .='}';
	}
	
	$chartered_accountant_slider_first_color = get_theme_mod('chartered_accountant_slider_first_color');

	$chartered_accountant_slider_second_color = get_theme_mod('chartered_accountant_slider_second_color');

	if($chartered_accountant_slider_first_color != false || $chartered_accountant_slider_second_color != false){
		$chartered_accountant_custom_css .='.box{
		background: linear-gradient(to top, '.esc_attr($chartered_accountant_slider_first_color).', '.esc_attr($chartered_accountant_slider_second_color).');
		}';
	}

	$chartered_accountant_services_icon_color = get_theme_mod('chartered_accountant_services_icon_color');
	if($chartered_accountant_services_icon_color != false){
		$chartered_accountant_custom_css .='#about-sec i{';
			$chartered_accountant_custom_css .='color: '.esc_attr($chartered_accountant_services_icon_color).';';
		$chartered_accountant_custom_css .='}';
	}

	$chartered_accountant_single_page_breadcrumb = get_theme_mod('chartered_accountant_single_page_breadcrumb',true);
	if($chartered_accountant_single_page_breadcrumb != true){
		$chartered_accountant_custom_css .='.page-breadrumb{';
			$chartered_accountant_custom_css .='display: none;';
		$chartered_accountant_custom_css .='}';
	}

	$chartered_accountant_sticky_sidebar = get_theme_mod( 'chartered_accountant_sticky_sidebar',false);
	if($chartered_accountant_sticky_sidebar == true && get_theme_mod( 'chartered_accountant_sticky_sidebar',false) != true){
    	$chartered_accountant_custom_css .='#sidebar{';
			$chartered_accountant_custom_css .='position:static;';
		$chartered_accountant_custom_css .='} ';
	}

	$chartered_accountant_show_first_caps = get_theme_mod('chartered_accountant_show_first_caps', false);
	if ($chartered_accountant_show_first_caps ) {
	    $chartered_accountant_custom_css .= '.post-main-box .entry-content p:nth-of-type(1)::first-letter {';
	    $chartered_accountant_custom_css .=' font-size: 55px;font-weight: 600;margin-right: 5px;';
	    $chartered_accountant_custom_css .='}';
	} else {
		$chartered_accountant_custom_css .= '.post-main-box .entry-content p:nth-of-type(1)::first-letter {';
	    $chartered_accountant_custom_css .= 'display: none;';
	    $chartered_accountant_custom_css .='}';
	}

	// Web Frame 
	$chartered_accountant_web_frame = get_theme_mod('chartered_accountant_web_frame',false);
	if($chartered_accountant_web_frame == false && get_theme_mod( 'chartered_accountant_web_frame',false) != true){
		$chartered_accountant_custom_css .='.web-frame{';
		$chartered_accountant_custom_css .='border: 1px !important';
		$chartered_accountant_custom_css .='}';
	}

	$chartered_accountant_web_frame_border_color = get_theme_mod('chartered_accountant_web_frame_border_color');
	if($chartered_accountant_web_frame_border_color != false){
		$chartered_accountant_custom_css .='.web-frame{';
			$chartered_accountant_custom_css .='border-color: '.esc_attr($chartered_accountant_web_frame_border_color).'!important;';
		$chartered_accountant_custom_css .='}';
	}
    
	$chartered_accountant_web_frame_border_width = get_theme_mod('chartered_accountant_web_frame_border_width');
	if($chartered_accountant_web_frame_border_width != false){
		$chartered_accountant_custom_css .='.web-frame{';
			$chartered_accountant_custom_css .='border-width: '.esc_attr($chartered_accountant_web_frame_border_width).'!important;';
		$chartered_accountant_custom_css .='}';
	}

	// change the Category style //
	$chartered_accountant_single_post_styling = get_theme_mod( 'chartered_accountant_single_post_styling','Button');
		if($chartered_accountant_single_post_styling == 'Underline'){
		$chartered_accountant_custom_css .='.single-post-category .post-categories li a{';
			$chartered_accountant_custom_css .='text-decoration: underline; color: #000; background-color: transparent; border:none;';
		$chartered_accountant_custom_css .='}';
	}
	else if($chartered_accountant_single_post_styling == 'Default'){
		$chartered_accountant_custom_css .='.single-post-category .post-categories li a{';
			$chartered_accountant_custom_css .='text-decoration: none; color: #000; background-color: transparent; border:none;';
		$chartered_accountant_custom_css .='}';
	}
	// Hover on featured image //

	$chartered_accountant_show_featured = get_theme_mod( 'chartered_accountant_featured_image_hide_show', 1 );
	$chartered_accountant_hover_effect  = get_theme_mod( 'chartered_accountant_featured_image_hover', 'none' );

	if ( $chartered_accountant_show_featured && $chartered_accountant_hover_effect !== 'none' ) {

		$chartered_accountant_custom_css .= '
		.chartered-accountant-featured-image img{
			transition: all 0.4s ease;
		}';

		if ( $chartered_accountant_hover_effect === 'zoom-in' ) {
			$chartered_accountant_custom_css .= '
			.chartered-accountant-featured-image:hover img{
				transform: scale(1.2);
			}';
		}

		if ( $chartered_accountant_hover_effect === 'zoom-out' ) {
			$chartered_accountant_custom_css .= '
			.chartered-accountant-featured-image img{
				transform: scale(1.2);
			}
			.chartered-accountant-featured-image:hover img{
				transform: scale(1);
			}';
		}

		if ( $chartered_accountant_hover_effect === 'grayscale' ) {
			$chartered_accountant_custom_css .= '
			.chartered-accountant-featured-image img{
				filter: grayscale(100%);
			}
			.chartered-accountant-featured-image:hover img{
				filter: grayscale(0);
			}';
		}

		if ( $chartered_accountant_hover_effect === 'sepia' ) {
			$chartered_accountant_custom_css .= '
			.chartered-accountant-featured-image:hover img{
				filter: sepia(100%);
			}';
		}

		if ( $chartered_accountant_hover_effect === 'blur' ) {
			$chartered_accountant_custom_css .= '
			.chartered-accountant-featured-image:hover img{
				filter: blur(3px);
			}';
		}

		if ( $chartered_accountant_hover_effect === 'bright' ) {
			$chartered_accountant_custom_css .= '
			.chartered-accountant-featured-image:hover img{
				filter: brightness(1.3);
			}';
		}

		if ( $chartered_accountant_hover_effect === 'translate' ) {
			$chartered_accountant_custom_css .= '
			.chartered-accountant-featured-image:hover img{
				transform: translateY(-10px);
			}';
		}
	}



