<?php
	$advance_fitness_gym_custom_css = '';
	
	$advance_fitness_gym_theme_color = get_theme_mod('advance_fitness_gym_theme_color');

	/*------------------ Theme Color Option -----------*/
	if ($advance_fitness_gym_theme_color) {
		$advance_fitness_gym_custom_css .= ':root {';
		$advance_fitness_gym_custom_css .= '--primary-color: ' . esc_attr($advance_fitness_gym_theme_color) . ' !important;';
		$advance_fitness_gym_custom_css .= '} ';
	}

	// Single Post Image Settings
	$advance_fitness_gym_single_img_border_radius = get_theme_mod('advance_fitness_gym_single_img_border_radius', 0);
	$advance_fitness_gym_custom_css .='.page-box-single .feature-box img{';
		$advance_fitness_gym_custom_css .='border-radius: '.esc_attr($advance_fitness_gym_single_img_border_radius).'px;';
	$advance_fitness_gym_custom_css .='}';

	$advance_fitness_gym_single_img_box_shadow = get_theme_mod('advance_fitness_gym_single_img_box_shadow',0);
	$advance_fitness_gym_custom_css .='.page-box-single .feature-box img{';
		$advance_fitness_gym_custom_css .='box-shadow: '.esc_attr($advance_fitness_gym_single_img_box_shadow).'px '.esc_attr($advance_fitness_gym_single_img_box_shadow).'px '.esc_attr($advance_fitness_gym_single_img_box_shadow).'px #ccc;';
	$advance_fitness_gym_custom_css .='}';

	/*----Comment title text----*/
	$advance_fitness_gym_title_comment_form = get_theme_mod('
		advance_fitness_gym_title_comment_form', 'Leave a Reply');
	if($advance_fitness_gym_title_comment_form == ''){
	$advance_fitness_gym_custom_css .='#comments h2#reply-title {';
	$advance_fitness_gym_custom_css .='display: none;';
	$advance_fitness_gym_custom_css .='}';
	}

	/*----Comment button text----*/
	$advance_fitness_gym_comment_form_button_content = get_theme_mod('advance_fitness_gym_comment_form_button_content', 'Post Comment');
	if($advance_fitness_gym_comment_form_button_content == ''){
	$advance_fitness_gym_custom_css .='#comments p.form-submit {';
	$advance_fitness_gym_custom_css .='display: none;';
	$advance_fitness_gym_custom_css .='}';
	}

	/*---- Comment form ----*/
	$advance_fitness_gym_comment_width = get_theme_mod('advance_fitness_gym_comment_width', '100');
	$advance_fitness_gym_custom_css .='#comments textarea{';
	$advance_fitness_gym_custom_css .=' width:'.esc_attr($advance_fitness_gym_comment_width).'%;';
	$advance_fitness_gym_custom_css .='}';
	
	// media
	$advance_fitness_gym_custom_css .='@media screen and (max-width:1000px) {';
	if($advance_fitness_gym_theme_color){
	$advance_fitness_gym_custom_css .='#menu-sidebar, .primary-navigation ul ul a, .primary-navigation li a:hover, .primary-navigation li:hover a, #contact-info {
	background-image: linear-gradient(-90deg, #000 0%, '.esc_attr($advance_fitness_gym_theme_color).' 120%);
		}';
	}
	$advance_fitness_gym_custom_css .='}';

	/*---------------------------Width Layout -------------------*/
	$advance_fitness_gym_theme_lay = get_theme_mod( 'advance_fitness_gym_theme_options','Default');
    if($advance_fitness_gym_theme_lay == 'Default'){
		$advance_fitness_gym_custom_css .='body{';
			$advance_fitness_gym_custom_css .='max-width: 100%;';
		$advance_fitness_gym_custom_css .='}';
		$advance_fitness_gym_custom_css .='.page-template-custom-home-page .middle-header{';
			$advance_fitness_gym_custom_css .='width: 97.3%';
		$advance_fitness_gym_custom_css .='}';
	}else if($advance_fitness_gym_theme_lay == 'Container'){
		$advance_fitness_gym_custom_css .='body{';
			$advance_fitness_gym_custom_css .='width: 100%;padding-right: 15px;padding-left: 15px;margin-right: auto;margin-left: auto;';
		$advance_fitness_gym_custom_css .='}';
		$advance_fitness_gym_custom_css .='.page-template-custom-home-page .middle-header{';
			$advance_fitness_gym_custom_css .='width: 97.7%';
		$advance_fitness_gym_custom_css .='}';
	}else if($advance_fitness_gym_theme_lay == 'Box Container'){
		$advance_fitness_gym_custom_css .='body{';
			$advance_fitness_gym_custom_css .='max-width: 1140px; width: 100%; padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto;';
		$advance_fitness_gym_custom_css .='}';
	}

	// css
	$advance_fitness_gym_show_header = get_theme_mod( 'advance_fitness_gym_slider_hide', true);
	if($advance_fitness_gym_show_header == false){
		$advance_fitness_gym_custom_css .='.fitnes-post{';
			$advance_fitness_gym_custom_css .='margin-top: 0%; padding:0;';
		$advance_fitness_gym_custom_css .='}';
	}

	/*---------------------------Slider Content Layout -------------------*/
	$advance_fitness_gym_theme_lay = get_theme_mod( 'advance_fitness_gym_slider_content_alignment','Center');
    if($advance_fitness_gym_theme_lay == 'Left'){
		$advance_fitness_gym_custom_css .='#slider .carousel-caption, #slider .inner_carousel, #slider .inner_carousel h1, #slider .inner_carousel p, #slider .readbutton{';
			$advance_fitness_gym_custom_css .='text-align:left; left:15%; right:15%;';
		$advance_fitness_gym_custom_css .='}';
	}else if($advance_fitness_gym_theme_lay == 'Center'){
		$advance_fitness_gym_custom_css .='#slider .carousel-caption, #slider .inner_carousel, #slider .inner_carousel h1, #slider .inner_carousel p, #slider .readbutton{';
			$advance_fitness_gym_custom_css .='text-align:center; left:25%; right:25%;';
		$advance_fitness_gym_custom_css .='}';
	}else if($advance_fitness_gym_theme_lay == 'Right'){
		$advance_fitness_gym_custom_css .='#slider .carousel-caption, #slider .inner_carousel, #slider .inner_carousel h1, #slider .inner_carousel p, #slider .readbutton{';
			$advance_fitness_gym_custom_css .='text-align:right; left:15%; right:15%;';
		$advance_fitness_gym_custom_css .='}';
	}

	/*--------------------------- Slider Opacity -------------------*/
	$advance_fitness_gym_theme_lay = get_theme_mod( 'advance_fitness_gym_slider_image_opacity','0.7');
	if($advance_fitness_gym_theme_lay == '0'){
		$advance_fitness_gym_custom_css .='#slider img{';
			$advance_fitness_gym_custom_css .='opacity:0';
		$advance_fitness_gym_custom_css .='}';
		}else if($advance_fitness_gym_theme_lay == '0.1'){
		$advance_fitness_gym_custom_css .='#slider img{';
			$advance_fitness_gym_custom_css .='opacity:0.1';
		$advance_fitness_gym_custom_css .='}';
		}else if($advance_fitness_gym_theme_lay == '0.2'){
		$advance_fitness_gym_custom_css .='#slider img{';
			$advance_fitness_gym_custom_css .='opacity:0.2';
		$advance_fitness_gym_custom_css .='}';
		}else if($advance_fitness_gym_theme_lay == '0.3'){
		$advance_fitness_gym_custom_css .='#slider img{';
			$advance_fitness_gym_custom_css .='opacity:0.3';
		$advance_fitness_gym_custom_css .='}';
		}else if($advance_fitness_gym_theme_lay == '0.4'){
		$advance_fitness_gym_custom_css .='#slider img{';
			$advance_fitness_gym_custom_css .='opacity:0.4';
		$advance_fitness_gym_custom_css .='}';
		}else if($advance_fitness_gym_theme_lay == '0.5'){
		$advance_fitness_gym_custom_css .='#slider img{';
			$advance_fitness_gym_custom_css .='opacity:0.5';
		$advance_fitness_gym_custom_css .='}';
		}else if($advance_fitness_gym_theme_lay == '0.6'){
		$advance_fitness_gym_custom_css .='#slider img{';
			$advance_fitness_gym_custom_css .='opacity:0.6';
		$advance_fitness_gym_custom_css .='}';
		}else if($advance_fitness_gym_theme_lay == '0.7'){
		$advance_fitness_gym_custom_css .='#slider img{';
			$advance_fitness_gym_custom_css .='opacity:0.7';
		$advance_fitness_gym_custom_css .='}';
		}else if($advance_fitness_gym_theme_lay == '0.8'){
		$advance_fitness_gym_custom_css .='#slider img{';
			$advance_fitness_gym_custom_css .='opacity:0.8';
		$advance_fitness_gym_custom_css .='}';
		}else if($advance_fitness_gym_theme_lay == '0.9'){
		$advance_fitness_gym_custom_css .='#slider img{';
			$advance_fitness_gym_custom_css .='opacity:0.9';
		$advance_fitness_gym_custom_css .='}';
		}

	/*--------------- Button Settings option---------------*/
	$advance_fitness_gym_button_padding_top_bottom = get_theme_mod('advance_fitness_gym_button_padding_top_bottom');
	$advance_fitness_gym_button_padding_left_right = get_theme_mod('advance_fitness_gym_button_padding_left_right');
	$advance_fitness_gym_custom_css .='.new-text .second-border a, #comments .form-submit input[type="submit"], #fitness-togym .know-btn a.blogbutton-small{';
		$advance_fitness_gym_custom_css .='padding-top: '.esc_attr($advance_fitness_gym_button_padding_top_bottom).'px !important; padding-bottom: '.esc_attr($advance_fitness_gym_button_padding_top_bottom).'px !important; padding-left: '.esc_attr($advance_fitness_gym_button_padding_left_right).'px !important; padding-right: '.esc_attr($advance_fitness_gym_button_padding_left_right).'px !important; display:inline-block;';
	$advance_fitness_gym_custom_css .='}';

	$advance_fitness_gym_button_border_radius = get_theme_mod('advance_fitness_gym_button_border_radius');
	$advance_fitness_gym_custom_css .='.new-text .second-border a, #comments .form-submit input[type="submit"], #fitness-togym .know-btn a.blogbutton-small{';
		$advance_fitness_gym_custom_css .='border-radius: '.esc_attr($advance_fitness_gym_button_border_radius).'px;';
	$advance_fitness_gym_custom_css .='}';

	/*-----------------------------Responsive Setting --------------------*/
	$advance_fitness_gym_stickyheader = get_theme_mod( 'advance_fitness_gym_responsive_sticky_header', false);
	if($advance_fitness_gym_stickyheader == true && get_theme_mod( 'advance_fitness_gym_sticky_header', false) == false){
    	$advance_fitness_gym_custom_css .='.fixed-header{';
			$advance_fitness_gym_custom_css .='position:static;';
		$advance_fitness_gym_custom_css .='} ';
	}
    if($advance_fitness_gym_stickyheader == true){
    	$advance_fitness_gym_custom_css .='@media screen and (max-width:575px) {';
		$advance_fitness_gym_custom_css .='.fixed-header{';
			$advance_fitness_gym_custom_css .='position:fixed;';
		$advance_fitness_gym_custom_css .='} }';
	}else if($advance_fitness_gym_stickyheader == false){
		$advance_fitness_gym_custom_css .='@media screen and (max-width:575px) {';
		$advance_fitness_gym_custom_css .='.fixed-header{';
			$advance_fitness_gym_custom_css .='position:static;';
		$advance_fitness_gym_custom_css .='} }';
	}

	$advance_fitness_gym_slider = get_theme_mod( 'advance_fitness_gym_responsive_slider',true);
	if($advance_fitness_gym_slider == true && get_theme_mod( 'advance_fitness_gym_slider_hide', true) == false){
    	$advance_fitness_gym_custom_css .='#slider{';
			$advance_fitness_gym_custom_css .='display:none;';
		$advance_fitness_gym_custom_css .='} ';
	}
    if($advance_fitness_gym_slider == true){
    	$advance_fitness_gym_custom_css .='@media screen and (max-width:575px) {';
		$advance_fitness_gym_custom_css .='#slider{';
			$advance_fitness_gym_custom_css .='display:block;';
		$advance_fitness_gym_custom_css .='} }';
	}else if($advance_fitness_gym_slider == false){
		$advance_fitness_gym_custom_css .='@media screen and (max-width:575px) {';
		$advance_fitness_gym_custom_css .='#slider{';
			$advance_fitness_gym_custom_css .='display:none;';
		$advance_fitness_gym_custom_css .='} }';
	}

	$advance_fitness_gym_scroll = get_theme_mod( 'advance_fitness_gym_responsive_scroll',true);
	if($advance_fitness_gym_scroll == true && get_theme_mod( 'advance_fitness_gym_enable_disable_scroll', true) == false){
    	$advance_fitness_gym_custom_css .='#scroll-top{';
			$advance_fitness_gym_custom_css .='display:none !important;';
		$advance_fitness_gym_custom_css .='} ';
	}
    if($advance_fitness_gym_scroll == true){
    	$advance_fitness_gym_custom_css .='@media screen and (max-width:575px) {';
		$advance_fitness_gym_custom_css .='#scroll-top{';
			$advance_fitness_gym_custom_css .='visibility: visible !important;';
		$advance_fitness_gym_custom_css .='} }';
	}else if($advance_fitness_gym_scroll == false){
		$advance_fitness_gym_custom_css .='@media screen and (max-width:575px) {';
		$advance_fitness_gym_custom_css .='#scroll-top{';
			$advance_fitness_gym_custom_css .='visibility: hidden !important;';
		$advance_fitness_gym_custom_css .='} }';
	}

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

	$advance_fitness_gym_loader = get_theme_mod( 'advance_fitness_gym_responsive_preloader', true);
	if($advance_fitness_gym_loader == true && get_theme_mod( 'advance_fitness_gym_preloader_option', true) == false){
    	$advance_fitness_gym_custom_css .='#loader-wrapper{';
			$advance_fitness_gym_custom_css .='display:none;';
		$advance_fitness_gym_custom_css .='} ';
	}
    if($advance_fitness_gym_loader == true){
    	$advance_fitness_gym_custom_css .='@media screen and (max-width:575px) {';
		$advance_fitness_gym_custom_css .='#loader-wrapper{';
			$advance_fitness_gym_custom_css .='display:block;';
		$advance_fitness_gym_custom_css .='} }';
	}else if($advance_fitness_gym_loader == false){
		$advance_fitness_gym_custom_css .='@media screen and (max-width:575px) {';
		$advance_fitness_gym_custom_css .='#loader-wrapper{';
			$advance_fitness_gym_custom_css .='display:none;';
		$advance_fitness_gym_custom_css .='} }';
	}

	/*------------------ Skin Option  -------------------*/
	$advance_fitness_gym_theme_lay = get_theme_mod( 'advance_fitness_gym_background_skin_mode','Transpert Background');
    if($advance_fitness_gym_theme_lay == 'With Background'){
		$advance_fitness_gym_custom_css .='.page-box, #sidebar .widget,.woocommerce ul.products li.product, .woocommerce-page ul.products li.product,.front-page-content,.background-img-skin,.fitness-single-post, .noresult-content{';
			$advance_fitness_gym_custom_css .='background-color: #fff; padding:10px;';
		$advance_fitness_gym_custom_css .='}';
	}else if($advance_fitness_gym_theme_lay == 'Transpert Background'){
		$advance_fitness_gym_custom_css .='#sidebar aside,.page-box-single{';
			$advance_fitness_gym_custom_css .='background-color: transparent;';
		$advance_fitness_gym_custom_css .='}';
	}

	/*------------ Woocommerce Settings  --------------*/
	$advance_fitness_gym_top_bottom_product_button_padding = get_theme_mod('advance_fitness_gym_top_bottom_product_button_padding', 10);
	$advance_fitness_gym_custom_css .='.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .woocommerce input.button.alt, .woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled], .woocommerce div.product form.cart .button{';
		$advance_fitness_gym_custom_css .='padding-top: '.esc_attr($advance_fitness_gym_top_bottom_product_button_padding).'px; padding-bottom: '.esc_attr($advance_fitness_gym_top_bottom_product_button_padding).'px;';
	$advance_fitness_gym_custom_css .='}';

	$advance_fitness_gym_left_right_product_button_padding = get_theme_mod('advance_fitness_gym_left_right_product_button_padding', 16);
	$advance_fitness_gym_custom_css .='.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .woocommerce input.button.alt, .woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled], .woocommerce div.product form.cart .button{';
		$advance_fitness_gym_custom_css .='padding-left: '.esc_attr($advance_fitness_gym_left_right_product_button_padding).'px; padding-right: '.esc_attr($advance_fitness_gym_left_right_product_button_padding).'px;';
	$advance_fitness_gym_custom_css .='}';

	$advance_fitness_gym_product_button_border_radius = get_theme_mod('advance_fitness_gym_product_button_border_radius', 0);
	$advance_fitness_gym_custom_css .='.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .woocommerce input.button.alt, .woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled]{';
		$advance_fitness_gym_custom_css .='border-radius: '.esc_attr($advance_fitness_gym_product_button_border_radius).'px;';
	$advance_fitness_gym_custom_css .='}';

	$advance_fitness_gym_show_related_products = get_theme_mod('advance_fitness_gym_show_related_products',true);
	if($advance_fitness_gym_show_related_products == false){
		$advance_fitness_gym_custom_css .='.related.products{';
			$advance_fitness_gym_custom_css .='display: none;';
		$advance_fitness_gym_custom_css .='}';
	}

	$advance_fitness_gym_show_wooproducts_border = get_theme_mod('advance_fitness_gym_show_wooproducts_border', false);
	if($advance_fitness_gym_show_wooproducts_border == true){
		$advance_fitness_gym_custom_css .='.products li{';
			$advance_fitness_gym_custom_css .='border: 1px solid #cccccc;';
		$advance_fitness_gym_custom_css .='}';
	}

	$advance_fitness_gym_top_bottom_wooproducts_padding = get_theme_mod('advance_fitness_gym_top_bottom_wooproducts_padding',0);
	$advance_fitness_gym_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{';
		$advance_fitness_gym_custom_css .='padding-top: '.esc_attr($advance_fitness_gym_top_bottom_wooproducts_padding).'px !important; padding-bottom: '.esc_attr($advance_fitness_gym_top_bottom_wooproducts_padding).'px !important;';
	$advance_fitness_gym_custom_css .='}';

	$advance_fitness_gym_left_right_wooproducts_padding = get_theme_mod('advance_fitness_gym_left_right_wooproducts_padding',0);
	$advance_fitness_gym_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{';
		$advance_fitness_gym_custom_css .='padding-left: '.esc_attr($advance_fitness_gym_left_right_wooproducts_padding).'px !important; padding-right: '.esc_attr($advance_fitness_gym_left_right_wooproducts_padding).'px !important;';
	$advance_fitness_gym_custom_css .='}';

	$advance_fitness_gym_wooproducts_border_radius = get_theme_mod('advance_fitness_gym_wooproducts_border_radius',0);
	$advance_fitness_gym_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{';
		$advance_fitness_gym_custom_css .='border-radius: '.esc_attr($advance_fitness_gym_wooproducts_border_radius).'px;';
	$advance_fitness_gym_custom_css .='}';

	$advance_fitness_gym_wooproducts_box_shadow = get_theme_mod('advance_fitness_gym_wooproducts_box_shadow',0);
	$advance_fitness_gym_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{';
		$advance_fitness_gym_custom_css .='box-shadow: '.esc_attr($advance_fitness_gym_wooproducts_box_shadow).'px '.esc_attr($advance_fitness_gym_wooproducts_box_shadow).'px '.esc_attr($advance_fitness_gym_wooproducts_box_shadow).'px #eee;';
	$advance_fitness_gym_custom_css .='}';

	/*-------------- Footer Text -------------------*/

	$advance_fitness_gym_footer_heading = get_theme_mod( 'advance_fitness_gym_footer_heading','Left');
    if($advance_fitness_gym_footer_heading == 'Left'){
		$advance_fitness_gym_custom_css .='#footer h2, #footer .wp-block-search .wp-block-search__label{';
		$advance_fitness_gym_custom_css .='text-align: left !important;';
		$advance_fitness_gym_custom_css .='}';
	}else if($advance_fitness_gym_footer_heading == 'Center'){
		$advance_fitness_gym_custom_css .='#footer h2, #footer .wp-block-search .wp-block-search__label{';
			$advance_fitness_gym_custom_css .='text-align: center !important;';
		$advance_fitness_gym_custom_css .='}';
	}else if($advance_fitness_gym_footer_heading == 'Right'){
		$advance_fitness_gym_custom_css .='#footer h2, #footer .wp-block-search .wp-block-search__label{';
			$advance_fitness_gym_custom_css .='text-align: right !important;';
		$advance_fitness_gym_custom_css .='}';
	}

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

	// Footer Icon Font Size
	$advance_fitness_gym_footer_icon_font_size = get_theme_mod('advance_fitness_gym_footer_icon_font_size');
	$advance_fitness_gym_custom_css .='.footer-social-icon i{';
		$advance_fitness_gym_custom_css .='font-size: '.esc_attr($advance_fitness_gym_footer_icon_font_size).'px;';
	$advance_fitness_gym_custom_css .='}';

	//footer icon color
	$advance_fitness_gym_footer_icon_color = get_theme_mod('advance_fitness_gym_footer_icon_color', '#000');
	$advance_fitness_gym_custom_css .='.footer-social-icon i{';
		$advance_fitness_gym_custom_css .='color: '.esc_attr($advance_fitness_gym_footer_icon_color).'!important;';
	$advance_fitness_gym_custom_css .='}';

	// Footer Heading Font Size
	$advance_fitness_gym_footer_font_size = get_theme_mod('advance_fitness_gym_footer_font_size',24);
	$advance_fitness_gym_custom_css .='#footer h2{';
		$advance_fitness_gym_custom_css .='font-size: '.esc_attr($advance_fitness_gym_footer_font_size).'px;';
	$advance_fitness_gym_custom_css .='}';

	// Footer heading font weight
	$advance_fitness_gym_footer_heading_font_weight = get_theme_mod('advance_fitness_gym_footer_heading_font_weight', '600');
  	$advance_fitness_gym_custom_css .='#footer h2{';
    $advance_fitness_gym_custom_css .='font-weight: '.esc_attr($advance_fitness_gym_footer_heading_font_weight).'!important;';
  	$advance_fitness_gym_custom_css .='}';

	// Footer Heading Text Transform
	$advance_fitness_gym_theme_lay = get_theme_mod( 'advance_fitness_gym_footer_text_tranform','Uppercase');
    if($advance_fitness_gym_theme_lay == 'Uppercase'){
		$advance_fitness_gym_custom_css .='#footer h2{';
			$advance_fitness_gym_custom_css .='text-transform: uppercase !important;';
		$advance_fitness_gym_custom_css .='}';
	}else if($advance_fitness_gym_theme_lay == 'Lowercase'){
		$advance_fitness_gym_custom_css .='#footer h2{';
			$advance_fitness_gym_custom_css .='text-transform: lowercase !important;';
		$advance_fitness_gym_custom_css .='}';
	}
	else if($advance_fitness_gym_theme_lay == 'Capitalize'){
		$advance_fitness_gym_custom_css .='#footer h2{';
			$advance_fitness_gym_custom_css .='text-transform: capitalize !important;';
		$advance_fitness_gym_custom_css .='}';
	}

	$advance_fitness_gym_copyright_content_align = get_theme_mod('advance_fitness_gym_copyright_content_align');
	if($advance_fitness_gym_copyright_content_align != false){
		$advance_fitness_gym_custom_css .='.copyright{';
			$advance_fitness_gym_custom_css .='text-align: '.esc_attr($advance_fitness_gym_copyright_content_align).'!important;';
		$advance_fitness_gym_custom_css .='}';
	}

	$advance_fitness_gym_align_footer_social_icon = get_theme_mod('advance_fitness_gym_align_footer_social_icon');
	if($advance_fitness_gym_align_footer_social_icon != false){
		$advance_fitness_gym_custom_css .='.footer-social-icon{';
			$advance_fitness_gym_custom_css .='text-align: '.esc_attr($advance_fitness_gym_align_footer_social_icon).';';
		$advance_fitness_gym_custom_css .='}';
		$advance_fitness_gym_custom_css .='
		@media screen and (max-width:575px) {
			.footer-social-icon{';
			$advance_fitness_gym_custom_css .='text-align: center;} }';
	}

	$advance_fitness_gym_footer_content_font_size = get_theme_mod('advance_fitness_gym_footer_content_font_size', 15);
	$advance_fitness_gym_custom_css .='.copyright p{';
		$advance_fitness_gym_custom_css .='font-size: '.esc_attr($advance_fitness_gym_footer_content_font_size).'px;';
	$advance_fitness_gym_custom_css .='}';

	$advance_fitness_gym_copyright_padding = get_theme_mod('advance_fitness_gym_copyright_padding', 15);
	$advance_fitness_gym_custom_css .='.copyright{';
		$advance_fitness_gym_custom_css .='padding-top: '.esc_attr($advance_fitness_gym_copyright_padding).'px; padding-bottom: '.esc_attr($advance_fitness_gym_copyright_padding).'px;';
	$advance_fitness_gym_custom_css .='}';

	/*------ copyright text color -------*/
	$advance_fitness_gym_footer_text_color = get_theme_mod('advance_fitness_gym_footer_text_color');
	if($advance_fitness_gym_footer_text_color != false){
		$advance_fitness_gym_custom_css .='.copyright p, .copyright p a{';
			$advance_fitness_gym_custom_css .='color: '.esc_attr($advance_fitness_gym_footer_text_color).'!important;';
		$advance_fitness_gym_custom_css .='}';
	}

	/*------ copyright background css -------*/
	$advance_fitness_gym_footer_text_bg_color = get_theme_mod('advance_fitness_gym_footer_text_bg_color');
	if($advance_fitness_gym_footer_text_bg_color != false){
		$advance_fitness_gym_custom_css .='.copyright{';
			$advance_fitness_gym_custom_css .='background-color: '.esc_attr($advance_fitness_gym_footer_text_bg_color).';';
		$advance_fitness_gym_custom_css .='}';
	}

	$advance_fitness_gym_footer_widget_bg_color = get_theme_mod('advance_fitness_gym_footer_widget_bg_color');
	$advance_fitness_gym_custom_css .='#footer{';
		$advance_fitness_gym_custom_css .='background-color: '.esc_attr($advance_fitness_gym_footer_widget_bg_color).';';
	$advance_fitness_gym_custom_css .='}';

	$advance_fitness_gym_footer_widget_bg_image = get_theme_mod('advance_fitness_gym_footer_widget_bg_image');
	if($advance_fitness_gym_footer_widget_bg_image != false){
		$advance_fitness_gym_custom_css .='#footer{';
			$advance_fitness_gym_custom_css .='background: url('.esc_attr($advance_fitness_gym_footer_widget_bg_image).'); background-size:cover;';
		$advance_fitness_gym_custom_css .='}';
	}

	// scroll to top bg color
	$advance_fitness_gym_back_to_top_bg_color = get_theme_mod('advance_fitness_gym_back_to_top_bg_color');
	$advance_fitness_gym_custom_css .='#scroll-top{';
		$advance_fitness_gym_custom_css .='background-color: '.esc_attr($advance_fitness_gym_back_to_top_bg_color).';';
		$advance_fitness_gym_custom_css .='border-color: '.esc_attr($advance_fitness_gym_back_to_top_bg_color).';';
	$advance_fitness_gym_custom_css .='}';

	// scroll to top bg hover color
	$advance_fitness_gym_back_to_top_bg_hover_color = get_theme_mod('advance_fitness_gym_back_to_top_bg_hover_color');
	$advance_fitness_gym_custom_css .='#scroll-top:hover{';
		$advance_fitness_gym_custom_css .='background-color: '.esc_attr($advance_fitness_gym_back_to_top_bg_hover_color).';';
		$advance_fitness_gym_custom_css .='border-color: '.esc_attr($advance_fitness_gym_back_to_top_bg_hover_color).';';
	$advance_fitness_gym_custom_css .='}';

	// scroll to top
	$advance_fitness_gym_scroll_font_size_icon = get_theme_mod('advance_fitness_gym_scroll_font_size_icon', 22);
	$advance_fitness_gym_custom_css .='#scroll-top i{';
		$advance_fitness_gym_custom_css .='font-size: '.esc_attr($advance_fitness_gym_scroll_font_size_icon).'px;';
	$advance_fitness_gym_custom_css .='}';

	// Slider Height 
	$advance_fitness_gym_slider_image_height = get_theme_mod('advance_fitness_gym_slider_image_height');
	$advance_fitness_gym_custom_css .='#slider img{';
		$advance_fitness_gym_custom_css .='height: '.esc_attr($advance_fitness_gym_slider_image_height).'px;';
	$advance_fitness_gym_custom_css .='}';

	// button font size
	$advance_fitness_gym_button_font_size = get_theme_mod('advance_fitness_gym_button_font_size');
	$advance_fitness_gym_custom_css .='.page-box .new-text .second-border a{';
		$advance_fitness_gym_custom_css .='font-size: '.esc_attr($advance_fitness_gym_button_font_size).'px;';
	$advance_fitness_gym_custom_css .='}';

	// button letter spacing
	$advance_fitness_gym_button_letter_spacing = get_theme_mod('advance_fitness_gym_button_letter_spacing');
	$advance_fitness_gym_custom_css .='.page-box .new-text .second-border a{';
		$advance_fitness_gym_custom_css .='letter-spacing: '.esc_attr($advance_fitness_gym_button_letter_spacing).'px;';
	$advance_fitness_gym_custom_css .='}';

	// font weight
	$advance_fitness_gym_btn_font_weight = get_theme_mod('advance_fitness_gym_btn_font_weight');{
	$advance_fitness_gym_custom_css .='.page-box .new-text .second-border a{';
	$advance_fitness_gym_custom_css .='font-weight: '.esc_attr($advance_fitness_gym_btn_font_weight).';';
	$advance_fitness_gym_custom_css .='}';
	}

	// Button Text Transform
	$advance_fitness_gym_theme_lay = get_theme_mod( 'advance_fitness_gym_button_text_transform','Uppercase');
    if($advance_fitness_gym_theme_lay == 'Uppercase'){
		$advance_fitness_gym_custom_css .='.page-box .new-text .second-border a{';
			$advance_fitness_gym_custom_css .='text-transform: uppercase;';
		$advance_fitness_gym_custom_css .='}';
	}else if($advance_fitness_gym_theme_lay == 'Lowercase'){
		$advance_fitness_gym_custom_css .='.page-box .new-text .second-border a{';
			$advance_fitness_gym_custom_css .='text-transform: lowercase;';
		$advance_fitness_gym_custom_css .='}';
	}
	else if($advance_fitness_gym_theme_lay == 'Capitalize'){
		$advance_fitness_gym_custom_css .='.page-box .new-text .second-border a{';
			$advance_fitness_gym_custom_css .='text-transform: capitalize;';
		$advance_fitness_gym_custom_css .='}';
	}

	// Display Blog Post 
	$advance_fitness_gym_display_blog_page_post = get_theme_mod( 'advance_fitness_gym_display_blog_page_post','In Box');
    if($advance_fitness_gym_display_blog_page_post == 'Without Box'){
		$advance_fitness_gym_custom_css .='.page-box{';
			$advance_fitness_gym_custom_css .='border-bottom: solid 1px #000; box-shadow: none;';
		$advance_fitness_gym_custom_css .='}';
	}

	// Display Grid Post 
	$advance_fitness_gym_display_grid_page_post = get_theme_mod( 'advance_fitness_gym_display_grid_page_post','In Box');
    if($advance_fitness_gym_display_grid_page_post == 'Without Box'){
		$advance_fitness_gym_custom_css .='.page-box.grid-box{';
			$advance_fitness_gym_custom_css .='border-bottom: solid 1px #000; box-shadow: none;';
		$advance_fitness_gym_custom_css .='}';
	}

	// grid post content alignment
	$advance_fitness_gym_grid_post_alignment = get_theme_mod( 'advance_fitness_gym_grid_post_alignment','Left');
    if($advance_fitness_gym_grid_post_alignment == 'Left'){
		$advance_fitness_gym_custom_css .='.page-box.grid-box .new-text,.page-box.grid-box .box-image{';
		$advance_fitness_gym_custom_css .='text-align: left!important;';
		$advance_fitness_gym_custom_css .='}';
	}else if($advance_fitness_gym_grid_post_alignment == 'Center'){
		$advance_fitness_gym_custom_css .='.page-box.grid-box .new-text,.page-box.grid-box .box-image{';
			$advance_fitness_gym_custom_css .='text-align: center!important;';
		$advance_fitness_gym_custom_css .='}';
		$advance_fitness_gym_custom_css .='.page-box.grid-box h2:after{';
			$advance_fitness_gym_custom_css .='margin: 20px auto 0;';
		$advance_fitness_gym_custom_css .='}';
	}else if($advance_fitness_gym_grid_post_alignment == 'Right'){
		$advance_fitness_gym_custom_css .='.page-box.grid-box .new-text,.page-box.grid-box .box-image{';
			$advance_fitness_gym_custom_css .='text-align: right!important;';
		$advance_fitness_gym_custom_css .='}';
		$advance_fitness_gym_custom_css .='.page-box.grid-box .new-text h2{';
			$advance_fitness_gym_custom_css .='position: relative;';
		$advance_fitness_gym_custom_css .='}';
		$advance_fitness_gym_custom_css .='.page-box.grid-box .new-text h2:after{';
			$advance_fitness_gym_custom_css .='position: absolute; right: 0; margin-top: 3px;';
		$advance_fitness_gym_custom_css .='}';
	}

	// Blog Post Alignment
	$advance_fitness_gym_blog_post_alignment = get_theme_mod( 'advance_fitness_gym_blog_post_alignment','Left');
    if($advance_fitness_gym_blog_post_alignment == 'Left'){
		$advance_fitness_gym_custom_css .='.page-box .new-text{';
		$advance_fitness_gym_custom_css .='text-align: left;';
		$advance_fitness_gym_custom_css .='}';
	}else if($advance_fitness_gym_blog_post_alignment == 'Center'){
		$advance_fitness_gym_custom_css .='.page-box .new-text{';
			$advance_fitness_gym_custom_css .='text-align: center;';
		$advance_fitness_gym_custom_css .='}';
		$advance_fitness_gym_custom_css .='.page-box .new-text h2:after{';
			$advance_fitness_gym_custom_css .='margin: 10px auto 0;';
		$advance_fitness_gym_custom_css .='}';
	}else if($advance_fitness_gym_blog_post_alignment == 'Right'){
		$advance_fitness_gym_custom_css .='.page-box .new-text{';
			$advance_fitness_gym_custom_css .='text-align: right;';
		$advance_fitness_gym_custom_css .='}';
		$advance_fitness_gym_custom_css .='.page-box .new-text h2{';
			$advance_fitness_gym_custom_css .='position: relative;';
		$advance_fitness_gym_custom_css .='}';
		$advance_fitness_gym_custom_css .='.page-box .new-text h2:after{';
			$advance_fitness_gym_custom_css .='position: absolute; right: 0; margin-top: 8px;';
		$advance_fitness_gym_custom_css .='}';
	}

	// Pagination Alignment
	$advance_fitness_gym_pagination_alignment = get_theme_mod( 'advance_fitness_gym_pagination_alignment','Left');
    if($advance_fitness_gym_pagination_alignment == 'Left'){
		$advance_fitness_gym_custom_css .='.pagination, .nav-links{';
		$advance_fitness_gym_custom_css .='float: left;';
		$advance_fitness_gym_custom_css .='}';
	}else if($advance_fitness_gym_pagination_alignment == 'Center'){
		$advance_fitness_gym_custom_css .='.pagination, .nav-links{';
			$advance_fitness_gym_custom_css .='justify-content: center; float: none;';
		$advance_fitness_gym_custom_css .='}';
	}else if($advance_fitness_gym_pagination_alignment == 'Right'){
		$advance_fitness_gym_custom_css .='.pagination, .nav-links{';
			$advance_fitness_gym_custom_css .='float: right;';
		$advance_fitness_gym_custom_css .='}';
	}

	// slider overlay
	$advance_fitness_gym_slider_overlay = get_theme_mod('advance_fitness_gym_slider_overlay', true);
	if($advance_fitness_gym_slider_overlay == false){
		$advance_fitness_gym_custom_css .='#slider img{';
			$advance_fitness_gym_custom_css .='opacity:1;';
		$advance_fitness_gym_custom_css .='}';
	} 
	$advance_fitness_gym_slider_image_overlay_color = get_theme_mod('advance_fitness_gym_slider_image_overlay_color', true);
	if($advance_fitness_gym_slider_overlay != false){
		$advance_fitness_gym_custom_css .='#slider{';
			$advance_fitness_gym_custom_css .='background-color: '.esc_attr($advance_fitness_gym_slider_image_overlay_color).';';
		$advance_fitness_gym_custom_css .='}';
	}

	// site title and tagline font size option
	$advance_fitness_gym_site_title_size_option = get_theme_mod('advance_fitness_gym_site_title_size_option', 29);{
	$advance_fitness_gym_custom_css .='.logo h1 a, .logo p a{';
	$advance_fitness_gym_custom_css .='font-size: '.esc_attr($advance_fitness_gym_site_title_size_option).'px;';
		$advance_fitness_gym_custom_css .='}';
	}

	$advance_fitness_gym_site_tagline_size_option = get_theme_mod('advance_fitness_gym_site_tagline_size_option', 12);{
	$advance_fitness_gym_custom_css .='.logo p{';
	$advance_fitness_gym_custom_css .='font-size: '.esc_attr($advance_fitness_gym_site_tagline_size_option).'px !important;';
		$advance_fitness_gym_custom_css .='}';
	}

	// woocommerce product sale settings
	$advance_fitness_gym_border_radius_product_sale = get_theme_mod('advance_fitness_gym_border_radius_product_sale',0);
	$advance_fitness_gym_custom_css .='.woocommerce span.onsale {';
		$advance_fitness_gym_custom_css .='border-radius: '.esc_attr($advance_fitness_gym_border_radius_product_sale).'px;';
	$advance_fitness_gym_custom_css .='}';

	$advance_fitness_gym_align_product_sale = get_theme_mod('advance_fitness_gym_align_product_sale', 'Right');
	if($advance_fitness_gym_align_product_sale == 'Right' ){
		$advance_fitness_gym_custom_css .='.woocommerce ul.products li.product .onsale{';
			$advance_fitness_gym_custom_css .=' left:auto; right:0;';
		$advance_fitness_gym_custom_css .='}';
	}elseif($advance_fitness_gym_align_product_sale == 'Left' ){
		$advance_fitness_gym_custom_css .='.woocommerce ul.products li.product .onsale{';
			$advance_fitness_gym_custom_css .=' left:0; right:auto;';
		$advance_fitness_gym_custom_css .='}';
	}

	$advance_fitness_gym_product_sale_font_size = get_theme_mod('advance_fitness_gym_product_sale_font_size',14);
	$advance_fitness_gym_custom_css .='.woocommerce span.onsale{';
		$advance_fitness_gym_custom_css .='font-size: '.esc_attr($advance_fitness_gym_product_sale_font_size).'px;';
	$advance_fitness_gym_custom_css .='}';

	// preloader background image
	$advance_fitness_gym_preloader_bg_image = get_theme_mod('advance_fitness_gym_preloader_bg_image');
	if($advance_fitness_gym_preloader_bg_image != false){
		$advance_fitness_gym_custom_css .='#loader-wrapper .loader-section, #loader-wrapper{';
			$advance_fitness_gym_custom_css .='background: url('.esc_attr($advance_fitness_gym_preloader_bg_image).'); background-size: cover;';
		$advance_fitness_gym_custom_css .='}';
	}

	// preloader background option
	$advance_fitness_gym_loader_background_color_first = get_theme_mod('advance_fitness_gym_loader_background_color_first');
	$advance_fitness_gym_custom_css .='#loader-wrapper .loader-section, #loader-wrapper{';
		$advance_fitness_gym_custom_css .='background-color: '.esc_attr($advance_fitness_gym_loader_background_color_first).';';
	$advance_fitness_gym_custom_css .='} ';

	// breadcrumb color
	$advance_fitness_gym_breadcrumb_color = get_theme_mod('advance_fitness_gym_breadcrumb_color');
	$advance_fitness_gym_custom_css .='.bradcrumbs a, .bradcrumbs span{';
	$advance_fitness_gym_custom_css .='color: '.esc_attr($advance_fitness_gym_breadcrumb_color).';';
	$advance_fitness_gym_custom_css .='} ';

	// breadcrumb bg color
	$advance_fitness_gym_breadcrumb_bg_color = get_theme_mod('advance_fitness_gym_breadcrumb_bg_color');
	$advance_fitness_gym_custom_css .='.bradcrumbs a, .bradcrumbs span{';
	$advance_fitness_gym_custom_css .='background-color: '.esc_attr($advance_fitness_gym_breadcrumb_bg_color).';';
	$advance_fitness_gym_custom_css .='} ';

	// fixed header padding option
	$advance_fitness_gym_sticky_header_padding_settings = get_theme_mod('advance_fitness_gym_sticky_header_padding_settings', 0);
	$advance_fitness_gym_custom_css .='.fixed-header{';
		$advance_fitness_gym_custom_css .='padding: '.esc_attr($advance_fitness_gym_sticky_header_padding_settings).'px;';
	$advance_fitness_gym_custom_css .='}';

	// woocommerce Product Navigation
	$advance_fitness_gym_products_navigation = get_theme_mod('advance_fitness_gym_products_navigation', 'Yes');
	if($advance_fitness_gym_products_navigation == 'No'){
		$advance_fitness_gym_custom_css .='.woocommerce nav.woocommerce-pagination{';
			$advance_fitness_gym_custom_css .='display: none;';
		$advance_fitness_gym_custom_css .='}';
	}

	// featured image setting
	$advance_fitness_gym_featured_img_border_radius = get_theme_mod('advance_fitness_gym_featured_img_border_radius', 0);
	$advance_fitness_gym_custom_css .='.our-services img{';
		$advance_fitness_gym_custom_css .='border-radius: '.esc_attr($advance_fitness_gym_featured_img_border_radius).'px;';
	$advance_fitness_gym_custom_css .='}';

	$advance_fitness_gym_featured_img_box_shadow = get_theme_mod('advance_fitness_gym_featured_img_box_shadow',0);
	$advance_fitness_gym_custom_css .='.our-services img{';
		$advance_fitness_gym_custom_css .='box-shadow: '.esc_attr($advance_fitness_gym_featured_img_box_shadow).'px '.esc_attr($advance_fitness_gym_featured_img_box_shadow).'px '.esc_attr($advance_fitness_gym_featured_img_box_shadow).'px #ccc;';
	$advance_fitness_gym_custom_css .='}';

	// featured image setting
	$advance_fitness_gym_img_border_radius_grid_post = get_theme_mod('advance_fitness_gym_img_border_radius_grid_post', 0);
	$advance_fitness_gym_custom_css .='.our-services .grid-box img{';
		$advance_fitness_gym_custom_css .='border-radius: '.esc_attr($advance_fitness_gym_img_border_radius_grid_post).'px;';
	$advance_fitness_gym_custom_css .='}';

	// featured image dimention
	$advance_fitness_gym_blog_image_dimension = get_theme_mod('advance_fitness_gym_blog_image_dimension', 'default');
	$advance_fitness_gym_feature_image_custom_width = get_theme_mod('advance_fitness_gym_feature_image_custom_width');
	$advance_fitness_gym_feature_image_custom_height = get_theme_mod('advance_fitness_gym_feature_image_custom_height');
	if($advance_fitness_gym_blog_image_dimension == 'custom'){
		$advance_fitness_gym_custom_css .='.our-services .page-box img{';
			$advance_fitness_gym_custom_css .='width: '.esc_attr($advance_fitness_gym_feature_image_custom_width).'px; height: '.esc_attr($advance_fitness_gym_feature_image_custom_height).'px;';
		$advance_fitness_gym_custom_css .='}';
	}

	//First Cap (Blog Post)
	$advance_fitness_gym_show_first_caps = get_theme_mod('advance_fitness_gym_show_first_caps', 'false');
	if($advance_fitness_gym_show_first_caps == 'true' ){
	$advance_fitness_gym_custom_css .='.page-box .entry-content p:nth-of-type(1)::first-letter{';
	$advance_fitness_gym_custom_css .=' font-size: 55px; font-weight: 600;';
	$advance_fitness_gym_custom_css .=' margin-right: 6px;';
	$advance_fitness_gym_custom_css .=' line-height: 1;';
	$advance_fitness_gym_custom_css .='}';
	}elseif($advance_fitness_gym_show_first_caps == 'false' ){
	$advance_fitness_gym_custom_css .='.page-box .entry-content p:nth-of-type(1)::first-letter {';
	$advance_fitness_gym_custom_css .='display: none;';
	$advance_fitness_gym_custom_css .='}';
	}

	//First Cap (Single Post)
	$advance_fitness_gym_single_post_first_caps = get_theme_mod('advance_fitness_gym_single_post_first_caps', 'false');
	if($advance_fitness_gym_single_post_first_caps == 'true' ){
	$advance_fitness_gym_custom_css .='.page-box-single .new-text .entry-content p:nth-of-type(1)::first-letter{';
	$advance_fitness_gym_custom_css .=' font-size: 55px; font-weight: 600;';
	$advance_fitness_gym_custom_css .=' margin-right: 6px;';
	$advance_fitness_gym_custom_css .=' line-height: 1;';
	$advance_fitness_gym_custom_css .='}';
	}elseif($advance_fitness_gym_single_post_first_caps == 'false' ){
	$advance_fitness_gym_custom_css .='.page-box-single .new-text .entry-content p:nth-of-type(1)::first-letter {';
	$advance_fitness_gym_custom_css .='display: none;';
	$advance_fitness_gym_custom_css .='}';
	}

	// slider top and bottom padding
	$advance_fitness_gym_top_bottom_slider_content_space = get_theme_mod('advance_fitness_gym_top_bottom_slider_content_space');
	$advance_fitness_gym_left_right_slider_content_space = get_theme_mod('advance_fitness_gym_left_right_slider_content_space');
	$advance_fitness_gym_custom_css .='#slider .carousel-caption, #slider .inner_carousel, #slider .inner_carousel h1, #slider .inner_carousel p, #slider .know-btn{';
		$advance_fitness_gym_custom_css .='top: '.esc_attr($advance_fitness_gym_top_bottom_slider_content_space).'%; bottom: '.esc_attr($advance_fitness_gym_top_bottom_slider_content_space).'%;left: '.esc_attr($advance_fitness_gym_left_right_slider_content_space).'%;right: '.esc_attr($advance_fitness_gym_left_right_slider_content_space).'%;';
	$advance_fitness_gym_custom_css .='}';

	// Topbar padding top bottom
	$advance_fitness_gym_topbar_top_bottom_spacing = get_theme_mod('advance_fitness_gym_topbar_top_bottom_spacing');
	$advance_fitness_gym_custom_css .='.top_headbar{';
		$advance_fitness_gym_custom_css .='padding-top: '.esc_attr($advance_fitness_gym_topbar_top_bottom_spacing).'px; padding-bottom: '.esc_attr($advance_fitness_gym_topbar_top_bottom_spacing).'px;';
	$advance_fitness_gym_custom_css .='}';

	/*------------- Navigation Menu Font Size ------------------*/

	// Menu Text Transform
	$advance_fitness_gym_theme_lay = get_theme_mod( 'advance_fitness_gym_text_tranform_menu','Uppercase');
    if($advance_fitness_gym_theme_lay == 'Uppercase'){
		$advance_fitness_gym_custom_css .='.primary-navigation a{';
			$advance_fitness_gym_custom_css .='text-transform: uppercase;';
		$advance_fitness_gym_custom_css .='}';
	}else if($advance_fitness_gym_theme_lay == 'Lowercase'){
		$advance_fitness_gym_custom_css .='.primary-navigation a{';
			$advance_fitness_gym_custom_css .='text-transform: lowercase;';
		$advance_fitness_gym_custom_css .='}';
	}
	else if($advance_fitness_gym_theme_lay == 'Capitalize'){
		$advance_fitness_gym_custom_css .='.primary-navigation a{';
			$advance_fitness_gym_custom_css .='text-transform: capitalize;';
		$advance_fitness_gym_custom_css .='}';
	}

	// Menu Font Size
	$advance_fitness_gym_menu_font_size = get_theme_mod('advance_fitness_gym_menu_font_size');{
		$advance_fitness_gym_custom_css .='.primary-navigation a, .primary-navigation ul ul a, .sf-arrows .sf-with-ul:after, #menu-sidebar .primary-navigation a{';
			$advance_fitness_gym_custom_css .='font-size: '.esc_attr($advance_fitness_gym_menu_font_size).'px;';
		$advance_fitness_gym_custom_css .='}';
	}

	// Menu Padding
	$advance_fitness_gym_menu_padding = get_theme_mod('advance_fitness_gym_menu_padding');{
		$advance_fitness_gym_custom_css .='.primary-navigation ul li, .sf-arrows .sf-with-ul:after{';
			$advance_fitness_gym_custom_css .='padding: '.esc_attr($advance_fitness_gym_menu_padding).'px;';
		$advance_fitness_gym_custom_css .='}';
	}

	// Menu hover effect
	$advance_fitness_gym_menus_item = get_theme_mod( 'advance_fitness_gym_menus_item_style','None');
    if($advance_fitness_gym_menus_item == 'None'){
		$advance_fitness_gym_custom_css .='.primary-navigation ul a{';
			$advance_fitness_gym_custom_css .='';
		$advance_fitness_gym_custom_css .='}';
	}else if($advance_fitness_gym_menus_item == 'Zoom In'){
		$advance_fitness_gym_custom_css .='.primary-navigation ul a:hover{';
			$advance_fitness_gym_custom_css .='transition: all 0.3s ease-in-out !important; transform: scale(1.2) !important;';
		$advance_fitness_gym_custom_css .='}';
	}

	// menu font weight
	$advance_fitness_gym_menu_weight = get_theme_mod('advance_fitness_gym_menu_weight');{
		$advance_fitness_gym_custom_css .='.primary-navigation a, .primary-navigation ul ul a, .sf-arrows .sf-with-ul:after, #menu-sidebar .primary-navigation a{';
			$advance_fitness_gym_custom_css .='font-weight: '.esc_attr($advance_fitness_gym_menu_weight).';';
		$advance_fitness_gym_custom_css .='}';
	}

	// Menu Color Option
	$advance_fitness_gym_menu_color_settings = get_theme_mod('advance_fitness_gym_menu_color_settings');
	$advance_fitness_gym_custom_css .='.primary-navigation ul li a{';
		$advance_fitness_gym_custom_css .='color: '.esc_attr($advance_fitness_gym_menu_color_settings).';';
	$advance_fitness_gym_custom_css .='} ';

	// Menu Hover Color Option
	$advance_fitness_gym_menu_hover_color_settings = get_theme_mod('advance_fitness_gym_menu_hover_color_settings');
	$advance_fitness_gym_custom_css .='.primary-navigation ul li a:hover {';
		$advance_fitness_gym_custom_css .='color: '.esc_attr($advance_fitness_gym_menu_hover_color_settings).';';
	$advance_fitness_gym_custom_css .='} ';

	// Submenu Color Option
	$advance_fitness_gym_submenu_color_settings = get_theme_mod('advance_fitness_gym_submenu_color_settings');
	$advance_fitness_gym_custom_css .='.primary-navigation ul.sub-menu li a, .primary-navigation ul.children li a {';
		$advance_fitness_gym_custom_css .='color: '.esc_attr($advance_fitness_gym_submenu_color_settings).';';
	$advance_fitness_gym_custom_css .='} ';

	// Submenu Hover Color Option
	$advance_fitness_gym_submenu_hover_color_settings = get_theme_mod('advance_fitness_gym_submenu_hover_color_settings');
	$advance_fitness_gym_custom_css .='.primary-navigation ul.sub-menu li a:hover, .primary-navigation ul.children li a:hover {';
	$advance_fitness_gym_custom_css .='color: '.esc_attr($advance_fitness_gym_submenu_hover_color_settings).';';
	$advance_fitness_gym_custom_css .='} ';

	// site tagline color
	$advance_fitness_gym_site_tagline_color = get_theme_mod('advance_fitness_gym_site_tagline_color');
	$advance_fitness_gym_custom_css .='.logo p {';
		$advance_fitness_gym_custom_css .='color: '.esc_attr($advance_fitness_gym_site_tagline_color).' !important;';
	$advance_fitness_gym_custom_css .='}';

	// site title color
	$advance_fitness_gym_site_title_color = get_theme_mod('advance_fitness_gym_site_title_color');
	$advance_fitness_gym_custom_css .='.site-title a{';
		$advance_fitness_gym_custom_css .='color: '.esc_attr($advance_fitness_gym_site_title_color).' !important;';
	$advance_fitness_gym_custom_css .='}';

	// site top-bottom logo padding 
	$advance_fitness_gym_logo_padding_top = get_theme_mod('advance_fitness_gym_logo_padding_top', '');
	$advance_fitness_gym_custom_css .='.logo{';
	$advance_fitness_gym_custom_css .='padding-top: '.esc_attr($advance_fitness_gym_logo_padding_top).'px !important; padding-bottom: '.esc_attr($advance_fitness_gym_logo_padding_top).'px !important;';
	$advance_fitness_gym_custom_css .='}';

	// site left-right logo padding 
	$advance_fitness_gym_logo_padding_left = get_theme_mod('advance_fitness_gym_logo_padding_left', '');
	$advance_fitness_gym_custom_css .='.logo{';
	$advance_fitness_gym_custom_css .='padding-left: '.esc_attr($advance_fitness_gym_logo_padding_left).'px; padding-right: '.esc_attr($advance_fitness_gym_logo_padding_left).'px;';
	$advance_fitness_gym_custom_css .='}';

	// site top-bottom logo margin 
	$advance_fitness_gym_logo_margin_top = get_theme_mod('advance_fitness_gym_logo_margin_top', '');
	$advance_fitness_gym_custom_css .='.logo{';
	$advance_fitness_gym_custom_css .='margin-top: '.esc_attr($advance_fitness_gym_logo_margin_top).'px; margin-bottom: '.esc_attr($advance_fitness_gym_logo_margin_top).'px;';
	$advance_fitness_gym_custom_css .='}';

	// site left-right logo margin
	$advance_fitness_gym_logo_margin_left = get_theme_mod('advance_fitness_gym_logo_margin_left', '');
	$advance_fitness_gym_custom_css .='.logo{';
	$advance_fitness_gym_custom_css .='margin-left: '.esc_attr($advance_fitness_gym_logo_margin_left).'px; margin-right: '.esc_attr($advance_fitness_gym_logo_margin_left).'px;';
	$advance_fitness_gym_custom_css .='}';

	// toggle button color 
	$advance_fitness_gym_taggle_menu_bg_color_settings = get_theme_mod('advance_fitness_gym_taggle_menu_bg_color_settings', '');
	$advance_fitness_gym_custom_css .='.toggle-menu i {';
	$advance_fitness_gym_custom_css .='background-color:'.esc_attr($advance_fitness_gym_taggle_menu_bg_color_settings).'';
	$advance_fitness_gym_custom_css .='}';

	// product sale padding top /bottom
	$advance_fitness_gym_sale_padding_top = get_theme_mod('advance_fitness_gym_sale_padding_top', '');
	$advance_fitness_gym_custom_css .='.woocommerce ul.products li.product .onsale{';
	$advance_fitness_gym_custom_css .='padding-top: '.esc_attr($advance_fitness_gym_sale_padding_top).'px; padding-bottom: '.esc_attr($advance_fitness_gym_sale_padding_top).'px !important;';
	$advance_fitness_gym_custom_css .='}';

	// product sale padding left / right 
	$advance_fitness_gym_sale_padding_left = get_theme_mod('advance_fitness_gym_sale_padding_left', '');
	$advance_fitness_gym_custom_css .='.woocommerce ul.products li.product .onsale{';
	$advance_fitness_gym_custom_css .='padding-left: '.esc_attr($advance_fitness_gym_sale_padding_left).'px; padding-right: '.esc_attr($advance_fitness_gym_sale_padding_left).'px;';
	$advance_fitness_gym_custom_css .='}';

	// Copyright Sticky 
	$advance_fitness_gym_resp_stickycopyright = get_theme_mod( 'advance_fitness_gym_stickycopyright_hide_show',false);
	if($advance_fitness_gym_resp_stickycopyright == true && get_theme_mod( 'advance_fitness_gym_copyright_sticky',false) != true){
    	$advance_fitness_gym_custom_css .='.copyright-sticky{';
			$advance_fitness_gym_custom_css .='position:static;';
		$advance_fitness_gym_custom_css .='} ';
	}	









