<?php
/**
 * Business Consulting Lite: Customizer
 *
 * @subpackage Business Consulting Lite
 * @since 1.0
 */

function business_consulting_lite_customize_register( $wp_customize ) {

	wp_enqueue_style('customizercustom_css', esc_url( get_template_directory_uri() ). '/assets/css/customizer.css');

	// fontawesome icon-picker

	load_template( trailingslashit( get_template_directory() ) . '/inc/icon-picker.php' );

  	require get_parent_theme_file_path( 'inc/switch/control_switch.php' );

  	require get_parent_theme_file_path( 'inc/custom-control.php' );

  	//Register the sortable control type.
	$wp_customize->register_control_type( 'Business_Consulting_Lite_Control_Sortable' );

  	// Add homepage customizer file
  	require get_template_directory() . '/inc/customizer-home-page.php';

  	add_action( 'customize_controls_enqueue_scripts', function() {
    	wp_enqueue_script(
	        'business-consulting-lite-customizer-reset',
	        get_theme_file_uri() . '/assets/js/color-reset.js', // Ensure the JS file exists in your theme
	        array( 'customize-controls', 'jquery' ),
	        '1.0',
	        true
    	);
	} );

	// pro 
 	$wp_customize->add_section('business_consulting_lite_pro', array(
        'title'    => __('UPGRADE CONSULTING PREMIUM', 'business-consulting-lite'),
        'priority' => 1,
    ));
    $wp_customize->add_setting('business_consulting_lite_pro', array(
        'default'           => null,
        'sanitize_callback' => 'sanitize_text_field',
    ));
    $wp_customize->add_control(new Business_Consulting_Lite_Pro_Control($wp_customize, 'business_consulting_lite_pro', array(
        'label'    => __('BUSINESS CONSULTING PREMIUM', 'business-consulting-lite'),
        'section'  => 'business_consulting_lite_pro',
        'settings' => 'business_consulting_lite_pro',
        'priority' => 1,
    )));

    //Logo
    $wp_customize->add_setting('business_consulting_lite_logo_max_height',array(
		'default'=> '100',
		'transport' => 'refresh',
		'sanitize_callback' => 'business_consulting_lite_sanitize_integer'
	));
	$wp_customize->add_control(new Business_Consulting_Lite_Slider_Custom_Control( $wp_customize, 'business_consulting_lite_logo_max_height',array(
		'label'	=> esc_html__('Logo Width','business-consulting-lite'),
		'section'=> 'title_tagline',
		'settings'=>'business_consulting_lite_logo_max_height',
		'input_attrs' => array(
			'reset'			   => 100,
            'step'             => 1,
			'min'              => 0,
			'max'              => 250,
        ),
        'priority' => 9,
	)));
   	$wp_customize->add_setting('business_consulting_lite_logo_title',
		array(
			'type'                 => 'option',
			'capability'           => 'edit_theme_options',
			'theme_supports'       => '',
			'default'              => '1',
			'transport'            => 'refresh',
			'sanitize_callback'    => 'business_consulting_lite_callback_sanitize_switch',
		)
	);
	$wp_customize->add_control(new Business_Consulting_Lite_Customizer_Customcontrol_Switch(
			$wp_customize,
			'business_consulting_lite_logo_title',
			array(
				'settings'        => 'business_consulting_lite_logo_title',
				'section'         => 'title_tagline',
				'label'           => __( 'Show Site Title', 'business-consulting-lite' ),				
				'choices'		  => array(
					'1'      => __( 'On', 'business-consulting-lite' ),
					'off'    => __( 'Off', 'business-consulting-lite' ),
				),
				'active_callback' => '',
			)
		)
	);

	$wp_customize->add_setting('business_consulting_lite_site_title_fontsize',array(
		'default'=> 25,
		'transport' => 'refresh',
		'sanitize_callback' => 'business_consulting_lite_sanitize_integer'
	));
	$wp_customize->add_control(new Business_Consulting_Lite_Slider_Custom_Control( $wp_customize, 'business_consulting_lite_site_title_fontsize',array(
		'label' => esc_html__( 'Site Title font size','business-consulting-lite' ),
		'section'=> 'title_tagline',
		'settings'=>'business_consulting_lite_site_title_fontsize',
		'input_attrs' => array(
			'reset'			   => 25,
            'step'             => 1,
			'min'              => 0,
			'max'              => 50,
        ),
	)));
	$wp_customize->add_setting('business_consulting_lite_logo_text',
		array(
			'type'                 => 'option',
			'capability'           => 'edit_theme_options',
			'theme_supports'       => '',
			'default'              => 'off',
			'transport'            => 'refresh',
			'sanitize_callback'    => 'business_consulting_lite_callback_sanitize_switch',
		)
	);
	$wp_customize->add_control(new Business_Consulting_Lite_Customizer_Customcontrol_Switch(
			$wp_customize,
			'business_consulting_lite_logo_text',
			array(
				'settings'        => 'business_consulting_lite_logo_text',
				'section'         => 'title_tagline',
				'label'           => __( 'Show Site Tagline', 'business-consulting-lite' ),				
				'choices'		  => array(
					'1'      => __( 'On', 'business-consulting-lite' ),
					'off'    => __( 'Off', 'business-consulting-lite' ),
				),
				'active_callback' => '',
			)
		)
	);
	$wp_customize->add_setting('business_consulting_lite_site_tagline_fontsize',array(
		'default'=> 15,
		'transport' => 'refresh',
		'sanitize_callback' => 'business_consulting_lite_sanitize_integer'
	));
	$wp_customize->add_control(new Business_Consulting_Lite_Slider_Custom_Control( $wp_customize, 'business_consulting_lite_site_tagline_fontsize',array(
		'label' => esc_html__( 'Site Tagline font size','business-consulting-lite' ),
		'section'=> 'title_tagline',
		'settings'=>'business_consulting_lite_site_tagline_fontsize',
		'input_attrs' => array(
			'reset'			   => 15,
            'step'             => 1,
			'min'              => 0,
			'max'              => 30,
        ),
	)));


	//colors
	if ( $wp_customize->get_section( 'colors' ) ) {
        $wp_customize->get_section( 'colors' )->title = __( 'Global Colors', 'business-consulting-lite' );
        $wp_customize->get_section( 'colors' )->priority = 2;
    }

    $wp_customize->add_setting( 'business_consulting_lite_global_color_heading', array(
		'default'           => '',
		'transport'         => 'refresh',
		'sanitize_callback' => 'sanitize_text_field',
	) );
	$wp_customize->add_control( new Business_Consulting_Lite_Customizer_Customcontrol_Section_Heading( $wp_customize, 'business_consulting_lite_global_color_heading', array(
			'label'       => esc_html__( 'Global Colors', 'business-consulting-lite' ),
			'section'     => 'colors',
			'settings'    => 'business_consulting_lite_global_color_heading',
			'priority'       => 1,

	) ) );

	$wp_customize->add_setting( 'business_consulting_lite_reset_colors', array(
	    'default'           => '',
	    'sanitize_callback' => 'sanitize_text_field',
	    'transport'         => 'postMessage', 
	) );

	$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'business_consulting_lite_reset_colors', array(
	    'label'       => esc_html__( 'Reset Colors', 'business-consulting-lite' ),
	    'section'     => 'colors',
	    'settings'    => 'business_consulting_lite_reset_colors',
	    'type'        => 'button',
	    'input_attrs' => array(
	        'class' => 'button color-reset-btn',
	        'onclick' => 'resetColorsToDefault();', // Attach custom JS function
	    ),
	    'priority' => '2'
	) ) );

    $wp_customize->add_setting('business_consulting_lite_primary_color', array(
	    'default' => '#f63b2b',
	    'sanitize_callback' => 'sanitize_hex_color',
	    'transport' => 'refresh',
	));

	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'business_consulting_lite_primary_color', array(
	    'section' => 'colors',
	    'label' => esc_html__('Theme Color', 'business-consulting-lite'),
	 
	)));

	$wp_customize->add_setting('business_consulting_lite_second_color', array(
	    'default' => '#084588',
	    'sanitize_callback' => 'sanitize_hex_color',
	    'transport' => 'refresh',
	));

	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'business_consulting_lite_second_color', array(
	    'section' => 'colors',
	    'label' => esc_html__('theme second color', 'business-consulting-lite'),
	)));

	$wp_customize->add_setting('business_consulting_lite_heading_color', array(
	    'default' => '#181818',
	    'sanitize_callback' => 'sanitize_hex_color',
	    'transport' => 'refresh',
	));

	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'business_consulting_lite_heading_color', array(
	    'section' => 'colors',
	    'label' => esc_html__('Theme Heading Color', 'business-consulting-lite'),
	 
	)));

	$wp_customize->add_setting('business_consulting_lite_text_color', array(
	    'default' => '#63646d',
	    'sanitize_callback' => 'sanitize_hex_color',
	    'transport' => 'refresh',
	));

	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'business_consulting_lite_text_color', array(
	    'section' => 'colors',
	    'label' => esc_html__('Theme Text Color', 'business-consulting-lite'),
	 
	)));

	$wp_customize->add_setting('business_consulting_lite_primary_fade', array(
	    'default' => '#ffe7e5',
	    'sanitize_callback' => 'sanitize_hex_color',
	    'transport' => 'refresh',
	));

	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'business_consulting_lite_primary_fade', array(
	    'section' => 'colors',
	    'label' => esc_html__('theme Color Light', 'business-consulting-lite'),
	 
	)));

	$wp_customize->add_setting('business_consulting_lite_post_bg', array(
	    'default' => '#ffffff',
	    'sanitize_callback' => 'sanitize_hex_color',
	    'transport' => 'refresh',
	));

	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'business_consulting_lite_post_bg', array(
	    'section' => 'colors',
	    'label' => esc_html__('sidebar/Blog Post Bg color', 'business-consulting-lite'),
	)));

	// typography
	$wp_customize->add_section( 'business_consulting_lite_typography_settings', array(
		'title'       => __( 'Typography settings', 'business-consulting-lite' ),
		'priority'       => 3,
	) );
	$business_consulting_lite_font_choices = array(
			'' => 'Select',
			'Source Sans Pro:400,700,400italic,700italic' => 'Source Sans Pro',
			'Open Sans:400italic,700italic,400,700' => 'Open Sans',
			'Oswald:400,700' => 'Oswald',
			'Playfair Display:400,700,400italic' => 'Playfair Display',
			'Montserrat:400,700' => 'Montserrat',
			'Raleway:400,700' => 'Raleway',
			'Droid Sans:400,700' => 'Droid Sans',
			'Lato:400,700,400italic,700italic' => 'Lato',
			'Arvo:400,700,400italic,700italic' => 'Arvo',
			'Lora:400,700,400italic,700italic' => 'Lora',
			'Merriweather:400,300italic,300,400italic,700,700italic' => 'Merriweather',
			'Oxygen:400,300,700' => 'Oxygen',
			'PT Serif:400,700' => 'PT Serif',
			'PT Sans:400,700,400italic,700italic' => 'PT Sans',
			'PT Sans Narrow:400,700' => 'PT Sans Narrow',
			'Cabin:400,700,400italic' => 'Cabin',
			'Fjalla One:400' => 'Fjalla One',
			'Francois One:400' => 'Francois One',
			'Josefin Sans:400,300,600,700' => 'Josefin Sans',
			'Libre Baskerville:400,400italic,700' => 'Libre Baskerville',
			'Arimo:400,700,400italic,700italic' => 'Arimo',
			'Ubuntu:400,700,400italic,700italic' => 'Ubuntu',
			'Bitter:400,700,400italic' => 'Bitter',
			'Droid Serif:400,700,400italic,700italic' => 'Droid Serif',
			'Roboto:400,400italic,700,700italic' => 'Roboto',
			'Open Sans Condensed:700,300italic,300' => 'Open Sans Condensed',
			'Roboto Condensed:400italic,700italic,400,700' => 'Roboto Condensed',
			'Roboto Slab:400,700' => 'Roboto Slab',
			'Yanone Kaffeesatz:400,700' => 'Yanone Kaffeesatz',
			'Rokkitt:400' => 'Rokkitt',
	);
	$wp_customize->add_setting( 'business_consulting_lite_section_typo_heading', array(
			'default'           => '',
			'transport'         => 'refresh',
			'sanitize_callback' => 'sanitize_text_field',
	) );
	$wp_customize->add_control( new Business_Consulting_Lite_Customizer_Customcontrol_Section_Heading( $wp_customize, 'business_consulting_section_typo_heading', array(
		'label'       => esc_html__( 'Typography Settings', 'business-consulting-lite' ),
		'section'     => 'business_consulting_lite_typography_settings',
		'settings'    => 'business_consulting_lite_section_typo_heading',
	) ) );
	$wp_customize->add_setting( 'business_consulting_lite_headings_text', array(
		'sanitize_callback' => 'business_consulting_lite_sanitize_fonts',
	));
	$wp_customize->add_control( 'business_consulting_lite_headings_text', array(
		'type' => 'select',
		'description' => __('Select your suitable font for the headings.', 'business-consulting-lite'),
		'section' => 'business_consulting_lite_typography_settings',
		'choices' => $business_consulting_lite_font_choices
	));
	$wp_customize->add_setting( 'business_consulting_lite_body_text', array(
		'sanitize_callback' => 'business_consulting_lite_sanitize_fonts'
	));
	$wp_customize->add_control( 'business_consulting_lite_body_text', array(
		'type' => 'select',
		'description' => __( 'Select your suitable font for the body.', 'business-consulting-lite' ),
		'section' => 'business_consulting_lite_typography_settings',
		'choices' => $business_consulting_lite_font_choices
	) );

    // Theme General Settings
    $wp_customize->add_section('business_consulting_lite_theme_settings',array(
        'title' => __('Theme General Settings', 'business-consulting-lite'),
        'priority' => 3
    ) );
    $wp_customize->add_setting( 'business_consulting_lite_sticky_heading', array(
		'default'           => '',
		'transport'         => 'refresh',
		'sanitize_callback' => 'sanitize_text_field',
	) );
	$wp_customize->add_control( new Business_Consulting_Lite_Customizer_Customcontrol_Section_Heading( $wp_customize, 'business_consulting_lite_sticky_heading', array(
		'label'       => esc_html__( 'Sticky Header Settings', 'business-consulting-lite' ),
		'section'     => 'business_consulting_lite_theme_settings',
		'settings'    => 'business_consulting_lite_sticky_heading',
	) ) );
    $wp_customize->add_setting(
		'business_consulting_lite_sticky_header',
		array(
			'type'                 => 'option',
			'capability'           => 'edit_theme_options',
			'theme_supports'       => '',
			'default'              => 'off',
			'transport'            => 'refresh',
			'sanitize_callback'    => 'business_consulting_lite_callback_sanitize_switch',
		)
	);
	$wp_customize->add_control(
		new Business_Consulting_Lite_Customizer_Customcontrol_Switch(
			$wp_customize,
			'business_consulting_lite_sticky_header',
			array(
				'settings'        => 'business_consulting_lite_sticky_header',
				'section'         => 'business_consulting_lite_theme_settings',
				'label'           => __( 'Show Sticky Header', 'business-consulting-lite' ),				
				'choices'		  => array(
					'1'      => __( 'On', 'business-consulting-lite' ),
					'off'    => __( 'Off', 'business-consulting-lite' ),
				),
				'active_callback' => '',
			)
		)
	);
	$wp_customize->add_setting( 'business_consulting_lite_loader_heading', array(
		'default'           => '',
		'transport'         => 'refresh',
		'sanitize_callback' => 'sanitize_text_field',
	) );
	$wp_customize->add_control( new Business_Consulting_Lite_Customizer_Customcontrol_Section_Heading( $wp_customize, 'business_consulting_lite_loader_heading', array(
		'label'       => esc_html__( 'Loader Settings', 'business-consulting-lite' ),
		'section'     => 'business_consulting_lite_theme_settings',
		'settings'    => 'business_consulting_lite_loader_heading',
	) ) );
	$wp_customize->add_setting(
		'business_consulting_lite_theme_loader',
		array(
			'type'                 => 'option',
			'capability'           => 'edit_theme_options',
			'theme_supports'       => '',
			'default'              => 'off',
			'transport'            => 'refresh',
			'sanitize_callback'    => 'business_consulting_lite_callback_sanitize_switch',
		)
	);
	$wp_customize->add_control(
		new Business_Consulting_Lite_Customizer_Customcontrol_Switch(
			$wp_customize,
			'business_consulting_lite_theme_loader',
			array(
				'settings'        => 'business_consulting_lite_theme_loader',
				'section'         => 'business_consulting_lite_theme_settings',
				'label'           => __( 'Show Site Loader', 'business-consulting-lite' ),				
				'choices'		  => array(
					'1'      => __( 'On', 'business-consulting-lite' ),
					'off'    => __( 'Off', 'business-consulting-lite' ),
				),
				'active_callback' => '',
			)
		)
	);
	$wp_customize->add_setting('business_consulting_lite_loader_style',array(
        'default' => 'style_one',
        'sanitize_callback' => 'business_consulting_lite_sanitize_choices'
	));
	$wp_customize->add_control('business_consulting_lite_loader_style',array(
        'type' => 'select',
        'label' => __('Select Loader Design','business-consulting-lite'),
        'section' => 'business_consulting_lite_theme_settings',
        'choices' => array(
            'style_one' => __('Circle','business-consulting-lite'),
            'style_two' => __('Bar','business-consulting-lite'),
        ),
	) );

	$wp_customize->add_setting( 'business_consulting_lite_section_theme_width_heading', array(
		'default'           => '',
		'transport'         => 'refresh',
		'sanitize_callback' => 'sanitize_text_field',
	) );
	$wp_customize->add_control( new Business_Consulting_Lite_Customizer_Customcontrol_Section_Heading( $wp_customize, 'business_consulting_lite_section_theme_width_heading', array(
		'label'       => esc_html__( 'Theme Width Setting', 'business-consulting-lite' ),
		'section'     => 'business_consulting_lite_theme_settings',
		'settings'    => 'business_consulting_lite_section_theme_width_heading',
	) ) );
	$wp_customize->add_setting('business_consulting_lite_width_options',array(
        'default' => 'full_width',
        'sanitize_callback' => 'business_consulting_lite_sanitize_choices'
	));
	$wp_customize->add_control('business_consulting_lite_width_options',array(
        'type' => 'select',
        'label' => __('Theme Width Option','business-consulting-lite'),
        'section' => 'business_consulting_lite_theme_settings',
        'choices' => array(
            'full_width' => __('fullwidth','business-consulting-lite'),
            'container' => __('container','business-consulting-lite'),
            'container_fluid' => __('container fluid','business-consulting-lite'),
        ),
	) );
	
	$wp_customize->add_setting('business_consulting_lite_menu_text_transform',array(
        'default' => 'CAPITALISE',
        'sanitize_callback' => 'business_consulting_lite_sanitize_choices'
	));
	$wp_customize->add_control('business_consulting_lite_menu_text_transform',array(
        'type' => 'select',
        'label' => __('Menus Text Transform','business-consulting-lite'),
        'section' => 'business_consulting_lite_theme_settings',
        'choices' => array(
            'CAPITALISE' => __('CAPITALISE','business-consulting-lite'),
            'UPPERCASE' => __('UPPERCASE','business-consulting-lite'),
            'LOWERCASE' => __('LOWERCASE','business-consulting-lite'),
        ),
	) );
	$wp_customize->add_setting('business_consulting_lite_menu_fontsize',array(
		'default'=> 14,
		'transport' => 'refresh',
		'sanitize_callback' => 'business_consulting_lite_sanitize_integer'
	));
	$wp_customize->add_control(new Business_Consulting_Lite_Slider_Custom_Control( $wp_customize, 'business_consulting_lite_menu_fontsize',array(
		'label' => esc_html__( 'menu font size','business-consulting-lite' ),
		'section'=> 'business_consulting_lite_theme_settings',
		'settings'=>'business_consulting_lite_menu_fontsize',
		'input_attrs' => array(
			'reset'			   => 14,
            'step'             => 1,
			'min'              => 0,
			'max'              => 20,
        ),
	)));
	$wp_customize->add_setting( 'business_consulting_lite_section_scroll_heading', array(
		'default'           => '',
		'transport'         => 'refresh',
		'sanitize_callback' => 'sanitize_text_field',
	) );
	$wp_customize->add_control( new Business_Consulting_Lite_Customizer_Customcontrol_Section_Heading( $wp_customize, 'business_consulting_lite_section_scroll_heading', array(
		'label'       => esc_html__( 'Scroll Top Settings', 'business-consulting-lite' ),
		'section'     => 'business_consulting_lite_theme_settings',
		'settings'    => 'business_consulting_section_scroll_heading',
	) ) );
	$wp_customize->add_setting(
		'business_consulting_lite_scroll_enable',
		array(
			'type'                 => 'option',
			'capability'           => 'edit_theme_options',
			'theme_supports'       => '',
			'default'              => '1',
			'transport'            => 'refresh',
			'sanitize_callback'    => 'business_consulting_lite_callback_sanitize_switch',
		)
	);
	$wp_customize->add_control(
		new Business_Consulting_Lite_Customizer_Customcontrol_Switch(
			$wp_customize,
			'business_consulting_lite_scroll_enable',
			array(
				'settings'        => 'business_consulting_lite_scroll_enable',
				'section'         => 'business_consulting_lite_theme_settings',
				'label'           => __( 'show Scroll Top', 'business-consulting-lite' ),				
				'choices'		  => array(
					'1'      => __( 'On', 'business-consulting-lite' ),
					'off'    => __( 'Off', 'business-consulting-lite' ),
				),
				'active_callback' => '',
			)
		)
	);
	$wp_customize->add_setting('business_consulting_lite_scroll_options',array(
        'default' => 'right_align',
        'sanitize_callback' => 'business_consulting_lite_sanitize_choices'
	));
	$wp_customize->add_control('business_consulting_lite_scroll_options',array(
		'type' => 'radio',
		'label'     => __('Scroll Top Alignment', 'business-consulting-lite'),
		'section' => 'business_consulting_lite_theme_settings',
		'type' => 'select',
		'choices' => array(
			'left_align' => __('LEFT','business-consulting-lite'),
			'center_align' => __('CENTER','business-consulting-lite'),
			'right_align' => __('RIGHT','business-consulting-lite'),
		)
	) );
	$wp_customize->add_setting('business_consulting_lite_scroll_top_icon',array(
		'default'	=> 'fas fa-chevron-up',
		'sanitize_callback'	=> 'sanitize_text_field'
	));	
	$wp_customize->add_control(new Business_Consulting_Lite_Fontawesome_Icon_Chooser(
        $wp_customize,'business_consulting_lite_scroll_top_icon',array(
		'label'	=> __('Add Scroll Top Icon','business-consulting-lite'),
		'transport' => 'refresh',
		'section'	=> 'business_consulting_lite_theme_settings',
		'setting'	=> 'business_consulting_lite_scroll_top_icon',
		'type'		=> 'icon'
	)));

	$wp_customize->add_setting( 'business_consulting_lite_section_cursor_heading', array(
		'default'           => '',
		'transport'         => 'refresh',
		'sanitize_callback' => 'sanitize_text_field',
	) );
	$wp_customize->add_control( new Business_Consulting_Lite_Customizer_Customcontrol_Section_Heading( $wp_customize, 'business_consulting_lite_section_cursor_heading', array(
		'label'       => esc_html__( 'Cursor Setting', 'business-consulting-lite' ),
		'section'     => 'business_consulting_lite_theme_settings',
		'settings'    => 'business_consulting_lite_section_cursor_heading',
	) ) );

	$wp_customize->add_setting(
		'business_consulting_lite_enable_custom_cursor',
		array(
			'type'                 => 'option',
			'capability'           => 'edit_theme_options',
			'theme_supports'       => '',
			'default'              => '1',
			'transport'            => 'refresh',
			'sanitize_callback'    => 'business_consulting_lite_callback_sanitize_switch',
		)
	);
	$wp_customize->add_control(
		new Business_Consulting_Lite_Customizer_Customcontrol_Switch(
			$wp_customize,
			'business_consulting_lite_enable_custom_cursor',
			array(
				'settings'        => 'business_consulting_lite_enable_custom_cursor',
				'section'         => 'business_consulting_lite_theme_settings',
				'label'           => __( 'show custom cursor', 'business-consulting-lite' ),				
				'choices'		  => array(
					'1'      => __( 'On', 'business-consulting-lite' ),
					'off'    => __( 'Off', 'business-consulting-lite' ),
				),
				'active_callback' => '',
			)
		)
	);

	$wp_customize->add_setting( 'business_consulting_lite_section_animation_heading', array(
		'default'           => '',
		'transport'         => 'refresh',
		'sanitize_callback' => 'sanitize_text_field',
	) );
	$wp_customize->add_control( new Business_Consulting_Lite_Customizer_Customcontrol_Section_Heading( $wp_customize, 'business_consulting_lite_section_animation_heading', array(
		'label'       => esc_html__( 'Animation Setting', 'business-consulting-lite' ),
		'section'     => 'business_consulting_lite_theme_settings',
		'settings'    => 'business_consulting_lite_section_animation_heading',
	) ) );

	$wp_customize->add_setting(
		'business_consulting_lite_animation_enable',
		array(
			'type'                 => 'option',
			'capability'           => 'edit_theme_options',
			'theme_supports'       => '',
			'default'              => '1',
			'transport'            => 'refresh',
			'sanitize_callback'    => 'business_consulting_lite_callback_sanitize_switch',
		)
	);
	$wp_customize->add_control(
		new Business_Consulting_Lite_Customizer_Customcontrol_Switch(
			$wp_customize,
			'business_consulting_lite_animation_enable',
			array(
				'settings'        => 'business_consulting_lite_animation_enable',
				'section'         => 'business_consulting_lite_theme_settings',
				'label'           => __( 'show/Hide Animation', 'business-consulting-lite' ),				
				'choices'		  => array(
					'1'      => __( 'On', 'business-consulting-lite' ),
					'off'    => __( 'Off', 'business-consulting-lite' ),
				),
				'active_callback' => '',
			)
		)
	);

	$wp_customize->add_setting( 'business_consulting_lite_section_description_first_letter', array(
		'default'           => '',
		'transport'         => 'refresh',
		'sanitize_callback' => 'sanitize_text_field',
	) );
	$wp_customize->add_control( new Business_Consulting_Lite_Customizer_Customcontrol_Section_Heading( $wp_customize, 'business_consulting_lite_section_description_first_letter', array(
		'label'       => esc_html__( 'First Letter Capital Settings', 'business-consulting-lite' ),
		'section'     => 'business_consulting_lite_theme_settings',
		'settings'    => 'business_consulting_lite_section_description_first_letter',
	) ) );
	$wp_customize->add_setting(
		'business_consulting_lite_first_letter_capital_enable',
		array(
			'type'                 => 'option',
			'capability'           => 'edit_theme_options',
			'theme_supports'       => '',
			'default'              => '1',
			'transport'            => 'refresh',
			'sanitize_callback'    => 'business_consulting_lite_callback_sanitize_switch',
		)
	);
	$wp_customize->add_control(
		new Business_Consulting_Lite_Customizer_Customcontrol_Switch(
			$wp_customize,
			'business_consulting_lite_first_letter_capital_enable',
			array(
				'settings'        => 'business_consulting_lite_first_letter_capital_enable',
				'section'         => 'business_consulting_lite_theme_settings',
				'label'           => __( 'Show/Hide First Letter Capital', 'business-consulting-lite' ),				
				'choices'		  => array(
					'1'      => __( 'On', 'business-consulting-lite' ),
					'off'    => __( 'Off', 'business-consulting-lite' ),
				),
				'active_callback' => '',
			)
		)
	);

	// Post Layouts
	$wp_customize->add_panel( 'business_consulting_lite_post_panel', array(
		'title' => esc_html__( 'Post Layout', 'business-consulting-lite' ),
		'priority' => 4,
	));
	$wp_customize->add_section('business_consulting_lite_blog_meta',array(
        'title' => __('Blog Meta', 'business-consulting-lite'), 
        'panel' => 'business_consulting_lite_post_panel',       
    ) );

    $wp_customize->add_setting( 'business_consulting_lite_section_blog_meta_heading', array(
		'default'           => '',
		'transport'         => 'refresh',
		'sanitize_callback' => 'sanitize_text_field',
	) );
	$wp_customize->add_control( new Business_Consulting_Lite_Customizer_Customcontrol_Section_Heading( $wp_customize, 'business_consulting_lite_section_blog_meta_heading', array(
		'label'       => esc_html__( 'Blog Meta Settings', 'business-consulting-lite' ),
		'section'     => 'business_consulting_lite_blog_meta',
		'settings'    => 'business_consulting_lite_section_blog_meta_heading',
	) ) );

	$wp_customize->add_setting('business_consulting_lite_date',
		array(
			'type'                 => 'option',
			'capability'           => 'edit_theme_options',
			'theme_supports'       => '',
			'default'              => '1',
			'transport'            => 'refresh',
			'sanitize_callback'    => 'business_consulting_lite_callback_sanitize_switch',
		)
	);
	$wp_customize->add_control(new Business_Consulting_Lite_Customizer_Customcontrol_Switch(
			$wp_customize,
			'business_consulting_lite_date',
			array(
				'settings'        => 'business_consulting_lite_date',
				'section'         => 'business_consulting_lite_blog_meta',
				'label'           => __( 'Show Date', 'business-consulting-lite' ),				
				'choices'		  => array(
					'1'      => __( 'On', 'business-consulting-lite' ),
					'off'    => __( 'Off', 'business-consulting-lite' ),
				),
				'active_callback' => '',
			)
		)
	);
	$wp_customize->selective_refresh->add_partial( 'business_consulting_lite_date', array(
		'selector' => '.date-box',
		'render_callback' => 'business_consulting_lite_customize_partial_business_consulting_lite_date',
	) );
	$wp_customize->add_setting('business_consulting_lite_date_icon',array(
		'default'	=> 'far fa-calendar-alt',
		'sanitize_callback'	=> 'sanitize_text_field'
	));	
	$wp_customize->add_control(new Business_Consulting_Lite_Fontawesome_Icon_Chooser(
        $wp_customize,'business_consulting_lite_date_icon',array(
		'label'	=> __('date Icon','business-consulting-lite'),
		'transport' => 'refresh',
		'section'	=> 'business_consulting_lite_blog_meta',
		'setting'	=> 'business_consulting_lite_date_icon',
		'type'		=> 'icon'
	)));

	$wp_customize->add_setting('business_consulting_lite_date_type',array(
        'default' => 'published',
        'sanitize_callback' => 'business_consulting_lite_sanitize_choices'
	));
	$wp_customize->add_control('business_consulting_lite_date_type',array(
		'type' => 'radio',
		'label'     => __('Date Format', 'business-consulting-lite'),
		'section' => 'business_consulting_lite_blog_meta',
		'type' => 'select',
		'choices' => array(
			'published' => __('published date','business-consulting-lite'),
            'modified' => __('modified date','business-consulting-lite'),
		),
	) );



	$wp_customize->add_setting('business_consulting_lite_sticky_icon',array(
		'default'	=> 'fas fa-thumb-tack',
		'sanitize_callback'	=> 'sanitize_text_field'
	));	
	$wp_customize->add_control(new Business_Consulting_Lite_Fontawesome_Icon_Chooser(
        $wp_customize,'business_consulting_lite_sticky_icon',array(
		'label'	=> __('Sticky Post Icon','business-consulting-lite'),
		'transport' => 'refresh',
		'section'	=> 'business_consulting_lite_blog_meta',
		'setting'	=> 'business_consulting_lite_sticky_icon',
		'type'		=> 'icon'
	)));
	$wp_customize->add_setting('business_consulting_lite_admin',
		array(
			'type'                 => 'option',
			'capability'           => 'edit_theme_options',
			'theme_supports'       => '',
			'default'              => '1',
			'transport'            => 'refresh',
			'sanitize_callback'    => 'business_consulting_lite_callback_sanitize_switch',
		)
	);
	$wp_customize->add_control(new Business_Consulting_Lite_Customizer_Customcontrol_Switch(
			$wp_customize,
			'business_consulting_lite_admin',
			array(
				'settings'        => 'business_consulting_lite_admin',
				'section'         => 'business_consulting_lite_blog_meta',
				'label'           => __( 'Show Author/Admin', 'business-consulting-lite' ),				
				'choices'		  => array(
					'1'      => __( 'On', 'business-consulting-lite' ),
					'off'    => __( 'Off', 'business-consulting-lite' ),
				),
				'active_callback' => '',
			)
		)
	);
	$wp_customize->selective_refresh->add_partial( 'business_consulting_lite_admin', array(
		'selector' => '.entry-author',
		'render_callback' => 'business_consulting_lite_customize_partial_business_consulting_lite_admin',
	) );
	$wp_customize->add_setting('business_consulting_lite_author_icon',array(
		'default'	=> 'fas fa-user',
		'sanitize_callback'	=> 'sanitize_text_field'
	));	
	$wp_customize->add_control(new Business_Consulting_Lite_Fontawesome_Icon_Chooser(
        $wp_customize,'business_consulting_lite_author_icon',array(
		'label'	=> __('Author Icon','business-consulting-lite'),
		'transport' => 'refresh',
		'section'	=> 'business_consulting_lite_blog_meta',
		'setting'	=> 'business_consulting_lite_author_icon',
		'type'		=> 'icon'
	)));
	$wp_customize->add_setting('business_consulting_lite_comment',
		array(
			'type'                 => 'option',
			'capability'           => 'edit_theme_options',
			'theme_supports'       => '',
			'default'              => '1',
			'transport'            => 'refresh',
			'sanitize_callback'    => 'business_consulting_lite_callback_sanitize_switch',
		)
	);
	$wp_customize->add_control(new Business_Consulting_Lite_Customizer_Customcontrol_Switch(
			$wp_customize,
			'business_consulting_lite_comment',
			array(
				'settings'        => 'business_consulting_lite_comment',
				'section'         => 'business_consulting_lite_blog_meta',
				'label'           => __( 'Show Comment', 'business-consulting-lite' ),				
				'choices'		  => array(
					'1'      => __( 'On', 'business-consulting-lite' ),
					'off'    => __( 'Off', 'business-consulting-lite' ),
				),
				'active_callback' => '',
			)
		)
	);
	$wp_customize->selective_refresh->add_partial( 'business_consulting_lite_comment', array(
		'selector' => '.entry-comments',
		'render_callback' => 'business_consulting_lite_customize_partial_business_consulting_lite_comment',
	) );
	$wp_customize->add_setting('business_consulting_lite_comment_icon',array(
		'default'	=> 'fas fa-comments',
		'sanitize_callback'	=> 'sanitize_text_field'
	));	
	$wp_customize->add_control(new Business_Consulting_Lite_Fontawesome_Icon_Chooser(
        $wp_customize,'business_consulting_lite_comment_icon',array(
		'label'	=> __('comment Icon','business-consulting-lite'),
		'transport' => 'refresh',
		'section'	=> 'business_consulting_lite_blog_meta',
		'setting'	=> 'business_consulting_lite_comment_icon',
		'type'		=> 'icon'
	)));
	$wp_customize->add_setting('business_consulting_lite_tag',
		array(
			'type'                 => 'option',
			'capability'           => 'edit_theme_options',
			'theme_supports'       => '',
			'default'              => '1',
			'transport'            => 'refresh',
			'sanitize_callback'    => 'business_consulting_lite_callback_sanitize_switch',
		)
	);
	$wp_customize->add_control(new Business_Consulting_Lite_Customizer_Customcontrol_Switch(
			$wp_customize,
			'business_consulting_lite_tag',
			array(
				'settings'        => 'business_consulting_lite_tag',
				'section'         => 'business_consulting_lite_blog_meta',
				'label'           => __( 'Show tag count', 'business-consulting-lite' ),				
				'choices'		  => array(
					'1'      => __( 'On', 'business-consulting-lite' ),
					'off'    => __( 'Off', 'business-consulting-lite' ),
				),
				'active_callback' => '',
			)
		)
	);
	$wp_customize->selective_refresh->add_partial( 'business_consulting_lite_tag', array(
		'selector' => '.tags',
		'render_callback' => 'business_consulting_lite_customize_partial_business_consulting_lite_tag',
	) );
	$wp_customize->add_setting('business_consulting_lite_tag_icon',array(
		'default'	=> 'fas fa-tags',
		'sanitize_callback'	=> 'sanitize_text_field'
	));	
	$wp_customize->add_control(new Business_Consulting_Lite_Fontawesome_Icon_Chooser(
        $wp_customize,'business_consulting_lite_tag_icon',array(
		'label'	=> __('tag Icon','business-consulting-lite'),
		'transport' => 'refresh',
		'section'	=> 'business_consulting_lite_blog_meta',
		'setting'	=> 'business_consulting_lite_tag_icon',
		'type'		=> 'icon'
	)));
    $wp_customize->add_section('business_consulting_lite_layout',array(
        'title' => __('Single-Post Layout', 'business-consulting-lite'),
        'panel' => 'business_consulting_lite_post_panel',
    ) );
	$wp_customize->add_setting( 'business_consulting_lite_section_post_heading', array(
		'default'           => '',
		'transport'         => 'refresh',
		'sanitize_callback' => 'sanitize_text_field',
	) );
	$wp_customize->add_control( new Business_Consulting_Lite_Customizer_Customcontrol_Section_Heading( $wp_customize, 'business_consulting_lite_section_post_heading', array(
		'label'       => esc_html__( 'single Post Structure', 'business-consulting-lite' ),
		'section'     => 'business_consulting_lite_layout',
		'settings'    => 'business_consulting_lite_section_post_heading',
	) ) );
	$wp_customize->add_setting( 'business_consulting_lite_single_post_option',
		array(
			'default' => 'single_right_sidebar',
			'transport' => 'refresh',
			'sanitize_callback' => 'sanitize_text_field'
		)
	);
	$wp_customize->add_control( new Business_Consulting_Lite_Radio_Image_Control( $wp_customize, 'business_consulting_lite_single_post_option',
			array(
				'type'=>'select',
				'label' => __( 'select Single Post Page Layout', 'business-consulting-lite' ),
				'section' => 'business_consulting_lite_layout',
				'choices' => array(

					'single_right_sidebar' => array(
						'image' => get_template_directory_uri().'/assets/images/2column.jpg',
						'name' => __( 'Right Sidebar', 'business-consulting-lite' )
					),
					'single_left_sidebar' => array(
						'image' => get_template_directory_uri().'/assets/images/left.png',
						'name' => __( 'Left Sidebar', 'business-consulting-lite' )
					),
					'single_full_width' => array(
						'image' => get_template_directory_uri().'/assets/images/1column.jpg',
						'name' => __( 'One Column', 'business-consulting-lite' )
					),
				)
			)
	) );
	$wp_customize->add_setting('business_consulting_lite_single_post_tag',
		array(
			'type'                 => 'option',
			'capability'           => 'edit_theme_options',
			'theme_supports'       => '',
			'default'              => '1',
			'transport'            => 'refresh',
			'sanitize_callback'    => 'business_consulting_lite_callback_sanitize_switch',
		)
	);
	$wp_customize->add_control(new Business_Consulting_Lite_Customizer_Customcontrol_Switch(
			$wp_customize,
			'business_consulting_lite_single_post_tag',
			array(
				'settings'        => 'business_consulting_lite_single_post_tag',
				'section'         => 'business_consulting_lite_layout',
				'label'           => __( 'Show Tags', 'business-consulting-lite' ),				
				'choices'		  => array(
					'1'      => __( 'On', 'business-consulting-lite' ),
					'off'    => __( 'Off', 'business-consulting-lite' ),
				),
				'active_callback' => '',
			)
		)
	);
	$wp_customize->selective_refresh->add_partial( 'business_consulting_lite_single_post_tag', array(
		'selector' => '.single-tags',
		'render_callback' => 'business_consulting_lite_customize_partial_business_consulting_lite_single_post_tag',
	) );
	$wp_customize->add_section('business_consulting_lite_archieve_post_layot',array(
        'title' => __('Archieve-Post Layout', 'business-consulting-lite'),
        'panel' => 'business_consulting_lite_post_panel',
    ) );
    $wp_customize->add_setting('business_consulting_lite_similar_post',
		array(
			'type'                 => 'option',
			'capability'           => 'edit_theme_options',
			'theme_supports'       => '',
			'default'              => '1',
			'transport'            => 'refresh',
			'sanitize_callback'    => 'business_consulting_lite_callback_sanitize_switch',
		)
	);
	$wp_customize->add_control(new Business_Consulting_Lite_Customizer_Customcontrol_Switch(
			$wp_customize,
			'business_consulting_lite_similar_post',
			array(
				'settings'        => 'business_consulting_lite_similar_post',
				'section'         => 'business_consulting_lite_layout',
				'label'           => __( 'Show Similar post', 'business-consulting-lite' ),				
				'choices'		  => array(
					'1'      => __( 'On', 'business-consulting-lite' ),
					'off'    => __( 'Off', 'business-consulting-lite' ),
				),
				'active_callback' => '',
			)
		)
	);
	$wp_customize->add_setting('business_consulting_lite_similar_text',array(
		'default' => 'Explore More',
		'sanitize_callback' => 'sanitize_text_field'
	)); 
	$wp_customize->add_control('business_consulting_lite_similar_text',array(
		'label' => esc_html__('Similar Post Heading','business-consulting-lite'),
		'section' => 'business_consulting_lite_layout',
		'setting' => 'business_consulting_lite_similar_text',
		'type'    => 'text'
	));
	$wp_customize->add_section('business_consulting_lite_archieve_post_layot',array(
        'title' => __('Archieve-Post Layout', 'business-consulting-lite'),
        'panel' => 'business_consulting_lite_post_panel',
    ) );
	$wp_customize->add_setting( 'business_consulting_lite_section_archive_post_heading', array(
		'default'           => '',
		'transport'         => 'refresh',
		'sanitize_callback' => 'sanitize_text_field',
	) );
	$wp_customize->add_control( new Business_Consulting_Lite_Customizer_Customcontrol_Section_Heading( $wp_customize, 'business_consulting_lite_section_archive_post_heading', array(
		'label'       => esc_html__( 'Archieve Post Structure', 'business-consulting-lite' ),
		'section'     => 'business_consulting_lite_archieve_post_layot',
		'settings'    => 'business_consulting_lite_section_archive_post_heading',
	) ) );	
    $wp_customize->add_setting( 'business_consulting_lite_post_option',
			array(
				'default' => 'right_sidebar',
				'transport' => 'refresh',
				'sanitize_callback' => 'sanitize_text_field'
			)
	);
	$wp_customize->add_control( new Business_Consulting_Lite_Radio_Image_Control( $wp_customize, 'business_consulting_lite_post_option',
		array(
			'type'=>'select',
			'label' => __( 'select Post Page Layout', 'business-consulting-lite' ),
			'section' => 'business_consulting_lite_archieve_post_layot',
			'choices' => array(
				'right_sidebar' => array(
					'image' => get_template_directory_uri().'/assets/images/2column.jpg',
					'name' => __( 'Right Sidebar', 'business-consulting-lite' )
				),
				'left_sidebar' => array(
					'image' => get_template_directory_uri().'/assets/images/left.png',
					'name' => __( 'Left Sidebar', 'business-consulting-lite' )
				),
				'one_column' => array(
					'image' => get_template_directory_uri().'/assets/images/1column.jpg',
					'name' => __( 'One Column', 'business-consulting-lite' )
				),
				'three_column' => array(
					'image' => get_template_directory_uri().'/assets/images/3column.jpg',
					'name' => __( 'Three Column', 'business-consulting-lite' )
				),
				'four_column' => array(
					'image' => get_template_directory_uri().'/assets/images/4column.jpg',
					'name' => __( 'Four Column', 'business-consulting-lite' )
				),
				'grid_sidebar' => array(
					'image' => get_template_directory_uri().'/assets/images/grid-sidebar.jpg',
					'name' => __( 'Grid-Sidebar Layout', 'business-consulting-lite' )
				),
				'grid_left_sidebar' => array(
					'image' => get_template_directory_uri().'/assets/images/grid-left.png',
					'name' => __( 'Grid-Sidebar Layout', 'business-consulting-lite' )
				),
				'grid_post' => array(
					'image' => get_template_directory_uri().'/assets/images/grid.jpg',
					'name' => __( 'Grid Layout', 'business-consulting-lite' )
				)
			)
		)
	) );
    $wp_customize->add_setting('business_consulting_lite_grid_column',array(
        'default' => '3_column',
        'sanitize_callback' => 'business_consulting_lite_sanitize_choices'
	));
	$wp_customize->add_control('business_consulting_lite_grid_column',array(
		'type' => 'radio',
		'label'     => __('Grid Post Per Row', 'business-consulting-lite'),
		'section' => 'business_consulting_lite_archieve_post_layot',
		'type' => 'select',
		'choices' => array(
			'1_column' => __('1','business-consulting-lite'),
            '2_column' => __('2','business-consulting-lite'),
            '3_column' => __('3','business-consulting-lite'),
            '4_column' => __('4','business-consulting-lite'),
		)
	) );
	$wp_customize->add_setting('archieve_post_order', array(
        'default' => array('title', 'image', 'meta','excerpt','btn'),
        'sanitize_callback' => 'business_consulting_lite_sanitize_sortable',
    ));
    $wp_customize->add_control(new Business_Consulting_Lite_Control_Sortable($wp_customize, 'archieve_post_order', array(
    	'label' => esc_html__('Post Order', 'business-consulting-lite'),
        'description' => __('Drag & Drop post items to re-arrange the order and also hide and show items as per the need by clicking on the eye icon.', 'business-consulting-lite') ,
        'section' => 'business_consulting_lite_archieve_post_layot',
        'choices' => array(
            'title' => __('title', 'business-consulting-lite') ,
            'image' => __('media', 'business-consulting-lite') ,
            'meta' => __('meta', 'business-consulting-lite') ,
            'excerpt' => __('excerpt', 'business-consulting-lite') ,
            'btn' => __('Read more', 'business-consulting-lite') ,
        ) ,
    )));
	$wp_customize->add_setting('business_consulting_lite_post_excerpt',array(
		'default'=> 30,
		'transport' => 'refresh',
		'sanitize_callback' => 'business_consulting_lite_sanitize_integer'
	));
	$wp_customize->add_control(new Business_Consulting_Lite_Slider_Custom_Control( $wp_customize, 'business_consulting_lite_post_excerpt',array(
		'label' => esc_html__( 'Excerpt Limit','business-consulting-lite' ),
		'section'=> 'business_consulting_lite_archieve_post_layot',
		'settings'=>'business_consulting_lite_post_excerpt',
		'input_attrs' => array(
			'reset'			   => 30,
            'step'             => 1,
			'min'              => 0,
			'max'              => 100,
        ),
	)));
	$wp_customize->add_setting('business_consulting_lite_read_more_text',array(
		'default' => 'Read More',
		'sanitize_callback' => 'sanitize_text_field'
	)); 
	$wp_customize->add_control('business_consulting_lite_read_more_text',array(
		'label' => esc_html__('Read More Text','business-consulting-lite'),
		'section' => 'business_consulting_lite_archieve_post_layot',
		'setting' => 'business_consulting_lite_read_more_text',
		'type'    => 'text'
	));

	$wp_customize->add_section('business_consulting_lite_blog_pagination',array(
        'title' => __('Pagination', 'business-consulting-lite'), 
        'panel' => 'business_consulting_lite_post_panel',       
    ) );

	$wp_customize->add_setting('business_consulting_lite_pagination_type',array(
        'default' => 'numbered',
        'sanitize_callback' => 'business_consulting_lite_sanitize_choices'
	));
	$wp_customize->add_control('business_consulting_lite_pagination_type',array(
		'type' => 'radio',
		'label'     => __('Blog Pagination', 'business-consulting-lite'),
		'section' => 'business_consulting_lite_blog_pagination',
		'type' => 'select',
		'choices' => array(
			'default' => __('Previous/Next','business-consulting-lite'),
            'numbered' => __('Numbered','business-consulting-lite'),
		),
	) );

	$wp_customize->add_setting('business_consulting_lite_single_post_pagination_type',array(
        'default' => 'default',
        'sanitize_callback' => 'business_consulting_lite_sanitize_choices'
	));
	$wp_customize->add_control('business_consulting_lite_single_post_pagination_type',array(
		'type' => 'radio',
		'label'     => __('Post Pagination', 'business-consulting-lite'),
		'section' => 'business_consulting_lite_blog_pagination',
		'type' => 'select',
		'choices' => array(
			'default' => __('Previous/Next','business-consulting-lite'),
            'post-name' => __('Post Title','business-consulting-lite'),
		),
	) );

	// header-image
	$wp_customize->add_setting( 'business_consulting_lite_section_header_image_heading', array(
		'default'           => '',
		'transport'         => 'refresh',
		'sanitize_callback' => 'sanitize_text_field',
	) );
	$wp_customize->add_control( new Business_Consulting_Lite_Customizer_Customcontrol_Section_Heading( $wp_customize, 'business_consulting_lite_section_header_image_heading', array(
		'label'       => esc_html__( 'Header Image Settings', 'business-consulting-lite' ),
		'section'     => 'header_image',
		'settings'    => 'business_consulting_lite_section_header_image_heading',
		'priority'    =>'1',
	) ) );

	$wp_customize->add_setting('business_consulting_lite_show_header_image',array(
        'default' => 'on',
        'sanitize_callback' => 'business_consulting_lite_sanitize_choices'
	));
	$wp_customize->add_control('business_consulting_lite_show_header_image',array(
        'type' => 'select',
        'label' => __('Select Option','business-consulting-lite'),
        'section' => 'header_image',
        'choices' => array(
            'on' => __('With Header Image','business-consulting-lite'),
            'off' => __('Without Header Image','business-consulting-lite'),
        ),
	) );

	// breadcrumb
	$wp_customize->add_section('business_consulting_lite_breadcrumb_settings',array(
        'title' => __('Breadcrumb Settings', 'business-consulting-lite'),
        'priority' => 4
    ) );
	$wp_customize->add_setting( 'business_consulting_lite_section_breadcrumb_heading', array(
		'default'           => '',
		'transport'         => 'refresh',
		'sanitize_callback' => 'sanitize_text_field',
	) );
	$wp_customize->add_control( new Business_Consulting_Lite_Customizer_Customcontrol_Section_Heading( $wp_customize, 'business_consulting_lite_section_breadcrumb_heading', array(
		'label'       => esc_html__( 'Theme Breadcrumb Setting', 'business-consulting-lite' ),
		'section'     => 'business_consulting_lite_breadcrumb_settings',
		'settings'    => 'business_consulting_lite_section_breadcrumb_heading',
	) ) );
	$wp_customize->add_setting(
		'business_consulting_lite_enable_breadcrumb',
		array(
			'type'                 => 'option',
			'capability'           => 'edit_theme_options',
			'theme_supports'       => '',
			'default'              => '1',
			'transport'            => 'refresh',
			'sanitize_callback'    => 'business_consulting_lite_callback_sanitize_switch',
		)
	);
	$wp_customize->add_control(
		new Business_Consulting_Lite_Customizer_Customcontrol_Switch(
			$wp_customize,
			'business_consulting_lite_enable_breadcrumb',
			array(
				'settings'        => 'business_consulting_lite_enable_breadcrumb',
				'section'         => 'business_consulting_lite_breadcrumb_settings',
				'label'           => __( 'Show Breadcrumb', 'business-consulting-lite' ),				
				'choices'		  => array(
					'1'      => __( 'On', 'business-consulting-lite' ),
					'off'    => __( 'Off', 'business-consulting-lite' ),
				),
				'active_callback' => '',
			)
		)
	);
	$wp_customize->add_setting('business_consulting_lite_breadcrumb_separator', array(
        'default' => ' / ',
        'sanitize_callback' => 'sanitize_text_field',
    ));
    $wp_customize->add_control('business_consulting_lite_breadcrumb_separator', array(
        'label' => __('Breadcrumb Separator', 'business-consulting-lite'),
        'section' => 'business_consulting_lite_breadcrumb_settings',
        'type' => 'text',
    ));
	$wp_customize->add_setting( 'business_consulting_lite_single_breadcrumb_heading', array(
		'default'           => '',
		'transport'         => 'refresh',
		'sanitize_callback' => 'sanitize_text_field',
	) );
	$wp_customize->add_control( new Business_Consulting_Lite_Customizer_Customcontrol_Section_Heading( $wp_customize, 'business_consulting_lite_single_breadcrumb_heading', array(
		'label'       => esc_html__( 'Single post & Page', 'business-consulting-lite' ),
		'section'     => 'business_consulting_lite_breadcrumb_settings',
		'settings'    => 'business_consulting_lite_single_breadcrumb_heading',
	) ) );
	$wp_customize->add_setting(
		'business_consulting_lite_single_enable_breadcrumb',
		array(
			'type'                 => 'option',
			'capability'           => 'edit_theme_options',
			'theme_supports'       => '',
			'default'              => '1',
			'transport'            => 'refresh',
			'sanitize_callback'    => 'business_consulting_lite_callback_sanitize_switch',
		)
	);
	$wp_customize->add_control(
		new Business_Consulting_Lite_Customizer_Customcontrol_Switch(
			$wp_customize,
			'business_consulting_lite_single_enable_breadcrumb',
			array(
				'settings'        => 'business_consulting_lite_single_enable_breadcrumb',
				'section'         => 'business_consulting_lite_breadcrumb_settings',
				'label'           => __( 'Show Breadcrumb', 'business-consulting-lite' ),				
				'choices'		  => array(
					'1'      => __( 'On', 'business-consulting-lite' ),
					'off'    => __( 'Off', 'business-consulting-lite' ),
				),
				'active_callback' => '',
			)
		)
	);
	if ( class_exists( 'WooCommerce' ) ) { 
		$wp_customize->add_setting( 'business_consulting_lite_woocommerce_breadcrumb_heading', array(
			'default'           => '',
			'transport'         => 'refresh',
			'sanitize_callback' => 'sanitize_text_field',
		) );
		$wp_customize->add_control( new Business_Consulting_Lite_Customizer_Customcontrol_Section_Heading( $wp_customize, 'business_consulting_lite_woocommerce_breadcrumb_heading', array(
			'label'       => esc_html__( 'Woocommerce Breadcrumb', 'business-consulting-lite' ),
			'section'     => 'business_consulting_lite_breadcrumb_settings',
			'settings'    => 'business_consulting_lite_woocommerce_breadcrumb_heading',
		) ) );
		$wp_customize->add_setting(
			'business_consulting_lite_woocommerce_enable_breadcrumb',
			array(
				'type'                 => 'option',
				'capability'           => 'edit_theme_options',
				'theme_supports'       => '',
				'default'              => '1',
				'transport'            => 'refresh',
				'sanitize_callback'    => 'business_consulting_lite_callback_sanitize_switch',
			)
		);
		$wp_customize->add_control(
			new Business_Consulting_Lite_Customizer_Customcontrol_Switch(
				$wp_customize,
				'business_consulting_lite_woocommerce_enable_breadcrumb',
				array(
					'settings'        => 'business_consulting_lite_woocommerce_enable_breadcrumb',
					'section'         => 'business_consulting_lite_breadcrumb_settings',
					'label'           => __( 'Show Breadcrumb', 'business-consulting-lite' ),				
					'choices'		  => array(
						'1'      => __( 'On', 'business-consulting-lite' ),
						'off'    => __( 'Off', 'business-consulting-lite' ),
					),
					'active_callback' => '',
				)
			)
		);
		$wp_customize->add_setting('woocommerce_breadcrumb_separator', array(
	        'default' => ' / ',
	        'sanitize_callback' => 'sanitize_text_field',
	    ));
	    $wp_customize->add_control('woocommerce_breadcrumb_separator', array(
	        'label' => __('Breadcrumb Separator', 'business-consulting-lite'),
	        'section' => 'business_consulting_lite_breadcrumb_settings',
	        'type' => 'text',
	    ));
	}

	// woocommerce
	if ( class_exists( 'WooCommerce' ) ) { 
	    $wp_customize->add_section('business_consulting_lite_woocoomerce_section',array(
	        'title' => __('Custom Woocommerce Settings', 'business-consulting-lite'),
	        'panel' => 'woocommerce',
	        'priority' => 4,
	    ) );
		$wp_customize->add_setting( 'business_consulting_lite_section_shoppage_heading', array(
			'default'           => '',
			'transport'         => 'refresh',
			'sanitize_callback' => 'sanitize_text_field',
		) );
		$wp_customize->add_control( new Business_Consulting_Lite_Customizer_Customcontrol_Section_Heading( $wp_customize, 'business_consulting_lite_section_shoppage_heading', array(
			'label'       => esc_html__( 'Sidebar Settings', 'business-consulting-lite' ),
			'section'     => 'business_consulting_lite_woocoomerce_section',
			'settings'    => 'business_consulting_lite_section_shoppage_heading',
		) ) );
		$wp_customize->add_setting( 'business_consulting_lite_shop_page_sidebar',
			array(
				'default' => 'right_sidebar',
				'transport' => 'refresh',
				'sanitize_callback' => 'sanitize_text_field'
			)
		);
		$wp_customize->add_control( new Business_Consulting_Lite_Radio_Image_Control( $wp_customize, 'business_consulting_lite_shop_page_sidebar',
			array(
				'type'=>'select',
				'label' => __( 'Show Shop Page Sidebar', 'business-consulting-lite' ),
				'section'     => 'business_consulting_lite_woocoomerce_section',
				'choices' => array(

					'right_sidebar' => array(
						'image' => get_template_directory_uri().'/assets/images/2column.jpg',
						'name' => __( 'Right Sidebar', 'business-consulting-lite' )
					),
					'left_sidebar' => array(
						'image' => get_template_directory_uri().'/assets/images/left.png',
						'name' => __( 'Left Sidebar', 'business-consulting-lite' )
					),
					'full_width' => array(
						'image' => get_template_directory_uri().'/assets/images/1column.jpg',
						'name' => __( 'Full Width', 'business-consulting-lite' )
					),
				)
			)
		) );
		$wp_customize->add_setting( 'business_consulting_lite_wocommerce_single_page_sidebar',
			array(
				'default' => 'right_sidebar',
				'transport' => 'refresh',
				'sanitize_callback' => 'sanitize_text_field'
			)
		);
		$wp_customize->add_control( new Business_Consulting_Lite_Radio_Image_Control( $wp_customize, 'business_consulting_lite_wocommerce_single_page_sidebar',
			array(
				'type'=>'select',
				'label'           => __( 'Show Single Product Page Sidebar', 'business-consulting-lite' ),
				'section'     => 'business_consulting_lite_woocoomerce_section',
				'choices' => array(

					'right_sidebar' => array(
						'image' => get_template_directory_uri().'/assets/images/2column.jpg',
						'name' => __( 'Right Sidebar', 'business-consulting-lite' )
					),
					'left_sidebar' => array(
						'image' => get_template_directory_uri().'/assets/images/left.png',
						'name' => __( 'Left Sidebar', 'business-consulting-lite' )
					),
					'full_width' => array(
						'image' => get_template_directory_uri().'/assets/images/1column.jpg',
						'name' => __( 'Full Width', 'business-consulting-lite' )
					),
				)
			)
		) );
		$wp_customize->add_setting( 'business_consulting_lite_section_archieve_product_heading', array(
			'default'           => '',
			'transport'         => 'refresh',
			'sanitize_callback' => 'sanitize_text_field',
		) );
		$wp_customize->add_control( new Business_Consulting_Lite_Customizer_Customcontrol_Section_Heading( $wp_customize, 'business_consulting_lite_section_archieve_product_heading', array(
			'label'       => esc_html__( 'Archieve Product Settings', 'business-consulting-lite' ),
			'section'     => 'business_consulting_lite_woocoomerce_section',
			'settings'    => 'business_consulting_lite_section_archieve_product_heading',
		) ) );

		$wp_customize->add_setting('business_consulting_lite_archieve_item_columns',array(
	        'default' => '3',
	        'sanitize_callback' => 'business_consulting_lite_sanitize_choices'
		));

		$wp_customize->add_control('business_consulting_lite_archieve_item_columns',array(
	        'type' => 'select',
	        'label' => __('Select No of Columns','business-consulting-lite'),
	        'section' => 'business_consulting_lite_woocoomerce_section',
	        'choices' => array(
	            '1' => __('One Column','business-consulting-lite'),
	            '2' => __('Two Column','business-consulting-lite'),
	            '3' => __('Three Column','business-consulting-lite'),
	            '4' => __('four Column','business-consulting-lite'),
	            '5' => __('Five Column','business-consulting-lite'),
	            '6' => __('Six Column','business-consulting-lite'),
	        ),
		) );

		$wp_customize->add_setting( 'business_consulting_lite_archieve_shop_perpage', array(
			'default'              => 6,
			'type'                 => 'theme_mod',
			'transport' 		   => 'refresh',
			'sanitize_callback'    => 'business_consulting_lite_sanitize_number_absint',
			'sanitize_js_callback' => 'absint',
		) );
		$wp_customize->add_control( 'business_consulting_lite_archieve_shop_perpage', array(
			'label'       => esc_html__( 'Display Products','business-consulting-lite' ),
			'section'     => 'business_consulting_lite_woocoomerce_section',
			'type'        => 'number',
			'input_attrs' => array(
				'step'             => 1,
				'min'              => 0,
				'max'              => 30,
			),
		) );
		$wp_customize->add_setting( 'business_consulting_lite_section_related_heading', array(
			'default'           => '',
			'transport'         => 'refresh',
			'sanitize_callback' => 'sanitize_text_field',
		) );
		$wp_customize->add_control( new Business_Consulting_Lite_Customizer_Customcontrol_Section_Heading( $wp_customize, 'business_consulting_lite_section_related_heading', array(
			'label'       => esc_html__( 'Related Product Settings', 'business-consulting-lite' ),
			'section'     => 'business_consulting_lite_woocoomerce_section',
			'settings'    => 'business_consulting_lite_section_related_heading',
		) ) );
		$wp_customize->add_setting('business_consulting_lite_related_item_columns',array(
	        'default' => '3',
	        'sanitize_callback' => 'business_consulting_lite_sanitize_choices'
		));
		$wp_customize->add_control('business_consulting_lite_related_item_columns',array(
	        'type' => 'select',
	        'label' => __('Select No of Columns','business-consulting-lite'),
	        'section' => 'business_consulting_lite_woocoomerce_section',
	        'choices' => array(
	            '1' => __('One Column','business-consulting-lite'),
	            '2' => __('Two Column','business-consulting-lite'),
	            '3' => __('Three Column','business-consulting-lite'),
	            '4' => __('four Column','business-consulting-lite'),
	            '5' => __('Five Column','business-consulting-lite'),
	            '6' => __('Six Column','business-consulting-lite'),
	        ),
		) );
		$wp_customize->add_setting( 'business_consulting_lite_related_shop_perpage', array(
			'default'              => 3,
			'type'                 => 'theme_mod',
			'transport' 		   => 'refresh',
			'sanitize_callback'    => 'business_consulting_lite_sanitize_number_absint',
			'sanitize_js_callback' => 'absint',
		) );
		$wp_customize->add_control( 'business_consulting_lite_related_shop_perpage', array(
			'label'       => esc_html__( 'Display Products','business-consulting-lite' ),
			'section'     => 'business_consulting_lite_woocoomerce_section',
			'type'        => 'number',
			'input_attrs' => array(
				'step'             => 1,
				'min'              => 0,
				'max'              => 10,
			),
		) );
		$wp_customize->add_setting(
			'business_consulting_lite_related_product',
			array(
				'type'                 => 'option',
				'capability'           => 'edit_theme_options',
				'theme_supports'       => '',
				'default'              => '1',
				'transport'            => 'refresh',
				'sanitize_callback'    => 'business_consulting_lite_callback_sanitize_switch',
			)
		);
		$wp_customize->add_control(new business_consulting_lite_Customizer_Customcontrol_Switch($wp_customize,'business_consulting_lite_related_product',
			array(
				'settings'        => 'business_consulting_lite_related_product',
				'section'         => 'business_consulting_lite_woocoomerce_section',
				'label'           => __( 'Show Related Products', 'business-consulting-lite' ),				
				'choices'		  => array(
					'1'      => __( 'On', 'business-consulting-lite' ),
					'off'    => __( 'Off', 'business-consulting-lite' ),
				),
				'active_callback' => '',
			)
		));
	}
	
	// mobile width
	$wp_customize->add_section('business_consulting_lite_mobile_options',array(
        'title' => __('Mobile Media settings', 'business-consulting-lite'),
        'priority' => 4,
    ) );
    $wp_customize->add_setting( 'business_consulting_lite_section_mobile_heading', array(
		'default'           => '',
		'transport'         => 'refresh',
		'sanitize_callback' => 'sanitize_text_field',
	) );
	$wp_customize->add_control( new business_consulting_lite_Customizer_Customcontrol_Section_Heading( $wp_customize, 'business_consulting_lite_section_mobile_heading', array(
		'label'       => esc_html__( 'Mobile Media settings', 'business-consulting-lite' ),
		'section'     => 'business_consulting_lite_mobile_options',
		'settings'    => 'business_consulting_lite_section_mobile_heading',
		'priority' => 1,
	) ) );
	$wp_customize->add_setting('business_consulting_lite_menu_icon',array(
		'default'	=> 'fas fa-bars',
		'sanitize_callback'	=> 'sanitize_text_field'
	));	
	$wp_customize->add_control(new business_consulting_lite_Fontawesome_Icon_Chooser(
        $wp_customize,'business_consulting_lite_menu_icon',array(
		'label'	=> __('Menu Icon','business-consulting-lite'),
		'transport' => 'refresh',
		'section'	=> 'business_consulting_lite_mobile_options',
		'setting'	=> 'business_consulting_lite_menu_icon',
		'type'		=> 'icon'
	))); 
	$wp_customize->add_setting(
		'business_consulting_lite_slider_button_mobile_show_hide',
		array(
			'type'                 => 'option',
			'capability'           => 'edit_theme_options',
			'theme_supports'       => '',
			'default'              => '1',
			'transport'            => 'refresh',
			'sanitize_callback'    => 'business_consulting_lite_callback_sanitize_switch',
		)
	);
	$wp_customize->add_control(
		new Business_Consulting_Lite_Customizer_Customcontrol_Switch(
			$wp_customize,
			'business_consulting_lite_slider_button_mobile_show_hide',
			array(
				'settings'        => 'business_consulting_lite_slider_button_mobile_show_hide',
				'section'         => 'business_consulting_lite_mobile_options',
				'label'           => __( 'Show Slider Button', 'business-consulting-lite' ),
				'description' => __('Control wont function if the button is off in the main slider settings.', 'business-consulting-lite') ,	
				'choices'		  => array(
					'1'      => __( 'On', 'business-consulting-lite' ),
					'off'    => __( 'Off', 'business-consulting-lite' ),
				),
				'active_callback' => '',
			)
		)
	);
	$wp_customize->add_setting(
		'business_consulting_lite_scroll_enable_mobile',
		array(
			'type'                 => 'option',
			'capability'           => 'edit_theme_options',
			'theme_supports'       => '',
			'default'              => '1',
			'transport'            => 'refresh',
			'sanitize_callback'    => 'business_consulting_lite_callback_sanitize_switch',
		)
	);
	$wp_customize->add_control(
		new Business_Consulting_Lite_Customizer_Customcontrol_Switch(
			$wp_customize,
			'business_consulting_lite_scroll_enable_mobile',
			array(
				'settings'        => 'business_consulting_lite_scroll_enable_mobile',
				'section'         => 'business_consulting_lite_mobile_options',
				'label'           => __( 'Show Scroll Top', 'business-consulting-lite' ),
				'description' => __('Control wont function if scroll-top is off in the main settings.', 'business-consulting-lite') ,				
				'choices'		  => array(
					'1'      => __( 'On', 'business-consulting-lite' ),
					'off'    => __( 'Off', 'business-consulting-lite' ),
				),
				'active_callback' => '',
			)
		)
	);
	$wp_customize->add_setting( 'business_consulting_lite_section_mobile_breadcrumb_heading', array(
		'default'           => '',
		'transport'         => 'refresh',
		'sanitize_callback' => 'sanitize_text_field',
	) );
	$wp_customize->add_control( new Business_Consulting_Lite_Customizer_Customcontrol_Section_Heading( $wp_customize, 'business_consulting_lite_section_mobile_breadcrumb_heading', array(
		'label'       => esc_html__( 'Mobile Breadcrumb settings', 'business-consulting-lite' ),
		'description' => __('Controls wont function if the breadcrumb is off in the main breadcrumb settings.', 'business-consulting-lite') ,
		'section'     => 'business_consulting_lite_mobile_options',
		'settings'    => 'business_consulting_lite_section_mobile_breadcrumb_heading',
	) ) );
	$wp_customize->add_setting(
		'business_consulting_lite_enable_breadcrumb_mobile',
		array(
			'type'                 => 'option',
			'capability'           => 'edit_theme_options',
			'theme_supports'       => '',
			'default'              => '1',
			'transport'            => 'refresh',
			'sanitize_callback'    => 'business_consulting_lite_callback_sanitize_switch',
		)
	);
	$wp_customize->add_control(
		new Business_Consulting_Lite_Customizer_Customcontrol_Switch(
			$wp_customize,
			'business_consulting_lite_enable_breadcrumb_mobile',
			array(
				'settings'        => 'business_consulting_lite_enable_breadcrumb_mobile',
				'section'         => 'business_consulting_lite_mobile_options',
				'label'           => __( 'Theme Breadcrumb', 'business-consulting-lite' ),				
				'choices'		  => array(
					'1'      => __( 'On', 'business-consulting-lite' ),
					'off'    => __( 'Off', 'business-consulting-lite' ),
				),
				'active_callback' => '',
			)
		)
	);
	$wp_customize->add_setting(
		'business_consulting_lite_single_enable_breadcrumb_mobile',
		array(
			'type'                 => 'option',
			'capability'           => 'edit_theme_options',
			'theme_supports'       => '',
			'default'              => '1',
			'transport'            => 'refresh',
			'sanitize_callback'    => 'business_consulting_lite_callback_sanitize_switch',
		)
	);
	$wp_customize->add_control(
		new Business_Consulting_Lite_Customizer_Customcontrol_Switch(
			$wp_customize,
			'business_consulting_lite_single_enable_breadcrumb_mobile',
			array(
				'settings'        => 'business_consulting_lite_single_enable_breadcrumb_mobile',
				'section'         => 'business_consulting_lite_mobile_options',
				'label'           => __( 'Single Post & Page', 'business-consulting-lite' ),				
				'choices'		  => array(
					'1'      => __( 'On', 'business-consulting-lite' ),
					'off'    => __( 'Off', 'business-consulting-lite' ),
				),
				'active_callback' => '',
			)
		)
	);
	if ( class_exists( 'WooCommerce' ) ) {
		$wp_customize->add_setting(
			'business_consulting_lite_woocommerce_enable_breadcrumb_mobile',
			array(
				'type'                 => 'option',
				'capability'           => 'edit_theme_options',
				'theme_supports'       => '',
				'default'              => '1',
				'transport'            => 'refresh',
				'sanitize_callback'    => 'business_consulting_lite_callback_sanitize_switch',
			)
		);
		$wp_customize->add_control(
			new Business_Consulting_Lite_Customizer_Customcontrol_Switch(
				$wp_customize,
				'business_consulting_lite_woocommerce_enable_breadcrumb_mobile',
				array(
					'settings'        => 'business_consulting_lite_woocommerce_enable_breadcrumb_mobile',
					'section'         => 'business_consulting_lite_mobile_options',
					'label'           => __( 'wooCommerce Breadcrumb', 'business-consulting-lite' ),				
					'choices'		  => array(
						'1'      => __( 'On', 'business-consulting-lite' ),
						'off'    => __( 'Off', 'business-consulting-lite' ),
					),
					'active_callback' => '',
				)
			)
		);
	}

	$wp_customize->get_setting( 'blogname' )->transport          = 'postMessage';
	$wp_customize->get_setting( 'blogdescription' )->transport   = 'postMessage';
	$wp_customize->get_setting( 'header_textcolor' )->transport  = 'postMessage';

	$wp_customize->selective_refresh->add_partial( 'blogname', array(
		'selector' => '.site-title a',
		'render_callback' => 'business_consulting_lite_customize_partial_blogname',
	) );
	$wp_customize->selective_refresh->add_partial( 'blogdescription', array(
		'selector' => '.site-description',
		'render_callback' => 'business_consulting_lite_customize_partial_blogdescription',
	) );

	//front page
	$num_sections = apply_filters( 'business_consulting_lite_front_page_sections', 4 );

	// Create a setting and control for each of the sections available in the theme.
	for ( $i = 1; $i < ( 1 + $num_sections ); $i++ ) {
		$wp_customize->add_setting( 'panel_' . $i, array(
			'default'           => false,
			'sanitize_callback' => 'business_consulting_lite_sanitize_dropdown_pages',
			'transport'         => 'postMessage',
		) );

		$wp_customize->add_control( 'panel_' . $i, array(
			/* translators: %d is the front page section number */
			'label'          => sprintf( __( 'Front Page Section %d Content', 'business-consulting-lite' ), $i ),
			'description'    => ( 1 !== $i ? '' : __( 'Select pages to feature in each area from the dropdowns. Add an image to a section by setting a featured image in the page editor. Empty sections will not be displayed.', 'business-consulting-lite' ) ),
			'section'        => 'theme_options',
			'type'           => 'dropdown-pages',
			'allow_addition' => true,
			'active_callback' => 'business_consulting_lite_is_static_front_page',
		) );

		$wp_customize->selective_refresh->add_partial( 'panel_' . $i, array(
			'selector'            => '#panel' . $i,
			'render_callback'     => 'business_consulting_lite_front_page_section',
			'container_inclusive' => true,
		) );
	}
}
add_action( 'customize_register', 'business_consulting_lite_customize_register' );

