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

function total_dymanic_styles(){
    global $post;
	$primColor = get_theme_mod( 'lz_fitness_template_color', '#7854c0' );  

    $navresponsivebgColor = get_theme_mod( 'header_navresponsivebgColor', '#fff' );
    $navresponsiveborderrightColor = get_theme_mod( 'header_navresponsiveborderrightColor', '#000' );
    $navresponsiveOffbtnColor = get_theme_mod( 'header_navresponsiveoffbtnColor', '#000' );
    $navresponsiveOnbtnColor = get_theme_mod( 'header_navresponsiveonbtnColor', '#fff' );
    $navresponsiveOnbtnbgColor = get_theme_mod( 'header_navresponsiveonbtnbgColor', '#7854c0' );


	// $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', '22');
    // echo '<br> text font '.
	$textFontRow = get_theme_mod('lz_fitness_general_text_font', '1');

$headerlogoTmargin = get_theme_mod('pages_logoTmargin', '0px');
 $headerlogoBmargin = get_theme_mod('pages_logoBmargin', '0px');
 $headerlogoLmargin = get_theme_mod('pages_logoLmargin', '0px');
 $headerlogoRmargin = get_theme_mod('pages_logoRmargin', '0px');
 $headerlogomaxwidth = get_theme_mod('pages_logomaxwidth', '100%');

 $headerTpadding = get_theme_mod('header_Tpadding', '5px');
 $headerBpadding = get_theme_mod('header_Bpadding', '5px');
 $headerLpadding = get_theme_mod('header_Lpadding', '0px');
 $headerRpadding = get_theme_mod('header_Rpadding', '0px');

  $pageH1Font = get_theme_mod('pages_h1font', '28px');
    $pageH2Font = get_theme_mod('pages_h2font', '19px');
    $pageH3Font = get_theme_mod('pages_h3font', '24px');
    $pageH4Font = get_theme_mod('pages_h4font', '22px');
    $pageH5Font = get_theme_mod('pages_h5font', '20px');
    $pageH6Font = get_theme_mod('pages_h6font', '18px');

 $innerpagesboxtoppadding = get_theme_mod('innerpagesbox_toppadding', '2em');
 $innerpagesboxbottompadding = get_theme_mod('innerpagesbox_bottompadding', '1em');
 $innerpagesboxleftpadding = get_theme_mod('innerpagesbox_leftpadding', '0px');
 $innerpagesboxrightpadding = get_theme_mod('innerpagesbox_rightpadding', '0px');


    $header = get_theme_mod('header_textcolor', '#666666'); //header color
    $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, .contact-title h2, .ht-slide-cap-title span, #ht-princing-post-section .ht-princing-icon,h1, h2, h3, h4, h5, h6,#pricing-page .ht-princing-icon {font-family: $headingFont;}
        #ht-masthead { 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};}

.logobox img{margin-top: $headerlogoTmargin;}
    .logobox img{margin-bottom: $headerlogoBmargin;}
    .logobox img{margin-left: $headerlogoLmargin;}
    .logobox img{margin-right: $headerlogoRmargin;}
  .header-transparent .logobox img, .header-transparent .reslogobox img{max-width: $headerlogomaxwidth;}

     .lower-header{padding-top: $headerTpadding;}
    .lower-header{padding-bottom: $headerBpadding;}
    .lower-header{padding-left: $headerLpadding;}
    .lower-header{padding-right: $headerRpadding;}

 .page-template-default #innerpage-box #content-box h1, 
   .page-template #innerpage-box #content-box h1,
   .ht-main-title, .single-productpage .ht-main-title, 
   .woocommerce div.product .product_title{font-size: $pageH1Font;}

    .page-template-default #innerpage-box #content-box h2, 
   .page-template #innerpage-box #content-box h2, 
   .woocommerce ul.products li.product .woocommerce-loop-product__title,
   .related.products h2{font-size: $pageH2Font;}

    .page-template-default #innerpage-box #content-box h3, 
   .page-template #innerpage-box #content-box h3, 
   div#sitemap-box h3,.widget-area h3.widget-title,
   #ht-contactus-wrap h3{font-size: $pageH3Font;}

    .page-template-default #innerpage-box #content-box h4, 
   .page-template #innerpage-box #content-box h4, 
   .widget-area h4.widget-title, 
   #blog-box h4,
   #ht-contactus-wrap h4{font-size: $pageH4Font;}


    .page-template-default #innerpage-box #content-box h5, 
   .page-template #innerpage-box #content-box h5{font-size: $pageH5Font;}

    .page-template-default #innerpage-box #content-box h6, 
   .page-template #innerpage-box #content-box h6, 
   .socialMedia h6,
.page-template-default #innerpage-box #content-box .testimonial-content-box h6
   {font-size: $pageH6Font;}


#innerpage-box {padding-top: $innerpagesboxtoppadding;}
#innerpage-box{padding-bottom: $innerpagesboxbottompadding;}
#innerpage-box{padding-left: $innerpagesboxleftpadding;}
#innerpage-box{padding-right: $innerpagesboxrightpadding;}


            ";

    $custom_css .= "
    button,
    input[type='button'],
    input[type='reset'],    
    .nav-previous a,
    .nav-next a,
    .pagination .page-numbers,
    .ht-progress-bar-length,
    
    .ht-service-icon,    
    .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,
    .woocommerce-MyAccount-navigation-link a,
    #ht-princing-post-section .ht-princing-icon,
    #ht-princing-post-section .plan-amount,
    .ht-princing-link a:hover,
    #ht-newslatter-section .newsletter-form-box,
    .readmore a:hover,
	.pagingation .current,      
    .wpcf7-submit,
	#featured-pages-section .featured-post a.btn,
	#featured-post-section .featured-icon,
	
	 .pftab .slider,
	 .ht-main-navigation ul ul,
	 #innerpage-box .featured-post a.btn,
	 .ht-slide-caption a,
	 .widget-area .widget-title,
	.page-template-home-template .ht-main-navigation .current > a,
	.main-header .phone-box,
	.post-right .blog-read-more a,
	.ht-appintment-member-wrap input[type='submit'],
	.carousel-indicators .active,
	#ht-project-section .readmore-btn a:hover,
	main#innerpage-box .ht-team-social-id a,
	section#ht-newsletter-section,
	.upperbox,
	.pagingation a:hover,
	#blogmain-box .blog-read-more a:hover,
	.ht-blog-date,
	button:hover, input[type='button']:hover, input[type='reset']:hover, input[type='submit'],
	section#facility-content-section span.fa,
	.woocommerce ul.products li.product .button,
    .inner-blog-post .socialMedia a:hover,
    .socialMedia a:hover,
     .social-profile-icons ul li a:hover

    {
    	background:{$primColor};
    }

    
    .ht-post-info .entry-date span.ht-day,
    .entry-categories .fa,
    .widget-area a:hover,
    .comment-list a:hover,
    .no-comments,
    .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,    
	
	#ht-blog-section .blog-date i,
	.featured-link a,
	
	sidebar_list a,
	.widget-area a,
	
	#ht-about-us-section h2.ht-section-title span, 
	
	.tabset > input:checked + label,
	#our-courses-section .featured-post h5 a:hover,
	#our-courses-section .featured-icon a span:hover,
	.pftab .nav-tabs .active a,
	.pftab .slider:after,	
	
	.contact-border div:last-child,
   .blog-read-more a,
	.tab-content h6.faq-title,
    #secondary ul li a:hover,
    #secondary .tagcloud a:hover,
    .contact-sm-links li a:hover,
    #innerpage-box .featured-post h5 a:hover,
	 h6.faq-title:before,
    h2.ht-section-title.lz-team-heading,
    #content-box ul li:before,
    section#ht-result-section h2.ht-section-title,
    section#ht-result-section .ht-section-subtagline span,
    h2.ht-section-title.lz-gallery-heading,
    #ht-contact-section h2,
    .ht-blog-excerpt h5 a,
    #ht-about-us-section h2.ht-section-title,
    .facility-icon,
    .breadcrumbbox a,
    .header-social-links a:hover,
    .ht-main-navigation li:hover > a,
    .ht-main-navigation li.current_page_item a,
.ht-blog-excerpt h5 a,
section#ht-appintment-section span.fa,
#innerpage-box .ht-team-member .ht-title-wrap h6,
section#ht-about-us-section span.fa:hover,
div#ht-top-footer .textwidget i,
footer#ht-colophon a:hover,
.socialMedia a:hover,
main#innerpage-box .text-designation,
#ht-contactus-wrap input[type='submit'],
section#ht-about-us-section button,
#content-box .wc-proceed-to-checkout a:hover,
#innerpage-box #ht-contactus-wrap .contact-page-form input[type='submit']

    {
    	color:{$primColor};
    }

    .ht-main-navigation ul ul,
    .ht-featured-link a,
    .ht-counter,
    .ht-testimonial-wrap .bx-wrapper img,
	#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,
	
	#featured-pages-section .featured-post a.btn:hover,	
	#our-courses-section .featured-post:hover .featured-icon,
	#our-courses-section .featured-post:hover .featured-icon span:before,
	#our-courses-section .featured-post:hover .featured-icon span:after,
    #our-courses-section .featured-icon:hover:before,
    #our-courses-section .featured-icon:hover:after,
    #innerpage-box .featured-post a.btn:hover,
    #blog-box .blog-read-more a,
    #featured-pages-section .featured-post a.btn,
    #ht-masthead .main-header,
    .blog-read-more a:hover,
    .carousel-indicators li,
    .readmore-btn a,
    #ht-project-section .readmore-btn a:hover,
    .project-button a,
    #blog-box .blog-read-more a,
    #blogmain-box .blog-read-more a,
    section#ht-about-us-section button

    {
    	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: 1000px){
    	.toggle-bar,
    	.ht-main-navigation .ht-menu{
    		background:{$primColor}
    	}
    }

 @media screen and (max-width: 990px){
        
        div#navbarNavDropdown{
             background-color:{$navresponsivebgColor}
        }
        div#navbarNavDropdown{
             border-right-color:{$navresponsiveborderrightColor}
        }
        .header-seo.header-transparent .navbar-toggler span{
             background-color:{$navresponsiveOffbtnColor}
        }
       .header-seo.header-transparent .navbar-toggler:hover span{
             background-color:{$navresponsiveOnbtnColor}
        }
        .header-transparent .navbar-toggler:hover{
             background-color:{$navresponsiveOnbtnbgColor}
        }
        
    }


    ";

    // 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', '#000');
    $custom_css .='
   
	.featured-post:before{border-color: '.$secondary.';}
	.featured-post:after{border-color: '.$secondary.';}
	.ht-section-title:before{border-color: '.$secondary.';}
	.ht-section-title:after{border-color: '.$secondary.';}	
	#ht-about-us-section .aboutbox-img:before,
	.feature-border:after
	{border-color: '.$secondary.';}
	
	.item blockquote h6:before,
	
	.blog-date,
	
	.widget-area a:hover,
	.ht-contact-member-wrap label
	{color:'.$secondary.';}
	
	
	
	.widget-area .widget-title:after,
    h3#reply-title:after,
    h3.comments-title:after,
	#content-box ol li:before,
	.page-main-header,
	#ht-contactus-wrap .contact-page-form,
	.ht-slide-button a
	{background-color:'.$primColor.'}


   .secondry-bg,
   #blog-box .blog-read-more a:hover,
   #commentsAdd input[type="submit"]:hover,
   #respond input[type="submit"]:hover,
   button:hover, input[type="button"]:hover, 
   input[type="reset"]:hover, 
   input[type="submit"]:hover,
   div#secondary input[type="submit"]:hover,
   #innerpage-box .widget_calendar tfoot tr td a:hover,
   section#inner-blog-section .readMore,
   div#sitemap-box h3,
   .woocommerce ul.products li.product .button:hover,
   .woocommerce #content div.product .woocommerce-tabs ul.tabs li, .woocommerce div.product .woocommerce-tabs ul.tabs li, .woocommerce-page #content div.product .woocommerce-tabs ul.tabs li, .woocommerce-page div.product .woocommerce-tabs ul.tabs li,
   .ht-blog-thumbnail a:after,
   .woocommerce ul.products li.product:hover .button:hover,
   .woocommerce a.button.alt:hover, 
   .woocommerce button.button:hover,
   .woocommerce button.button.alt:hover
   .woocommerce #respond input#submit:hover,
    .woocommerce a.button:hover,
     .woocommerce button.button:hover, 
     .woocommerce input.button:hover,
     .woocommerce button.button.alt:hover,
     #blog-box .inner-blog-img,
     #blog-box img,
     .woocommerce #respond input#submit:hover, .woocommerce-page #respond input#submit:hover,
 .select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted[data-selected],
   .social-profile-icons ul li a,
    .inner-blog-post .socialMedia a,

