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

function total_dymanic_styles(){
    global $post;
	$primColor = get_theme_mod( 'luzuk_template_color', '#e05b1d' );


 $navigationrespnavbsbgssColor = get_theme_mod( 'header_respnavbsbgssColor', '#e05b1d' );
    $navigationrespnavbrssColor = get_theme_mod( 'header_navigationrespnavbrssColor', '#000' );
 

	// $color_rgba = total_hex2rgba($color, 0.9);
	// echo 'light color: '.
	// $color_rgba = luzuk_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('luzuk_general_headeing_font', '23');
    // echo '<br> text font '.
	$textFontRow = get_theme_mod('luzuk_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%');

 $pageH1Font = get_theme_mod('pages_h1font', '28px');
    $pageH2Font = get_theme_mod('pages_h2font', '26px');
    $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', '2em');
 $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, .luzuk-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;}
     .header-transparent .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};}

   .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;}
    
 .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,
    #blog-box .blog-read-more a,
    #ht-newslatter-section .newsletter-form-box,
    #ht-appintment-section .ht-appintment-member-wrap,
    .readmore a:hover,
	.ht-main-navigation,
	.pagingation .current,      
    .wpcf7-submit,
	.ht-title-wrap,
	#featured-pages-section .featured-post a.btn,
	#featured-post-section .featured-icon,
	#ht-contact-section,
	#quote-carousel .carousel-indicators .active,
	.pftab .slider,
	.ht-main-navigation ul ul,
    #innerpage-box .featured-post a.btn,
    .pagingation a:hover,
    #innerpage-box .page-testimonial-box:hover,
    button, input[type=button], input[type=reset], input[type=submit],
	.woocommerce ul.products li.product:hover .button, 
	.woocommerce a.button,
    .inner-blog-post .socialMedia a:hover,
    .socialMedia a,
    .ht-slide-caption a,
    .sticky-header.main-bar-wraper.navbar-expand-lg,
    input[type='submit'], div#secondary input[type='submit'],
     h3#reply-title:after, h3.comments-title:after,
      .widget-area .widget-title:after
    {
    	background:{$primColor};
    }

    a,
    a:hover,
    .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-excerpt h5 a,
	#ht-blog-section .blog-date i,
	.featured-link a,
	#testimonials-section h6,
	sidebar_list a,
	.widget-area a,
	.entry-content h2,
	#ht-about-us-section .ht-section-title,	
	.ht-team-social-id a,
	#featured-pages-section .fa, 
	.lz-team-text:after,
	.ht-section-title-tagline:after,
	.tabset > input:checked + label,
	.pftab .nav-tabs .active a,
	.pftab .slider:after,	
	.ht-footer .textwidget .fa,
    .page-testimonial-box h6,
	.tab-content h6.faq-title,
    #secondary ul li a:hover,
    #secondary .tagcloud a:hover,
    .contact-sm-links li a:hover,
    .header-social-links a:hover,
    #innerpage-box .featured-post h5 a:hover,
	 h6.faq-title:before,
     .ht-site-title a, .site-title a,
     #content-box .wc-proceed-to-checkout a:hover,
     .widget .social-profile-icons ul li i:hover
    {
    	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-icon,
	#featured-pages-section .featured-icon:before,
	#featured-pages-section .featured-icon:after,
	#featured-pages-section .featured-post a.btn:hover,	
    #innerpage-box .featured-post a.btn:hover,
    #blog-box .blog-read-more a,
    #innerpage-box .page-testimonial-box:hover,
    #innerpage-box  .page-testimonial-box:hover .team-thumb img,
	.woocommerce div.product .woocommerce-tabs ul.tabs,
	.woocommerce-tabs textarea,
    .socialMedia a,
    .widget-area .widget-title:after
	
    {
    	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: 992px){
    .navigation.menuopen{
        background:{$navigationrespnavbsbgssColor};
    }
    .navigation.menuopen{
        border-right-color:{$navigationrespnavbrssColor} !important;
    }

}

    ";

    // heading text colour 
    $headingColor = get_theme_mod('luzuk_title_color', '#fe5722');
    $custom_css .= '.title-color{color:'.$headingColor.';}';

    // START SECONDARY COLOR CSS
    $secondary = get_theme_mod('theme_secondary_color', '#2e2e2e');
    $custom_css .='
    .secondry-bg{
        background-color:'.$secondary.'
    }
    .secondry-text{color:'.$secondary.';}
	.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,
	.ht-blog-excerpt a,
	.blog-date,
	.widget-area a:hover,
	.ht-contact-member-wrap label
	{color:'.$secondary.';}

	#content-box ol li:before,
	.page-main-header,
	#ht-contactus-wrap .contact-page-form,
	.ht-slide-button a
	{background-color:'.$secondary.'}

   .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

   {
        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


//featured pages section

    if(get_theme_mod('luzuk_premium_fpage_section_background') == 'on' ){
        
        $bgimg = get_theme_mod('luzuk_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('luzuk_fpage_bg_color', '#ffffff');
        if('#ffffff' != $color){
            $custom_css .= '#featured-pages-section {background-color: '.$color.';} .featured-post{border-color:'.$color.';}';
        }
    }

 // featured section 
    if(get_theme_mod('luzuk_premium_featured_section_background','off') == 'on' ){
        
        $bgimg = get_theme_mod('luzuk_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('luzuk_featured_bg_color', '#f6f6f6');
        if('#f6f6f6' != $color){
            $custom_css .= '#featured-post-section {background-color: '.$color.';} .featured-post {border-color:'.$color.';}';
        }
    } 

    // gym 
    if(get_theme_mod('luzuk_premium_gym_section_background','off') == 'on' ){
    	$custom_css .= '.ht-time-address-section {background-image: url(\''.get_theme_mod('luzuk_gym_bg_image').'\');background-position: top;background-size: cover;}';
    }else{
    	$color = get_theme_mod('luzuk_gym_bg_color', $headingColor);
    	if('#ffffff' != $color){
    		$custom_css .= '#ht-time-address-section.ht-section {background-color: '.$color.';} 
    		h2.luzuk-h2{border-bottom-color:'.$primColor.';}';
    	}else{
    		$custom_css .= 'h2.luzuk-h2{border-bottom-color:'.$primColor.';}';
    	}
    }
    //appointment
    if(get_theme_mod('luzuk_premium_appointment_section_background','off') == 'on' ){
    	$custom_css .= '.lz-appintment-section {background-image: url(\''.get_theme_mod('luzuk_appointment_bg_image').'\');background-position: top;background-size: cover;}';
    }else{
    	$color = get_theme_mod('luzuk_appointment_bg_color', '#ffffff');
    	if('#ffffff' != $color){
    		$custom_css .= '.lz-appintment-section, .lz-appintment-section input[type="submit"]{background-color: '.$color.';}';
    	}
    }
	// contact section
	if(get_theme_mod('luzuk_premium_contact_section_background','off') == 'on' ){
    	$custom_css .= '.lz-contact-section {background-image: url(\''.get_theme_mod('luzuk_contact_bg_image').'\');background-position: top;background-size: cover;}';
    }else{
    	$color = get_theme_mod('luzuk_contact_bg_color', '#ffffff');
    	if('#ffffff' != $color){
    		$custom_css .= '.lz-contact-section, .lz-contact-section input[type="submit"]{background-color: '.$color.';}';
    	}
    }
	
    //blog
    if(get_theme_mod('luzuk_premium_blog_section_background','off') == 'on' ){
    	$custom_css .= '#ht-blog-section {background-image: url(\''.get_theme_mod('luzuk_blog_bg_image').'\');background-position: top;background-size: cover;}';
    }else{
    	$color = get_theme_mod('luzuk_blog_bg_color', '#ffffff');
    	if('#ffffff' != $color){
    		$custom_css .= '#ht-blog-section, .ht-blog-read-more a {background-color: '.$color.';} 
			.ht-blog-post{border-color:'.$color.';}
			section#ht-blog-section{background-color: '.$color.';}';
    	}
    }
    // pricing 
    
    if(get_theme_mod('luzuk_premium_pricing_section_background','off') == 'on' ){
    	$custom_css .= '#ht-princing-post-section {background-image: url(\''.get_theme_mod('luzuk_pricing_bg_image').'\');background-position: top;background-size: cover;}';
    }else{
    	$color = get_theme_mod('luzuk_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($luzuk_lite_layout) && $luzuk_lite_layout == "sclayout") {
    	$custom_css .= ".article { float: right; } .sidebar.c-4-12 { float: left; }";
    }

    // header colors
    $HeadersocialbgColor = get_theme_mod('luzuk_header_socialsbgColor', '#2e2e2e');

    $HeadersocialColor = get_theme_mod('luzuk_header_socialsColor', '#fff');
    $HeadersocialhoverColor = get_theme_mod('luzuk_header_socialshoverColor', '#e05b1d');

    $HeadertopbgColor = get_theme_mod('luzuk_header_topbgColor', '#fff');
     $HeadernavbgColor = get_theme_mod('luzuk_header_navbgColor', '#e05b1d');


     $HeadercontactlabelColor = get_theme_mod('luzuk_header_contactlabelColor', '#454545');
    $HeadercontactdataColor = get_theme_mod('luzuk_header_contactdataColor', '#e05b1d');
    $HeadercontactemailhoverColor = get_theme_mod('luzuk_header_contactemailhoverColor', '#000');
    $HeadercontactborderColor = get_theme_mod('luzuk_header_contactborderColor', '#ececec');



    $custom_css .= '.header-social-links a{color: '.$HeadersocialColor.';}
    .header-social-links a:hover{color: '.$HeadersocialhoverColor.';}
    .upper-header{background-color: '.$HeadersocialbgColor.';}
      .header-transparent{background-color: '.$HeadertopbgColor.';}
    .sticky-header.main-bar-wraper.navbar-expand-lg{background-color: '.$HeadernavbgColor.';}

    .header-right-box .themetext{color: '.$HeadercontactlabelColor.';}
   .header-right-box div, .header-right-box .mailto a{color: '.$HeadercontactdataColor.';}
    .header-right-box .mailto a:hover{color: '.$HeadercontactemailhoverColor.';}
    .contact-border{border-color: '.$HeadercontactborderColor.';}';




  //Header Menu Color
    $headermenuColor = get_theme_mod('headermenu_color', '#fff');
    $headerhovertmenuColor = get_theme_mod('headerhovermenu_color', '#000');
    $headermenuhoverbgColor = get_theme_mod('headermenuhoverbg_color', '#fff');
    $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', '#000');
    $headercurrentmenubgColor = get_theme_mod('headercurrentmenubg_color', '#fff');
$headerdropdowncurrentsubmenuColor = get_theme_mod('headerdropdowncurrentsubmenu_color', '#000');
$headerdropdowncurrentsubmenubgColor = get_theme_mod('headerdropdowncurrentsubmenubg_color', '#fff');

$headersubmenuboxbgColor = get_theme_mod('headersubmenuboxbg_color', '#e05b1d');
$headertaglineColor = get_theme_mod('header_taglineColor', '#000');
 $navigationrespnavtoggbarbgssColor = get_theme_mod( 'header_respnavtoggbarbgssColor', '#fff' );

  $HeadertopsubmenuiconColor = get_theme_mod( 'header_topsubmenuiconColor', '#fff' );



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

    .site-header ul ul.sub-menu a, .site-header .navigation 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 .navigation .current_page_item a, .page-template-home-template header.site-header .navigation .current_page_item > a{color: '.$headercurrentmenuColor.';}
       header.site-header .navigation .current_page_item a, .page-template-home-template header.site-header .navigation .current_page_item > a{background-color: '.$headercurrentmenubgColor.';}

   .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.';}
.site-header .navigation ul.sub-menu{background-color: '.$headersubmenuboxbgColor.';}

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

  .hamburger-menus span{background-color: '.$navigationrespnavtoggbarbgssColor.';}
.menu-click i{color: '.$HeadertopsubmenuiconColor.';}
    ';





	//about us heading & text color
    $aboutusHeadingColor = get_theme_mod('luzuk_aboutus_page_HeadingColor', $primColor);
    /*if($primColor == $aboutusHeadingColor){
        $aboutusHeadingColor = $headingColor;
    }*/

    $aboutusTextColor = get_theme_mod('luzuk_aboutus_page_TextColor', '#333333');
    $custom_css .= '.lz-about-heading{color: '.$aboutusHeadingColor.';} .lz-about-text{color: '.$aboutusTextColor.';}';

	//facility heading & text color
    $facilityHeadingColor = get_theme_mod('luzuk_facility_HeadingColor', $primColor);
    /*if($primColor == $facilityHeadingColor){
        $facilityHeadingColor = $headingColor;
    }*/
    $facilityTextColor = get_theme_mod('luzuk_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;
    }*/
     $featuredPagesubheadingColor = get_theme_mod('lz_featured_pages_SubheadingColor', '#333333');
    $featuredPageTextColor = get_theme_mod('lz_featured_pages_TextColor', '#333333');
     $featuredPageTitleColor = get_theme_mod('lz_featured_pages_TitleColor', '#2a2a2a');

    $featuredPageIconoddColor = get_theme_mod('lz_featured_pages_IconoddColor', '#e05b1d' );
    $featuredPageIconevenColor = get_theme_mod('lz_featured_pages_IconevenColor', '#ffb200' );

    $featuredPagebuttonColor = get_theme_mod('lz_featured_pages_buttonColor', '#fff');
    $featuredPagebuttonbgoddColor = get_theme_mod('lz_featured_pages_buttonbgoddColor', '#e05b1d');
    $featuredPagebuttonborderoddColor = get_theme_mod('lz_featured_pages_buttonborderoddColor', '#fff');
     $featuredPagebuttonborderoddhoverColor = get_theme_mod('lz_featured_pages_buttonborderoddhoverColor', '#e05b1d');

    $featuredPagebuttonhoverColor = get_theme_mod('lz_featured_pages_buttonhoverColor', '#000');
    $featuredPagebuttonbgevenColor = get_theme_mod('lz_featured_pages_buttonbgevenColor', '#ffb200');
    $featuredPagebuttonborderevenColor = get_theme_mod('lz_featured_pages_buttonborderevenColor', '#fff');
     $featuredPagebuttonborderevenhoverColor = get_theme_mod('lz_featured_pages_buttonborderevenhoverColor', '#ffb200');

    $custom_css .= '.lz-featured-Page-heading{color: '.$featuredPageHeadingColor.';}

   #featured-pages-section .lz-featured-Page-text{color: '.$featuredPagesubheadingColor.';}

     #featured-pages-section .featured-excerpt{color: '.$featuredPageTextColor.';}

    #featured-pages-section .featured-post h5 a{color: '.$featuredPageTitleColor.';}

    #featured-pages-section .featured-sec:nth-child(odd) .featured-icon span {color: '.$featuredPageIconoddColor.';}
   #featured-pages-section .featured-sec:nth-child(odd) .featured-icon,
    #featured-pages-section .featured-sec:nth-child(odd) .featured-icon:before,
    #featured-pages-section .featured-sec:nth-child(odd) .featured-icon:after {border-color: '.$featuredPageIconoddColor.';}

    #featured-pages-section .featured-sec:nth-child(even) .featured-icon span {color: '.$featuredPageIconevenColor.';}
    #featured-pages-section .featured-sec:nth-child(even) .featured-icon,
#featured-pages-section .featured-sec:nth-child(even) .featured-icon:before,
#featured-pages-section .featured-sec:nth-child(even) .featured-icon:after {border-color: '.$featuredPageIconevenColor.';}


   #featured-pages-section .featured-post a.btn{color: '.$featuredPagebuttonColor.';}
   #featured-pages-section .featured-sec:nth-child(odd) .featured-post a.btn{background-color: '.$featuredPagebuttonbgoddColor.';}
    #featured-pages-section .featured-sec:nth-child(odd) .featured-post a.btn{border-color: '.$featuredPagebuttonborderoddColor.';}
      #featured-pages-section .featured-sec:nth-child(odd) .featured-post a.btn:hover{border-color: '.$featuredPagebuttonborderoddhoverColor.';}

     #featured-pages-section .featured-post a.btn:hover{color: '.$featuredPagebuttonhoverColor.';}

    #featured-pages-section .featured-sec:nth-child(even) .featured-post a.btn{background-color: '.$featuredPagebuttonbgevenColor.';}
    #featured-pages-section .featured-sec:nth-child(even) .featured-post a.btn{border-color: '.$featuredPagebuttonborderevenColor.';}
    #featured-pages-section .featured-sec:nth-child(even) .featured-post a.btn:hover{border-color: '.$featuredPagebuttonborderevenhoverColor.';}


     ';

    // featured post heading & text color
    $featuredPostHeadingColor = get_theme_mod('luzuk_featured_HeadingColor', '#2a2a2a');
    /*if($primColor == $featuredPostHeadingColor){
        $featuredPostHeadingColor = $headingColor;
    }*/
    $featuredPostTextColor = get_theme_mod('luzuk_featured_TextColor', '#4f4f4f');
    $featuredPostTitleColor = get_theme_mod('luzuk_featured_TitleColor', '#2a2a2a');
    $featuredPostIconColor = get_theme_mod('luzuk_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.';}';

	//gym heading & text color
    $gymHeadingColor = get_theme_mod('luzuk_gym_HeadingColor', $primColor);
    if($primColor == $gymHeadingColor){
        $gymHeadingColor = $headingColor;
    }
    $gymTextColor = get_theme_mod('luzuk_gym_TextColor', '#333333');
    $custom_css .= '.lz-gym-heading{color: '.$gymHeadingColor.';} .lz-gym-text{color: '.$gymTextColor.';}';
	//appointment heading & text color
    $appointmentHeadingColor = get_theme_mod('luzuk_appointment_HeadingColor', $primColor);

    $appointmentTextColor = get_theme_mod('luzuk_appointment_TextColor', '#333333');
    $custom_css .= '.lz-appointment-heading{color: '.$appointmentHeadingColor.';} .lz-appointment-text{color: '.$appointmentTextColor.';}';

	//blog heading & text color
    $blogHeadingColor = get_theme_mod('luzuk_blog_HeadingColor', '#2a2a2a');
    /*if($primColor == $blogHeadingColor){
        $blogHeadingColor = $headingColor;
    }*/
    $blogTextColor = get_theme_mod('luzuk_blog_TextColor', '#4f4f4f');
    $custom_css .= '.lz-blog-heading{color: '.$blogHeadingColor.';}
    .ht-blog-excerpt, #faq-teachers-section h6.lz-blog-subheading{color: '.$blogTextColor.';}';
  
	//blog heading & text color
	$blogTextColor = get_theme_mod('ht-contact-section_TextColor', '#4f4f4f');
    $custom_css .= '.ht-contact-heading{color: '.$blogHeadingColor.';} .ht-contact-text{color: '.$blogTextColor.';}';

	//plan heading & text color
    $planHeadingColor = get_theme_mod('luzuk_plan_HeadingColor', $primColor);
    /*if($primColor == $planHeadingColor){
        $planHeadingColor = $headingColor;
    }*/
    $planTextColor = get_theme_mod('luzuk_plan_TextColor', '#333333');
    $custom_css .= '.lz-plan-heading{color: '.$planHeadingColor.';} .lz-plan-text{color: '.$planTextColor.';}';

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

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

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

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

    $innerpagecontentboxlinkColor = get_theme_mod('template_innerpage_contentboxlinkcolor', '#e05b1d');

     $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');
$innerpagetableboxbgColor = get_theme_mod('template_innerpage_tableboxbg_color', '#fff');
$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', '#e05b1d');
 
    $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, .widget-area h3.widget-title, 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, 
    .widget-area .widget-title,
    #blog-box h4, #blog-box h4 small,
    #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.';}

    .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

     {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 table tbody td,  #innerpage-box table tbody{background-color: '.$innerpagetableboxbgColor.';}
 #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{background-color: '.$innerpageblogboxbgColor.';}
   ';


 // Inner contact us page background color
    $ContactusdetailiconColor = get_theme_mod('contactus_detailiconColor', '#444');
    $ContactusdetailtitleColor = get_theme_mod('contactus_detailtitleColor', '#444');
    $ContactusdetailinfoColor = get_theme_mod('contactus_detailinfoColor', '#444');
    $ContactusdetailemailColor = get_theme_mod('contactus_detailemailColor', '#e05b1d');
    $ContactusdetailemailhoverColor = get_theme_mod('contactus_detailemailhoverColor', '#2e2e2e');
    $ContactusformtitleColor = get_theme_mod('contactus_formtitleColor', '#fff');
    $ContactusformbgColor = get_theme_mod('contactus_formbgColor', '#e05b1d');
    $ContactusformlabelColor = get_theme_mod('contactus_formlabelColor', '#fff');
    $ContactusformtextplaceColor = get_theme_mod('contactus_formtextplaceColor', '#fff');
    $ContactusformborderbottomColor = get_theme_mod('contactus_formborderbottomColor', '#fff');
    $ContactusformbtnColor = get_theme_mod('contactus_formbtnColor', '#e05b1d');
    $ContactusformbtnbgColor = get_theme_mod('contactus_formbtnbgColor', '#fff');
     $ContactusformbtnhoverColor = get_theme_mod('contactus_formbtnhoverColor', '#fff');
    $ContactusformbtnbghoverColor = get_theme_mod('contactus_formbtnbghoverColor', '#2e2e2e');
     $ContactusformdtextColor = get_theme_mod('contactus_formdtextColor', '#fff');
    $ContactussocialtitleColor = get_theme_mod('contactus_SocialtitleColor', '#2e2e2e');
    $ContactussocialColor = get_theme_mod('contactus_SocialTitleColor', '#bbb');
    $ContactussocialhoverColor = get_theme_mod('contactus_SocialTitlehoverColor', '#e05b1d');
    $ContactusmapbgColor = get_theme_mod('contactus_mapbgColor', '#e05b1d');
    $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 input[type=file],
     #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 input[type=file],
     #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.';}
  #innerpage-box span.fa:hover, #ht-contactus-wrap .contact-sm-links li a:hover {color: '.$ContactussocialhoverColor.';}
    .contact-mapbox iframe {background-color: '.$ContactusmapbgColor.';}';


   // For Footer

    if(get_theme_mod('luzuk_premium_footer_section_background','off') == 'on' ){
        
        $bgimg = get_theme_mod('luzuk_footer_bg_image');
        $img = !empty($bgimg)?$bgimg:get_template_directory_uri().'/images/default-gray.png';
        
        $custom_css .= '#ht-top-footer{background-image: url("'.$img.'");background-position: top;background-size: cover;}';
    }else{
        $color = get_theme_mod('luzuk_footer_bg_color', '#2e2e2e');
        if('#2e2e2e' != $color){
            $custom_css .= '#ht-top-footer{background-color: '.$color.';}';
        }
    }

    
 
    //Footer background color
$footertitleColor = get_theme_mod('footer_title_color', '#fff');
$footercopyrighttextColor = get_theme_mod('footer_copyrighttext_color', '#848484');
$footercopyrightbgColor = get_theme_mod('footer_copyrightbg_color', '#282828');

    $custom_css .= '#ht-colophon .widget-title, #calendar_wrap caption{color: '.$footertitleColor.';}
   
    .ht-site-info{color: '.$footercopyrighttextColor.';}
    #ht-bottom-footer{background-color: '.$footercopyrightbgColor.';}
';




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