function business_consulting_lite_customize_partial_blogname() {
	bloginfo( 'name' );
}
function business_consulting_lite_customize_partial_blogdescription() {
	bloginfo( 'description' );
}
function business_consulting_lite_is_static_front_page() {
	return ( is_front_page() && ! is_home() );
}
function business_consulting_lite_is_view_with_layout_option() {
	return ( is_page() || ( is_archive() && ! is_active_sidebar( 'sidebar-1' ) ) );
}

/* Pro control */
if (class_exists('WP_Customize_Control') && !class_exists('Business_Consulting_Lite_Pro_Control')):
    class Business_Consulting_Lite_Pro_Control extends WP_Customize_Control{

    public function render_content(){?>
        <label style="overflow: hidden; zoom: 1;">
	        <div class="col-md upsell-btn">
                <a href="<?php echo esc_url( BUSINESS_CONSULTING_LITE_BUY_PRO ); ?>" target="blank" class="btn btn-success btn"><?php esc_html_e('UPGRADE CONSULTING PREMIUM','business-consulting-lite');?> </a>
	        </div>
            <div class="col-md">
                <img class="business_consulting_lite_img_responsive " src="<?php echo esc_url(get_template_directory_uri()); ?>/screenshot.png">
            </div>
	        <div class="col-md">
	            <h3 style="margin-top:10px; margin-left: 20px; font-size:12px; text-decoration:underline; color:#333;"><?php esc_html_e('CONSULTING PREMIUM - Features', 'business-consulting-lite'); ?></h3>
                <ul style="padding-top:10px">
                    <li class="upsell-business_consulting_lite"> <div class="dashicons dashicons-yes"></div> <?php esc_html_e('Responsive Design', 'business-consulting-lite');?> </li>
                    <li class="upsell-business_consulting_lite"> <div class="dashicons dashicons-yes"></div> <?php esc_html_e('Boxed or fullwidth layout', 'business-consulting-lite');?> </li>
                    <li class="upsell-business_consulting_lite"> <div class="dashicons dashicons-yes"></div> <?php esc_html_e('Shortcode Support', 'business-consulting-lite');?> </li>
                    <li class="upsell-business_consulting_lite"> <div class="dashicons dashicons-yes"></div> <?php esc_html_e('Demo Importer', 'business-consulting-lite');?> </li>
                    <li class="upsell-business_consulting_lite"> <div class="dashicons dashicons-yes"></div> <?php esc_html_e('Section Reordering', 'business-consulting-lite');?> </li>
                    <li class="upsell-business_consulting_lite"> <div class="dashicons dashicons-yes"></div> <?php esc_html_e('Contact Page Template', 'business-consulting-lite');?> </li>
                    <li class="upsell-business_consulting_lite"> <div class="dashicons dashicons-yes"></div> <?php esc_html_e('Multiple Blog Layouts', 'business-consulting-lite');?> </li>
                    <li class="upsell-business_consulting_lite"> <div class="dashicons dashicons-yes"></div> <?php esc_html_e('Unlimited Color Options', 'business-consulting-lite');?> </li>
                    <li class="upsell-business_consulting_lite"> <div class="dashicons dashicons-yes"></div> <?php esc_html_e('Designed with HTML5 and CSS3', 'business-consulting-lite');?> </li>
                    <li class="upsell-business_consulting_lite"> <div class="dashicons dashicons-yes"></div> <?php esc_html_e('Customizable Design & Code', 'business-consulting-lite');?> </li>
                    <li class="upsell-business_consulting_lite"> <div class="dashicons dashicons-yes"></div> <?php esc_html_e('Cross Browser Support', 'business-consulting-lite');?> </li>
                    <li class="upsell-business_consulting_lite"> <div class="dashicons dashicons-yes"></div> <?php esc_html_e('Detailed Documentation Included', 'business-consulting-lite');?> </li>
                    <li class="upsell-business_consulting_lite"> <div class="dashicons dashicons-yes"></div> <?php esc_html_e('Stylish Custom Widgets', 'business-consulting-lite');?> </li>
                    <li class="upsell-business_consulting_lite"> <div class="dashicons dashicons-yes"></div> <?php esc_html_e('Patterns Background', 'business-consulting-lite');?> </li>
                    <li class="upsell-business_consulting_lite"> <div class="dashicons dashicons-yes"></div> <?php esc_html_e('WPML Compatible (Translation Ready)', 'business-consulting-lite');?> </li>
                    <li class="upsell-business_consulting_lite"> <div class="dashicons dashicons-yes"></div> <?php esc_html_e('Woo-commerce Compatible', 'business-consulting-lite');?> </li>
                    <li class="upsell-business_consulting_lite"> <div class="dashicons dashicons-yes"></div> <?php esc_html_e('Full Support', 'business-consulting-lite');?> </li>
                    <li class="upsell-business_consulting_lite"> <div class="dashicons dashicons-yes"></div> <?php esc_html_e('10+ Sections', 'business-consulting-lite');?> </li>
                    <li class="upsell-business_consulting_lite"> <div class="dashicons dashicons-yes"></div> <?php esc_html_e('Live Customizer', 'business-consulting-lite');?> </li>
                   	<li class="upsell-business_consulting_lite"> <div class="dashicons dashicons-yes"></div> <?php esc_html_e('AMP Ready', 'business-consulting-lite');?> </li>
                   	<li class="upsell-business_consulting_lite"> <div class="dashicons dashicons-yes"></div> <?php esc_html_e('Clean Code', 'business-consulting-lite');?> </li>
                   	<li class="upsell-business_consulting_lite"> <div class="dashicons dashicons-yes"></div> <?php esc_html_e('SEO Friendly', 'business-consulting-lite');?> </li>
                   	<li class="upsell-business_consulting_lite"> <div class="dashicons dashicons-yes"></div> <?php esc_html_e('Supper Fast', 'business-consulting-lite');?> </li>
                </ul>
        	</div>
		    <div class="col-md upsell-btn upsell-btn-bottom">
	            <a href="<?php echo esc_url( BUSINESS_CONSULTING_LITE_BUNDLE_LINK ); ?>" target="blank" class="btn btn-success btn"><?php esc_html_e('WP Theme Bundle (125+ Themes)','business-consulting-lite');?> </a>
		    </div>
        </label>
    <?php } }
endif;