.woocommerce .select2-container--default .select2-results__option--highlighted[aria-selected], .woocommerce .select2-container--default .select2-results__option--highlighted[data-selected],
.pagingation a,
#ht-contactus-wrap input[type="submit"]:hover,
.contact-mapbox iframe

   {
        background-color:'.$secondary.'
    }    
    #blog-box .blog-read-more a:hover,
    .woocommerce .widget_price_filter .ui-slider .ui-slider-handle,
    .woocommerce ul.products li.product .button:hover, 
    .socialMedia a:hover ,
    .woocommerce ul.products li.product:hover .button:hover,
    .woocommerce a.button.alt:hover

    .woocommerce #respond input#submit:hover, 
    .woocommerce a.button:hover,
     .woocommerce button.button:hover, 
     .woocommerce input.button:hover,
     .woocommerce button.button.alt:hover,
     .inner-blog-post .socialMedia a,
     .single_post .post-date-publishable

     {border-color: '.$secondary.';}
 
    #blog-box h4, #blog-box h4 small, #blog-box .ht-blog-date .fa, #blog-box .blog-read-more a {color:'.$secondary.';}     
 
    
     .product_list_widget .amount,
     .product_list_widget del .amount,
     .woocommerce ul.products li.product .total-product-title-wrap small,
     .total-product-title-wrap,
     .woocommerce div.product .product_title small,
     .woocommerce div.product .product_title,
     section#inner-blog-section h2.title:hover small,
     .woocommerce ul.products li.product .price del,
     .widget-area ul ul li.current_page_item > a,
     .woocommerce p.stars a,
     .woocommerce .star-rating::before,
     #innerpage-box table.shop_table_responsive tr.woocommerce-cart-form__cart-item td a,
     .woocommerce table.shop_table td,
     #content-box .socialMedia a,
     #content-box .socialMedia a i,

    .widget-area ul ul li.current_page_item > a:hover,
     #innerpage-box .widget_calendar table tbody td#today,
     #innerpage-box .widget_calendar tbody tr td a,

    #secondary ul li a:hover,
.widget-area a:hover,
a:hover,
#content-box a:hover,
div#content-box a.post-edit-link:hover,
#content-box .wc-proceed-to-checkout a,
div#content-box .woocommerce-MyAccount-content p a:hover,
div#content-box header.woocommerce-Address-title.title a:hover,
 .woocommerce-MyAccount-navigation-link.is-active a:hover
     {color: '.$secondary.';}

    ';
    // ENDS SECONDARY COLOR CSS


    //Inner page title color
    $innertitleColor = get_theme_mod('luzuk_template_innerpage_titlecolor', '#fff');
    $innertitlebgColor = get_theme_mod('luzuk_template_innerpage_bgcolor', '#7854c0');
    $innerbreadcrumbtitleColor = get_theme_mod('luzuk_template_innerpage_breadcrumbtitlecolor', '#000');
    $innerbreadcrumbcurrenttitleColor = get_theme_mod('luzuk_template_innerpage_breadcrumbcurrenttitlecolor', '#7854c0');
    $innerbreadcrumbcurrenttitlehovercolor = get_theme_mod('luzuk_template_innerpage_breadcrumbcurrenttitlehovercolor', '#000');
    $innerbreadcrumbbgeColor = get_theme_mod('luzuk_template_innerpage_breadcrumbbgcolor', '#fff');
    $innerbreadcrumbbgbordercolor = get_theme_mod('luzuk_template_innerpage_breadcrumbbgbordercolor', '#7854c0');

$innerpagecontentboxtitleh1Color = get_theme_mod('template_innerpage_contentboxtitleh1color', '#333333');
    $innerpagecontentboxtitleh2Color = get_theme_mod('template_innerpage_contentboxtitleh2color', '#333333');
    $innerpagecontentboxtitleh3Color = get_theme_mod('template_innerpage_contentboxtitleh3color', '#7854c0');
    $innerpagecontentboxtitleh4Color = get_theme_mod('template_innerpage_contentboxtitleh4color', '#333333');
    $innerpagecontentboxtitleh5Color = get_theme_mod('template_innerpage_contentboxtitleh5color', '#333333');
    $innerpagecontentboxtitleh6Color = get_theme_mod('template_innerpage_contentboxtitleh6color', '#7854c0');

