<?php
/**
 * @package LZ Fitness Premium
 */ 

function total_dymanic_styles(){
    global $post;
	$primColor = get_theme_mod( 'lz_fitness_template_color', '#d0ac62' );
    $headerColor = get_theme_mod('lz_fitness_header_color', '#3a4559');
    $lz_fitness_header_BorderRespColor = get_theme_mod('lz_fitness_header_BorderRespColor', '#d0ac62');
         $headertogglebarColor = get_theme_mod('lz_fitness_template_togglebar_color', '#d0ac62');


	// $color_rgba = total_hex2rgba($color, 0.9);
	// echo 'light color: '.
	// $color_rgba = lz_fitness_hex2rgba($primColor, 0.9);
	$color_rgba = totalColourBrightness($primColor, 0.3);
	// echo '<br>Dark color: '.
	$darker_color = totalColourBrightness($primColor, -0.5);

	$header_image = get_header_image();
    // DYNAMIC FONTS
    // echo '<br> heading font '.
	$headeingFontRow = get_theme_mod('lz_fitness_general_headeing_font', '16');
    // echo '<br> text font '.
	$textFontRow = get_theme_mod('lz_fitness_general_text_font', '16');
    $header = get_theme_mod('header_textcolor', '#666666'); //header color

    $headerlogoTmargin = get_theme_mod('pages_logoTmargin', '35px');
    $headerlogoBmargin = get_theme_mod('pages_logoBmargin', '10px');
    $headerlogoLmargin = get_theme_mod('pages_logoLmargin', '0px');
    $headerlogoRmargin = get_theme_mod('pages_logoRmargin', '0px');

    $headingFont = getFonts(false, (int)$headeingFontRow);
    $textFont = getFonts(false, (int)$textFontRow);
    $custom_css = '';
    $custom_css = " body, * {font-family: $textFont;}
    h2.lz-about-heading, h2.lz-facility-heading, .ht-section-title, .lz-fitness-h2, .ht-title-wrap, .ht-slide-cap-title, .ht-slide-cap-title span, #ht-princing-post-section .ht-princing-icon,h1, h2, h3, h4, h5, h6,#pricing-page .ht-princing-icon .ht-slide-cap-descmore a{font-family: $headingFont; }
       header.site-header .top-header { background:url('$header_image'); background-repeat: no-repeat; background-size: cover;}
        #ht-masthead, .ht-site-description a, .page-template-home-template .ht-main-navigation .menu-item > a, .ht-main-navigation a, .ht-main-navigation ul ul a {color: #{$header};}
    .page-template-home-template .ht-main-navigation .current_page_item > a {color: #000; background-color:none;}
    li.current_page_item > a {color: #ffffff;}

    .logobox img{margin-top: $headerlogoTmargin;}
    .logobox img{margin-bottom: $headerlogoBmargin;}
    .logobox img{margin-left: $headerlogoLmargin;}
    .logobox img{margin-right: $headerlogoRmargin;}
    ";

    $custom_css .= "
    button,
    input[type='button'],
    input[type='reset'],
    input[type='submit'],
    .widget-area .widget-title:after,
    h3#reply-title:after,
    h3.comments-title:after,
    .nav-previous a,
    .nav-next a,
    .pagination .page-numbers,    
    .ht-progress-bar-length,


    .ht-service-post-wrap:after,
    .ht-service-icon,
    .ht-counter:after,
    .ht-counter:before,
    .ht-testimonial-wrap .bx-wrapper .bx-controls-direction a,
    .ht-cta-buttons a.ht-cta-button1,
    .ht-cta-buttons a.ht-cta-button2:hover,
	#ht-back-top:hover,
    .entry-readmore a,
    .woocommerce #respond input#submit, 
    .woocommerce a.button, 
    .woocommerce button.button, 
    .woocommerce input.button,
    .woocommerce ul.products li.product:hover .button,
    .woocommerce #respond input#submit.alt, 
    .woocommerce a.button.alt, 
    .woocommerce button.button.alt, 
    .woocommerce input.button.alt,
    .woocommerce nav.woocommerce-pagination ul li a, 
    .woocommerce nav.woocommerce-pagination ul li span,
    .woocommerce span.onsale,
    .woocommerce div.product .woocommerce-tabs ul.tabs li.active,
    .woocommerce #respond input#submit.disabled, 
    .woocommerce #respond input#submit:disabled, 
    .woocommerce #respond input#submit:disabled[disabled], 
    .woocommerce a.button.disabled, .woocommerce a.button:disabled, 
    .woocommerce a.button:disabled[disabled], 
    .woocommerce button.button.disabled, 
    .woocommerce button.button:disabled, 
    .woocommerce button.button:disabled[disabled], 
    .woocommerce input.button.disabled, 
    .woocommerce input.button:disabled, 
    .woocommerce input.button:disabled[disabled],
    .woocommerce #respond input#submit.alt.disabled, 
    .woocommerce #respond input#submit.alt.disabled:hover, 
    .woocommerce #respond input#submit.alt:disabled, 
    .woocommerce #respond input#submit.alt:disabled:hover, 
    .woocommerce #respond input#submit.alt:disabled[disabled], 
    .woocommerce #respond input#submit.alt:disabled[disabled]:hover, 
    .woocommerce a.button.alt.disabled, 
    .woocommerce a.button.alt.disabled:hover, 
    .woocommerce a.button.alt:disabled, 
    .woocommerce a.button.alt:disabled:hover, 
    .woocommerce a.button.alt:disabled[disabled], 
    .woocommerce a.button.alt:disabled[disabled]:hover, 
    .woocommerce button.button.alt.disabled, 
    .woocommerce button.button.alt.disabled:hover, 
    .woocommerce button.button.alt:disabled, 
    .woocommerce button.button.alt:disabled:hover, 
    .woocommerce button.button.alt:disabled[disabled], 
    .woocommerce button.button.alt:disabled[disabled]:hover, 
    .woocommerce input.button.alt.disabled, 
    .woocommerce input.button.alt.disabled:hover, 
    .woocommerce input.button.alt:disabled, 
    .woocommerce input.button.alt:disabled:hover, 
    .woocommerce input.button.alt:disabled[disabled], 
    .woocommerce input.button.alt:disabled[disabled]:hover,
    .woocommerce .widget_price_filter .ui-slider .ui-slider-range,
    #ht-princing-post-section .ht-princing-icon,
    #ht-princing-post-section .plan-amount,
	.ht-princing-icon,
	.plan-amount,
    .ht-princing-link a:hover,       
    .readmore a,
    .page-main-header,
    #ht-contactus-wrap .contact-page-form,
    .contact-mapbox iframe,
    #content-box ol li:before,
	.ht-slide-cap-descmore a,
	.ht-princing-link a,
	.days-time-day,
    .lz-facility-text ul li i,
    .post-right .blog-read-more a,
    .pagingation .current,
    .pagingation a:hover,
    .ht-appintment-member-wrap:after,
    .ht-main-navigation ul ul,
    #featured-post-section .Featured-data:hover,
     #featured-new-section .featured-new-icon:hover,
    #featured-post-section .featured-readmore a.btn,
    .total-count .count,
    .sect-height-appointment-section:after,
    #quote-carousel .carousel-control:hover,
    .faq h6:after,
    .single-productpage #sidebars h3:after,
    #innerpage-box ul.ht-blog-date:before,
    #innerpage-box .inner-blog-post:hover ul.ht-blog-date:before,
    .post-date-publishable,
    #blog-box .excerpt .readMore a:hover,
    #inner-blog-section .excerpt .readMore,
    main#innerpage-box div#sitemap-box h3,
    #innerpage-box .innerblogborder:before,
    #innerpage-box .inner-blog-post:hover .innerblogborder:before,
    .socialMedia a,
    .woocommerce div.product .woocommerce-tabs ul.tabs li:hover,
    #blog-box .blog-read-more a:before,
    .add-to-cart

    {
    	background:{$primColor};
    }

    
    .ht-post-info .entry-date span.ht-day,
    .entry-categories .fa,
    .widget-area a:hover,
    .comment-list a:hover,
    .no-comments,
    .ht-site-title a,
    .woocommerce .woocommerce-breadcrumb a:hover,
	#total-breadcrumbs a:hover,
    .ht-featured-link a,
    .ht-portfolio-cat-name-list .fa,
    .ht-portfolio-cat-name:hover, 
    .ht-portfolio-cat-name.active,
    .ht-portfolio-caption a,
    .ht-team-detail,
    .ht-counter-icon,
    .woocommerce ul.products li.product .price,
    .woocommerce div.product p.price, 
    .woocommerce div.product span.price,
    .woocommerce .product_meta a:hover,
    .woocommerce-error:before, 
    .woocommerce-info:before, 
    .woocommerce-message:before,
	.featured-post:after,
	.featured-post:before,
	.featured-link a,
    .breadcrumbbox a,
    #ht-colophon .social-profile-icons a:hover,
    footer#ht-colophon ul li a:hover,
    .ht-footer .textwidget .fa,
    h6.secondry-text,
    #ht-about-us-section ul li:before,
    #ht-team-section .team-member-designation,
    #innerpage-box .team-member-designation,
    .pluses.text-right i.fa.fa-plus,
    .ht-section-tagline.lz-newslatter-text b,
    #content-box ul li:before,
    .page-template-home-template .ht-main-navigation .current_page_item > a,
    #ht-site-navigation ul li a:hover,
    .header-social-links a:hover,
    .lz-featured-Post-heading:before,
    .lz-featured-Post-heading:after,
    .featured-new-post h5:hover,
    #ht-about-us-section .ht-section-tagline span,
    #ht-about-us-section .lz-about-text span,
    .ht-project-member .project-readmore a,
    .ht-team-social-id a:hover,
    .ht-team-member h6:hover,
    .faq-description p a,
    .contact-page-address a,
    .main#innerpage-box span.fa,
    div#sitemap-box ul li a:hover,
    #content-box ol li a,
    #commentsAdd p a,
    .product-name a,
    .cart_totals p a,
    #innerpage-box .socialMedia a:hover,
    .woocommerce p.stars a:hover,
    .star-rating,
    .edit-link a,
    .entry-content p a,
    #blog-box .excerpt h2 a,
    .woocommerce-MyAccount-navigation-link a,
    .woocommerce-MyAccount-navigation-link.is-active a:hover,
    .woocommerce-Address-title a,
    .woocommerce-product-rating a:hover,
    .ht-main-navigation li.current_page_item a,
    .woocommerce-shipping-calculator a,
    blockquote a,
    table th a,
    #content p a,
    .woocommerce-info a,
    #inner-blog-section .excerpt h2 a, 
	.lz-fitness-time div:nth-child(8) div.days-time-day
	{
    	color:{$primColor};
    }

    .ht-main-navigation ul ul,
    .ht-featured-link a,
    .ht-counter,
    .ht-testimonial-wrap .bx-wrapper img,
    .ht-blog-post,
	#ht-colophon,
    .woocommerce ul.products li.product:hover, 
    .woocommerce-page ul.products li.product:hover,
    .woocommerce #respond input#submit, 
    .woocommerce a.button, 
    .woocommerce button.button, 
    .woocommerce input.button,
    .woocommerce ul.products li.product:hover .button,
    .woocommerce #respond input#submit.alt, 
    .woocommerce a.button.alt, 
    .woocommerce button.button.alt, 
    .woocommerce input.button.alt,
    .woocommerce div.product .woocommerce-tabs ul.tabs,
    .woocommerce #respond input#submit.alt.disabled, 
    .woocommerce #respond input#submit.alt.disabled:hover, 
    .woocommerce #respond input#submit.alt:disabled, 
    .woocommerce #respond input#submit.alt:disabled:hover, 
    .woocommerce #respond input#submit.alt:disabled[disabled], 
    .woocommerce #respond input#submit.alt:disabled[disabled]:hover, 
    .woocommerce a.button.alt.disabled, 
    .woocommerce a.button.alt.disabled:hover, 
    .woocommerce a.button.alt:disabled, 
    .woocommerce a.button.alt:disabled:hover, 
    .woocommerce a.button.alt:disabled[disabled], 
    .woocommerce a.button.alt:disabled[disabled]:hover, 
    .woocommerce button.button.alt.disabled, 
    .woocommerce button.button.alt.disabled:hover, 
    .woocommerce button.button.alt:disabled, 
    .woocommerce button.button.alt:disabled:hover, 
    .woocommerce button.button.alt:disabled[disabled], 
    .woocommerce button.button.alt:disabled[disabled]:hover, 
    .woocommerce input.button.alt.disabled, 
    .woocommerce input.button.alt.disabled:hover, 
    .woocommerce input.button.alt:disabled, 
    .woocommerce input.button.alt:disabled:hover, 
    .woocommerce input.button.alt:disabled[disabled], 
    .woocommerce input.button.alt:disabled[disabled]:hover,
    .woocommerce .widget_price_filter .ui-slider .ui-slider-handle
	.ht-main-navigation .current_page_item > a,
    .ht-main-navigation .current-menu-item > a,
    .ht-main-navigation .current_page_ancestor > a,
    .home.blog .ht-main-navigation li:hover > a,
    .page-template-home-template .ht-main-navigation .current > a,
    .home.blog .ht-main-navigation .current > a,
	.featured-post:before,
    .ht-project-member .project-readmore a,
    #innerpage-box .ht-team-member-image,
    .ht-team-social-id a:hover,
    .lz-featured-Post-heading:before,
    .lz-featured-Post-heading:after,
    .lz-featured-new-heading:before,
    .lz-featured-new-heading:after,
    .lz-about-heading:before,
    .lz-about-heading:after,
    .lz-facility-heading:before,
    .lz-facility-heading:after,
    .lz-team-heading:before,
    .lz-team-heading:after,
    .lz-featured-product-heading:before,
    .lz-featured-product-heading:after, 
    .lz-testimonials-heading:before,
     .lz-testimonials-heading:after,
    .faq-heading:before,
    .faq-heading:after,
    .lz-blog-heading:before,
    .lz-blog-heading:after,
    .tag-heading:before,
    .tag-heading:after, 
    .ht-team-member-image,
    .lz-project-heading:before,
    .lz-project-heading:after,
    div#sitemap-box ul li a:hover,
    .lz-gallery-images:hover,
    .ht-gallery-member-image:hover,
    .newsletter-form-box input[type='email']
    {
    	border-color: {$primColor};
    }

	#ht-masthead,
    .woocommerce-error, 
    .woocommerce-info, 
    .woocommerce-message{
    	border-top-color: {$primColor};
    }

    .nav-next a:after{
    	border-left-color: {$primColor};
    }

    .nav-previous a:after{
    	border-right-color: {$primColor};
    }

    .ht-active .ht-service-icon{
    	box-shadow: 0px 0px 0px 2px #FFF, 0px 0px 0px 4px {$primColor};
    }

    .woocommerce ul.products li.product .onsale:after{
    	border-color: transparent transparent {$darker_color} {$darker_color};
    }

    .woocommerce span.onsale:after{
    	border-color: transparent {$darker_color} {$darker_color} transparent
    }


    

    @media screen and (max-width: 768px){
        .navigation.menuopen{
            background:{$headerColor}
        }
        
        .navigation{
            border-color:{$lz_fitness_header_BorderRespColor} !important
        }

        .hamburger-menus span{
            background:{$headertogglebarColor} !important
        }
    }";
	
	
    // heading text colour 
    $headingColor = get_theme_mod('lz_fitness_title_color', '#fe5722');
    $custom_css .= '.title-color{color:'.$headingColor.';}';

	// START SECONDARY COLOR CSS
    $secondary = get_theme_mod('theme_secondary_color', '#ffffff');
    $custom_css .='
   .secondry-bg{
       // background-color:'.$secondary.'
    }	 
	 
	 
	 {border-color: '.$secondary.';}
 
	#ht-newslatter-section .lz-newslatter-heading,
	
	 {color:'.$secondary.';}	 
 
	 
	 {border-color: '.$secondary.';}
	 
	
	 {background-color:'.$secondary.'}
		';
    // ENDS SECONDARY COLOR CSS

     
	
    // Featured section
        if(get_theme_mod('lz_fitness_premium_featured_section_background','off') == 'on' ){
        
        $bgimg = get_theme_mod('lz_fitness_featured_bg_image');
        $img = !empty($bgimg)?$bgimg:get_template_directory_uri().'/images/default-gray.png';
        
        $custom_css .= '#featured-post-section {background-image: url("'.$img.'");background-position: top;background-size: cover;}';
    }else{
        $color = get_theme_mod('lz_fitness_featured_bg_color', '#f4f4f4');
        if('#f4f4f4' != $color){
            $custom_css .= '#featured-post-section {background-color: '.$color.';} .about-post{border-color:'.$color.';}';
        }
    }
// Featured New section
        if(get_theme_mod('lz_fitness_premium_featurednew_section_background','off') == 'on' ){
        
        $bgimg = get_theme_mod('servicesnew_bg_image');
        $img = !empty($bgimg)?$bgimg:get_template_directory_uri().'/images/default-gray.png';
        
        $custom_css .= '#featured-new-section {background-image: url("'.$img.'");background-position: top;background-size: cover;}';
    }else{
        $color = get_theme_mod('servicesnew_bg_color', '#303030');
        if('#303030' != $color){
            $custom_css .= '#featured-new-section {background-color: '.$color.';} .about-post{border-color:'.$color.';}';
        }
    }


// Featured Product section
        if(get_theme_mod('lz_fitness_premium_featuredproduct_section_background','off') == 'on' ){
        
        $bgimg = get_theme_mod('servicesproduct_bg_image');
        $img = !empty($bgimg)?$bgimg:get_template_directory_uri().'/images/default-gray.png';
        
        $custom_css .= '#featured-product-section {background-image: url("'.$img.'");background-position: top;background-size: cover;}';
    }else{
        $color = get_theme_mod('servicesproduct_bg_color', '#303030');
        if('#303030' != $color){
            $custom_css .= '#featured-product-section {background-color: '.$color.';} .about-post{border-color:'.$color.';}';
        }
    }

    // about section
    if(get_theme_mod('lz_fitness_premium_about_section_background','off') == 'on' ){
        
        $bgimg = get_theme_mod('lz_fitness_about_bg_image');
        $img = !empty($bgimg)?$bgimg:get_template_directory_uri().'/images/default-gray.png';
        
        $custom_css .= '#ht-about-us-section {background-image: url("'.$img.'");background-position: top;background-size: cover;}';
    }else{
        $color = get_theme_mod('lz_fitness_about_bg_color', '#fff');
        if('#fff' != $color){
            $custom_css .= '#ht-about-us-section {background-color: '.$color.';}';
        }
    }

      // gauranty section
    if(get_theme_mod('lz_fitness_premium_gauranty_section_background','off') == 'on' ){
        
        $bgimg = get_theme_mod('lz_fitness_gauranty_bg_image');
        $img = !empty($bgimg)?$bgimg:get_template_directory_uri().'/images/default-gray.png';
        
        $custom_css .= '#ht-gauranty-section {background-image: url("'.$img.'");background-position: top;background-size: cover;}';
    }else{
        $color = get_theme_mod('lz_fitness_gauranty_bg_color', '#f7f8fa');
        if('#f7f8fa' != $color){
            $custom_css .= '#ht-gauranty-section {background-color: '.$color.';}';
        }
    }

// Project section
        if(get_theme_mod('lz_fitness_premium_project_section_background','off') == 'on' ){
        
        $bgimg = get_theme_mod('lz_fitness_project_bg_image');
        $img = !empty($bgimg)?$bgimg:get_template_directory_uri().'/images/default-gray.png';
        
        $custom_css .= '#ht-project-section {background-image: url("'.$img.'");background-position: top;background-size: cover;}';
    }else{
        $color = get_theme_mod('lz_fitness_project_bg_color', '#fff');
        if('#fff' != $color){
            $custom_css .= '#ht-project-section {background-color: '.$color.';} .about-post{border-color:'.$color.';}';
        }
    } 

// Product category section
        if(get_theme_mod('lz_fitness_premium_categories_section_background','on') == 'on' ){
        
        $bgimg = get_theme_mod('lz_fitness_categories_bg_image');
        $img = !empty($bgimg)?$bgimg:get_template_directory_uri().'/images/pro-cat-bg.jpg';
        
        $custom_css .= '#product-category-section {background-image: url("'.$img.'");background-position: top;background-size: cover;}';
    }else{
        $color = get_theme_mod('lz_fitness_categories_bg_color', '#fff');
        if('#fff' != $color){
            $custom_css .= '#product-category-section {background-color: '.$color.';';
        }
    } 

// offer section
        if(get_theme_mod('lz_fitness_premium_offer_section_background','on') == 'on' ){
        
        $bgimg = get_theme_mod('lz_fitness_offer_bg_image');
        $img = !empty($bgimg)?$bgimg:get_template_directory_uri().'/images/offer-bg.jpg';
        
        $custom_css .= '#ht-offer-section {background-image: url("'.$img.'");background-position: top;background-size: cover;}';
    }else{
        $color = get_theme_mod('lz_fitness_offer_bg_color', '#fff');
        if('#fff' != $color){
            $custom_css .= '#ht-offer-section {background-color: '.$color.';';
        }
    } 

 // Our steps section 
    if(get_theme_mod('lz_fitness_premium_oursteps_section_background','off') == 'on' ){
        
        $bgimg = get_theme_mod('lz_fitness_oursteps_bg_image');
        $img = !empty($bgimg)?$bgimg:get_template_directory_uri().'/images/default-gray.jpg';
        
        $custom_css .= '#oursteps-content-section {background-image: url("'.$img.'");background-position: top;background-size: cover;}'; 
    }else{
        $color = get_theme_mod('lz_fitness_oursteps_bg_color', '#fff');
        if('#fff' != $color){
            $custom_css .= '#oursteps-content-section {background-color: '.$color.';}';
        }
    } 


    // Team section 
    if(get_theme_mod('lz_fitness_premium_team_section_background','off') == 'on' ){
        
        $bgimg = get_theme_mod('team_bg_image');
        $img = !empty($bgimg)?$bgimg:get_template_directory_uri().'/images/default-gray.jpg';
        
        $custom_css .= '#ht-team-section {background-image: url("'.$img.'");background-position: top;background-size: cover;}'; 
    }else{
        $color = get_theme_mod('team_bg_color', '#fff');
        if('#fff' != $color){
            $custom_css .= '#ht-team-section {background-color: '.$color.';}';
        }
    } 
    
     //client-section
    if(get_theme_mod('lz_fitness_premium_ourclients_section_background','off') == 'on' ){
        
        $bgimg = get_theme_mod('lz_fitness_ourclients_bg_image');
        $img = !empty($bgimg)?$bgimg:get_template_directory_uri().'/images/default-gray.jpg';
        
        $custom_css .= '#ourclients-post-section {background-image: url("'.$img.'");background-position: top;background-size: cover;}'; 
    }else{
        $color = get_theme_mod('lz_fitness_ourclients_bg_color', '#f5f5f5');
        if('#f5f5f5' != $color){
            $custom_css .= '#ourclients-post-section {background-color: '.$color.';}';
        }
    } 

    // gym 
    if(get_theme_mod('lz_fitness_premium_gym_section_background') == 'on' ){
        
        $bgimg = get_theme_mod('lz_fitness_gym_bg_image');
        $img = !empty($bgimg)?$bgimg:get_template_directory_uri().'/images/default-gray.png';
        
        $custom_css .= '#time-address-section {background-image: url("'.$img.'");background-position: top;background-size: cover;}';
    }else{
        $color = get_theme_mod('lz_fitness_gym_bg_color', '#ffffff');
        if('#ffffff' != $color){
            $custom_css .= '#time-address-section {background-color: '.$color.';} .time-post{border-color:'.$color.';}';
        }
    }
   
    // pricing 
    
     if(get_theme_mod('lz_fitness_premium_pricing_section_background') == 'on' ){
        $custom_css .= '#ht-princing-post-section {background-image: url(\''.get_theme_mod('lz_fitness_pricing_bg_image').'\');background-position: top;background-size: cover;}';
    }else{
        $color = get_theme_mod('lz_fitness_pricing_bg_color', '#ffffff');
        if('#ffffff' != $color){
            $custom_css .= '#ht-princing-post-section, #ht-princing-post-section .ht-featured-icon {background: '.$color.';}#ht-princing-post-section .ht-featured-link a {border-color: '.$color.';color: '.$color.';}';
        }else{
            // $custom_css .= '#ht-princing-post-section {background-image: url(\''. get_template_directory_uri().'/images/man-461195_1280.jpg'.'\');background-position: top;background-size: cover;}';
            $custom_css .= '.ht-plan-block{border-color:'.$primColor.'}';
        }
    }
       // For Footer

    if(get_theme_mod('lz_fitness_premium_footer_section_background','off') == 'on' ){
        
        $bgimg = get_theme_mod('lz_fitness_footer_bg_image');
        $img = !empty($bgimg)?$bgimg:get_template_directory_uri().'/images/default-gray.jpg';
        
        $custom_css .= '#ht-colophon {background-image: url("'.$img.'");background-position: top;background-size: cover;}';
    }else{
        $color = get_theme_mod('lz_fitness_footer_bg_color', '#272c3f');
        if('#272c3f' != $color){
            $custom_css .= '#ht-colophon {background-color: '.$color.';} .about-post{border-color:'.$color.';}';
        }
    }

        // For gallery

    if(get_theme_mod('lz_fitness_premium_gallery_section_background','off') == 'on' ){
        
        $bgimg = get_theme_mod('gallery_bg_image');
        $img = !empty($bgimg)?$bgimg:get_template_directory_uri().'/images/default-gray.png';
        
        $custom_css .= '#ht-gallery-section {background-image: url("'.$img.'");background-position: top;background-size: cover;}';
    }else{
        $color = get_theme_mod('gallery_bg_color', '#fff');
        if('#fff' != $color){
            $custom_css .= '#ht-gallery-section {background-color: '.$color.';}';
        }
    }

    //Inner page title color
    $innertitleColor = get_theme_mod('lz_fitness_template_innerpage_titlecolor', '#fff');
    $innertitlebgColor = get_theme_mod('lz_fitness_template_innerpage_bgcolor', '#d0ac62');
    $innerbreadcrumbtitleColor = get_theme_mod('lz_fitness_template_innerpage_breadcrumbtitlecolor', '#000');
    $innerbreadcrumbcurrenttitleColor = get_theme_mod('lz_fitness_template_innerpage_breadcrumbcurrenttitlecolor', '#d0ac62');
      $innerbreadcrumbcurrenttitlehoverColor = get_theme_mod('lz_fitness_template_innerpage_breadcrumbcurrenttitlehovercolor', '#3a4559');
    $innerbreadcrumbbgeColor = get_theme_mod('lz_fitness_template_innerpage_breadcrumbbgcolor', '#fff');
    $innerbreadcrumbborderColor = get_theme_mod('lz_fitness_template_innerpage_breadcrumbordercolor', '#3a4559');
    $custom_css .= '.ht-main-title, .single-productpage .ht-main-title {color: '.$innertitleColor.';}
    .page-main-header {background-color: '.$innertitlebgColor.';}
    .breadcrumbbox span{color: '.$innerbreadcrumbtitleColor.';}
    .breadcrumbbox span a {color: '.$innerbreadcrumbcurrenttitleColor.';}
     .breadcrumbbox span a:hover {color: '.$innerbreadcrumbcurrenttitlehoverColor.';}
    .breadcrumbbox {background-color: '.$innerbreadcrumbbgeColor.';}
    .breadcrumbbox {border-color: '.$innerbreadcrumbborderColor.';}
    ';

    //Footer background color

    $footertitleColor = get_theme_mod('lz_fitness_footer_title_color', '#fff');
    $footertitleborderColor = get_theme_mod('lz_fitness_footer_titleborder_color', '#d0ac62');
    $footericonColor = get_theme_mod('lz_fitness_footer_icon_color', '#fff');
    $footericonhoverColor = get_theme_mod('lz_fitness_footer_iconhover_color', '#d0ac62');
    $footertextColor = get_theme_mod('lz_fitness_footer_text_color', '#ffffff');
    $footermenuColor = get_theme_mod('lz_fitness_footer_menu_color', '#ffffff');
    $footermenuhoverColor = get_theme_mod('lz_fitness_footer_menuhover_color', '#d0ac62');

    $footermenuiconColor = get_theme_mod('lz_fitness_footer_navicon_color', '#ffffff');
    $footermenuiconhoverColor = get_theme_mod('lz_fitness_footer_menuiconhover_color', '#d0ac62');

     $footermenudateColor = get_theme_mod('lz_fitness_footer_menudate_color', '#fff');
    $footerformColor = get_theme_mod('lz_fitness_footer_form_color', '#fff');
    $footerformborderColor = get_theme_mod('lz_fitness_footer_formborder_color', '#fff');
    $footerbtnColor = get_theme_mod('lz_fitness_footer_formbtn_color', '#fff');
    $footerbtnbgColor = get_theme_mod('lz_fitness_footer_formbtnbg_color', '#d0ac62');
    $footersocialColor = get_theme_mod('lz_fitness_footer_social_color', '#fff');
    $footersocialhoverColor = get_theme_mod('lz_fitness_footer_socialhover_color', '#fff');
    $footersocialbghoverColor = get_theme_mod('lz_fitness_footer_socialbghover_color', '#d0ac62');
    $footersocialborderColor = get_theme_mod('lz_fitness_footer_socialborder_color', '#4c3a37');
    $footersocialborderhoverColor = get_theme_mod('lz_fitness_footer_socialborderhover_color', '#d0ac62');
    $footercopyrighttextColor = get_theme_mod('lz_fitness_footer_copyrighttext_color', '#fff');
    $footercopyrightborderColor = get_theme_mod('lz_fitness_footer_copyrightborder_color', '#dadada');
    $footercopyrightborderindicatorColor = get_theme_mod('lz_fitness_footer_copyrightborderindicator_color', '#ff6796');
    $custom_css .= '#ht-colophon .widget-title{color: '.$footertitleColor.';}

    #ht-colophon .widget-title:before{background-color: '.$footertitleborderColor.';}

    footer#ht-colophon p i{color: '.$footericonColor.';}
    footer#ht-colophon p i:hover{color: '.$footericonhoverColor.';}
    footer#ht-colophon p{color: '.$footertextColor.';}
   footer#ht-colophon ul li a{color: '.$footermenuColor.';}

   footer#ht-colophon ul li span.post-date{color: '.$footermenudateColor.';}
    footer#ht-colophon ul li a:hover{color: '.$footermenuhoverColor.';}

 #ht-top-footer ul li:before{color: '.$footermenuiconColor.';}
#ht-top-footer ul li:hover:before{color: '.$footermenuiconhoverColor.';}
    

   #ht-top-footer input[type="text"], 
#ht-top-footer input[type="email"], 
#ht-top-footer input[type="url"], 
#ht-top-footer input[type="password"], 
#ht-top-footer input[type="search"], 
#ht-top-footer input[type="number"], 
#ht-top-footer input[type="tel"], 
#ht-top-footer input[type="range"], 
#ht-top-footer input[type="date"], 
#ht-top-footer input[type="month"], 
#ht-top-footer input[type="week"], 
#ht-top-footer input[type="time"], 
#ht-top-footer input[type="datetime"], 
#ht-top-footer input[type="datetime-local"], 
#ht-top-footer input[type="color"],
#ht-top-footer textarea,
#ht-top-footer,
#ht-top-footer select,
#ht-top-footer input::placeholder, 
#ht-top-footer textarea::placeholder{color: '.$footerformColor.';}

  #ht-top-footer input[type="text"], 
#ht-top-footer input[type="email"], 
#ht-top-footer input[type="url"], 
#ht-top-footer input[type="password"], 
#ht-top-footer input[type="search"], 
#ht-top-footer input[type="number"], 
#ht-top-footer input[type="tel"], 
#ht-top-footer input[type="range"], 
#ht-top-footer input[type="date"], 
#ht-top-footer input[type="month"], 
#ht-top-footer input[type="week"], 
#ht-top-footer input[type="time"], 
#ht-top-footer input[type="datetime"], 
#ht-top-footer input[type="datetime-local"], 
#ht-top-footer input[type="color"],
#ht-top-footer textarea,
#ht-top-footer select{border-color: '.$footerformborderColor.';}
    .ht-top-footer input[type="submit"]{color: '.$footerbtnColor.';}
  .ht-top-footer input[type="submit"]{background-color: '.$footerbtnbgColor.';}
   .social-profile-icons ul li i{color: '.$footersocialColor.';}
     .social-profile-icons ul li i:hover{color: '.$footersocialhoverColor.';}
    .social-profile-icons ul li i:hover{background-color: '.$footersocialbghoverColor.';}
   .social-profile-icons ul li i{border-color: '.$footersocialborderColor.';}
  .social-profile-icons ul li i:hover{border-color: '.$footersocialborderhoverColor.';}
  .ht-site-info{color: '.$footercopyrighttextColor.';}
   #ht-top-footer .footborder{border-color: '.$footercopyrightborderColor.';}
  #ht-bottom-footer .ht-site-info:after{background-color: '.$footercopyrightborderindicatorColor.';}';

	//about us heading & text color
     $aboutHeadingColor = get_theme_mod('lz_fitness_aboutus_page_HeadingColor', '#272e3e');
      $aboutHeadingborderColor = get_theme_mod('lz_fitness_aboutus_HeadingborderColor', '#d0ac62');
        $aboutsubHeadingColor = get_theme_mod('lz_fitness_aboutus_page_subHeadingColor', '#292e42');

        $aboutTextColor = get_theme_mod('lz_fitness_aboutus_page_TextColor', '#303030');
        $aboutTexthighlightColor = get_theme_mod('lz_fitness_aboutus_page_TexthighlightColor', '#d0ac62');

         $aboutbtntextColor = get_theme_mod('lz_fitness_aboutus_page_btnTextColor', '#fff');
          $aboutbtnbgColor = get_theme_mod('lz_fitness_aboutus_page_btnbgColor', '#d0ac62');
           $aboutbtntexthoverColor = get_theme_mod('lz_fitness_aboutus_page_btnTexthoverColor', '#fff');
          $aboutbtnbghoverColor = get_theme_mod('lz_fitness_aboutus_page_btnbghoverColor', '#3a4559');

        $aboutimgborderColor = get_theme_mod('lz_fitness_aboutus_page_imgborderColor', '#d0ac62');
        $aboutimghighlightborderColor = get_theme_mod('lz_fitness_aboutus_page_imghighlightborderColor', '#fff');

    $custom_css .= '#ht-about-us-section .lz-about-heading, #ht-about-us-section .lz-about-heading small, .ht-content.lz-about-text h3{color: '.$aboutHeadingColor.';} 
  #ht-about-us-section .ht-section-title:after{border-color: '.$aboutHeadingborderColor.';}

#ht-about-us-section .lz-about-subheading{color: '.$aboutsubHeadingColor.';} 
    #ht-about-us-section .ht-section-tagline, #ht-about-us-section ul li, #ht-about-us-section .lz-about-text{color: '. $aboutTextColor.';}
     #ht-about-us-section .lz-about-text span{color: '. $aboutTexthighlightColor.';}

    #ht-about-us-section .readmore a{color: '. $aboutbtntextColor.';}
     #ht-about-us-section .readmore a{background-color: '. $aboutbtnbgColor.';}

    #ht-about-us-section .readmore a:hover{color: '. $aboutbtntexthoverColor.';}
   #ht-about-us-section .readmore a:before{background-color: '. $aboutbtnbghoverColor.';}

   #ht-about-us-section .aboutbox-img:before , #ht-about-us-section .aboutbox-img:after{border-color: '. $aboutimgborderColor.';}
    .aboutimgborder:before , .aboutimgborder:after{border-color: '. $aboutimghighlightborderColor.';}

      ';

    //Offer heading & text color
     $offercallboxColor = get_theme_mod('lz_fitness_offer_callboxColor', '#ff6796');
      $offercallboxcurveColor = get_theme_mod('lz_fitness_offer_callboxcurveColor', '#d41d56');
    $offercallboxtextColor = get_theme_mod('lz_fitness_offer_callboxtextColor', '#fff');
     $offercallboxnumberColor = get_theme_mod('lz_fitness_offer_callboxnumberColor', '#fff');
    $offertitleColor = get_theme_mod('lz_fitness_offer_titleColor', '#fff');
    $offertextcodeColor = get_theme_mod('lz_fitness_offer_textcodeColor', '#01beff');
     $offerbtntextColor = get_theme_mod('lz_fitness_offer_btntextColor', '#fff');
    $offerbtnbgColor = get_theme_mod('lz_fitness_offer_btnbgColor', '#01beff');
      $offerbtntexthoverColor = get_theme_mod('lz_fitness_offer_btntexthoverColor', '#fff');
     $offerbtnbghoverColor = get_theme_mod('lz_fitness_offer_btnbghoverColor', '#ff6796');
       

    $custom_css .= '#ht-offer-section .offercall, #ht-offer-section .offershape:before , #ht-offer-section .offershape:after {background-color: '.$offercallboxColor.';} 
   #ht-offer-section .offercall:before , #ht-offer-section .offercall:after {background-color: '.$offercallboxcurveColor.';} 
    #ht-offer-section .offercall .offertext {color: '.$offercallboxtextColor.';}
   #ht-offer-section .offercall .offernum{color: '.$offercallboxnumberColor.';} 
  #ht-offer-section .offercontent .offertitle{color: '.$offertitleColor.';} 
   #ht-offer-section .offercontent .offertextcode{color: '.$offertextcodeColor.';}
  #ht-offer-section .offreadmore a{color: '.$offerbtntextColor.';}  
    #ht-offer-section .offreadmore a{background-color: '.$offerbtnbgColor.';}  
#ht-offer-section .offreadmore a:hover{color: '.$offerbtntexthoverColor.';}  
 #ht-offer-section .offreadmore a:before{background-color: '.$offerbtnbghoverColor.';}  

      ';



//about us heading & text color
     $ourstepsHeadingColor = get_theme_mod('lz_fitness_oursteps_HeadingColor', '#303030');
      $ourstepsHeadingborderColor = get_theme_mod('lz_fitness_oursteps_HeadingborderColor', '#1cb9c8');

    $ourstepsstepnumdarkColor = get_theme_mod('lz_fitness_oursteps_stepnumdark_Color', '#1cb9c8');
     $ourstepsstepnumlightColor = get_theme_mod('lz_fitness_oursteps_stepnumlight_Color', '#44d3e0');
    $ourstepsstepnumbgColor = get_theme_mod('lz_fitness_oursteps_stepnumbg_Color', '#fff');
    $ourstepsdarkboxColor = get_theme_mod('lz_fitness_oursteps_darkbox_Color', '#1cb9c8');
   $ourstepslightboxColor = get_theme_mod('lz_fitness_oursteps_lightbox_Color', '#44d3e0');
    $ourstepsboxtitleColor = get_theme_mod('lz_fitness_oursteps_boxtitle_Color', '#fff');
    $ourstepsboxcontentColor = get_theme_mod('lz_fitness_oursteps_boxcontent_Color', '#fff');

    $custom_css .= '#oursteps-content-section .lz-oursteps-heading{color: '.$ourstepsHeadingColor.';} 
    #oursteps-content-section .ht-section-title-tagline:before, 
   #oursteps-content-section .ht-section-title-tagline:after,  
   #oursteps-content-section .dlab-separator[class*="style-"]:before, 
   #oursteps-content-section .dlab-separator[class*="style-"]:after{border-color: '.$ourstepsHeadingborderColor.';} 


    #oursteps-content-section .roadmap-outer .year{color: '.$ourstepsstepnumdarkColor.';} 
    #oursteps-content-section .roadmap-outer .roadmap:nth-child(2n) .year{color: '.$ourstepsstepnumlightColor.';} 
    #oursteps-content-section .roadmap-outer .year{background-color: '.$ourstepsstepnumbgColor.';} 


    #oursteps-content-section .roadmap-outer .roadmap:nth-child(2n) .roadmap-content, 
    #oursteps-content-section .roadmap-outer .roadmap:nth-child(2n) .roadmap-content:before, 
    #oursteps-content-section .roadmap-outer .roadmap:nth-child(3n) .roadmap-content, 
    #oursteps-content-section .roadmap-outer .roadmap:nth-child(3n) .roadmap-content:before,
     #oursteps-content-section .roadmap-outer .roadmap:nth-child(4n) .roadmap-content, 
     #oursteps-content-section .roadmap-outer .roadmap:nth-child(4n) .roadmap-content:before {background-color: '.$ourstepsdarkboxColor.';} 

    #oursteps-content-section .roadmap-outer .roadmap:nth-child(2n) .roadmap-icon, 
    #oursteps-content-section .roadmap-outer .roadmap:nth-child(4n) .roadmap-icon,
     #oursteps-content-section .roadmap-outer .roadmap:nth-child(3n) .roadmap-icon,
     #oursteps-content-section .roadmap-outer .roadmap:nth-child(3n) .roadmap-icon {border-top-color: '.$ourstepsdarkboxColor.';} 


    #oursteps-content-section .roadmap-outer .roadmap:nth-child(2n) .roadmap-icon, 
    #oursteps-content-section .roadmap-outer .roadmap:nth-child(4n) .roadmap-icon,
     #oursteps-content-section .roadmap-outer .roadmap:nth-child(3n) .roadmap-icon,
     #oursteps-content-section .roadmap-outer .roadmap:nth-child(3n) .roadmap-icon {border-right-color: '.$ourstepsdarkboxColor.';} 


    #oursteps-content-section .roadmap-outer .roadmap-content, 
     #oursteps-content-section .roadmap-outer .roadmap-content:before{background-color: '.$ourstepslightboxColor.';} 

     #oursteps-content-section .roadmap-outer .roadmap-icon {border-top-color: '.$ourstepslightboxColor.';}
     #oursteps-content-section .roadmap-outer .roadmap-icon {border-right-color: '.$ourstepslightboxColor.';}

    #oursteps-content-section .roadmap-outer h2{color: '.$ourstepsboxtitleColor.';} 
    #oursteps-content-section .roadmap-outer p{color: '.$ourstepsboxcontentColor.';} 

      ';

//product category heading & text color
     $procatHeadingColor = get_theme_mod('product_category_Heading_color', '#fff');
        $procatHeadingborderColor = get_theme_mod('product_category_HeadingborderColor', '#fff');
    $procatHeadingbordericonColor = get_theme_mod('product_category_HeadingbordericonColor', '#fff');

     $procatimghoverColor = get_theme_mod('product_category_imghover_color', '#01beff');
    $procattitleColor = get_theme_mod('product_category_CategoryTitle_color', '#fff');
    $procattextColor = get_theme_mod('product_category_text_color', '#fff');
    $procatboxbgColor = get_theme_mod('product_Categoryboxbgcolor', '#ff6796');
    $procattitlehoverColor = get_theme_mod('product_category_CategoryTitlehover_color', '#000');
    $procattexthoverColor = get_theme_mod('product_category_texthover_color', '#000');
    $procatboxbghoverColor = get_theme_mod('product_Categoryboxbghovercolor', '#fff');
    $procatprevColor = get_theme_mod('product_Category_prev', '#a59f95');
    $procatprevborderColor = get_theme_mod('product_Category_prevborder', '#a59f95');
    $procatnextColor = get_theme_mod('product_Category_next', '#a59f95');
    $procatnextborderColor = get_theme_mod('product_Category_nextborder', '#a59f95');

    $procatprevhoverColor = get_theme_mod('product_Category_prevhover', '#fff');
    $procatprevborderhoverColor = get_theme_mod('product_Category_prevborderhover', '#fff');
    $procatnexthoverColor = get_theme_mod('product_Category_nexthover', '#fff');
    $procatnextborderhoverColor = get_theme_mod('product_Category_nextborderhover', '#fff');
    

    $custom_css .= '#product-category-section .ht-section-title{color: '.$procatHeadingColor.';} 
       #product-category-section .dlab-separator[class*="style-"]:before ,
   #product-category-section .dlab-separator[class*="style-"]:after{border-color: '.$procatHeadingborderColor.';}
   #product-category-section .dlab-separator.style-icon i{color: '.$procatHeadingbordericonColor.';}  


   #product-category-section .pro-cat-img:after{background-color: '.$procatimghoverColor.';}  
    #product-category-section .pro-cat-content span h5 a{color: '.$procattitleColor.';}  
    #product-category-section .pro-cat-content p.catdesc{color: '.$procattextColor.';}  
  #product-category-section .pro-cat-content{background-color: '.$procatboxbgColor.';} 
   #product-category-section .procat-separator-svg{fill: '.$procatboxbgColor.';} 
   #product-category-section .cat-product:hover .pro-cat-content span h5 a{color: '.$procattitlehoverColor.';}  
  #product-category-section .cat-product:hover .pro-cat-content p.catdesc{color: '.$procattexthoverColor.';}  
  #product-category-section .cat-product:hover .pro-cat-content{background-color: '.$procatboxbghoverColor.';}  
    #product-category-section .cat-product:hover .procat-separator-svg {fill: '.$procatboxbghoverColor.';} 
  #product-category-section .owl-nav button.owl-prev span{color: '.$procatprevColor.';}  
  #product-category-section .owl-carousel .owl-nav button.owl-prev, 
#product-category-section .owl-carousel button.owl-dot {border-color: '.$procatprevborderColor.';}  

 #product-category-section .owl-nav button.owl-next span{color: '.$procatnextColor.';}  
 #product-category-section .owl-carousel .owl-nav button.owl-next,  
#product-category-section .owl-carousel button.owl-dot{border-color: '.$procatnextborderColor.';}  

  #product-category-section .owl-nav button.owl-prev:hover span{color: '.$procatprevhoverColor.';}  
 #product-category-section .owl-carousel .owl-nav button.owl-prev:hover, 
#product-category-section .owl-carousel button.owl-dot:hover {border-color: '.$procatprevborderhoverColor.';}  

  #product-category-section .owl-nav button.owl-next:hover span{color: '.$procatnexthoverColor.';} 
#product-category-section .owl-carousel .owl-nav button.owl-next:hover,  
#product-category-section .owl-carousel button.owl-dot:hover{border-color: '.$procatnextborderhoverColor.';}  
    ';

    // gallery section color
   
    $galleryheadingColor = get_theme_mod('gallery_HeadingColor', '#444444');

     $galleryheadingborderColor = get_theme_mod('gallery_HeadingborderColor', '#01beff');
    $galleryheadingbordericonColor = get_theme_mod('gallery_HeadingbordericonColor', '#ff6796');


     $galleryimgborderColor = get_theme_mod('gallery_imgborderColor', '#ffc4d6');

      $gallerysliderleftbtnColor = get_theme_mod('gallery_sliderleftbtnColor', '#9d9d9d');
       $gallerysliderleftbtnborderColor = get_theme_mod('gallery_sliderleftbtnborderColor', '#9d9d9d');
        $gallerysliderleftbtnhoverColor = get_theme_mod('gallery_sliderleftbtnhoverColor', '#01beff');
       $gallerysliderleftbtnborderhoverColor = get_theme_mod('gallery_sliderleftbtnborderhoverColor', '#01beff');

        $gallerysliderrightbtnColor = get_theme_mod('gallery_sliderrightbtnColor', '#9d9d9d');
       $gallerysliderrightbtnborderColor = get_theme_mod('gallery_sliderrightbtnborderColor', '#9d9d9d');
        $gallerysliderrightbtnhoverColor = get_theme_mod('gallery_sliderrightbtnhoverColor', '#01beff');
       $gallerysliderrightbtnborderhoverColor = get_theme_mod('gallery_sliderrightbtnborderhoverColor', '#01beff');

    $custom_css .= '.lz-gallery-heading{color: '.$galleryheadingColor.';} 
  #ht-gallery-section .dlab-separator[class*="style-"]:before ,
  #ht-gallery-section .dlab-separator[class*="style-"]:after{border-color: '.$galleryheadingborderColor.';}
  #ht-gallery-section .dlab-separator.style-icon i{color: '.$galleryheadingbordericonColor.';}  

  #ht-gallery-section .lz-gallery-images img, 
  #ht-gallery-section .ht-gallery-member-image img{border-color: '.$galleryimgborderColor.';}  

  #ht-gallery-section .ctrl-btn.pro-prev{color: '.$gallerysliderleftbtnColor.';} 
   #ht-gallery-section .ctrl-btn.pro-prev{border-color: '.$gallerysliderleftbtnborderColor.';} 
 #ht-gallery-section .ctrl-btn.pro-prev:hover{color: '.$gallerysliderleftbtnhoverColor.';} 
  #ht-gallery-section .ctrl-btn.pro-prev:hover{border-color: '.$gallerysliderleftbtnborderhoverColor.';} 

      #ht-gallery-section .ctrl-btn.pro-next{color: '.$gallerysliderrightbtnColor.';} 
    #ht-gallery-section .ctrl-btn.pro-next{border-color: '.$gallerysliderrightbtnborderColor.';} 
   #ht-gallery-section .ctrl-btn.pro-next:hover{color: '.$gallerysliderrightbtnhoverColor.';} 
   #ht-gallery-section .ctrl-btn.pro-next:hover{border-color: '.$gallerysliderrightbtnborderhoverColor.';} 

    ';



//Inner faq page color
   
    $faqinnerQborderColor = get_theme_mod('lz_fitness_faqsinner_QborderColor', '#3a4559');
    $faqinnerQborderbottomColor = get_theme_mod('lz_fitness_faqsinner_QdarkborderColor', '#d0ac62');
    $faqinnerQtextColor = get_theme_mod('lz_fitness_faqsinner_QtextColor', '#000');
    $faqinnerQarrowColor = get_theme_mod('lz_fitness_faqsinner_QdownarrowColor', '#fff');
    $faqinnerQarrowbgColor = get_theme_mod('lz_fitness_faqsinner_QdownarrowbgColor', '#d0ac62');
    $faqinnerAtextColor = get_theme_mod('lz_fitness_faqsinner_AtextColor', '#333333');
    $faqinnerAbgColor = get_theme_mod('lz_fitness_faqsinner_AbgColor', '#fff9ec');

    $faqinnerAborderColor = get_theme_mod('lz_fitness_faqsinner_AborderColor', '#3a4559');
    $faqinnerAborderrightColor = get_theme_mod('lz_fitness_faqsinner_AdarkborderColor', '#d0ac62');
    $custom_css .= '#innerpage-box .faq h6{border-color: '.$faqinnerQborderColor.';} 
    #innerpage-box .faq h6{border-bottom-color: '.$faqinnerQborderbottomColor.';} 
    #innerpage-box .faq h6{border-right-color: '.$faqinnerQborderbottomColor.';} 
   #innerpage-box .faq h6, #innerpage-box .faq h6 small{color: '.$faqinnerQtextColor.';} 
    #innerpage-box .faq h6:after{color: '.$faqinnerQarrowColor.';} 
    #innerpage-box .faq h6:before{border-top-color: '.$faqinnerQarrowbgColor.';}
    #innerpage-box .faq-description p{color: '.$faqinnerAtextColor.';}  
    #innerpage-box .faq-description{background-color: '.$faqinnerAbgColor.';}  

    #innerpage-box .faq-description{border-color: '.$faqinnerAborderColor.';}
      #innerpage-box .faq-description{border-right-color: '.$faqinnerAborderrightColor.';}
    ';



 // main header background color
    $headerColor = get_theme_mod('lz_fitness_header_color', '#3a4559');
     $topheaderColor = get_theme_mod('lz_fitness_topheader_color', '#fff');
    $topheadershapeColor = get_theme_mod('lz_fitness_topheadershape_color', '#3a4559');

    $headersocialColor = get_theme_mod('lz_fitness_header_socialColor', '#fff');
    $headersocialhoverColor = get_theme_mod('lz_fitness_header_socialhoverColor', '#d0ac62');

    $headericonColor = get_theme_mod('lz_fitness_header_iconColor', '#d0ac62');
    $headericonhoverColor = get_theme_mod('lz_fitness_header_iconhoverColor', '#3a4559');
    $headercontactlabelColor = get_theme_mod('lz_fitness_header_contactlabelColor', '#303030');
    
    $headeremailColor = get_theme_mod('lz_fitness_header_emailColor', '#303030');
    $headeremailhoverColor = get_theme_mod('lz_fitness_header_emailhoverColor', '#d1ac66');


      $headerphoneiconColor = get_theme_mod('lz_fitness_header_phoneiconColor', '#d0ac62');
    $headerphoneiconhoverColor = get_theme_mod('lz_fitness_header_phoneiconhoverColor', '#fff');
    $headerphoneColor = get_theme_mod('lz_fitness_header_phoneColor', '#fff');


     $headermenuColor = get_theme_mod('lz_fitness_headermenu_color', '#fff');
     $headercurrentmenuColor = get_theme_mod('lz_fitness_headercurrentmenu_color', '#fff');
    $headercurrentmenubgColor = get_theme_mod('lz_fitness_headercurrentmenubg_color', '#d0ac62');
     $headermenuhoverColor = get_theme_mod('lz_fitness_headermenuhover_color', '#fff');
    $headermenuhoverbgColor = get_theme_mod('lz_fitness_headermenuhoverbg_color', '#d0ac62');
     $headersubmenuColor = get_theme_mod('lz_fitness_headersubmenu_color', '#fff');
     $headerdropdownbgColor = get_theme_mod('lz_fitness_headerdropdownbg_color', '#3a4559');
     $headerdropdownborderColor = get_theme_mod('lz_fitness_headerdropdownborder_color', '#d1ac66');
     $headersubmenuhoverColor = get_theme_mod('lz_fitness_headersubmenuhover_color', '#d1ac66');
     $headersubmenuarrowhoverColor = get_theme_mod('lz_fitness_headersubmenuarrowhover_color', '#d1ac66');

    $headercurrentsubmenuColor = get_theme_mod('lz_fitness_headercurrentsubmenu_color', '#fff');
    $headercurrentsubmenubgColor = get_theme_mod('lz_fitness_headercurrentsubmenubg_color', '#d1ac66');
    $headernavColor = get_theme_mod('lz_fitness_headernavigation_color', '#3a4559');

    $headerbtnColor = get_theme_mod('lz_fitness_headerbtn_color', '#fff');
     $headerbtnbgColor = get_theme_mod('lz_fitness_headerbtnbg_color', '#d0ac62');
     $headerbtnhoverColor = get_theme_mod('lz_fitness_headerbtnhover_color', '#fff');
     $headerbtnbghoverColor = get_theme_mod('lz_fitness_headerbtnbghover_color', '#3a4559');

    $custom_css .= '
   header.site-header .header-right-box i{color: '.$headericonColor.';}
   header.site-header .header-right-box .headbox:hover i {color: '.$headericonhoverColor.';}

   header.site-header .contact-border .contactlabel{color: '.$headercontactlabelColor.';}
 
    .header-right-box .mailto a{color: '.$headeremailColor.';}
    .header-right-box .mailto a:hover{color: '.$headeremailhoverColor.';}

   header.site-header .shadeheadbox i{color: '.$headerphoneiconColor.';}
    header.site-header .shadeheadbox:hover i{color: '.$headerphoneiconhoverColor.';}
   .contactspade-border .themetext a{color: '.$headerphoneColor.';}


  .header-social-links a span{color: '.$headersocialColor.';}
    .header-social-links a span:hover{color: '.$headersocialhoverColor.';}

 

    ul.mainmenu li a{color: '.$headermenuColor.';}

    ul.mainmenu li.current_page_item a, 
    .page-template-home-template .ht-main-navigation .current_page_item > a{color: '.$headercurrentmenuColor.';}

    header.site-header li.current_page_item > a{background-color: '.$headercurrentmenubgColor.';}

    ul.mainmenu li a:hover{color: '.$headermenuhoverColor.';}
       ul.mainmenu li a:hover{background-color: '.$headermenuhoverbgColor.';}
    .mainmenu .sub-menu li a{color: '.$headersubmenuColor.';}
    ul.sub-menu{background-color: '.$headerdropdownbgColor.';}
    ul.sub-menu{border-color: '.$headerdropdownborderColor.' !important;}
     .mainmenu .sub-menu li a:hover{color: '.$headersubmenuhoverColor.' !important;}
    ul.mainmenu ul.sub-menu li a:before {color: '.$headersubmenuarrowhoverColor.';}


     ul.sub-menu li.current_page_item a{color: '.$headercurrentsubmenuColor.';}
     ul.sub-menu li.current_page_item a{background-color: '.$headercurrentsubmenubgColor.';}

    header.site-header .medal-header{background-color: '.$headerColor.';}
    header.site-header .top-header{background-color: '.$topheaderColor.';}
   header.site-header .headershede{background-color: '.$topheadershapeColor.';}
       .ht-main-navigation .ht-menu{background-color: '.$headernavColor.';}

       .toggle-bar{background-color: '.$headertogglebarColor.';}

 .header-inquiry-btn .head-button a{color: '.$headerbtnColor.';}
 .header-inquiry-btn .head-button a{background-color: '.$headerbtnbgColor.';}
 .header-inquiry-btn .head-button a:hover{color: '.$headerbtnhoverColor.';}
  .header-inquiry-btn .head-button a:before{background-color: '.$headerbtnbghoverColor.';}


    ';

       //Inner page title color
    $innertitleColor = get_theme_mod('lz_fitness_template_innerpage_titlecolor', '#fff');
    $custom_css .= '.ht-main-title {color: '.$innertitleColor.';}';



 // Inner contact us page background color
    $ContactusdetailiconColor = get_theme_mod('lz_fitness_contactus_detailiconColor', '#444');
    $ContactusdetailtitleColor = get_theme_mod('lz_fitness_contactus_detailtitleColor', '#444');
    $ContactusdetailinfoColor = get_theme_mod('lz_fitness_contactus_detailinfoColor', '#444');
    $ContactusdetailemailColor = get_theme_mod('lz_fitness_contactus_detailemailColor', '#d0ac62');
    $ContactusdetailemailhoverColor = get_theme_mod('lz_fitness_contactus_detailemailhoverColor', '#3a4559');
    $ContactusformtitleColor = get_theme_mod('lz_fitness_contactus_formtitleColor', '#fff');
    $ContactusformbgColor = get_theme_mod('lz_fitness_contactus_formbgColor', '#d0ac62');
    $ContactusformlabelColor = get_theme_mod('lz_fitness_contactus_formlabelColor', '#fff');
    $ContactusformtextplaceColor = get_theme_mod('lz_fitness_contactus_formtextplaceColor', '#fff');
    $ContactusformborderbottomColor = get_theme_mod('lz_fitness_contactus_formborderbottomColor', '#fff');
    $ContactusformbtnColor = get_theme_mod('lz_fitness_contactus_formbtnColor', '#d0ac62');
    $ContactusformbtnbgColor = get_theme_mod('lz_fitness_contactus_formbtnbgColor', '#fff');
     $ContactusformbtnhoverColor = get_theme_mod('lz_fitness_contactus_formbtnhoverColor', '#fff');
    $ContactusformbtnbghoverColor = get_theme_mod('lz_fitness_contactus_formbtnbghoverColor', '#3a4559');
    //$ContactusformbtnborderhoverColor = get_theme_mod('lz_fitness_contactus_formbtnborderhoverColor', '#000');
     $ContactusformdtextColor = get_theme_mod('lz_fitness_contactus_formdtextColor', '#fff');
    $ContactussocialtitleColor = get_theme_mod('lz_fitness_contactus_SocialtitleColor', '#303030');
    $ContactussocialColor = get_theme_mod('lz_fitness_contactus_SocialTitleColor', '#d0ac62');
    $ContactussocialbgColor = get_theme_mod('lz_fitness_contactus_SocialbgColor', '#eaeaea');
    $ContactussocialhoverColor = get_theme_mod('lz_fitness_contactus_SocialTitlehoverColor', '#fff');
    $ContactussocialbghoverColor = get_theme_mod('lz_fitness_contactus_SocialbghoverColor', '#d0ac62');
    $ContactusmapbgColor = get_theme_mod('lz_fitness_contactus_mapbgColor', '#d0ac62');
    $custom_css .= '.contact-page-address .ht-section-tagline{color: '.$ContactusdetailtitleColor.';}
    .contact-page-address .ht-section-tagline .fa {color: '.$ContactusdetailiconColor.';}
    .contact-page-address .contact-info {color: '.$ContactusdetailinfoColor.';}
    #innerpage-box .contact-info a{color: '.$ContactusdetailemailColor.';}
     #innerpage-box .contact-info a:hover {color: '.$ContactusdetailemailhoverColor.';}
    #ht-contactus-wrap h4, #ht-contactus-wrap h4 small {color: '.$ContactusformtitleColor.';}
    #ht-contactus-wrap .contact-page-form {background-color: '.$ContactusformbgColor.';}
    #ht-contactus-wrap label {color: '.$ContactusformlabelColor.';}
     #ht-contactus-wrap input[type="text"], 
     #ht-contactus-wrap input[type="email"], 
     #ht-contactus-wrap input[type="url"], 
     #ht-contactus-wrap input[type="password"], 
     #ht-contactus-wrap input[type="search"], 
     #ht-contactus-wrap input[type="number"], 
     #ht-contactus-wrap input[type="tel"], 
     #ht-contactus-wrap input[type="range"], 
     #ht-contactus-wrap input[type="date"], 
     #ht-contactus-wrap input[type="month"], 
     #ht-contactus-wrap input[type="week"], 
     #ht-contactus-wrap input[type="time"], 
     #ht-contactus-wrap input[type="datetime"],
     #ht-contactus-wrap input[type="datetime-local"], 
     #ht-contactus-wrap input[type="color"],
     #ht-contactus-wrap select,
     #ht-contactus-wrap textarea,
     #ht-contactus-wrap input::placeholder,
     #ht-contactus-wrap textarea::placeholder,
    #ht-contactus-wrap select::placeholder {color: '.$ContactusformtextplaceColor.';}
    #ht-contactus-wrap input[type="text"], 
     #ht-contactus-wrap input[type="email"], 
     #ht-contactus-wrap input[type="url"], 
     #ht-contactus-wrap input[type="password"], 
     #ht-contactus-wrap input[type="search"], 
     #ht-contactus-wrap input[type="number"], 
     #ht-contactus-wrap input[type="tel"], 
     #ht-contactus-wrap input[type="range"], 
     #ht-contactus-wrap input[type="date"], 
     #ht-contactus-wrap input[type="month"], 
     #ht-contactus-wrap input[type="week"], 
     #ht-contactus-wrap input[type="time"], 
     #ht-contactus-wrap input[type="datetime"],
     #ht-contactus-wrap input[type="datetime-local"], 
     #ht-contactus-wrap input[type="color"],
     #ht-contactus-wrap select,
     #ht-contactus-wrap textarea {border-color: '.$ContactusformborderbottomColor.';}
    #ht-contactus-wrap input[type="submit"] {color: '.$ContactusformbtnColor.';}
     #ht-contactus-wrap input[type="submit"] {background-color: '.$ContactusformbtnbgColor.';}
     #ht-contactus-wrap input[type="submit"]:hover{color: '.$ContactusformbtnhoverColor.';}
    #ht-contactus-wrap input[type="submit"]:hover{background-color: '.$ContactusformbtnbghoverColor.';}
    #ht-contactus-wrap .contact-page-form{color: '.$ContactusformdtextColor.';}
    #ht-contactus-wrap h3, #ht-contactus-wrap h3 small {color: '.$ContactussocialtitleColor.';}
    #ht-contactus-wrap .contact-sm-links li a {color: '.$ContactussocialColor.';}
    #ht-contactus-wrap .contact-sm-links li a {background-color: '.$ContactussocialbgColor.';}
  #innerpage-box span.fa:hover, #ht-contactus-wrap .contact-sm-links li a:hover {color: '.$ContactussocialhoverColor.';}
   #ht-contactus-wrap .contact-sm-links li a:hover{background-color: '.$ContactussocialbghoverColor.';}
    .contact-mapbox iframe {background-color: '.$ContactusmapbgColor.';}';

    // slider color
    $slidertitleColor = get_theme_mod('slider_TitleColor', '#fff');
    $sliderhighlighttitleColor = get_theme_mod('slider_highlightTitleColor', '#fff');
    $sliderhighlighttitlebgColor = get_theme_mod('slider_highlightTitlebgColor', '#d0ac62');
    $slidersubtitleColor = get_theme_mod('slider_SubtitleColor', '#fff');
    $sliderbuttontextColor = get_theme_mod('slider_buttontextColor', '#fff');
    $sliderbuttonborderColor = get_theme_mod('slider_buttonborderColor', '#fff');
    $sliderbuttontexthoverColor = get_theme_mod('slider_buttontexthoverColor', '#fff');
    $sliderbtnbghoverColor = get_theme_mod('slider_buttonbghoverColor', '#d0ac62');
    $sliderbuttonborderhoverColor = get_theme_mod('slider_buttonborderhoverColor', '#d0ac62');


    $custom_css .= '.ht-slide-cap-title span, .ht-slide-cap-title {color: '.$slidertitleColor.';}
   .ht-slide-cap-desc {color: '.$slidersubtitleColor.';}
    .slider-highlight{color: '.$sliderhighlighttitleColor.';}
    .slider-highlight{background-color: '.$sliderhighlighttitlebgColor.';}
    .sliderbtn .ht-slide-cap-descmore a {color: '.$sliderbuttontextColor.';}
     .sliderbtn .ht-slide-cap-descmore a{border-color: '.$sliderbuttonborderColor.';}
    .sliderbtn .ht-slide-cap-descmore a:hover{color: '.$sliderbuttontexthoverColor.';}
    .sliderbtn .ht-slide-cap-descmore a:before{background-color: '.$sliderbtnbghoverColor.';}
    .sliderbtn .ht-slide-cap-descmore a:hover{border-color: '.$sliderbuttonborderhoverColor.';}

    ';


//gauranty color
   $gaurantyHeadingColor = get_theme_mod('lz_fitness_gauranty_HeadingColor', '#000');
   $gaurantyHeadinghighlightColor = get_theme_mod('lz_fitness_gauranty_Heading_highlightColor', '#1cb9c8');
    $gaurantyborderColor = get_theme_mod('lz_fitness_gauranty_borderColor', '#a6a6a6');
  $gaurantyTextColor = get_theme_mod('lz_fitness_gauranty_TextColor', '#464648');
   $gaurantyborderColor = get_theme_mod('lz_fitness_gauranty_curveborderColor', '#fff');
   
    $custom_css .= '.ht-section-gurantybox h2.lz-guranty-heading {color: '.$gaurantyHeadingColor.';}
    .ht-section-gurantybox h2.lz-guranty-heading span {color: '.$gaurantyHeadinghighlightColor.';}
    .ht-section-gurantybox h2.lz-guranty-heading {border-color: '.$gaurantyborderColor.';}
    .ht-section-gurantybox .lz-guranty-text{color: '.$gaurantyTextColor.';}
    .wave-border svg path{fill: '.$gaurantyborderColor.';}
    ';

// featured  section heading & text color
    $featuredHeadingColor = get_theme_mod('lz_featured_HeadingColor', '#272e3e');
    $featuredborderColor = get_theme_mod('lz_featured_borderColor', '#d0ac62');
    $featuredsubHeadingColor = get_theme_mod('lz_featured_SubHeadingColor', '#292e42');

    $featurediconColor = get_theme_mod('lz_featuredicon_Color', '#d0ac62');
    $featurediconhoverColor = get_theme_mod('lz_featurediconhover_Color', '#3a4559');

    $featuredTitleColor = get_theme_mod('lz_featuredtitle_Color', '#282d40');
    $featuredTitlehoverColor = get_theme_mod('lz_featuredtitlehover_Color', '#d0ac62');
    $featuredTitleborderColor = get_theme_mod('lz_featuredtitleborder_Color', '#d0ac62');
    $featuredTitleborderhoverColor = get_theme_mod('lz_featuredtitleborderhover_Color', '#d0ac62');

    $featuredTextColor = get_theme_mod('lz_featuredtext_Color', '#303030');
    
    $custom_css .= '.lz-featured-Post-heading, .lz-featured-Post-heading small{color: '.$featuredHeadingColor.';}
    #featured-post-section .ht-section-title:after{border-color: '.$featuredborderColor.';}
    #featured-post-section .lz-featured-subheading{color: '.$featuredsubHeadingColor.';}

    #featured-post-section .featured-icon span{color: '.$featurediconColor.';}
    #featured-post-section .featured-post-box:hover .featured-icon span{color: '.$featurediconhoverColor.';}

    #featured-post-section .featured-post h5{color: '.$featuredTitleColor.';}

   #featured-post-section .featured-post-box:hover .featured-data h5{color: '.$featuredTitlehoverColor.';}
   #featured-post-section .featurborder:after{background-color: '.$featuredTitleborderColor.';}
  #featured-post-section .featured-post-box:hover .featurborder:after{background-color: '.$featuredTitleborderhoverColor.';}

    #featured-post-section .featured-post-box .featured-data p {color: '.$featuredTextColor.';}
     ';


// featured  inner page  color

    $featuredinnerTitleColor = get_theme_mod('lz_featuredinnertitle_Color', '#3a4559');
    $featuredinnerTextColor = get_theme_mod('lz_featuredinnertext_Color', '#383838');
      $featuredinnerTitlehoverColor = get_theme_mod('lz_featuredinnertitlehover_Color', '#d0ac62');

    $featuredinnerboxbgColor = get_theme_mod('lz_featuredboxinnerbg_Color', '#fff');

    $featuredinnerboxborderColor = get_theme_mod('lz_featuredboxinnerborder_Color', '#3a4559');
    
    $custom_css .= '
   #innerpage-box .featured-post h5{color: '.$featuredinnerTitleColor.';}
   
    #innerpage-box .featured-post-box .featured-data p {color: '.$featuredinnerTextColor.';}
    #innerpage-box .featured-post-box:hover .featured-data h5{color: '.$featuredinnerTitlehoverColor.';}
   #innerpage-box .featured-post-box .featured-data{background-color: '.$featuredinnerboxbgColor.';}

#innerpage-box .featured-post-box .featured-data:after{background-color: '.$featuredinnerboxborderColor.';}
';



// featured  New section heading & text color
    $featurednewHeadingColor = get_theme_mod('services_new_HeadingColor', '#fff');
    /*if($primColor == $featurednewHeadingColor){
        $featurednewHeadingColor = $headingColor;
    }*/
    $featurednewTitleColor = get_theme_mod('services_new_TitleColor', '#fff');
    $featurednewIcontextColor = get_theme_mod('services_new_IconColor', '#303030');
    $featurednewDescColor = get_theme_mod('services_new_DescColor', '#fff');
    $custom_css .= '.lz-featured-new-heading{color: '.$featurednewHeadingColor.';}
    .featured-new-post h5{color: '.$featurednewTitleColor.';}
    #featured-new-section .featured-new-icon span{color: '.$featurednewIcontextColor.';}
    .featured-new-excerpt{color: '.$featurednewDescColor.';}';

// featured product section heading & text color
    $featuredproductHeadingColor = get_theme_mod('services_product_HeadingColor', '#303030');
    $featuredproductHeadingborderColor = get_theme_mod('services_product_HeadingborderColor', '#01beff');
    $featuredproductHeadingbordericonColor = get_theme_mod('services_product_HeadingbordericonColor', '#ff6796');

    $featuredproductboxColor = get_theme_mod('services_product_boxColor', '#fff');

    $featuredproductNameColor = get_theme_mod('services_product_NameColor', '#444444');

    $featuredproductdelPriceColor = get_theme_mod('services_product_delpriceColor', '#444444');
    $featuredproductinsPriceColor = get_theme_mod('services_product_inspriceColor', '#444444');
    $featuredproductinsPricebgColor = get_theme_mod('services_product_inspricebgColor', '#96e4ff');

    $featuredproductbtntextColor = get_theme_mod('services_product_btntextColor', '#fff');
    $featuredproductbtnbgColor = get_theme_mod('services_product_btnbgColor', '#01beff');

    $featuredproductbtntexthoverColor = get_theme_mod('services_product_btntexthoverColor', '#fff');
    $featuredproductbtnbghoverColor = get_theme_mod('services_product_btnbghoverColor', '#ff6796');

    $featuredproductsliderleftColor = get_theme_mod('services_product_sliderleftColor', '#bfbfbf');
    $featuredproductsliderleftborderColor = get_theme_mod('services_product_sliderleftborderColor', '#bfbfbf');
    $featuredproductsliderlefthoverColor = get_theme_mod('services_product_sliderlefthoverColor', '#01beff');
    $featuredproductsliderleftborderhoverColor = get_theme_mod('services_product_sliderleftborderhoverColor', '#01beff');

    $featuredproductsliderrightColor = get_theme_mod('services_product_sliderrightColor', '#bfbfbf');
    $featuredproductsliderrightborderColor = get_theme_mod('services_product_sliderrightborderColor', '#bfbfbf');
    $featuredproductsliderrighthoverColor = get_theme_mod('services_product_sliderrighthoverColor', '#01beff');
    $featuredproductsliderrightborderhoverColor = get_theme_mod('services_product_sliderrightborderhoverColor', '#01beff');

    $featuredproductcurveColor = get_theme_mod('lz_fitness_featiredprod_curveColor', '#fff');

    $custom_css .= '#featured-product-section .lz-featured-product-heading{color: '.$featuredproductHeadingColor.';}
    #featured-product-section .dlab-separator[class*="style-"]:before ,
   #featured-product-section .dlab-separator[class*="style-"]:after{border-color: '.$featuredproductHeadingborderColor.';}
   #featured-product-section .dlab-separator.style-icon i{color: '.$featuredproductHeadingbordericonColor.';}  

       #featured-product-section .total-product-title-wrap{background-color: '.$featuredproductboxColor.';}

    .total-product-title-wrap h6{color: '.$featuredproductNameColor.';}
   #recent-porduct .price del span.woocommerce-Price-amount{color: '.$featuredproductdelPriceColor.';}

    #recent-porduct .price ins span.woocommerce-Price-amount{color: '.$featuredproductinsPriceColor.';}
    #recent-porduct .price ins span.woocommerce-Price-amount{background-color: '.$featuredproductinsPricebgColor.';}


   #recent-porduct .add-to-cart a{color: '.$featuredproductbtntextColor.';}
  #recent-porduct .add-to-cart a{background-color: '.$featuredproductbtnbgColor.';}

   #recent-porduct .add-to-cart a:hover{color: '.$featuredproductbtntexthoverColor.';}
   #recent-porduct .add-to-cart a:before{background-color: '.$featuredproductbtnbghoverColor.';}

    #featured-product-section .ctrl-btn.pro-prev{color: '.$featuredproductsliderleftColor.';}
    #featured-product-section .ctrl-btn.pro-prev{border-color: '.$featuredproductsliderleftborderColor.';}
   #featured-product-section .ctrl-btn.pro-prev:hover{color: '.$featuredproductsliderlefthoverColor.';}
   #featured-product-section .ctrl-btn.pro-prev:hover{border-color: '.$featuredproductsliderleftborderhoverColor.';}

     #featured-product-section .ctrl-btn.pro-next{color: '.$featuredproductsliderrightColor.';}
    #featured-product-section .ctrl-btn.pro-next{border-color: '.$featuredproductsliderrightborderColor.';}
   #featured-product-section .ctrl-btn.pro-next:hover{color: '.$featuredproductsliderrighthoverColor.';}
   #featured-product-section .ctrl-btn.pro-next:hover{border-color: '.$featuredproductsliderrightborderhoverColor.';}

   .section-waveshape svg.header-separator-svg{fill: '.$featuredproductcurveColor.';}

    ';

    // Project  section heading & text color
    $projectHeadingColor = get_theme_mod('lz_fitness_project_HeadingColor', '#303030');
  $projectHeadingborderColor = get_theme_mod('lz_fitness_project_HeadingborderColor', '#1cb9c8');

$projectProjecttitleColor = get_theme_mod('lz_fitness_project_ProjecttitleColor', '#ffffff');
$projectProjecttitlebgsColor = get_theme_mod('lz_fitness_project_ProjecttitlebgsColor', '#1cb9c8');
$ProjectoverlaybgsColor = get_theme_mod('lz_fitness_project_ProjectoverlaybgsColor', '#1cb9c8');
$projectviewbtnColor = get_theme_mod('lz_fitness_project_viewbtnColor', '#000');
$projectviewbtnhoverColor = get_theme_mod('lz_fitness_project_viewbtnhoverColor', '#ffffff');

$projectbtntextclrColor = get_theme_mod('lz_fitness_project_btntextclrColor', '#fff');
$projectbtntextarrowclrColor = get_theme_mod('lz_fitness_project_btntextarrowclrColor', '#fff');
$projectbtnbgssclrColor = get_theme_mod('lz_fitness_project_btnbgssclrColor', '#1cb9c8');
$projectbtntexthoverclrColor = get_theme_mod('lz_fitness_project_btntexthoverclrColor', '#ffffff');
$projectbtntextarrowhoverclrColor = get_theme_mod('lz_fitness_project_btntextarrowhoverclrColor', '#1cb9c8');
$projectbtnbgsshoverclrColor = get_theme_mod('lz_fitness_project_btnbgsshoverclrColor', '#3a3c3d');

$custom_css .= '
#ht-project-section .ht-section-title-tagline:before, 
   #ht-project-section .ht-section-title-tagline:after,  
   #ht-project-section .dlab-separator[class*="style-"]:before, 
    #ht-project-section .dlab-separator[class*="style-"]:after{border-color: '.$projectHeadingborderColor.';}

h2.ht-section-title.lz-project-heading{color: '.$projectHeadingColor.';} 
.ht-project-member .team-prof .post-title{color: '.$projectProjecttitleColor.';} 
.ht-project-member .team-prof{background-color: '.$projectProjecttitlebgsColor.';} 
.ht-project-member .project-main-box{background-color: '.$ProjectoverlaybgsColor.';} 
section#ht-project-section .project-button a, main#innerpage-box .project-button a{color: '.$projectviewbtnColor.';}
section#ht-project-section .project-button a:hover, main#innerpage-box .project-button a:hover {color: '.$projectviewbtnhoverColor.';}
#ht-project-section .readmore-btn a{color: '.$projectbtntextclrColor.';} 
#ht-project-section .readmore-btn{background-color: '.$projectbtnbgssclrColor.';}
section#ht-project-section i.fa.fa-arrow-right{color: '.$projectbtntextarrowclrColor.';}
#ht-project-section .readmore-btn a:hover{color: '.$projectbtntexthoverclrColor.';}
#ht-project-section .readmore-btn:before, 
#ht-project-section .readmore-btn:hover{background-color: '.$projectbtnbgsshoverclrColor.';}
section#ht-project-section .readmore-btn a:hover i.fa.fa-arrow-right{color: '.$projectbtntextarrowhoverclrColor.';} ';  


 //Inner  Project  color
$projectProjectinnertitleColor = get_theme_mod('lz_fitness_project_ProjectinnertitleColor', '#ffffff');
$projectProjectinnertitlebgsColor = get_theme_mod('lz_fitness_project_ProjectinnertitlebgsColor', '#1cb9c8');
$ProjectoverlayinnerbgsColor = get_theme_mod('lz_fitness_project_ProjectoverlayinnerbgsColor', '#1cb9c8');
$projectviewbtninnerColor = get_theme_mod('lz_fitness_project_innerviewbtnColor', '#000');
$projectviewbtninnerhoverColor = get_theme_mod('lz_fitness_project_innerviewbtnhoverColor', '#ffffff');


$custom_css .= '
#innerpage-box .ht-project-member .team-prof .post-title{color: '.$projectProjectinnertitleColor.';} 
#innerpage-box .ht-project-member .team-prof{background-color: '.$projectProjectinnertitlebgsColor.';} 
#innerpage-box .ht-project-member .project-main-box{background-color: '.$ProjectoverlayinnerbgsColor.';} 
#innerpage-box .project-button a, main#innerpage-box .project-button a{color: '.$projectviewbtninnerColor.';}
#innerpage-box .project-button a:hover, main#innerpage-box .project-button a:hover {color: '.$projectviewbtninnerhoverColor.';}'; 


	//team heading & text color
     $teamHeadingColor = get_theme_mod('team_HeadingColor', '#444444');
      $teamHeadingborderColor = get_theme_mod('team_HeadingborderColor', '#01beff');
    $teamHeadingbordericonColor = get_theme_mod('team_HeadingbordericonColor', '#ff6796');

    $teamTitleColor = get_theme_mod('team_TitleColor', '#444444');
     $teamTitlehoverColor = get_theme_mod('team_TitlehoverColor', '#ff6796');
    $teamDeseColor = get_theme_mod('team_DesColor', '#2f2f2f');
    $teamborderColor = get_theme_mod('team_borderColor', '#01befe');

      $teamtextColor = get_theme_mod('team_textColor', '#2e2e2e');

    $teamcurveColor = get_theme_mod('team_curveColor', '#fff');

    $custom_css .= 'h2.ht-section-title.lz-team-heading{color: '.$teamHeadingColor.';} 
     #ht-team-section .dlab-separator[class*="style-"]:before ,
 #ht-team-section .dlab-separator[class*="style-"]:after{border-color: '.$teamHeadingborderColor.';}
  #ht-team-section .dlab-separator.style-icon i{color: '.$teamHeadingbordericonColor.';}  

    #ht-team-section .ht-team-member h6{color: '. $teamTitleColor.';}
    #ht-team-section .ht-team-member:hover h6{color: '. $teamTitlehoverColor.';}

    #ht-team-section .team-member-designation,  .ht-team-member .ht-team-designation {color: '. $teamDeseColor.';}

   #ht-team-section .team-member-designation:after{background-color: '. $teamborderColor.';}

      #ht-team-section .team-content{color: '. $teamtextColor.';}

    .teamwavecurve svg.header-separator-svg{fill: '. $teamcurveColor.';}
    ';


    //Inner page team heading & text color
    $teaminnerimgborderColor = get_theme_mod('teaminner_imgborderColor', '#3a4559');
    $teaminnerimghighlightborderColor = get_theme_mod('teaminner_imghighlightborderColor', '#d0ac62');

    $teaminnerTitleColor = get_theme_mod('teaminner_TitleColor', '#3a4559');
     $teaminnerTitlehoverColor = get_theme_mod('teaminner_TitlehoverColor', '#d0ac62');
    $teaminnerDeseColor = get_theme_mod('teaminner_DesColor', '#000');
      $teaminnerTextColor = get_theme_mod('teaminner_TextColor', '#2e2e2e');

    $teaminnerborderColor = get_theme_mod('teaminner_borderColor', '#3a4559');
     $teaminnerhighlightborderColor = get_theme_mod('teaminner_highlightborderColor', '#d0ac62');

    $teaminnerSocialColor = get_theme_mod('teaminner_SocialColor', '#3a4559');
    $teaminnerSocialborderColor = get_theme_mod('teaminner_SocialborderColor', '#3a4559');
    $teaminnerSocialhoverColor = get_theme_mod('teaminner_SocialhoverColor', '#d0ac62');
    $teaminnerSocialborderhoverColor = get_theme_mod('teaminner_SocialborderhoverColor', '#d0ac62');

    $custom_css .= '
    #innerpage-box .ht-team-member .spinner{border-color: '. $teaminnerimgborderColor.';}
      #innerpage-box .ht-team-member .spinner{border-right-color: '. $teaminnerimghighlightborderColor.';}
      #innerpage-box .ht-team-member .spinner{border-bottom-color: '. $teaminnerimghighlightborderColor.';}

    #innerpage-box .ht-team-member h6, #innerpage-box .ht-team-member h6 small{color: '. $teaminnerTitleColor.';}
   #innerpage-box .ht-team-member:hover h6{color: '. $teaminnerTitlehoverColor.';}

   #innerpage-box .team-member-designation{color: '. $teaminnerDeseColor.';}
  #innerpage-box .team-content{color: '. $teaminnerTextColor.';}

  #innerpage-box .ht-team-social-id{border-top-color: '. $teaminnerborderColor.';}
  #innerpage-box .ht-team-member:hover .teaminnerborder:after{background-color: '. $teaminnerhighlightborderColor.';}


   #innerpage-box .ht-team-social-id a{color: '. $teaminnerSocialColor.';}
  #innerpage-box .ht-team-social-id a{border-color: '. $teaminnerSocialborderColor.';}

  #innerpage-box .ht-team-social-id a:hover{color: '. $teaminnerSocialhoverColor.';}
  #innerpage-box .ht-team-social-id a:hover{border-color: '. $teaminnerSocialborderhoverColor.';}

    ';

    //Inner testimonials heading & text color

$testimonialsinnerTextColor = get_theme_mod('testimonialalsinner_TextColor', '#fff');

 $testimonialsinnerTitleColor = get_theme_mod('testimonialalsinner_TitleColor', '#fff');
 $testimonialsinnerTitlehoverColor = get_theme_mod('testimonialalsinner_TitlehoverColor', '#3b4559');

  $testimonialsinnerdesgColor = get_theme_mod('testimonialalsinner_desgColor', '#fff');

$testimonialsinnerboxColor = get_theme_mod('testimonialalsinner_boxColor', '#3b4559');
$testimonialsinnerboxhoverColor = get_theme_mod('testimonialalsinner_boxhoverColor', '#d0ac62');

$testimonialsinnerboxhighlightborderColor = get_theme_mod('testimonialalsinner_boxhighlightborderColor', '#d0ac62');

$testimonialsinnerboxhighlightborderhoverColor = get_theme_mod('testimonialalsinner_boxhighlightborderhoverColor', '#3b4559');

    $custom_css .= '
  #innerpage-box .test-content{color: '. $testimonialsinnerTextColor.';} 

  #innerpage-box .ht-test-member h6.member-name, #innerpage-box .ht-test-member h6.member-name small{color: '. $testimonialsinnerTitleColor.';}
    #innerpage-box .ht-test-member:hover h6.member-name, #innerpage-box .ht-test-member:hover h6.member-name small{color: '. $testimonialsinnerTitlehoverColor.';}

 #innerpage-box .ht-test-member .text-designation{color: '. $testimonialsinnerdesgColor.';}

  #innerpage-box .ht-test-member{background-color: '. $testimonialsinnerboxColor.';}

#innerpage-box .ht-test-member:hover{background-color: '. $testimonialsinnerboxhoverColor.';}
#innerpage-box .ht-test-member:before{border-top-color: '. $testimonialsinnerboxhighlightborderColor.';}
#innerpage-box .ht-test-member:after{border-bottom-color: '. $testimonialsinnerboxhighlightborderColor.';}

#innerpage-box .ht-test-member:hover:before{border-top-color: '. $testimonialsinnerboxhighlightborderhoverColor.';}
#innerpage-box .ht-test-member:hover:after{border-bottom-color: '. $testimonialsinnerboxhighlightborderhoverColor.';}
    ';



    //faq
    $faqHeadingColor = get_theme_mod('lz_fitness_faq_HeadingColor', '#161616');
    $faqSubHeadingColor = get_theme_mod('lz_fitness_faq_TitleColor', '#161616');
    $faqTextColor = get_theme_mod('lz_fitness_faq_TextColor', '#333333');
    $custom_css .= '.faq-heading{color: '.$faqHeadingColor.';} 
      .faq h6{color: '.$faqSubHeadingColor.';} 
      .faq-description {color: '.$faqTextColor.';}';
    
	//gym heading & text color
    // timing and address section
     $timingHeadingColor = get_theme_mod('lz_fitness_gym_HeadingColor', '#323232');
     $timingTextColor = get_theme_mod('lz_fitness_gym_TextColor', '#232222');
    $custom_css .= '.lz-gym-heading{color: '.$timingHeadingColor.';} 
    .lz-fitness-time .days-time-day-time{color: '.$timingTextColor.';}';

	//plan heading & text color
    $planHeadingColor = get_theme_mod('lz_fitness_plan_HeadingColor', '#2b2b2b');
     $planTextColor = get_theme_mod('lz_fitness_plan_TextColor', '#4d4d4d');
    $custom_css .= '#ht-princing-post-section .lz-plan-heading {color: '.$planHeadingColor.';} #pricing-page .ht-princing-excerpt ul li{color: '.$planTextColor.';}
    ';

$custom = get_post_custom( $post->ID );

    $image_id = get_post_meta( $post->ID, '_listing_image_id', true );
    $thumbnail_html = wp_get_attachment_image_src( $image_id, 'larger');

    // echo '<pre />'; print_r($custom);
    if(!empty($custom['useColor']) && $custom['useColor'][0]==1){
        if( isset( $custom['page_bg_color'][0] ) ){
            $custom_css .= '#innerpage-box{background-color:'.$custom['page_bg_color'][0].';}';
        }
    }elseif(!empty($custom['useColor']) && $custom['useColor'][0]==0){
        if( isset( $custom['_listing_image_id'][0]) ){
            $custom_css .= '#innerpage-box{background-image: url(\''.$thumbnail_html[0].'\');background-position: center;background-attachment: fixed;background-origin: content-box;background-size: cover;}';
        }
    }else {
        if( isset( $custom['_listing_image_id'][0]) ){
            $custom_css .= '#innerpage-box{background:none}';
        }
    }

    $custom_css .='.border{border:1px solid #fff;}';

    return punte_css_strip_whitespace($custom_css);
}