<?php

	$gym_training_coach_first_color = get_theme_mod('gym_training_coach_first_color');
	$gym_training_coach_custom_css ='';

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

	if ($gym_training_coach_first_color) {
		$gym_training_coach_custom_css .= ':root {';
		$gym_training_coach_custom_css .= '--first-theme-color: ' . esc_attr($gym_training_coach_first_color) . ' !important;';
		$gym_training_coach_custom_css .= '} ';
	}

	/*---------------------------Width Layout -------------------*/
	$gym_training_coach_theme_lay = get_theme_mod( 'gym_training_coach_width_layout_options','Default');
    if($gym_training_coach_theme_lay == 'Default'){
		$gym_training_coach_custom_css .='body{';
			$gym_training_coach_custom_css .='max-width: 100%;';
		$gym_training_coach_custom_css .='}';
	}else if($gym_training_coach_theme_lay == 'Container Layout'){
		$gym_training_coach_custom_css .='body{';
			$gym_training_coach_custom_css .='width: 100%;padding-right: 15px;padding-left: 15px;margin-right: auto;margin-left: auto;';
		$gym_training_coach_custom_css .='}';
		$gym_training_coach_custom_css .='.page-template-home-page #header{';
			$gym_training_coach_custom_css .='position: static; background-color: #000;';
		$gym_training_coach_custom_css .='}';
	}else if($gym_training_coach_theme_lay == 'Box Layout'){
		$gym_training_coach_custom_css .='body{';
			$gym_training_coach_custom_css .='max-width: 1140px; width: 100%; padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto;';
		$gym_training_coach_custom_css .='}';
		$gym_training_coach_custom_css .='.page-template-home-page #header{';
			$gym_training_coach_custom_css .='position: static; background-color: #000;';
		$gym_training_coach_custom_css .='}';
	}

	// footer heading font size
	$gym_training_coach_footer_heading_font_size = get_theme_mod('gym_training_coach_footer_heading_font_size');
	$gym_training_coach_custom_css .='.footer-wp h3{';
		$gym_training_coach_custom_css .='font-size: '.esc_attr($gym_training_coach_footer_heading_font_size).'px;';
	$gym_training_coach_custom_css .='}';

	$gym_training_coach_footer_heading_font_weight = get_theme_mod( 'gym_training_coach_footer_heading_font_weight','500');
	if($gym_training_coach_footer_heading_font_weight != ''){
		$gym_training_coach_custom_css .='.footer-wp h3, .footer-wp .wp-block-heading{';
			$gym_training_coach_custom_css .='font-weight: '.esc_attr($gym_training_coach_footer_heading_font_weight).';';
		$gym_training_coach_custom_css .='}';
	}

	$gym_training_coach_theme_lay = get_theme_mod( 'gym_training_coach_footer_text_tranform','Capitalize');
    if($gym_training_coach_theme_lay == 'Uppercase'){
		$gym_training_coach_custom_css .='.footer-wp h3{';
			$gym_training_coach_custom_css .='text-transform: uppercase;';
		$gym_training_coach_custom_css .='}';
	}else if($gym_training_coach_theme_lay == 'Lowercase'){
		$gym_training_coach_custom_css .='.footer-wp h3{';
			$gym_training_coach_custom_css .='text-transform: lowercase;';
		$gym_training_coach_custom_css .='}';
	}
	else if($gym_training_coach_theme_lay == 'Capitalize'){
		$gym_training_coach_custom_css .='.footer-wp h3{';
			$gym_training_coach_custom_css .='text-transform: capitalize;';
		$gym_training_coach_custom_css .='}';
	}

	$gym_training_coach_footer_heading = get_theme_mod( 'gym_training_coach_footer_heading','Left');
    if($gym_training_coach_footer_heading == 'Left'){
		$gym_training_coach_custom_css .='.footer-wp h3, .footer-wp .wp-block-search .wp-block-search__label{';
		$gym_training_coach_custom_css .='text-align: left;';
		$gym_training_coach_custom_css .='}';
	}else if($gym_training_coach_footer_heading == 'Center'){
		$gym_training_coach_custom_css .='.footer-wp h3, .footer-wp .wp-block-search .wp-block-search__label{';
			$gym_training_coach_custom_css .='text-align: center;';
		$gym_training_coach_custom_css .='}';
		$gym_training_coach_custom_css .='.footer-wp h3:after, .footer-wp .wp-block-heading:after{';
			$gym_training_coach_custom_css .='margin: 7px auto;';
		$gym_training_coach_custom_css .='}';
		$gym_training_coach_custom_css .='
		@media screen and (max-width:767px) {
			.footer-wp h3, .footer-wp .wp-block-search .wp-block-search__label{';
				$gym_training_coach_custom_css .='text-align: left;';
				$gym_training_coach_custom_css .='}
			.footer-wp h3:after, .footer-wp .wp-block-heading:after{';
				$gym_training_coach_custom_css .='margin: 7px 0 0;';
				$gym_training_coach_custom_css .='} }';
	}else if($gym_training_coach_footer_heading == 'Right'){
		$gym_training_coach_custom_css .='.footer-wp h3, .footer-wp .wp-block-search .wp-block-search__label{';
			$gym_training_coach_custom_css .='text-align: right; padding-bottom: 25px;';
		$gym_training_coach_custom_css .='}';
		$gym_training_coach_custom_css .='.footer-wp .widget, .footer-wp aside{';
			$gym_training_coach_custom_css .='position: relative;';
		$gym_training_coach_custom_css .='}';
		$gym_training_coach_custom_css .='.footer-wp h3:after, .footer-wp .wp-block-heading:after{';
			$gym_training_coach_custom_css .='position: absolute; right: 0;';
		$gym_training_coach_custom_css .='}';
		$gym_training_coach_custom_css .='
		@media screen and (max-width:767px) {
			.footer-wp h3, .footer-wp .wp-block-search .wp-block-search__label{';
				$gym_training_coach_custom_css .='text-align: left;';
				$gym_training_coach_custom_css .='}
			.footer-wp h3:after, .footer-wp .wp-block-heading:after{';
				$gym_training_coach_custom_css .='left: 0;';
				$gym_training_coach_custom_css .='} }';
	}

	$gym_training_coach_footer_content = get_theme_mod( 'gym_training_coach_footer_content','Left');
    if($gym_training_coach_footer_content == 'Left'){
		$gym_training_coach_custom_css .='.footer-wp .widget{';
		$gym_training_coach_custom_css .='text-align: left;';
		$gym_training_coach_custom_css .='}';
	}else if($gym_training_coach_footer_content == 'Center'){
		$gym_training_coach_custom_css .='.footer-wp .widget{';
			$gym_training_coach_custom_css .='text-align: center;';
		$gym_training_coach_custom_css .='}';
		$gym_training_coach_custom_css .='
		@media screen and (max-width:767px) {
			.footer-wp .widget{';
				$gym_training_coach_custom_css .='text-align: left;';
				$gym_training_coach_custom_css .='} }';
	}else if($gym_training_coach_footer_content == 'Right'){
		$gym_training_coach_custom_css .='.footer-wp .widget{';
			$gym_training_coach_custom_css .='text-align: right;';
		$gym_training_coach_custom_css .='}';
		$gym_training_coach_custom_css .='
		@media screen and (max-width:767px) {
			.footer-wp .widget{';
				$gym_training_coach_custom_css .='text-align: left;';
				$gym_training_coach_custom_css .='} }';
	}

	/*-------------- Footer Padding -------------------*/
	$gym_training_coach_footer_padding = get_theme_mod('gym_training_coach_footer_padding');
	$gym_training_coach_custom_css .='.footer-wp{';
		$gym_training_coach_custom_css .='padding: '.esc_attr($gym_training_coach_footer_padding).'px;';
	$gym_training_coach_custom_css .='}';

	/*-------------- Footer Text -------------------*/
	$gym_training_coach_footer_text_align = get_theme_mod('gym_training_coach_footer_text_align');
	$gym_training_coach_custom_css .='.copyright-wrapper{';
		$gym_training_coach_custom_css .='text-align: '.esc_attr($gym_training_coach_footer_text_align).';';
	$gym_training_coach_custom_css .='}';
	$gym_training_coach_custom_css .='
	@media screen and (max-width:575px) {
		.copyright-wrapper{';
			$gym_training_coach_custom_css .='text-align: center;'.esc_attr($gym_training_coach_footer_text_align).'';
	$gym_training_coach_custom_css .='} }';

	$gym_training_coach_footer_text_padding = get_theme_mod('gym_training_coach_footer_text_padding');
	$gym_training_coach_custom_css .='.copyright-wrapper{';
		$gym_training_coach_custom_css .='padding-top: '.esc_attr($gym_training_coach_footer_text_padding).'px !important; padding-bottom: '.esc_attr($gym_training_coach_footer_text_padding).'px !important;';
	$gym_training_coach_custom_css .='}';

	$gym_training_coach_footer_bg_color = get_theme_mod('gym_training_coach_footer_bg_color');
	$gym_training_coach_custom_css .='.footer-wp{';
		$gym_training_coach_custom_css .='background-color: '.esc_attr($gym_training_coach_footer_bg_color).';';
	$gym_training_coach_custom_css .='}';

	$gym_training_coach_footer_bg_image = get_theme_mod('gym_training_coach_footer_bg_image');
	if($gym_training_coach_footer_bg_image != false){
		$gym_training_coach_custom_css .='.footer-wp{';
			$gym_training_coach_custom_css .='background: url('.esc_attr($gym_training_coach_footer_bg_image).'); background-size: cover;';
		$gym_training_coach_custom_css .='}';
	}

    // footer image position
	$gym_training_coach_footer_img_position = get_theme_mod('gym_training_coach_footer_img_position','center center');
	if($gym_training_coach_footer_img_position != false){
		$gym_training_coach_custom_css .='.footer-wp{';
			$gym_training_coach_custom_css .='background-position: '.esc_attr($gym_training_coach_footer_img_position).'!important;';
		$gym_training_coach_custom_css .='}';
	}		

	// Footer Attatchment
	$gym_training_coach_theme_lay = get_theme_mod( 'gym_training_coach_footer_attatchment','scroll');
	if($gym_training_coach_theme_lay == 'fixed'){
		$gym_training_coach_custom_css .='.footer-wp{';
			$gym_training_coach_custom_css .='background-attachment: fixed;';
		$gym_training_coach_custom_css .='}';
	}elseif ($gym_training_coach_theme_lay == 'scroll'){
		$gym_training_coach_custom_css .='.footer-wp{';
			$gym_training_coach_custom_css .='background-attachment: scroll;';
		$gym_training_coach_custom_css .='}';
	}

   //Footer Style 
	$gym_training_coach_theme_lay = get_theme_mod( 'gym_training_coach_footer_template','gym_training_coach-footer-one');
    if($gym_training_coach_theme_lay == 'gym_training_coach-footer-one'){
		$gym_training_coach_custom_css .='.footer-wp{';
			$gym_training_coach_custom_css .='';
		$gym_training_coach_custom_css .='}';

	}else if($gym_training_coach_theme_lay == 'gym_training_coach-footer-two'){
		$gym_training_coach_custom_css .='.footer-wp {';
			$gym_training_coach_custom_css .='background: #E3F2FD !important;';
		$gym_training_coach_custom_css .='}';
		$gym_training_coach_custom_css .='.footer-wp p,.footer-wp span,.footer-wp li a,.footer-wp #wp-calendar caption,.footer-wp #wp-calendar td,.footer-wp #wp-calendar th, .footer-wp, .footer-wp h3, .footer-wp a.rsswidget, .footer-wp #wp-calendar a, .copyright a, .footer-wp .custom_details, .footer-wp ins span, .footer-wp .tagcloud a, .main-inner-box span.entry-date a, nav.woocommerce-MyAccount-navigation ul li:hover a, .footer-wp ul li a, .footer-wp table, .footer-wp th, .footer-wp td, .footer-wp caption, #sidebar caption,.footer-wp nav.wp-calendar-nav a,.footer-wp .search-form .search-field, .footer-wp .rssSummary, .footer-wp ul li{';
			$gym_training_coach_custom_css .='color:#000 !important;';
		$gym_training_coach_custom_css .='}';
		$gym_training_coach_custom_css .='.footer-wp p{';
			$gym_training_coach_custom_css .='color:#000 !important;';
		$gym_training_coach_custom_css .='}';
		$gym_training_coach_custom_css .='.footer-wp ul li::before{';
			$gym_training_coach_custom_css .='background:#000;';
		$gym_training_coach_custom_css .='}';
		$gym_training_coach_custom_css .='.footer-wp table, .footer-wp th, .footer-wp td,.footer-wp.search-form .search-field,.footer-wp .tagcloud a{';
			$gym_training_coach_custom_css .='border: 1px solid #000;';
		$gym_training_coach_custom_css .='}';

	}else if($gym_training_coach_theme_lay == 'gym_training_coach-footer-three'){
		$gym_training_coach_custom_css .='.footer-wp {';
			$gym_training_coach_custom_css .='background: #0A0A1F !important;;';
		$gym_training_coach_custom_css .='}';
	}
	else if($gym_training_coach_theme_lay == 'gym_training_coach-footer-four'){
		$gym_training_coach_custom_css .='.footer-wp {';
			$gym_training_coach_custom_css .='background: #F5F5DC !important;;';
		$gym_training_coach_custom_css .='}';
		$gym_training_coach_custom_css .='.footer-wp p,.footer-wp span,.footer-wp li a,.footer-wp #wp-calendar caption,.footer-wp #wp-calendar td,.footer-wp #wp-calendar th, .footer-wp, .footer-wp h3, .footer-wp a.rsswidget, .footer-wp #wp-calendar a, .copyright a, .footer-wp .custom_details, .footer-wp ins span, .footer-wp .tagcloud a, .main-inner-box span.entry-date a, nav.woocommerce-MyAccount-navigation ul li:hover a, .footer-wp ul li a, .footer-wp table, .footer-wp th, .footer-wp td, .footer-wp caption, #sidebar caption,.footer-wp nav.wp-calendar-nav a,.footer-wp .search-form .search-field, .footer-wp .rssSummary, .footer-wp ul li{';
			$gym_training_coach_custom_css .='color:#000 !important;';
		$gym_training_coach_custom_css .='}';
		$gym_training_coach_custom_css .='.footer-wp p{';
			$gym_training_coach_custom_css .='color:#000 !important;';
		$gym_training_coach_custom_css .='}';
		$gym_training_coach_custom_css .='.footer-wp ul li::before{';
			$gym_training_coach_custom_css .='background:#000;';
		$gym_training_coach_custom_css .='}';
		$gym_training_coach_custom_css .='.footer-wp table, .footer-wp th, .footer-wp td,.footer-wp.search-form .search-field,.footer-wp .tagcloud a{';
			$gym_training_coach_custom_css .='border: 1px solid #000;';
		$gym_training_coach_custom_css .='}';
	}
    else if($gym_training_coach_theme_lay == 'gym_training_coach-footer-five'){
	$gym_training_coach_custom_css .='.footer-wp {';
		$gym_training_coach_custom_css .='background: #333333 !important;;';
	$gym_training_coach_custom_css .='}';
   }	

	//Footer Social Icon Alignment
	$gym_training_coach_footer_icon_alignment = get_theme_mod( 'gym_training_coach_footer_icon_alignment','center');
    if($gym_training_coach_footer_icon_alignment == 'left'){
		$gym_training_coach_custom_css .='footer .socialicons{';
			$gym_training_coach_custom_css .='text-align:left !important;';
		$gym_training_coach_custom_css .='}';
	}else if($gym_training_coach_footer_icon_alignment == 'center'){
		$gym_training_coach_custom_css .='footer .socialicons{';
			$gym_training_coach_custom_css .='text-align:center !important;';
		$gym_training_coach_custom_css .='}';
	}else if($gym_training_coach_footer_icon_alignment == 'right'){
		$gym_training_coach_custom_css .='footer .socialicons{';
			$gym_training_coach_custom_css .='text-align:right !important;';
		$gym_training_coach_custom_css .='}';
	}	 
	//Footer Social Icon Top Bottom padding 
	$gym_training_coach_footer_icon_to_top_padding = get_theme_mod('gym_training_coach_footer_icon_to_top_padding');
	$gym_training_coach_custom_css .='footer .socialicons a i{';
	$gym_training_coach_custom_css .='padding-top: '.esc_attr($gym_training_coach_footer_icon_to_top_padding).'px;!important;';
	$gym_training_coach_custom_css .='padding-bottom: '.esc_attr($gym_training_coach_footer_icon_to_top_padding).'px;!important;';
	$gym_training_coach_custom_css .='}';

	//Footer icon color
	$gym_training_coach_footer_icon_color_option = get_theme_mod('gym_training_coach_footer_icon_color_option');
	$gym_training_coach_custom_css .='footer .socialicons a{';
			$gym_training_coach_custom_css .='color: '.esc_attr($gym_training_coach_footer_icon_color_option).' !important;';
	$gym_training_coach_custom_css .='}';  

	// letter spacing
	$gym_training_coach_footer_heading_letter_spacing = get_theme_mod('gym_training_coach_footer_heading_letter_spacing',1);
	$gym_training_coach_custom_css .='.footer-wp h3{';
	$gym_training_coach_custom_css .='letter-spacing: '.esc_attr($gym_training_coach_footer_heading_letter_spacing).'px;';
	$gym_training_coach_custom_css .='}';

	$gym_training_coach_copyright_text_font_size = get_theme_mod('gym_training_coach_copyright_text_font_size', 15);
	$gym_training_coach_custom_css .='.copyright-wrapper p, .copyright-wrapper a{';
		$gym_training_coach_custom_css .='font-size: '.esc_attr($gym_training_coach_copyright_text_font_size).'px;';
	$gym_training_coach_custom_css .='}';

	//Social icon color
	$gym_training_coach_social_icon_color = get_theme_mod('gym_training_coach_social_icon_color');
	$gym_training_coach_custom_css .='.social-icon i{';
			$gym_training_coach_custom_css .='color: '.esc_attr($gym_training_coach_social_icon_color).' !important;';
	$gym_training_coach_custom_css .='}';  	

	/*------------- Back to Top  -------------------*/
	$gym_training_coach_back_to_top_border_radius = get_theme_mod('gym_training_coach_back_to_top_border_radius');
	$gym_training_coach_custom_css .='#scrollbutton {';
		$gym_training_coach_custom_css .='border-radius: '.esc_attr($gym_training_coach_back_to_top_border_radius).'px;';
	$gym_training_coach_custom_css .='}';

	$gym_training_coach_scroll_icon_font_size = get_theme_mod('gym_training_coach_scroll_icon_font_size', 22);
	$gym_training_coach_custom_css .='#scrollbutton {';
		$gym_training_coach_custom_css .='font-size: '.esc_attr($gym_training_coach_scroll_icon_font_size).'px;';
	$gym_training_coach_custom_css .='}';

	// back to top icon color
	$gym_training_coach_scroll_icon_color = get_theme_mod('gym_training_coach_scroll_icon_color');
	$gym_training_coach_custom_css .='#scrollbutton{';
		$gym_training_coach_custom_css .='color: '.esc_attr($gym_training_coach_scroll_icon_color).';';
	$gym_training_coach_custom_css .='}';

	// back to top icon hover color
	$gym_training_coach_scroll_icon_hover_color = get_theme_mod('gym_training_coach_scroll_icon_hover_color');
	$gym_training_coach_custom_css .='#scrollbutton:hover{';
		$gym_training_coach_custom_css .='color: '.esc_attr($gym_training_coach_scroll_icon_hover_color).';';
	$gym_training_coach_custom_css .='}';

	// back to top bg color
	$gym_training_coach_scroll_icon_background = get_theme_mod('gym_training_coach_scroll_icon_background');
	$gym_training_coach_custom_css .='#scrollbutton{';
		$gym_training_coach_custom_css .='background-color: '.esc_attr($gym_training_coach_scroll_icon_background).';';
		$gym_training_coach_custom_css .='border-color: '.esc_attr($gym_training_coach_scroll_icon_background).';';
	$gym_training_coach_custom_css .='}';

	// back to top bg hover color
	$gym_training_coach_scroll_icon_background_hover = get_theme_mod('gym_training_coach_scroll_icon_background_hover');
	$gym_training_coach_custom_css .='#scrollbutton:hover{';
		$gym_training_coach_custom_css .='background-color: '.esc_attr($gym_training_coach_scroll_icon_background_hover).'!important;';
		$gym_training_coach_custom_css .='border-color: '.esc_attr($gym_training_coach_scroll_icon_background_hover).'!important;';
	$gym_training_coach_custom_css .='}';

	$gym_training_coach_top_bottom_scroll_padding = get_theme_mod('gym_training_coach_top_bottom_scroll_padding', 7);
	$gym_training_coach_custom_css .='#scrollbutton {';
		$gym_training_coach_custom_css .='padding-top: '.esc_attr($gym_training_coach_top_bottom_scroll_padding).'px; padding-bottom: '.esc_attr($gym_training_coach_top_bottom_scroll_padding).'px;';
	$gym_training_coach_custom_css .='}';

	$gym_training_coach_left_right_scroll_padding = get_theme_mod('gym_training_coach_left_right_scroll_padding', 17);
	$gym_training_coach_custom_css .='#scrollbutton {';
		$gym_training_coach_custom_css .='padding-left: '.esc_attr($gym_training_coach_left_right_scroll_padding).'px; padding-right: '.esc_attr($gym_training_coach_left_right_scroll_padding).'px;';
	$gym_training_coach_custom_css .='}';

	/*-------------- Post Button  -------------------*/

	//First Cap
	$gym_training_coach_show_first_caps = get_theme_mod('gym_training_coach_show_first_caps', 'false');
	if($gym_training_coach_show_first_caps == 'true' ){
	$gym_training_coach_custom_css .='.blog-section .mainbox .new-text p:nth-of-type(1)::first-letter{';
	$gym_training_coach_custom_css .=' font-size: 55px; font-weight: 600;';
	$gym_training_coach_custom_css .=' margin-right: 6px;';
	$gym_training_coach_custom_css .=' line-height: 1;';
	$gym_training_coach_custom_css .='}';
	}elseif($gym_training_coach_show_first_caps == 'false' ){
	$gym_training_coach_custom_css .='.blog-section .mainbox .new-text p:nth-of-type(1)::first-letter {';
	$gym_training_coach_custom_css .='display: none;';
	$gym_training_coach_custom_css .='}';
	}

	$gym_training_coach_btn_font_size_option = get_theme_mod('gym_training_coach_btn_font_size_option');
	$gym_training_coach_custom_css .='.postbtn a{';
		$gym_training_coach_custom_css .='font-size: '.esc_attr($gym_training_coach_btn_font_size_option).'px !important;';
	$gym_training_coach_custom_css .='}';

	$gym_training_coach_post_button_padding_top = get_theme_mod('gym_training_coach_post_button_padding_top');
	$gym_training_coach_custom_css .='.postbtn a, #comments input[type="submit"].submit{';
		$gym_training_coach_custom_css .='padding-top: '.esc_attr($gym_training_coach_post_button_padding_top).'px; padding-bottom: '.esc_attr($gym_training_coach_post_button_padding_top).'px;';
	$gym_training_coach_custom_css .='}';

	$gym_training_coach_post_button_padding_right = get_theme_mod('gym_training_coach_post_button_padding_right');
	$gym_training_coach_custom_css .='.postbtn a, #comments input[type="submit"].submit{';
		$gym_training_coach_custom_css .='padding-left: '.esc_attr($gym_training_coach_post_button_padding_right).'px; padding-right: '.esc_attr($gym_training_coach_post_button_padding_right).'px;';
	$gym_training_coach_custom_css .='}';

	$gym_training_coach_post_button_border_radius = get_theme_mod('gym_training_coach_post_button_border_radius');
	$gym_training_coach_custom_css .='.postbtn a, #comments input[type="submit"].submit{';
		$gym_training_coach_custom_css .='border-radius: '.esc_attr($gym_training_coach_post_button_border_radius).'px;';
	$gym_training_coach_custom_css .='}';

	$gym_training_coach_post_comment_enable = get_theme_mod('gym_training_coach_post_comment_enable',true);
	if($gym_training_coach_post_comment_enable == false){
		$gym_training_coach_custom_css .='#comments{';
			$gym_training_coach_custom_css .='display: none;';
		$gym_training_coach_custom_css .='}';
	}

	// preloader background image
	$gym_training_coach_preloader_bg_image = get_theme_mod('gym_training_coach_preloader_bg_image');
	if($gym_training_coach_preloader_bg_image != false){
		$gym_training_coach_custom_css .='.frame{';
			$gym_training_coach_custom_css .='background: url('.esc_attr($gym_training_coach_preloader_bg_image).'); background-size: cover;';
		$gym_training_coach_custom_css .='}';
	}

	/*----------- Preloader Color Option  ----------------*/
	$gym_training_coach_preloader_bg_color_option = get_theme_mod('gym_training_coach_preloader_bg_color_option');
	$gym_training_coach_preloader_icon_color_option = get_theme_mod('gym_training_coach_preloader_icon_color_option');
	$gym_training_coach_custom_css .='.frame{';
		$gym_training_coach_custom_css .='background-color: '.esc_attr($gym_training_coach_preloader_bg_color_option).';';
	$gym_training_coach_custom_css .='}';
	$gym_training_coach_custom_css .='.dot-1,.dot-2,.dot-3{';
		$gym_training_coach_custom_css .='background-color: '.esc_attr($gym_training_coach_preloader_icon_color_option).';';
	$gym_training_coach_custom_css .='}';

	// preloader type
	$gym_training_coach_theme_lay = get_theme_mod( 'gym_training_coach_preloader_type','First Preloader Type');
    if($gym_training_coach_theme_lay == 'First Preloader Type'){
		$gym_training_coach_custom_css .='.dot-1, .dot-2, .dot-3{';
			$gym_training_coach_custom_css .='';
		$gym_training_coach_custom_css .='}';
	}else if($gym_training_coach_theme_lay == 'Second Preloader Type'){
		$gym_training_coach_custom_css .='.dot-1, .dot-2, .dot-3{';
			$gym_training_coach_custom_css .='border-radius:0;';
		$gym_training_coach_custom_css .='}';
	}

    // preloader background image
	$gym_training_coach_preloader_bg_img = get_theme_mod('gym_training_coach_preloader_bg_img');
	if($gym_training_coach_preloader_bg_img != false){
		$gym_training_coach_custom_css .='.frame {';
			$gym_training_coach_custom_css .='background: url('.esc_attr($gym_training_coach_preloader_bg_img).');-webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover;';
		$gym_training_coach_custom_css .='}';
	}	

	/*------------------ Skin Option  -------------------*/
	$gym_training_coach_theme_lay = get_theme_mod( 'gym_training_coach_background_skin','Without Background');
    if($gym_training_coach_theme_lay == 'With Background'){
		$gym_training_coach_custom_css .='.inner-service,#sidebar .widget,.woocommerce ul.products li.product, .woocommerce-page ul.products li.product,.front-page-content,.background-img-skin{';
			$gym_training_coach_custom_css .='background-color: #fff; padding:20px;';
		$gym_training_coach_custom_css .='}';
		$gym_training_coach_custom_css .='.login-box a{';
			$gym_training_coach_custom_css .='background-color: #fff;';
		$gym_training_coach_custom_css .='}';
	}else if($gym_training_coach_theme_lay == 'Without Background'){
		$gym_training_coach_custom_css .='{';
			$gym_training_coach_custom_css .='background-color: transparent;';
		$gym_training_coach_custom_css .='}';
	}

	/*-------------- Woocommerce Button  -------------------*/
	$gym_training_coach_woocommerce_button_padding_top = get_theme_mod('gym_training_coach_woocommerce_button_padding_top',12);
	$gym_training_coach_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{';
		$gym_training_coach_custom_css .='padding-top: '.esc_attr($gym_training_coach_woocommerce_button_padding_top).'px; padding-bottom: '.esc_attr($gym_training_coach_woocommerce_button_padding_top).'px;';
	$gym_training_coach_custom_css .='}';
	

	$gym_training_coach_woocommerce_button_padding_right = get_theme_mod('gym_training_coach_woocommerce_button_padding_right',15);
	$gym_training_coach_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{';
		$gym_training_coach_custom_css .='padding-left: '.esc_attr($gym_training_coach_woocommerce_button_padding_right).'px; padding-right: '.esc_attr($gym_training_coach_woocommerce_button_padding_right).'px;';
	$gym_training_coach_custom_css .='}';

	$gym_training_coach_woocommerce_button_border_radius = get_theme_mod('gym_training_coach_woocommerce_button_border_radius',0);
	$gym_training_coach_custom_css .='.woocommerce ul.products li.product .button, a.checkout-button.button.alt.wc-forward,.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .woocommerce a.added_to_cart{';
		$gym_training_coach_custom_css .='border-radius: '.esc_attr($gym_training_coach_woocommerce_button_border_radius).'px;';
	$gym_training_coach_custom_css .='}';

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

	$gym_training_coach_woocommerce_product_border_enable = get_theme_mod('gym_training_coach_woocommerce_product_border_enable',false);
	if($gym_training_coach_woocommerce_product_border_enable == false){
		$gym_training_coach_custom_css .='.products li{';
			$gym_training_coach_custom_css .='border: none;';
		$gym_training_coach_custom_css .='}';
	}else if($gym_training_coach_woocommerce_product_border_enable == true){
		$gym_training_coach_custom_css .='.products li{';
			$gym_training_coach_custom_css .='border: 1px solid #ccc;';
		$gym_training_coach_custom_css .='}';
	}

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

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

	$gym_training_coach_woocommerce_product_border_radius = get_theme_mod('gym_training_coach_woocommerce_product_border_radius',3);
	$gym_training_coach_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{';
		$gym_training_coach_custom_css .='border-radius: '.esc_attr($gym_training_coach_woocommerce_product_border_radius).'px;';
	$gym_training_coach_custom_css .='}';

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

	$gym_training_coach_woo_product_sale_top_bottom_padding = get_theme_mod('gym_training_coach_woo_product_sale_top_bottom_padding', 0);
	$gym_training_coach_woo_product_sale_left_right_padding = get_theme_mod('gym_training_coach_woo_product_sale_left_right_padding', 0);
	$gym_training_coach_custom_css .='.woocommerce span.onsale{';
		$gym_training_coach_custom_css .='padding-top: '.esc_attr($gym_training_coach_woo_product_sale_top_bottom_padding).'px; padding-bottom: '.esc_attr($gym_training_coach_woo_product_sale_top_bottom_padding).'px; padding-left: '.esc_attr($gym_training_coach_woo_product_sale_left_right_padding).'px; padding-right: '.esc_attr($gym_training_coach_woo_product_sale_left_right_padding).'px; display:inline-block;';
	$gym_training_coach_custom_css .='}';

	$gym_training_coach_woo_product_sale_border_radius = get_theme_mod('gym_training_coach_woo_product_sale_border_radius',0);
	$gym_training_coach_custom_css .='.woocommerce span.onsale {';
		$gym_training_coach_custom_css .='border-radius: '.esc_attr($gym_training_coach_woo_product_sale_border_radius).'px;';
	$gym_training_coach_custom_css .='}';

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

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

	// Responsive Media
	$gym_training_coach_post_date = get_theme_mod( 'gym_training_coach_display_post_date',true);
	if($gym_training_coach_post_date == true && get_theme_mod( 'gym_training_coach_metafields_date',true) != true){
    	$gym_training_coach_custom_css .='.metabox .entry-date{';
			$gym_training_coach_custom_css .='display:none;';
		$gym_training_coach_custom_css .='} ';
	}
    if($gym_training_coach_post_date == true){
    	$gym_training_coach_custom_css .='@media screen and (max-width:575px) {';
		$gym_training_coach_custom_css .='.metabox .entry-date{';
			$gym_training_coach_custom_css .='display:inline-block;';
		$gym_training_coach_custom_css .='} }';
	}else if($gym_training_coach_post_date == false){
		$gym_training_coach_custom_css .='@media screen and (max-width:575px){';
		$gym_training_coach_custom_css .='.metabox .entry-date{';
			$gym_training_coach_custom_css .='display:none;';
		$gym_training_coach_custom_css .='} }';
	}

	$gym_training_coach_post_author = get_theme_mod( 'gym_training_coach_display_post_author',true);
	if($gym_training_coach_post_author == true && get_theme_mod( 'gym_training_coach_metafields_author',true) != true){
    	$gym_training_coach_custom_css .='.metabox .entry-author{';
			$gym_training_coach_custom_css .='display:none;';
		$gym_training_coach_custom_css .='} ';
	}
    if($gym_training_coach_post_author == true){
    	$gym_training_coach_custom_css .='@media screen and (max-width:575px) {';
		$gym_training_coach_custom_css .='.metabox .entry-author{';
			$gym_training_coach_custom_css .='display:inline-block;';
		$gym_training_coach_custom_css .='} }';
	}else if($gym_training_coach_post_author == false){
		$gym_training_coach_custom_css .='@media screen and (max-width:575px){';
		$gym_training_coach_custom_css .='.metabox .entry-author{';
			$gym_training_coach_custom_css .='display:none;';
		$gym_training_coach_custom_css .='} }';
	}

	$gym_training_coach_post_comment = get_theme_mod( 'gym_training_coach_display_post_comment',true);
	if($gym_training_coach_post_comment == true && get_theme_mod( 'gym_training_coach_metafields_comment',true) != true){
    	$gym_training_coach_custom_css .='.metabox .entry-comments{';
			$gym_training_coach_custom_css .='display:none;';
		$gym_training_coach_custom_css .='} ';
	}
    if($gym_training_coach_post_comment == true){
    	$gym_training_coach_custom_css .='@media screen and (max-width:575px) {';
		$gym_training_coach_custom_css .='.metabox .entry-comments{';
			$gym_training_coach_custom_css .='display:inline-block;';
		$gym_training_coach_custom_css .='} }';
	}else if($gym_training_coach_post_comment == false){
		$gym_training_coach_custom_css .='@media screen and (max-width:575px){';
		$gym_training_coach_custom_css .='.metabox .entry-comments{';
			$gym_training_coach_custom_css .='display:none;';
		$gym_training_coach_custom_css .='} }';
	}

	$gym_training_coach_post_time = get_theme_mod( 'gym_training_coach_display_post_time',true);
	if($gym_training_coach_post_time == true && get_theme_mod( 'gym_training_coach_metafields_time',true) != true){
    	$gym_training_coach_custom_css .='.metabox .entry-time{';
			$gym_training_coach_custom_css .='display:none;';
		$gym_training_coach_custom_css .='} ';
	}
    if($gym_training_coach_post_time == true){
    	$gym_training_coach_custom_css .='@media screen and (max-width:575px) {';
		$gym_training_coach_custom_css .='.metabox .entry-time{';
			$gym_training_coach_custom_css .='display:inline-block;';
		$gym_training_coach_custom_css .='} }';
	}else if($gym_training_coach_post_time == false){
		$gym_training_coach_custom_css .='@media screen and (max-width:575px){';
		$gym_training_coach_custom_css .='.metabox .entry-time{';
			$gym_training_coach_custom_css .='display:none;';
		$gym_training_coach_custom_css .='} }';
	}

	if($gym_training_coach_post_date == false && $gym_training_coach_post_author == false && $gym_training_coach_post_comment == false && $gym_training_coach_post_time == false){
		$gym_training_coach_custom_css .='@media screen and (max-width:575px) {';
    	$gym_training_coach_custom_css .='.metabox {';
			$gym_training_coach_custom_css .='display:none;';
		$gym_training_coach_custom_css .='} }';
	}

	$gym_training_coach_metafields_date = get_theme_mod( 'gym_training_coach_metafields_date',true);
	$gym_training_coach_metafields_author = get_theme_mod( 'gym_training_coach_metafields_author',true);
	$gym_training_coach_metafields_comment = get_theme_mod( 'gym_training_coach_metafields_comment',true);
	$gym_training_coach_metafields_time = get_theme_mod( 'gym_training_coach_metafields_time',true);
	if($gym_training_coach_metafields_date == false && $gym_training_coach_metafields_author == false && $gym_training_coach_metafields_comment == false && $gym_training_coach_metafields_time == false){
		$gym_training_coach_custom_css .='@media screen and (min-width:576px) {';
    	$gym_training_coach_custom_css .='.metabox {';
			$gym_training_coach_custom_css .='display:none;';
		$gym_training_coach_custom_css .='} }';
	}

	$gym_training_coach_slider = get_theme_mod( 'gym_training_coach_display_slider',true);
	if($gym_training_coach_slider == false && get_theme_mod( 'gym_training_coach_slider_hide', false) == false){
    	$gym_training_coach_custom_css .='#slider{';
			$gym_training_coach_custom_css .='display:none;';
		$gym_training_coach_custom_css .='} ';
	}
    if($gym_training_coach_slider == true){
    	$gym_training_coach_custom_css .='@media screen and (max-width:575px) {';
		$gym_training_coach_custom_css .='#slider{';
			$gym_training_coach_custom_css .='display:block;';
		$gym_training_coach_custom_css .='} }';
	}else if($gym_training_coach_slider == false){
		$gym_training_coach_custom_css .='@media screen and (max-width:575px){';
		$gym_training_coach_custom_css .='#slider{';
			$gym_training_coach_custom_css .='display:none;';
		$gym_training_coach_custom_css .='} }';
	}

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

	$gym_training_coach_scroll = get_theme_mod( 'gym_training_coach_display_scrolltop',true);
	if($gym_training_coach_scroll == true && get_theme_mod( 'gym_training_coach_hide_show_scroll',true) != true){
    	$gym_training_coach_custom_css .='#scrollbutton {';
			$gym_training_coach_custom_css .='display:none;';
		$gym_training_coach_custom_css .='} ';
	}
    if($gym_training_coach_scroll == true){
    	$gym_training_coach_custom_css .='@media screen and (max-width:575px) {';
		$gym_training_coach_custom_css .='#scrollbutton {';
			$gym_training_coach_custom_css .='display:block;';
		$gym_training_coach_custom_css .='} }';
	}else if($gym_training_coach_scroll == false){
		$gym_training_coach_custom_css .='@media screen and (max-width:575px){';
		$gym_training_coach_custom_css .='#scrollbutton {';
			$gym_training_coach_custom_css .='display:none;';
		$gym_training_coach_custom_css .='} }';
	}

	$gym_training_coach_preloader = get_theme_mod( 'gym_training_coach_display_preloader',false);
	if($gym_training_coach_preloader == true && get_theme_mod( 'gym_training_coach_preloader',false) == false){
		$gym_training_coach_custom_css .='@media screen and (min-width:575px) {';
    	$gym_training_coach_custom_css .='.frame{';
			$gym_training_coach_custom_css .=' visibility: hidden;';
		$gym_training_coach_custom_css .='} }';
	}
    if($gym_training_coach_preloader == true){
    	$gym_training_coach_custom_css .='@media screen and (max-width:575px) {';
		$gym_training_coach_custom_css .='.frame{';
			$gym_training_coach_custom_css .='visibility:visible;';
		$gym_training_coach_custom_css .='} }';
	}else if($gym_training_coach_preloader == false){
		$gym_training_coach_custom_css .='@media screen and (max-width:575px){';
		$gym_training_coach_custom_css .='.frame{';
			$gym_training_coach_custom_css .='visibility: hidden;';
		$gym_training_coach_custom_css .='} }';
	}

	$gym_training_coach_search = get_theme_mod( 'gym_training_coach_display_search_category',true);
	if($gym_training_coach_search == true && get_theme_mod( 'gym_training_coach_search_enable_disable',true) != true){
    	$gym_training_coach_custom_css .='.search-cat-box{';
			$gym_training_coach_custom_css .='display:none;';
		$gym_training_coach_custom_css .='} ';
	}
    if($gym_training_coach_search == true){
    	$gym_training_coach_custom_css .='@media screen and (max-width:575px) {';
		$gym_training_coach_custom_css .='.search-cat-box{';
			$gym_training_coach_custom_css .='display:block;';
		$gym_training_coach_custom_css .='} }';
	}else if($gym_training_coach_search == false){
		$gym_training_coach_custom_css .='@media screen and (max-width:575px){';
		$gym_training_coach_custom_css .='.search-cat-box{';
			$gym_training_coach_custom_css .='display:none;';
		$gym_training_coach_custom_css .='} }';
	}

	$gym_training_coach_myaccount = get_theme_mod( 'gym_training_coach_display_myaccount',true);
	if($gym_training_coach_myaccount == true && get_theme_mod( 'gym_training_coach_myaccount_enable_disable',true) != true){
    	$gym_training_coach_custom_css .='.login-box{';
			$gym_training_coach_custom_css .='display:none;';
		$gym_training_coach_custom_css .='} ';
	}
    if($gym_training_coach_myaccount == true){
    	$gym_training_coach_custom_css .='@media screen and (max-width:575px) {';
		$gym_training_coach_custom_css .='.login-box{';
			$gym_training_coach_custom_css .='display:block;';
		$gym_training_coach_custom_css .='} }';
	}else if($gym_training_coach_myaccount == false){
		$gym_training_coach_custom_css .='@media screen and (max-width:575px){';
		$gym_training_coach_custom_css .='.login-box{';
			$gym_training_coach_custom_css .='display:none;';
		$gym_training_coach_custom_css .='} }';
	}

	// menu settings
	$gym_training_coach_menu_font_size_option = get_theme_mod('gym_training_coach_menu_font_size_option');
	$gym_training_coach_custom_css .='.primary-navigation ul li a{';
		$gym_training_coach_custom_css .='font-size: '.esc_attr($gym_training_coach_menu_font_size_option).'px;';
	$gym_training_coach_custom_css .='}';

	// menu top-bottom padding
	$gym_training_coach_top_bottom_padding = get_theme_mod('gym_training_coach_top_bottom_padding');
	$gym_training_coach_custom_css .='.primary-navigation ul li a{';
		$gym_training_coach_custom_css .='padding-top: '.esc_attr($gym_training_coach_top_bottom_padding).'px;';
		$gym_training_coach_custom_css .='padding-bottom: '.esc_attr($gym_training_coach_top_bottom_padding).'px;';
	$gym_training_coach_custom_css .='}';

	// menu left-right padding
	$gym_training_coach_left_right_padding = get_theme_mod('gym_training_coach_left_right_padding');
	$gym_training_coach_custom_css .='.primary-navigation ul li a{';
		$gym_training_coach_custom_css .='padding-left: '.esc_attr($gym_training_coach_left_right_padding).'px;';
		$gym_training_coach_custom_css .='padding-right: '.esc_attr($gym_training_coach_left_right_padding).'px;';
	$gym_training_coach_custom_css .='}';

	$gym_training_coach_theme_lay = get_theme_mod( 'gym_training_coach_text_tranform_menu','Capitalize');
    if($gym_training_coach_theme_lay == 'Uppercase'){
		$gym_training_coach_custom_css .='.primary-navigation ul li a{';
			$gym_training_coach_custom_css .='text-transform: uppercase;';
		$gym_training_coach_custom_css .='}';
	}else if($gym_training_coach_theme_lay == 'Lowercase'){
		$gym_training_coach_custom_css .='.primary-navigation ul li a{';
			$gym_training_coach_custom_css .='text-transform: lowercase;';
		$gym_training_coach_custom_css .='}';
	}
	else if($gym_training_coach_theme_lay == 'Capitalize'){
		$gym_training_coach_custom_css .='.primary-navigation ul li a{';
			$gym_training_coach_custom_css .='text-transform: capitalize;';
		$gym_training_coach_custom_css .='}';
	}

	//  comment form width
	$gym_training_coach_comment_form_width = get_theme_mod( 'gym_training_coach_comment_form_width');
	$gym_training_coach_custom_css .='#comments textarea{';
		$gym_training_coach_custom_css .='width: '.esc_attr($gym_training_coach_comment_form_width).'%;';
	$gym_training_coach_custom_css .='}';

	$gym_training_coach_title_comment_form = get_theme_mod('gym_training_coach_title_comment_form', 'Leave a Reply');
	if($gym_training_coach_title_comment_form == ''){
		$gym_training_coach_custom_css .='#comments h2#reply-title {';
			$gym_training_coach_custom_css .='display: none;';
		$gym_training_coach_custom_css .='}';
	}

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

	// featured image setting
	$gym_training_coach_image_border_radius = get_theme_mod('gym_training_coach_image_border_radius', 0);
	$gym_training_coach_custom_css .='.layout2 .box-image img,.layout1 .box-image img,.layout3 .box-image imgg{';
		$gym_training_coach_custom_css .='border-radius: '.esc_attr($gym_training_coach_image_border_radius).'%;';
	$gym_training_coach_custom_css .='}';

	$gym_training_coach_image_box_shadow = get_theme_mod('gym_training_coach_image_box_shadow',0);
	$gym_training_coach_custom_css .='.layout2 .box-image img,.layout1 .box-image img,.layout3 .box-image imgg{';
		$gym_training_coach_custom_css .='box-shadow: '.esc_attr($gym_training_coach_image_box_shadow).'px '.esc_attr($gym_training_coach_image_box_shadow).'px '.esc_attr($gym_training_coach_image_box_shadow).'px #b5b5b5;';
	$gym_training_coach_custom_css .='}';

	// blog post Pagination Alignment
	$gym_training_coach_post_pagination_alignment = get_theme_mod( 'gym_training_coach_post_pagination_option','Left');
	if($gym_training_coach_post_pagination_alignment == 'Left'){
		$gym_training_coach_custom_css .='.navigation nav.pagination{';
			$gym_training_coach_custom_css .='justify-content: left;';
		$gym_training_coach_custom_css .='}';
	}else if($gym_training_coach_post_pagination_alignment == 'Center'){
		$gym_training_coach_custom_css .='.navigation nav.pagination{';
			$gym_training_coach_custom_css .='justify-content: center;';
		$gym_training_coach_custom_css .='}';
	}else if($gym_training_coach_post_pagination_alignment == 'Right'){
		$gym_training_coach_custom_css .='.navigation nav.pagination{';
			$gym_training_coach_custom_css .='justify-content: right;';
		$gym_training_coach_custom_css .='}';
	}

	// grid post image setting
	$gym_training_coach_grid_image_border_radius = get_theme_mod('gym_training_coach_grid_image_border_radius', 0);
	$gym_training_coach_custom_css .='.inner-service .gridbox .box-image img{';
		$gym_training_coach_custom_css .='border-radius: '.esc_attr($gym_training_coach_grid_image_border_radius).'%;';
	$gym_training_coach_custom_css .='}';

	$gym_training_coach_grid_image_box_shadow = get_theme_mod('gym_training_coach_grid_image_box_shadow',0);
	$gym_training_coach_custom_css .='.inner-service .gridbox .box-image img{';
		$gym_training_coach_custom_css .='box-shadow: '.esc_attr($gym_training_coach_grid_image_box_shadow).'px '.esc_attr($gym_training_coach_grid_image_box_shadow).'px '.esc_attr($gym_training_coach_grid_image_box_shadow).'px #b5b5b5;';
	$gym_training_coach_custom_css .='}';

	// single featured image setting
	$gym_training_coach_single_image_border_radius = get_theme_mod('gym_training_coach_single_image_border_radius', 0);
	$gym_training_coach_custom_css .='.feature-box img{';
		$gym_training_coach_custom_css .='border-radius: '.esc_attr($gym_training_coach_single_image_border_radius).'%;';
	$gym_training_coach_custom_css .='}';

	$gym_training_coach_single_image_box_shadow = get_theme_mod('gym_training_coach_single_image_box_shadow',0);
	$gym_training_coach_custom_css .='.feature-box img{';
		$gym_training_coach_custom_css .='box-shadow: '.esc_attr($gym_training_coach_single_image_box_shadow).'px '.esc_attr($gym_training_coach_single_image_box_shadow).'px '.esc_attr($gym_training_coach_single_image_box_shadow).'px #b5b5b5;';
	$gym_training_coach_custom_css .='}';

	// category color
	$gym_training_coach_category_color = get_theme_mod('gym_training_coach_category_color');
	$gym_training_coach_custom_css .='.type-post .category ul li a{';
			$gym_training_coach_custom_css .='color: '.esc_attr($gym_training_coach_category_color).';';
	$gym_training_coach_custom_css .='}';

	// category hover color
	$gym_training_coach_category_hover_color = get_theme_mod('gym_training_coach_category_hover_color');
	$gym_training_coach_custom_css .='.type-post .category ul li a:hover{';
			$gym_training_coach_custom_css .='color: '.esc_attr($gym_training_coach_category_hover_color).';';
	$gym_training_coach_custom_css .='}';

	// Button Text Transform
	$gym_training_coach_theme_lay = get_theme_mod( 'gym_training_coach_tranform_button_text','Capitalize');
    if($gym_training_coach_theme_lay == 'Uppercase'){
		$gym_training_coach_custom_css .='.postbtn a{';
			$gym_training_coach_custom_css .='text-transform: uppercase;';
		$gym_training_coach_custom_css .='}';
	}else if($gym_training_coach_theme_lay == 'Lowercase'){
		$gym_training_coach_custom_css .='.postbtn a{';
			$gym_training_coach_custom_css .='text-transform: lowercase;';
		$gym_training_coach_custom_css .='}';
	}
	else if($gym_training_coach_theme_lay == 'Capitalize'){
		$gym_training_coach_custom_css .='.postbtn a{';
			$gym_training_coach_custom_css .='text-transform: capitalize;';
		$gym_training_coach_custom_css .='}';
	}

	// button font weight
	$gym_training_coach_button_font_weight = get_theme_mod( 'gym_training_coach_button_font_weight','500');
	if($gym_training_coach_button_font_weight != ''){
		$gym_training_coach_custom_css .='.postbtn a{';
			$gym_training_coach_custom_css .='font-weight: '.esc_attr($gym_training_coach_button_font_weight).';';
		$gym_training_coach_custom_css .='}';
	}

	// button letter spacing
	$gym_training_coach_button_letter_spacing = get_theme_mod('gym_training_coach_button_letter_spacing', '0');
	$gym_training_coach_custom_css .='.postbtn a {';
		$gym_training_coach_custom_css .='letter-spacing: '.esc_attr($gym_training_coach_button_letter_spacing).'px;';
	$gym_training_coach_custom_css .='}';	

	//Button Shape
	$gym_training_coach_btn_shape = get_theme_mod('gym_training_coach_btn_shape', 'Round');
	if($gym_training_coach_btn_shape == 'Square' ){
		$gym_training_coach_custom_css .='.inner-service .mainbox .postbtn a{';
			$gym_training_coach_custom_css .=' border-radius: 0';
		$gym_training_coach_custom_css .='}';
	}elseif($gym_training_coach_btn_shape == 'Round' ){
		$gym_training_coach_custom_css .='.inner-service .mainbox .postbtn a{';
			$gym_training_coach_custom_css .=' border-radius: .3em';
		$gym_training_coach_custom_css .='}';
	}elseif($gym_training_coach_btn_shape == 'Pill' ){
		$gym_training_coach_custom_css .='.inner-service .mainbox .postbtn a{';
			$gym_training_coach_custom_css .=' border-radius: 2em;';
		$gym_training_coach_custom_css .='}';
	}
	
	//Button hover effect
	$gym_training_coach_button_hover_effect = get_theme_mod('gym_training_coach_button_hover_effect', 'disable');
	if ($gym_training_coach_button_hover_effect !== 'disable') {
		$gym_training_coach_custom_css .= '.postbtn a:hover {';
		switch ($gym_training_coach_button_hover_effect) {
			case 'pulse':
				$gym_training_coach_custom_css .= 'animation: pulse 0.5s ease-in-out;';
				break;
			case 'rubberBand':
				$gym_training_coach_custom_css .= 'animation: rubberBand 0.5s ease-in-out;';
				break;
			case 'swing':
				$gym_training_coach_custom_css .= 'animation: swing 0.5s ease-in-out;';
				break;
			case 'tada':
				$gym_training_coach_custom_css .= 'animation: tada 0.5s ease-in-out;';
				break;
			case 'jello':
				$gym_training_coach_custom_css .= 'animation: jello 0.5s ease-in-out;';
				break;
		}
		$gym_training_coach_custom_css .= '}';
	}

	//keyframes for all animations
	$gym_training_coach_custom_css .= '
	@keyframes pulse {
		0% { transform: scale(1); }
		50% { transform: scale(1.1); }
		100% { transform: scale(1); }
	}

	@keyframes rubberBand {
		0% { transform: scale(1); }
		30% { transform: scaleX(1.25) scaleY(0.75); }
		40% { transform: scaleX(0.75) scaleY(1.25); }
		50% { transform: scale(1); }
	}

	@keyframes swing {
		20% { transform: rotate(15deg); }
		40% { transform: rotate(-10deg); }
		60% { transform: rotate(5deg); }
		80% { transform: rotate(-5deg); }
		100% { transform: rotate(0deg); }
	}

	@keyframes tada {
		0% { transform: scale(1); }
		10%, 20% { transform: scale(0.9) rotate(-3deg); }
		30%, 50%, 70%, 90% { transform: scale(1.1) rotate(3deg); }
		40%, 60%, 80% { transform: scale(1.1) rotate(-3deg); }
		100% { transform: scale(1) rotate(0); }
	}

	@keyframes jello {
		0%, 11.1%, 100% { transform: none; }
		22.2% { transform: skewX(-12.5deg) skewY(-12.5deg); }
		33.3% { transform: skewX(6.25deg) skewY(6.25deg); }
		44.4% { transform: skewX(-3.125deg) skewY(-3.125deg); }
		55.5% { transform: skewX(1.5625deg) skewY(1.5625deg); }
		66.6% { transform: skewX(-0.78125deg) skewY(-0.78125deg); }
		77.7% { transform: skewX(0.390625deg) skewY(0.390625deg); }
		88.8% { transform: skewX(-0.1953125deg) skewY(-0.1953125deg); }
	}';

	// Post Block
	$gym_training_coach_post_block_option = get_theme_mod( 'gym_training_coach_post_block_option','By Block');
    if($gym_training_coach_post_block_option == 'By Without Block'){
		$gym_training_coach_custom_css .='.mainbox-post, .layout2 .mainbox, .layout1.mainbox,.layout3.mainbox,.post_format-post-format-video,.post_format-post-format-image,.post_format-post-format-audio, .post_format-post-format-gallery{';
			$gym_training_coach_custom_css .='border:none; margin:30px 0;';
		$gym_training_coach_custom_css .='}';
	}

	//Grid Post Block
	$gym_training_coach_grid_post_block_option = get_theme_mod( 'gym_training_coach_grid_post_block_option','By Block');
    if($gym_training_coach_grid_post_block_option == 'By Without Block'){
		$gym_training_coach_custom_css .='.inner-service .gridbox {';
			$gym_training_coach_custom_css .='border:none; margin:30px 0;';
		$gym_training_coach_custom_css .='}';
	}

	// post image 
	$gym_training_coach_post_featured_color = get_theme_mod('gym_training_coach_post_featured_color', 'var(--first-theme-color)');
	$gym_training_coach_post_featured_image = get_theme_mod('gym_training_coach_post_featured_image','Image');
	if($gym_training_coach_post_featured_image == 'Color'){
		$gym_training_coach_custom_css .='.post-color{';
			$gym_training_coach_custom_css .='background-color: '.esc_attr($gym_training_coach_post_featured_color).';';
		$gym_training_coach_custom_css .='}';
	}

	// featured image dimention
	$gym_training_coach_post_featured_image_dimention = get_theme_mod('gym_training_coach_post_featured_image_dimention', 'Default');
	$gym_training_coach_post_featured_image_custom_width = get_theme_mod('gym_training_coach_post_featured_image_custom_width');
	$gym_training_coach_post_featured_image_custom_height = get_theme_mod('gym_training_coach_post_featured_image_custom_height');
	if($gym_training_coach_post_featured_image_dimention == 'Custom'){
		$gym_training_coach_custom_css .='.box-image img{';
			$gym_training_coach_custom_css .='width: '.esc_attr($gym_training_coach_post_featured_image_custom_width).'px; height: '.esc_attr($gym_training_coach_post_featured_image_custom_height).'px;';
		$gym_training_coach_custom_css .='}';
	}

	// featured image dimention
	$gym_training_coach_custom_post_color_width = get_theme_mod('gym_training_coach_custom_post_color_width');
	$gym_training_coach_custom_post_color_height = get_theme_mod('gym_training_coach_custom_post_color_height');
	if($gym_training_coach_post_featured_image == 'Color'){
		$gym_training_coach_custom_css .='.post-color{';
			$gym_training_coach_custom_css .='width: '.esc_attr($gym_training_coach_custom_post_color_width).'px; height: '.esc_attr($gym_training_coach_custom_post_color_height).'px;';
		$gym_training_coach_custom_css .='}';
	}

	// single featured image dimention
	$gym_training_coach_single_post_featured_image_dimention = get_theme_mod('gym_training_coach_single_post_featured_image_dimention', 'Default');
	$gym_training_coach_single_post_featured_image_custom_width = get_theme_mod('gym_training_coach_single_post_featured_image_custom_width');
	$gym_training_coach_single_post_featured_image_custom_height = get_theme_mod('gym_training_coach_single_post_featured_image_custom_height');
	if($gym_training_coach_single_post_featured_image_dimention == 'Custom'){
		$gym_training_coach_custom_css .='.single-post-page .feature-box img{';
			$gym_training_coach_custom_css .='width: '.esc_attr($gym_training_coach_single_post_featured_image_custom_width).'px!important; height: '.esc_attr($gym_training_coach_single_post_featured_image_custom_height).'px!important;';
		$gym_training_coach_custom_css .='}';
	}

	// site title font size
	$gym_training_coach_site_title_font_size = get_theme_mod('gym_training_coach_site_title_font_size', 25);
	$gym_training_coach_custom_css .='.logo .site-title{';
	$gym_training_coach_custom_css .='font-size: '.esc_attr($gym_training_coach_site_title_font_size).'px;';
	$gym_training_coach_custom_css .='}';

	// Logo Padding
	$gym_training_coach_logo_padding = get_theme_mod('gym_training_coach_logo_padding');
	if($gym_training_coach_logo_padding != false){
		$gym_training_coach_custom_css .='.logo{';
			$gym_training_coach_custom_css .='padding: '.esc_attr($gym_training_coach_logo_padding).'px;';
		$gym_training_coach_custom_css .='}';
	}

	// site tagline font size
	$gym_training_coach_site_tagline_font_size = get_theme_mod('gym_training_coach_site_tagline_font_size', 13);
	$gym_training_coach_custom_css .='p.site-description{';
	$gym_training_coach_custom_css .='font-size: '.esc_attr($gym_training_coach_site_tagline_font_size).'px;';
	$gym_training_coach_custom_css .='}';

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

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

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

	// site tagline color
	$gym_training_coach_site_tagline_color = get_theme_mod('gym_training_coach_site_tagline_color');
	$gym_training_coach_custom_css .='.site-description{';
		$gym_training_coach_custom_css .='color: '.esc_attr($gym_training_coach_site_tagline_color).' !important;';
	$gym_training_coach_custom_css .='}';

	// logo padding
	$gym_training_coach_logo_padding = get_theme_mod('gym_training_coach_logo_padding', 8);
	$gym_training_coach_custom_css .='.logo{';
		$gym_training_coach_custom_css .='padding: '.esc_attr($gym_training_coach_logo_padding).'px;';
	$gym_training_coach_custom_css .='}';

	// logo margin
	$gym_training_coach_logo_margin = get_theme_mod('gym_training_coach_logo_margin');
	$gym_training_coach_custom_css .='.logo{';
		$gym_training_coach_custom_css .='margin: '.esc_attr($gym_training_coach_logo_margin).'px;';
	$gym_training_coach_custom_css .='}';
	
	// site toggle button color
	$gym_training_coach_toggle_button_color = get_theme_mod('gym_training_coach_toggle_button_color');
	$gym_training_coach_custom_css .='.toggle-menu i{';
		$gym_training_coach_custom_css .='color: '.esc_attr($gym_training_coach_toggle_button_color).' !important;';
	$gym_training_coach_custom_css .='}';

	//Copyright text color
	$gym_training_coach_copyright_text_color = get_theme_mod('gym_training_coach_copyright_text_color');
	$gym_training_coach_custom_css .='.copyright-wrapper p, .copyright-wrapper p a{';
		$gym_training_coach_custom_css .='color: '.esc_attr($gym_training_coach_copyright_text_color).';';
	$gym_training_coach_custom_css .='}';

	//Copyright background css
	$gym_training_coach_copyright_text_background = get_theme_mod('gym_training_coach_copyright_text_background');
	$gym_training_coach_custom_css .='.copyright-wrapper{';
		$gym_training_coach_custom_css .='background-color: '.esc_attr($gym_training_coach_copyright_text_background).';';
	$gym_training_coach_custom_css .='}';

	// menu font weight
	$gym_training_coach_font_weight_option_menu = get_theme_mod( 'gym_training_coach_font_weight_option_menu','600');
	if($gym_training_coach_font_weight_option_menu != ''){
		$gym_training_coach_custom_css .='.primary-navigation ul li a{';
			$gym_training_coach_custom_css .='font-weight: '.esc_attr($gym_training_coach_font_weight_option_menu).'!important;';
		$gym_training_coach_custom_css .='}';
	}

	// Menu Item Hover Style	
	$gym_training_coach_menus_item = get_theme_mod( 'gym_training_coach_menus_item_style','None');
    if($gym_training_coach_menus_item == 'None'){
		$gym_training_coach_custom_css .='.primary-navigation ul li a{';
			$gym_training_coach_custom_css .='';
		$gym_training_coach_custom_css .='}';
	}else if($gym_training_coach_menus_item == 'Zoom In'){
		$gym_training_coach_custom_css .='.primary-navigation ul li a:hover{';
			$gym_training_coach_custom_css .='transition: all 0.3s ease-in-out !important; transform: scale(1.1) !important;';
		$gym_training_coach_custom_css .='}';
	}	

	// menu color
	$gym_training_coach_menu_color = get_theme_mod('gym_training_coach_menu_color');
	$gym_training_coach_custom_css .='.primary-navigation a, .primary-navigation ul li a, .primary-navigation .current_page_item > a, .primary-navigation .current-menu-item > a, .primary-navigation .current_page_ancestor > a, #site-navigation li a{';
	$gym_training_coach_custom_css .='color: '.esc_attr($gym_training_coach_menu_color).' !important;';
	$gym_training_coach_custom_css .='}';

	// Sub menu color
	$gym_training_coach_sub_menu_color = get_theme_mod('gym_training_coach_sub_menu_color');

	$gym_training_coach_custom_css .='.primary-navigation ul.children a, .primary-navigation ul.children li a, #site-navigation ul.children li a, .primary-navigation ul.sub-menu a, .primary-navigation ul.sub-menu li a, #site-navigation ul.sub-menu li a{';
	$gym_training_coach_custom_css .='color: '.esc_attr($gym_training_coach_sub_menu_color).' !important;';
	$gym_training_coach_custom_css .='}';

	// menu hover color
	$gym_training_coach_menu_hover_color = get_theme_mod('gym_training_coach_menu_hover_color');

	$gym_training_coach_custom_css .='.primary-navigation a:hover, .primary-navigation ul li a:hover, .primary-navigation .current_page_item > a:hover, .primary-navigation .current-menu-item > a:hover, .primary-navigation .current_page_ancestor > a:hover, #site-navigation li a:hover{';
	$gym_training_coach_custom_css .='color: '.esc_attr($gym_training_coach_menu_hover_color).' !important;';
	$gym_training_coach_custom_css .='}';

	// Sub menu hover color
	$gym_training_coach_sub_menu_hover_color = get_theme_mod('gym_training_coach_sub_menu_hover_color');

	$gym_training_coach_custom_css .='.primary-navigation ul.children a:hover, .primary-navigation ul.children li a:hover, .primary-navigation .current_page_item > a:hover, .primary-navigation .current-menu-item > a:hover, .primary-navigation .current_page_ancestor > a:hover, #site-navigation ul.children li a:hover, .primary-navigation ul.sub-menu a:hover, .primary-navigation ul.sub-menu li a:hover, #site-navigation ul.sub-menu li a:hover{';
	$gym_training_coach_custom_css .='color: '.esc_attr($gym_training_coach_sub_menu_hover_color).' !important;';
	$gym_training_coach_custom_css .='}';	

	// Sub menu bg color
	$gym_training_coach_sub_menu_bg_color = get_theme_mod('gym_training_coach_sub_menu_bg_color');

	$gym_training_coach_custom_css .='#site-navigation ul.children li a, #site-navigation ul.sub-menu li a{';
	$gym_training_coach_custom_css .='background-color: '.esc_attr($gym_training_coach_sub_menu_bg_color).';';
	$gym_training_coach_custom_css .='}';	

	// Sub menu bg hover color
	$gym_training_coach_sub_menu_bg_hover_color = get_theme_mod('gym_training_coach_sub_menu_bg_hover_color');

	$gym_training_coach_custom_css .='#site-navigation ul.children li a:hover, #site-navigation ul.sub-menu li a:hover{';
	$gym_training_coach_custom_css .='background-color: '.esc_attr($gym_training_coach_sub_menu_bg_hover_color).'!important;';
	$gym_training_coach_custom_css .='border-color: '.esc_attr($gym_training_coach_sub_menu_bg_hover_color).'!important;';
	$gym_training_coach_custom_css .='}';			

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

	$gym_training_coach_slider_hide = get_theme_mod('gym_training_coach_slider_hide', false);
	if($gym_training_coach_slider_hide == false){
		$gym_training_coach_custom_css .='.page-template-home-page #header{';
			$gym_training_coach_custom_css .='position: static; background-color: #000;';
		$gym_training_coach_custom_css .='}';
	}

	//slider heading color
	$gym_training_coach_slider_heading_color = get_theme_mod('gym_training_coach_slider_heading_color');
	$gym_training_coach_custom_css .='#slider .inner_carousel h1{';
		$gym_training_coach_custom_css .='color: '.esc_attr($gym_training_coach_slider_heading_color).';';
	$gym_training_coach_custom_css .='}';

	//slider text color
	$gym_training_coach_slider_text_color = get_theme_mod('gym_training_coach_slider_text_color');
	$gym_training_coach_custom_css .='#slider .inner_carousel p{';
		$gym_training_coach_custom_css .='color: '.esc_attr($gym_training_coach_slider_text_color).';';
	$gym_training_coach_custom_css .='}';

	//slider button text color
	$gym_training_coach_slider_btn_text_color = get_theme_mod('gym_training_coach_slider_btn_text_color');
	$gym_training_coach_custom_css .='#slider .more-btn a{';
		$gym_training_coach_custom_css .='color: '.esc_attr($gym_training_coach_slider_btn_text_color).';';
	$gym_training_coach_custom_css .='}';

	//slider button bg color
	$gym_training_coach_slider_btn_bg_color = get_theme_mod('gym_training_coach_slider_btn_bg_color');
	$gym_training_coach_custom_css .='#slider .more-btn a{';
		$gym_training_coach_custom_css .='background-color: '.esc_attr($gym_training_coach_slider_btn_bg_color).';';
	$gym_training_coach_custom_css .='}';

	/*----------------- Topbar -----------------*/

	$gym_training_coach_show_topbar = get_theme_mod('gym_training_coach_show_topbar', true);
	if($gym_training_coach_show_topbar == false){
		$gym_training_coach_custom_css .='.logo{';
			$gym_training_coach_custom_css .='padding: 15px;';
		$gym_training_coach_custom_css .='}';
		$gym_training_coach_custom_css .='.page-template-home-page #header, #header{';
			$gym_training_coach_custom_css .='padding: 20px;';
		$gym_training_coach_custom_css .='}';
	}

	/*----------------- Social Links -----------------*/

	$gym_training_coach_social_links = get_theme_mod('gym_training_coach_social_links', true);
	if($gym_training_coach_social_links == false){
		$gym_training_coach_custom_css .='.topbar{';
			$gym_training_coach_custom_css .='padding: 10px;';
		$gym_training_coach_custom_css .='}';
		
	}

	// Header Contact Icons Font Size
    $gym_training_coach_header_icons_size = get_theme_mod('gym_training_coach_header_icons_size', '16');
    $gym_training_coach_custom_css .='.topbar i{';
        $gym_training_coach_custom_css .='font-size: '.esc_attr($gym_training_coach_header_icons_size).'px;';
    $gym_training_coach_custom_css .='}'; 

	// social icon size
	$gym_training_coach_social_icon_font_size = get_theme_mod('gym_training_coach_social_icon_font_size');
	$gym_training_coach_custom_css .='.topbar .social-icon i{';
		$gym_training_coach_custom_css .='font-size: '.esc_attr($gym_training_coach_social_icon_font_size).'px;';
	$gym_training_coach_custom_css .='}';

	/*----------------- Call us -----------------*/

	$gym_training_coach_phone_number = get_theme_mod('gym_training_coach_phone_number');
	if($gym_training_coach_phone_number == false){
		$gym_training_coach_custom_css .='.main-header{';
			$gym_training_coach_custom_css .='padding: 10px;';
		$gym_training_coach_custom_css .='}';
	}

	// sticky copyright
	$gym_training_coach_resp_stickycopyright = get_theme_mod( 'gym_training_coach_stickycopyright_hide_show',false);
	if($gym_training_coach_resp_stickycopyright == true && get_theme_mod( 'gym_training_coach_copyright_sticky',false) != true){
    	$gym_training_coach_custom_css .='.copyright-sticky{';
			$gym_training_coach_custom_css .='position:static;';
		$gym_training_coach_custom_css .='} ';
	}

	// Hover effect on single post featured image (FIXED)

	$gym_training_coach_show_featured = get_theme_mod(
		'gym_training_coach_featured_image_hide_show',
		1
	);

	$gym_training_coach_hover_effect = get_theme_mod(
		'gym_training_coach_featured_image_hover',
		'none'
	);

	$gym_training_coach_hover_duration = get_theme_mod(
		'gym_training_coach_featured_image_hover_duration',
		0.4
	);

	if ( $gym_training_coach_show_featured && $gym_training_coach_hover_effect !== 'none' ) {

		/* BASE RESET (MOST IMPORTANT PART) */
		$gym_training_coach_custom_css .= '
		.gym-training-coach-featured-image{
			overflow: hidden;
		}
		.gym-training-coach-featured-image img{
			transform: scale(1);
			filter: none;
			transition:
				transform ' . esc_attr( $gym_training_coach_hover_duration ) . 's ease,
				filter ' . esc_attr( $gym_training_coach_hover_duration ) . 's ease;
			will-change: transform, filter;
		}';

		/* ZOOM IN */
		if ( $gym_training_coach_hover_effect === 'zoom-in' ) {
			$gym_training_coach_custom_css .= '
			.gym-training-coach-featured-image img:hover{
				transform: scale(1.2);
			}';
		}
 
		/* ZOOM OUT */
		if ( $gym_training_coach_hover_effect === 'zoom-out' ) {
			$gym_training_coach_custom_css .= '
			.gym-training-coach-featured-image img{
				transform: scale(1.2);
			}
			.gym-training-coach-featured-image img:hover{
				transform: scale(1);
			}';
		}

		/* GRAYSCALE (NORMAL → COLOR ON HOVER) */
		if ( $gym_training_coach_hover_effect === 'grayscale' ) {
			$gym_training_coach_custom_css .= '
			.gym-training-coach-featured-image img{
				filter: grayscale(0%);
			}
			.gym-training-coach-featured-image img:hover{
				filter: grayscale(100%);
			}';
		}

		/* SEPIA */
		if ( $gym_training_coach_hover_effect === 'sepia' ) {
			$gym_training_coach_custom_css .= '
			.gym-training-coach-featured-image img:hover{
				filter: sepia(100%);
			}';
		}

		/* BLUR */
		if ( $gym_training_coach_hover_effect === 'blur' ) {
			$gym_training_coach_custom_css .= '
			.gym-training-coach-featured-image img:hover{
				filter: blur(3px);
			}';
		}

		/* BRIGHT */
		if ( $gym_training_coach_hover_effect === 'bright' ) {
			$gym_training_coach_custom_css .= '
			.gym-training-coach-featured-image img:hover{
				filter: brightness(1.3);
			}';
		}

		/* TRANSLATE */
		if ( $gym_training_coach_hover_effect === 'translate' ) {
			$gym_training_coach_custom_css .= '
			.gym-training-coach-featured-image img:hover{
				transform: translateY(-10px);
			}';
		}
	}