$innerpagecontentboxsidebartitleColor = get_theme_mod('template_innerpage_contentboxsidebartitlecolor', '#fff');

     $innerpagecontentboxtextColor = get_theme_mod('template_innerpage_contentboxtextcolor', '#303030');
    $innerpagecontentboxlistColor = get_theme_mod('template_innerpage_contentboxlistcolor', '#303030');
     $innerpagecontentboxlisticonColor = get_theme_mod('template_innerpage_contentboxlisticoncolor', '#7854c0');

    $innerpagecontentboxlistnumberColor = get_theme_mod('template_innerpage_contentboxlistnumbercolor', '#fff');
    $innerpagecontentboxlistnumberbgColor = get_theme_mod('template_innerpage_contentboxlistnumberbgcolor', '#7854c0');

    $innerpagecontentboxlinkColor = get_theme_mod('template_innerpage_contentboxlinkcolor', '#7854c0');

     $innerpageborderColor = get_theme_mod('template_innerpage_bordercolor', '#EEE');
      $innerpagesocialsColor = get_theme_mod('template_innerpage_socials_color', '#fff');

     $innerpagetabletextColor = get_theme_mod('template_innerpage_tabletext_color', '#6b7385');
$innerpagetabledaysColor = get_theme_mod('template_innerpage_tabledays_color', '#fff');
$innerpagetabledaysbgColor = get_theme_mod('template_innerpage_tabledaysbg_color', '#2a2a2a');
$innerpagetablebtnColor = get_theme_mod('template_innerpage_tablebtn_color', '#fff');
$innerpagetablebtnbgColor = get_theme_mod('template_innerpage_tablebtnbg_color', '#2a2a2a');
$innerpageboxbgColor = get_theme_mod('template_innerpage_boxbg_color', '#fff');
 $innerpageblogboxbgColor = get_theme_mod('template_innerpage_blogboxbg_color', '#eee');


 $pagetopbarColor = get_theme_mod('template_topbar_color', '#fff');
  $pagetopbarbgColor = get_theme_mod('template_topbarbg_color', '#2a2a2a');
   $pagetopbarbghoverColor = get_theme_mod('template_topbarbghover_color', '#7854c0');
 
    $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 {background-color: '.$innerbreadcrumbbgeColor.';}
    .breadcrumbbox span a:hover, #content-box .breadcrumbbox span a:hover{color: '.$innerbreadcrumbcurrenttitlehovercolor.';}
    .breadcrumbbox{border-bottom-color: '.$innerbreadcrumbbgbordercolor.';}
   
  #back2Top, #back2Top:hover {color: '.$pagetopbarColor.';}
  #back2Top {background-color: '.$pagetopbarbgColor.';}
#back2Top:hover {background-color: '.$pagetopbarbghoverColor.';}

    .page-template-default #innerpage-box #content-box h1,
    .page-template #innerpage-box #content-box h1
     {color: '.$innerpagecontentboxtitleh1Color.';}

      .page-template-default #innerpage-box #content-box h2,
    .page-template #innerpage-box #content-box h2,
    .related.products h2,.related.products h2 small, .related.products h2 span, .related.products h2 strong, .related.products h2 span, .related.products h2 sub, .related.products h2 big, .related.products h2 b,
.woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product .woocommerce-loop-product__title span, .woocommerce ul.products li.product .woocommerce-loop-product__title small, .woocommerce ul.products li.product .woocommerce-loop-product__title strong, .woocommerce ul.products li.product .woocommerce-loop-product__title sub, .woocommerce ul.products li.product .woocommerce-loop-product__title sup, .woocommerce ul.products li.product .woocommerce-loop-product__title big, .woocommerce ul.products li.product .woocommerce-loop-product__title b,
.woocommerce #reviews #comments h2, .woocommerce-page #reviews #comments h2
     {color: '.$innerpagecontentboxtitleh2Color.';}

      .page-template-default #innerpage-box #content-box h3,
    .page-template #innerpage-box #content-box h3, div#sitemap-box h3
     {color: '.$innerpagecontentboxtitleh3Color.';}

      .page-template-default #innerpage-box #content-box h4,
    .page-template #innerpage-box #content-box h4, 
    #blog-box .widget-area .widget-title, 
    #blog-box h4, #blog-box h4 small,
    #blogmain-box h4,
    #respond h4 span
     {color: '.$innerpagecontentboxtitleh4Color.';}

      .page-template-default #innerpage-box #content-box h5,
    .page-template #innerpage-box #content-box h5
     {color: '.$innerpagecontentboxtitleh5Color.';}

      .page-template-default #innerpage-box #content-box h6,
    .page-template #innerpage-box #content-box h6, .socialMedia h6
     {color: '.$innerpagecontentboxtitleh6Color.';}


  .widget-area h3.widget-title, .widget-area .widget-title, .widget-area h4.widget-title
     {color: '.$innerpagecontentboxsidebartitleColor.';}

    .page-template-default #innerpage-box #content-box p,
     .page-template-default #innerpage-box #content-box legend,
     .page-template #innerpage-box #content-box p,
     .inner-blog-excerpt,
     .single_post .post-single-content,
     #secondary input::placeholder,
     input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="range"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"], textarea,

       #secondary .woocommerce-product-search input::placeholder,
   .woocommerce-product-search  input[type="text"], .woocommerce-product-search input[type="email"],.woocommerce-product-search input[type="url"], .woocommerce-product-search input[type="password"], .woocommerce-product-search input[type="search"], .woocommerce-product-search input[type="number"], .woocommerce-product-search input[type="tel"], .woocommerce-product-search input[type="range"], .woocommerce-product-search input[type="date"],.woocommerce-product-search input[type="month"], .woocommerce-product-search input[type="week"], .woocommerce-product-search input[type="time"], .woocommerce-product-search input[type="datetime"], .woocommerce-product-search input[type="datetime-local"], .woocommerce-product-search input[type="color"],

     #secondary ul li, 
     .sitemap-posts-box li,
    #secondary table tr, #secondary table tr td a,  #secondary #calendar_wrap caption,
    .woocommerce-product-details__short-description, #tab-description,
    #innerpage-box .widget select,
    #innerpage-box .widget select option, 
    .single-productpage #innerpage-box select option,
    .single-productpage #innerpage-box select,
   .single-productpage .widget_product_categories select,
   .single-productpage .widget_product_categories select option,
  .single-productpage .widget_product_categories .select2-container--default .select2-selection--single .select2-selection__placeholder,
  .woocommerce .woocommerce-result-count,
  .price_label,
  .single-productpage .price .amount,
  .single-productpage .posted_in,
  .woocommerce #reviews #comments ol.commentlist li .comment-text p,
  .comment-respond .comment-reply-title,
  .comment-form-rating,
  .woocommerce #commentform p label,
  .woocommerce table.shop_table tr th,
  .woocommerce table.shop_table tr td span,
  .woocommerce-cart table.cart td.actions .coupon .input-text,
  .woocommerce-cart table.cart td.actions .coupon .input-text::placeholder,
  .woocommerce-info,
  .woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea,
.woocommerce form .form-row input.input-text::placeholder, .woocommerce form .form-row textarea::placeholder,
.select2-container--default .select2-selection--single .select2-selection__rendered,
    #innerpage-box ul li, .widget_shopping_cart_content p, #comments p,
#comments .total-comments, .comment .comment-metadata, .commentmetadata time, #commentsAdd label,

.woocommerce .select2-container--default .select2-results__option[data-selected=true],
.product_meta span, .single_post .post-date-publishable,
.woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td p,
.woocommerce-MyAccount-content address, .textwidget p
{color: '.$innerpagecontentboxtextColor.';}

    #content-box ul li, #content-box ol li, li.select2-results__option{color: '.$innerpagecontentboxlistColor.';}

    #content-box ul li:before{color: '.$innerpagecontentboxlisticonColor.';}

    #content-box ol li:before {color: '.$innerpagecontentboxlistnumberColor.';}
    #content-box ol li:before {background-color: '.$innerpagecontentboxlistnumberbgColor.';}

    .widget-area a,  #content-box a, div#sitemap-box ul li a, #commentsAdd p a, #content-box ol li a, 
     div#sitemap-box ul li a,
