<?php
/**
 * Luxury Travel Theme Customizer
 * @package Luxury Travel
 * @param WP_Customize_Manager $wp_customize Theme Customizer object.
 */

function luxury_travel_customize_register( $wp_customize ) {

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

	class Luxury_Travel_WP_Customize_Range_Control extends WP_Customize_Control{
	    public $type = 'custom_range';
	    public function enqueue(){
	        wp_enqueue_script(
	            'cs-range-control',
	            false,
	            true
	        );
	    }
	    public function render_content(){?>
	        <label>
	            <?php if ( ! empty( $this->label )) : ?>
	                <span class="customize-control-title"><?php echo esc_html($this->label); ?></span>
	            <?php endif; ?>
	            <div class="cs-range-value"><?php echo esc_html($this->value()); ?></div>
	            <input data-input-type="range" type="range" <?php $this->input_attrs(); ?> value="<?php echo esc_attr($this->value()); ?>" <?php $this->link(); ?> />
	            <?php if ( ! empty( $this->description )) : ?>
	                <span class="description customize-control-description"><?php echo esc_html($this->description); ?></span>
	            <?php endif; ?>
	        </label>
        <?php }
	}

	//add home page setting pannel
	$wp_customize->add_panel( 'luxury_travel_panel_id', array(
	    'priority' => 10,
	    'capability' => 'edit_theme_options',
	    'theme_supports' => '',
	    'title' => __( 'TG Settings', 'luxury-travel' ),
	    'description' => __( 'Description of what this panel does.', 'luxury-travel' ),
	) );

	// Add the Theme Color Option section.
	$wp_customize->add_section( 'luxury_travel_theme_color_option', array( 
		'panel' => 'luxury_travel_panel_id', 
		'title' => esc_html__( 'Global Color Settings', 'luxury-travel' ) 
	) );

  	$wp_customize->add_setting( 'luxury_travel_theme_color', array(
	    'default' => '#00739d',
	    'sanitize_callback' => 'sanitize_hex_color'
  	));
  	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luxury_travel_theme_color', array(
  		'label' => 'Color Option',
	    'description' => __('One can change complete theme global color settings on just one click.', 'luxury-travel'),
	    'section' => 'luxury_travel_theme_color_option',
	    'settings' => 'luxury_travel_theme_color',
  	)));

    $luxury_travel_font_array = array(
        '' =>'No Fonts',
        'Abril Fatface' => 'Abril Fatface',
        'Acme' =>'Acme', 
        'Anton' => 'Anton', 
        'Architects Daughter' =>'Architects Daughter',
        'Arimo' => 'Arimo', 
        'Arsenal' =>'Arsenal',
        'Arvo' =>'Arvo',
        'Alegreya' =>'Alegreya',
        'Alfa Slab One' =>'Alfa Slab One',
        'Averia Serif Libre' =>'Averia Serif Libre', 
        'Bangers' =>'Bangers', 
        'Boogaloo' =>'Boogaloo', 
        'Bad Script' =>'Bad Script',
        'Bitter' =>'Bitter', 
        'Bree Serif' =>'Bree Serif', 
        'BenchNine' =>'BenchNine',
        'Cabin' =>'Cabin',
        'Cardo' =>'Cardo', 
        'Courgette' =>'Courgette', 
        'Cherry Swash' =>'Cherry Swash',
        'Cormorant Garamond' =>'Cormorant Garamond', 
        'Crimson Text' =>'Crimson Text',
        'Cuprum' =>'Cuprum', 
        'Cookie' =>'Cookie',
        'Chewy' =>'Chewy',
        'Days One' =>'Days One',
        'Dosis' =>'Dosis',
        'Droid Sans' =>'Droid Sans', 
        'Economica' =>'Economica', 
        'Fredoka One' =>'Fredoka One',
        'Fjalla One' =>'Fjalla One',
        'Francois One' =>'Francois One', 
        'Frank Ruhl Libre' => 'Frank Ruhl Libre', 
        'Gloria Hallelujah' =>'Gloria Hallelujah',
        'Great Vibes' =>'Great Vibes', 
        'Handlee' =>'Handlee', 
        'Hammersmith One' =>'Hammersmith One',
        'Inconsolata' =>'Inconsolata',
        'Indie Flower' =>'Indie Flower', 
        'IM Fell English SC' =>'IM Fell English SC',
        'Julius Sans One' =>'Julius Sans One',
        'Josefin Slab' =>'Josefin Slab',
        'Josefin Sans' =>'Josefin Sans',
        'Kanit' =>'Kanit',
        'Lobster' =>'Lobster',
        'Lato' => 'Lato',
        'Lora' =>'Lora', 
        'Libre Baskerville' =>'Libre Baskerville',
        'Lobster Two' => 'Lobster Two',
        'Merriweather' =>'Merriweather',
        'Monda' =>'Monda',
        'Montserrat' =>'Montserrat',
        'Muli' =>'Muli',
        'Marck Script' =>'Marck Script',
        'Noto Serif' =>'Noto Serif',
        'Open Sans' =>'Open Sans',
        'Overpass' => 'Overpass', 
        'Overpass Mono' =>'Overpass Mono',
        'Oxygen' =>'Oxygen',
        'Orbitron' =>'Orbitron',
        'Patua One' =>'Patua One',
        'Pacifico' =>'Pacifico',
        'Padauk' =>'Padauk',
        'Playball' =>'Playball',
        'Playfair Display' =>'Playfair Display',
        'PT Sans' =>'PT Sans',
        'Philosopher' =>'Philosopher',
        'Permanent Marker' =>'Permanent Marker',
        'Poiret One' =>'Poiret One',
        'Quicksand' =>'Quicksand',
        'Quattrocento Sans' =>'Quattrocento Sans',
        'Raleway' =>'Raleway',
        'Rubik' =>'Rubik',
        'Rokkitt' =>'Rokkitt',
        'Russo One' => 'Russo One', 
        'Righteous' =>'Righteous', 
        'Slabo' =>'Slabo', 
        'Source Sans Pro' =>'Source Sans Pro',
        'Shadows Into Light Two' =>'Shadows Into Light Two',
        'Shadows Into Light' =>  'Shadows Into Light',
        'Sacramento' =>'Sacramento',
        'Shrikhand' =>'Shrikhand',
        'Tangerine' => 'Tangerine',
        'Ubuntu' =>'Ubuntu',
        'VT323' =>'VT323',
        'Varela Round' =>'Varela Round',
        'Vampiro One' =>'Vampiro One',
        'Vollkorn' => 'Vollkorn',
        'Volkhov' =>'Volkhov',
        'Yanone Kaffeesatz' =>'Yanone Kaffeesatz'
    );

	//Typography
	$wp_customize->add_section( 'luxury_travel_typography', array(
    	'title'      => __( 'Typography', 'luxury-travel' ),
		'priority'   => null,
		'panel' => 'luxury_travel_panel_id'
	) );
	
	// This is Paragraph Color picker setting
	$wp_customize->add_setting( 'luxury_travel_paragraph_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luxury_travel_paragraph_color', array(
		'label' => __('Paragraph Color', 'luxury-travel'),
		'section' => 'luxury_travel_typography',
		'settings' => 'luxury_travel_paragraph_color',
	)));

	//This is Paragraph FontFamily picker setting
	$wp_customize->add_setting('luxury_travel_paragraph_font_family',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'luxury_travel_sanitize_choices'
	));
	$wp_customize->add_control(
	    'luxury_travel_paragraph_font_family', array(
	    'section'  => 'luxury_travel_typography',
	    'label'    => __( 'Paragraph Fonts','luxury-travel'),
	    'type'     => 'select',
	    'choices'  => $luxury_travel_font_array,
	));

	$wp_customize->add_setting('luxury_travel_paragraph_font_size',array(
		'default'	=> '',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	
	$wp_customize->add_control('luxury_travel_paragraph_font_size',array(
		'label'	=> __('Paragraph Font Size','luxury-travel'),
		'section'	=> 'luxury_travel_typography',
		'setting'	=> 'luxury_travel_paragraph_font_size',
		'type'	=> 'text'
	));

	// This is "a" Tag Color picker setting
	$wp_customize->add_setting( 'luxury_travel_atag_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luxury_travel_atag_color', array(
		'label' => __('"a" Tag Color', 'luxury-travel'),
		'section' => 'luxury_travel_typography',
		'settings' => 'luxury_travel_atag_color',
	)));

	//This is "a" Tag FontFamily picker setting
	$wp_customize->add_setting('luxury_travel_atag_font_family',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'luxury_travel_sanitize_choices'
	));
	$wp_customize->add_control(
	    'luxury_travel_atag_font_family', array(
	    'section'  => 'luxury_travel_typography',
	    'label'    => __( '"a" Tag Fonts','luxury-travel'),
	    'type'     => 'select',
	    'choices'  => $luxury_travel_font_array,
	));

	// This is "a" Tag Color picker setting
	$wp_customize->add_setting( 'luxury_travel_li_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luxury_travel_li_color', array(
		'label' => __('"li" Tag Color', 'luxury-travel'),
		'section' => 'luxury_travel_typography',
		'settings' => 'luxury_travel_li_color',
	)));

	//This is "li" Tag FontFamily picker setting
	$wp_customize->add_setting('luxury_travel_li_font_family',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'luxury_travel_sanitize_choices'
	));
	$wp_customize->add_control(
	    'luxury_travel_li_font_family', array(
	    'section'  => 'luxury_travel_typography',
	    'label'    => __( '"li" Tag Fonts','luxury-travel'),
	    'type'     => 'select',
	    'choices'  => $luxury_travel_font_array,
	));

	// This is H1 Color picker setting
	$wp_customize->add_setting( 'luxury_travel_h1_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luxury_travel_h1_color', array(
		'label' => __('H1 Color', 'luxury-travel'),
		'section' => 'luxury_travel_typography',
		'settings' => 'luxury_travel_h1_color',
	)));

	//This is H1 FontFamily picker setting
	$wp_customize->add_setting('luxury_travel_h1_font_family',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'luxury_travel_sanitize_choices'
	));
	$wp_customize->add_control(
	    'luxury_travel_h1_font_family', array(
	    'section'  => 'luxury_travel_typography',
	    'label'    => __( 'H1 Fonts','luxury-travel'),
	    'type'     => 'select',
	    'choices'  => $luxury_travel_font_array,
	));

	//This is H1 FontSize setting
	$wp_customize->add_setting('luxury_travel_h1_font_size',array(
		'default'	=> '',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	
	$wp_customize->add_control('luxury_travel_h1_font_size',array(
		'label'	=> __('H1 Font Size','luxury-travel'),
		'section'	=> 'luxury_travel_typography',
		'setting'	=> 'luxury_travel_h1_font_size',
		'type'	=> 'text'
	));

	// This is H2 Color picker setting
	$wp_customize->add_setting( 'luxury_travel_h2_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luxury_travel_h2_color', array(
		'label' => __('H2 Color', 'luxury-travel'),
		'section' => 'luxury_travel_typography',
		'settings' => 'luxury_travel_h2_color',
	)));

	//This is H2 FontFamily picker setting
	$wp_customize->add_setting('luxury_travel_h2_font_family',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'luxury_travel_sanitize_choices'
	));
	$wp_customize->add_control(
	    'luxury_travel_h2_font_family', array(
	    'section'  => 'luxury_travel_typography',
	    'label'    => __( 'H2 Fonts','luxury-travel'),
	    'type'     => 'select',
	    'choices'  => $luxury_travel_font_array,
	));

	//This is H2 FontSize setting
	$wp_customize->add_setting('luxury_travel_h2_font_size',array(
		'default'	=> '',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	
	$wp_customize->add_control('luxury_travel_h2_font_size',array(
		'label'	=> __('H2 Font Size','luxury-travel'),
		'section'	=> 'luxury_travel_typography',
		'setting'	=> 'luxury_travel_h2_font_size',
		'type'	=> 'text'
	));

	// This is H3 Color picker setting
	$wp_customize->add_setting( 'luxury_travel_h3_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luxury_travel_h3_color', array(
		'label' => __('H3 Color', 'luxury-travel'),
		'section' => 'luxury_travel_typography',
		'settings' => 'luxury_travel_h3_color',
	)));

	//This is H3 FontFamily picker setting
	$wp_customize->add_setting('luxury_travel_h3_font_family',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'luxury_travel_sanitize_choices'
	));
	$wp_customize->add_control(
	    'luxury_travel_h3_font_family', array(
	    'section'  => 'luxury_travel_typography',
	    'label'    => __( 'H3 Fonts','luxury-travel'),
	    'type'     => 'select',
	    'choices'  => $luxury_travel_font_array,
	));

	//This is H3 FontSize setting
	$wp_customize->add_setting('luxury_travel_h3_font_size',array(
		'default'	=> '',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	
	$wp_customize->add_control('luxury_travel_h3_font_size',array(
		'label'	=> __('H3 Font Size','luxury-travel'),
		'section'	=> 'luxury_travel_typography',
		'setting'	=> 'luxury_travel_h3_font_size',
		'type'	=> 'text'
	));

	// This is H4 Color picker setting
	$wp_customize->add_setting( 'luxury_travel_h4_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luxury_travel_h4_color', array(
		'label' => __('H4 Color', 'luxury-travel'),
		'section' => 'luxury_travel_typography',
		'settings' => 'luxury_travel_h4_color',
	)));

	//This is H4 FontFamily picker setting
	$wp_customize->add_setting('luxury_travel_h4_font_family',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'luxury_travel_sanitize_choices'
	));
	$wp_customize->add_control(
	    'luxury_travel_h4_font_family', array(
	    'section'  => 'luxury_travel_typography',
	    'label'    => __( 'H4 Fonts','luxury-travel'),
	    'type'     => 'select',
	    'choices'  => $luxury_travel_font_array,
	));

	//This is H4 FontSize setting
	$wp_customize->add_setting('luxury_travel_h4_font_size',array(
		'default'	=> '',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	
	$wp_customize->add_control('luxury_travel_h4_font_size',array(
		'label'	=> __('H4 Font Size','luxury-travel'),
		'section'	=> 'luxury_travel_typography',
		'setting'	=> 'luxury_travel_h4_font_size',
		'type'	=> 'text'
	));

	// This is H5 Color picker setting
	$wp_customize->add_setting( 'luxury_travel_h5_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luxury_travel_h5_color', array(
		'label' => __('H5 Color', 'luxury-travel'),
		'section' => 'luxury_travel_typography',
		'settings' => 'luxury_travel_h5_color',
	)));

	//This is H5 FontFamily picker setting
	$wp_customize->add_setting('luxury_travel_h5_font_family',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'luxury_travel_sanitize_choices'
	));
	$wp_customize->add_control(
	    'luxury_travel_h5_font_family', array(
	    'section'  => 'luxury_travel_typography',
	    'label'    => __( 'H5 Fonts','luxury-travel'),
	    'type'     => 'select',
	    'choices'  => $luxury_travel_font_array,
	));

	//This is H5 FontSize setting
	$wp_customize->add_setting('luxury_travel_h5_font_size',array(
		'default'	=> '',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	
	$wp_customize->add_control('luxury_travel_h5_font_size',array(
		'label'	=> __('H5 Font Size','luxury-travel'),
		'section'	=> 'luxury_travel_typography',
		'setting'	=> 'luxury_travel_h5_font_size',
		'type'	=> 'text'
	));

	// This is H6 Color picker setting
	$wp_customize->add_setting( 'luxury_travel_h6_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luxury_travel_h6_color', array(
		'label' => __('H6 Color', 'luxury-travel'),
		'section' => 'luxury_travel_typography',
		'settings' => 'luxury_travel_h6_color',
	)));

	//This is H6 FontFamily picker setting
	$wp_customize->add_setting('luxury_travel_h6_font_family',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'luxury_travel_sanitize_choices'
	));
	$wp_customize->add_control(
	    'luxury_travel_h6_font_family', array(
	    'section'  => 'luxury_travel_typography',
	    'label'    => __( 'H6 Fonts','luxury-travel'),
	    'type'     => 'select',
	    'choices'  => $luxury_travel_font_array,
	));

	//This is H6 FontSize setting
	$wp_customize->add_setting('luxury_travel_h6_font_size',array(
		'default'	=> '',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	
	$wp_customize->add_control('luxury_travel_h6_font_size',array(
		'label'	=> __('H6 Font Size','luxury-travel'),
		'section'	=> 'luxury_travel_typography',
		'setting'	=> 'luxury_travel_h6_font_size',
		'type'	=> 'text'
	));

	//Topbar section
	$wp_customize->add_section('luxury_travel_topbar_icon',array(
		'title'	=> __('Topbar Section','luxury-travel'),
		'description'	=> __('Add Header Content here','luxury-travel'),
		'priority'	=> null,
		'panel' => 'luxury_travel_panel_id',
	));

	$wp_customize->add_setting('luxury_travel_sticky_header',array(
       'default' => '',
       'sanitize_callback'	=> 'luxury_travel_sanitize_checkbox'
    ));
    $wp_customize->add_control('luxury_travel_sticky_header',array(
       'type' => 'checkbox',
       'label' => __('Stick header on Desktop','luxury-travel'),
       'section' => 'luxury_travel_topbar_icon'
    ));

    $wp_customize->add_setting('luxury_travel_sticky_header_padding',array(
		'sanitize_callback'	=> 'esc_html'
	));
	$wp_customize->add_control('luxury_travel_sticky_header_padding',array(
		'label'	=> esc_html__('Sticky Header Padding','luxury-travel'),
		'section'=> 'luxury_travel_topbar_icon',
		'type' => 'hidden',
	));

    $wp_customize->add_setting('luxury_travel_top_sticky_header_padding',array(
		'default'=> '',
		'sanitize_callback'	=> 'luxury_travel_sanitize_float'
	));
	$wp_customize->add_control('luxury_travel_top_sticky_header_padding',array(
		'description'	=> __('Top','luxury-travel'),
		'input_attrs' => array(
            'step' => 1,
			'min' => 0,
			'max' => 50,
        ),
		'section'=> 'luxury_travel_topbar_icon',
		'type'=> 'number'
	));

	$wp_customize->add_setting('luxury_travel_bottom_sticky_header_padding',array(
		'default'=> '',
		'sanitize_callback'	=> 'luxury_travel_sanitize_float'
	));
	$wp_customize->add_control('luxury_travel_bottom_sticky_header_padding',array(
		'description'	=> __('Bottom','luxury-travel'),
		'input_attrs' => array(
            'step' => 1,
			'min' => 0,
			'max' => 50,
        ),
		'section'=> 'luxury_travel_topbar_icon',
		'type'=> 'number'
	));

	$wp_customize->add_setting('luxury_travel_search_placeholder',array(
       'default' => __('Search','luxury-travel'),
       'sanitize_callback'	=> 'sanitize_text_field'
    ));
    $wp_customize->add_control('luxury_travel_search_placeholder',array(
       'type' => 'text',
       'label' => __('Search Placeholder text','luxury-travel'),
       'section' => 'luxury_travel_topbar_icon'
    ));

	$wp_customize->add_setting('luxury_travel_call',array(
		'default'	=> '',
		'sanitize_callback'	=> 'esc_url_raw'
	));	
	$wp_customize->add_control('luxury_travel_call',array(
		'label'	=> __('Add Contact Url','luxury-travel'),
		'section'	=> 'luxury_travel_topbar_icon',
		'setting'	=> 'luxury_travel_call',
		'type'		=> 'url'
	));

	$wp_customize->add_setting('luxury_travel_call_icon',array(
		'default'	=> 'fa fa-phone',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new luxury_travel_Icon_Selector(
        $wp_customize,'luxury_travel_call_icon',array(
		'label'	=>__('Add Phone Icon','luxury-travel'),
		'transport' => 'refresh',
		'section'	=> 'luxury_travel_topbar_icon',
		'setting'	=> 'luxury_travel_call_icon',
		'type'		=> 'icon',
	)));

	$wp_customize->add_setting('luxury_travel_mail',array(
		'default'	=> '',
		'sanitize_callback'	=> 'esc_url_raw'
	));	
	$wp_customize->add_control('luxury_travel_mail',array(
		'label'	=> __('Add Email Url','luxury-travel'),
		'section'	=> 'luxury_travel_topbar_icon',
		'setting'	=> 'luxury_travel_mail',
		'type'		=> 'url'
	));

	$wp_customize->add_setting('luxury_travel_mail_icon',array(
		'default'	=> 'fa fa-envelope',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new luxury_travel_Icon_Selector(
        $wp_customize,'luxury_travel_mail_icon',array(
		'label'	=>__('Add Email Icon','luxury-travel'),
		'transport' => 'refresh',
		'section'	=> 'luxury_travel_topbar_icon',
		'setting'	=> 'luxury_travel_mail_icon',
		'type'		=> 'icon',
	)));

	$wp_customize->add_setting('luxury_travel_header_icon_color', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'luxury_travel_header_icon_color', array(
		'label'    => __('Icons Color', 'luxury-travel'),
		'section'  => 'luxury_travel_topbar_icon',
	)));

	$wp_customize->add_section('luxury_travel_header',array(
		'title'	=> __('Header','luxury-travel'),
		'priority'	=> null,
		'panel' => 'luxury_travel_panel_id',
	));

	$wp_customize->add_setting('luxury_travel_menu_case',array(
        'default' => 'uppercase',
        'sanitize_callback' => 'luxury_travel_sanitize_choices'
	));
	$wp_customize->add_control('luxury_travel_menu_case',array(
        'type' => 'select',
        'label' => __('Menu Case','luxury-travel'),
        'section' => 'luxury_travel_header',
        'choices' => array(
            'uppercase' => __('Uppercase','luxury-travel'),
            'capitalize' => __('Capitalize','luxury-travel'),
        ),
	) );

	$wp_customize->add_setting( 'luxury_travel_menu_font_size', array(
		'default'=> '14',
		'sanitize_callback'	=> 'sanitize_text_field'
	) );
	$wp_customize->add_control( new Luxury_Travel_WP_Customize_Range_Control( $wp_customize, 'luxury_travel_menu_font_size', array(
        'label'  => __('Menu Font Size','luxury-travel'),
        'section'  => 'luxury_travel_header',
        'description' => __('Measurement is in pixel.','luxury-travel'),
        'input_attrs' => array(
            'min' => 0,
            'max' => 50,
        )
    )));

    $wp_customize->add_setting('luxury_travel_menu_font_weight',array(
        'default' => '',
        'sanitize_callback' => 'luxury_travel_sanitize_choices'
	));
	$wp_customize->add_control('luxury_travel_menu_font_weight',array(
        'type' => 'select',
        'label' => __('Menu Font Weight','luxury-travel'),
        'section' => 'luxury_travel_header',
        'choices' => array(
            '100' => __('100','luxury-travel'),
            '200' => __('200','luxury-travel'),
            '300' => __('300','luxury-travel'),
            '400' => __('400','luxury-travel'),
            '500' => __('500','luxury-travel'),
            '600' => __('600','luxury-travel'),
            '700' => __('700','luxury-travel'),
            '800' => __('800','luxury-travel'),
            '900' => __('900','luxury-travel'),
        ),
	) );

	$wp_customize->add_setting('luxury_travel_menu_padding',array(
		'default'=> 20,
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new luxury_travel_WP_Customize_Range_Control( $wp_customize,'luxury_travel_menu_padding',array(
		'label'	=> __('Menu Font Padding','luxury-travel'),
		'section'=> 'luxury_travel_header',
		'input_attrs' => array(
         'step'  => 1,
			'min'   => 0,
			'max'   => 50,
        ),
	)));

	$wp_customize->add_setting('luxury_travel_menus_item_style',array(
        'default' => '',
        'transport' => 'refresh',
        'sanitize_callback' => 'luxury_travel_sanitize_choices'
	));
	$wp_customize->add_control('luxury_travel_menus_item_style',array(
        'type' => 'select',
		'label' => __('Menu Item Hover Style','luxury-travel'),
		'section' => 'luxury_travel_header',
		'choices' => array(
            'None' => __('None','luxury-travel'),
            'Zoom In' => __('Zoom In','luxury-travel'),
			'Underline Expand' => __('Underline Expand', 'luxury-travel'), 
        ),
	) );		

	$wp_customize->add_setting('luxury_travel_menu_color', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'luxury_travel_menu_color', array(
		'label'    => __('Menu Color', 'luxury-travel'),
		'section'  => 'luxury_travel_header',
		'settings' => 'luxury_travel_menu_color',
	)));

	$wp_customize->add_setting('luxury_travel_menu_hover_color', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'luxury_travel_menu_hover_color', array(
		'label'    => __('Menu Hover Color', 'luxury-travel'),
		'section'  => 'luxury_travel_header',
		'settings' => 'luxury_travel_menu_hover_color',
	)));

	$wp_customize->add_setting('luxury_travel_submenu_menu_color', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'luxury_travel_submenu_menu_color', array(
		'label'    => __('Submenu Color', 'luxury-travel'),
		'section'  => 'luxury_travel_header',
		'settings' => 'luxury_travel_submenu_menu_color',
	)));

	$wp_customize->add_setting('luxury_travel_submenu_hover_color', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'luxury_travel_submenu_hover_color', array(
		'label'    => __('Submenu Hover Color', 'luxury-travel'),
		'section'  => 'luxury_travel_header',
		'settings' => 'luxury_travel_submenu_hover_color',
	)));

	$wp_customize->add_setting( 'luxury_travel_menu_settings_premium_features',array(
        'sanitize_callback' => 'sanitize_text_field'
    ));
    $wp_customize->add_control('luxury_travel_menu_settings_premium_features', array(
        'type'=> 'hidden',
        'description' => "<h3>". esc_html('Premium Theme Features!','luxury-travel') ."</h3>
            <ul>
                <li>". esc_html('Menu DropDown Background Colors','luxury-travel') ."</li>
                <li>". esc_html('Menu Item Fonts','luxury-travel') ."</li>
                <li>". esc_html('Active Menu Colors','luxury-travel') ."</li>
                <li>". esc_html('Header Search Icons Colors','luxury-travel') ."</li>
                <li>". esc_html('... and Other Premium Features','luxury-travel') ."</li>
            </ul>
            <a target='_blank' href='". esc_url('https://www.themesglance.com/products/premium-travel-agency-wordpress-theme') ." '>". esc_html('Upgrade Now','luxury-travel') ."</a>",
        'section' => 'luxury_travel_header'
        )
    );

	//Social Icons(topbar)
	$wp_customize->add_section('luxury_travel_topbar_header',array(
		'title'	=> __('Social Icon Section','luxury-travel'),
		'description'	=> __('Add Header Content here','luxury-travel'),
		'priority'	=> null,
		'panel' => 'luxury_travel_panel_id',
	));	

	$wp_customize->add_setting('luxury_travel_show_icons',array(
		'default' => true,
		'sanitize_callback'	=> 'luxury_travel_sanitize_checkbox'
	));
	$wp_customize->add_control('luxury_travel_show_icons',array(
		'type' => 'checkbox',
		'label' => __('Show/Hide Social Icon','luxury-travel'),
		'section' => 'luxury_travel_topbar_header'
	));

	$wp_customize->add_setting('luxury_travel_facebook_url',array(
		'default'	=> '',
		'sanitize_callback'	=> 'esc_url_raw'
	));
	$wp_customize->add_control('luxury_travel_facebook_url',array(
		'label'	=> __('Add Facebook link','luxury-travel'),
		'section'	=> 'luxury_travel_topbar_header',
		'setting'	=> 'luxury_travel_facebook_url',
		'type'	=> 'url'
	));

	$wp_customize->add_setting('luxury_travel_facebook_icon',array(
		'default'	=> 'fab fa-facebook-f',
		'sanitize_callback'	=> 'sanitize_text_field'
	));	
	$wp_customize->add_control(new luxury_travel_Icon_Selector(
        $wp_customize,'luxury_travel_facebook_icon',array(
		'label'	=> __('Facebook Icon','luxury-travel'),
		'section' => 'luxury_travel_topbar_header',
		'type'	  => 'icon',
	)));

	$wp_customize->add_setting('luxury_travel_twitter_url',array(
		'default'	=> '',
		'sanitize_callback'	=> 'esc_url_raw'
	));
	$wp_customize->add_control('luxury_travel_twitter_url',array(
		'label'	=> __('Add Twitter link','luxury-travel'),
		'section'	=> 'luxury_travel_topbar_header',
		'setting'	=> 'luxury_travel_twitter_url',
		'type'	=> 'url'
	));

	$wp_customize->add_setting('luxury_travel_twitter_icon',array(
		'default'	=> 'fab fa-twitter',
		'sanitize_callback'	=> 'sanitize_text_field'
	));	
	$wp_customize->add_control(new luxury_travel_Icon_Selector(
        $wp_customize,'luxury_travel_twitter_icon',array(
		'label'	=> __('Twitter Icon','luxury-travel'),
		'section' => 'luxury_travel_topbar_header',
		'type'	  => 'icon',
	)));

	$wp_customize->add_setting('luxury_travel_insta_url',array(
		'default'	=> '',
		'sanitize_callback'	=> 'esc_url_raw'
	));
	$wp_customize->add_control('luxury_travel_insta_url',array(
		'label'	=> __('Add Instagram link','luxury-travel'),
		'section'	=> 'luxury_travel_topbar_header',
		'setting'	=> 'luxury_travel_insta_url',
		'type'	=> 'url'
	));

	$wp_customize->add_setting('luxury_travel_insta_icon',array(
		'default'	=> 'fab fa-instagram',
		'sanitize_callback'	=> 'sanitize_text_field'
	));	
	$wp_customize->add_control(new luxury_travel_Icon_Selector(
        $wp_customize,'luxury_travel_insta_icon',array(
		'label'	=> __('Instagram Icon','luxury-travel'),
		'section' => 'luxury_travel_topbar_header',
		'type'	  => 'icon',
	)));

	$wp_customize->add_setting('luxury_travel_youtube_url',array(
		'default'	=> '',
		'sanitize_callback'	=> 'esc_url_raw'
	));
	$wp_customize->add_control('luxury_travel_youtube_url',array(
		'label'	=> __('Add Youtube link','luxury-travel'),
		'section'	=> 'luxury_travel_topbar_header',
		'setting'	=> 'luxury_travel_youtube_url',
		'type'		=> 'url'
	));

	$wp_customize->add_setting('luxury_travel_youtube_icon',array(
		'default'	=> 'fab fa-youtube',
		'sanitize_callback'	=> 'sanitize_text_field'
	));	
	$wp_customize->add_control(new luxury_travel_Icon_Selector(
        $wp_customize,'luxury_travel_youtube_icon',array(
		'label'	=> __('Youtube Icon','luxury-travel'),
		'section' => 'luxury_travel_topbar_header',
		'type'	  => 'icon',
	)));

	$wp_customize->add_setting('luxury_travel_pintrest_url',array(
		'default'	=> '',
		'sanitize_callback'	=> 'esc_url_raw'
	));
	$wp_customize->add_control('luxury_travel_pintrest_url',array(
		'label'	=> __('Add Pintrest link','luxury-travel'),
		'section'	=> 'luxury_travel_topbar_header',
		'setting'	=> 'luxury_travel_pintrest_url',
		'type'	=> 'url'
	));

	$wp_customize->add_setting('luxury_travel_pintrest_icon',array(
		'default'	=> 'fab fa-pinterest-p',
		'sanitize_callback'	=> 'sanitize_text_field'
	));	
	$wp_customize->add_control(new luxury_travel_Icon_Selector(
        $wp_customize,'luxury_travel_pintrest_icon',array(
		'label'	=> __('Pintrest Icon','luxury-travel'),
		'section' => 'luxury_travel_topbar_header',
		'type'	  => 'icon',
	)));

	$wp_customize->add_setting( 'luxury_travel_social_icons_font_size', array(
		'default'=> '15',
		'sanitize_callback'	=> 'sanitize_text_field'
	) );
	$wp_customize->add_control( new Luxury_Travel_WP_Customize_Range_Control( $wp_customize, 'luxury_travel_social_icons_font_size', array(
        'label'  => __('Social Icons Font Size','luxury-travel'),
        'section'  => 'luxury_travel_topbar_header',
        'description' => __('Measurement is in pixel.','luxury-travel'),
        'input_attrs' => array(
            'min' => 0,
            'max' => 50,
        )
    )));

	//home page slider
	$wp_customize->add_section( 'luxury_travel_slidersettings' , array(
    	'title'  => __( 'Slider Settings', 'luxury-travel' ),
		'priority'   => null,
		'panel' => 'luxury_travel_panel_id'
	) );

	$wp_customize->add_setting('luxury_travel_slider_hide',array(
       'default' => true,
       'sanitize_callback'	=> 'luxury_travel_sanitize_checkbox'
    ));
    $wp_customize->add_control('luxury_travel_slider_hide',array(
       'type' => 'checkbox',
       'label' => __('Show / Hide slider','luxury-travel'),
       'section' => 'luxury_travel_slidersettings'
    ));

	$wp_customize->add_setting('luxury_travel_slider_title',array(
        'default' => true,
        'sanitize_callback'	=> 'luxury_travel_sanitize_checkbox'
	));
	$wp_customize->add_control('luxury_travel_slider_title',array(
     	'type' => 'checkbox',
      	'label' => __('Show / Hide Slider Title','luxury-travel'),
      	'section' => 'luxury_travel_slidersettings'
	));

	$wp_customize->add_setting('luxury_travel_slider_button',array(
        'default' => true,
        'sanitize_callback'	=> 'luxury_travel_sanitize_checkbox'
	));
	$wp_customize->add_control('luxury_travel_slider_button',array(
     	'type' => 'checkbox',
      	'label' => __('Show / Hide Slider Button','luxury-travel'),
      	'section' => 'luxury_travel_slidersettings'
	));

	for ( $count = 1; $count <= 4; $count++ ) {
		$wp_customize->add_setting( 'luxury_travel_slidersettings_page' . $count, array(
			'default'           => '',
			'sanitize_callback' => 'luxury_travel_sanitize_dropdown_pages'
		) );
		$wp_customize->add_control( 'luxury_travel_slidersettings_page' . $count, array(
			'label'    => __( 'Select Slide Image Page', 'luxury-travel' ),
			'section'  => 'luxury_travel_slidersettings',
			'type'     => 'dropdown-pages'
		) );
	}

	$wp_customize->add_setting( 'luxury_travel_slider_speed', array(
		'default'              => 3000,
		'sanitize_callback'	=> 'luxury_travel_sanitize_float'
	) );
	$wp_customize->add_control( 'luxury_travel_slider_speed', array(
		'label'       => esc_html__( 'Slider Speed','luxury-travel' ),
		'section'     => 'luxury_travel_slidersettings',
		'type'        => 'number',
		'settings'    => 'luxury_travel_slider_speed',
		'input_attrs' => array(
			'step'             => 500,
			'min'              => 500,
			'max'              => 5000,
		),
	) );

	$wp_customize->add_setting( 'luxury_travel_slider_arrow_hide_show',array(
	    'default' => true,   
	    'sanitize_callback' => 'luxury_travel_sanitize_checkbox'
	));
	$wp_customize->add_control( 'luxury_travel_slider_arrow_hide_show',array(
		'label' => esc_html__( 'Show / Hide Slider Arrows','luxury-travel' ),
		'section' => 'luxury_travel_slidersettings',
		'type' => 'checkbox',
	));

	$wp_customize->add_setting('luxury_travel_slider_prev_icon',array(
		'default'	=> 'fas fa-caret-left',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new luxury_travel_Icon_Selector(
        $wp_customize,'luxury_travel_slider_prev_icon',array(
		'label'	=>__('Add Slider Prev Icon','luxury-travel'),
		'transport' => 'refresh',
		'section'	=> 'luxury_travel_slidersettings',
		'setting'	=> 'luxury_travel_slider_prev_icon',
		'type'		=> 'icon',
	)));

	$wp_customize->add_setting('luxury_travel_slider_next_icon',array(
		'default'	=> 'fas fa-caret-right',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new luxury_travel_Icon_Selector(
        $wp_customize,'luxury_travel_slider_next_icon',array(
		'label'	=> __('Add Slider Next Icon','luxury-travel'),
		'transport' => 'refresh',
		'section'	=> 'luxury_travel_slidersettings',
		'setting'	=> 'luxury_travel_slider_next_icon',
		'type'		=> 'icon',
	)));

	 $wp_customize->add_setting('luxury_travel_slider_arrows_hover_color', array(
		'default'           => '#00739d',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'luxury_travel_slider_arrows_hover_color', array(
		'label'    => __('Slider Arrows hover Color', 'luxury-travel'),
		'section'  => 'luxury_travel_slidersettings',
		'settings' => 'luxury_travel_slider_arrows_hover_color',
	)));

	$wp_customize->add_setting('luxury_travel_content_position',array(
		'sanitize_callback'	=> 'esc_html'
	));
	$wp_customize->add_control('luxury_travel_content_position',array(
		'label'	=> esc_html__('Slider Content Position','luxury-travel'),
		'section'=> 'luxury_travel_slidersettings',
	));

	$wp_customize->add_setting( 'luxury_travel_slider_top_position', array(
		'default'  => '',
		'sanitize_callback'	=> 'luxury_travel_sanitize_float'
	) );
	$wp_customize->add_control( 'luxury_travel_slider_top_position', array(
		'label' => esc_html__( 'Top','luxury-travel' ),
		'section' => 'luxury_travel_slidersettings',
		'type'  => 'number',
		'input_attrs' => array(
			'step' => 1,
			'min' => 0,
			'max' => 100,
		),
	) );

	$wp_customize->add_setting( 'luxury_travel_slider_bottom_position', array(
		'default'  => '',
		'sanitize_callback'	=> 'luxury_travel_sanitize_float'
	) );
	$wp_customize->add_control( 'luxury_travel_slider_bottom_position', array(
		'label' => esc_html__( 'Bottom','luxury-travel' ),
		'section' => 'luxury_travel_slidersettings',
		'type'  => 'number',
		'input_attrs' => array(
			'step' => 1,
			'min' => 0,
			'max' => 100,
		),
	) );

	$wp_customize->add_setting( 'luxury_travel_slider_left_position', array(
		'default'  => '',
		'sanitize_callback'	=> 'luxury_travel_sanitize_float'
	) );
	$wp_customize->add_control( 'luxury_travel_slider_left_position', array(
		'label' => esc_html__( 'Left','luxury-travel'),
		'section' => 'luxury_travel_slidersettings',
		'type'  => 'number',
		'input_attrs' => array(
			'step' => 1,
			'min' => 0,
			'max' => 100,
		),
	) );

	$wp_customize->add_setting( 'luxury_travel_slider_right_position', array(
		'default'  => '',
		'sanitize_callback'	=> 'luxury_travel_sanitize_float'
	) );
	$wp_customize->add_control( 'luxury_travel_slider_right_position', array(
		'label' => esc_html__('Right','luxury-travel'),
		'section' => 'luxury_travel_slidersettings',
		'type'  => 'number',
		'input_attrs' => array(
			'step' => 1,
			'min' => 0,
			'max' => 100,
		),
	) );

	//content Alignment
    $wp_customize->add_setting('luxury_travel_slider_alignment_option',array(
    'default' => 'Left Align',
        'sanitize_callback' => 'luxury_travel_sanitize_choices'
	));
	$wp_customize->add_control('luxury_travel_slider_alignment_option',array(
        'type' => 'radio',
        'label' => __('Slider Content Alignment','luxury-travel'),
        'section' => 'luxury_travel_slidersettings',
        'choices' => array(
            'Center Align' => __('Center Align','luxury-travel'),
            'Left Align' => __('Left Align','luxury-travel'),
            'Right Align' => __('Right Align','luxury-travel'),
        ),
	) );

	$wp_customize->add_setting('luxury_travel_slider_image_overlay',array(
        'default' => true,
        'sanitize_callback'	=> 'luxury_travel_sanitize_checkbox'
	));
	$wp_customize->add_control('luxury_travel_slider_image_overlay',array(
     	'type' => 'checkbox',
      	'label' => __('Show / Hide Slider Image Overlay','luxury-travel'),
      	'section' => 'luxury_travel_slidersettings',
	));

	$wp_customize->add_setting( 'luxury_travel_slider_overlay_color', array(
	    'default' => '#000',
	    'sanitize_callback' => 'sanitize_hex_color'
  	));
  	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luxury_travel_slider_overlay_color', array(
	    'label' => __('Slider Overlay Color', 'luxury-travel'),
	    'section' => 'luxury_travel_slidersettings',
  	)));

	//Opacity
	$wp_customize->add_setting('luxury_travel_slider_opacity_color',array(
      'default'              => 0.7,
      'sanitize_callback' => 'luxury_travel_sanitize_choices'
	));
	$wp_customize->add_control( 'luxury_travel_slider_opacity_color', array(
		'label'       => esc_html__( 'Slider Image Opacity','luxury-travel' ),
		'section'     => 'luxury_travel_slidersettings',
		'type'        => 'select',
		'settings'    => 'luxury_travel_slider_opacity_color',
		'choices' => array(
	      '0' =>  esc_attr('0','luxury-travel'),
	      '0.1' =>  esc_attr('0.1','luxury-travel'),
	      '0.2' =>  esc_attr('0.2','luxury-travel'),
	      '0.3' =>  esc_attr('0.3','luxury-travel'),
	      '0.4' =>  esc_attr('0.4','luxury-travel'),
	      '0.5' =>  esc_attr('0.5','luxury-travel'),
	      '0.6' =>  esc_attr('0.6','luxury-travel'),
	      '0.7' =>  esc_attr('0.7','luxury-travel'),
	      '0.8' =>  esc_attr('0.8','luxury-travel'),
	      '0.9' =>  esc_attr('0.9','luxury-travel')
		),
	));

	$wp_customize->add_setting( 'luxury_travel_slider_button_label', array(
		'default' => __('FIND OUT MORE','luxury-travel' ),
		'sanitize_callback'	=> 'sanitize_text_field'
	) );
	$wp_customize->add_control( 'luxury_travel_slider_button_label', array(
		'label' => esc_html__( 'Slider Button Label','luxury-travel' ),
		'section'     => 'luxury_travel_slidersettings',
		'type'        => 'text',
		'settings'    => 'luxury_travel_slider_button_label'
	) );

	$wp_customize->add_setting('luxury_travel_slider_button_link',array(
        'default'=> '',
        'sanitize_callback' => 'esc_url_raw'
    ));
    $wp_customize->add_control('luxury_travel_slider_button_link',array(
        'label' => esc_html__('Add Button Link','luxury-travel'),
        'section'=> 'luxury_travel_slidersettings',
        'type'=> 'url'
    ));

	$wp_customize->add_setting( 'luxury_travel_slider_height', array(
		'default'          => '',
		'sanitize_callback'	=> 'luxury_travel_sanitize_float'
	) );
	$wp_customize->add_control( 'luxury_travel_slider_height', array(
		'label'    => esc_html__( 'Slider Height','luxury-travel' ),
		'section'  => 'luxury_travel_slidersettings',
		'type'     => 'number',
		'description' => __('Measurement is in pixel.','luxury-travel'),
		'input_attrs' => array(
			'step' => 1,
			'min'  => 500,
			'max'  => 1000,
		),
	) );

	//Trending Product
	$wp_customize->add_section('luxury_travel_products',array(
		'title'	=> __('Deals And Discount','luxury-travel'),
		'description'=> __('This section will appear below the slider.','luxury-travel'),
		'panel' => 'luxury_travel_panel_id',
	));	
	
	$wp_customize->add_setting('luxury_travel_maintitle',array(
		'default'=> '',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	
	$wp_customize->add_control('luxury_travel_maintitle',array(
		'label'	=> __('Section Title','luxury-travel'),
		'section'=> 'luxury_travel_products',
		'setting'=> 'luxury_travel_maintitle',
		'type'=> 'text'
	));	

	for ( $count = 0; $count <= 0; $count++ ) {
		$wp_customize->add_setting( 'luxury_travel_page' . $count, array(
			'default'           => '',
			'sanitize_callback' => 'luxury_travel_sanitize_dropdown_pages'
		));
		$wp_customize->add_control( 'luxury_travel_page' . $count, array(
			'label'    => __( 'Select Page', 'luxury-travel' ),
			'section'  => 'luxury_travel_products',
			'type'     => 'dropdown-pages'
		));
	}

	$wp_customize->add_setting( 'luxury_travel_deals_settings_premium_features',array(
        'sanitize_callback' => 'sanitize_text_field'
    ));
    $wp_customize->add_control('luxury_travel_deals_settings_premium_features', array(
        'type'=> 'hidden',
        'description' => "<h3>". esc_html('Premium Theme Features!','luxury-travel') ."</h3>
            <ul>
                <li>". esc_html('Title Font & Color Settings','luxury-travel') ."</li>
                <li>". esc_html('Background Image Settings','luxury-travel') ."</li>
                <li>". esc_html('... and Other Premium Features','luxury-travel') ."</li>
            </ul>
            <a target='_blank' href='". esc_url('https://www.themesglance.com/products/premium-travel-agency-wordpress-theme') ." '>". esc_html('Upgrade Now','luxury-travel') ."</a>",
        'section' => 'luxury_travel_products'
        )
    );

	// About Section
	$wp_customize->add_section('luxury_travel_about1', array(
		'title'       => __('About Section', 'luxury-travel'),
		'description' => __('Add About sections below.', 'luxury-travel'),
		'panel'       => 'luxury_travel_panel_id',
	));

	// Get all posts
	$post_list = get_posts(array('numberposts' => -1));

	$choices = [];
	$choices[''] = __('Select Post', 'luxury-travel');

	foreach ($post_list as $post) {
		$choices[$post->ID] = $post->post_title;
	}

	
	$default_about = get_theme_mod('luxury_travel_about_setting');

	// Customizer Setting
	$wp_customize->add_setting('luxury_travel_about_setting', array(
		'default'           => $default_about, 
		'sanitize_callback' => 'luxury_travel_sanitize_choices',
	));

	// Control
	$wp_customize->add_control('luxury_travel_about_setting', array(
		'type'    => 'select',
		'choices' => $choices,
		'label'   => __('Select Post', 'luxury-travel'),
		'section' => 'luxury_travel_about1',
	));

	//layout setting
	$wp_customize->add_section( 'luxury_travel_theme_layout', array(
    	'title'   => __( 'Blog Settings', 'luxury-travel' ),
		'priority'   => null,
		'panel' => 'luxury_travel_panel_id'
	) );

	// Add Settings and Controls for Layout
	$wp_customize->add_setting('luxury_travel_layout',array(
        'default' => 'Right Sidebar',
        'sanitize_callback' => 'luxury_travel_sanitize_choices'	        
	) );
	$wp_customize->add_control('luxury_travel_layout',
	    array(
	        'type' => 'radio',
	        'section' => 'luxury_travel_theme_layout',
       		'label' => __('Blog Layout','luxury-travel'),
	        'choices' => array(
	            'Left Sidebar' => __('Left Sidebar','luxury-travel'),
	            'Right Sidebar' => __('Right Sidebar','luxury-travel'),
	            'One Column' => __('One Column','luxury-travel'),
	            'Three Columns' => __('Three Columns','luxury-travel'),
	            'Four Columns' => __('Four Columns','luxury-travel'),
	            'Grid Layout' => __('Grid Layout','luxury-travel')
	        ),
	    )
    );

    $wp_customize->add_setting('luxury_travel_blog_post_alignment',array(
        'default' => 'left',
        'sanitize_callback' => 'luxury_travel_sanitize_choices'
    ));
	$wp_customize->add_control('luxury_travel_blog_post_alignment', array(
        'type' => 'select',
        'label' => __( 'Blog Post Alignment', 'luxury-travel' ),
        'section' => 'luxury_travel_theme_layout',
        'choices' => array(
            'left' => __('Left Align','luxury-travel'),
            'right' => __('Right Align','luxury-travel'),
            'center' => __('Center Align','luxury-travel'),
			'image_content' => __('Image and Content', 'luxury-travel')
        ),
    ));

    $wp_customize->add_setting('luxury_travel_blog_post_display_type',array(
        'default' => 'blocks',
        'sanitize_callback' => 'luxury_travel_sanitize_choices'
    ));
	$wp_customize->add_control('luxury_travel_blog_post_display_type', array(
        'type' => 'select',
        'label' => __( 'Blog Page Display Type', 'luxury-travel' ),
        'section' => 'luxury_travel_theme_layout',
        'choices' => array(
            'blocks' => __('Blocks','luxury-travel'),
            'without blocks' => __('Without Blocks','luxury-travel'),
        ),
    ));

    $wp_customize->add_setting('luxury_travel_featured_image',array(
       'default' => '',
       'sanitize_callback'	=> 'luxury_travel_sanitize_checkbox'
    ));
    $wp_customize->add_control('luxury_travel_featured_image',array(
       'type' => 'checkbox',
       'label' => __('Show / Hide Featured Image','luxury-travel'),
       'section' => 'luxury_travel_theme_layout'
    ));

    $wp_customize->add_setting('luxury_travel_metafields_date',array(
       'default' => true,
       'sanitize_callback'	=> 'luxury_travel_sanitize_checkbox'
    ));
    $wp_customize->add_control('luxury_travel_metafields_date',array(
       'type' => 'checkbox',
       'label' => __('Show / Hide Date ','luxury-travel'),
       'section' => 'luxury_travel_theme_layout'
    ));

    $wp_customize->add_setting('luxury_travel_postdate_icon',array(
		'default'	=> 'fas fa-calendar-alt',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Luxury_Travel_Icon_Selector(
        $wp_customize,'luxury_travel_postdate_icon',array(
		'label'	=> __('Add Post Date Icon','luxury-travel'),
		'transport' => 'refresh',
		'section'	=> 'luxury_travel_theme_layout',
		'setting'	=> 'luxury_travel_postdate_icon',
		'type'		=> 'icon'
	)));

    $wp_customize->add_setting('luxury_travel_metafields_author',array(
       'default' => true,
       'sanitize_callback'	=> 'luxury_travel_sanitize_checkbox'
    ));
    $wp_customize->add_control('luxury_travel_metafields_author',array(
       'type' => 'checkbox',
       'label' => __('Show / Hide Author','luxury-travel'),
       'section' => 'luxury_travel_theme_layout'
    ));

    $wp_customize->add_setting('luxury_travel_postauthor_icon',array(
		'default'	=> 'fa fa-user',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Luxury_Travel_Icon_Selector(
        $wp_customize,'luxury_travel_postauthor_icon',array(
		'label'	=> __('Add Post Author Icon','luxury-travel'),
		'transport' => 'refresh',
		'section'	=> 'luxury_travel_theme_layout',
		'type'		=> 'icon'
	)));

    $wp_customize->add_setting('luxury_travel_metafields_comment',array(
       'default' => true,
       'sanitize_callback'	=> 'luxury_travel_sanitize_checkbox'
    ));
    $wp_customize->add_control('luxury_travel_metafields_comment',array(
       'type' => 'checkbox',
       'label' => __('Show / Hide Comments','luxury-travel'),
       'section' => 'luxury_travel_theme_layout'
    ));

    $wp_customize->add_setting('luxury_travel_postcomment_icon',array(
		'default'	=> 'fas fa-comments',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Luxury_Travel_Icon_Selector(
        $wp_customize,'luxury_travel_postcomment_icon',array(
		'label'	=> __('Add Post Comments Icon','luxury-travel'),
		'transport' => 'refresh',
		'section'	=> 'luxury_travel_theme_layout',
		'type'		=> 'icon'
	)));

    $wp_customize->add_setting('luxury_travel_metafields_time',array(
       'default' => true,
       'sanitize_callback'	=> 'luxury_travel_sanitize_checkbox'
    ));
    $wp_customize->add_control('luxury_travel_metafields_time',array(
       'type' => 'checkbox',
       'label' => __('Show / Hide Time','luxury-travel'),
       'section' => 'luxury_travel_theme_layout'
    ));

    
    $wp_customize->add_setting('luxury_travel_posttime_icon',array(
		'default'	=> 'fas fa-clock',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Luxury_Travel_Icon_Selector(
        $wp_customize,'luxury_travel_posttime_icon',array(
		'label'	=> __('Add Post Time Icon','luxury-travel'),
		'transport' => 'refresh',
		'section'	=> 'luxury_travel_theme_layout',
		'type'		=> 'icon'
	)));

    $wp_customize->add_setting('luxury_travel_post_navigation',array(
       'default' => 'true',
       'sanitize_callback' => 'luxury_travel_sanitize_checkbox'
    ));
    $wp_customize->add_control('luxury_travel_post_navigation',array(
       'type' => 'checkbox',
       'label' => __('Show / Hide Post Navigation','luxury-travel'),
       'section' => 'luxury_travel_theme_layout'
    ));

	$wp_customize->add_setting('luxury_travel_initial_caps_enable',
	array(
		'default' => false,
		'sanitize_callback' => 'luxury_travel_sanitize_checkbox',
	)); 
	$wp_customize->add_control( 'luxury_travel_initial_caps_enable', 
	array(
		'label' => esc_html__('Initial Letter Capital', 'luxury-travel'),
		'type' => 'checkbox',
		'section' => 'luxury_travel_theme_layout',
	));

    $wp_customize->add_setting('luxury_travel_metabox_seperator',array(
       'default' => '|',
       'sanitize_callback'	=> 'sanitize_text_field'
    ));
    $wp_customize->add_control('luxury_travel_metabox_seperator',array(
       'type' => 'text',
       'label' => __('Metabox Seperator','luxury-travel'),
       'description' => __('Ex: "/", "|", "-", ...','luxury-travel'),
       'section' => 'luxury_travel_theme_layout'
    ));

    $wp_customize->add_setting('luxury_travel_blog_post_content',array(
    	'default' => 'Excerpt Content',
        'sanitize_callback' => 'luxury_travel_sanitize_choices'
	));
	$wp_customize->add_control('luxury_travel_blog_post_content',array(
        'type' => 'radio',
        'label' => __('Blog Post Content Type','luxury-travel'),
        'section' => 'luxury_travel_theme_layout',
        'choices' => array(
            'No Content' => __('No Content','luxury-travel'),
            'Full Content' => __('Full Content','luxury-travel'),
            'Excerpt Content' => __('Excerpt Content','luxury-travel'),
        ),
	) );

   $wp_customize->add_setting( 'luxury_travel_post_excerpt_number', array(
		'default'              => 20,
       'sanitize_callback'	=> 'absint'
	) );
	$wp_customize->add_control( 'luxury_travel_post_excerpt_number', array(
		'label'       => esc_html__( 'Blog Post Excerpt Number (Max 50)','luxury-travel' ),
		'section'     => 'luxury_travel_theme_layout',
		'type'        => 'number',
		'settings'    => 'luxury_travel_post_excerpt_number',
		'input_attrs' => array(
			'step'             => 2,
			'min'              => 0,
			'max'              => 50,
		),
		'active_callback' => 'luxury_travel_excerpt_enabled'
	) );

	$wp_customize->add_setting( 'luxury_travel_button_excerpt_suffix', array(
		'default'   => '...',
		'sanitize_callback'	=> 'sanitize_text_field'
	) );
	$wp_customize->add_control( 'luxury_travel_button_excerpt_suffix', array(
		'label'       => esc_html__( 'Post Excerpt Suffix','luxury-travel' ),
		'section'     => 'luxury_travel_theme_layout',
		'type'        => 'text',
		'settings'    => 'luxury_travel_button_excerpt_suffix',
		'active_callback' => 'luxury_travel_excerpt_enabled'
	) );

		//Featured Image
	$wp_customize->add_setting('luxury_travel_blog_image_dimension',array(
       'default' => 'default',
       'sanitize_callback'	=> 'luxury_travel_sanitize_choices'
    ));
    $wp_customize->add_control('luxury_travel_blog_image_dimension',array(
       'type' => 'radio',
       'label'	=> __('Blog Post Featured Image Dimension','luxury-travel'),
       'choices' => array(
            'default' => __('Default','luxury-travel'),
            'custom' => __('Custom Image Size','luxury-travel'),
        ),
      	'section'	=> 'luxury_travel_theme_layout',
    ));

    $wp_customize->add_setting( 'luxury_travel_feature_image_custom_width', array(
		'default'=> '250',
		'sanitize_callback'	=> 'sanitize_text_field'
	) );
	$wp_customize->add_control( new Luxury_Travel_WP_Customize_Range_Control( $wp_customize, 'luxury_travel_feature_image_custom_width', array(
        'label'  => __('Featured Image Custom Width','luxury-travel'),
        'section'  => 'luxury_travel_theme_layout',
        'description' => __('Measurement is in pixel.','luxury-travel'),
        'input_attrs' => array(
            'min' => 0,
            'max' => 800,
        ),
		'active_callback' => 'luxury_travel_blog_image_dimension'
    )));

    $wp_customize->add_setting( 'luxury_travel_feature_image_custom_height', array(
		'default'=> '250',
		'sanitize_callback'	=> 'sanitize_text_field'
	) );
	$wp_customize->add_control( new Luxury_Travel_WP_Customize_Range_Control( $wp_customize, 'luxury_travel_feature_image_custom_height', array(
        'label'  => __('Featured Image Custom Height','luxury-travel'),
        'section'  => 'luxury_travel_theme_layout',
        'description' => __('Measurement is in pixel.','luxury-travel'),
        'input_attrs' => array(
            'min' => 0,
            'max' => 700,
        ),
		'active_callback' => 'luxury_travel_blog_image_dimension'
    )));

	$wp_customize->add_setting( 'luxury_travel_feature_image_border_radius', array(
		'default'=> '0',
		'sanitize_callback'	=> 'sanitize_text_field'
	) );
	$wp_customize->add_control( new Luxury_Travel_WP_Customize_Range_Control( $wp_customize, 'luxury_travel_feature_image_border_radius', array(
        'label'  => __('Featured Image Border Radius','luxury-travel'),
        'section'  => 'luxury_travel_theme_layout',
        'description' => __('Measurement is in pixel.','luxury-travel'),
        'input_attrs' => array(
            'min' => 0,
            'max' => 50,
        ),
    )));

    $wp_customize->add_setting( 'luxury_travel_feature_image_shadow', array(
		'default'=> '0',
		'sanitize_callback'	=> 'sanitize_text_field'
	) );
	$wp_customize->add_control( new Luxury_Travel_WP_Customize_Range_Control( $wp_customize, 'luxury_travel_feature_image_shadow', array(
        'label'  => __('Featured Image Shadow','luxury-travel'),
        'section'  => 'luxury_travel_theme_layout',
        'description' => __('Measurement is in pixel.','luxury-travel'),
        'input_attrs' => array(
            'min' => 0,
            'max' => 50,
        ),
    )));

	$wp_customize->add_setting('luxury_travel_show_post_pagination',array(
		'default' => true,
		'sanitize_callback'	=> 'luxury_travel_sanitize_checkbox'
	));
	$wp_customize->add_control('luxury_travel_show_post_pagination',array(
		'type' => 'checkbox',
		'label' => __('Show / Hide Post Pagination','luxury-travel'),
		'section' => 'luxury_travel_theme_layout'
	));
	
	$wp_customize->add_setting('luxury_travel_post_pagination_option',array(
		'default' => 'Right',
		'sanitize_callback' => 'luxury_travel_sanitize_choices'
	));
	$wp_customize->add_control('luxury_travel_post_pagination_option',array(
		'type' => 'select',
		'label' => __('Post Pagination Alignment','luxury-travel'),
		'section' => 'luxury_travel_theme_layout',
		'choices' => array(
			'Center' => __('Center','luxury-travel'),
			'Left' => __('Left','luxury-travel'),
			'Right' => __('Right','luxury-travel'),
		),
	) );

    $wp_customize->add_setting( 'luxury_travel_pagination_type', array(
        'default'			=> 'page-numbers',
        'sanitize_callback'	=> 'sanitize_text_field'
    ));
    $wp_customize->add_control( 'luxury_travel_pagination_type', array(
        'section' => 'luxury_travel_theme_layout',
        'type' => 'select',
        'label' => __( 'Blog Pagination Style', 'luxury-travel' ),
        'choices'		=> array(
            'page-numbers'  => __( 'Number', 'luxury-travel' ),
            'next-prev' => __( 'Next/Prev', 'luxury-travel' ),
    )));

	$wp_customize->add_setting( 'luxury_travel_blog_post_prev_nav_text', array(
		'default' => __('Older posts','luxury-travel' ),
		'sanitize_callback'	=> 'sanitize_text_field'
	) );
	$wp_customize->add_control( 'luxury_travel_blog_post_prev_nav_text', array(
		'label' => esc_html__( 'Blog Post Previous Nav text','luxury-travel' ),
		'section'     => 'luxury_travel_theme_layout',
		'type'        => 'text',
		'settings'    => 'luxury_travel_blog_post_prev_nav_text',
		'active_callback' => 'luxury_travel_pagination_callback',
	) );

	$wp_customize->add_setting( 'luxury_travel_blog_post_next_nav_text', array(
		'default' => __('Newer posts','luxury-travel' ),
		'sanitize_callback'	=> 'sanitize_text_field'
	) );
	$wp_customize->add_control( 'luxury_travel_blog_post_next_nav_text', array(
		'label' => esc_html__( 'Blog Post Next Nav text','luxury-travel' ),
		'section'     => 'luxury_travel_theme_layout',
		'type'        => 'text',
		'settings'    => 'luxury_travel_blog_post_next_nav_text',
		'active_callback' => 'luxury_travel_pagination_callback',
	) );

    $wp_customize->add_setting('luxury_travel_blog_nav_position',array(
        'default' => 'bottom',
        'sanitize_callback' => 'luxury_travel_sanitize_choices'
    ));
	$wp_customize->add_control('luxury_travel_blog_nav_position', array(
        'type' => 'select',
        'label' => __( 'Blog Post Navigation Position', 'luxury-travel' ),
        'section' => 'luxury_travel_theme_layout',
        'choices' => array(
            'top' => __('Top','luxury-travel'),
            'bottom' => __('Bottom','luxury-travel'),
            'both' => __('Both','luxury-travel')
        ),
    ));

    $wp_customize->add_setting( 'luxury_travel_post_settings_premium_features',array(
        'sanitize_callback' => 'sanitize_text_field'
    ));
    $wp_customize->add_control('luxury_travel_post_settings_premium_features', array(
        'type'=> 'hidden',
        'description' => "<h3>". esc_html('Premium Theme Features!','luxury-travel') ."</h3>
            <ul>
                <li>". esc_html('Section Heading Option','luxury-travel') ."</li>
                <li>". esc_html('Animated Elements Colors','luxury-travel') ."</li>
                <li>". esc_html('... and Other Premium Features','luxury-travel') ."</li>
            </ul>
            <a target='_blank' href='". esc_url('https://www.themesglance.com/products/premium-travel-agency-wordpress-theme') ." '>". esc_html('Upgrade Now','luxury-travel') ."</a>",
        'section' => 'luxury_travel_theme_layout'
        )
    );

	$wp_customize->add_section( 'luxury_travel_single_post_settings', array(
		'title' => __( 'Single Post Options', 'luxury-travel' ),
		'panel' => 'luxury_travel_panel_id',
	));

	$wp_customize->add_setting('luxury_travel_single_post_breadcrumb',array(
       'default' => 'true',
       'sanitize_callback' => 'luxury_travel_sanitize_checkbox'
    ));
    $wp_customize->add_control('luxury_travel_single_post_breadcrumb',array(
       'type' => 'checkbox',
       'label' => __('Show / Hide Single Post Breadcrumb','luxury-travel'),
       'section' => 'luxury_travel_single_post_settings'
    ));

	$wp_customize->add_setting('luxury_travel_single_post_date',array(
       'default' => 'true',
       'sanitize_callback'	=> 'luxury_travel_sanitize_checkbox'
    ));
    $wp_customize->add_control('luxury_travel_single_post_date',array(
       'type' => 'checkbox',
       'label' => __('Show / Hide Single Post Date','luxury-travel'),
       'section' => 'luxury_travel_single_post_settings'
    ));

    $wp_customize->add_setting('luxury_travel_singlepost_date_icon',array(
		'default'	=> 'fas fa-calendar-alt',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Luxury_Travel_Icon_Selector(
        $wp_customize,'luxury_travel_singlepost_date_icon',array(
		'label'	=> __('Add Single Post Date Icon','luxury-travel'),
		'transport' => 'refresh',
		'section'	=> 'luxury_travel_single_post_settings',
		'setting'	=> 'luxury_travel_singlepost_date_icon',
		'type'		=> 'icon'
	)));

    $wp_customize->add_setting('luxury_travel_single_post_author',array(
       'default' => 'true',
       'sanitize_callback'	=> 'luxury_travel_sanitize_checkbox'
    ));
    $wp_customize->add_control('luxury_travel_single_post_author',array(
       'type' => 'checkbox',
       'label' => __('Show / Hide Single Post Author','luxury-travel'),
       'section' => 'luxury_travel_single_post_settings'
    ));

    $wp_customize->add_setting('luxury_travel_singlepost_author_icon',array(
		'default'	=> 'fa fa-user',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Luxury_Travel_Icon_Selector(
        $wp_customize,'luxury_travel_singlepost_author_icon',array(
		'label'	=> __('Add Single Post Author Icon','luxury-travel'),
		'transport' => 'refresh',
		'section'	=> 'luxury_travel_single_post_settings',
		'type'		=> 'icon'
	)));

    $wp_customize->add_setting('luxury_travel_single_post_comment_no',array(
       'default' => 'true',
       'sanitize_callback'	=> 'luxury_travel_sanitize_checkbox'
    ));
    $wp_customize->add_control('luxury_travel_single_post_comment_no',array(
       'type' => 'checkbox',
       'label' => __('Show / Hide Single Post Comment Number','luxury-travel'),
       'section' => 'luxury_travel_single_post_settings'
    ));

	$wp_customize->add_setting('luxury_travel_single_post_comment_icon',array(
		'default'	=> 'fas fa-comments',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Luxury_Travel_Icon_Selector(
        $wp_customize,'luxury_travel_single_post_comment_icon',array(
		'label'	=> __('Add Single Post Comments Icon','luxury-travel'),
		'transport' => 'refresh',
		'section'	=> 'luxury_travel_single_post_settings',
		'type'		=> 'icon'
	)));
	
    $wp_customize->add_setting('luxury_travel_single_post_time',array(
       'default' => 'true',
       'sanitize_callback'	=> 'luxury_travel_sanitize_checkbox'
    ));
    $wp_customize->add_control('luxury_travel_single_post_time',array(
       'type' => 'checkbox',
       'label' => __('Show / Hide Single Post Time','luxury-travel'),
       'section' => 'luxury_travel_single_post_settings'
    ));
    
    $wp_customize->add_setting('luxury_travel_single_post_time_icon',array(
		'default'	=> 'fas fa-clock',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Luxury_Travel_Icon_Selector(
        $wp_customize,'luxury_travel_single_post_time_icon',array(
		'label'	=> __('Add Single Post Time Icon','luxury-travel'),
		'transport' => 'refresh',
		'section'	=> 'luxury_travel_single_post_settings',
		'type'		=> 'icon'
	)));

	$wp_customize->add_setting('luxury_travel_single_post_metabox_seperator',array(
       'default' => '|',
       'sanitize_callback'	=> 'sanitize_text_field'
    ));
    $wp_customize->add_control('luxury_travel_single_post_metabox_seperator',array(
       'type' => 'text',
       'label' => __('Metabox Seperator','luxury-travel'),
       'description' => __('Ex: "/", "|", "-", ...','luxury-travel'),
       'section' => 'luxury_travel_single_post_settings'
    ));

    $wp_customize->add_setting('luxury_travel_single_post_image',array(
       'default' => 'true',
       'sanitize_callback'	=> 'luxury_travel_sanitize_checkbox'
    ));
    $wp_customize->add_control('luxury_travel_single_post_image',array(
       'type' => 'checkbox',
       'label' => __('Show / Hide Single Post Featured Image','luxury-travel'),
       'section' => 'luxury_travel_single_post_settings'
    ));

    $wp_customize->add_setting('luxury_travel_single_post_category',array(
       'default' => 'true',
       'sanitize_callback'	=> 'luxury_travel_sanitize_checkbox'
    ));
    $wp_customize->add_control('luxury_travel_single_post_category',array(
       'type' => 'checkbox',
       'label' => __('Show / Hide Single Post Category','luxury-travel'),
       'section' => 'luxury_travel_single_post_settings'
    ));

	$wp_customize->add_setting('luxury_travel_metafields_tags',array(
       'default' => 'true',
       'sanitize_callback'	=> 'luxury_travel_sanitize_checkbox'
    ));
    $wp_customize->add_control('luxury_travel_metafields_tags',array(
       'type' => 'checkbox',
       'label' => __('Show / Hide Single Post Tags','luxury-travel'),
       'section' => 'luxury_travel_single_post_settings'
    ));

	// Single Posts Category 

	$wp_customize->add_setting('luxury_travel_single_post_styling',array(
    'default' => 'Button',
    'transport' => 'refresh',
    'sanitize_callback' => 'luxury_travel_sanitize_choices'
	));
	$wp_customize->add_control('luxury_travel_single_post_styling',array(
	'description' => __('Change the styling of Category .','luxury-travel'),
	'type' => 'select',
    'section' => 'luxury_travel_single_post_settings',
    'choices' => array(
        'Button' => __('Button','luxury-travel'),
		'Underline' => __('Underline','luxury-travel'),
		'Default' => __('Default','luxury-travel'),
      ),
	));

    $wp_customize->add_setting( 'luxury_travel_post_featured_image', array(
        'default' => 'in-content',
        'sanitize_callback'	=> 'sanitize_text_field'
    ));
    $wp_customize->add_control( 'luxury_travel_post_featured_image', array(
        'section' => 'luxury_travel_single_post_settings',
        'type' => 'radio',
        'label' => __( 'Featured Image Display Type', 'luxury-travel' ),
        'choices'		=> array(
            'banner'  => __('as Banner Image', 'luxury-travel'),
            'in-content' => __( 'as Featured Image', 'luxury-travel' ),
    )));

	//Featured Image
	
	$wp_customize->add_setting('luxury_travel_single_post_image_dimension',array(
		'default' => 'default',
		'sanitize_callback'	=> 'luxury_travel_sanitize_choices'
	 ));
	 $wp_customize->add_control('luxury_travel_single_post_image_dimension',array(
		'type' => 'radio',
		'label'	=> __('Single Post Featured Image Dimension','luxury-travel'),
		'choices' => array(
			 'default' => __('Default','luxury-travel'),
			 'custom' => __('Custom Image Size','luxury-travel'),
		 ),
		   'section'	=> 'luxury_travel_single_post_settings',
	 ));

	 $wp_customize->add_setting( 'luxury_travel_single_post_image_custom_width', array(
		'default'=> '400',
		'sanitize_callback'	=> 'sanitize_text_field'
	) );
	$wp_customize->add_control( new Luxury_Travel_WP_Customize_Range_Control( $wp_customize, 'luxury_travel_single_post_image_custom_width', array(
        'label'  => __('Featured Image Custom Width','luxury-travel'),
        'section'  => 'luxury_travel_single_post_settings',
        'description' => __('Measurement is in pixel.','luxury-travel'),
        'input_attrs' => array(
            'min' => 0,
            'max' => 1000,
        ),
		'active_callback' => 'luxury_travel_single_post_image_dimension'
    )));

	$wp_customize->add_setting( 'luxury_travel_single_post_image_custom_height', array(
		'default'=> '400',
		'sanitize_callback'	=> 'sanitize_text_field'
	) );
	$wp_customize->add_control( new Luxury_Travel_WP_Customize_Range_Control( $wp_customize, 'luxury_travel_single_post_image_custom_height', array(
        'label'  => __('Featured Image Custom Height','luxury-travel'),
        'section'  => 'luxury_travel_single_post_settings',
        'description' => __('Measurement is in pixel.','luxury-travel'),
        'input_attrs' => array(
            'min' => 0,
            'max' => 1000,
        ),
		'active_callback' => 'luxury_travel_single_post_image_dimension'
    )));

    $wp_customize->add_setting( 'luxury_travel_single_post_img_border_radius', array(
		'default'=> 0,
		'sanitize_callback'	=> 'luxury_travel_sanitize_float',
	) );
	$wp_customize->add_control( 'luxury_travel_single_post_img_border_radius', array(
		'label'       => esc_html__( 'Single Post Image Border Radius','luxury-travel' ),
		'section'     => 'luxury_travel_single_post_settings',
		'type'        => 'number',
		'input_attrs' => array(
			'step'             => 1,
			'min'              => 0,
			'max'              => 100,
		),
	) );

	$wp_customize->add_setting( 'luxury_travel_single_post_img_box_shadow',array(
		'default' => 0,
		'sanitize_callback'    => 'luxury_travel_sanitize_float',
	));
	$wp_customize->add_control('luxury_travel_single_post_img_box_shadow',array(
		'label' => esc_html__( 'Single Post Image Shadow','luxury-travel' ),
		'section' => 'luxury_travel_single_post_settings',
		'input_attrs' => array(
			'min' => 0,
			'max' => 50,
			'step' => 1,
		),
		'type' => 'number'
	));

    $wp_customize->add_setting('luxury_travel_single_post_nav',array(
       'default' => 'true',
       'sanitize_callback'	=> 'luxury_travel_sanitize_checkbox'
    ));
    $wp_customize->add_control('luxury_travel_single_post_nav',array(
       'type' => 'checkbox',
       'label' => __('Show / Hide Single Post Navigation','luxury-travel'),
       'section' => 'luxury_travel_single_post_settings'
    ));

    $wp_customize->add_setting( 'luxury_travel_single_post_prev_nav_text', array(
		'default' => __('Previous','luxury-travel' ),
		'sanitize_callback'	=> 'sanitize_text_field'
	) );
	$wp_customize->add_control( 'luxury_travel_single_post_prev_nav_text', array(
		'label' => esc_html__( 'Single Post Previous Nav text','luxury-travel' ),
		'section'     => 'luxury_travel_single_post_settings',
		'type'        => 'text',
		'settings'    => 'luxury_travel_single_post_prev_nav_text'
	) );

	$wp_customize->add_setting( 'luxury_travel_single_post_next_nav_text', array(
		'default' => __('Next','luxury-travel' ),
		'sanitize_callback'	=> 'sanitize_text_field'
	) );
	$wp_customize->add_control( 'luxury_travel_single_post_next_nav_text', array(
		'label' => esc_html__( 'Single Post Next Nav text','luxury-travel' ),
		'section'     => 'luxury_travel_single_post_settings',
		'type'        => 'text',
		'settings'    => 'luxury_travel_single_post_next_nav_text'
	) );

	$wp_customize->add_setting( 'luxury_travel_show_post_navigation_title', array(
        'default'           => false,
        'sanitize_callback' => 'luxury_travel_sanitize_checkbox',
    ) );
    $wp_customize->add_control( 'luxury_travel_show_post_navigation_title', array(
        'label'    => __( 'Show Post Navigation Title', 'luxury-travel' ),
        'section'  => 'luxury_travel_single_post_settings',
        'type'     => 'checkbox',
    ) );

    $wp_customize->add_setting('luxury_travel_single_post_comment',array(
       'default' => 'true',
       'sanitize_callback'	=> 'luxury_travel_sanitize_checkbox'
    ));
    $wp_customize->add_control('luxury_travel_single_post_comment',array(
       'type' => 'checkbox',
       'label' => __('Show / Hide Single Post comment','luxury-travel'),
       'section' => 'luxury_travel_single_post_settings'
    ));

	$wp_customize->add_setting( 'luxury_travel_comment_width', array(
		'default'=> '100',
		'sanitize_callback'	=> 'sanitize_text_field'
	) );
	$wp_customize->add_control( new Luxury_Travel_WP_Customize_Range_Control( $wp_customize, 'luxury_travel_comment_width', array(
        'label'  => __('Comment textarea width','luxury-travel'),
        'section'  => 'luxury_travel_single_post_settings',
        'description' => __('Measurement is in %.','luxury-travel'),
        'input_attrs' => array(
            'min' => 0,
            'max' => 100,
        ),
    )));

    $wp_customize->add_setting('luxury_travel_comment_title',array(
       'default' => __('Leave a Reply','luxury-travel'),
       'sanitize_callback'	=> 'sanitize_text_field'
    ));
    $wp_customize->add_control('luxury_travel_comment_title',array(
       'type' => 'text',
       'label' => __('Comment form Title','luxury-travel'),
       'section' => 'luxury_travel_single_post_settings'
    ));

    $wp_customize->add_setting('luxury_travel_comment_submit_text',array(
       'default' => __('Post Comment','luxury-travel'),
       'sanitize_callback'	=> 'sanitize_text_field'
    ));
    $wp_customize->add_control('luxury_travel_comment_submit_text',array(
       'type' => 'text',
       'label' => __('Comment Submit Button Label','luxury-travel'),
       'section' => 'luxury_travel_single_post_settings'
    ));

	// related post section
	$wp_customize->add_section( 'luxury_travel_related_post_settings', array(
		'title' => __('Related Post Options', 'luxury-travel' ),
		'panel' => 'luxury_travel_panel_id',
	));

	$wp_customize->add_setting('luxury_travel_related_posts',array(
       'default' => true,
       'sanitize_callback'	=> 'luxury_travel_sanitize_checkbox'
    ));
    $wp_customize->add_control('luxury_travel_related_posts',array(
       'type' => 'checkbox',
       'label' => __('Show / Hide Related Posts','luxury-travel'),
       'section' => 'luxury_travel_related_post_settings'
    ));

	$wp_customize->add_setting('luxury_travel_related_post_date',array(
		'default' => 'true',
		'sanitize_callback'	=> 'luxury_travel_sanitize_checkbox'
	));
	$wp_customize->add_control('luxury_travel_related_post_date',array(
		'type' => 'checkbox',
		'label' => __('Show / Hide Related Post Date','luxury-travel'),
		'section' => 'luxury_travel_related_post_settings'
	));

	$wp_customize->add_setting('luxury_travel_related_post_date_icon',array(
		'default'	=> 'fas fa-calendar-alt',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Luxury_Travel_Icon_Selector(
        $wp_customize,'luxury_travel_related_post_date_icon',array(
		'label'	=> __('Related Post Date Icon','luxury-travel'),
		'transport' => 'refresh',
		'section'	=> 'luxury_travel_related_post_settings',
		'setting'	=> 'luxury_travel_related_post_date_icon',
		'type'		=> 'icon'
	)));

	$wp_customize->add_setting('luxury_travel_related_post_author',array(
		'default' => 'true',
		'sanitize_callback'	=> 'luxury_travel_sanitize_checkbox'
	));
	$wp_customize->add_control('luxury_travel_related_post_author',array(
		'type' => 'checkbox',
		'label' => __('Show / Hide Related Post Author','luxury-travel'),
		'section' => 'luxury_travel_related_post_settings'
	));

	$wp_customize->add_setting('luxury_travel_related_post_author_icon',array(
		'default'	=> 'fa fa-user',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Luxury_Travel_Icon_Selector(
        $wp_customize,'luxury_travel_related_post_author_icon',array(
		'label'	=> __('Related Post Author Icon','luxury-travel'),
		'transport' => 'refresh',
		'section'	=> 'luxury_travel_related_post_settings',
		'type'		=> 'icon'
	)));

	$wp_customize->add_setting('luxury_travel_related_post_comment_no',array(
		'default' => 'true',
		'sanitize_callback'	=> 'luxury_travel_sanitize_checkbox'
	));
	$wp_customize->add_control('luxury_travel_related_post_comment_no',array(
		'type' => 'checkbox',
		'label' => __('Show / Hide Related Post Comments','luxury-travel'),
		'section' => 'luxury_travel_related_post_settings'
	));

	$wp_customize->add_setting('luxury_travel_related_post_comment_icon',array(
		'default'	=> 'fas fa-comments',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Luxury_Travel_Icon_Selector(
        $wp_customize,'luxury_travel_related_post_comment_icon',array(
		'label'	=> __('Related Post Comments Icon','luxury-travel'),
		'transport' => 'refresh',
		'section'	=> 'luxury_travel_related_post_settings',
		'type'		=> 'icon'
	)));

	$wp_customize->add_setting('luxury_travel_related_post_time',array(
        'default' => 'true',
        'sanitize_callback'	=> 'luxury_travel_sanitize_checkbox'
    ));
    $wp_customize->add_control('luxury_travel_related_post_time',array(
        'type' => 'checkbox',
        'label' => __('Show / Hide Related Post Time','luxury-travel'),
        'section' => 'luxury_travel_related_post_settings'
    ));

    $wp_customize->add_setting('luxury_travel_related_post_time_icon',array(
		'default'	=> 'fas fa-clock',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Luxury_Travel_Icon_Selector(
        $wp_customize,'luxury_travel_related_post_time_icon',array(
		'label'	=> __('Related Post Time Icon','luxury-travel'),
		'transport' => 'refresh',
		'section'	=> 'luxury_travel_related_post_settings',
		'type'		=> 'icon'
	)));
     
	$wp_customize->add_setting('luxury_travel_related_post_metabox_seperator',array(
		'default' => '|',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('luxury_travel_related_post_metabox_seperator',array(
		'type' => 'text',
		'label' => __('Metabox Seperator','luxury-travel'),
		'description' => __('Ex: "/", "|", "-", ...','luxury-travel'),
		'section' => 'luxury_travel_related_post_settings'
	));

	$wp_customize->add_setting('luxury_travel_show_related_posts_image',array(
		'default' => true,
		'sanitize_callback'	=> 'luxury_travel_sanitize_checkbox'
	));
	$wp_customize->add_control('luxury_travel_show_related_posts_image',array(
		'type' => 'checkbox',
		'label' => __('Show / Hide Related Posts image','luxury-travel'),
		'section' => 'luxury_travel_related_post_settings'
	));

    $wp_customize->add_setting( 'luxury_travel_related_posts_image_shadow', array(
		'default'=> '0',
		'sanitize_callback'	=> 'sanitize_text_field'
	) );
	$wp_customize->add_control( new Luxury_Travel_WP_Customize_Range_Control( $wp_customize, 'luxury_travel_related_posts_image_shadow', array(
		'label'  => __('Related Posts Image Shadow','luxury-travel'),
		'section'  => 'luxury_travel_related_post_settings',
		'description' => __('Measurement is in pixel.','luxury-travel'),
		'input_attrs' => array(
		   'min' => 0,
		   'max' => 50,
		),
    )));

	$wp_customize->add_setting( 'luxury_travel_related_image_border_radius', array(
		'default'=> '0',
		'sanitize_callback'	=> 'sanitize_text_field'
	) );
	$wp_customize->add_control( new Luxury_Travel_WP_Customize_Range_Control( $wp_customize, 'luxury_travel_related_image_border_radius', array(
        'label'  => __('Related Image Border Radius','luxury-travel'),
        'section'  => 'luxury_travel_related_post_settings',
        'description' => __('Measurement is in pixel.','luxury-travel'),
        'input_attrs' => array(
            'min' => 0,
            'max' => 50,
        ),
    )));

    $wp_customize->add_setting('luxury_travel_related_posts_title',array(
       'default' => __('You May Also Like','luxury-travel'),
       'sanitize_callback'	=> 'sanitize_text_field'
    ));
    $wp_customize->add_control('luxury_travel_related_posts_title',array(
       'type' => 'text',
       'label' => __('Related Posts Title','luxury-travel'),
       'section' => 'luxury_travel_related_post_settings'
    ));

    $wp_customize->add_setting( 'luxury_travel_related_post_count', array(
		'default' => 3,
		'sanitize_callback'	=> 'luxury_travel_sanitize_float'
	) );
	$wp_customize->add_control( 'luxury_travel_related_post_count', array(
		'label' => esc_html__( 'Related Posts Count','luxury-travel' ),
		'section' => 'luxury_travel_related_post_settings',
		'type' => 'number',
		'settings' => 'luxury_travel_related_post_count',
		'input_attrs' => array(
			'step'             => 1,
			'min'              => 0,
			'max'              => 6,
		),
	) );

    $wp_customize->add_setting( 'luxury_travel_post_shown_by', array(
        'default' => 'categories',
        'sanitize_callback'	=> 'sanitize_text_field'
    ));
    $wp_customize->add_control( 'luxury_travel_post_shown_by', array(
        'section' => 'luxury_travel_related_post_settings',
        'type' => 'radio',
        'label' => __( 'Related Posts must be shown:', 'luxury-travel' ),
        'choices'		=> array(
            'categories'  => __('By Categories', 'luxury-travel'),
            'tags' => __( 'By Tags', 'luxury-travel' ),
    )));

    $wp_customize->add_setting( 'luxury_travel_related_post_excerpt_number',array(
		'default' => 20,
		'sanitize_callback' => 'absint'
	));

	$wp_customize->add_control('luxury_travel_related_post_excerpt_number',	array(
		'label' => esc_html__( 'Related Posts Content Limit','luxury-travel' ),
		'section' => 'luxury_travel_related_post_settings',
		'type'    => 'number',
	 	'settings' => 'luxury_travel_related_post_excerpt_number',
		'input_attrs' => array(
			'min' => 0,
			'max' => 50,
			'step' => 1,
		),
	));

	$wp_customize->add_setting( 'luxury_travel_related_post_excerpt_suffix', array(
		'default'   => '...',
		'sanitize_callback'	=> 'sanitize_text_field'
	) );
	$wp_customize->add_control( 'luxury_travel_related_post_excerpt_suffix', array(
		'label'       => esc_html__('Related Post Excerpt Suffix','luxury-travel' ),
		'section'     => 'luxury_travel_related_post_settings',
		'type'        => 'text',
		'settings'    => 'luxury_travel_related_post_excerpt_suffix',
		'active_callback' => 'luxury_travel_excerpt_enabled'
	) );

	$wp_customize->add_setting('luxury_travel_related_post_display_type',array(
		'default' => 'blocks',
		'sanitize_callback' => 'luxury_travel_sanitize_choices'
	));
	$wp_customize->add_control('luxury_travel_related_post_display_type', array(
		'type' => 'select',
		'label' => __('Related Post Display Type', 'luxury-travel' ),
		'section' => 'luxury_travel_related_post_settings',
		'choices' => array(
		   'blocks' => __('Blocks','luxury-travel'),
		   'without blocks' => __('Without Blocks','luxury-travel'),
		),
    ));

	$wp_customize->add_setting('luxury_travel_related_button_text',array(
		'default'=> esc_html__('Read Full','luxury-travel'),
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('luxury_travel_related_button_text',array(
		'label'	=> esc_html__('Add Button Text','luxury-travel'),
		'input_attrs' => array(
        'placeholder' => esc_html__( 'Read Full', 'luxury-travel' ),
        ),
		'section'=> 'luxury_travel_related_post_settings',
		'type'=> 'text'
	));

	// Grid layout setting
	$wp_customize->add_section( 'luxury_travel_grid_layout_settings', array(
		'title' => __( 'Grid Layout Settings', 'luxury-travel' ),
		'panel' => 'luxury_travel_panel_id',
	));

	$wp_customize->add_setting('luxury_travel_grid_post_sidebar_layout',array(
		'default' => 'Right Sidebar',
		'sanitize_callback' => 'luxury_travel_sanitize_choices'
 	));
	$wp_customize->add_control('luxury_travel_grid_post_sidebar_layout', array(
		'type' => 'select',
		'label' => __( 'Grid Sidebar Layout', 'luxury-travel' ),
		'section' => 'luxury_travel_grid_layout_settings',
		'choices' => array(
		   'Left Sidebar' => __('Left Sidebar','luxury-travel'),
		   'Right Sidebar' => __('Right Sidebar','luxury-travel'),
		   'One Column' => __('One Column','luxury-travel')
		),
 	));

	$wp_customize->add_setting('luxury_travel_grid_columns', array(
		'default'           => '3',
		'sanitize_callback' => 'luxury_travel_sanitize_choices',
		'transport'         => 'refresh',
	));
	$wp_customize->add_control('luxury_travel_grid_columns', array(
		'label'    => __('Grid Columns', 'luxury-travel'),
		'section'  => 'luxury_travel_grid_layout_settings', 
		'type'     => 'select',
		'choices'  => array(
			'2' => __('2 Columns', 'luxury-travel'),
			'3' => __('3 Columns', 'luxury-travel'),
			'4' => __('4 Columns', 'luxury-travel'),
		),
	));

	$wp_customize->add_setting('luxury_travel_grid_button_text',array(
		'default'=> esc_html__('Read Full','luxury-travel'),
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('luxury_travel_grid_button_text',array(
		'label'	=> esc_html__('Add Button Text','luxury-travel'),
		'input_attrs' => array(
        'placeholder' => esc_html__( 'Read Full', 'luxury-travel' ),
      ),
		'section'=> 'luxury_travel_grid_layout_settings',
		'type'=> 'text'
	));

	$wp_customize->add_setting('luxury_travel_grid_post_content',array(
    	'default' => 'Excerpt Content',
     	'sanitize_callback' => 'luxury_travel_sanitize_choices'
	));
	$wp_customize->add_control('luxury_travel_grid_post_content',array(
		'type' => 'radio',
		'label' => __('Grid Post Content Type','luxury-travel'),
		'section' => 'luxury_travel_grid_layout_settings',
		'choices' => array(
		   'No Content' => __('No Content','luxury-travel'),
		   'Full Content' => __('Full Content','luxury-travel'),
		   'Excerpt Content' => __('Excerpt Content','luxury-travel'),
		),
	) );

 	$wp_customize->add_setting( 'luxury_travel_grid_excerpt_number', array(
		'default'              => 20,
		'sanitize_callback'	=> 'absint'
	) );
	$wp_customize->add_control( 'luxury_travel_grid_excerpt_number', array(
		'label' => esc_html__( 'Grid Post Excerpt Number (Max 50)','luxury-travel' ),
		'section' => 'luxury_travel_grid_layout_settings',
		'type'    => 'number',
		'settings' => 'luxury_travel_grid_excerpt_number',
		'input_attrs' => array(
			'step'  => 1,
			'min'   => 0,
			'max'   => 50,
		),
		'active_callback' => 'luxury_travel_grid_excerpt_enabled'
	) );
	
	$wp_customize->add_setting('luxury_travel_grid_excerpt_suffix',array(
		'default'=> '...',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('luxury_travel_grid_excerpt_suffix',array(
		'label'	=> __('Add Excerpt Suffix','luxury-travel'),
		'section'=> 'luxury_travel_grid_layout_settings',
		'type'=> 'text',
		'settings'    => 'luxury_travel_grid_excerpt_suffix',
		'active_callback' => 'luxury_travel_grid_excerpt_enabled'
	));


	$wp_customize->add_setting('luxury_travel_grid_alignment',array(
        'default' => 'center',
        'sanitize_callback' => 'luxury_travel_sanitize_choices'
    ));
	$wp_customize->add_control('luxury_travel_grid_alignment', array(
        'type' => 'select',
        'label' => __( 'Grid Post Alignment', 'luxury-travel' ),
        'section' => 'luxury_travel_grid_layout_settings',
        'choices' => array(
            'left' => __('Left Align','luxury-travel'),
            'right' => __('Right Align','luxury-travel'),
            'center' => __('Center Align','luxury-travel')
        ),
    ));

	$wp_customize->add_setting('luxury_travel_grid_post_metabox_seperator',array(
       'default' => '|',
       'sanitize_callback'	=> 'sanitize_text_field'
    ));
    $wp_customize->add_control('luxury_travel_grid_post_metabox_seperator',array(
       'type' => 'text',
       'label' => __('Metabox Seperator','luxury-travel'),
       'description' => __('Ex: "/", "|", "-", ...','luxury-travel'),
       'section' => 'luxury_travel_grid_layout_settings'
    ));

    $wp_customize->add_setting('luxury_travel_grid_post_date',array(
		'default' => true,
		'sanitize_callback'	=> 'luxury_travel_sanitize_checkbox'
	));
	$wp_customize->add_control('luxury_travel_grid_post_date',array(
		'type' => 'checkbox',
		'label' => __('Show / Hide Date ','luxury-travel'),
		'section' => 'luxury_travel_grid_layout_settings'
	));

	$wp_customize->add_setting('luxury_travel_grid_post_date_icon',array(
		'default'	=> 'fas fa-calendar-alt',
		'sanitize_callback'	=> 'sanitize_text_field'             
	));
	$wp_customize->add_control(new Luxury_Travel_Icon_Selector(
        $wp_customize,'luxury_travel_grid_post_date_icon',array(
		'label'	=> __('Grid Post Date Icon','luxury-travel'),
		'transport' => 'refresh',
		'section'	=> 'luxury_travel_grid_layout_settings',
		'setting'	=> 'luxury_travel_grid_post_date_icon',
		'type'		=> 'icon'
	)));

	$wp_customize->add_setting('luxury_travel_grid_post_author',array(
		'default' => true,
		'sanitize_callback'	=> 'luxury_travel_sanitize_checkbox'
	));
	$wp_customize->add_control('luxury_travel_grid_post_author',array(
		'type' => 'checkbox',
		'label' => __('Show / Hide Author','luxury-travel'),
		'section' => 'luxury_travel_grid_layout_settings'
	));

	$wp_customize->add_setting('luxury_travel_grid_post_author_icon',array(
		'default'	=> 'fa fa-user',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Luxury_Travel_Icon_Selector(
        $wp_customize,'luxury_travel_grid_post_author_icon',array(
		'label'	=> __('Grid Post Author Icon','luxury-travel'),
		'transport' => 'refresh',
		'section'	=> 'luxury_travel_grid_layout_settings',
		'type'		=> 'icon'
	)));

	$wp_customize->add_setting('luxury_travel_grid_post_comment',array(
		'default' => true,
		'sanitize_callback'	=> 'luxury_travel_sanitize_checkbox'
	));
	$wp_customize->add_control('luxury_travel_grid_post_comment',array(
		'type' => 'checkbox',
		'label' => __('Show / Hide Comments','luxury-travel'),
		'section' => 'luxury_travel_grid_layout_settings'
	));

	$wp_customize->add_setting('luxury_travel_grid_post_comment_icon',array(
		'default'	=> 'fas fa-comments',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Luxury_Travel_Icon_Selector(
        $wp_customize,'luxury_travel_grid_post_comment_icon',array(
		'label'	=> __('Grid Post Comments Icon','luxury-travel'),
		'transport' => 'refresh',
		'section'	=> 'luxury_travel_grid_layout_settings',
		'type'		=> 'icon'
	)));

	$wp_customize->add_setting('luxury_travel_grid_post_time',array(
		'default' => true,
		'sanitize_callback'	=> 'luxury_travel_sanitize_checkbox'
	));
	$wp_customize->add_control('luxury_travel_grid_post_time',array(
		'type' => 'checkbox',
		'label' => __('Show / Hide Time','luxury-travel'),
		'section' => 'luxury_travel_grid_layout_settings'
	));

	$wp_customize->add_setting('luxury_travel_grid_post_time_icon',array(
		'default'	=> 'fas fa-clock',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Luxury_Travel_Icon_Selector(
        $wp_customize,'luxury_travel_grid_post_time_icon',array(
		'label'	=> __('Grid Post Time Icon','luxury-travel'),
		'transport' => 'refresh',
		'section'	=> 'luxury_travel_grid_layout_settings',
		'type'		=> 'icon'
	)));

	$wp_customize->add_setting('luxury_travel_grid_post_featured_image',array(
       'default' => 'true',
       'sanitize_callback'	=> 'luxury_travel_sanitize_checkbox'
    ));
    $wp_customize->add_control('luxury_travel_grid_post_featured_image',array(
       'type' => 'checkbox',
       'label' => __('Show / Hide Featured Image','luxury-travel'),
       'section' => 'luxury_travel_grid_layout_settings'
    ));

	$wp_customize->add_setting( 'luxury_travel_grid_posts_image_shadow', array(
		'default'=> '0',
		'sanitize_callback'	=> 'sanitize_text_field'
	) );
	$wp_customize->add_control( new Luxury_Travel_WP_Customize_Range_Control( $wp_customize, 'luxury_travel_grid_posts_image_shadow', array(
		'label'  => __('Grid Post Image Shadow','luxury-travel'),
		'section'  => 'luxury_travel_grid_layout_settings',
		'description' => __('Measurement is in pixel.','luxury-travel'),
		'input_attrs' => array(
		   'min' => 0,
		   'max' => 50,
		),
    )));

	$wp_customize->add_setting( 'luxury_travel_grid_post_image_border_radius', array(
		'default'=> '0',
		'sanitize_callback'	=> 'sanitize_text_field'
	) );
	$wp_customize->add_control( new Luxury_Travel_WP_Customize_Range_Control( $wp_customize, 'luxury_travel_grid_post_image_border_radius', array(
        'label'  => __('Grid Post Image Border Radius','luxury-travel'),
        'section'  => 'luxury_travel_grid_layout_settings',
        'description' => __('Measurement is in pixel.','luxury-travel'),
        'input_attrs' => array(
            'min' => 0,
            'max' => 50,
        ),
    )));

	$wp_customize->add_setting('luxury_travel_grid_post_display_type',array(
		'default' => 'blocks',
		'sanitize_callback' => 'luxury_travel_sanitize_choices'
	));
	$wp_customize->add_control('luxury_travel_grid_post_display_type', array(
		'type' => 'select',
		'label' => __( 'Grid Post Display Type', 'luxury-travel' ),
		'section' => 'luxury_travel_grid_layout_settings',
		'choices' => array(
		   'blocks' => __('Blocks','luxury-travel'),
		   'without blocks' => __('Without Blocks','luxury-travel'),
		),
    ));

	// Button option
	$wp_customize->add_section( 'luxury_travel_button_options', array(
		'title' =>  __( 'Button Options', 'luxury-travel' ),
		'panel' => 'luxury_travel_panel_id',
	));

    $wp_customize->add_setting( 'luxury_travel_blog_button_text', array(
		'default'   => __('Read Full','luxury-travel'),
		'sanitize_callback'	=> 'sanitize_text_field'
	) );
	$wp_customize->add_control( 'luxury_travel_blog_button_text', array(
		'label' => esc_html__( 'Blog Post Button Label','luxury-travel' ),
		'section'     => 'luxury_travel_button_options',
		'type'        => 'text',
		'settings'    => 'luxury_travel_blog_button_text'
	) );

	$wp_customize->add_setting('luxury_travel_button_padding',array(
		'sanitize_callback'	=> 'esc_html'
	));
	$wp_customize->add_control('luxury_travel_button_padding',array(
		'label'	=> esc_html__('Button Padding','luxury-travel'),
		'section'=> 'luxury_travel_button_options',
		'active_callback' => 'luxury_travel_button_enabled'
	));

	$wp_customize->add_setting('luxury_travel_top_button_padding',array(
		'default'=> '',
		'sanitize_callback'	=> 'luxury_travel_sanitize_float'
	));
	$wp_customize->add_control('luxury_travel_top_button_padding',array(
		'label'	=> __('Top','luxury-travel'),
		'input_attrs' => array(
            'step'             => 1,
			'min'              => 0,
			'max'              => 50,
        ),
		'section'=> 'luxury_travel_button_options',
		'type'=> 'number',
		'active_callback' => 'luxury_travel_button_enabled'
	));

	$wp_customize->add_setting('luxury_travel_bottom_button_padding',array(
		'default'=> '',
		'sanitize_callback'	=> 'luxury_travel_sanitize_float'
	));
	$wp_customize->add_control('luxury_travel_bottom_button_padding',array(
		'label'	=> __('Bottom','luxury-travel'),
		'input_attrs' => array(
            'step'             => 1,
			'min'              => 0,
			'max'              => 50,
        ),
		'section'=> 'luxury_travel_button_options',
		'type'=> 'number',
		'active_callback' => 'luxury_travel_button_enabled'
	));

	$wp_customize->add_setting('luxury_travel_left_button_padding',array(
		'default'=> '',
		'sanitize_callback'	=> 'luxury_travel_sanitize_float'
	));
	$wp_customize->add_control('luxury_travel_left_button_padding',array(
		'label'	=> __('Left','luxury-travel'),
		'input_attrs' => array(
            'step'             => 1,
			'min'              => 0,
			'max'              => 50,
        ),
		'section'=> 'luxury_travel_button_options',
		'type'=> 'number',
		'active_callback' => 'luxury_travel_button_enabled'
	));

	$wp_customize->add_setting('luxury_travel_right_button_padding',array(
		'default'=> '',
		'sanitize_callback'	=> 'luxury_travel_sanitize_float'
	));
	$wp_customize->add_control('luxury_travel_right_button_padding',array(
		'label'	=> __('Right','luxury-travel'),
		'input_attrs' => array(
            'step'             => 1,
			'min'              => 0,
			'max'              => 50,
        ),
		'section'=> 'luxury_travel_button_options',
		'type'=> 'number',
		'active_callback' => 'luxury_travel_button_enabled'
	));

	$wp_customize->add_setting( 'luxury_travel_button_border_radius', array(
		'default'=> 0,
		'sanitize_callback'	=> 'sanitize_text_field'
	) );
	$wp_customize->add_control( new Luxury_Travel_WP_Customize_Range_Control( $wp_customize, 'luxury_travel_button_border_radius', array(
        'label'  => __('Border Radius','luxury-travel'),
        'section'  => 'luxury_travel_button_options',
        'description' => __('Measurement is in pixel.','luxury-travel'),
        'input_attrs' => array(
            'min' => 0,
            'max' => 50,
        ),
		'active_callback' => 'luxury_travel_button_enabled'
    )));

    // font size button
 	$wp_customize->add_setting( 'luxury_travel_button_font_size',array(
		'default' => '16',
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control( new luxury_travel_WP_Customize_Range_Control( $wp_customize, 'luxury_travel_button_font_size', array(
		'label'  => __('Button Font Size','luxury-travel'),
		'section'  => 'luxury_travel_button_options',
		'description' => __('Measurement is in pixel.','luxury-travel'),
		'input_attrs' => array(
		   'min' => 0,
		   'max' => 50,
		)
 	)));

 	$wp_customize->add_setting('luxury_travel_button_font_weight',array(
    'default' => '',
    'sanitize_callback' => 'luxury_travel_sanitize_choices'
	));
	$wp_customize->add_control('luxury_travel_button_font_weight',array(
	    'type' => 'select',
	    'label' => __('Button Font Weight','luxury-travel'),
	    'section' => 'luxury_travel_button_options',
	    'choices' => array(
	       '100' => __('100','luxury-travel'),
	       '200' => __('200','luxury-travel'),
	       '300' => __('300','luxury-travel'),
	       '400' => __('400','luxury-travel'),
	       '500' => __('500','luxury-travel'),
	       '600' => __('600','luxury-travel'),
	       '700' => __('700','luxury-travel'),
	       '800' => __('800','luxury-travel'),
	       '900' => __('900','luxury-travel'),
	    ),
	) );

	$wp_customize->add_setting('luxury_travel_button_text_transform',array(
        'default' => '',
        'sanitize_callback' => 'luxury_travel_sanitize_choices'
  	));
  	$wp_customize->add_control('luxury_travel_button_text_transform',array(
        'type' => 'select',
        'label' => __('Button Text transform','luxury-travel'),
        'section' => 'luxury_travel_button_options',
        'choices' => array(
            'uppercase' => __('Uppercase','luxury-travel'),
            'capitalize' => __('Capitalize','luxury-travel'),
            'lowercase' => __('lowercase','luxury-travel'),
        ),
  	) );

	// letter spacing button
	$wp_customize->add_setting( 'luxury_travel_button_letter_spacing',array(
		'default' => '0',
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control( new Luxury_Travel_WP_Customize_Range_Control( $wp_customize, 'luxury_travel_button_letter_spacing', array(
		'label'  => __('Button Letter Spacing','luxury-travel'),
		'section'  => 'luxury_travel_button_options',
		'description' => __('Measurement is in pixel.','luxury-travel'),
		'input_attrs' => array(
		   'min' => 0,
		   'max' => 50,
		)
 	)));	

    //Sidebar setting
	$wp_customize->add_section( 'luxury_travel_sidebar_options', array(
    	'title'   => __( 'Sidebar options', 'luxury-travel' ),
		'priority'   => null,
		'panel' => 'luxury_travel_panel_id'
	) );

	$wp_customize->add_setting('luxury_travel_single_page_layout',array(
        'default' => 'One Column',
        'sanitize_callback' => 'luxury_travel_sanitize_choices'
    ));
	$wp_customize->add_control('luxury_travel_single_page_layout', array(
        'type' => 'select',
        'label' => __( 'Single Page Layout', 'luxury-travel' ),
        'section' => 'luxury_travel_sidebar_options',
        'choices' => array(
            'Left Sidebar' => __('Left Sidebar','luxury-travel'),
            'Right Sidebar' => __('Right Sidebar','luxury-travel'),
            'One Column' => __('One Column','luxury-travel')
        ),
    ));

    $wp_customize->add_setting('luxury_travel_single_post_layout',array(
        'default' => 'Right Sidebar',
        'sanitize_callback' => 'luxury_travel_sanitize_choices'
    ));
	$wp_customize->add_control('luxury_travel_single_post_layout', array(
        'type' => 'select',
        'label' => __( 'Single Post Layout', 'luxury-travel' ),
        'section' => 'luxury_travel_sidebar_options',
        'choices' => array(
            'Left Sidebar' => __('Left Sidebar','luxury-travel'),
            'Right Sidebar' => __('Right Sidebar','luxury-travel'),
            'One Column' => __('One Column','luxury-travel')
        ),
    ));

	$wp_customize->add_setting( 'luxury_travel_sticky_sidebar', array(
		'default'           => false,
		'sanitize_callback' => 'luxury_travel_sanitize_checkbox',
	) );
	
	$wp_customize->add_control( 'luxury_travel_sticky_sidebar', array(
		'type'     => 'checkbox',
		'label'    => __( 'Enable Sticky Sidebar', 'luxury-travel' ),
		'section'  => 'luxury_travel_sidebar_options',
	) );

	$wp_customize->add_setting('luxury_travel_sidebar_size',array(
        'default' => 'Sidebar 1/4',
        'sanitize_callback' => 'luxury_travel_sanitize_choices'
	));
	$wp_customize->add_control('luxury_travel_sidebar_size',array(
        'type' => 'radio',
        'label' => __('Sidebar Size Option','luxury-travel'),
        'section' => 'luxury_travel_sidebar_options',
        'choices' => array(
			'Sidebar 1/4' => __('Sidebar 1/4','luxury-travel'),
            'Sidebar 1/3' => __('Sidebar 1/3','luxury-travel'),
        ),
	) );

    //Advance Options
	$wp_customize->add_section( 'luxury_travel_advance_options', array(
    	'title' => __( 'Advance Options', 'luxury-travel' ),
		'priority'   => null,
		'panel' => 'luxury_travel_panel_id'
	) );

	$wp_customize->add_setting('luxury_travel_preloader',array(
       'default' => false,
       'sanitize_callback'	=> 'luxury_travel_sanitize_checkbox'
    ));
    $wp_customize->add_control('luxury_travel_preloader',array(
       'type' => 'checkbox',
       'label' => __('Enable / Disable Preloader','luxury-travel'),
       'section' => 'luxury_travel_advance_options'
    ));

    $wp_customize->add_setting( 'luxury_travel_preloader_color', array(
	    'default' => '#333333',
	    'sanitize_callback' => 'sanitize_hex_color'
  	));
  	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luxury_travel_preloader_color', array(
  		'label' => __('Preloader Color', 'luxury-travel'),
	    'section' => 'luxury_travel_advance_options',
	    'settings' => 'luxury_travel_preloader_color',
  	)));

  	$wp_customize->add_setting( 'luxury_travel_preloader_bg_color', array(
	    'default' => '#ffffff',
	    'sanitize_callback' => 'sanitize_hex_color'
  	));
  	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luxury_travel_preloader_bg_color', array(
  		'label' => __('Preloader Background Color', 'luxury-travel'),
	    'section' => 'luxury_travel_advance_options',
	    'settings' => 'luxury_travel_preloader_bg_color',
  	)));

  	$wp_customize->add_setting('luxury_travel_preloader_bg_img',array(
		'default'	=> '',
		'sanitize_callback'	=> 'esc_url_raw',
	));
	$wp_customize->add_control( new WP_Customize_Image_Control($wp_customize,'luxury_travel_preloader_bg_img',array(
        'label' => __('Preloader Background Image','luxury-travel'),
        'section' => 'luxury_travel_advance_options'
	)));

  	$wp_customize->add_setting('luxury_travel_preloader_type',array(
        'default' => 'Square',
        'sanitize_callback' => 'luxury_travel_sanitize_choices'
	));
	$wp_customize->add_control('luxury_travel_preloader_type',array(
        'type' => 'radio',
        'label' => __('Preloader Type','luxury-travel'),
        'section' => 'luxury_travel_advance_options',
        'choices' => array(
            'Square' => __('Square','luxury-travel'),
            'Circle' => __('Circle','luxury-travel'),
        ),
	) );

	// Cursor Settings
	$wp_customize->add_setting( 'luxury_travel_enable_custom_cursor',array(
	    'default' => false,
    	'sanitize_callback'	=> 'luxury_travel_sanitize_checkbox'
  	) );
	$wp_customize->add_control('luxury_travel_enable_custom_cursor',array(
		'type' => 'checkbox',
		'label' => __( 'Show / Hide Cursor','luxury-travel' ),
		'section' => 'luxury_travel_advance_options'
	));

	$wp_customize->add_setting('luxury_travel_theme_layout_options',array(
        'default' => 'Default Theme',
        'sanitize_callback' => 'luxury_travel_sanitize_choices'
	));
	$wp_customize->add_control('luxury_travel_theme_layout_options',array(
        'type' => 'radio',
        'label' => __('Theme Layout','luxury-travel'),
        'section' => 'luxury_travel_advance_options',
        'choices' => array(
            'Default Theme' => __('Default Theme','luxury-travel'),
            'Container Theme' => __('Container Theme','luxury-travel'),
            'Box Container Theme' => __('Box Container Theme','luxury-travel'),
        ),
	) );

	$wp_customize->add_setting( 'luxury_travel_single_page_breadcrumb',array(
		'default' => true,
      	'sanitize_callback'	=> 'luxury_travel_sanitize_checkbox'
    ) );
    $wp_customize->add_control('luxury_travel_single_page_breadcrumb',array(
    	'type' => 'checkbox',
        'label' => __( 'Show / Hide Single Page Breadcrumb','luxury-travel' ),
        'section' => 'luxury_travel_advance_options'
    ));

	$wp_customize->add_setting('luxury_travel_single_page_breadcrumb_alignment',array(
    	'default' => 'Left',
        'sanitize_callback' => 'luxury_travel_sanitize_choices'
	));
	$wp_customize->add_control('luxury_travel_single_page_breadcrumb_alignment',array(
        'type' => 'radio',
        'label' => __('Breadcrumb Alignment','luxury-travel'),
        'section' => 'luxury_travel_advance_options',
        'choices' => array(
            'Center' => __('Center','luxury-travel'),
            'Left' => __('Left','luxury-travel'),
            'Right' => __('Right','luxury-travel'),
        ),
	) );

    $wp_customize->add_setting('luxury_travel_breadcrumb_color', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'luxury_travel_breadcrumb_color', array(
		'label'    => __('Breadcrumb Color', 'luxury-travel'),
		'section'  => 'luxury_travel_advance_options',
	)));

	$wp_customize->add_setting('luxury_travel_breadcrumb_background_color', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'luxury_travel_breadcrumb_background_color', array(
		'label'    => __('Breadcrumb Background Color', 'luxury-travel'),
		'section'  => 'luxury_travel_advance_options',
	)));

	$wp_customize->add_setting('luxury_travel_breadcrumb_hover_color', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'luxury_travel_breadcrumb_hover_color', array(
		'label'    => __('Breadcrumb Hover Color', 'luxury-travel'),
		'section'  => 'luxury_travel_advance_options',
	)));

	$wp_customize->add_setting('luxury_travel_breadcrumb_hover_bg_color', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'luxury_travel_breadcrumb_hover_bg_color', array(
		'label'    => __('Breadcrumb Hover Background Color', 'luxury-travel'),
		'section'  => 'luxury_travel_advance_options',
	)));

	//404 Page Option
	$wp_customize->add_section('luxury_travel_404_settings',array(
		'title'	=> __('404 Page & Search Result Settings','luxury-travel'),
		'priority'	=> null,
		'panel' => 'luxury_travel_panel_id',
	));

	$wp_customize->add_setting('luxury_travel_404_title',array(
		'default'	=> '',
		'sanitize_callback'	=> 'sanitize_text_field'
	));	
	$wp_customize->add_control('luxury_travel_404_title',array(
		'label'	=> __('404 Title','luxury-travel'),
		'section'	=> 'luxury_travel_404_settings',
		'type'		=> 'text'
	));	

	$wp_customize->add_setting('luxury_travel_404_button_label',array(
		'default'	=> '',
		'sanitize_callback'	=> 'sanitize_text_field'
	));	
	$wp_customize->add_control('luxury_travel_404_button_label',array(
		'label'	=> __('404 button Label','luxury-travel'),
		'section'	=> 'luxury_travel_404_settings',
		'type'		=> 'text'
	));	

	$wp_customize->add_setting('luxury_travel_search_result_title',array(
		'default'	=> '',
		'sanitize_callback'	=> 'sanitize_text_field'
	));	
	$wp_customize->add_control('luxury_travel_search_result_title',array(
		'label'	=> __('No Search Result Title','luxury-travel'),
		'section'	=> 'luxury_travel_404_settings',
		'type'		=> 'text'
	));	

	$wp_customize->add_setting('luxury_travel_search_result_text',array(
		'default'	=> '',
		'sanitize_callback'	=> 'sanitize_text_field'
	));	
	$wp_customize->add_control('luxury_travel_search_result_text',array(
		'label'	=> __('No Search Result Text','luxury-travel'),
		'section'	=> 'luxury_travel_404_settings',
		'type'		=> 'text'
	));	

	//Responsive Settings
	$wp_customize->add_section('luxury_travel_responsive_options',array(
		'title'	=> __('Responsive Options','luxury-travel'),
		'panel' => 'luxury_travel_panel_id'
	));

	$wp_customize->add_setting('luxury_travel_menu_open_icon',array(
		'default'	=> 'fas fa-bars',
		'sanitize_callback'	=> 'sanitize_text_field'
	));	
	$wp_customize->add_control(new Luxury_Travel_Icon_Selector(
        $wp_customize,'luxury_travel_menu_open_icon',array(
		'label'	=> __('Menu Open Icon','luxury-travel'),
		'section' => 'luxury_travel_responsive_options',
		'type'	  => 'icon',
	)));

	$wp_customize->add_setting('luxury_travel_mobile_menu_label',array(
       'default' => __('Menu','luxury-travel'),
       'sanitize_callback'	=> 'sanitize_text_field'
    ));
    $wp_customize->add_control('luxury_travel_mobile_menu_label',array(
       'type' => 'text',
       'label' => __('Mobile Menu Label','luxury-travel'),
       'section' => 'luxury_travel_responsive_options'
    ));

	$wp_customize->add_setting('luxury_travel_menu_close_icon',array(
		'default'	=> 'fas fa-times-circle',
		'sanitize_callback'	=> 'sanitize_text_field'
	));	
	$wp_customize->add_control(new Luxury_Travel_Icon_Selector(
        $wp_customize,'luxury_travel_menu_close_icon',array(
		'label'	=> __('Menu Close Icon','luxury-travel'),
		'section' => 'luxury_travel_responsive_options',
		'type'	  => 'icon',
	)));

	$wp_customize->add_setting('luxury_travel_close_menu_label',array(
       'default' => __('Close Menu','luxury-travel'),
       'sanitize_callback'	=> 'sanitize_text_field'
    ));
    $wp_customize->add_control('luxury_travel_close_menu_label',array(
       'type' => 'text',
       'label' => __('Close Menu Label','luxury-travel'),
       'section' => 'luxury_travel_responsive_options'
    ));

    //toggle button bg-color
	$wp_customize->add_setting( 'luxury_travel_toggle_button_bg_color_settings', array(
	    'default' => '',
	    'sanitize_callback' => 'sanitize_hex_color'
  	));
  	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luxury_travel_toggle_button_bg_color_settings', array(
  		'label' => __('Toggle Button Bg Color', 'luxury-travel'),
	    'section' => 'luxury_travel_responsive_options',
	    'settings' => 'luxury_travel_toggle_button_bg_color_settings',
  	)));

    $wp_customize->add_setting('luxury_travel_sticky_header_responsive',array(
        'default' => false,
        'sanitize_callback'	=> 'luxury_travel_sanitize_checkbox'
	));
	$wp_customize->add_control('luxury_travel_sticky_header_responsive',array(
     	'type' => 'checkbox',
      	'label' => __('Enable Sticky Header','luxury-travel'),
      	'section' => 'luxury_travel_responsive_options',
	));

    $wp_customize->add_setting('luxury_travel_preloader_responsive',array(
        'default' => false,
        'sanitize_callback'	=> 'luxury_travel_sanitize_checkbox'
	));
	$wp_customize->add_control('luxury_travel_preloader_responsive',array(
     	'type' => 'checkbox',
      	'label' => __('Enable Preloader','luxury-travel'),
      	'section' => 'luxury_travel_responsive_options',
	));

	$wp_customize->add_setting('luxury_travel_slider_responsive',array(
        'default' => true,
        'sanitize_callback'	=> 'luxury_travel_sanitize_checkbox'
	));
	$wp_customize->add_control('luxury_travel_slider_responsive',array(
     	'type' => 'checkbox',
      	'label' => __('Enable Slider','luxury-travel'),
      	'section' => 'luxury_travel_responsive_options',
	));

	$wp_customize->add_setting('luxury_travel_slider_button_responsive',array(
        'default' => true,
        'sanitize_callback'	=> 'luxury_travel_sanitize_checkbox'
	));
	$wp_customize->add_control('luxury_travel_slider_button_responsive',array(
     	'type' => 'checkbox',
      	'label' => __('Enable Slider Button','luxury-travel'),
      	'section' => 'luxury_travel_responsive_options',
	));

	$wp_customize->add_setting('luxury_travel_backtotop_responsive',array(
        'default' => true,
        'sanitize_callback'	=> 'luxury_travel_sanitize_checkbox'
	));
	$wp_customize->add_control('luxury_travel_backtotop_responsive',array(
     	'type' => 'checkbox',
      	'label' => __('Enable Back to Top','luxury-travel'),
      	'section' => 'luxury_travel_responsive_options',
	));

	$wp_customize->add_setting( 'luxury_travel_sidebar_hide_show',array(
      'default' => true,
      'sanitize_callback'	=> 'luxury_travel_sanitize_checkbox'
    ));
    $wp_customize->add_control('luxury_travel_sidebar_hide_show',array(
      'type' => 'checkbox',
      'label' => esc_html__( 'Enable Sidebar','luxury-travel' ),
      'section' => 'luxury_travel_responsive_options'
    ));

	//Woocommerce Options
	$wp_customize->add_section('luxury_travel_woocommerce',array(
		'title'	=> __('WooCommerce Options','luxury-travel'),
		'panel' => 'luxury_travel_panel_id',
	));

	$wp_customize->add_setting('luxury_travel_shop_page_sidebar',array(
       'default' => false,
       'sanitize_callback'	=> 'luxury_travel_sanitize_checkbox'
    ));
    $wp_customize->add_control('luxury_travel_shop_page_sidebar',array(
       'type' => 'checkbox',
       'label' => __('Enable Shop Page Sidebar','luxury-travel'),
       'section' => 'luxury_travel_woocommerce'
    ));

    // shop page sidebar alignment
    $wp_customize->add_setting('luxury_travel_shop_page_layout', array(
		'default'           => 'Right Sidebar',
		'sanitize_callback' => 'luxury_travel_sanitize_choices',
	));
	$wp_customize->add_control('luxury_travel_shop_page_layout',array(
		'type'           => 'radio',
		'label'          => __('Shop Page Layout', 'luxury-travel'),
		'section'        => 'luxury_travel_woocommerce',
		'choices'        => array(
			'Left Sidebar'  => __('Left Sidebar', 'luxury-travel'),
			'Right Sidebar' => __('Right Sidebar', 'luxury-travel'),
		),
	));

    $wp_customize->add_setting('luxury_travel_shop_page_navigation',array(
       'default' => true,
       'sanitize_callback' => 'luxury_travel_sanitize_checkbox'
    ));
    $wp_customize->add_control('luxury_travel_shop_page_navigation',array(
       'type' => 'checkbox',
       'label' => __('Enable Shop Page Pagination','luxury-travel'),
       'section' => 'luxury_travel_woocommerce'
    ));

    $wp_customize->add_setting('luxury_travel_single_product_sidebar',array(
       'default' => false,
       'sanitize_callback'	=> 'luxury_travel_sanitize_checkbox'
    ));
    $wp_customize->add_control('luxury_travel_single_product_sidebar',array(
       'type' => 'checkbox',
       'label' => __('Enable Single Product Page Sidebar','luxury-travel'),
       'section' => 'luxury_travel_woocommerce'
    ));

    // Single product Page sidebar alignment
    $wp_customize->add_setting('luxury_travel_single_product_page_layout', array(
		'default'           => 'Right Sidebar',
		'sanitize_callback' => 'luxury_travel_sanitize_choices',
	));
	$wp_customize->add_control('luxury_travel_single_product_page_layout',array(
		'type'           => 'radio',
		'label'          => __('Single Product Page Layout', 'luxury-travel'),
		'section'        => 'luxury_travel_woocommerce',
		'choices'        => array(
			'Left Sidebar'  => __('Left Sidebar', 'luxury-travel'),
			'Right Sidebar' => __('Right Sidebar', 'luxury-travel'),
		),
	));

    $wp_customize->add_setting('luxury_travel_single_related_products',array(
       'default' => true,
       'sanitize_callback' => 'luxury_travel_sanitize_checkbox'
    ));
    $wp_customize->add_control('luxury_travel_single_related_products',array(
       'type' => 'checkbox',
       'label' => __('Enable Related Products','luxury-travel'),
       'section' => 'luxury_travel_woocommerce'
    ));

    $wp_customize->add_setting('luxury_travel_products_per_page',array(
		'default'=> '9',
		'sanitize_callback'	=> 'luxury_travel_sanitize_float'
	));
	$wp_customize->add_control('luxury_travel_products_per_page',array(
		'label'	=> __('Products Per Page','luxury-travel'),
		'input_attrs' => array(
            'step'             => 1,
			'min'              => 0,
			'max'              => 50,
        ),
		'section'=> 'luxury_travel_woocommerce',
		'type'=> 'number',
	));

	$wp_customize->add_setting('luxury_travel_products_per_row',array(
		'default'=> '3',
		'sanitize_callback'	=> 'luxury_travel_sanitize_choices'
	));
	$wp_customize->add_control('luxury_travel_products_per_row',array(
		'label'	=> __('Products Per Row','luxury-travel'),
		'choices' => array(
            '2' => '2',
			'3' => '3',
			'4' => '4',
        ),
		'section'=> 'luxury_travel_woocommerce',
		'type'=> 'select',
	));

    $wp_customize->add_setting('luxury_travel_product_padding',array(
		'sanitize_callback'	=> 'esc_html'
	));
	$wp_customize->add_control('luxury_travel_product_padding',array(
		'label'	=> esc_html__('Product Padding','luxury-travel'),
		'section'=> 'luxury_travel_woocommerce',
	));

	$wp_customize->add_setting( 'luxury_travel_product_top_padding',array(
		'default' => 0,
		'sanitize_callback' => 'luxury_travel_sanitize_float'
	));
	$wp_customize->add_control('luxury_travel_product_top_padding', array(
		'label' => esc_html__( 'Top','luxury-travel' ),
		'type' => 'number',
		'section' => 'luxury_travel_woocommerce',
		'input_attrs' => array(
			'min' => 0,
			'max' => 50,
			'step' => 1,
		),
	));

	$wp_customize->add_setting('luxury_travel_product_bottom_padding',array(
		'default' => 0,
		'sanitize_callback' => 'luxury_travel_sanitize_float'
	));
	$wp_customize->add_control('luxury_travel_product_bottom_padding', array(
		'label' => esc_html__( 'Bottom','luxury-travel' ),
		'type' => 'number',
		'section' => 'luxury_travel_woocommerce',
		'input_attrs' => array(
			'min' => 0,
			'max' => 50,
			'step' => 1,
		),
	));

	$wp_customize->add_setting('luxury_travel_product_left_padding',array(
		'default' => 0,
		'sanitize_callback' => 'luxury_travel_sanitize_float'
	));
	$wp_customize->add_control('luxury_travel_product_left_padding', array(
		'label' => esc_html__( 'Left','luxury-travel' ),
		'type' => 'number',
		'section' => 'luxury_travel_woocommerce',
		'input_attrs' => array(
			'min' => 0,
			'max' => 50,
			'step' => 1,
		),
	));

	$wp_customize->add_setting( 'luxury_travel_product_right_padding',array(
		'default' => 0,
		'sanitize_callback' => 'luxury_travel_sanitize_float'
	));
	$wp_customize->add_control('luxury_travel_product_right_padding', array(
		'label' => esc_html__( 'Right','luxury-travel' ),
		'type' => 'number',
		'section' => 'luxury_travel_woocommerce',
		'input_attrs' => array(
			'min' => 0,
			'max' => 50,
			'step' => 1,
		),
	));

	$wp_customize->add_setting( 'luxury_travel_product_border_radius',array(
		'default' => '0',
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control( new Luxury_Travel_WP_Customize_Range_Control( $wp_customize, 'luxury_travel_product_border_radius', array(
        'label'  => __('Product Border Radius','luxury-travel'),
        'section'  => 'luxury_travel_woocommerce',
        'description' => __('Measurement is in pixel.','luxury-travel'),
        'input_attrs' => array(
            'min' => 0,
            'max' => 50,
        )
    )));

	$wp_customize->add_setting( 'luxury_travel_product_box_shadow',array(
		'default' => '0',
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control( new Luxury_Travel_WP_Customize_Range_Control( $wp_customize, 'luxury_travel_product_box_shadow', array(
		'label'  => __('Product Box Shadow','luxury-travel'),
		'section'  => 'luxury_travel_woocommerce',
		'description' => __('Measurement is in pixel.','luxury-travel'),
		'input_attrs' => array(
		   'min' => 0,
		   'max' => 50,
		)
    )));		

	$wp_customize->add_setting('luxury_travel_product_button_padding',array(
		'sanitize_callback'	=> 'esc_html'
	));
	$wp_customize->add_control('luxury_travel_product_button_padding',array(
		'label'	=> esc_html__('Product Button Padding','luxury-travel'),
		'section'=> 'luxury_travel_woocommerce',
	));

	$wp_customize->add_setting( 'luxury_travel_product_button_top_padding',array(
		'default' => 10,
		'sanitize_callback' => 'luxury_travel_sanitize_float'
	));
	$wp_customize->add_control('luxury_travel_product_button_top_padding', array(
		'label' => esc_html__( 'Top','luxury-travel' ),
		'type' => 'number',
		'section' => 'luxury_travel_woocommerce',
		'input_attrs' => array(
			'min' => 0,
			'max' => 50,
			'step' => 1,
		),
	));

	$wp_customize->add_setting('luxury_travel_product_button_bottom_padding',array(
		'default' => 10,
		'sanitize_callback' => 'luxury_travel_sanitize_float'
	));
	$wp_customize->add_control('luxury_travel_product_button_bottom_padding', array(
		'label' => esc_html__( 'Bottom','luxury-travel' ),
		'type' => 'number',
		'section' => 'luxury_travel_woocommerce',
		'input_attrs' => array(
			'min' => 0,
			'max' => 50,
			'step' => 1,
		),
	));

	$wp_customize->add_setting('luxury_travel_product_button_left_padding',array(
		'default' => 15,
		'sanitize_callback' => 'luxury_travel_sanitize_float'
	));
	$wp_customize->add_control('luxury_travel_product_button_left_padding', array(
		'label' => esc_html__( 'Left','luxury-travel' ),
		'type' => 'number',
		'section' => 'luxury_travel_woocommerce',
		'input_attrs' => array(
			'min' => 0,
			'max' => 50,
			'step' => 1,
		),
	));

	$wp_customize->add_setting( 'luxury_travel_product_button_right_padding',array(
		'default' => 15,
		'sanitize_callback' => 'luxury_travel_sanitize_float'
	));
	$wp_customize->add_control('luxury_travel_product_button_right_padding', array(
		'label' => esc_html__( 'Right','luxury-travel' ),
		'type' => 'number',
		'section' => 'luxury_travel_woocommerce',
		'input_attrs' => array(
			'min' => 0,
			'max' => 50,
			'step' => 1,
		),
	));

	$wp_customize->add_setting( 'luxury_travel_product_button_border_radius',array(
		'default' => '0',
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control( new Luxury_Travel_WP_Customize_Range_Control( $wp_customize, 'luxury_travel_product_button_border_radius', array(
        'label'  => __('Product Button Border Radius','luxury-travel'),
        'section'  => 'luxury_travel_woocommerce',
        'description' => __('Measurement is in pixel.','luxury-travel'),
        'input_attrs' => array(
            'min' => 0,
            'max' => 50,
        )
    )));

    $wp_customize->add_setting('luxury_travel_product_sale_position',array(
        'default' => 'Right',
        'sanitize_callback' => 'luxury_travel_sanitize_choices'
	));
	$wp_customize->add_control('luxury_travel_product_sale_position',array(
        'type' => 'radio',
        'label' => __('Product Sale Position','luxury-travel'),
        'section' => 'luxury_travel_woocommerce',
        'choices' => array(
            'Left' => __('Left','luxury-travel'),
            'Right' => __('Right','luxury-travel'),
        ),
	) );

	$wp_customize->add_setting( 'luxury_travel_product_sale_font_size',array(
		'default' => '12',
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control( new Luxury_Travel_WP_Customize_Range_Control( $wp_customize, 'luxury_travel_product_sale_font_size', array(
        'label'  => __('Product Sale Font Size','luxury-travel'),
        'section'  => 'luxury_travel_woocommerce',
        'description' => __('Measurement is in pixel.','luxury-travel'),
        'input_attrs' => array(
            'min' => 0,
            'max' => 50,
        )
    )));

    $wp_customize->add_setting('luxury_travel_product_sale_padding',array(
		'sanitize_callback'	=> 'esc_html'
	));
	$wp_customize->add_control('luxury_travel_product_sale_padding',array(
		'label'	=> esc_html__('Product Sale Padding','luxury-travel'),
		'section'=> 'luxury_travel_woocommerce',
	));

	$wp_customize->add_setting( 'luxury_travel_product_sale_top_padding',array(
		'default' => 0,
		'sanitize_callback' => 'luxury_travel_sanitize_float'
	));
	$wp_customize->add_control('luxury_travel_product_sale_top_padding', array(
		'label' => esc_html__( 'Top','luxury-travel' ),
		'type' => 'number',
		'section' => 'luxury_travel_woocommerce',
		'input_attrs' => array(
			'min' => 0,
			'max' => 50,
			'step' => 1,
		),
	));

	$wp_customize->add_setting('luxury_travel_product_sale_bottom_padding',array(
		'default' => 0,
		'sanitize_callback' => 'luxury_travel_sanitize_float'
	));
	$wp_customize->add_control('luxury_travel_product_sale_bottom_padding', array(
		'label' => esc_html__( 'Bottom','luxury-travel' ),
		'type' => 'number',
		'section' => 'luxury_travel_woocommerce',
		'input_attrs' => array(
			'min' => 0,
			'max' => 50,
			'step' => 1,
		),
	));

	$wp_customize->add_setting('luxury_travel_product_sale_left_padding',array(
		'default' => 0,
		'sanitize_callback' => 'luxury_travel_sanitize_float'
	));
	$wp_customize->add_control('luxury_travel_product_sale_left_padding', array(
		'label' => esc_html__( 'Left','luxury-travel' ),
		'type' => 'number',
		'section' => 'luxury_travel_woocommerce',
		'input_attrs' => array(
			'min' => 0,
			'max' => 50,
			'step' => 1,
		),
	));

	$wp_customize->add_setting('luxury_travel_product_sale_right_padding',array(
		'default' => 0,
		'sanitize_callback' => 'luxury_travel_sanitize_float'
	));
	$wp_customize->add_control('luxury_travel_product_sale_right_padding', array(
		'label' => esc_html__( 'Right','luxury-travel' ),
		'type' => 'number',
		'section' => 'luxury_travel_woocommerce',
		'input_attrs' => array(
			'min' => 0,
			'max' => 50,
			'step' => 1,
		),
	));

	$wp_customize->add_setting( 'luxury_travel_product_sale_border_radius',array(
		'default' => '0',
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control( new Luxury_Travel_WP_Customize_Range_Control( $wp_customize, 'luxury_travel_product_sale_border_radius', array(
        'label'  => __('Product Sale Border Radius','luxury-travel'),
        'section'  => 'luxury_travel_woocommerce',
        'description' => __('Measurement is in pixel.','luxury-travel'),
        'input_attrs' => array(
            'min' => 0,
            'max' => 50,
        )
    )));

	//footer text
	$wp_customize->add_section('luxury_travel_footer_section',array(
		'title'	=> __('Footer Section','luxury-travel'),
		'panel' => 'luxury_travel_panel_id'
	));

	$wp_customize->add_setting('luxury_travel_hide_scroll',array(
        'default' => 'true',
        'sanitize_callback'	=> 'luxury_travel_sanitize_checkbox'
	));
	$wp_customize->add_control('luxury_travel_hide_scroll',array(
     	'type' => 'checkbox',
      	'label' => __('Show / Hide Back To Top','luxury-travel'),
      	'section' => 'luxury_travel_footer_section',
	));

	$wp_customize->add_setting('luxury_travel_back_to_top',array(
        'default' => 'Right',
        'sanitize_callback' => 'luxury_travel_sanitize_choices'
	));
	$wp_customize->add_control('luxury_travel_back_to_top',array(
        'type' => 'radio',
        'label' => __('Back to Top Alignment','luxury-travel'),
        'section' => 'luxury_travel_footer_section',
        'choices' => array(
            'Left' => __('Left','luxury-travel'),
            'Right' => __('Right','luxury-travel'),
            'Center' => __('Center','luxury-travel'),
        ),
	) );

	$wp_customize->add_setting('luxury_travel_back_to_top_color', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'luxury_travel_back_to_top_color', array(
		'label'    => __('Back To Top Color', 'luxury-travel'),
		'section'  => 'luxury_travel_footer_section',
	)));		

	$wp_customize->add_setting('luxury_travel_back_to_top_text_color', array(
		'default'           => '#fff',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'luxury_travel_back_to_top_text_color', array(
		'label'    => __('Back To Top Text Color', 'luxury-travel'),
		'section'  => 'luxury_travel_footer_section',
	)));

	$wp_customize->add_setting('luxury_travel_back_to_top_hover_color', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'luxury_travel_back_to_top_hover_color', array(
		'label'    => __('Back to Top Hover Color', 'luxury-travel'),
		'section'  => 'luxury_travel_footer_section',
	)));

	$wp_customize->add_setting( 'luxury_travel_footer_hide_show',array(
      'default' => 'true',
      'sanitize_callback' => 'luxury_travel_sanitize_checkbox'
    ));
    $wp_customize->add_control('luxury_travel_footer_hide_show',array(
    	'type' => 'checkbox',
      'label' => esc_html__( 'Show / Hide Footer','luxury-travel' ),
      'section' => 'luxury_travel_footer_section'
    ));

	$wp_customize->add_setting('luxury_travel_footer_bg_color', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'luxury_travel_footer_bg_color', array(
		'label'    => __('Footer Background Color', 'luxury-travel'),
		'section'  => 'luxury_travel_footer_section',
	)));

	$wp_customize->add_setting('luxury_travel_footer_bg_image',array(
		'default'	=> '',
		'sanitize_callback'	=> 'esc_url_raw',
	));
	$wp_customize->add_control( new WP_Customize_Image_Control($wp_customize,'luxury_travel_footer_bg_image',array(
        'label' => __('Footer Background Image','luxury-travel'),
        'section' => 'luxury_travel_footer_section'
	)));

	$wp_customize->add_setting('luxury_travel_footer_img_position',array(
		'default' => 'center center',
		'transport' => 'refresh',
		'sanitize_callback' => 'luxury_travel_sanitize_choices'
	));
	$wp_customize->add_control('luxury_travel_footer_img_position',array(
		  'type' => 'select',
		  'label' => __('Footer Image Position','luxury-travel'),
		  'section' => 'luxury_travel_footer_section',
		  'choices' 	=> array(
			  'left top' 		=> esc_html__( 'Top Left', 'luxury-travel' ),
			  'center top'   => esc_html__( 'Top', 'luxury-travel' ),
			  'right top'   => esc_html__( 'Top Right', 'luxury-travel' ),
			  'left center'   => esc_html__( 'Left', 'luxury-travel' ),
			  'center center'   => esc_html__( 'Center', 'luxury-travel' ),
			  'right center'   => esc_html__( 'Right', 'luxury-travel' ),
			  'left bottom'   => esc_html__( 'Bottom Left', 'luxury-travel' ),
			  'center bottom'   => esc_html__( 'Bottom', 'luxury-travel' ),
			  'right bottom'   => esc_html__( 'Bottom Right', 'luxury-travel' ),
		  ),
	));

	$wp_customize->add_setting('luxury_travel_footer_attatchment',array(
		'default'=> 'scroll',
		'sanitize_callback'	=> 'luxury_travel_sanitize_choices'
	));
	$wp_customize->add_control('luxury_travel_footer_attatchment',array(
		'type' => 'select',
		'label'	=> __('Footer Background Attatchment','luxury-travel'),
		'choices' => array(
            'fixed' => __('fixed','luxury-travel'),
            'scroll' => __('scroll','luxury-travel'),
        ),
		'section'=> 'luxury_travel_footer_section',
	));		

	// footer padding
	$wp_customize->add_setting('luxury_travel_footer_padding',array(
		'default'=> '',
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('luxury_travel_footer_padding',array(
		'label' => __('Footer Top Bottom Padding','luxury-travel'),
		'description' => __('Enter a value in pixels. Example:20px','luxury-travel'),
		'input_attrs' => array(
		  'placeholder' => __( '10px', 'luxury-travel' ),
		),
		'section'=> 'luxury_travel_footer_section',
		'type'=> 'text'
	));

	$wp_customize->add_setting('luxury_travel_footer_widget',array(
        'default'           => '4',
        'sanitize_callback' => 'luxury_travel_sanitize_choices',
    ));
    $wp_customize->add_control('luxury_travel_footer_widget',array(
        'type'        => 'radio',
        'label'       => __('No. of Footer columns', 'luxury-travel'),
        'section'     => 'luxury_travel_footer_section',
        'description' => __('Select the number of footer columns and add your widgets in the footer.', 'luxury-travel'),
        'choices' => array(
            '1'     => __('One column', 'luxury-travel'),
            '2'     => __('Two columns', 'luxury-travel'),
            '3'     => __('Three columns', 'luxury-travel'),
            '4'     => __('Four columns', 'luxury-travel')
        ),
    )); 

    $wp_customize->add_setting('luxury_travel_widgets_heading_fontsize',array(
		'default'	=> 30,
		'sanitize_callback'	=> 'luxury_travel_sanitize_float',
	));	
	$wp_customize->add_control('luxury_travel_widgets_heading_fontsize',array(
		'label'	=> __('Footer Widgets Heading Font Size','luxury-travel'),
		'section'	=> 'luxury_travel_footer_section',
		'type'		=> 'number'
	));

	$wp_customize->add_setting('luxury_travel_widgets_heading_font_weight',array(
        'default' => '',
        'sanitize_callback' => 'luxury_travel_sanitize_choices'
    ));
    $wp_customize->add_control('luxury_travel_widgets_heading_font_weight',array(
        'type' => 'select',
        'label' => __('Footer Widgets Heading Font Weight','luxury-travel'),
        'section' => 'luxury_travel_footer_section',
        'choices' => array(
            '100' => __('100','luxury-travel'),
            '200' => __('200','luxury-travel'),
            '300' => __('300','luxury-travel'),
            '400' => __('400','luxury-travel'),
            '500' => __('500','luxury-travel'),
            '600' => __('600','luxury-travel'),
            '700' => __('700','luxury-travel'),
            '800' => __('800','luxury-travel'),
            '900' => __('900','luxury-travel'),
        ),
	) );

    $wp_customize->add_setting('luxury_travel_footer_widgets_heading',array(
    'default' => 'Left',
    'transport' => 'refresh',
    'sanitize_callback' => 'luxury_travel_sanitize_choices'
	));
	$wp_customize->add_control('luxury_travel_footer_widgets_heading',array(
    'type' => 'select',
    'label' => __('Footer Widget Heading Alignment','luxury-travel'),
    'section' => 'luxury_travel_footer_section',
    'choices' => array(
    	'Left' => __('Left','luxury-travel'),
        'Center' => __('Center','luxury-travel'),
        'Right' => __('Right','luxury-travel')
      ),
	) );

	$wp_customize->add_setting('luxury_travel_footer_text_tranform',array(
		'default' => 'Capitalize',
		'sanitize_callback' => 'luxury_travel_sanitize_choices'
 	));
 	$wp_customize->add_control('luxury_travel_footer_text_tranform',array(
		'type' => 'select',
		'label' => __('Footer Widget Heading Text Transform','luxury-travel'),
		'section' => 'luxury_travel_footer_section',
		'choices' => array(
		   'Uppercase' => __('Uppercase','luxury-travel'),
		   'Lowercase' => __('Lowercase','luxury-travel'),
		   'Capitalize' => __('Capitalize','luxury-travel'),
		),
	) );	
	
	$wp_customize->add_setting('luxury_travel_widgets_heading_letter_spacing',array(
		'default'	=> '',
		'sanitize_callback'	=> 'luxury_travel_sanitize_float',
	));	
	$wp_customize->add_control('luxury_travel_widgets_heading_letter_spacing',array(
		'label'	=> __('Footer Widgets Heading Letter Spacing','luxury-travel'),
		'section'	=> 'luxury_travel_footer_section',
		'type'		=> 'number'
	));		

	$wp_customize->add_setting('luxury_travel_footer_widgets_content',array(
    'default' => 'Left',
    'transport' => 'refresh',
    'sanitize_callback' => 'luxury_travel_sanitize_choices'
	));
	$wp_customize->add_control('luxury_travel_footer_widgets_content',array(
    'type' => 'select',
    'label' => __('Footer Widget Content Alignment','luxury-travel'),
    'section' => 'luxury_travel_footer_section',
    'choices' => array(
    	'Left' => __('Left','luxury-travel'),
        'Center' => __('Center','luxury-travel'),
        'Right' => __('Right','luxury-travel')
        ),
	) );

	$wp_customize->add_setting('luxury_travel_footer_template',array(
		'default'	=> esc_html('luxury_travel-footer-one'),
		'sanitize_callback'	=> 'luxury_travel_sanitize_choices'	
	));
	$wp_customize->add_control('luxury_travel_footer_template',array(
			'label'	=> esc_html__('Footer style','luxury-travel'),
			'section'	=> 'luxury_travel_footer_section',
			'setting'	=> 'luxury_travel_footer_template',
			'type' => 'select',
			'choices' => array(
				'luxury_travel-footer-one' => esc_html__('Style 1', 'luxury-travel'),
				'luxury_travel-footer-two' => esc_html__('Style 2', 'luxury-travel'),
				'luxury_travel-footer-three' => esc_html__('Style 3', 'luxury-travel'),
				'luxury_travel-footer-four' => esc_html__('Style 4', 'luxury-travel'),
				'luxury_travel-footer-five' => esc_html__('Style 5', 'luxury-travel'),
				)
	));			

    $wp_customize->add_setting( 'luxury_travel_copyright_hide_show',array(
      'default' => 'true',
      'sanitize_callback' => 'luxury_travel_sanitize_checkbox'
    ));
    $wp_customize->add_control('luxury_travel_copyright_hide_show',array(
    	'type' => 'checkbox',
      'label' => esc_html__( 'Show / Hide Copyright','luxury-travel' ),
      'section' => 'luxury_travel_footer_section'
    ));

    $wp_customize->add_setting('luxury_travel_copyright_bg_color', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'luxury_travel_copyright_bg_color', array(
		'label'    => __('Copyright Background Color', 'luxury-travel'),
		'section'  => 'luxury_travel_footer_section',
	)));

	$wp_customize->add_setting('luxury_travel_copyright_color', array(
		'default'           => '#fff',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'luxury_travel_copyright_color', array(
		'label'    => __('Copyright Color', 'luxury-travel'),
		'section'  => 'luxury_travel_footer_section',
	)));

    $wp_customize->add_setting('luxury_travel_copyright_padding',array(
		'sanitize_callback'	=> 'esc_html'
	));
	$wp_customize->add_control('luxury_travel_copyright_padding',array(
		'label'	=> esc_html__('Copyright Padding','luxury-travel'),
		'section'=> 'luxury_travel_footer_section',
	));

    $wp_customize->add_setting('luxury_travel_top_copyright_padding',array(
		'default'=> '',
		'sanitize_callback'	=> 'luxury_travel_sanitize_float'
	));
	$wp_customize->add_control('luxury_travel_top_copyright_padding',array(
		'description'	=> __('Top','luxury-travel'),
		'input_attrs' => array(
            'step' => 1,
			'min' => 0,
			'max' => 50,
        ),
		'section'=> 'luxury_travel_footer_section',
		'type'=> 'number'
	));

	$wp_customize->add_setting('luxury_travel_bottom_copyright_padding',array(
		'default'=> '',
		'sanitize_callback'	=> 'luxury_travel_sanitize_float'
	));
	$wp_customize->add_control('luxury_travel_bottom_copyright_padding',array(
		'description'	=> __('Bottom','luxury-travel'),
		'input_attrs' => array(
            'step' => 1,
			'min' => 0,
			'max' => 50,
        ),
		'section'=> 'luxury_travel_footer_section',
		'type'=> 'number'
	));

	$wp_customize->add_setting('luxury_travel_copyright_alignment',array(
        'default' => 'center',
        'sanitize_callback' => 'luxury_travel_sanitize_choices'
	));
	$wp_customize->add_control('luxury_travel_copyright_alignment',array(
        'type' => 'radio',
        'label' => __('Copyright Alignment','luxury-travel'),
        'section' => 'luxury_travel_footer_section',
        'choices' => array(
            'left' => __('Left','luxury-travel'),
            'right' => __('Right','luxury-travel'),
            'center' => __('Center','luxury-travel'),
        ),
	) );

	$wp_customize->add_setting( 'luxury_travel_copyright_font_size', array(
		'default'=> '15',
		'sanitize_callback'	=> 'sanitize_text_field'
	) );
	$wp_customize->add_control( new Luxury_Travel_WP_Customize_Range_Control( $wp_customize, 'luxury_travel_copyright_font_size', array(
        'label'  => __('Copyright Font Size','luxury-travel'),
        'section'  => 'luxury_travel_footer_section',
        'description' => __('Measurement is in pixel.','luxury-travel'),
        'input_attrs' => array(
            'min' => 0,
            'max' => 50,
        )
    )));
	
	$wp_customize->add_setting('luxury_travel_text',array(
		'default'	=> '',
		'sanitize_callback'	=> 'sanitize_text_field'
	));	
	$wp_customize->add_control('luxury_travel_text',array(
		'label'	=> __('Copyright Text','luxury-travel'),
		'description'	=> __('Add some text for footer like copyright etc.','luxury-travel'),
		'section'	=> 'luxury_travel_footer_section',
		'type'		=> 'text'
	));	

	// Copyright Sticky //
	$wp_customize->add_setting( 'luxury_travel_copyright_sticky',array(
      'default' => 0,
      'transport' => 'refresh',
      'sanitize_callback' => 'luxury_travel_sanitize_checkbox'
    ) );
    $wp_customize->add_control('luxury_travel_copyright_sticky',array(
		'type' => 'checkbox',
      'label' => __('Show / Hide Sticky Copyright','luxury-travel'),
      'section' => 'luxury_travel_footer_section',
    ));

	//Footer Social Media
	$wp_customize->add_section('luxury_travel_footer_social_media',array(
		'title'	=> __('Footer Social Media','luxury-travel'),
		'priority' => null,
		'panel' => 'luxury_travel_panel_id',
	));

	$wp_customize->add_setting( 'luxury_travel_footer_social_media_hide_show',array(
		'default' => false,
		'sanitize_callback' => 'luxury_travel_sanitize_checkbox'
    ));
    $wp_customize->add_control('luxury_travel_footer_social_media_hide_show',array(
    	'type' => 'checkbox',
		'label' => esc_html__( 'Show / Hide Social Icon','luxury-travel' ),
		'section' => 'luxury_travel_footer_social_media'
    ));		

	$wp_customize->add_setting('luxury_travel_footer_facebook_url',array(
		'default'	=> '',
		'sanitize_callback'	=> 'esc_url_raw'
	));
	$wp_customize->add_control('luxury_travel_footer_facebook_url',array(
		'label'	=> __('Add Facebook link','luxury-travel'),
		'section'	=> 'luxury_travel_footer_social_media',
		'setting'	=> 'luxury_travel_footer_facebook_url',
		'type'	=> 'url'
	));

	$wp_customize->add_setting('luxury_travel_footer_twitter_url',array(
		'default'	=> '',
		'sanitize_callback'	=> 'esc_url_raw'
	));
	$wp_customize->add_control('luxury_travel_footer_twitter_url',array(
		'label'	=> __('Add Twitter link','luxury-travel'),
		'section'	=> 'luxury_travel_footer_social_media',
		'setting'	=> 'luxury_travel_footer_twitter_url',
		'type'	=> 'url'
	));

	$wp_customize->add_setting('luxury_travel_footer_insta_url',array(
		'default'	=> '',
		'sanitize_callback'	=> 'esc_url_raw'
	));
	$wp_customize->add_control('luxury_travel_footer_insta_url',array(
		'label'	=> __('Add Instagram link','luxury-travel'),
		'section'	=> 'luxury_travel_footer_social_media',
		'setting'	=> 'luxury_travel_footer_insta_url',
		'type'	=> 'url'
	));

	$wp_customize->add_setting('luxury_travel_footer_youtube_url',array(
		'default'	=> '',
		'sanitize_callback'	=> 'esc_url_raw'
	));
	$wp_customize->add_control('luxury_travel_footer_youtube_url',array(
		'label'	=> __('Add Youtube link','luxury-travel'),
		'section'	=> 'luxury_travel_footer_social_media',
		'setting'	=> 'luxury_travel_footer_youtube_url',
		'type'		=> 'url'
	));

	$wp_customize->add_setting('luxury_travel_footer_pintrest_url',array(
		'default'	=> '',
		'sanitize_callback'	=> 'esc_url_raw'
	));
	$wp_customize->add_control('luxury_travel_footer_pintrest_url',array(
		'label'	=> __('Add Pintrest link','luxury-travel'),
		'section'	=> 'luxury_travel_footer_social_media',
		'setting'	=> 'luxury_travel_footer_pintrest_url',
		'type'	=> 'url'
	));

	$wp_customize->add_setting('luxury_travel_footer_icon_color', array(
		'default'           => '#fff',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'luxury_travel_footer_icon_color', array(
		'label'    => __('Icon Color', 'luxury-travel'),
		'section'  => 'luxury_travel_footer_social_media',
	)));

	$wp_customize->add_setting('luxury_travel_footer_icon_alignment',array(
    	'default' => 'Center',
        'sanitize_callback' => 'luxury_travel_sanitize_choices'
	));
	$wp_customize->add_control('luxury_travel_footer_icon_alignment',array(
        'type' => 'radio',
        'label' => __('Icon Alignment','luxury-travel'),
        'section' => 'luxury_travel_footer_social_media',
        'choices' => array(
            'Center' => __('Center','luxury-travel'),
            'Left' => __('Left','luxury-travel'),
            'Right' => __('Right','luxury-travel'),
        ),
	) );

	$wp_customize->add_setting( 'luxury_travel_footer_icon_font_size', array(
		'default'           => '',
		'sanitize_callback' => 'luxury_travel_sanitize_float',
	) );
	$wp_customize->add_control( 'luxury_travel_footer_icon_font_size', array(
		'label' => __( 'Icon Font Size','luxury-travel' ),
		'section'     => 'luxury_travel_footer_social_media',
		'type'        => 'number',
		'input_attrs' => array(
			'step' => 1,
			'min' => 0,
			'max' => 50,
		),
	) );

	 // Icon Top Bottom setting
	$wp_customize->add_setting( 'luxury_travel_footer_icon_to_top_padding', array(
		'default'           => '',
		'sanitize_callback' => 'luxury_travel_sanitize_float',
	) );
	$wp_customize->add_control( 'luxury_travel_footer_icon_to_top_padding', array(
		'label' => __( 'Icon Top Bottom Padding','luxury-travel' ),
		'section'     => 'luxury_travel_footer_social_media',
		'type'        => 'number',
		'input_attrs' => array(
			'step' => 1,
			'min' => 0,
			'max' => 50,
		),
	) );

	//Reset All Settings
	$wp_customize->add_section( 'luxury_travel_reset_section', array(
        'title'    => __( 'Reset TG Settings', 'luxury-travel' ),
        'priority'	=> null,
		'panel' => 'luxury_travel_panel_id',
    ) );

	//Reset Global Color
	$wp_customize->add_setting('luxury_travel_reset_color', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_text_field',
	));
	
	$wp_customize->add_control('luxury_travel_reset_color', array(
		'type'    => 'button',
		'label'   => __('Reset Global Color', 'luxury-travel'),
		'section' => 'luxury_travel_reset_section',
		'input_attrs' => array(
			'onclick' => 'ResetGlobalColor()',
		),
	));

}
add_action( 'customize_register', 'luxury_travel_customize_register' );	

// logo resize
load_template( trailingslashit( get_template_directory() ) . '/inc/logo/logo-resizer.php' );

/**
 * Singleton class for handling the theme's customizer integration.
 *
 * @since  1.0.0
 * @access public
 */
final class Luxury_Travel_Customize {

	/**
	 * Returns the instance.
	 *
	 * @since  1.0.0
	 * @access public
	 * @return object
	 */
	public static function get_instance() {

		static $instance = null;

		if ( is_null( $instance ) ) {
			$instance = new self;
			$instance->setup_actions();
		}

		return $instance;
	}

	/**
	 * Constructor method.
	 *
	 * @since  1.0.0
	 * @access private
	 * @return void
	 */
	private function __construct() {}

	/**
	 * Sets up initial actions.
	 *
	 * @since  1.0.0
	 * @access private
	 * @return void
	 */
	private function setup_actions() {

		// Register panels, sections, settings, controls, and partials.
		add_action( 'customize_register', array( $this, 'sections' ) );

		// Register scripts and styles for the controls.
		add_action( 'customize_controls_enqueue_scripts', array( $this, 'enqueue_control_scripts' ), 0 );
	}

	/**
	 * Sets up the customizer sections.
	 *
	 * @since  1.0.0
	 * @access public
	 * @param  object  $manager
	 * @return void
	 */
	public function sections( $manager ) {

		// Load custom sections.
		load_template( trailingslashit( get_template_directory() ) . '/inc/section-pro.php' );

		// Register custom section types.
		$manager->register_section_type( 'Luxury_Travel_Customize_Section_Pro' );

		// Register sections.
		$manager->add_section(
			new Luxury_Travel_Customize_Section_Pro(
				$manager,
				'luxury_travel_pro_link',
				array(
					'priority'   => 9,
					'title'    => esc_html__( 'Luxury Travel Pro', 'luxury-travel' ),
					'pro_text' => esc_html__( 'Get Pro', 'luxury-travel' ),
					'pro_url'  => esc_url( 'https://www.themesglance.com/products/premium-travel-agency-wordpress-theme' ),
				)
			)
		);
		$manager->add_section(
			new Luxury_Travel_Customize_Section_Pro(
				$manager,
				'luxury_travel_doc_link',
				array(
					'priority'   => 9,
					'title'    => esc_html__( 'Luxury Travel Doc', 'luxury-travel' ),
					'pro_text' => esc_html__( 'Help Doc', 'luxury-travel' ),
					'pro_url'  => esc_url( LUXURY_TRAVEL_FREE_THEME_DOC ),
				)
			)
		);
		$manager->add_section(
			new Luxury_Travel_Customize_Section_Pro(
				$manager,
				'luxury_travel_demo_link',
				array(
					'priority'   => 9,
					'title'    => esc_html__( 'Luxury Travel Demo', 'luxury-travel' ),
					'pro_text' => esc_html__( 'Live Demo', 'luxury-travel' ),
					'pro_url'  => esc_url( LUXURY_TRAVEL_LIVE_DEMO ),
				)
			)
		);
	}

	/**
	 * Loads theme customizer CSS.
	 *
	 * @since  1.0.0
	 * @access public
	 * @return void
	 */
	public function enqueue_control_scripts() {

		wp_enqueue_script( 'luxury-travel-customize-controls', trailingslashit( esc_url(get_template_directory_uri()) ) . '/js/customize-controls.js', array( 'customize-controls' ) );

		wp_enqueue_style( 'luxury-travel-customize-controls', trailingslashit( esc_url(get_template_directory_uri()) ) . '/css/customize-controls.css' );
	}
}

// Doing this customizer thang!
Luxury_Travel_Customize::get_instance();

