<?php

	$commercial_automation_services_custom_css= "";

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

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

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

	$commercial_automation_services_first_color = get_theme_mod('commercial_automation_services_first_color');

	if($commercial_automation_services_first_color != false){
		$commercial_automation_services_custom_css .='.top-bar, .tickets-btn a, #slider .more-btn a, #slider .carousel-control-next i, #slider .carousel-control-prev i,#comments a.comment-reply-link,.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button,.woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,.pro-button a, .woocommerce a.added_to_cart.wc-forward, #preloader, #footer .tagcloud a:hover, #footer input[type="submit"], #footer .wp-block-search .wp-block-search__button, #sidebar .wp-block-search .wp-block-search__button, .scrollup i, .bradcrumbs span, #sidebar .custom-social-icons a,  #sidebar .widget_block h3, #sidebar .tagcloud a:hover, .pagination a:hover, .pagination .current, .woocommerce span.onsale, nav.woocommerce-MyAccount-navigation ul li,.bradcrumbs a,.bradcrumbs span,.post-categories li a, nav.navigation.posts-navigation .nav-previous a, nav.navigation.posts-navigation .nav-next a,.topbar-social-icon i:hover,.read-more a,.year-text,.author-section .read-more a:hover, #main-product-section .add_to_cart_button:hover, .main-product-section .wishlist_view:hover,#sidebar .custom-social-icons a:hover, #footer input[type="submit"]:hover,#sidebar .wp-block-search .wp-block-search__button:hover, .woocommerce #respond input#submit:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .woocommerce #respond input#submit.alt:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover, .widget_product_search button:hover, .woocommerce button.button:disabled:hover, .woocommerce button.button:disabled[disabled]:hover, .woocommerce a.added_to_cart.wc-forward:hover,.copyright .custom-social-icons i:hover,.top-header,.large-masquito-icon i,.feature-box1:hover .icon i,.top-header-sec,.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,.share-btn-parent .share-i.green,.share-btn-parent .share-i.green,.pro-button,#main-product button.owl-prev:hover, #main-product button.owl-next:hover,a.see-more-btn-category.btn:hover,.slider-btn1 a,.woocommerce ul.products li.product .button, .woocommerce a.added_to_cart.wc-forward{';
			$commercial_automation_services_custom_css .='background-color: '.esc_attr($commercial_automation_services_first_color).';';
		$commercial_automation_services_custom_css .='}';
	}

	if($commercial_automation_services_first_color != false){
		$commercial_automation_services_custom_css .='.wp-block-woocommerce-cart .wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button, .wc-block-components-totals-coupon__button,.wc-block-components-order-summary-item__quantity,.wp-block-woocommerce-cart .wc-block-cart__submit-button:hover, .wc-block-components-checkout-place-order-button:hover,#sidebar h3:before, #sidebar .widget_block h3:before, #sidebar h2:before, #sidebar label.wp-block-search__label:before,#sidebar ul li::before,.wc-block-grid__product-onsale,.wp-block-button__link,#footer ul li::before,.single-product .yith-wcwl-wishlistexistsbrowse:hover, .shop-page .yith-wcwl-wishlistexistsbrowse:hover, a.button.wc-forward:hover, .woocommerce a.add_to_wishlist.single_add_to_wishlist:hover, .woocommerce .yith-wcwl-wishlistexistsbrowse a:hover,.feature-box1:hover .icon i{';
			$commercial_automation_services_custom_css .='background-color: '.esc_attr($commercial_automation_services_first_color).'!important;';
		$commercial_automation_services_custom_css .='}';
	}
	if($commercial_automation_services_first_color != false){
		$commercial_automation_services_custom_css .='p.site-title a:hover, .logo h1 a:hover, .tickets-btn a:hover, #slider .more-btn a:hover, .woocommerce #respond input#submit:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,.woocommerce #respond input#submit.alt:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover,.widget_product_search button:hover, .woocommerce button.button:disabled:hover, .woocommerce button.button:disabled[disabled]:hover, .woocommerce a.added_to_cart.wc-forward:hover,.main-navigation ul ul a:focus, .main-navigation ul ul a:hover, #slider .carousel-control-next i:hover, #slider .carousel-control-prev i:hover, #slider .inner_carousel h1 a, #events-section h2, .post-main-box:hover h2 a, .post-main-box:hover .post-info span a, .single-post .post-info:hover a, .middle-bar h6, .post-main-box:hover h3 a,#sidebar ul li a:hover, #footer li a:hover,.post-navigation a:hover .post-title, .post-navigation a:focus .post-title,.post-navigation a:hover,.post-navigation a:focus, .post-navigation span.meta-nav:hover, .woocommerce-message::before,.woocommerce-info::before,.banner-topbar h2 span,.post-para,#main-product-section .product-para,.product-name a,.wp-block-latest-comments__comment-link,.wp-block-latest-comments__comment-author,.custom_details i,.entry-content a,.logged-in-as a,#footer p:hover,span.woocommerce-Price-amount.amount,.woocommerce-MyAccount-content a{';
			$commercial_automation_services_custom_css .='color: '.esc_attr($commercial_automation_services_first_color).';';
		$commercial_automation_services_custom_css .='}';
	}

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

	if($commercial_automation_services_first_color != false){
		$commercial_automation_services_custom_css .='#footer .tagcloud a:hover,.wp-block-quote, .wp-block-quote:not(.is-large):not(.is-style-large), .wp-block-pullquote,.main-product-section:hover,#sidebar h3:before, #sidebar .widget_block h3:before, #sidebar h2:before, #sidebar label.wp-block-search__label:before,.post-main-box, .grid-post-main-box,#sidebar .widget,.header-fixed,.wp-block-woocommerce-cart.alignwide .wc-block-grid__products li:hover,.woocommerce ul.products li.product:hover,.main-navigation ul ul{';
			$commercial_automation_services_custom_css .='border-color: '.esc_attr($commercial_automation_services_first_color).';';
		$commercial_automation_services_custom_css .='}';
	}

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

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

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

	$commercial_automation_services_theme_lay = get_theme_mod( 'commercial_automation_services_banner_opacity_color','0.6');
	if($commercial_automation_services_theme_lay == '0'){
		$commercial_automation_services_custom_css .='.banner-img:before{';
			$commercial_automation_services_custom_css .='opacity:0';
		$commercial_automation_services_custom_css .='}';
		}else if($commercial_automation_services_theme_lay == '0.1'){
		$commercial_automation_services_custom_css .='.banner-img:before{';
			$commercial_automation_services_custom_css .='opacity:0.1';
		$commercial_automation_services_custom_css .='}';
		}else if($commercial_automation_services_theme_lay == '0.2'){
		$commercial_automation_services_custom_css .='.banner-img:before{';
			$commercial_automation_services_custom_css .='opacity:0.2';
		$commercial_automation_services_custom_css .='}';
		}else if($commercial_automation_services_theme_lay == '0.3'){
		$commercial_automation_services_custom_css .='.banner-img:before{';
			$commercial_automation_services_custom_css .='opacity:0.3';
		$commercial_automation_services_custom_css .='}';
		}else if($commercial_automation_services_theme_lay == '0.4'){
		$commercial_automation_services_custom_css .='.banner-img:before{';
			$commercial_automation_services_custom_css .='opacity:0.4';
		$commercial_automation_services_custom_css .='}';
		}else if($commercial_automation_services_theme_lay == '0.5'){
		$commercial_automation_services_custom_css .='.banner-img:before{';
			$commercial_automation_services_custom_css .='opacity:0.5';
		$commercial_automation_services_custom_css .='}';
		}else if($commercial_automation_services_theme_lay == '0.6'){
		$commercial_automation_services_custom_css .='.banner-img:before{';
			$commercial_automation_services_custom_css .='opacity:0.6';
		$commercial_automation_services_custom_css .='}';
		}else if($commercial_automation_services_theme_lay == '0.7'){
		$commercial_automation_services_custom_css .='.banner-img:before{';
			$commercial_automation_services_custom_css .='opacity:0.7';
		$commercial_automation_services_custom_css .='}';
		}else if($commercial_automation_services_theme_lay == '0.8'){
		$commercial_automation_services_custom_css .='.banner-img:before{';
			$commercial_automation_services_custom_css .='opacity:0.8';
		$commercial_automation_services_custom_css .='}';
		}else if($commercial_automation_services_theme_lay == '0.9'){
		$commercial_automation_services_custom_css .='.banner-img:before{';
			$commercial_automation_services_custom_css .='opacity:0.9';
		$commercial_automation_services_custom_css .='}';
	}

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

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

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

	$commercial_automation_services_resp_slider = get_theme_mod( 'commercial_automation_services_resp_slider_hide_show',true);
	if($commercial_automation_services_resp_slider == true && get_theme_mod( 'commercial_automation_services_banner_hide_show', true) == false){
    	$commercial_automation_services_custom_css .='#banner{';
			$commercial_automation_services_custom_css .='display:none;';
		$commercial_automation_services_custom_css .='} ';
	}
    if($commercial_automation_services_resp_slider == true){
    	$commercial_automation_services_custom_css .='@media screen and (max-width:575px) {';
		$commercial_automation_services_custom_css .='#slider{';
			$commercial_automation_services_custom_css .='display:block;';
		$commercial_automation_services_custom_css .='} }';
	}else if($commercial_automation_services_resp_slider == false){
		$commercial_automation_services_custom_css .='@media screen and (max-width:575px) {';
		$commercial_automation_services_custom_css .='#slider{';
			$commercial_automation_services_custom_css .='display:none;';
		$commercial_automation_services_custom_css .='} }';
		$commercial_automation_services_custom_css .='@media screen and (max-width:575px){';
		$commercial_automation_services_custom_css .='.page-template-custom-home-page.admin-bar .homepageheader{';
			$commercial_automation_services_custom_css .='margin-top: 45px;';
		$commercial_automation_services_custom_css .='} }';
	}

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

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

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

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

	$commercial_automation_services_resp_stickyheader = get_theme_mod( 'commercial_automation_services_stickyheader_hide_show',false);
	if($commercial_automation_services_resp_stickyheader == true && get_theme_mod( 'commercial_automation_services_sticky_header',false) != true){
    	$commercial_automation_services_custom_css .='.header-fixed{';
			$commercial_automation_services_custom_css .='position:static;';
		$commercial_automation_services_custom_css .='} ';
	}

    if($commercial_automation_services_resp_stickyheader == true){
    	$commercial_automation_services_custom_css .='@media screen and (max-width:575px) {';
		$commercial_automation_services_custom_css .='.header-fixed{';
			$commercial_automation_services_custom_css .='position:fixed;';
		$commercial_automation_services_custom_css .='} }';
	}else if($commercial_automation_services_resp_stickyheader == false){
		$commercial_automation_services_custom_css .='@media screen and (max-width:575px){';
		$commercial_automation_services_custom_css .='.header-fixed{';
			$commercial_automation_services_custom_css .='position:static;';
		$commercial_automation_services_custom_css .='} }';
	}

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

	$commercial_automation_services_slider_height = get_theme_mod('commercial_automation_services_slider_height');
	if($commercial_automation_services_slider_height != false){
		$commercial_automation_services_custom_css .='#slider img{';
			$commercial_automation_services_custom_css .='height: '.esc_attr($commercial_automation_services_slider_height).';';
		$commercial_automation_services_custom_css .='}';
	}
	
	/*------------- Slider Content Padding Settings ------------------*/

	$commercial_automation_services_slider_content_padding_top_bottom = get_theme_mod('commercial_automation_services_slider_content_padding_top_bottom');
	$commercial_automation_services_slider_content_padding_left_right = get_theme_mod('commercial_automation_services_slider_content_padding_left_right');
	if($commercial_automation_services_slider_content_padding_top_bottom != false || $commercial_automation_services_slider_content_padding_left_right != false){
		$commercial_automation_services_custom_css .='#slider .carousel-caption{';
			$commercial_automation_services_custom_css .='top: '.esc_attr($commercial_automation_services_slider_content_padding_top_bottom).'; bottom: '.esc_attr($commercial_automation_services_slider_content_padding_top_bottom).';left: '.esc_attr($commercial_automation_services_slider_content_padding_left_right).';right: '.esc_attr($commercial_automation_services_slider_content_padding_left_right).';';
		$commercial_automation_services_custom_css .='}';
	}
	
	/*-------------- Copyright Alignment ----------------*/

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

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

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

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

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

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

	$commercial_automation_services_slider = get_theme_mod('commercial_automation_services_slider_hide_show', false);
	if($commercial_automation_services_slider == false){
		$commercial_automation_services_custom_css .='.page-template-custom-home-page .home-page-header{';
			$commercial_automation_services_custom_css .='position: static;';
		$commercial_automation_services_custom_css .='}';
	}

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

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

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

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

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


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

	$commercial_automation_services_align_footer_social_icon = get_theme_mod('commercial_automation_services_align_footer_social_icon');
	if($commercial_automation_services_align_footer_social_icon != false){
		$commercial_automation_services_custom_css .='.copyright .widget{';
			$commercial_automation_services_custom_css .='text-align: '.esc_attr($commercial_automation_services_align_footer_social_icon).';';
		$commercial_automation_services_custom_css .='}';
		$commercial_automation_services_custom_css .='
		@media screen and (max-width:720px) {
			.copyright .widget{';
			$commercial_automation_services_custom_css .='text-align: center;} }';
	}
	
	$commercial_automation_services_resp_stickycopyright = get_theme_mod( 'commercial_automation_services_stickycopyright_hide_show',false);
	if($commercial_automation_services_resp_stickycopyright == true && get_theme_mod( 'commercial_automation_services_copyright_sticky',false) != true){
    	$commercial_automation_services_custom_css .='.copyright-sticky{';
			$commercial_automation_services_custom_css .='position:static;';
		$commercial_automation_services_custom_css .='} ';
	}

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


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	// featured image dimention
	$commercial_automation_services_blog_post_featured_image_dimension = get_theme_mod('commercial_automation_services_blog_post_featured_image_dimension', 'default');
	$commercial_automation_services_blog_post_featured_image_custom_width = get_theme_mod('commercial_automation_services_blog_post_featured_image_custom_width',250);
	$commercial_automation_services_blog_post_featured_image_custom_height = get_theme_mod('commercial_automation_services_blog_post_featured_image_custom_height',250);
	if($commercial_automation_services_blog_post_featured_image_dimension == 'custom'){
		$commercial_automation_services_custom_css .='.post-main-box img{';
			$commercial_automation_services_custom_css .='width: '.esc_attr($commercial_automation_services_blog_post_featured_image_custom_width).'!important; height: '.esc_attr($commercial_automation_services_blog_post_featured_image_custom_height).';';
		$commercial_automation_services_custom_css .='}';
	}

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

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

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

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

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

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

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

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

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

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

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

	// button font weight
	$commercial_automation_services_button_font_weight = get_theme_mod('commercial_automation_services_button_font_weight');
  	$commercial_automation_services_custom_css .='.post-main-box .more-btn a{';
    $commercial_automation_services_custom_css .='font-weight: '.esc_attr($commercial_automation_services_button_font_weight).'!important;';
  	$commercial_automation_services_custom_css .='}';

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

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

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

	$commercial_automation_services_comment_width = get_theme_mod('commercial_automation_services_single_blog_comment_width');
	if($commercial_automation_services_comment_width != false){
		$commercial_automation_services_custom_css .='#comments textarea{';
			$commercial_automation_services_custom_css .='width: '.esc_attr($commercial_automation_services_comment_width).';';
		$commercial_automation_services_custom_css .='}';
	}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	$commercial_automation_services_slider_height = get_theme_mod('commercial_automation_services_slider_height');
	if($commercial_automation_services_slider_height != false){
		$commercial_automation_services_custom_css .='#slider img{';
			$commercial_automation_services_custom_css .='height: '.esc_attr($commercial_automation_services_slider_height).'px;';
		$commercial_automation_services_custom_css .='}';
	}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	$commercial_automation_services_theme_lay = get_theme_mod( 'commercial_automation_services_menu_text_transform','Capitalize');
	if($commercial_automation_services_theme_lay == 'Capitalize'){
		$commercial_automation_services_custom_css .='.main-navigation ul a{';
			$commercial_automation_services_custom_css .='text-transform:Capitalize;';
		$commercial_automation_services_custom_css .='}';
	}
	if($commercial_automation_services_theme_lay == 'Lowercase'){
		$commercial_automation_services_custom_css .='.main-navigation ul a{';
			$commercial_automation_services_custom_css .='text-transform:Lowercase;';
		$commercial_automation_services_custom_css .='}';
	}
	if($commercial_automation_services_theme_lay == 'Uppercase'){
		$commercial_automation_services_custom_css .='.main-navigation ul a{';
			$commercial_automation_services_custom_css .='text-transform:Uppercase;';
		$commercial_automation_services_custom_css .='}';
	}

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

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

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

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

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

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

	$commercial_automation_services_theme_lay = get_theme_mod( 'commercial_automation_services_footer_template','commercial_automation_services-footer-one');
    if($commercial_automation_services_theme_lay == 'commercial_automation_services-footer-one'){
		$commercial_automation_services_custom_css .='#footer{';
			$commercial_automation_services_custom_css .='';
		$commercial_automation_services_custom_css .='}';

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

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

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

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

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

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

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

	// services

	$commercial_automation_services_slider = get_theme_mod('commercial_automation_services_slider_hide_show', false);
	if($commercial_automation_services_slider == false){
		$commercial_automation_services_custom_css .='.page-template-custom-home-page .main-header{';
			$commercial_automation_services_custom_css .='position: static;';
		$commercial_automation_services_custom_css .='}';
	}

	
	$commercial_automation_services_slider_first_color = get_theme_mod('commercial_automation_services_slider_first_color');

	$commercial_automation_services_slider_second_color = get_theme_mod('commercial_automation_services_slider_second_color');

	if($commercial_automation_services_slider_first_color != false || $commercial_automation_services_slider_second_color != false){
		$commercial_automation_services_custom_css .='.box{
		background: linear-gradient(to top, '.esc_attr($commercial_automation_services_slider_first_color).', '.esc_attr($commercial_automation_services_slider_second_color).');
		}';
	}

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

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

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

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

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

	$commercial_automation_services_web_frame_border_color = get_theme_mod('commercial_automation_services_web_frame_border_color');
	if($commercial_automation_services_web_frame_border_color != false){
		$commercial_automation_services_custom_css .='.web-frame{';
			$commercial_automation_services_custom_css .='border-color: '.esc_attr($commercial_automation_services_web_frame_border_color).'!important;';
		$commercial_automation_services_custom_css .='}';
	}
    
	$commercial_automation_services_web_frame_border_width = get_theme_mod('commercial_automation_services_web_frame_border_width');
	if($commercial_automation_services_web_frame_border_width != false){
		$commercial_automation_services_custom_css .='.web-frame{';
			$commercial_automation_services_custom_css .='border-width: '.esc_attr($commercial_automation_services_web_frame_border_width).'!important;';
		$commercial_automation_services_custom_css .='}';
	}

	// change the Category style //
	$commercial_automation_services_single_post_styling = get_theme_mod( 'commercial_automation_services_single_post_styling','Button');
		if($commercial_automation_services_single_post_styling == 'Underline'){
		$commercial_automation_services_custom_css .='.single-post-category .post-categories li a{';
			$commercial_automation_services_custom_css .='text-decoration: underline; color: #fff; background-color: transparent;';
		$commercial_automation_services_custom_css .='}';
	}
	else if($commercial_automation_services_single_post_styling == 'Default'){
		$commercial_automation_services_custom_css .='.single-post-category .post-categories li a{';
			$commercial_automation_services_custom_css .='text-decoration: none; color: #fff; background-color: transparent;';
		$commercial_automation_services_custom_css .='}';
	}
	// Hover on featured image //
	$commercial_automation_services_show_featured = get_theme_mod( 'commercial_automation_services_featured_image_hide_show', 1 );
	$commercial_automation_services_hover_effect  = get_theme_mod( 'commercial_automation_services_featured_image_hover', 'none' );

	if ( $commercial_automation_services_show_featured && $commercial_automation_services_hover_effect !== 'none' ) {

		$commercial_automation_services_custom_css .= '
		.commercial-automation-services-featured-image img{
			transition: all 0.4s ease;
		}';

		if ( $commercial_automation_services_hover_effect === 'zoom-in' ) {
			$commercial_automation_services_custom_css .= '
			.commercial-automation-services-featured-image:hover img{
				transform: scale(1.2);
			}';
		}

		if ( $commercial_automation_services_hover_effect === 'zoom-out' ) {
			$commercial_automation_services_custom_css .= '
			.commercial-automation-services-featured-image img{
				transform: scale(1.2);
			}
			.commercial-automation-services-featured-image:hover img{
				transform: scale(1);
			}';
		}

		if ( $commercial_automation_services_hover_effect === 'grayscale' ) {
			$commercial_automation_services_custom_css .= '
			.commercial-automation-services-featured-image img{
				filter: grayscale(100%);
			}
			.commercial-automation-services-featured-image:hover img{
				filter: grayscale(0);
			}';
		}

		if ( $commercial_automation_services_hover_effect === 'sepia' ) {
			$commercial_automation_services_custom_css .= '
			.commercial-automation-services-featured-image:hover img{
				filter: sepia(100%);
			}';
		}

		if ( $commercial_automation_services_hover_effect === 'blur' ) {
			$commercial_automation_services_custom_css .= '
			.commercial-automation-services-featured-image:hover img{
				filter: blur(3px);
			}';
		}

		if ( $commercial_automation_services_hover_effect === 'bright' ) {
			$commercial_automation_services_custom_css .= '
			.commercial-automation-services-featured-image:hover img{
				filter: brightness(1.3);
			}';
		}

		if ( $commercial_automation_services_hover_effect === 'translate' ) {
			$commercial_automation_services_custom_css .= '
			.commercial-automation-services-featured-image:hover img{
				transform: translateY(-10px);
			}';
		}
	}