div#content-box a.post-edit-link,
div#content-box .woocommerce-MyAccount-content p a,
div#content-box a.shipping-calculator-button,
div#content-box div#payment a,
div#content-box p a,
div#content-box .woocommerce-info a,
div#content-box header.woocommerce-Address-title.title a,
.woocommerce-MyAccount-navigation-link.is-active a, .woocommerce-MyAccount-navigation-link a:hover


    {color: '.$innerpagecontentboxlinkColor.';}
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="range"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"], textarea,   
#innerpage-box .widget select,
    #innerpage-box .widget select option,
.single-productpage #innerpage-box select option,
    .single-productpage #innerpage-box select,
    .single-productpage .widget_product_categories select,
    .single-productpage .widget_product_categories select option,
   .single-productpage .widget_product_categories .select2-container--default .select2-selection--single,
    .woocommerce-product-search .search-field,
    .widget_product_search .woocommerce-product-search .search-field,
     .woocommerce-product-search  input[type="text"], .woocommerce-product-search input[type="email"],.woocommerce-product-search input[type="url"], .woocommerce-product-search input[type="password"], .woocommerce-product-search input[type="search"], .woocommerce-product-search input[type="number"], .woocommerce-product-search input[type="tel"], .woocommerce-product-search input[type="range"], .woocommerce-product-search input[type="date"],.woocommerce-product-search input[type="month"], .woocommerce-product-search input[type="week"], .woocommerce-product-search input[type="time"], .woocommerce-product-search input[type="datetime"], .woocommerce-product-search input[type="datetime-local"], .woocommerce-product-search input[type="color"],
.woocommerce table.shop_table,
.woocommerce-cart table.cart td.actions .coupon .input-text,
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea,
.select2-container--default .select2-selection--single .select2-selection__rendered,
.select2-container--default .select2-search--dropdown .select2-search__field,
.select2-dropdown,
.select2-container--default .select2-selection--single,
.woocommerce table.shop_table td,
.woocommerce table.shop_table tfoot th,
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product,
.woocommerce ul.products li.product a img,
.woocommerce div.product div.images img, 
.woocommerce #review_form #respond .form-submit input,
.woocommerce div.product form.cart .button, .woocommerce-page div.product form.cart .button, .woocommerce #content div.product form.cart .button, .woocommerce-page #content div.product form.cart .button,

.woocommerce #review_form #respond .form-submit input,
.woocommerce div.product form.cart .button, 
.woocommerce-page div.product form.cart .button, 
.woocommerce #content div.product form.cart .button, 
.woocommerce-page #content div.product form.cart .button,

select#product_cat option,
.woocommerce li.select2-results__option,
.woocommerce ul.product_list_widget li img,
#commentsAdd .comment-respond,
.socialMedia a,
.widget-area .widget

     {border-color: '.$innerpageborderColor.';}
.woocommerce .products ul, 
.woocommerce-page .products ul, 
.woocommerce ul.products, 
.woocommerce-page ul.products,
.woocommerce .related ul.products, .woocommerce-page .related ul.products, .woocommerce .upsells.products ul.products, .woocommerce-page .upsells.products ul.products, .woocommerce .related ul, .woocommerce-page .related ul, .woocommerce .upsells.products ul, .woocommerce-page .upsells.products ul , .woocommerce table.shop_table td, .woocommerce-cart .cart-collaterals .cart_totals tr th, .woocommerce-cart .cart-collaterals .cart_totals tr td, .widget-area ul ul, .woocommerce div.product form.cart .button, .woocommerce-page div.product form.cart .button, .woocommerce #content div.product form.cart .button, .woocommerce-page #content div.product form.cart .button, 

.woocommerce table.shop_table tbody th, .woocommerce table.shop_table tfoot td, .woocommerce table.shop_table tfoot th, .woocommerce .widget_shopping_cart .total, .woocommerce.widget_shopping_cart .total, .woocommerce table.shop_attributes
{border-top-color: '.$innerpageborderColor.';}
.woocommerce-checkout #payment ul.payment_methods, .woocommerce .related ul li.product, .woocommerce-page .related ul li.product, .woocommerce .related ul.products li.product, .woocommerce-page .related ul.products li.product, .woocommerce table.shop_attributes th , .woocommerce table.shop_attributes td
{border-bottom-color: '.$innerpageborderColor.';}


    #innerpage-box .ht-footer table tr, #innerpage-box .widget_calendar table tbody td{color: '.$innerpagetabletextColor.';}
     #innerpage-box .widget_calendar table thead tr th{color: '.$innerpagetabledaysColor.';}
   #innerpage-box .widget_calendar thead{background-color: '.$innerpagetabledaysbgColor.';}
 #innerpage-box .widget_calendar tfoot tr td a{background-color: '.$innerpagetablebtnbgColor.';}
   #innerpage-box table tr td a,  #innerpage-box input[type="submit"], .woocommerce ul.products li.product:hover .button, .woocommerce a.button:hover, .woocommerce ul.products li.product .button, .single-productpage #sidebars button, .woocommerce button.button.alt,  .woocommerce button.button, .woocommerce div.product .woocommerce-tabs ul.tabs li a, .woocommerce div.product .woocommerce-tabs ul.tabs li.active a , .single-productpage .woocommerce #respond input#submit, .single-productpage .woocommerce #respond input#submit:hover,.woocommerce a.button, .single-productpage .woocommerce button.button, .single-productpage .woocommerce-page button.button, .woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled], 
#blog-box .blog-read-more a:hover, #blog-box .blog-read-more a, .woocommerce #respond input#submit:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .woocommerce button.button.alt:hover, .woocommerce .select2-container--default .select2-results__option--highlighted[aria-selected], .woocommerce .select2-container--default .select2-results__option--highlighted[data-selected], .pagingation a, .pagingation a:hover, .woocommerce span.onsale, .woocommerce #respond input#submit, .woocommerce-page #respond input#submit, .widget_calendar table tbody td#today a, div#content-box .woocommerce-info a, div#content-box .woocommerce-info a:hover
{color: '.$innerpagetablebtnColor.';}


.widget .social-profile-icons ul li i,.inner-blog-post .socialMedia a,  #content-box .socialMedia a i.fa{color: '.$innerpagesocialsColor.';}

     #innerpage-box .innerpage-whitebox, .widget-area .widget, .woocommerce-info, .woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .select2-container--default .select2-selection--single .select2-selection__rendered, .select2-dropdown, .select2-container--default .select2-search--dropdown .select2-search__field, .woocommerce table.shop_table td, div#sitemap-box h3, input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="range"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"], textarea, #innerpage-box .widget select, #innerpage-box .widget select option, .single-productpage #innerpage-box select option, .single-productpage #innerpage-box select, .single-productpage .widget_product_categories select, .single-productpage .widget_product_categories select option, .single-productpage .widget_product_categories .select2-container--default .select2-selection--single, .total-product-title-wrap, .woocommerce-product-search  input[type="text"], .woocommerce-product-search input[type="email"],.woocommerce-product-search input[type="url"], .woocommerce-product-search input[type="password"], .woocommerce-product-search input[type="search"], .woocommerce-product-search input[type="number"], .woocommerce-product-search input[type="tel"], .woocommerce-product-search input[type="range"], .woocommerce-product-search input[type="date"],.woocommerce-product-search input[type="month"], .woocommerce-product-search input[type="week"], .woocommerce-product-search input[type="time"], .woocommerce-product-search input[type="datetime"], .woocommerce-product-search input[type="datetime-local"], .woocommerce-product-search input[type="color"], .woocommerce .widget_price_filter .ui-slider .ui-slider-handle, #innerpage-box table tbody, #tab-description, .woocommerce div.product .woocommerce-tabs .panel, .woocommerce .select2-container--default .select2-results__option[data-selected=true]{background-color: '.$innerpageboxbgColor.';}
     #blog-box .inner-blog-post,  .woocommerce-checkout #payment, #blogmain-box .inner-blog-post{background-color: '.$innerpageblogboxbgColor.';}
   ';



