<?php

	$affiliate_marketing_business_first_color = get_theme_mod('affiliate_marketing_business_first_color');
	$affiliate_marketing_business_custom_css ='';

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

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

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

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

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

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

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

	// Footer text Trasnform
	$affiliate_marketing_business_theme_lay = get_theme_mod('affiliate_marketing_business_footer_text_tranform','Capitalize');
	if($affiliate_marketing_business_theme_lay == 'Uppercase'){
		$affiliate_marketing_business_custom_css .= '.footer-wp h3{';
		$affiliate_marketing_business_custom_css .= 'text-transform: uppercase !important;';
		$affiliate_marketing_business_custom_css .= '}';
	}
	elseif($affiliate_marketing_business_theme_lay == 'Lowercase'){
		$affiliate_marketing_business_custom_css .= '.footer-wp h3{';
		$affiliate_marketing_business_custom_css .= 'text-transform: lowercase !important;';
		$affiliate_marketing_business_custom_css .= '}';
	}
	elseif($affiliate_marketing_business_theme_lay == 'Capitalize'){
		$affiliate_marketing_business_custom_css .= '.footer-wp h3{';
		$affiliate_marketing_business_custom_css .= 'text-transform: capitalize !important;';
		$affiliate_marketing_business_custom_css .= '}';
	}

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

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

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

	$affiliate_marketing_business_footer_heading_font_size = get_theme_mod('affiliate_marketing_business_footer_heading_font_size');
	$affiliate_marketing_business_custom_css .='.footer-wp h3{';
		$affiliate_marketing_business_custom_css .='font-size: '.esc_attr($affiliate_marketing_business_footer_heading_font_size).'px;';
	$affiliate_marketing_business_custom_css .='}';

	// Footer heading font weight
	$affiliate_marketing_business_footer_heading_font_weight = get_theme_mod( 'affiliate_marketing_business_footer_heading_font_weight');
	if($affiliate_marketing_business_footer_heading_font_weight != ''){
		$affiliate_marketing_business_custom_css .='.footer-wp h3{';
			$affiliate_marketing_business_custom_css .='font-weight: '.esc_attr($affiliate_marketing_business_footer_heading_font_weight).'!important;';
		$affiliate_marketing_business_custom_css .='}';
	}

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

	// Header Social Icons Font Size
    $affiliate_marketing_business_header_icons_size = get_theme_mod('affiliate_marketing_business_header_icons_size', '16');
    $affiliate_marketing_business_custom_css .='.header .phone i,.header .wishlist i, .header .my-account i{';
        $affiliate_marketing_business_custom_css .='font-size: '.esc_attr($affiliate_marketing_business_header_icons_size).'px;';
    $affiliate_marketing_business_custom_css .='}';

	// footer padding
	$affiliate_marketing_business_footer_padding = get_theme_mod('affiliate_marketing_business_footer_padding');
	$affiliate_marketing_business_custom_css .='.footer-wp{';
		$affiliate_marketing_business_custom_css .='padding: '.esc_attr($affiliate_marketing_business_footer_padding).'px;';
	$affiliate_marketing_business_custom_css .='}';

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

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

   //Footer Style 
	$affiliate_marketing_business_theme_lay = get_theme_mod( 'affiliate_marketing_business_footer_template','affiliate_marketing_business-footer-one');
    if($affiliate_marketing_business_theme_lay == 'affiliate_marketing_business-footer-one'){
		$affiliate_marketing_business_custom_css .='.footer-wp{';
			$affiliate_marketing_business_custom_css .='';
		$affiliate_marketing_business_custom_css .='}';

	}else if($affiliate_marketing_business_theme_lay == 'affiliate_marketing_business-footer-two'){
		$affiliate_marketing_business_custom_css .='.footer-wp {';
			$affiliate_marketing_business_custom_css .='background: #E3F2FD !important;';
		$affiliate_marketing_business_custom_css .='}';
		$affiliate_marketing_business_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{';
			$affiliate_marketing_business_custom_css .='color:#000 !important;';
		$affiliate_marketing_business_custom_css .='}';
		$affiliate_marketing_business_custom_css .='.footer-wp p{';
			$affiliate_marketing_business_custom_css .='color:#000 !important;';
		$affiliate_marketing_business_custom_css .='}';
		$affiliate_marketing_business_custom_css .='.footer-wp ul li::before{';
			$affiliate_marketing_business_custom_css .='background:#000;';
		$affiliate_marketing_business_custom_css .='}';
		$affiliate_marketing_business_custom_css .='.footer-wp table, .footer-wp th, .footer-wp td,.footer-wp.search-form .search-field,.footer-wp .tagcloud a{';
			$affiliate_marketing_business_custom_css .='border: 1px solid #000;';
		$affiliate_marketing_business_custom_css .='}';

	}else if($affiliate_marketing_business_theme_lay == 'affiliate_marketing_business-footer-three'){
		$affiliate_marketing_business_custom_css .='.footer-wp {';
			$affiliate_marketing_business_custom_css .='background: #0A0A1F !important;;';
		$affiliate_marketing_business_custom_css .='}';
	}
	else if($affiliate_marketing_business_theme_lay == 'affiliate_marketing_business-footer-four'){
		$affiliate_marketing_business_custom_css .='.footer-wp {';
			$affiliate_marketing_business_custom_css .='background: #F5F5DC !important;;';
		$affiliate_marketing_business_custom_css .='}';
		$affiliate_marketing_business_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{';
			$affiliate_marketing_business_custom_css .='color:#000 !important;';
		$affiliate_marketing_business_custom_css .='}';
		$affiliate_marketing_business_custom_css .='.footer-wp p{';
			$affiliate_marketing_business_custom_css .='color:#000 !important;';
		$affiliate_marketing_business_custom_css .='}';
		$affiliate_marketing_business_custom_css .='.footer-wp ul li::before{';
			$affiliate_marketing_business_custom_css .='background:#000;';
		$affiliate_marketing_business_custom_css .='}';
		$affiliate_marketing_business_custom_css .='.footer-wp table, .footer-wp th, .footer-wp td,.footer-wp.search-form .search-field,.footer-wp .tagcloud a{';
			$affiliate_marketing_business_custom_css .='border: 1px solid #000;';
		$affiliate_marketing_business_custom_css .='}';
	}
    else if($affiliate_marketing_business_theme_lay == 'affiliate_marketing_business-footer-five'){
	$affiliate_marketing_business_custom_css .='.footer-wp {';
		$affiliate_marketing_business_custom_css .='background: #333333 !important;;';
	$affiliate_marketing_business_custom_css .='}';
   }	

	//Footer social icons font size
	$affiliate_marketing_business_footer_social_icons_size = get_theme_mod('affiliate_marketing_business_footer_social_icons_size', 15);
	$affiliate_marketing_business_custom_css .='.copyright-wrapper a i{';
		$affiliate_marketing_business_custom_css .='font-size: '.esc_attr($affiliate_marketing_business_footer_social_icons_size).'px;';
	$affiliate_marketing_business_custom_css .='}';		

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

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

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

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

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

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

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

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

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

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

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

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

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

	$affiliate_marketing_business_theme_lay = get_theme_mod( 'affiliate_marketing_business_button_text_tranform','Uppercase');
    if($affiliate_marketing_business_theme_lay == 'Uppercase'){
		$affiliate_marketing_business_custom_css .='.postbtn a{';
			$affiliate_marketing_business_custom_css .='text-transform: uppercase;';
		$affiliate_marketing_business_custom_css .='}';
	}else if($affiliate_marketing_business_theme_lay == 'Lowercase'){
		$affiliate_marketing_business_custom_css .='.postbtn a{';
			$affiliate_marketing_business_custom_css .='text-transform: lowercase;';
		$affiliate_marketing_business_custom_css .='}';
	}
	else if($affiliate_marketing_business_theme_lay == 'Capitalize'){
		$affiliate_marketing_business_custom_css .='.postbtn a{';
			$affiliate_marketing_business_custom_css .='text-transform: capitalize;';
		$affiliate_marketing_business_custom_css .='}';
	}

	// button font weight
	$affiliate_marketing_business_button_font_weight = get_theme_mod( 'affiliate_marketing_business_button_font_weight','700');
	if($affiliate_marketing_business_button_font_weight != ''){
		$affiliate_marketing_business_custom_css .='.postbtn a{';
			$affiliate_marketing_business_custom_css .='font-weight: '.esc_attr($affiliate_marketing_business_button_font_weight).';';
		$affiliate_marketing_business_custom_css .='}';
	}

	//Button hover effect
	$affiliate_marketing_business_button_hover_effect = get_theme_mod('affiliate_marketing_business_button_hover_effect', 'disable');
	if ($affiliate_marketing_business_button_hover_effect !== 'disable') {
		$affiliate_marketing_business_custom_css .= '.postbtn a:hover {';
		switch ($affiliate_marketing_business_button_hover_effect) {
			case 'pulse':
				$affiliate_marketing_business_custom_css .= 'animation: pulse 0.5s ease-in-out;';
				break;
			case 'rubberBand':
				$affiliate_marketing_business_custom_css .= 'animation: rubberBand 0.5s ease-in-out;';
				break;
			case 'swing':
				$affiliate_marketing_business_custom_css .= 'animation: swing 0.5s ease-in-out;';
				break;
			case 'tada':
				$affiliate_marketing_business_custom_css .= 'animation: tada 0.5s ease-in-out;';
				break;
			case 'jello':
				$affiliate_marketing_business_custom_css .= 'animation: jello 0.5s ease-in-out;';
				break;
		}
		$affiliate_marketing_business_custom_css .= '}';
	}

	//keyframes for all animations
	$affiliate_marketing_business_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); }
	}';

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

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

	// button letter spacing
	$affiliate_marketing_business_button_letter_spacing = get_theme_mod('affiliate_marketing_business_button_letter_spacing', '1');
	$affiliate_marketing_business_custom_css .='.postbtn a {';
		$affiliate_marketing_business_custom_css .='letter-spacing: '.esc_attr($affiliate_marketing_business_button_letter_spacing).'px;';
	$affiliate_marketing_business_custom_css .='}';	

	//Button Shape
	$affiliate_marketing_business_btn_shape = get_theme_mod('affiliate_marketing_business_btn_shape', 'Round');
	if($affiliate_marketing_business_btn_shape == 'Square' ){
		$affiliate_marketing_business_custom_css .='.inner-service .mainbox .postbtn a{';
			$affiliate_marketing_business_custom_css .=' border-radius: 0';
		$affiliate_marketing_business_custom_css .='}';
	}elseif($affiliate_marketing_business_btn_shape == 'Round' ){
		$affiliate_marketing_business_custom_css .='.inner-service .mainbox .postbtn a{';
			$affiliate_marketing_business_custom_css .=' border-radius: .625em';
		$affiliate_marketing_business_custom_css .='}';
	}elseif($affiliate_marketing_business_btn_shape == 'Pill' ){
		$affiliate_marketing_business_custom_css .='.inner-service .mainbox .postbtn a{';
			$affiliate_marketing_business_custom_css .=' border-radius: 2em;';
		$affiliate_marketing_business_custom_css .='}';
	}

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

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

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

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

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

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

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

	$affiliate_marketing_business_woocommerce_button_border_radius = get_theme_mod('affiliate_marketing_business_woocommerce_button_border_radius',10);
	$affiliate_marketing_business_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{';
		$affiliate_marketing_business_custom_css .='border-radius: '.esc_attr($affiliate_marketing_business_woocommerce_button_border_radius).'px;';
	$affiliate_marketing_business_custom_css .='}';

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

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

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

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

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

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

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

	$affiliate_marketing_business_woo_product_sale_border_radius = get_theme_mod('affiliate_marketing_business_woo_product_sale_border_radius',10);
	$affiliate_marketing_business_custom_css .='.woocommerce span.onsale {';
		$affiliate_marketing_business_custom_css .='border-radius: '.esc_attr($affiliate_marketing_business_woo_product_sale_border_radius).'px;';
	$affiliate_marketing_business_custom_css .='}';

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

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

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

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

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

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

	if($affiliate_marketing_business_post_date == false && $affiliate_marketing_business_post_author == false && $affiliate_marketing_business_post_comment == false && $affiliate_marketing_business_post_time == false){
		$affiliate_marketing_business_custom_css .='@media screen and (max-width:575px) {';
    	$affiliate_marketing_business_custom_css .='.metabox {';
			$affiliate_marketing_business_custom_css .='display:none;';
		$affiliate_marketing_business_custom_css .='} }';
	}

	$affiliate_marketing_business_metafields_date = get_theme_mod( 'affiliate_marketing_business_metafields_date',true);
	$affiliate_marketing_business_metafields_author = get_theme_mod( 'affiliate_marketing_business_metafields_author',true);
	$affiliate_marketing_business_metafields_comment = get_theme_mod( 'affiliate_marketing_business_metafields_comment',true);
	$affiliate_marketing_business_metafields_time = get_theme_mod( 'affiliate_marketing_business_metafields_time',true);
	if($affiliate_marketing_business_metafields_date == false && $affiliate_marketing_business_metafields_author == false && $affiliate_marketing_business_metafields_comment == false && $affiliate_marketing_business_metafields_time == false){
		$affiliate_marketing_business_custom_css .='@media screen and (min-width:576px) {';
    	$affiliate_marketing_business_custom_css .='.metabox {';
			$affiliate_marketing_business_custom_css .='display:none;';
		$affiliate_marketing_business_custom_css .='} }';
	}

	$affiliate_marketing_business_slider = get_theme_mod( 'affiliate_marketing_business_display_slider',true);
	 if($affiliate_marketing_business_slider == true && get_theme_mod( 'affiliate_marketing_business_slider_hide', true) == false){
     	$affiliate_marketing_business_custom_css .='#slider{';
	 		$affiliate_marketing_business_custom_css .='display:none;';
		$affiliate_marketing_business_custom_css .='} ';
	 }
    if($affiliate_marketing_business_slider == true){
    	$affiliate_marketing_business_custom_css .='@media screen and (max-width:575px) {';
		$affiliate_marketing_business_custom_css .='#slider{';
			$affiliate_marketing_business_custom_css .='display:block;';
		$affiliate_marketing_business_custom_css .='} }';
	}else if($affiliate_marketing_business_slider == false){
		$affiliate_marketing_business_custom_css .='@media screen and (max-width:575px){';
		$affiliate_marketing_business_custom_css .='#slider{';
			$affiliate_marketing_business_custom_css .='display:none;';
		$affiliate_marketing_business_custom_css .='} }';
	}

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

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

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

	$affiliate_marketing_business_scroll = get_theme_mod( 'affiliate_marketing_business_display_scroll',true);
    if($affiliate_marketing_business_scroll == true){
    	$affiliate_marketing_business_custom_css .='@media screen and (max-width:575px) {';
		$affiliate_marketing_business_custom_css .='#scrollbutton{';
			$affiliate_marketing_business_custom_css .='display:block !important;';
		$affiliate_marketing_business_custom_css .='} }';
	}else if($affiliate_marketing_business_scroll == false){
		$affiliate_marketing_business_custom_css .='@media screen and (max-width:575px) {';
		$affiliate_marketing_business_custom_css .='#scrollbutton{';
			$affiliate_marketing_business_custom_css .='display:none !important;';
		$affiliate_marketing_business_custom_css .='} }';
	}

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

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

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

	$affiliate_marketing_business_menu_padding = get_theme_mod('affiliate_marketing_business_menu_padding');
	$affiliate_marketing_business_custom_css .='.primary-navigation ul li a{';
		$affiliate_marketing_business_custom_css .='padding: '.esc_attr($affiliate_marketing_business_menu_padding).'px;';
	$affiliate_marketing_business_custom_css .='}';

    //Menu Text Transform
	$affiliate_marketing_business_theme_lay = get_theme_mod( 'affiliate_marketing_business_menu_text_tranform','Uppercase');
    if($affiliate_marketing_business_theme_lay == 'Uppercase'){
		$affiliate_marketing_business_custom_css .='.primary-navigation ul li a{';
			$affiliate_marketing_business_custom_css .='text-transform: uppercase !important;';
		$affiliate_marketing_business_custom_css .='}';
	}else if($affiliate_marketing_business_theme_lay == 'Lowercase'){
		$affiliate_marketing_business_custom_css .='.primary-navigation ul li a{';
			$affiliate_marketing_business_custom_css .='text-transform: lowercase !important;';
		$affiliate_marketing_business_custom_css .='}';
	}
	else if($affiliate_marketing_business_theme_lay == 'Capitalize'){
		$affiliate_marketing_business_custom_css .='.primary-navigation ul li a{';
			$affiliate_marketing_business_custom_css .='text-transform: capitalize !important;';
		$affiliate_marketing_business_custom_css .='}';
	}

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

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

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

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

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

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

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

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

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

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

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

	// featured image dimention
	$affiliate_marketing_business_post_featured_image_dimention = get_theme_mod('affiliate_marketing_business_post_featured_image_dimention', 'Default');
	$affiliate_marketing_business_post_featured_image_custom_width = get_theme_mod('affiliate_marketing_business_post_featured_image_custom_width');
	$affiliate_marketing_business_post_featured_image_custom_height = get_theme_mod('affiliate_marketing_business_post_featured_image_custom_height');
	if($affiliate_marketing_business_post_featured_image_dimention == 'Custom'){
		$affiliate_marketing_business_custom_css .='.box-image img{';
			$affiliate_marketing_business_custom_css .='width: '.esc_attr($affiliate_marketing_business_post_featured_image_custom_width).'px; height: '.esc_attr($affiliate_marketing_business_post_featured_image_custom_height).'px;';
		$affiliate_marketing_business_custom_css .='}';
	}

	// featured image dimention
	$affiliate_marketing_business_custom_post_color_width = get_theme_mod('affiliate_marketing_business_custom_post_color_width');
	$affiliate_marketing_business_custom_post_color_height = get_theme_mod('affiliate_marketing_business_custom_post_color_height');
	if($affiliate_marketing_business_post_featured_image == 'Color'){
		$affiliate_marketing_business_custom_css .='.post-color{';
			$affiliate_marketing_business_custom_css .='width: '.esc_attr($affiliate_marketing_business_custom_post_color_width).'px; height: '.esc_attr($affiliate_marketing_business_custom_post_color_height).'px;';
		$affiliate_marketing_business_custom_css .='}';
	}

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

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

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

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

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

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

	// site tagline color
	$affiliate_marketing_business_site_tagline_color = get_theme_mod('affiliate_marketing_business_site_tagline_color');
	$affiliate_marketing_business_custom_css .='.site-description{';
		$affiliate_marketing_business_custom_css .='color: '.esc_attr($affiliate_marketing_business_site_tagline_color).' !important;';
	$affiliate_marketing_business_custom_css .='}';
	
	// site toggle button color
	$affiliate_marketing_business_toggle_button_color = get_theme_mod('affiliate_marketing_business_toggle_button_color');
	$affiliate_marketing_business_custom_css .='.toggle-menu i{';
		$affiliate_marketing_business_custom_css .='color: '.esc_attr($affiliate_marketing_business_toggle_button_color).' !important;';
	$affiliate_marketing_business_custom_css .='}';

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

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

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

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

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

	// menu color
	$affiliate_marketing_business_menu_color = get_theme_mod('affiliate_marketing_business_menu_color');

	$affiliate_marketing_business_custom_css .='.primary-navigation a, .primary-navigation ul li a, #site-navigation li a{';
			$affiliate_marketing_business_custom_css .='color: '.esc_attr($affiliate_marketing_business_menu_color).' !important;';
	$affiliate_marketing_business_custom_css .='}';

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

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

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

	$affiliate_marketing_business_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{';
			$affiliate_marketing_business_custom_css .='color: '.esc_attr($affiliate_marketing_business_menu_hover_color).' !important;';
	$affiliate_marketing_business_custom_css .='}';

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

	$affiliate_marketing_business_custom_css .='.primary-navigation ul.sub-menu a:hover, .primary-navigation ul.sub-menu 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.sub-menu li a:hover, .primary-navigation ul.children a:hover, .primary-navigation ul.children li a:hover, #site-navigation ul.children li a:hover{';
			$affiliate_marketing_business_custom_css .='color: '.esc_attr($affiliate_marketing_business_sub_menu_hover_color).' !important;';
	$affiliate_marketing_business_custom_css .='}';	

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

	$affiliate_marketing_business_slider_bg_color_option = get_theme_mod('affiliate_marketing_business_slider_bg_color_option');
	$affiliate_marketing_business_custom_css .='.slider-section{';
		$affiliate_marketing_business_custom_css .='background-color: '.esc_attr($affiliate_marketing_business_slider_bg_color_option).';';
	$affiliate_marketing_business_custom_css .='}';

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

	//slider button icon bg color
	$affiliate_marketing_business_slider_btn_iconbg_color = get_theme_mod('affiliate_marketing_business_slider_btn_iconbg_color');
	$affiliate_marketing_business_custom_css .='#slider .read-more i{';
		$affiliate_marketing_business_custom_css .='background-color: '.esc_attr($affiliate_marketing_business_slider_btn_iconbg_color).';';
	$affiliate_marketing_business_custom_css .='}';

	$affiliate_marketing_business_banner_background_image_sec = get_theme_mod('affiliate_marketing_business_banner_background_image_sec');
	if($affiliate_marketing_business_banner_background_image_sec != false){
		$affiliate_marketing_business_custom_css .='#slider{';
			$affiliate_marketing_business_custom_css .='background: url('.esc_attr($affiliate_marketing_business_banner_background_image_sec).'); background-size: cover;';
		$affiliate_marketing_business_custom_css .='}';
	}

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

		// sticky copyright
		$affiliate_marketing_business_resp_stickycopyright = get_theme_mod( 'affiliate_marketing_business_stickycopyright_hide_show',false);
		if($affiliate_marketing_business_resp_stickycopyright == true && get_theme_mod( 'affiliate_marketing_business_copyright_sticky',false) != true){
			$affiliate_marketing_business_custom_css .='.copyright-sticky{';
				$affiliate_marketing_business_custom_css .='position:static;';
			$affiliate_marketing_business_custom_css .='} ';
		}
		// Hover effect on single post featured image (FIXED)

	$affiliate_marketing_business_show_featured = get_theme_mod(
		'affiliate_marketing_business_featured_image_hide_show',
		1
	);

	$affiliate_marketing_business_hover_effect = get_theme_mod(
		'affiliate_marketing_business_featured_image_hover',
		'none'
	);

	$affiliate_marketing_business_hover_duration = get_theme_mod(
		'affiliate_marketing_business_featured_image_hover_duration',
		0.4
	);

	if ( $affiliate_marketing_business_show_featured && $affiliate_marketing_business_hover_effect !== 'none' ) {

		/* BASE RESET (MOST IMPORTANT PART) */
		$affiliate_marketing_business_custom_css .= '
		.affiliate-marketing-business-featured-image{
			overflow: hidden;
		}
		.affiliate-marketing-business-featured-image img{
			transform: scale(1);
			filter: none;
			transition:
				transform ' . esc_attr( $affiliate_marketing_business_hover_duration ) . 's ease,
				filter ' . esc_attr( $affiliate_marketing_business_hover_duration ) . 's ease;
			will-change: transform, filter;
		}';

		/* ZOOM IN */
		if ( $affiliate_marketing_business_hover_effect === 'zoom-in' ) {
			$affiliate_marketing_business_custom_css .= '
			.affiliate-marketing-business-featured-image img:hover{
				transform: scale(1.2);
			}';
		}

		/* ZOOM OUT */
		if ( $affiliate_marketing_business_hover_effect === 'zoom-out' ) {
			$affiliate_marketing_business_custom_css .= '
			.affiliate-marketing-business-featured-image img{
				transform: scale(1.2);
			}
			.affiliate-marketing-business-featured-image img:hover{
				transform: scale(1);
			}';
		}

		/* GRAYSCALE (NORMAL → COLOR ON HOVER) */
		if ( $affiliate_marketing_business_hover_effect === 'grayscale' ) {
			$affiliate_marketing_business_custom_css .= '
			.affiliate-marketing-business-featured-image img{
				filter: grayscale(0%);
			}
			.affiliate-marketing-business-featured-image img:hover{
				filter: grayscale(100%);
			}';
		}

		/* SEPIA */
		if ( $affiliate_marketing_business_hover_effect === 'sepia' ) {
			$affiliate_marketing_business_custom_css .= '
			.affiliate-marketing-business-featured-image img:hover{
				filter: sepia(100%);
			}';
		}

		/* BLUR */
		if ( $affiliate_marketing_business_hover_effect === 'blur' ) {
			$affiliate_marketing_business_custom_css .= '
			.affiliate-marketing-business-featured-image img:hover{
				filter: blur(3px);
			}';
		}

		/* BRIGHT */
		if ( $affiliate_marketing_business_hover_effect === 'bright' ) {
			$affiliate_marketing_business_custom_css .= '
			.affiliate-marketing-business-featured-image img:hover{
				filter: brightness(1.3);
			}';
		}

		/* TRANSLATE */
		if ( $affiliate_marketing_business_hover_effect === 'translate' ) {
			$affiliate_marketing_business_custom_css .= '
			.affiliate-marketing-business-featured-image img:hover{
				transform: translateY(-10px);
			}';
		}
	}
 
	// breadcrumb show/hide
	$affiliate_marketing_business_single_page_breadcrumb = get_theme_mod('affiliate_marketing_business_single_page_breadcrumb',true);
	if($affiliate_marketing_business_single_page_breadcrumb != true){
		$affiliate_marketing_business_custom_css .='.page-breadrumb{';
			$affiliate_marketing_business_custom_css .='display: none;';
		$affiliate_marketing_business_custom_css .='}';
	}