// feature pages section 
    if(get_theme_mod('lz_fitness_premium_fpage_section_background','off') == 'on' ){
        
        $bgimg = get_theme_mod('lz_fitness_fpage_bg_image');
        $img = !empty($bgimg)?$bgimg:get_template_directory_uri().'/images/default-gray.png';
        
        $custom_css .= '#featured-pages-section {background-image: url("'.$img.'");background-position: top;background-size: cover;}';
    }else{
        $color = get_theme_mod('lz_fitness_fpage_bg_color', '#fff');
        if('#fff' != $color){
            $custom_css .= '#featured-pages-section, .featured-post {background-color: '.$color.';}';
        }
    } 


    //Courses section

    if(get_theme_mod('lz_fitness_premium_courses_section_background') == 'on' ){
        
        $bgimg = get_theme_mod('lz_fitness_courses_bg_image');
        $img = !empty($bgimg)?$bgimg:get_template_directory_uri().'/images/default-gray.png';
        
        $custom_css .= '#our-courses-section {background-image: url("'.$img.'");background-position: top;background-size: cover;}';
    }else{
        $color = get_theme_mod('lz_fitness_courses_bg_color', '#ffffff');
        if('#ffffff' != $color){
            $custom_css .= '#our-courses-section {background-color: '.$color.';} .courses-post{border-color:'.$color.';}';
        }
    }


 // 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.jpg';
        
        $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', '#f6f6f6');
        if('#f6f6f6' != $color){
            $custom_css .= '#featured-post-section {background-color: '.$color.';} .featured-post {border-color:'.$color.';}';
        }
    } 

    // Team section 


    if(get_theme_mod('lz_fitness_premium_team_section_background','on') == 'on' ){
        
        $bgimg = get_theme_mod('lz_fitness_team_bg_image');
        $img = !empty($bgimg)?$bgimg:get_template_directory_uri().'/images/default-gray.jpg';
        
        $custom_css .= 'section#ht-team-section {background-image: url("'.$img.'");background-position: top;background-size: cover;}';
    }else{
        $color = get_theme_mod('lz_fitness_team_bg_color', '#eef1f2');
        if('#eef1f2' != $color){
            $custom_css .= 'section#ht-team-section {background-color: '.$color.';}';
        }
    } 
    // Gallary section 
    if(get_theme_mod('lz_fitness_premium_gallery_section_background','off') == 'on' ){
        
        $bgimg = get_theme_mod('lz_fitness_gallery_bg_image');
        $img = !empty($bgimg)?$bgimg:get_template_directory_uri().'/images/default-gray.jpg';
        
        $custom_css .= 'section#ht-gallery-section {background-image: url("'.$img.'");background-position: top;background-size: cover;}';
    }else{
        $color = get_theme_mod('lz_fitness_gallery_bg_color', '#f6f6f6');
        if('#f6f6f6' != $color){
            $custom_css .= 'section#ht-gallery-section {background-color: '.$color.';}';
        }
    } 
    
    ////Testimonial section
    
if(get_theme_mod('lz_fitness_premium_testimonials_section_background','off') == 'on' ){
        
        $bgimg = get_theme_mod('lz_fitness_testimonials_bg_image');
        $img = !empty($bgimg)?$bgimg:get_template_directory_uri().'/images/default-gray.jpg';
        
        $custom_css .= '#testimonials-section {background-image: url("'.$img.'");background-position: top;background-size: cover;}';
    }else{
        $color = get_theme_mod('lz_fitness_testimonials_bg_color', '#f6f6f6');
        if('#f6f6f6' != $color){
            $custom_css .= '#testimonials-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.jpg';
        
        $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', '#f6f6f6');
        if('#f6f6f6' != $color){
            $custom_css .= '#ht-project-section {background-color: '.$color.';}';
        }
    } 
    // gym 
    if(get_theme_mod('lz_fitness_premium_gym_section_background','off') == 'on' ){
    	$custom_css .= '.ht-time-address-section {background-image: url(\''.get_theme_mod('lz_fitness_gym_bg_image').'\');background-position: top;background-size: cover;}';
    }else{
    	$color = get_theme_mod('lz_fitness_gym_bg_color', $headingColor);
    	if('#ffffff' != $color){
    		$custom_css .= '#ht-time-address-section.ht-section {background-color: '.$color.';} 
    		h2.lz-fitness-h2{border-bottom-color:'.$primColor.';}';
    	}else{
    		$custom_css .= 'h2.lz-fitness-h2{border-bottom-color:'.$primColor.';}';
    	}
    }
    //appointment
    if(get_theme_mod('lz_fitness_premium_appointment_section_background','on') == 'on' ){
        
        $bgimg = get_theme_mod('lz_fitness_appointment_bg_image');
        $img = !empty($bgimg)?$bgimg:get_template_directory_uri().'/images/appointmentbg.jpg';
        
        $custom_css .= '#ht-appintment-section {background-image: url("'.$img.'");background-position: top;background-size: cover;}';
    }else{
        $color = get_theme_mod('lz_fitness_appointment_bg_color', '#fff');
        if('#fff' != $color){
            $custom_css .= '#ht-appintment-section {background-color: '.$color.';}';
        }
    }  

// new  contact section	
if(get_theme_mod('lz_fitness_premium_contact_section_background','off') == 'on' ){
        
        $bgimg = get_theme_mod('lz_fitness_contact_bg_image');
        $img = !empty($bgimg)?$bgimg:get_template_directory_uri().'/images/default-gray.jpg';
        
        $custom_css .= '#ht-contact-section {background-image: url("'.$img.'");background-position: top;background-size: cover;}';
    }else{
        $color = get_theme_mod('lz_fitness_contact_bg_color', '#f1f1f1');
        if('#f1f1f1' != $color){
            $custom_css .= '#ht-contact-section {background-color: '.$color.';}';
        }
    } 
// new newsletter section 
if(get_theme_mod('lz_fitness_premium_lz_newslatter_section_background','off') == 'on' ){
        
        $bgimg = get_theme_mod('lz_fitness_lz_newslatter_bg_image');
        $img = !empty($bgimg)?$bgimg:get_template_directory_uri().'/images/default-gray.jpg';
        
        $custom_css .= 'section#ht-newsletter-section {background-image: url("'.$img.'");background-position: top;background-size: cover;}';
    }else{
        $color = get_theme_mod('lz_fitness_lz_newslatter_bg_color', '#f1f1f1');
        if('#f1f1f1' != $color){
            $custom_css .= 'section#ht-newsletter-section {background-color: '.$color.';}';
        }
    } 

    if(get_theme_mod('lz_fitness_premium_blog_section_background','off') == 'on' ){
        
        $bgimg = get_theme_mod('lz_fitness_blog_bg_image');
        $img = !empty($bgimg)?$bgimg:get_template_directory_uri().'/images/default-gray.jpg';
        
        $custom_css .= 'section#blog-section {background-image: url("'.$img.'");background-position: top;background-size: cover;}';
    }else{
        $color = get_theme_mod('lz_fitness_blog_bg_color', '#ffffff');
        if('#ffffff' != $color){
            $custom_css .= 'section#blog-section {background-color: '.$color.';}';
        }
    } 

    //////new About section 


if(get_theme_mod('lz_fitness_premium_about_section_background','on') == 'on' ){
        
        $bgimg = get_theme_mod('lz_fitness_about_bg_image');
        $img = !empty($bgimg)?$bgimg:get_template_directory_uri().'/images/aboutus.jpg';
        
        $custom_css .= '.aboutbox {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 .= '.aboutbox {background-color: '.$color.';}';
        }
    } 
 

 // Facility section 
    if(get_theme_mod('lz_fitness_premium_facility_section_background','off') == 'on' ){
        
        $bgimg = get_theme_mod('lz_fitness_facility_bg_image');
        $img = !empty($bgimg)?$bgimg:get_template_directory_uri().'/images/default-gray.jpg';
        
        $custom_css .= '#facility-content-section {background-image: url("'.$img.'");background-position: top;background-size: cover;}';
    }else{
        $color = get_theme_mod('lz_fitness_facility_bg_color', '#fff');
        if('#fff' != $color){
            $custom_css .= '#facility-content-section {background-color: '.$color.';}';
        }
    } 



     //////result section
    if(get_theme_mod('lz_fitness_premium_result_section_background','off') == 'on' ){
        
        $bgimg = get_theme_mod('lz_fitness_result_bg_image');
        $img = !empty($bgimg)?$bgimg:get_template_directory_uri().'/images/default-gray.jpg';
        
        $custom_css .= 'section#ht-result-section {background-image: url("'.$img.'");background-position: top;background-size: cover;}';
    }else{
        $color = get_theme_mod('lz_fitness_result_bg_color', '#f6f6f6');
        if('#f6f6f6' != $color){
            $custom_css .= 'section#ht-result-section {background-color: '.$color.';}';
        }
    } 

    // pricing 
    
    if(get_theme_mod('lz_fitness_premium_pricing_section_background','off') == '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.'}';
    	}
    }
 


    if(!empty($lz_fitness_lite_layout) && $lz_fitness_lite_layout == "sclayout") {
    	$custom_css .= ".article { float: right; } .sidebar.c-4-12 { float: left; }";
    }

	//about us heading & text color
      $aboutusHeadingColor = get_theme_mod('lz_fitness_about_MainHeadingColor', '#ffffff');
      $aboutusSubHeadingColor = get_theme_mod('lz_fitness_about_SubHeadingColor', '#ffffff');
        $aboutusTitleColor = get_theme_mod('lz_fitness_about_TitleColor', '#000000');
        $aboutusTextColor = get_theme_mod('lz_fitness_about_TextColor', '#333333');
        $aboutusIconColor = get_theme_mod('lz_fitness_about_IconColor', '#000000');
        $aboutusButtonColor = get_theme_mod('lz_fitness_about_ButtonTextColor', '#7854c0');
        $aboutusButtonBorderColorColor = get_theme_mod('lz_fitness_about_ButtonBorderColor', '#7854c0');
       // $aboutussTextColor = get_theme_mod('lz_fitness_aboutus_page_sTextColor', '#a556d4');
    $custom_css .= '.lz-about-subheading{color: '.$aboutusHeadingColor.';} 
    section#ht-about-us-section h2.ht-section-title{color: '. $aboutusSubHeadingColor.';}section#ht-about-us-section h5{color: '.$aboutusTitleColor.';}section#ht-about-us-section p{color: '.$aboutusTextColor.';}section#ht-about-us-section span.fa{color: '.$aboutusIconColor.';}section#ht-about-us-section button{color: '.$aboutusButtonColor.';}section#ht-about-us-section button{border-color: '.$aboutusButtonBorderColorColor.';}';

//facility heading & text color
      $facilityHeadingColor = get_theme_mod('lz_fitness_facility_HeadingColor', '#7854c0');
      $facilitySubHeadingColor = get_theme_mod('lz_fitness_facility_SubHeadingColor', '#000000');
        $facilityTitleColor = get_theme_mod('lz_fitness_facility_TitleColor', '#373737');
         $facilityTextColor = get_theme_mod('lz_fitness_facility_TextColor', '#373737');
        $facilityIconColor = get_theme_mod('lz_fitness_facility_IconColor', '#ffffff');
        $facilityIconBackgroundColor = get_theme_mod('lz_fitness_facility_IconBackgroundColor', '#7854c0');

    $custom_css .= 'section#facility-content-section p {color: '.$facilityHeadingColor.';} 
   h2.ht-section-title.lz-facility-heading {color: '. $facilitySubHeadingColor.';} section#facility-content-section h5 {color: '.$facilityTitleColor.';} section#facility-content-section span.fa {color: '. $facilityIconColor.';}.facility-box .service-text {color: '.$facilityTextColor.';}section#facility-content-section span.fa{background-color: '.$facilityIconBackgroundColor.';}';
  
//for footer
$MainFooterfooterwidgetsttlColor = get_theme_mod('footerwidgetsttlcolor_color', '#ffffff');
$MainFooterfooterwidgetstxttlcolor = get_theme_mod('footerwidgetstxttlcolor_color', '#989898');
$MainFooterfooterwidgetstxttlinkcolor = get_theme_mod('footerwidgetstxttlinkcolor_color', '#989898');
$MainFooterfooterwidgetstxttlinkhvrcolor = get_theme_mod('footerwidgetstxttlinkhvrcolor_color', '#7854c0');
$footerformborderColor = get_theme_mod('footer_formborder_color', '#fff');

$footertabletextColor = get_theme_mod('footer_tabletext_color', '#fff');
$footertabledaysColor = get_theme_mod('footer_tabledays_color', '#fff');
$footertabledaysbgColor = get_theme_mod('footer_tabledaysbg_color', '#7854c0');
$footertablebtnColor = get_theme_mod('footer_tablebtn_color', '#fff');
$footertablebtnbgColor = get_theme_mod('footer_tablebtnbg_color', '#7854c0');

$custom_css .= '#ht-colophon .widget-title, #ht-colophon caption {color: '.$MainFooterfooterwidgetsttlColor.';}
#ht-colophon .textwidget p, .ht-footer table tr,
.ht-top-footer ul li span.post-date,

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

 {color: '.$MainFooterfooterwidgetstxttlcolor.';}
.ht-top-footer ul li a, footer#ht-colophon .widget .social-profile-icons ul li i, .tagcloud a{color: '.$MainFooterfooterwidgetstxttlinkcolor.';}
.ht-top-footer ul li a:hover, footer#ht-colophon a:hover, footer#ht-colophon .widget .social-profile-icons ul li i:hover, .tagcloud a:hover{color: '.$MainFooterfooterwidgetstxttlinkhvrcolor.';}

 
   .ht-top-footer input[type="email"], footer#ht-colophon input[type="text"], footer#ht-colophon input[type="email"], footer#ht-colophon input[type="url"], footer#ht-colophon input[type="password"], footer#ht-colophon input[type="search"], footer#ht-colophon input[type="number"], footer#ht-colophon input[type="tel"], footer#ht-colophon input[type="range"], footer#ht-colophon input[type="date"], footer#ht-colophon input[type="month"], footer#ht-colophon input[type="week"], footer#ht-colophon input[type="time"], footer#ht-colophon textarea, footer#ht-colophon .widget select, 
     footer#ht-colophon .widget select option
   {border-color: '.$footerformborderColor.';}

.ht-top-footer ul li, #ht-colophon .social-profile-icons ul li, .ht-footer table tr,  #ht-colophon .ht-footer table tr {border-bottom-color: '.$footerformborderColor.';}

#ht-colophon #ht-top-footer ul ul {border-top-color: '.$footerformborderColor.';}



.ht-footer table tr, #ht-colophon .widget_calendar table tbody td{color: '.$footertabletextColor.';}
     #ht-colophon .widget_calendar table thead tr th{color: '.$footertabledaysColor.';}
   #ht-colophon .widget_calendar thead{background-color: '.$footertabledaysbgColor.';}
 #ht-colophon .widget_calendar tfoot tr td a{background-color: '.$footertablebtnbgColor.';}
   #ht-colophon .ht-footer table tr td a{color: '.$footertablebtnColor.';}

';


//Project heading & text color
      $ProjectHeadingColor = get_theme_mod('project_HeadingColor', '#7854c0');
      $ProjectSubTextColor = get_theme_mod('project_SubHeadingColor', '#000000');
        $ProjectTextColor = get_theme_mod('project_TitleColor', '#383737');
        $ProjectTitleColor = get_theme_mod('project_TextColor', '#373737');

  $ProjectButtonHmpgTextColor = get_theme_mod('project_ButtonHmpgTextColor', '#7854c0');
   $ProjectBUttonbrsshmpgColorColor = get_theme_mod('project_BUttonbrsshmpgColor', '#7854c0');

    $custom_css .= '.ht-section-tagline.lz-project-text {color: '.$ProjectHeadingColor.';} 
   h2.ht-section-title.lz-project-heading {color: '. $ProjectSubTextColor.';} .ht-project-member h6.member-name {color: '.$ProjectTextColor.';} .project-main-box p {color: '. $ProjectTitleColor.';}.project-button a, #ht-project-section .readmore-btn a{color: '. $ProjectButtonHmpgTextColor.';}.project-button a, #ht-project-section .readmore-btn a{border-color: '. $ProjectBUttonbrsshmpgColorColor.';}';
 
 // slider section
$SlidermainHeadingColor = get_theme_mod('slider_main_HeadingColor', '#ffffff');
$SlidermainSubHeadingColor = get_theme_mod('slider_main_SubHeadingColor', '#ffffff');
$SlidermainbtntxtColor = get_theme_mod('slider_main_slidebtnColor', '#ffffff');
$SlidermainslidebtnbgsColor = get_theme_mod('slider_main_slidebtnbgssColor', '#7854c0');
$custom_css .= '.ht-slide-cap-title.animated.fadeInDown, .ht-slide-cap-title.animated.fadeInDown  span, .ht-slide-cap-title.animated.fadeInDown  small {color: '.$SlidermainHeadingColor.';}.ht-slide-cap-desc{color: '.$SlidermainSubHeadingColor.';}.ht-slide-caption a{color: '.$SlidermainbtntxtColor.';}
.ht-slide-caption a{background-color: '.$SlidermainslidebtnbgsColor.';}
.ht-slide-caption a{border-color: '.$SlidermainslidebtnbgsColor.';}'; 
    // result section

     $resultHeadingColor = get_theme_mod('lz_fitness_result_page_HeadingColor', '#a556d4');
        $resultTextColor = get_theme_mod('lz_fitness_result_page_TextColor', '#474646');
       
        $result1HeadingColor = get_theme_mod('lz_fitness_result_page1_TextColor', '#b562d6');
        $result2TextColor = get_theme_mod('lz_fitness_result_page2_TextColor', '#fd7198');
        $result3HeadingColor = get_theme_mod('lz_fitness_result_page3_TextColor', '#03c8b1');
        $result4TextColor = get_theme_mod('lz_fitness_result_page4_TextColor', '#ffffff');
    $custom_css .= 'section#ht-result-section h2.ht-section-title, section#ht-result-section .ht-section-subtagline span{color: '.$resultHeadingColor.';} 
    section#ht-result-section .ht-section-tagline, section#ht-result-section .ht-section-subtagline{color: '. $resultTextColor.';} .result-text.padding0.result1-content{background-color: '. $result1HeadingColor.';} .result-text.padding0.result2-content{background-color: '. $result2TextColor.';} .result-text.padding0.result3-content{background-color: '. $result3HeadingColor.';} section#ht-result-section p, section#ht-result-section a{color: '. $result4TextColor.';}';

// gallery section

    $galleryHeadingColor = get_theme_mod('lz_fitness_gallery_HeadingColor', '#000000');
        $galleryTextColor = get_theme_mod('lz_fitness_gallery_TextColor', '#7854c0');
        $galleryIconColor = get_theme_mod('lz_fitness_gallery_IconColor', '#ffffff');
    $custom_css .= 'h2.ht-section-title.lz-gallery-heading{color: '.$galleryHeadingColor.';} 
    .ht-section-tagline.lz-gallery-text{color: '. $galleryTextColor.';}.gallery-img:after{background-color: '.$galleryIconColor.';}';




	//facility heading & text color
    // $facilityHeadingColor = get_theme_mod('lz_fitness_facility_HeadingColor', $primColor);
    // /*if($primColor == $facilityHeadingColor){
    //     $facilityHeadingColor = $headingColor;
    // }*/
    // $facilityTextColor = get_theme_mod('lz_fitness_facility_TextColor', '#333333');
    // $custom_css .= '.lz-facility-heading{color: '.$facilityHeadingColor.';} .lz-facility-text{color: '.$facilityTextColor.';}';


    // featured pages section heading & text color
    // $featuredPageHeadingColor = get_theme_mod('lz_featured_pages_HeadingColor', '#2a2a2a');
    // /*if($primColor == $featuredPageHeadingColor){
    //     $featuredPageHeadingColor = $headingColor;
    // }*/
    // $featuredPageTextColor = get_theme_mod('lz_featured_pages_TextColor', '#4f4f4f');
    //  $featuredPageTitleColor = get_theme_mod('lz_featured_pages_TitleColor', '#2a2a2a');
    // //$featuredPageIconColor = get_theme_mod('lz_featured_pages_IconColor', $primColor);
    // $featuredPagebuttonColor = get_theme_mod('lz_featured_pages_buttonColor', '#fff');
    // $custom_css .= '.lz-featured-Page-heading{color: #fff;}
    //  .lz-featured-Page-text, #featured-pages-section .featured-excerpt{color: '.$featuredPageTextColor.';}
    // #featured-pages-section .featured-post h5 a{color: '.$featuredPageTitleColor.';}
    // #featured-pages-section .featured-post a.btn{color: '.$featuredPagebuttonColor.';}';

     $featuredPageHeadingColor = get_theme_mod('lz_featured_pages_HeadingColor', '#7854c0');
        $featuredPageTextColor = get_theme_mod('lz_featured_pages_TextColor', '#000000');
                //$featuredPageCoursesColor = get_theme_mod('lz_featured_pages_CoursesColor', 'transparent');
       
    $custom_css .= '.ht-section-tagline.lz-featured-Page-text {color: '.$featuredPageHeadingColor.';} 
    h2.ht-section-title.lz-featured-Page-heading{color: '. $featuredPageTextColor.';}';

    // featured post heading & text color
    $featuredPostHeadingColor = get_theme_mod('lz_fitness_featured_HeadingColor', '#2a2a2a');
    /*if($primColor == $featuredPostHeadingColor){
        $featuredPostHeadingColor = $headingColor;
    }*/
    $featuredPostTextColor = get_theme_mod('lz_fitness_featured_TextColor', '#4f4f4f');
    $featuredPostTitleColor = get_theme_mod('lz_fitness_featured_TitleColor', '#2a2a2a');
    $featuredPostIconColor = get_theme_mod('lz_fitness_featured_IconColor', '#fff');
    $custom_css .= '.lz-featured-heading{color: '.$featuredPostHeadingColor.';} 
    .lz-featured-text, #featured-post-section .featured-excerpt{color: '.$featuredPostTextColor.';}
     #featured-post-section .featured-post h5 a{color: '.$featuredPostTitleColor.';} 
     #featured-post-section .featured-icon span{color: '.$featuredPostIconColor.';}';

   // our courses heading & text color
    $ourCoursesHeadingColor = get_theme_mod('gurukul_courses_HeadingColor', '#2a2a2a');
    /*if($primColor == $ourCoursesHeadingColor){
        $ourCoursesHeadingColor = $headingColor;
    }*/
    $ourCoursesTextColor = get_theme_mod('gurukul_courses_TextColor', '#4f4f4f');
    $ourCoursesTitleColor = get_theme_mod('gurukul_courses_TitleColor', '#2a2a2a');
    $ourCoursesIconColor = get_theme_mod('gurukul_courses_IconColor', '#2e2e2e');
    $custom_css .= '.lz-featured-cources-heading{color: '.$ourCoursesHeadingColor.';} 
    .lz-featured-cources-text, .featured-excerpt{color: '.$ourCoursesTextColor.';}
     #our-courses-section .featured-post h5 a{color: '.$ourCoursesTitleColor.';} 
     #our-courses-section .featured-icon a, #our-courses-section .featured-icon a:before, #our-courses-section .featured-icon a:after{color: '.$ourCoursesIconColor.';}';


	//team heading & text color
    // $teamHeadingColor = get_theme_mod('lz_fitness_team_HeadingColor', '#2a2a2a');
    // /*if($primColor == $teamHeadingColor){
    //     $teamHeadingColor = $headingColor;
    // }*/
    // $teamTextColor = get_theme_mod('lz_fitness_team_TextColor', '#333333');
    // $custom_css .= '.lz-team-heading{color: '.$teamHeadingColor.';} .lz-team-text{color: '.$teamTextColor.';}';

    $teamHeadingColor = get_theme_mod('lz_fitness_team_HeadingColor', '#ffffff');
     $teamSubHeadingColor = get_theme_mod('lz_fitness_team_Sub_HeadingColor', '#ffffff');
      $teamMemberColor = get_theme_mod('lz_fitness_team_MemberTextColor', '#ffffff');
        $teamDesignationColor = get_theme_mod('lz_fitness_team_DesigntaionTextColor', '#ffffff');
        $teamIconColor = get_theme_mod('lz_fitness_team_IconColor', '#ffffff');
        $teamUpperColor = get_theme_mod('lz_fitness_team_upperColor', '#7854c0');
    $custom_css .= '.lz-team-text {color: '.$teamHeadingColor.';} 
    h2.ht-section-title.lz-team-heading {color: '. $teamSubHeadingColor.';} .ht-team-member .ht-title-wrap h6{color: '. $teamMemberColor.';} .ht-team-member .ht-team-designation{color: '. $teamDesignationColor.';} #ht-team-section .ht-team-social-id a i{color: '. $teamIconColor.';} .upperbox{background-color: '. $teamUpperColor.';}';

	//testimonials heading & text color
    // $testimonialsHeadingColor = get_theme_mod('lz_fitness_testimonials_HeadingColor', '#fff');
    // /*if($primColor == $testimonialsHeadingColor){
    //     $testimonialsHeadingColor = $headingColor;
    // }*/
    // $testimonialsTextColor = get_theme_mod('lz_fitness_testimonials_TextColor', '#fff');
    // $custom_css .= '.lz-testimonials-heading{color: '.$testimonialsHeadingColor.';} .lz-testimonials-text, .testimonials-member-wrap p {color: '.$testimonialsTextColor.';}';
    $testimonialsHeadingColor = get_theme_mod('lz_fitness_testimonials_HeadingColor', '#000000');
        $testimonialsTextColor = get_theme_mod('lz_fitness_testimonials_TextColor', '#7854c0');
                $testimonialsSubTextColor = get_theme_mod('lz_fitness_testimonials_SubTextColor', '#474646');
                $testimonialsDSubTextColor = get_theme_mod('lz_fitness_testimonials_DSubTextColor', '#474646');
                $testimonialsmemberColor = get_theme_mod('lz_fitness_testimonials_membarColor', '#7854c0');

    $custom_css .= '.lz-testimonials-heading{color: '.$testimonialsHeadingColor.';} 
    #testimonials-section .ht-section-subtagline, .lz-testimonials-text {color: '. $testimonialsTextColor.';} .testimonial-content p{color: '. $testimonialsSubTextColor.';} section#testimonials-section .text-designation{color: '. $testimonialsDSubTextColor.';}#testimonials-section h6 {color: '. $testimonialsmemberColor.';}';


	//gym heading & text color
    $gymHeadingColor = get_theme_mod('lz_fitness_gym_HeadingColor', $primColor);
    if($primColor == $gymHeadingColor){
        $gymHeadingColor = $headingColor;
    }
    $gymTextColor = get_theme_mod('lz_fitness_gym_TextColor', '#333333');
    $custom_css .= '.lz-gym-heading{color: '.$gymHeadingColor.';} .lz-gym-text{color: '.$gymTextColor.';}';
	//appointment heading & text color
    $appointmentTitleColor = get_theme_mod('lz_fitness_appointment_HeadingColor', '#ffffff');
    $appointmentSubtitleColor = get_theme_mod('lz_fitness_appointment_TextColor', '#ffffff');
    $appointmentTextColor = get_theme_mod('lz_fitness_appointment_SubTextColor', '#ffffff');
    $appointmentSubTextColor = get_theme_mod('lz_fitness_appointment_SubsTextColor', '#ffffff');

    /*if($primColor == $appointmentHeadingColor){
        $appointmentHeadingColor = $headingColor;
    }*/
    $custom_css .= 'h2.ht-section-title.lz-appointment-heading {color: '.$appointmentTitleColor.';} .ht-section-tagline.lz-appointment-text {color: '.$appointmentSubtitleColor.';} #ht-appintment-section .lz-appointment-subtext{color: '.$appointmentTextColor.';}#ht-appintment-section .appointment-icon{color: '.$appointmentSubTextColor.';}';

	//blog heading & text color

    $blogHeadingColor = get_theme_mod('lz_fitness_blog_HeadingColor', '#191919');
        $blogSubHeadingColor = get_theme_mod('lz_fitness_blog_SubHeadingColor', '#7854c0');
           $blogSubTextColor = get_theme_mod('lz_fitness_blog_TextColor', '#333333');
           $blogSubTitleColor = get_theme_mod('lz_fitness_blog_TitleColor', '#444');

$BlogbtntxtTextColor = get_theme_mod('lz_fitness_blog_BlogbtntxtTextColor', '#ffffff'); 
$BlogbtnbgssColor = get_theme_mod('lz_fitness_blog_BlogbtnbgssColor', '#7854c0');

      $custom_css .= 'h2.ht-section-title.lz-blog-heading{color: '.$blogHeadingColor.';} .ht-section-tagline.lz-blog-text{color: '.$blogSubHeadingColor.';} #blog-section .ht-blog-excerpt p{color: '.$blogSubTextColor.';}.ht-blog-excerpt h5 a{color: '.$blogSubTitleColor.';}.post-right .blog-read-more a{color: '.$BlogbtntxtTextColor.';}
      .post-right .blog-read-more a{background-color: '.$BlogbtnbgssColor.';}';
     

        //contact heading & text color
        $contactHeadingColor = get_theme_mod('lz_fitness_contact_HeadingColor', '#a556d4');
        $contactTextColor = get_theme_mod('lz_fitness_contact_TextColor', '#474646');
        $custom_css .= '#ht-contact-section h2{color: '.$contactHeadingColor.';} .ht-section-tagline.lz-contact-text, .contact-text.padding0 a, .contact-text.padding0{color: '. $contactTextColor.';}';

        //sticky header background color
    $stickyheaderColor = get_theme_mod('lz_fitness_sticky_header_BackgroundColor', '#ffffff');
    $custom_css .= '.lower-header {background-color: '.$stickyheaderColor.';}';

        //newsletter heading & text color
        $newsletterHeadingColor = get_theme_mod('lz_newslatter_HeadingColor', '#ffffff');
        $newsletterIconColor = get_theme_mod('lz_newslatter_IconColor', '#ffffff');
        $custom_css .= '.ht-section-title-tagline .lz-newslatter-heading{color: '.$newsletterHeadingColor.';} .ht-section-tagline.lz-newslatter-text{color: '. $newsletterIconColor.';}';
   
	//plan heading & text color
    $planHeadingColor = get_theme_mod('lz_fitness_plan_HeadingColor', $primColor);
    $planTextColor = get_theme_mod('lz_fitness_plan_TextColor', '#333333');
    $custom_css .= '.lz-plan-heading{color: '.$planHeadingColor.';} .lz-plan-text{color: '.$planTextColor.';}';

	//newslatter heading & text color
    $newslatterHeadingColor = get_theme_mod('lz_newslatter_HeadingColor', '#ffffff');

    $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');



//Header Menu Color
    $headermenuColor = get_theme_mod('headermenu_color', '#000');
    $headerhovertmenuColor = get_theme_mod('headerhovermenu_color', '#7854c0');
    $headersubmenuColor = get_theme_mod('headersubmenu_color', '#fff');
    $headersubmenuhoverColor = get_theme_mod('headersubmenuhover_color', '#000');
    $headersubmenubghoverColor = get_theme_mod('headersubmenubghover_color', '#fff');
    $headercurrentmenuColor = get_theme_mod('headercurrentmenu_color', '#7854c0');
$headerdropdowncurrentsubmenuColor = get_theme_mod('headerdropdowncurrentsubmenu_color', '#000');
$headerdropdowncurrentsubmenubgColor = get_theme_mod('headerdropdowncurrentsubmenubg_color', '#fff');

$headersubmenuboxbgColor = get_theme_mod('headersubmenuboxbg_color', '#7854c0');

$headertaglineColor = get_theme_mod('header_taglineColor', '#000');


     $custom_css .= '.site-header .nav ul li a{color: '.$headermenuColor.';}
.site-header .nav ul li a:hover, .site-header .nav ul .current_page_item a:hover, header.site-header .current_page_item a:hover, .page-template-home-template header.site-header .nav .current_page_item > a:hover {color: '.$headerhovertmenuColor.';}

    .site-header ul ul.sub-menu a, .site-header .nav li.current_page_item ul li a{color: '.$headersubmenuColor.';}
     .site-header ul ul.sub-menu li a:hover{color: '.$headersubmenuhoverColor.';}
      .site-header ul ul.sub-menu li a:hover{background-color: '.$headersubmenubghoverColor.';}

     header.site-header .nav .current_page_item a, .page-template-home-template header.site-header .nav .current_page_item > a{color: '.$headercurrentmenuColor.';}

   .site-header ul.sub-menu li.current_page_item a{color: '.$headerdropdowncurrentsubmenuColor.';}
.site-header ul.sub-menu li.current_page_item a, .page-template-home-template .site-header ul.sub-menu li.current_page_item a {background-color: '.$headerdropdowncurrentsubmenubgColor.';}
ul.sub-menu{background-color: '.$headersubmenuboxbgColor.';}

 .ht-site-description a{color: '.$headertaglineColor.';}


    ';



    // 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].';}';
        }
    }else{
        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;}';
        }
    }


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

    return punte_css_strip_whitespace($custom_css);
}