<?php
/**
 * Kindergarten Education Theme Customizer
 * @package Kindergarten Education
 */

load_template( trailingslashit( get_template_directory() ) . '/inc/logo-sizer.php' );
/**
 * Add postMessage support for site title and description for the Theme Customizer.
 * @param WP_Customize_Manager $wp_customize Theme Customizer object.
 */

function kindergarten_education_customize_register( $wp_customize ) {

	load_template( trailingslashit( get_template_directory() ) . 'inc/custom-control.php' );
	load_template( trailingslashit( get_template_directory() ) . '/inc/icon-changer.php' );

	$wp_customize->add_setting( 'kindergarten_education_logo_sizer',array(
		'default' => 50,
		'transport' => 'refresh',
		'sanitize_callback' => 'kindergarten_education_sanitize_integer'
	));
	$wp_customize->add_control( new Kindergarten_Education_Custom_Control( $wp_customize, 'kindergarten_education_logo_sizer',array(
		'label' => esc_html__( 'Logo Sizer','kindergarten-education' ),
		'section' => 'title_tagline',
		'priority'    => 9,
		'input_attrs' => array(
			'min' => 0,
			'max' => 100,
			'step' => 1,
		),
	)));

	$wp_customize->add_setting('kindergarten_education_logo_padding',array(
		'default'=> '',
		'transport' => 'refresh',
		'sanitize_callback' => 'kindergarten_education_sanitize_integer'
	));
	$wp_customize->add_control(new Kindergarten_Education_Custom_Control( $wp_customize, 'kindergarten_education_logo_padding',array(
		'label' => esc_html__( 'Logo Padding (px)','kindergarten-education' ),
		'section'=> 'title_tagline',
		'priority'    => 9,
		'input_attrs' => array(
         'step'  => 1,
			'min'   => 0,
			'max'   => 100,
        ),
	)));

	// logo padding
	$wp_customize->add_setting( 'automobile_car_dealer_logo_padding',array(
		'default' => '',
		'transport' => 'refresh',
		'sanitize_callback' => 'automobile_car_dealer_sanitize_integer'
	));
	$wp_customize->add_control( new automobile_car_dealer_Custom_Control( $wp_customize, 'automobile_car_dealer_logo_padding',array(
		'label' => esc_html__( 'Logo Padding (px)','automobile-car-dealer' ),
		'section' => 'title_tagline',
		'priority'    => 9,
		'input_attrs' => array(
			'min' => 0,
			'max' => 100,
			'step' => 1,
		),
	)));


	$wp_customize->add_setting('kindergarten_education_logo_margin',array(
		'default'=> '',
		'transport' => 'refresh',
		'sanitize_callback' => 'kindergarten_education_sanitize_integer'
	));
	$wp_customize->add_control(new Kindergarten_Education_Custom_Control( $wp_customize, 'kindergarten_education_logo_margin',array(
		'label' => esc_html__( 'Logo Margin (px)','kindergarten-education' ),
		'section'=> 'title_tagline',
		'priority'    => 9,
		'input_attrs' => array(
         'step'  => 1,
			'min'   => 0,
			'max'   => 100,
        ),
	)));

	$wp_customize->add_setting('kindergarten_education_site_title_enable',array(
       'default' => true,
       'sanitize_callback'	=> 'kindergarten_education_sanitize_checkbox'
    ));
   $wp_customize->add_control('kindergarten_education_site_title_enable',array(
       'type' => 'checkbox',
       'label' => __('Enable / Disable Site Title','kindergarten-education'),
       'section' => 'title_tagline'
    ));

    // site title color
   $wp_customize->add_setting('kindergarten_education_site_title_color', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'kindergarten_education_site_title_color', array(
		'label'    => __('Site Title Color', 'kindergarten-education'),
		'section'  => 'title_tagline',
		'settings' => 'kindergarten_education_site_title_color',
	)));

   $wp_customize->add_setting('kindergarten_education_site_title_font_size',array(
		'default'=> 30,
		'transport' => 'refresh',
		'sanitize_callback' => 'kindergarten_education_sanitize_integer'
	));
	$wp_customize->add_control(new Kindergarten_Education_Custom_Control( $wp_customize, 'kindergarten_education_site_title_font_size',array(
		'label' => esc_html__( 'Site Title Font Size (px)','kindergarten-education' ),
		'section'=> 'title_tagline',
		'input_attrs' => array(
            'step'             => 1,
			'min'              => 0,
			'max'              => 50,
        ),
	)));

    $wp_customize->add_setting('kindergarten_education_site_tagline_enable',array(
       'default' => false,
       'sanitize_callback'	=> 'kindergarten_education_sanitize_checkbox'
    ));
    $wp_customize->add_control('kindergarten_education_site_tagline_enable',array(
       'type' => 'checkbox',
       'label' => __('Enable / Disable Site Tagline','kindergarten-education'),
       'section' => 'title_tagline'
    ));

    $wp_customize->add_setting('kindergarten_education_site_tagline_font_size',array(
		'default'=> 15,
		'transport' => 'refresh',
		'sanitize_callback' => 'kindergarten_education_sanitize_integer'
	));
	$wp_customize->add_control(new Kindergarten_Education_Custom_Control( $wp_customize, 'kindergarten_education_site_tagline_font_size',array(
		'label' => esc_html__( 'Site Tagline Font Size (px)','kindergarten-education' ),
		'section'=> 'title_tagline',
		'input_attrs' => array(
            'step'             => 1,
			'min'              => 0,
			'max'              => 50,
        ),
	)));

   // site tagline font color
	$wp_customize->add_setting('kindergarten_education_site_tagline_color', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'kindergarten_education_site_tagline_color', array(
		'label'    => __('Site Tagline Color', 'kindergarten-education'),
		'section'  => 'title_tagline',
		'settings' => 'kindergarten_education_site_tagline_color',
	)));

	//Important Links
	$wp_customize->add_section( 'kindergarten_education_important_links' , array(
    	'title' => esc_html__( 'Important Links', 'kindergarten-education' ),
    	'priority' => 10,
	) );

	$wp_customize->add_setting('kindergarten_education_doc_link',array(
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('kindergarten_education_doc_link',array(
		'type'=> 'hidden',
		'description' => "<a target='_blank' href='". esc_url(KINDERGARTEN_EDUCATION_FREE_DOC) ." '>". esc_html('Documentation','kindergarten-education') ."</a>",
		'section'=> 'kindergarten_education_important_links'
	));

	$wp_customize->add_setting('kindergarten_education_demo_links',array(
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('kindergarten_education_demo_links',array(
		'type'=> 'hidden',
		'description' => "<a target='_blank' href='". esc_url(KINDERGARTEN_EDUCATION_LIVE_DEMO) ." '>". esc_html('Demo','kindergarten-education') ."</a>",
		'section'=> 'kindergarten_education_important_links'
	));

	$wp_customize->add_setting('kindergarten_education_forum_links',array(
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('kindergarten_education_forum_links',array(
		'type'=> 'hidden',
		'description' => "<a target='_blank' href='". esc_url(KINDERGARTEN_EDUCATION_FREE_SUPPORT) ." '>". esc_html('Support Forum','kindergarten-education') ."</a>",
		'section'=> 'kindergarten_education_important_links'
	));

	$wp_customize->add_setting('kindergarten_education_review_links',array(
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('kindergarten_education_review_links',array(
		'type'=> 'hidden',
		'description' => "<a target='_blank' href='". esc_url(KINDERGARTEN_EDUCATION_REVIEW) ." '>". esc_html('Review','kindergarten-education') ."</a>",
		'section'=> 'kindergarten_education_important_links'
	));

	//add home page setting pannel
	$wp_customize->add_panel( 'kindergarten_education_panel_id', array(
	    'priority' => 11,
	    'capability' => 'edit_theme_options',
	    'theme_supports' => '',
	    'title' => __( 'Theme Settings', 'kindergarten-education' ),
	    'description' => __( 'Description of what this panel does.', 'kindergarten-education' ),
	) );

	$kindergarten_education_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('kindergarten_education_typography', array(
		'title'    => __('Typography', 'kindergarten-education'),
		'panel'    => 'kindergarten_education_panel_id',
	));

	$wp_customize->add_setting('kindergarten_education_typography_premium_info',array(
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('kindergarten_education_typography_premium_info',array(
		'type'=> 'hidden',
		'label'	=> __('Premium Features','kindergarten-education'),
		'description' => "<ul><li>". esc_html('Please explore our premium theme for additional settings and features.','kindergarten-education') ."</li></ul><a target='_blank' href='". esc_url(KINDERGARTEN_EDUCATION_BUY_PRO) ." '>". esc_html('Upgrade to Pro','kindergarten-education') ."</a>",
		'section'=> 'kindergarten_education_typography'
	));

	//This is body FontFamily picker setting
	$wp_customize->add_setting('kindergarten_education_body_color', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'kindergarten_education_body_color', array(
		'label'    => __('Body Color', 'kindergarten-education'),
		'section'  => 'kindergarten_education_typography',
		'settings' => 'kindergarten_education_body_color',
	)));

	$wp_customize->add_setting('kindergarten_education_body_font_family', array(
		'default'           => '',
		'capability'        => 'edit_theme_options',
		'sanitize_callback' => 'kindergarten_education_sanitize_choices',
	));
	$wp_customize->add_control(	'kindergarten_education_body_font_family', array(
		'section' => 'kindergarten_education_typography',
		'label'   => __('Body Fonts', 'kindergarten-education'),
		'type'    => 'select',
		'choices' => $kindergarten_education_font_array,
	));

	$wp_customize->add_setting('kindergarten_education_body_font_size', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_text_field',
	));
	$wp_customize->add_control('kindergarten_education_body_font_size', array(
		'label'   => __('Body Font Size', 'kindergarten-education'),
		'section' => 'kindergarten_education_typography',
		'setting' => 'kindergarten_education_body_font_size',
		'type'    => 'text',
	));

	$wp_customize->add_setting('kindergarten_education_body_font_weight',array(
		'default' => '',
		'sanitize_callback' => 'kindergarten_education_sanitize_choices'
 	));
 	$wp_customize->add_control('kindergarten_education_body_font_weight',array(
		'type' => 'select',
		'label' => __('Body Font Weight','kindergarten-education'),
		'section' => 'kindergarten_education_typography',
		'choices' => array(
		   '100' => __('100','kindergarten-education'),
         '200' => __('200','kindergarten-education'),
         '300' => __('300','kindergarten-education'),
         '400' => __('400','kindergarten-education'),
         '500' => __('500','kindergarten-education'),
         '600' => __('600','kindergarten-education'),
         '700' => __('700','kindergarten-education'),
         '800' => __('800','kindergarten-education'),
         '900' => __('900','kindergarten-education'),
		),
	) );		

	// This is Paragraph Color picker setting
	$wp_customize->add_setting('kindergarten_education_paragraph_color', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'kindergarten_education_paragraph_color', array(
		'label'    => __('Paragraph Color', 'kindergarten-education'),
		'section'  => 'kindergarten_education_typography',
		'settings' => 'kindergarten_education_paragraph_color',
	)));

	//This is Paragraph FontFamily picker setting
	$wp_customize->add_setting('kindergarten_education_paragraph_font_family', array(
		'default'           => '',
		'capability'        => 'edit_theme_options',
		'sanitize_callback' => 'kindergarten_education_sanitize_choices',
	));
	$wp_customize->add_control(	'kindergarten_education_paragraph_font_family', array(
		'section' => 'kindergarten_education_typography',
		'label'   => __('Paragraph Fonts', 'kindergarten-education'),
		'type'    => 'select',
		'choices' => $kindergarten_education_font_array,
	));

	$wp_customize->add_setting('kindergarten_education_paragraph_font_size', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_text_field',
	));
	$wp_customize->add_control('kindergarten_education_paragraph_font_size', array(
		'label'   => __('Paragraph Font Size', 'kindergarten-education'),
		'section' => 'kindergarten_education_typography',
		'setting' => 'kindergarten_education_paragraph_font_size',
		'type'    => 'text',
	));

	$wp_customize->add_setting('kindergarten_education_paragraph_font_weight',array(
		'default' => '',
		'sanitize_callback' => 'kindergarten_education_sanitize_choices'
 	));
 	$wp_customize->add_control('kindergarten_education_paragraph_font_weight',array(
		'type' => 'select',
		'label' => __('Paragraph Font Weight','kindergarten-education'),
		'section' => 'kindergarten_education_typography',
		'choices' => array(
		   '100' => __('100','kindergarten-education'),
         '200' => __('200','kindergarten-education'),
         '300' => __('300','kindergarten-education'),
         '400' => __('400','kindergarten-education'),
         '500' => __('500','kindergarten-education'),
         '600' => __('600','kindergarten-education'),
         '700' => __('700','kindergarten-education'),
         '800' => __('800','kindergarten-education'),
         '900' => __('900','kindergarten-education'),
		),
	) );		

	// This is "a" Tag Color picker setting
	$wp_customize->add_setting('kindergarten_education_atag_color', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'kindergarten_education_atag_color', array(
		'label'    => __('"a" Tag Color', 'kindergarten-education'),
		'section'  => 'kindergarten_education_typography',
		'settings' => 'kindergarten_education_atag_color',
	)));

	//This is "a" Tag FontFamily picker setting
	$wp_customize->add_setting('kindergarten_education_atag_font_family', array(
		'default'           => '',
		'capability'        => 'edit_theme_options',
		'sanitize_callback' => 'kindergarten_education_sanitize_choices',
	));
	$wp_customize->add_control(	'kindergarten_education_atag_font_family', array(
		'section' => 'kindergarten_education_typography',
		'label'   => __('"a" Tag Fonts', 'kindergarten-education'),
		'type'    => 'select',
		'choices' => $kindergarten_education_font_array,
	));

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

	//This is "li" Tag FontFamily picker setting
	$wp_customize->add_setting('kindergarten_education_li_font_family', array(
		'default'           => '',
		'capability'        => 'edit_theme_options',
		'sanitize_callback' => 'kindergarten_education_sanitize_choices',
	));
	$wp_customize->add_control(	'kindergarten_education_li_font_family', array(
		'section' => 'kindergarten_education_typography',
		'label'   => __('"li" Tag Fonts', 'kindergarten-education'),
		'type'    => 'select',
		'choices' => $kindergarten_education_font_array,
	));

	// This is H1 Color picker setting
	$wp_customize->add_setting('kindergarten_education_h1_color', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'kindergarten_education_h1_color', array(
		'label'    => __('H1 Color', 'kindergarten-education'),
		'section'  => 'kindergarten_education_typography',
		'settings' => 'kindergarten_education_h1_color',
	)));

	//This is H1 FontFamily picker setting
	$wp_customize->add_setting('kindergarten_education_h1_font_family', array(
		'default'           => '',
		'capability'        => 'edit_theme_options',
		'sanitize_callback' => 'kindergarten_education_sanitize_choices',
	));
	$wp_customize->add_control('kindergarten_education_h1_font_family', array(
		'section' => 'kindergarten_education_typography',
		'label'   => __('H1 Fonts', 'kindergarten-education'),
		'type'    => 'select',
		'choices' => $kindergarten_education_font_array,
	));

	//This is H1 FontSize setting
	$wp_customize->add_setting('kindergarten_education_h1_font_size', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_text_field',
	));
	$wp_customize->add_control('kindergarten_education_h1_font_size', array(
		'label'   => __('H1 Font Size', 'kindergarten-education'),
		'section' => 'kindergarten_education_typography',
		'setting' => 'kindergarten_education_h1_font_size',
		'type'    => 'text',
	));

	//This is H1 FontWeight setting	
	$wp_customize->add_setting('kindergarten_education_h1_font_weight',array(
		'default' => '',
		'sanitize_callback' => 'kindergarten_education_sanitize_choices'
 	));
 	$wp_customize->add_control('kindergarten_education_h1_font_weight',array(
		'type' => 'select',
		'label' => __('H1 Font Weight','kindergarten-education'),
		'section' => 'kindergarten_education_typography',
		'choices' => array(
		   '100' => __('100','kindergarten-education'),
         '200' => __('200','kindergarten-education'),
         '300' => __('300','kindergarten-education'),
         '400' => __('400','kindergarten-education'),
         '500' => __('500','kindergarten-education'),
         '600' => __('600','kindergarten-education'),
         '700' => __('700','kindergarten-education'),
         '800' => __('800','kindergarten-education'),
         '900' => __('900','kindergarten-education'),
		),
	) );		

	// This is H2 Color picker setting
	$wp_customize->add_setting('kindergarten_education_h2_color', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'kindergarten_education_h2_color', array(
		'label'    => __('H2 Color', 'kindergarten-education'),
		'section'  => 'kindergarten_education_typography',
		'settings' => 'kindergarten_education_h2_color',
	)));

	//This is H2 FontFamily picker setting
	$wp_customize->add_setting('kindergarten_education_h2_font_family', array(
		'default'           => '',
		'capability'        => 'edit_theme_options',
		'sanitize_callback' => 'kindergarten_education_sanitize_choices',
	));
	$wp_customize->add_control(
	'kindergarten_education_h2_font_family', array(
		'section' => 'kindergarten_education_typography',
		'label'   => __('H2 Fonts', 'kindergarten-education'),
		'type'    => 'select',
		'choices' => $kindergarten_education_font_array,
	));

	//This is H2 FontSize setting
	$wp_customize->add_setting('kindergarten_education_h2_font_size', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_text_field',
	));
	$wp_customize->add_control('kindergarten_education_h2_font_size', array(
		'label'   => __('H2 Font Size', 'kindergarten-education'),
		'section' => 'kindergarten_education_typography',
		'setting' => 'kindergarten_education_h2_font_size',
		'type'    => 'text',
	));

	//This is H2 FontWeight setting	
	$wp_customize->add_setting('kindergarten_education_h2_font_weight',array(
		'default' => '',
		'sanitize_callback' => 'kindergarten_education_sanitize_choices'
 	));
 	$wp_customize->add_control('kindergarten_education_h2_font_weight',array(
		'type' => 'select',
		'label' => __('H2 Font Weight','kindergarten-education'),
		'section' => 'kindergarten_education_typography',
		'choices' => array(
		   '100' => __('100','kindergarten-education'),
         '200' => __('200','kindergarten-education'),
         '300' => __('300','kindergarten-education'),
         '400' => __('400','kindergarten-education'),
         '500' => __('500','kindergarten-education'),
         '600' => __('600','kindergarten-education'),
         '700' => __('700','kindergarten-education'),
         '800' => __('800','kindergarten-education'),
         '900' => __('900','kindergarten-education'),
		),
	) );	

	// This is H3 Color picker setting
	$wp_customize->add_setting('kindergarten_education_h3_color', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'kindergarten_education_h3_color', array(
		'label'    => __('H3 Color', 'kindergarten-education'),
		'section'  => 'kindergarten_education_typography',
		'settings' => 'kindergarten_education_h3_color',
	)));

	//This is H3 FontFamily picker setting
	$wp_customize->add_setting('kindergarten_education_h3_font_family', array(
		'default'           => '',
		'capability'        => 'edit_theme_options',
		'sanitize_callback' => 'kindergarten_education_sanitize_choices',
	));
	$wp_customize->add_control(
	'kindergarten_education_h3_font_family', array(
		'section' => 'kindergarten_education_typography',
		'label'   => __('H3 Fonts', 'kindergarten-education'),
		'type'    => 'select',
		'choices' => $kindergarten_education_font_array,
	));

	//This is H3 FontSize setting
	$wp_customize->add_setting('kindergarten_education_h3_font_size', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_text_field',
	));
	$wp_customize->add_control('kindergarten_education_h3_font_size', array(
		'label'   => __('H3 Font Size', 'kindergarten-education'),
		'section' => 'kindergarten_education_typography',
		'setting' => 'kindergarten_education_h3_font_size',
		'type'    => 'text',
	));

	//This is H3 FontWeight setting	
	$wp_customize->add_setting('kindergarten_education_h3_font_weight',array(
		'default' => '',
		'sanitize_callback' => 'kindergarten_education_sanitize_choices'
 	));
 	$wp_customize->add_control('kindergarten_education_h3_font_weight',array(
		'type' => 'select',
		'label' => __('H3 Font Weight','kindergarten-education'),
		'section' => 'kindergarten_education_typography',
		'choices' => array(
		   '100' => __('100','kindergarten-education'),
         '200' => __('200','kindergarten-education'),
         '300' => __('300','kindergarten-education'),
         '400' => __('400','kindergarten-education'),
         '500' => __('500','kindergarten-education'),
         '600' => __('600','kindergarten-education'),
         '700' => __('700','kindergarten-education'),
         '800' => __('800','kindergarten-education'),
         '900' => __('900','kindergarten-education'),
		),
	) );		

	// This is H4 Color picker setting
	$wp_customize->add_setting('kindergarten_education_h4_color', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'kindergarten_education_h4_color', array(
		'label'    => __('H4 Color', 'kindergarten-education'),
		'section'  => 'kindergarten_education_typography',
		'settings' => 'kindergarten_education_h4_color',
	)));

	//This is H4 FontFamily picker setting
	$wp_customize->add_setting('kindergarten_education_h4_font_family', array(
		'default'           => '',
		'capability'        => 'edit_theme_options',
		'sanitize_callback' => 'kindergarten_education_sanitize_choices',
	));
	$wp_customize->add_control('kindergarten_education_h4_font_family', array(
		'section' => 'kindergarten_education_typography',
		'label'   => __('H4 Fonts', 'kindergarten-education'),
		'type'    => 'select',
		'choices' => $kindergarten_education_font_array,
	));

	//This is H4 FontSize setting
	$wp_customize->add_setting('kindergarten_education_h4_font_size', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_text_field',
	));
	$wp_customize->add_control('kindergarten_education_h4_font_size', array(
		'label'   => __('H4 Font Size', 'kindergarten-education'),
		'section' => 'kindergarten_education_typography',
		'setting' => 'kindergarten_education_h4_font_size',
		'type'    => 'text',
	));

	//This is H4 FontWeight setting	
	$wp_customize->add_setting('kindergarten_education_h4_font_weight',array(
		'default' => '',
		'sanitize_callback' => 'kindergarten_education_sanitize_choices'
 	));
 	$wp_customize->add_control('kindergarten_education_h4_font_weight',array(
		'type' => 'select',
		'label' => __('H4 Font Weight','kindergarten-education'),
		'section' => 'kindergarten_education_typography',
		'choices' => array(
		   '100' => __('100','kindergarten-education'),
         '200' => __('200','kindergarten-education'),
         '300' => __('300','kindergarten-education'),
         '400' => __('400','kindergarten-education'),
         '500' => __('500','kindergarten-education'),
         '600' => __('600','kindergarten-education'),
         '700' => __('700','kindergarten-education'),
         '800' => __('800','kindergarten-education'),
         '900' => __('900','kindergarten-education'),
		),
	) );	

	// This is H5 Color picker setting
	$wp_customize->add_setting('kindergarten_education_h5_color', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'kindergarten_education_h5_color', array(
		'label'    => __('H5 Color', 'kindergarten-education'),
		'section'  => 'kindergarten_education_typography',
		'settings' => 'kindergarten_education_h5_color',
	)));

	//This is H5 FontFamily picker setting
	$wp_customize->add_setting('kindergarten_education_h5_font_family', array(
		'default'           => '',
		'capability'        => 'edit_theme_options',
		'sanitize_callback' => 'kindergarten_education_sanitize_choices',
	));
	$wp_customize->add_control('kindergarten_education_h5_font_family', array(
		'section' => 'kindergarten_education_typography',
		'label'   => __('H5 Fonts', 'kindergarten-education'),
		'type'    => 'select',
		'choices' => $kindergarten_education_font_array,
	));

	//This is H5 FontSize setting
	$wp_customize->add_setting('kindergarten_education_h5_font_size', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_text_field',
	));
	$wp_customize->add_control('kindergarten_education_h5_font_size', array(
		'label'   => __('H5 Font Size', 'kindergarten-education'),
		'section' => 'kindergarten_education_typography',
		'setting' => 'kindergarten_education_h5_font_size',
		'type'    => 'text',
	));

	//This is H5 FontWeight setting	
	$wp_customize->add_setting('kindergarten_education_h5_font_weight',array(
		'default' => '',
		'sanitize_callback' => 'kindergarten_education_sanitize_choices'
 	));
 	$wp_customize->add_control('kindergarten_education_h5_font_weight',array(
		'type' => 'select',
		'label' => __('H5 Font Weight','kindergarten-education'),
		'section' => 'kindergarten_education_typography',
		'choices' => array(
		   '100' => __('100','kindergarten-education'),
         '200' => __('200','kindergarten-education'),
         '300' => __('300','kindergarten-education'),
         '400' => __('400','kindergarten-education'),
         '500' => __('500','kindergarten-education'),
         '600' => __('600','kindergarten-education'),
         '700' => __('700','kindergarten-education'),
         '800' => __('800','kindergarten-education'),
         '900' => __('900','kindergarten-education'),
		),
	) );			

	// This is H6 Color picker setting
	$wp_customize->add_setting('kindergarten_education_h6_color', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'kindergarten_education_h6_color', array(
		'label'    => __('H6 Color', 'kindergarten-education'),
		'section'  => 'kindergarten_education_typography',
		'settings' => 'kindergarten_education_h6_color',
	)));

	//This is H6 FontFamily picker setting
	$wp_customize->add_setting('kindergarten_education_h6_font_family', array(
		'default'           => '',
		'capability'        => 'edit_theme_options',
		'sanitize_callback' => 'kindergarten_education_sanitize_choices',
	));
	$wp_customize->add_control('kindergarten_education_h6_font_family', array(
		'section' => 'kindergarten_education_typography',
		'label'   => __('H6 Fonts', 'kindergarten-education'),
		'type'    => 'select',
		'choices' => $kindergarten_education_font_array,
	));

	//This is H6 FontSize setting
	$wp_customize->add_setting('kindergarten_education_h6_font_size', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_text_field',
	));
	$wp_customize->add_control('kindergarten_education_h6_font_size', array(
		'label'   => __('H6 Font Size', 'kindergarten-education'),
		'section' => 'kindergarten_education_typography',
		'setting' => 'kindergarten_education_h6_font_size',
		'type'    => 'text',
	));

	//This is H6 FontWeight setting	
	$wp_customize->add_setting('kindergarten_education_h6_font_weight',array(
		'default' => '',
		'sanitize_callback' => 'kindergarten_education_sanitize_choices'
 	));
 	$wp_customize->add_control('kindergarten_education_h6_font_weight',array(
		'type' => 'select',
		'label' => __('H6 Font Weight','kindergarten-education'),
		'section' => 'kindergarten_education_typography',
		'choices' => array(
		   '100' => __('100','kindergarten-education'),
         '200' => __('200','kindergarten-education'),
         '300' => __('300','kindergarten-education'),
         '400' => __('400','kindergarten-education'),
         '500' => __('500','kindergarten-education'),
         '600' => __('600','kindergarten-education'),
         '700' => __('700','kindergarten-education'),
         '800' => __('800','kindergarten-education'),
         '900' => __('900','kindergarten-education'),
		),
	) );	

	$wp_customize->add_setting('kindergarten_education_background_skin',array(
        'default' => 'Without Background',
        'sanitize_callback' => 'kindergarten_education_sanitize_choices'
	));
	$wp_customize->add_control('kindergarten_education_background_skin',array(
        'type' => 'radio',
        'label' => __('Background Skin','kindergarten-education'),
        'description' => __('Here you can add the background skin along with the background image.','kindergarten-education'),
        'section' => 'background_image',
        'choices' => array(
            'With Background' => __('With Background Skin','kindergarten-education'),
            'Without Background' => __('Without Background Skin','kindergarten-education'),
        ),
	) );

	//Menu Settings
	$wp_customize->add_section( 'kindergarten_education_menu_setting', array(
    	'title'      => __( 'Menu Settings', 'kindergarten-education' ),
		'panel' => 'kindergarten_education_panel_id'
	) );

	$wp_customize->add_setting('kindergarten_education_menu_premium_info',array(
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('kindergarten_education_menu_premium_info',array(
		'type'=> 'hidden',
		'label'	=> __('Premium Features','kindergarten-education'),
		'description' => "<ul><li>". esc_html('Please explore our premium theme for additional settings and features.','kindergarten-education') ."</li></ul><a target='_blank' href='". esc_url(KINDERGARTEN_EDUCATION_BUY_PRO) ." '>". esc_html('Upgrade to Pro','kindergarten-education') ."</a>",
		'section'=> 'kindergarten_education_menu_setting'
	));


	$wp_customize->add_setting('kindergarten_education_menu_font_size_option',array(
		'default'=> 14,
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Kindergarten_Education_Custom_Control( $wp_customize,'kindergarten_education_menu_font_size_option',array(
		'label'	=> __('Menu Font Size','kindergarten-education'),
		'section'=> 'kindergarten_education_menu_setting',
		'input_attrs' => array(
            'step'             => 1,
			'min'              => 0,
			'max'              => 50,
        ),
	)));

	$wp_customize->add_setting('kindergarten_education_menu_top_bottom_padding',array(
		'default'=> '',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Kindergarten_Education_Custom_Control( $wp_customize,'kindergarten_education_menu_top_bottom_padding',array(
		'label'	=> __('Menu Top-Bottom Padding','kindergarten-education'),
		'section'=> 'kindergarten_education_menu_setting',
		'input_attrs' => array(
            'step'             => 1,
			'min'              => 0,
			'max'              => 50,
        ),
	)));

	$wp_customize->add_setting('kindergarten_education_menu_left_right_padding',array(
		'default'=> '',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Kindergarten_Education_Custom_Control( $wp_customize,'kindergarten_education_menu_left_right_padding',array(
		'label'	=> __('Menu Left-Right Padding','kindergarten-education'),
		'section'=> 'kindergarten_education_menu_setting',
		'input_attrs' => array(
            'step'             => 1,
			'min'              => 0,
			'max'              => 50,
        ),
	)));

	$wp_customize->add_setting('kindergarten_education_text_tranform_menu',array(
        'default' => 'Uppercase',
        'sanitize_callback' => 'kindergarten_education_sanitize_choices'
    ));
    $wp_customize->add_control('kindergarten_education_text_tranform_menu',array(
        'type' => 'select',
        'label' => __('Menu Text Transform','kindergarten-education'),
        'section' => 'kindergarten_education_menu_setting',
        'choices' => array(
            'Uppercase' => __('Uppercase','kindergarten-education'),
            'Lowercase' => __('Lowercase','kindergarten-education'),
            'Capitalize' => __('Capitalize','kindergarten-education'),
        ),
	) );

   $wp_customize->add_setting('kindergarten_education_menu_font_weight',array(
        'default' => '500',
        'sanitize_callback' => 'kindergarten_education_sanitize_choices'
    ));
    $wp_customize->add_control('kindergarten_education_menu_font_weight',array(
        'type' => 'select',
        'label' => __('Menu Text Weight','kindergarten-education'),
        'section' => 'kindergarten_education_menu_setting',
        'choices' => array(
            '100' => __('100','kindergarten-education'),
            '200' => __('200','kindergarten-education'),
            '300' => __('300','kindergarten-education'),
            '400' => __('400','kindergarten-education'),
            '500' => __('500','kindergarten-education'),
            '600' => __('600','kindergarten-education'),
            '700' => __('700','kindergarten-education'),
            '800' => __('800','kindergarten-education'),
            '900' => __('900','kindergarten-education'),
        ),
	) );

	$wp_customize->add_setting('kindergarten_education_menus_item_style',array(
        'default' => '',
        'sanitize_callback' => 'kindergarten_education_sanitize_choices'
	));
	$wp_customize->add_control('kindergarten_education_menus_item_style',array(
        'type' => 'select',
		'label' => __('Menu Item Hover Style','kindergarten-education'),
		'section' => 'kindergarten_education_menu_setting',
		'choices' => array(
            'None' => __('None','kindergarten-education'),
            'Zoom In' => __('Zoom In','kindergarten-education'),
        ),
	));

    $wp_customize->add_setting('kindergarten_education_menu_color', array(
		'default'           => '#fff',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'kindergarten_education_menu_color', array(
		'label'    => __('Menu Color', 'kindergarten-education'),
		'section'  => 'kindergarten_education_menu_setting',
		'settings' => 'kindergarten_education_menu_color',
	)));

	$wp_customize->add_setting('kindergarten_education_sub_menu_color', array(
		'default'           => '#fff',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'kindergarten_education_sub_menu_color', array(
		'label'    => __('Submenu Color', 'kindergarten-education'),
		'section'  => 'kindergarten_education_menu_setting',
		'settings' => 'kindergarten_education_sub_menu_color',
	)));

	$wp_customize->add_setting('kindergarten_education_menu_hover_color', array(
		'default'           => '#000',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'kindergarten_education_menu_hover_color', array(
		'label'    => __('Menu Hover Color', 'kindergarten-education'),
		'section'  => 'kindergarten_education_menu_setting',
		'settings' => 'kindergarten_education_menu_hover_color',
	)));

	$wp_customize->add_setting('kindergarten_education_sub_menu_hover_color', array(
		'default'           => '#000',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'kindergarten_education_sub_menu_hover_color', array(
		'label'    => __('Submenu Hover Color', 'kindergarten-education'),
		'section'  => 'kindergarten_education_menu_setting',
		'settings' => 'kindergarten_education_sub_menu_hover_color',
	)));

	$wp_customize->add_setting('kindergarten_education_sub_menu_bg_color', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'kindergarten_education_sub_menu_bg_color', array(
		'label'    => __('Submenu Background Color', 'kindergarten-education'),
		'section'  => 'kindergarten_education_menu_setting',
		'settings' => 'kindergarten_education_sub_menu_bg_color',
	)));

	$wp_customize->add_setting('kindergarten_education_sub_menu_bg_hover_color', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'kindergarten_education_sub_menu_bg_hover_color', array(
		'label'    => __('Submenu Background Hover Color', 'kindergarten-education'),
		'section'  => 'kindergarten_education_menu_setting',
		'settings' => 'kindergarten_education_sub_menu_bg_hover_color',
	)));	

	//home page slider
	$wp_customize->add_section( 'kindergarten_education_slidersettings' , array(
    	'title'      => __( 'Slider Settings', 'kindergarten-education' ),
		'priority'   => null,
		'panel' => 'kindergarten_education_panel_id'
	) );

		$wp_customize->add_setting('kindergarten_education_slider_premium_info',array(
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('kindergarten_education_slider_premium_info',array(
		'type'=> 'hidden',
		'label'	=> __('Premium Features','kindergarten-education'),
		'description' => "<ul><li>". esc_html('You can change how many slides there are.','kindergarten-education') ."</li><li>". esc_html('You can change the font family and the colours of headings and subheadings.','kindergarten-education') ."</li><li>". esc_html('And so on...','kindergarten-education') ."</li></ul><a target='_blank' href='". esc_url(KINDERGARTEN_EDUCATION_BUY_PRO) ." '>". esc_html('Upgrade to Pro','kindergarten-education') ."</a>",
		'section'=> 'kindergarten_education_slidersettings'
	));

	$wp_customize->add_setting('kindergarten_education_slider_hide',array(
       'default' => true,
       'sanitize_callback'	=> 'kindergarten_education_sanitize_checkbox'
    ));
    $wp_customize->add_control('kindergarten_education_slider_hide',array(
       'type' => 'checkbox',
       'label' => __('Show / Hide slider','kindergarten-education'),
       'section' => 'kindergarten_education_slidersettings',
    ));

	for ( $count = 1; $count <= 4; $count++ ) {
		$wp_customize->add_setting( 'kindergarten_education_slider_page' . $count, array(
			'default'           => '',
			'sanitize_callback' => 'kindergarten_education_sanitize_dropdown_pages'
		) );
		$wp_customize->add_control( 'kindergarten_education_slider_page' . $count, array(
			'label'    => __( 'Select Slide Image Page', 'kindergarten-education' ),
			'section'  => 'kindergarten_education_slidersettings',
			'type'     => 'dropdown-pages'
		) );
	}

	$wp_customize->add_setting('kindergarten_education_slider_heading',array(
		'default' => true,
		'sanitize_callback'	=> 'kindergarten_education_sanitize_checkbox'
	));
	$wp_customize->add_control('kindergarten_education_slider_heading',array(
		'type' => 'checkbox',
		'label' => __('Enable / Disable Slider Heading','kindergarten-education'),
		'section' => 'kindergarten_education_slidersettings'
	));

	$wp_customize->add_setting('kindergarten_education_slider_heading_color', array(
		'default'           => '#ffffff',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'kindergarten_education_slider_heading_color', array(
		'label'    => __('Slider Heading Color', 'kindergarten-education'),
		'section'  => 'kindergarten_education_slidersettings',
	)));

	$wp_customize->add_setting('kindergarten_education_slider_text',array(
      'default' => true,
      'sanitize_callback'	=> 'kindergarten_education_sanitize_checkbox'
   ));
   $wp_customize->add_control('kindergarten_education_slider_text',array(
      'type' => 'checkbox',
      'label' => __('Enable / Disable Slider Text','kindergarten-education'),
      'section' => 'kindergarten_education_slidersettings'
   ));

	$wp_customize->add_setting('kindergarten_education_slider_text_color', array(
		'default'           => '#ffffff',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'kindergarten_education_slider_text_color', array(
		'label'    => __('Slider Text Color', 'kindergarten-education'),
		'section'  => 'kindergarten_education_slidersettings',
	)));

	$wp_customize->add_setting('kindergarten_education_show_slider_button',array(
		'default' => true,
		'sanitize_callback'	=> 'kindergarten_education_sanitize_checkbox'
	));
	$wp_customize->add_control('kindergarten_education_show_slider_button',array(
		'type' => 'checkbox',
		'label' => __('Show / Hide Slider Button','kindergarten-education'),
		'section' => 'kindergarten_education_slidersettings'
	));

	$wp_customize->add_setting('kindergarten_education_enable_slider_overlay',array(
       'default' => true,
       'sanitize_callback'	=> 'kindergarten_education_sanitize_checkbox'
    ));
    $wp_customize->add_control('kindergarten_education_enable_slider_overlay',array(
       'type' => 'checkbox',
       'label' => __('Enable / Disable Slider Image Overlay','kindergarten-education'),
       'section' => 'kindergarten_education_slidersettings'
    ));

    $wp_customize->add_setting('kindergarten_education_slider_overlay_color', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'kindergarten_education_slider_overlay_color', array(
		'label'    => __('Slider Image Overlay Color', 'kindergarten-education'),
		'section'  => 'kindergarten_education_slidersettings',
		'settings' => 'kindergarten_education_slider_overlay_color',
	)));

	$wp_customize->add_setting('kindergarten_education_slider_button_text',array(
		'default'=> __('READ MORE','kindergarten-education'),
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('kindergarten_education_slider_button_text',array(
		'label'	=> __('Add Button Text','kindergarten-education'),
		'section'=> 'kindergarten_education_slidersettings',
		'type'=> 'text'
	));

	$wp_customize->add_setting('kindergarten_education_slider_button_link',array(
		'default'=> '',
		'sanitize_callback'	=> 'esc_url_raw'
	));
	$wp_customize->add_control('kindergarten_education_slider_button_link',array(
		'label'	=> esc_html__('Add Button Link','kindergarten-education'),
		'section'=> 'kindergarten_education_slidersettings',
		'type'=> 'url'
	));

	$wp_customize->add_setting('kindergarten_education_slider_btn_text_color', array(
		'default'           => '#1d1d1d',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'kindergarten_education_slider_btn_text_color', array(
		'label'    => __('Slider Button Text Color', 'kindergarten-education'),
		'section'  => 'kindergarten_education_slidersettings',
	)));

	$wp_customize->add_setting('kindergarten_education_slider_btn_bg_color', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'kindergarten_education_slider_btn_bg_color', array(
		'label'    => __('Slider Button Background Color', 'kindergarten-education'),
		'section'  => 'kindergarten_education_slidersettings',
	)));

	$wp_customize->add_setting('kindergarten_education_slider_previous_icon',array(
		'default'	=> 'fas fa-chevron-left',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Kindergarten_Education_Icon_Changer(
        $wp_customize,'kindergarten_education_slider_previous_icon',array(
		'label'	=> __('Slider Previous Icon','kindergarten-education'),
		'transport' => 'refresh',
		'section'	=> 'kindergarten_education_slidersettings',
		'type'		=> 'icon'
	)));

	$wp_customize->add_setting('kindergarten_education_slider_next_icon',array(
		'default'	=> 'fas fa-chevron-right',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Kindergarten_Education_Icon_Changer(
        $wp_customize,'kindergarten_education_slider_next_icon',array(
		'label'	=> __('Slider Next Icon','kindergarten-education'),
		'transport' => 'refresh',
		'section'	=> 'kindergarten_education_slidersettings',
		'type'		=> 'icon'
	)));

	//content layout
    $wp_customize->add_setting('kindergarten_education_slider_content_layout',array(
    'default' => 'Left',
        'sanitize_callback' => 'kindergarten_education_sanitize_choices'
	));
	$wp_customize->add_control('kindergarten_education_slider_content_layout',array(
        'type' => 'radio',
        'label' => __('Slider Content Layout','kindergarten-education'),
        'section' => 'kindergarten_education_slidersettings',
        'choices' => array(
            'Center' => __('Center','kindergarten-education'),
            'Left' => __('Left','kindergarten-education'),
            'Right' => __('Right','kindergarten-education'),
        ),
	) );

	$wp_customize->add_setting('kindergarten_education_option_slider_height',array(
		'default'=> __('','kindergarten-education'),
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('kindergarten_education_option_slider_height',array(
		'label'	=> __('Slider Height','kindergarten-education'),
		'section'=> 'kindergarten_education_slidersettings',
		'type'=> 'text'
	));

	$wp_customize->add_setting('kindergarten_education_slider_content_top_padding',array(
		'default'=> '',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Kindergarten_Education_Custom_Control( $wp_customize,  'kindergarten_education_slider_content_top_padding',array(
		'label'	=> __('Top Bottom Slider Content Spacing','kindergarten-education'),
		'section'=> 'kindergarten_education_slidersettings',
		'input_attrs' => array(
            'step'             => 1,
			'min'              => 0,
			'max'              => 50,
        ),
	)));

	$wp_customize->add_setting('kindergarten_education_slider_content_left_padding',array(
		'default'=> '',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Kindergarten_Education_Custom_Control( $wp_customize,  'kindergarten_education_slider_content_left_padding',array(
		'label'	=> __('Left Right Slider Content Spacing','kindergarten-education'),
		'section'=> 'kindergarten_education_slidersettings',
		'input_attrs' => array(
            'step'             => 1,
			'min'              => 0,
			'max'              => 50,
        ),
	)));

	$wp_customize->add_setting( 'kindergarten_education_slider_excerpt_number', array(
		'default'              => 30,
		'type'                 => 'theme_mod',
		'transport' 		   => 'refresh',
		'sanitize_callback'    => 'absint',
		'sanitize_js_callback' => 'absint',
	) );
	$wp_customize->add_control( 'kindergarten_education_slider_excerpt_number', array(
		'label'       => esc_html__( 'Slider Content Limit','kindergarten-education' ),
		'section'     => 'kindergarten_education_slidersettings',
		'type'        => 'number',
		'settings'    => 'kindergarten_education_slider_excerpt_number',
		'input_attrs' => array(
			'step'             => 1,
			'min'              => 0,
			'max'              => 50,
		),
	) );

	//Opacity
	$wp_customize->add_setting('kindergarten_education_slider_opacity',array(
      'default'              => 0.7,
      'sanitize_callback' => 'kindergarten_education_sanitize_choices'
	));
	$wp_customize->add_control( 'kindergarten_education_slider_opacity', array(
		'label'       => esc_html__( 'Slider Image Opacity','kindergarten-education' ),
		'section'     => 'kindergarten_education_slidersettings',
		'type'        => 'select',
		'settings'    => 'kindergarten_education_slider_opacity',
		'choices' => array(
			'0' =>  esc_attr('0','kindergarten-education'),
			'0.1' =>  esc_attr('0.1','kindergarten-education'),
			'0.2' =>  esc_attr('0.2','kindergarten-education'),
			'0.3' =>  esc_attr('0.3','kindergarten-education'),
			'0.4' =>  esc_attr('0.4','kindergarten-education'),
			'0.5' =>  esc_attr('0.5','kindergarten-education'),
			'0.6' =>  esc_attr('0.6','kindergarten-education'),
			'0.7' =>  esc_attr('0.7','kindergarten-education'),
			'0.8' =>  esc_attr('0.8','kindergarten-education'),
			'0.9' =>  esc_attr('0.9','kindergarten-education')
		),
	));

	//Service
	$wp_customize->add_section('kindergarten_education_services',array(
		'title'	=> __('Service','kindergarten-education'),
		'description'	=> __('Add Service Section below.','kindergarten-education'),
		'panel' => 'kindergarten_education_panel_id',
	));

	$wp_customize->add_setting('kindergarten_education_service_sec_premium_info',array(
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('kindergarten_education_service_sec_premium_info',array(
		'type'=> 'hidden',
		'label'	=> __('Premium Features','kindergarten-education'),
		'description' => "<ul><li>". esc_html('Includes settings to set section title.','kindergarten-education') ."</li><li>". esc_html('Contains settings for the background colour and Bg Image.','kindergarten-education') ."</li><li>". esc_html('You can change the font family and colours of heading.','kindergarten-education') ."</li><li>". esc_html('And so on...','kindergarten-education') ."</li></ul><a target='_blank' href='". esc_url(KINDERGARTEN_EDUCATION_BUY_PRO) ." '>". esc_html('Upgrade to Pro','kindergarten-education') ."</a>",
		'section'=> 'kindergarten_education_services'
	));


	$wp_customize->add_setting('kindergarten_education_display_service_sec',array(
       'default' => false,
       'sanitize_callback'	=> 'kindergarten_education_sanitize_checkbox'
    ));
    $wp_customize->add_control('kindergarten_education_display_service_sec',array(
       'type' => 'checkbox',
       'label' => __('Show/Hide Service Section','kindergarten-education'),
       'section' => 'kindergarten_education_services'
    ));

	$args = array('numberposts' => -1);
	$post_list = get_posts($args);
	$i = 0;
	$pst[]='Select';
	foreach($post_list as $post){
	$pst[$post->post_title] = $post->post_title;
	}

	$wp_customize->add_setting('kindergarten_education_single_post',array(
		'sanitize_callback' => 'kindergarten_education_sanitize_choices',
	));
	$wp_customize->add_control('kindergarten_education_single_post',array(
		'type'    => 'select',
		'choices' => $pst,
		'label' => __('Select post','kindergarten-education'),
		'section' => 'kindergarten_education_services',
	));

	$wp_customize->add_setting( 'kindergarten_education_service_excerpt_number', array(
		'default'              => 20,
		'type'                 => 'theme_mod',
		'transport' 		   => 'refresh',
		'sanitize_callback'    => 'absint',
		'sanitize_js_callback' => 'absint',
	) );
	$wp_customize->add_control( 'kindergarten_education_service_excerpt_number', array(
		'label'       => esc_html__( 'Services Content Limit','kindergarten-education' ),
		'section'     => 'kindergarten_education_services',
		'type'        => 'number',
		'settings'    => 'kindergarten_education_service_excerpt_number',
		'input_attrs' => array(
			'step'             => 1,
			'min'              => 0,
			'max'              => 50,
		),
	) );

	//Category1
	$wp_customize->add_section('kindergarten_education_categoryservices',array(
		'title'	=> __('Service Category','kindergarten-education'),
		'description'	=> __('Add Service Section below.','kindergarten-education'),
		'panel' => 'kindergarten_education_panel_id',
	));


	$wp_customize->add_setting('kindergarten_education_services_premium_info',array(
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('kindergarten_education_services_premium_info',array(
		'type'=> 'hidden',
		'label'	=> __('Premium Features','kindergarten-education'),
		'description' => "<ul><li>". esc_html('Includes settings to set section title.','kindergarten-education') ."</li><li>". esc_html('Contains settings for the background colour and Bg Image.','kindergarten-education') ."</li><li>". esc_html('You can change the font family and colours of heading.','kindergarten-education') ."</li><li>". esc_html('And so on...','kindergarten-education') ."</li></ul><a target='_blank' href='". esc_url(KINDERGARTEN_EDUCATION_BUY_PRO) ." '>". esc_html('Upgrade to Pro','kindergarten-education') ."</a>",
		'section'=> 'kindergarten_education_categoryservices'
	));

	$categories = get_categories();
	$cats = array();
	$i = 0;
	$cat_post[]= 'select';
	foreach($categories as $category){
	if($i==0){
	$default = $category->slug;
	$i++;
	}
	$cat_post[$category->slug] = $category->name;
	}

	$wp_customize->add_setting('kindergarten_education_blogcategory_setting',array(
		'default'	=> 'select',
		'sanitize_callback' => 'kindergarten_education_sanitize_choices',
	));
	$wp_customize->add_control('kindergarten_education_blogcategory_setting',array(
		'type'    => 'select',
		'choices' => $cat_post,
		'label' => __('Select Category to display Latest Post','kindergarten-education'),
		'section' => 'kindergarten_education_categoryservices',
	));

	$wp_customize->add_setting( 'kindergarten_education_category_excerpt_number', array(
		'default'              => 10,
		'type'                 => 'theme_mod',
		'transport' 		   => 'refresh',
		'sanitize_callback'    => 'absint',
		'sanitize_js_callback' => 'absint',
	) );
	$wp_customize->add_control( 'kindergarten_education_category_excerpt_number', array(
		'label'       => esc_html__( 'Category Content Limit','kindergarten-education' ),
		'section'     => 'kindergarten_education_categoryservices',
		'type'        => 'number',
		'settings'    => 'kindergarten_education_category_excerpt_number',
		'input_attrs' => array(
			'step'             => 1,
			'min'              => 0,
			'max'              => 50,
		),
	) );

	$wp_customize->add_setting('kindergarten_education_category_button_text',array(
		'default'=> __('VIEW MORE','kindergarten-education'),
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('kindergarten_education_category_button_text',array(
		'label'	=> __('Add Button Text','kindergarten-education'),
		'section'=> 'kindergarten_education_categoryservices',
		'type'=> 'text'
	));

	$wp_customize->add_setting('kindergarten_education_services_button_icon',array(
		'default'	=> 'fas fa-arrow-right',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Kindergarten_Education_Icon_Changer(
        $wp_customize,'kindergarten_education_services_button_icon',array(
		'label'	=> __('Services Button Icon','kindergarten-education'),
		'transport' => 'refresh',
		'section'	=> 'kindergarten_education_categoryservices',
		'type'		=> 'icon'
	)));

	//layout setting
	$wp_customize->add_section( 'kindergarten_education_option', array(
    	'title'      => __( 'Layout Settings', 'kindergarten-education' ),
		'panel' => 'kindergarten_education_panel_id'
	));

	// animation 
	$wp_customize->add_setting( 'kindergarten_education_sidebar_animation',array(
	    'default' => true,
    	'sanitize_callback'	=> 'kindergarten_education_sanitize_checkbox'
  	));
	$wp_customize->add_control('kindergarten_education_sidebar_animation',array(
	    	'type' => 'checkbox',
	       'label' => __( 'Show / Hide Animations','kindergarten-education' ),
	       'section' => 'kindergarten_education_option'
	));

	// Progress Bar
	$wp_customize->add_setting( 'kindergarten_education_progress_bar',array(
	    'default' => false,
    	'sanitize_callback'	=> 'kindergarten_education_sanitize_checkbox'
  	));
	$wp_customize->add_control('kindergarten_education_progress_bar',array(
		'type' => 'checkbox',
		'label' => __( 'Show / Hide Progress Bar','kindergarten-education' ),
		'section' => 'kindergarten_education_option'
	));

	$wp_customize->add_setting('kindergarten_education_layout_premium_info',array(
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('kindergarten_education_layout_premium_info',array(
		'type'=> 'hidden',
		'label'	=> __('Premium Features','kindergarten-education'),
		'description' => "<ul><li>". esc_html('Please explore our premium theme for additional settings and features.','kindergarten-education') ."</li></ul><a target='_blank' href='". esc_url(KINDERGARTEN_EDUCATION_BUY_PRO) ." '>". esc_html('Upgrade to Pro','kindergarten-education') ."</a>",
		'section'=> 'kindergarten_education_option'
	));

	$wp_customize->add_setting( 'kindergarten_education_single_page_breadcrumb',array(
		'default' => false,
      'sanitize_callback'	=> 'kindergarten_education_sanitize_checkbox'
    ));
	$wp_customize->add_control('kindergarten_education_single_page_breadcrumb',array(
    	'type' => 'checkbox',
      'label' => __( 'Show / Hide Single Page Breadcrumb','kindergarten-education' ),
      'section' => 'kindergarten_education_option'
	));

	$wp_customize->add_setting('kindergarten_education_preloader',array(
       'default' => false,
       'sanitize_callback'	=> 'kindergarten_education_sanitize_checkbox'
    ));
    $wp_customize->add_control('kindergarten_education_preloader',array(
       'type' => 'checkbox',
       'label' => __('Show / Hide Preloader','kindergarten-education'),
        'section' => 'kindergarten_education_option'
    ));

   $wp_customize->add_setting('kindergarten_education_preloader_type',array(
        'default' => 'First Preloader Type',
        'sanitize_callback' => 'kindergarten_education_sanitize_choices'
	));
	$wp_customize->add_control('kindergarten_education_preloader_type',array(
        'type' => 'radio',
        'label' => __('Preloader Types','kindergarten-education'),
        'section' => 'kindergarten_education_option',
        'choices' => array(
            'First Preloader Type' => __('First Preloader Type','kindergarten-education'),
            'Second Preloader Type' => __('Second Preloader Type','kindergarten-education'),
        ),
	) );

	$wp_customize->add_setting('kindergarten_education_preloader_bg_image',array(
		'default'	=> '',
		'sanitize_callback'	=> 'esc_url_raw',
	));
	$wp_customize->add_control( new WP_Customize_Image_Control($wp_customize,'kindergarten_education_preloader_bg_image',array(
        'label' => __('Preloader Background Image','kindergarten-education'),
        'section' => 'kindergarten_education_option'
	)));

	$wp_customize->add_setting('kindergarten_education_preloader_bg_color_option', array(
		'default'           => '#000',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'kindergarten_education_preloader_bg_color_option', array(
		'label'    => __('Preloader Background Color', 'kindergarten-education'),
		'section'  => 'kindergarten_education_option',
	)));

	$wp_customize->add_setting('kindergarten_education_preloader_icon_color_option', array(
		'default'           => '#fff',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'kindergarten_education_preloader_icon_color_option', array(
		'label'    => __('Preloader Icon Color', 'kindergarten-education'),
		'section'  => 'kindergarten_education_option',
	)));

    //Sticky Header
	$wp_customize->add_setting( 'kindergarten_education_sticky_header',array(
		'default'	=> false,
      	'sanitize_callback'	=> 'kindergarten_education_sanitize_checkbox'
    ));
	$wp_customize->add_control('kindergarten_education_sticky_header',array(
			'type' => 'checkbox',
			'label' => __( 'Enable / Disable Sticky Header','kindergarten-education' ),
			'section' => 'kindergarten_education_option'
	));

   $wp_customize->add_setting('kindergarten_education_display_search',array(
       'default' => true,
       'sanitize_callback'	=> 'kindergarten_education_sanitize_checkbox'
   ));
   $wp_customize->add_control('kindergarten_education_display_search',array(
       'type' => 'checkbox',
       'label' => __('Enable / Disable Search','kindergarten-education'),
       'section' => 'kindergarten_education_option'
   ));

   $wp_customize->add_setting('kindergarten_education_search_icon',array(
		'default'	=> 'fa fa-search',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Kindergarten_Education_Icon_Changer(
        $wp_customize,'kindergarten_education_search_icon',array(
		'label'	=> __('Search Icon','kindergarten-education'),
		'transport' => 'refresh',
		'section'	=> 'kindergarten_education_option',
		'type'		=> 'icon'
	)));

	$wp_customize->add_setting('kindergarten_education_width_layout_options',array(
        'default' => 'Default',
        'sanitize_callback' => 'kindergarten_education_sanitize_choices'
	));
	$wp_customize->add_control('kindergarten_education_width_layout_options',array(
        'type' => 'radio',
        'label' => __('Container Box','kindergarten-education'),
        'description' => __('Here you can change the Width layout. ','kindergarten-education'),
        'section' => 'kindergarten_education_option',
        'choices' => array(
            'Default' => __('Default','kindergarten-education'),
            'Container Layout' => __('Container Layout','kindergarten-education'),
            'Box Layout' => __('Box Layout','kindergarten-education'),
        ),
	) );

	// Add Settings and Controls for Layout
	$wp_customize->add_setting('kindergarten_education_page_sidebar_options',array(
		'default' => 'One Column',
		'sanitize_callback' => 'kindergarten_education_sanitize_choices'
	) );
	$wp_customize->add_control('kindergarten_education_page_sidebar_options', array(
        'type' => 'radio',
        'label' => __('Page Sidebar Layout','kindergarten-education'),
        'section' => 'kindergarten_education_option',
        'choices' => array(
            'One Column' => __('One Column','kindergarten-education'),
            'Left Sidebar' => __('Left Sidebar','kindergarten-education'),
            'Right Sidebar' => __('Right Sidebar','kindergarten-education')
        ),
	)   );

	// Add Settings and Controls for Layout
	$wp_customize->add_setting('kindergarten_education_layout_options',array(
		'default' => 'Right Sidebar',
		'sanitize_callback' => 'kindergarten_education_sanitize_choices'
	) );
	$wp_customize->add_control('kindergarten_education_layout_options', array(
        'type' => 'radio',
        'label' => __('Post Sidebar Layout','kindergarten-education'),
        'section' => 'kindergarten_education_option',
        'choices' => array(
            'One Column' => __('One Column','kindergarten-education'),
            'Three Columns' => __('Three Columns','kindergarten-education'),
            'Four Columns' => __('Four Columns','kindergarten-education'),
            'Grid Layout' => __('Grid Layout','kindergarten-education'),
            'Left Sidebar' => __('Left Sidebar','kindergarten-education'),
            'Right Sidebar' => __('Right Sidebar','kindergarten-education')
        ),
	)   );

  //sidebar size option
	$wp_customize->add_setting('kindergarten_education_sidebar_size',array(
		'default' => 'Sidebar 1/3',
		'sanitize_callback' => 'kindergarten_education_sanitize_choices'
	));
	$wp_customize->add_control('kindergarten_education_sidebar_size',array(
		'type' => 'radio',
		'label' => __('Sidebar Size Option','kindergarten-education'),
		'section' => 'kindergarten_education_option',
		'choices' => array(
		   'Sidebar 1/3' => __('Sidebar 1/3','kindergarten-education'),
		   'Sidebar 1/4' => __('Sidebar 1/4','kindergarten-education'),
		),
	) );

	//Global Color
	$wp_customize->add_section('kindergarten_education_global_color', array(
		'title'    => __('Theme Color Option', 'kindergarten-education'),
		'panel'    => 'kindergarten_education_panel_id',
	));

		$wp_customize->add_setting('kindergarten_education_global_premium_info',array(
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('kindergarten_education_global_premium_info',array(
		'type'=> 'hidden',
		'label'	=> __('Premium Features','kindergarten-education'),
		'description' => "<ul><li>". esc_html('Please explore our premium theme for additional settings and features.','kindergarten-education') ."</li></ul><a target='_blank' href='". esc_url(KINDERGARTEN_EDUCATION_BUY_PRO) ." '>". esc_html('Upgrade to Pro','kindergarten-education') ."</a>",
		'section'=> 'kindergarten_education_global_color'
	));

	$wp_customize->add_setting('kindergarten_education_first_color', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'kindergarten_education_first_color', array(
		'label'    => __('First Highlight Color', 'kindergarten-education'),
		'section'  => 'kindergarten_education_global_color',
		'settings' => 'kindergarten_education_first_color',
	)));

	$wp_customize->add_setting('kindergarten_education_second_color', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'kindergarten_education_second_color', array(
		'label'    => __('Second Highlight Color', 'kindergarten-education'),
		'section'  => 'kindergarten_education_global_color',
		'settings' => 'kindergarten_education_second_color',
	)));

	$wp_customize->add_setting('kindergarten_education_third_color', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'kindergarten_education_third_color', array(
		'label'    => __('Third Highlight Color', 'kindergarten-education'),
		'section'  => 'kindergarten_education_global_color',
		'settings' => 'kindergarten_education_third_color',
	)));

	$wp_customize->add_setting('kindergarten_education_fourth_color', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'kindergarten_education_fourth_color', array(
		'label'    => __('Fourth Highlight Color', 'kindergarten-education'),
		'section'  => 'kindergarten_education_global_color',
		'settings' => 'kindergarten_education_fourth_color',
	)));

	//Blog Post Settings
	$wp_customize->add_section('kindergarten_education_post_settings', array(
		'title'    => __('Post General Settings', 'kindergarten-education'),
		'panel'    => 'kindergarten_education_panel_id',
	));

	$wp_customize->add_setting('kindergarten_education_post_premium_info',array(
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('kindergarten_education_post_premium_info',array(
		'type'=> 'hidden',
		'label'	=> __('Premium Features','kindergarten-education'),
		'description' => "<ul><li>". esc_html('Please explore our premium theme for additional settings and features.','kindergarten-education') ."</li></ul><a target='_blank' href='". esc_url(KINDERGARTEN_EDUCATION_BUY_PRO) ." '>". esc_html('Upgrade to Pro','kindergarten-education') ."</a>",
		'section'=> 'kindergarten_education_post_settings'
	));

	$wp_customize->add_setting('kindergarten_education_post_layouts',array(
        'default' => 'Layout 1',
        'sanitize_callback' => 'kindergarten_education_sanitize_choices'
	));
	$wp_customize->add_control(new Kindergarten_Education_Image_Radio_Control($wp_customize, 'kindergarten_education_post_layouts', array(
        'type' => 'select',
        'label' => __('Post Layouts','kindergarten-education'),
        'description' => __('Here you can change the 3 different layouts of post.','kindergarten-education'),
        'section' => 'kindergarten_education_post_settings',
        'choices' => array(
            'Layout 1' => esc_url(get_template_directory_uri()).'/images/layout1.png',
            'Layout 2' => esc_url(get_template_directory_uri()).'/images/layout2.png',
            'Layout 3' => esc_url(get_template_directory_uri()).'/images/layout3.png',
    ))));

	$wp_customize->add_setting('kindergarten_education_metafields_date',array(
       'default' => true,
       'sanitize_callback'	=> 'kindergarten_education_sanitize_checkbox'
    ));
    $wp_customize->add_control('kindergarten_education_metafields_date',array(
       'type' => 'checkbox',
       'label' => __('Show / Hide Date ','kindergarten-education'),
       'section' => 'kindergarten_education_post_settings'
    ));

   $wp_customize->add_setting('kindergarten_education_date_icon',array(
		'default'	=> 'far fa-calendar-alt',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Kindergarten_Education_Icon_Changer(
        $wp_customize,'kindergarten_education_date_icon',array(
		'label'	=> __('Post Date Icon','kindergarten-education'),
		'transport' => 'refresh',
		'section'	=> 'kindergarten_education_post_settings',
		'type'		=> 'icon'
	)));

	$wp_customize->add_setting( 'kindergarten_education_image_border_radius', array(
		'default'=> 0,
		'transport' => 'refresh',
		'sanitize_callback'	=> 'sanitize_text_field'
	) );
	$wp_customize->add_control(new Kindergarten_Education_Custom_Control( $wp_customize,  'kindergarten_education_image_border_radius', array(
		'label'       => esc_html__( 'Featured Image Border Radius','kindergarten-education' ),
		'section'     => 'kindergarten_education_post_settings',
		'type'        => 'number',
		'input_attrs' => array(
			'step'             => 1,
			'min'              => 0,
			'max'              => 100,
		),
	)) );

	$wp_customize->add_setting( 'kindergarten_education_image_box_shadow',array(
		'default' => 0,
		'type'                 => 'theme_mod',
		'transport' 		   => 'refresh',
		'sanitize_callback'    => 'absint',
		'sanitize_js_callback' => 'absint',
	));
	$wp_customize->add_control(new Kindergarten_Education_Custom_Control( $wp_customize,  'kindergarten_education_image_box_shadow',array(
		'label' => esc_html__( 'Featured Image Shadow','kindergarten-education' ),
		'section' => 'kindergarten_education_post_settings',
		'input_attrs' => array(
			'min' => 0,
			'max' => 50,
			'step' => 1,
		),
		'type'		=> 'range'
	)));

	$wp_customize->add_setting('kindergarten_education_show_first_caps',array(
      'default' => false,
      'sanitize_callback' => 'kindergarten_education_sanitize_checkbox',
   ));
	$wp_customize->add_control( 'kindergarten_education_show_first_caps',array(
		'label' => esc_html__('First Cap (First Capital Letter)', 'kindergarten-education'),
		'type' => 'checkbox',
		'section' => 'kindergarten_education_post_settings',
	));

   //Post excerpt
	$wp_customize->add_setting( 'kindergarten_education_post_excerpt_number', array(
		'default'              => 30,
		'type'                 => 'theme_mod',
		'transport' 		   => 'refresh',
		'sanitize_callback'    => 'absint',
		'sanitize_js_callback' => 'absint',
	) );
	$wp_customize->add_control( 'kindergarten_education_post_excerpt_number', array(
		'label'       => esc_html__( 'Blog Post Content Limit','kindergarten-education' ),
		'section'     => 'kindergarten_education_post_settings',
		'type'        => 'number',
		'settings'    => 'kindergarten_education_post_excerpt_number',
		'input_attrs' => array(
			'step'             => 2,
			'min'              => 0,
			'max'              => 50,
		),
	) );

	$wp_customize->add_setting('kindergarten_education_content_settings',array(
        'default' =>'Excerpt',
        'sanitize_callback' => 'kindergarten_education_sanitize_choices'
	));
	$wp_customize->add_control('kindergarten_education_content_settings',array(
        'type' => 'radio',
        'label' => __('Content Settings','kindergarten-education'),
        'section' => 'kindergarten_education_post_settings',
        'choices' => array(
            'Excerpt' => __('Excerpt','kindergarten-education'),
            'Content' => __('Content','kindergarten-education'),
        ),
	) );

	$wp_customize->add_setting( 'kindergarten_education_post_discription_suffix', array(
		'default'   => __('[...]','kindergarten-education'),
		'sanitize_callback'	=> 'sanitize_text_field'
	) );
	$wp_customize->add_control( 'kindergarten_education_post_discription_suffix', array(
		'label'       => esc_html__( 'Post Excerpt Suffix','kindergarten-education' ),
		'section'     => 'kindergarten_education_post_settings',
		'type'        => 'text',
		'settings'    => 'kindergarten_education_post_discription_suffix',
	) );

	$wp_customize->add_setting('kindergarten_education_enable_post_pagination',array(
       'default' => true,
       'sanitize_callback'	=> 'kindergarten_education_sanitize_checkbox'
    ));
    $wp_customize->add_control('kindergarten_education_enable_post_pagination',array(
       'type' => 'checkbox',
       'label' => __('Enable / Disable Blog Page Pagination','kindergarten-education'),
       'section' => 'kindergarten_education_post_settings'
    ));

    $wp_customize->add_setting( 'kindergarten_education_pagination_settings', array(
        'default'			=> 'Numeric Pagination',
        'sanitize_callback'	=> 'kindergarten_education_sanitize_choices'
    ));
    $wp_customize->add_control( 'kindergarten_education_pagination_settings', array(
        'section' => 'kindergarten_education_post_settings',
        'type' => 'radio',
        'label' => __( 'Post Pagination', 'kindergarten-education' ),
        'choices'		=> array(
            'Numeric Pagination'  => __( 'Numeric Pagination', 'kindergarten-education' ),
            'next-prev' => __( 'Next / Previous', 'kindergarten-education' ),
    )));

	$wp_customize->add_setting('kindergarten_education_post_pagination_option',array(
		'default' => 'Left',
		'sanitize_callback' => 'kindergarten_education_sanitize_choices'
	));
	$wp_customize->add_control('kindergarten_education_post_pagination_option',array(
		'type' => 'select',
		'label' => __('Post Pagination Alignment','kindergarten-education'),
		'section' => 'kindergarten_education_post_settings',
		'choices' => array(
			'Center' => __('Center','kindergarten-education'),
			'Left' => __('Left','kindergarten-education'),
			'Right' => __('Right','kindergarten-education'),
		),
	) );

	//Button Settings
	$wp_customize->add_section('kindergarten_education_button_settings', array(
		'title'    => __('Post Button Settings', 'kindergarten-education'),
		'panel'    => 'kindergarten_education_panel_id',
	));

		$wp_customize->add_setting('kindergarten_education_button_premium_info',array(
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('kindergarten_education_button_premium_info',array(
		'type'=> 'hidden',
		'label'	=> __('Premium Features','kindergarten-education'),
		'description' => "<ul><li>". esc_html('Please explore our premium theme for additional settings and features.','kindergarten-education') ."</li></ul><a target='_blank' href='". esc_url(KINDERGARTEN_EDUCATION_BUY_PRO) ." '>". esc_html('Upgrade to Pro','kindergarten-education') ."</a>",
		'section'=> 'kindergarten_education_button_settings'
	));

	$wp_customize->add_setting('kindergarten_education_button_text',array(
		'default'=> __('View More','kindergarten-education'),
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('kindergarten_education_button_text',array(
		'label'	=> __('Add Button Text','kindergarten-education'),
		'section'=> 'kindergarten_education_button_settings',
		'type'=> 'text'
	));

	$wp_customize->add_setting('kindergarten_education_btn_font_size_option',array(
		'default'=> 14,
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Kindergarten_Education_Custom_Control( $wp_customize,'kindergarten_education_btn_font_size_option',array(
		'label'	=> __('Button Font Size','kindergarten-education'),
		'section'=> 'kindergarten_education_button_settings',
		'input_attrs' => array(
         'step' => 1,
			'min'  => 0,
			'max'  => 50,
     	),
	)));

	$wp_customize->add_setting('kindergarten_education_tranform_button_text',array(
        'default' => 'Capitalize',
        'sanitize_callback' => 'kindergarten_education_sanitize_choices'
   ));
   $wp_customize->add_control('kindergarten_education_tranform_button_text',array(
        'type' => 'select',
        'label' => __('Button Text Transform','kindergarten-education'),
        'section' => 'kindergarten_education_button_settings',
        'choices' => array(
            'Uppercase' => __('Uppercase','kindergarten-education'),
            'Lowercase' => __('Lowercase','kindergarten-education'),
            'Capitalize' => __('Capitalize','kindergarten-education'),
        ),
	) );

	$wp_customize->add_setting('kindergarten_education_button_font_weight',array(
		'default' => '700',
		'sanitize_callback' => 'kindergarten_education_sanitize_choices'
 	));
 	$wp_customize->add_control('kindergarten_education_button_font_weight',array(
		'type' => 'select',
		'label' => __('Button Font Weight','kindergarten-education'),
		'section' => 'kindergarten_education_button_settings',
		'choices' => array(
			'100' => __('100','kindergarten-education'),
			'200' => __('200','kindergarten-education'),
			'300' => __('300','kindergarten-education'),
			'400' => __('400','kindergarten-education'),
			'500' => __('500','kindergarten-education'),
			'600' => __('600','kindergarten-education'),
			'700' => __('700','kindergarten-education'),
			'800' => __('800','kindergarten-education'),
			'900' => __('900','kindergarten-education'),
		),
	) );

	$wp_customize->add_setting('kindergarten_education_button_hover_effect',array(
        'default' => '',
        'sanitize_callback' => 'kindergarten_education_sanitize_choices'
    ));
	$wp_customize->add_control('kindergarten_education_button_hover_effect', array(
        'type' => 'select',
        'label' => __( 'Button Hover Effect', 'kindergarten-education' ),
        'section' => 'kindergarten_education_button_settings',
        'choices' => array(
			'pulse'     => __( 'Pulse', 'kindergarten-education' ),
			'rubberBand'=> __( 'RubberBand', 'kindergarten-education' ),
			'swing'     => __( 'Swing', 'kindergarten-education' ),
			'tada'      => __( 'Tada', 'kindergarten-education' ),
			'jello'     => __( 'Jello', 'kindergarten-education' ),
			'disable'   => __( 'Disabled', 'kindergarten-education' )
        ),
    ));

	$wp_customize->add_setting( 'kindergarten_education_post_button_padding_top',array(
		'default' => '',
		'transport' => 'refresh',
		'sanitize_callback' => 'kindergarten_education_sanitize_integer'
	));
	$wp_customize->add_control( new kindergarten_education_Custom_Control( $wp_customize, 'kindergarten_education_post_button_padding_top',	array(
		'label' => esc_html__( 'Button Top Bottom Padding (px)','kindergarten-education' ),
		'section' => 'kindergarten_education_button_settings',
		'input_attrs' => array(
			'min' => 0,
			'max' => 50,
			'step' => 1,
		),
	)));

	$wp_customize->add_setting( 'kindergarten_education_post_button_padding_right',array(
		'default' => '',
		'transport' => 'refresh',
		'sanitize_callback' => 'kindergarten_education_sanitize_integer'
	));
	$wp_customize->add_control( new kindergarten_education_Custom_Control( $wp_customize, 'kindergarten_education_post_button_padding_right',	array(
		'label' => esc_html__( 'Button Right Left Padding (px)','kindergarten-education' ),
		'section' => 'kindergarten_education_button_settings',
		'input_attrs' => array(
			'min' => 0,
			'max' => 50,
			'step' => 1,
		),
	)));

	$wp_customize->add_setting( 'kindergarten_education_post_button_border_radius',array(
		'default' => '',
		'transport' => 'refresh',
		'sanitize_callback' => 'kindergarten_education_sanitize_integer'
	));
	$wp_customize->add_control( new kindergarten_education_Custom_Control( $wp_customize, 'kindergarten_education_post_button_border_radius',array(
		'label' => esc_html__( 'Button Border Radius (px)','kindergarten-education' ),
		'section' => 'kindergarten_education_button_settings',
		'input_attrs' => array(
			'min' => 0,
			'max' => 50,
			'step' => 1,
		),
	)));

	// button letter spacing
	$wp_customize->add_setting( 'kindergarten_education_button_letter_spacing',array(
		'default' => '',
		'transport' => 'refresh',
		'sanitize_callback' => 'kindergarten_education_sanitize_integer'
	));
	$wp_customize->add_control( new  Kindergarten_Education_Custom_Control( $wp_customize, 'kindergarten_education_button_letter_spacing', array(
		'label'  =>  esc_html__('Button Letter Spacing (px)','kindergarten-education'),
		'section'  => 'kindergarten_education_button_settings',
		'input_attrs' => array(
		   'min' => 0,
		   'max' => 50,
		   'step' => 1,
		)
 	)));	

	// Button Shape
	$wp_customize->add_setting('kindergarten_education_btn_shape',array(
		'default'=> 'Square',
		'sanitize_callback'	=> 'kindergarten_education_sanitize_choices',
	));
	$wp_customize->add_control('kindergarten_education_btn_shape',array(
		'label'	=> __('Button Shape','kindergarten-education'),
		'section'=> 'kindergarten_education_button_settings',
		'type' => 'select',
		'choices' => array(
			'Square' => __('Square','kindergarten-education'),
			'Round' => __('Round','kindergarten-education'),
			'Pill' => __('Pill','kindergarten-education'),
		),
	));	

	//Single Post Settings
	$wp_customize->add_section('kindergarten_education_single_post_settings', array(
		'title'    => __('Single Post Settings', 'kindergarten-education'),
		'panel'    => 'kindergarten_education_panel_id',
	));

		$wp_customize->add_setting('kindergarten_education_single_post_premium_info',array(
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('kindergarten_education_single_post_premium_info',array(
		'type'=> 'hidden',
		'label'	=> __('Premium Features','kindergarten-education'),
		'description' => "<ul><li>". esc_html('Please explore our premium theme for additional settings and features.','kindergarten-education') ."</li></ul><a target='_blank' href='". esc_url(KINDERGARTEN_EDUCATION_BUY_PRO) ." '>". esc_html('Upgrade to Pro','kindergarten-education') ."</a>",
		'section'=> 'kindergarten_education_single_post_settings'
	));

	$wp_customize->add_setting('kindergarten_education_single_post_bradcrumb',array(
			'default' => false,
			'sanitize_callback'	=> 'kindergarten_education_sanitize_checkbox'
	));
	$wp_customize->add_control('kindergarten_education_single_post_bradcrumb',array(
			'type' => 'checkbox',
			'label' => __('Enable / Disable Breadcrumb','kindergarten-education'),
			'section' => 'kindergarten_education_single_post_settings',
	));

    $wp_customize->add_setting('kindergarten_education_single_post_date',array(
		'default' => true,
		'sanitize_callback'	=> 'kindergarten_education_sanitize_checkbox'
	));
	$wp_customize->add_control('kindergarten_education_single_post_date',array(
		'type' => 'checkbox',
		'label' => __('Enable / Disable Date ','kindergarten-education'),
		'section' => 'kindergarten_education_single_post_settings'
	));

	$wp_customize->add_setting('kindergarten_education_single_post_date_icon',array(
		 'default'	=> 'far fa-calendar-alt',
		 'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new kindergarten_education_Icon_Changer(
		 $wp_customize,'kindergarten_education_single_post_date_icon',array(
		 'label'	=> __('Single Post Date Icon','kindergarten-education'),
		 'transport' => 'refresh',
		 'section'	=> 'kindergarten_education_single_post_settings',
		 'type'		=> 'icon'
	)));

	$wp_customize->add_setting('kindergarten_education_single_post_author',array(
		'default' => true,
		'sanitize_callback'	=> 'kindergarten_education_sanitize_checkbox'
	));
	$wp_customize->add_control('kindergarten_education_single_post_author',array(
		'type' => 'checkbox',
		'label' => __('Enable / Disable Author','kindergarten-education'),
		'section' => 'kindergarten_education_single_post_settings'
	));

	$wp_customize->add_setting('kindergarten_education_single_post_author_icon',array(
		'default'	=> 'fas fa-user',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new kindergarten_education_Icon_Changer(
	$wp_customize,'kindergarten_education_single_post_author_icon',array(
		'label'	=> __('Single Post Author Icon','kindergarten-education'),
		'transport' => 'refresh',
		'section'	=> 'kindergarten_education_single_post_settings',
		'type'		=> 'icon'
	)));

	$wp_customize->add_setting('kindergarten_education_single_post_comment',array(
		'default' => true,
		'sanitize_callback'	=> 'kindergarten_education_sanitize_checkbox'
	));
	$wp_customize->add_control('kindergarten_education_single_post_comment',array(
		'type' => 'checkbox',
		'label' => __('Enable / Disable Comments','kindergarten-education'),
		'section' => 'kindergarten_education_single_post_settings'
	));

	$wp_customize->add_setting('kindergarten_education_single_post_comment_icon',array(
		'default'	=> 'fas fa-comments',
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control(new kindergarten_education_Icon_Changer( $wp_customize, 'kindergarten_education_single_post_comment_icon', array(
		'label'	=> __('Single Post Comment Icon','kindergarten-education'),
		'transport' => 'refresh',
		'section'	=> 'kindergarten_education_single_post_settings',
		'type'		=> 'icon'
	)));

	$wp_customize->add_setting('kindergarten_education_single_post_time',array(
       'default' => true,
       'sanitize_callback'	=> 'kindergarten_education_sanitize_checkbox'
 	));
 	$wp_customize->add_control('kindergarten_education_single_post_time',array(
       'type' => 'checkbox',
       'label' => __('Enable / Disable Time','kindergarten-education'),
       'section' => 'kindergarten_education_single_post_settings',
 	));

 	$wp_customize->add_setting('kindergarten_education_single_post_time_icon',array(
		'default'	=> 'fas fa-clock',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new kindergarten_education_Icon_Changer(
        $wp_customize,'kindergarten_education_single_post_time_icon',array(
		'label'	=> __('Post Time Icon','kindergarten-education'),
		'transport' => 'refresh',
		'section'	=> 'kindergarten_education_single_post_settings',
		'type'		=> 'icon'
	)));

	$wp_customize->add_setting('kindergarten_education_single_post_featured_image',array(
		'default' => true,
		'sanitize_callback'	=> 'kindergarten_education_sanitize_checkbox'
	));
	$wp_customize->add_control('kindergarten_education_single_post_featured_image',array(
		'type' => 'checkbox',
		'label' => __('Show / Hide Featured image','kindergarten-education'),
		'section' => 'kindergarten_education_single_post_settings',
	));

	$wp_customize->add_setting('kindergarten_education_single_post_featured_image_dimention',array(
		'default' => 'Default',
		'sanitize_callback'	=> 'kindergarten_education_sanitize_choices'
	));
	$wp_customize->add_control('kindergarten_education_single_post_featured_image_dimention',array(
		'type' => 'select',
		'label'	=> __('Single Post Featured Image Dimention','kindergarten-education'),
		'choices' => array(
			'Default' => __('Default','kindergarten-education'),
			'Custom' => __('Custom','kindergarten-education'),
		),
		'section'	=> 'kindergarten_education_single_post_settings',
	));

	$wp_customize->add_setting( 'kindergarten_education_single_post_featured_image_custom_width',array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Kindergarten_Education_Custom_Control( $wp_customize, 'kindergarten_education_single_post_featured_image_custom_width',	array(
		'label' => esc_html__( 'Single Post Featured Image Custom Width','kindergarten-education' ),
		'section' => 'kindergarten_education_single_post_settings',
		'input_attrs' => array(
			'min' => 0,
			'max' => 800,
			'step' => 1,
		),
		'active_callback' => 'kindergarten_education_enable_single_post_image_custom_dimention'
	)));

	$wp_customize->add_setting( 'kindergarten_education_single_post_featured_image_custom_height',array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Kindergarten_Education_Custom_Control( $wp_customize, 'kindergarten_education_single_post_featured_image_custom_height',	array(
		'label' => esc_html__( 'Single Post Featured Image Custom Height','kindergarten-education' ),
		'section' => 'kindergarten_education_single_post_settings',
		'input_attrs' => array(
			'min' => 0,
			'max' => 800,
			'step' => 1,
		),
		'active_callback' => 'kindergarten_education_enable_single_post_image_custom_dimention'
	)));

	$wp_customize->add_setting( 'kindergarten_education_single_image_border_radius', array(
		'default'=> 0,
		'transport' => 'refresh',
		'sanitize_callback'	=> 'sanitize_text_field'
	) );
	$wp_customize->add_control(new Kindergarten_Education_Custom_Control( $wp_customize,  'kindergarten_education_single_image_border_radius', array(
		'label'       => esc_html__( 'Featured Image Border Radius','kindergarten-education' ),
		'section'     => 'kindergarten_education_single_post_settings',
		'type'        => 'number',
		'input_attrs' => array(
			'step'             => 1,
			'min'              => 0,
			'max'              => 100,
		),
	)) );

	$wp_customize->add_setting( 'kindergarten_education_single_image_box_shadow',array(
		'default' => 0,
		'type'                 => 'theme_mod',
		'transport' 		   => 'refresh',
		'sanitize_callback'    => 'absint',
		'sanitize_js_callback' => 'absint',
	));
	$wp_customize->add_control(new Kindergarten_Education_Custom_Control( $wp_customize,  'kindergarten_education_single_image_box_shadow',array(
		'label' => esc_html__( 'Featured Image Shadow','kindergarten-education' ),
		'section' => 'kindergarten_education_single_post_settings',
		'input_attrs' => array(
			'min' => 0,
			'max' => 50,
			'step' => 1,
		),
		'type'		=> 'range'
	)));

	$wp_customize->add_setting('kindergarten_education_show_hide_single_post_categories',array(
		'default' => true,
		'sanitize_callback'	=> 'kindergarten_education_sanitize_checkbox'
	));
	$wp_customize->add_control('kindergarten_education_show_hide_single_post_categories',array(
		'type' => 'checkbox',
		'label' => __('Single Post Categories','kindergarten-education'),
		'section' => 'kindergarten_education_single_post_settings'
	));

	$wp_customize->add_setting('kindergarten_education_category_color', array(
		'default'           => '#fff',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'kindergarten_education_category_color', array(
		'label'    => __('Category Color', 'kindergarten-education'),
		'section'  => 'kindergarten_education_single_post_settings',
		'settings' => 'kindergarten_education_category_color',
	)));

	$wp_customize->add_setting('kindergarten_education_category_hover_color', array(
		'default'           => '#fff',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'kindergarten_education_category_hover_color', array(
		'label'    => __('Category Hover Color', 'kindergarten-education'),
		'section'  => 'kindergarten_education_single_post_settings',
		'settings' => 'kindergarten_education_category_hover_color',
	)));

	$wp_customize->add_setting('kindergarten_education_single_post_tags',array(
       'default' => true,
       'sanitize_callback'	=> 'kindergarten_education_sanitize_checkbox'
   ));
   $wp_customize->add_control('kindergarten_education_single_post_tags',array(
       'type' => 'checkbox',
       'label' => __('Show / Hide Tags','kindergarten-education'),
       'section' => 'kindergarten_education_single_post_settings'
   ));

   $wp_customize->add_setting( 'kindergarten_education_single_post_meta_seperator', array(
		'default'   => '|',
		'sanitize_callback'	=> 'sanitize_text_field'
	) );
	$wp_customize->add_control( 'kindergarten_education_single_post_meta_seperator', array(
		'label'       => esc_html__( 'Single Post Meta Box Seperator','kindergarten-education' ),
		'section'     => 'kindergarten_education_single_post_settings',
		'description' => __('Here you can add the seperator for meta box. e.g. "|",  ",", "/", etc. ','kindergarten-education'),
		'type'        => 'text',
		'settings'    => 'kindergarten_education_single_post_meta_seperator',
	) );

	$wp_customize->add_setting( 'kindergarten_education_comment_form_width',array(
		'default' => 100,
		'transport' => 'refresh',
		'sanitize_callback' => 'kindergarten_education_sanitize_integer'
	));
	$wp_customize->add_control( new Kindergarten_Education_Custom_Control( $wp_customize, 'kindergarten_education_comment_form_width',	array(
		'label' => esc_html__( 'Comment Form Width','kindergarten-education' ),
		'section' => 'kindergarten_education_single_post_settings',
		'input_attrs' => array(
			'min' => 0,
			'max' => 100,
			'step' => 1,
		),
	)));

	$wp_customize->add_setting('kindergarten_education_title_comment_form',array(
       'default' => __('Leave a Reply','kindergarten-education'),
       'sanitize_callback'	=> 'sanitize_text_field'
    ));
    $wp_customize->add_control('kindergarten_education_title_comment_form',array(
       'type' => 'text',
       'label' => __('Comment Form Heading Text','kindergarten-education'),
       'section' => 'kindergarten_education_single_post_settings'
    ));

    $wp_customize->add_setting('kindergarten_education_comment_form_button_content',array(
       'default' => __('Post Comment','kindergarten-education'),
       'sanitize_callback'	=> 'sanitize_text_field'
    ));
    $wp_customize->add_control('kindergarten_education_comment_form_button_content',array(
       'type' => 'text',
       'label' => __('Comment Form Button Text','kindergarten-education'),
       'section' => 'kindergarten_education_single_post_settings'
    ));

	$wp_customize->add_setting('kindergarten_education_enable_single_post_pagination',array(
       'default' => true,
       'sanitize_callback'	=> 'kindergarten_education_sanitize_checkbox'
    ));
    $wp_customize->add_control('kindergarten_education_enable_single_post_pagination',array(
       'type' => 'checkbox',
       'label' => __('Show / Hide Single Post Pagination','kindergarten-education'),
       'section' => 'kindergarten_education_single_post_settings'
    ));

   $wp_customize->add_setting('kindergarten_education_prev_text',array(
       'default' => 'Previous page',
       'sanitize_callback'	=> 'sanitize_text_field'
   ));
   $wp_customize->add_control('kindergarten_education_prev_text',array(
       'type' => 'text',
       'label' => __('Previous Navigation Text','kindergarten-education'),
       'section' => 'kindergarten_education_single_post_settings'
   ));

   $wp_customize->add_setting('kindergarten_education_next_text',array(
       'default' => 'Next page',
       'sanitize_callback'	=> 'sanitize_text_field'
   ));
   $wp_customize->add_control('kindergarten_education_next_text',array(
       'type' => 'text',
       'label' => __('Next Navigation Text','kindergarten-education'),
       'section' => 'kindergarten_education_single_post_settings'
   ));

   //Grid Post Settings
	$wp_customize->add_section('kindergarten_education_grid_settings', array(
		'title'    => __('Grid Post Settings', 'kindergarten-education'),
		'panel'    => 'kindergarten_education_panel_id',
	));

	$wp_customize->add_setting('kindergarten_education_grid_post_date',array(
		'default' => true,
		'sanitize_callback'	=> 'kindergarten_education_sanitize_checkbox'
	));
	$wp_customize->add_control('kindergarten_education_grid_post_date',array(
		'type' => 'checkbox',
		'label' => __('Enable / Disable Date','kindergarten-education'),
		'section' => 'kindergarten_education_grid_settings'
	));

   $wp_customize->add_setting('kindergarten_education_grid_date_icon',array(
		'default'	=> 'far fa-calendar-alt',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Kindergarten_Education_Icon_Changer(
        $wp_customize,'kindergarten_education_grid_date_icon',array(
		'label'	=> __('Post Date Icon','kindergarten-education'),
		'transport' => 'refresh',
		'section'	=> 'kindergarten_education_grid_settings',
		'type'		=> 'icon'
	)));

	$wp_customize->add_setting('kindergarten_education_grid_post_author',array(
		'default' => true,
		'sanitize_callback'	=> 'kindergarten_education_sanitize_checkbox'
	));
	$wp_customize->add_control('kindergarten_education_grid_post_author',array(
		'type' => 'checkbox',
		'label' => __('Enable / Disable Author','kindergarten-education'),
		'section' => 'kindergarten_education_grid_settings'
	));

   $wp_customize->add_setting('kindergarten_education_grid_author_icon',array(
		'default'	=> 'fas fa-user',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Kindergarten_Education_Icon_Changer(
        $wp_customize,'kindergarten_education_grid_author_icon',array(
		'label'	=> __('Post Author Icon','kindergarten-education'),
		'transport' => 'refresh',
		'section'	=> 'kindergarten_education_grid_settings',
		'type'		=> 'icon'
	)));

	$wp_customize->add_setting('kindergarten_education_grid_post_comment',array(
		'default' => true,
		'sanitize_callback'	=> 'kindergarten_education_sanitize_checkbox'
	));
	$wp_customize->add_control('kindergarten_education_grid_post_comment',array(
		'type' => 'checkbox',
		'label' => __('Enable / Disable Comment','kindergarten-education'),
		'section' => 'kindergarten_education_grid_settings'
	));

   $wp_customize->add_setting('kindergarten_education_grid_comment_icon',array(
		'default'	=> 'fas fa-comments',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Kindergarten_Education_Icon_Changer(
        $wp_customize,'kindergarten_education_grid_comment_icon',array(
		'label'	=> __('Post Comment Icon','kindergarten-education'),
		'transport' => 'refresh',
		'section'	=> 'kindergarten_education_grid_settings',
		'type'		=> 'icon'
	)));

	$wp_customize->add_setting('kindergarten_education_grid_post_time',array(
		'default' => true,
		'sanitize_callback'	=> 'kindergarten_education_sanitize_checkbox'
	));
	$wp_customize->add_control('kindergarten_education_grid_post_time',array(
		'type' => 'checkbox',
		'label' => __('Enable / Disable Time','kindergarten-education'),
		'section' => 'kindergarten_education_grid_settings'
	));

   $wp_customize->add_setting('kindergarten_education_grid_time_icon',array(
		'default'	=> 'fas fa-clock',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Kindergarten_Education_Icon_Changer(
        $wp_customize,'kindergarten_education_grid_time_icon',array(
		'label'	=> __('Post Date Icon','kindergarten-education'),
		'transport' => 'refresh',
		'section'	=> 'kindergarten_education_grid_settings',
		'type'		=> 'icon'
	)));

	$wp_customize->add_setting( 'kindergarten_education_grid_post_meta_seperator', array(
		'default'   => '|',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control( 'kindergarten_education_grid_post_meta_seperator', array(
		'label'       => esc_html__( 'Meta Box','kindergarten-education' ),
		'section'     => 'kindergarten_education_grid_settings',
		'description' => __('Here you can add the seperator for meta box. e.g. "|",  ",", "/", etc. ','kindergarten-education'),
		'type'        => 'text',
		'settings'    => 'kindergarten_education_grid_post_meta_seperator',
	));

	$wp_customize->add_setting( 'kindergarten_education_grid_image_border_radius', array(
		'default'=> 0,
		'sanitize_callback'	=> 'sanitize_text_field'
	) );
	$wp_customize->add_control(new Kindergarten_Education_Custom_Control( $wp_customize,  'kindergarten_education_grid_image_border_radius', array(
		'label'       => esc_html__( 'Image Border Radius','kindergarten-education' ),
		'section'     => 'kindergarten_education_grid_settings',
		'type'        => 'number',
		'input_attrs' => array(
			'step'             => 1,
			'min'              => 0,
			'max'              => 50,
		),
	)) );

	$wp_customize->add_setting( 'kindergarten_education_grid_image_box_shadow',array(
		'default' => 0,
		'type'                 => 'theme_mod',
		'transport' 		   => 'refresh',
		'sanitize_callback'    => 'absint',
		'sanitize_js_callback' => 'absint',
	));
	$wp_customize->add_control(new Kindergarten_Education_Custom_Control( $wp_customize,  'kindergarten_education_grid_image_box_shadow',array(
		'label' => esc_html__( 'Image Shadow','kindergarten-education' ),
		'section' => 'kindergarten_education_grid_settings',
		'input_attrs' => array(
			'min' => 0,
			'max' => 50,
			'step' => 1,
		),
		'type'		=> 'range'
	)));

	$wp_customize->add_setting('kindergarten_education_grid_post_content',array(
    	'default'   => 'Post Excerpt',
     	'sanitize_callback' => 'kindergarten_education_sanitize_choices'
	));
	$wp_customize->add_control('kindergarten_education_grid_post_content',array(
		'type' => 'radio',
		'label' => __('Grid Post Content Settings','kindergarten-education'),
		'section' => 'kindergarten_education_grid_settings',
		'choices' => array(
		   'None' => __('None','kindergarten-education'),
		   'Post Excerpt' => __('Post Excerpt','kindergarten-education'),
		   'Post Content' => __('Post Content','kindergarten-education'),
		),
	) );

	$wp_customize->add_setting( 'kindergarten_education_grid_post_excerpt_number', array(
		'default'              => 30,
		'type'                 => 'theme_mod',
		'transport' 		   => 'refresh',
		'sanitize_callback'    => 'absint',
		'sanitize_js_callback' => 'absint',
	));
	$wp_customize->add_control( 'kindergarten_education_grid_post_excerpt_number', array(
		'label'       => esc_html__( 'Grid Post Content Limit','kindergarten-education' ),
		'section'     => 'kindergarten_education_grid_settings',
		'type'        => 'number',
		'settings'    => 'kindergarten_education_grid_post_excerpt_number',
		'input_attrs' => array(
			'step'             => 2,
			'min'              => 0,
			'max'              => 50,
		),
	));

	$wp_customize->add_setting( 'kindergarten_education_grid_excerpt_suffix', array(
		'default'   => __('[...]','kindergarten-education'),
		'sanitize_callback'	=> 'sanitize_text_field'
	) );
	$wp_customize->add_control( 'kindergarten_education_grid_excerpt_suffix', array(
		'label'       => esc_html__( 'Grid Post Excerpt Suffix','kindergarten-education' ),
		'section'     => 'kindergarten_education_grid_settings',
		'type'        => 'text',
		'settings'    => 'kindergarten_education_grid_excerpt_suffix',
	) );

	$wp_customize->add_setting('kindergarten_education_grid_post_block_option',array(
        'default' => 'By Block',
        'sanitize_callback' => 'kindergarten_education_sanitize_choices'
	));
	$wp_customize->add_control('kindergarten_education_grid_post_block_option',array(
        'type' => 'select',
        'label' => __('Grid Post Shown','kindergarten-education'),
        'section' => 'kindergarten_education_grid_settings',
        'choices' => array(
            'By Block' => __('By Block','kindergarten-education'),
            'By Without Block' => __('By Without Block','kindergarten-education'),
        ),
	) );

   //Related Post Settings
	$wp_customize->add_section('kindergarten_education_related_settings', array(
		'title'    => __('Related Post Settings', 'kindergarten-education'),
		'panel'    => 'kindergarten_education_panel_id',
	));

	$wp_customize->add_setting('kindergarten_education_related_premium_info',array(
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('kindergarten_education_related_premium_info',array(
		'type'=> 'hidden',
		'label'	=> __('Premium Features','kindergarten-education'),
		'description' => "<ul><li>". esc_html('Please explore our premium theme for additional settings and features.','kindergarten-education') ."</li></ul><a target='_blank' href='". esc_url(KINDERGARTEN_EDUCATION_BUY_PRO) ." '>". esc_html('Upgrade to Pro','kindergarten-education') ."</a>",
		'section'=> 'kindergarten_education_related_settings'
	));

	$wp_customize->add_setting( 'kindergarten_education_related_enable_disable',array(
		'default' => true,
      'sanitize_callback'	=> 'kindergarten_education_sanitize_checkbox'
    ));
    $wp_customize->add_control('kindergarten_education_related_enable_disable',array(
    	'type' => 'checkbox',
      'label' => __( 'Enable / Disable Related Post','kindergarten-education' ),
      'section' => 'kindergarten_education_related_settings'
    ));

	$wp_customize->add_setting('kindergarten_education_related_metafields_date',array(
		'default' => true,
		'sanitize_callback'	=> 'kindergarten_education_sanitize_checkbox'
	));
	$wp_customize->add_control('kindergarten_education_related_metafields_date',array(
		'type' => 'checkbox',
		'label' => __('Enable / Disable Date','kindergarten-education'),
		'section' => 'kindergarten_education_related_settings'
	));

    $wp_customize->add_setting('kindergarten_education_related_metafields_author',array(
       'default' => true,
       'sanitize_callback'	=> 'kindergarten_education_sanitize_checkbox'
    ));
    $wp_customize->add_control('kindergarten_education_related_metafields_author',array(
       'type' => 'checkbox',
       'label' => __('Enable / Disable Author','kindergarten-education'),
       'section' => 'kindergarten_education_related_settings'
    ));

    $wp_customize->add_setting('kindergarten_education_related_metafields_comment',array(
       'default' => true,
       'sanitize_callback'	=> 'kindergarten_education_sanitize_checkbox'
    ));
    $wp_customize->add_control('kindergarten_education_related_metafields_comment',array(
       'type' => 'checkbox',
       'label' => __('Enable / Disable Comments','kindergarten-education'),
       'section' => 'kindergarten_education_related_settings'
    ));

    $wp_customize->add_setting('kindergarten_education_related_metafields_time',array(
       'default' => true,
       'sanitize_callback'	=> 'kindergarten_education_sanitize_checkbox'
    ));
    $wp_customize->add_control('kindergarten_education_related_metafields_time',array(
       'type' => 'checkbox',
       'label' => __('Enable / Disable Time','kindergarten-education'),
       'section' => 'kindergarten_education_related_settings'
    ));

	$wp_customize->add_setting( 'kindergarten_education_related_post_meta_seperator', array(
		'default'   => '|',
		'sanitize_callback'	=> 'sanitize_text_field'
	) );
	$wp_customize->add_control( 'kindergarten_education_related_post_meta_seperator', array(
		'label'       => esc_html__( 'Meta Box Separator','kindergarten-education' ),
		'section'     => 'kindergarten_education_related_settings',
		'description' => __('Here you can add the seperator for meta box. e.g. "|",  ",", "/", etc. ','kindergarten-education'),
		'type'        => 'text',
		'settings'    => 'kindergarten_education_related_post_meta_seperator',
	) );

    $wp_customize->add_setting('kindergarten_education_related_title',array(
		'default'	=> '',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('kindergarten_education_related_title',array(
		'label'	=> __('Add Section Title','kindergarten-education'),
		'section'	=> 'kindergarten_education_related_settings',
		'type'		=> 'text'
	));

	$wp_customize->add_setting( 'kindergarten_education_related_posts_count_number', array(
		'default'              => 3,
		'type'                 => 'theme_mod',
		'transport' 		   => 'refresh',
		'sanitize_callback'	=> 'sanitize_text_field'
	) );
	$wp_customize->add_control( 'kindergarten_education_related_posts_count_number', array(
		'label'       => esc_html__( 'Related Post Count','kindergarten-education' ),
		'section'     => 'kindergarten_education_related_settings',
		'type'        => 'number',
		'input_attrs' => array(
			'step'             => 1,
			'min'              => 0,
			'max'              => 10,
		),
	) );

	$wp_customize->add_setting('kindergarten_education_related_posts_taxanomies',array(
        'default' => 'categories',
        'sanitize_callback' => 'kindergarten_education_sanitize_choices'
	));
	$wp_customize->add_control('kindergarten_education_related_posts_taxanomies',array(
        'type' => 'radio',
        'label' => __('Post Taxonomies','kindergarten-education'),
        'section' => 'kindergarten_education_related_settings',
        'choices' => array(
            'categories' => __('Categories','kindergarten-education'),
            'tags' => __('Tags','kindergarten-education'),
        ),
	) );

	$wp_customize->add_setting( 'kindergarten_education_related_post_excerpt_number',array(
		'default' => 15,
		'transport' => 'refresh',
		'sanitize_callback' => 'absint'
	));
	$wp_customize->add_control( new Kindergarten_Education_Custom_Control( $wp_customize, 'kindergarten_education_related_post_excerpt_number',	array(
		'label' => esc_html__( 'Content Limit','kindergarten-education' ),
		'section' => 'kindergarten_education_related_settings',
		'input_attrs' => array(
			'min' => 0,
			'max' => 50,
			'step' => 1,
		),
	)));

	$wp_customize->add_setting( 'kindergarten_education_related_post_discription_suffix', array(
		'default'   => __('[...]','kindergarten-education'),
		'sanitize_callback'	=> 'sanitize_text_field'
	) );
	$wp_customize->add_control( 'kindergarten_education_related_post_discription_suffix', array(
		'label'       => esc_html__( 'Post Excerpt Suffix','kindergarten-education' ),
		'section'     => 'kindergarten_education_related_settings',
		'type'        => 'text',
		'settings'    => 'kindergarten_education_related_post_discription_suffix',
	) );

	$wp_customize->add_setting('kindergarten_education_related_post_featured_image',array(
		'default' => true,
		'sanitize_callback'	=> 'kindergarten_education_sanitize_checkbox'
	));
	$wp_customize->add_control('kindergarten_education_related_post_featured_image',array(
		'type' => 'checkbox',
		'label' => __('Enable / Disable Featured image','kindergarten-education'),
		'section' => 'kindergarten_education_related_settings',
	)); 

	// Featured Image Hover Effect
	$wp_customize->add_setting(
		'kindergarten_education_featured_image_hover',
		array(
			'default'           => 'none',
			'sanitize_callback' => 'sanitize_text_field',
		)
	);

	$wp_customize->add_control(
		'kindergarten_education_featured_image_hover',
		array(
			'label'   => __( 'Featured Image Hover Effect', 'kindergarten-education' ),
			'section' => 'kindergarten_education_single_post_settings',
			'type'    => 'select',
			'choices' => array(
				'none'      => __( 'None', 'kindergarten-education' ),
				'zoom-in'   => __( 'Zoom In', 'kindergarten-education' ),
				'zoom-out'  => __( 'Zoom Out', 'kindergarten-education' ),
				'grayscale' => __( 'Grayscale', 'kindergarten-education' ),
				'blur'      => __( 'Blur', 'kindergarten-education' ),
				'bright'    => __( 'Bright', 'kindergarten-education' ),
				'sepia'     => __( 'Sepia', 'kindergarten-education' ),
				'translate' => __( 'Translate', 'kindergarten-education' ),
			),
		)
	);

	//Responsive Media Settings
	$wp_customize->add_section('kindergarten_education_responsive_media',array(
		'title'	=> __('Responsive Media','kindergarten-education'),
		'panel' => 'kindergarten_education_panel_id',
	));

	$wp_customize->add_setting('kindergarten_education_responsive_premium_info',array(
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('kindergarten_education_responsive_premium_info',array(
		'type'=> 'hidden',
		'label'	=> __('Premium Features','kindergarten-education'),
		'description' => "<ul><li>". esc_html('Please explore our premium theme for additional settings and features.','kindergarten-education') ."</li></ul><a target='_blank' href='". esc_url(KINDERGARTEN_EDUCATION_BUY_PRO) ." '>". esc_html('Upgrade to Pro','kindergarten-education') ."</a>",
		'section'=> 'kindergarten_education_responsive_media'
	));

	$wp_customize->add_setting('kindergarten_education_responsive_menu_open_icon',array(
		'default'	=> 'fas fa-bars',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Kindergarten_Education_Icon_Changer(
        $wp_customize,'kindergarten_education_responsive_menu_open_icon',array(
		'label'	=> __('Responsive Open Menu Icon','kindergarten-education'),
		'transport' => 'refresh',
		'section'	=> 'kindergarten_education_responsive_media',
		'type'		=> 'icon'
	)));

	$wp_customize->add_setting('kindergarten_education_open_menu_label',array(
       'default' => __('','kindergarten-education'),
       'sanitize_callback'	=> 'sanitize_text_field'
   ));
   $wp_customize->add_control('kindergarten_education_open_menu_label',array(
       'type' => 'text',
       'label' => __('Open Menu Label','kindergarten-education'),
       'section' => 'kindergarten_education_responsive_media'
   ));

	$wp_customize->add_setting('kindergarten_education_responsive_menu_close_icon',array(
		'default'	=> 'fas fa-times',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Kindergarten_Education_Icon_Changer(
        $wp_customize,'kindergarten_education_responsive_menu_close_icon',array(
		'label'	=> __('Responsive Close Menu Icon','kindergarten-education'),
		'transport' => 'refresh',
		'section'	=> 'kindergarten_education_responsive_media',
		'type'		=> 'icon'
	)));

	$wp_customize->add_setting('kindergarten_education_close_menu_label',array(
       'default' => __('','kindergarten-education'),
       'sanitize_callback' => 'sanitize_text_field'
   ));
   $wp_customize->add_control('kindergarten_education_close_menu_label',array(
       'type' => 'text',
       'label' => __('Close Menu Label','kindergarten-education'),
       'section' => 'kindergarten_education_responsive_media'
   ));

	// site toggle button color
	$wp_customize->add_setting('kindergarten_education_toggle_button_color', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'kindergarten_education_toggle_button_color', array(
		'label'    => __('Toggle Button Color', 'kindergarten-education'),
		'section'  => 'kindergarten_education_responsive_media',
		'settings' => 'kindergarten_education_toggle_button_color',
	)));

	$wp_customize->add_setting('kindergarten_education_res_search',array(
       'default' => true,
       'sanitize_callback'	=> 'kindergarten_education_sanitize_checkbox'
    ));
    $wp_customize->add_control('kindergarten_education_res_search',array(
       'type' => 'checkbox',
       'label' => __('Display Search','kindergarten-education'),
       'section' => 'kindergarten_education_responsive_media'
    ));

    $wp_customize->add_setting('kindergarten_education_display_slider',array(
       'default' => false,
       'sanitize_callback'	=> 'kindergarten_education_sanitize_checkbox'
    ));
    $wp_customize->add_control('kindergarten_education_display_slider',array(
       'type' => 'checkbox',
       'label' => __('Display Slider','kindergarten-education'),
       'section' => 'kindergarten_education_responsive_media'
    ));

    $wp_customize->add_setting('kindergarten_education_display_slider_button',array(
       'default' => true,
       'sanitize_callback'	=> 'kindergarten_education_sanitize_checkbox'
    ));
    $wp_customize->add_control('kindergarten_education_display_slider_button',array(
       'type' => 'checkbox',
       'label' => __('Display Slider Button','kindergarten-education'),
       'section' => 'kindergarten_education_responsive_media'
    ));

	$wp_customize->add_setting('kindergarten_education_display_sidebar',array(
       'default' => true,
       'sanitize_callback'	=> 'kindergarten_education_sanitize_checkbox'
    ));
    $wp_customize->add_control('kindergarten_education_display_sidebar',array(
       'type' => 'checkbox',
       'label' => __('Display Sidebar','kindergarten-education'),
       'section' => 'kindergarten_education_responsive_media'
    ));

    $wp_customize->add_setting('kindergarten_education_display_scrolltop',array(
       'default' => true,
       'sanitize_callback'	=> 'kindergarten_education_sanitize_checkbox'
    ));
    $wp_customize->add_control('kindergarten_education_display_scrolltop',array(
       'type' => 'checkbox',
       'label' => __('Display Back To Top','kindergarten-education'),
       'section' => 'kindergarten_education_responsive_media'
    ));

    $wp_customize->add_setting('kindergarten_education_display_fixed_header',array(
       'default' => false,
       'sanitize_callback'	=> 'kindergarten_education_sanitize_checkbox'
    ));
    $wp_customize->add_control('kindergarten_education_display_fixed_header',array(
       'type' => 'checkbox',
       'label' => __('Display Sticky Header','kindergarten-education'),
       'section' => 'kindergarten_education_responsive_media'
    ));

    $wp_customize->add_setting('kindergarten_education_display_preloader',array(
       'default' => false,
       'sanitize_callback'	=> 'kindergarten_education_sanitize_checkbox'
    ));
    $wp_customize->add_control('kindergarten_education_display_preloader',array(
       'type' => 'checkbox',
       'label' => __('Display Preloader','kindergarten-education'),
       'section' => 'kindergarten_education_responsive_media'
    ));

	//404 Page Setting
	$wp_customize->add_section('kindergarten_education_page_not_found',array(
		'title'	=> __('404 Page Not Found / No Result','kindergarten-education'),
		'panel' => 'kindergarten_education_panel_id',
	));

	$wp_customize->add_setting('kindergarten_education_page_premium_info',array(
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('kindergarten_education_page_premium_info',array(
		'type'=> 'hidden',
		'label'	=> __('Premium Features','kindergarten-education'),
		'description' => "<ul><li>". esc_html('Please explore our premium theme for additional settings and features.','kindergarten-education') ."</li></ul><a target='_blank' href='". esc_url(KINDERGARTEN_EDUCATION_BUY_PRO) ." '>". esc_html('Upgrade to Pro','kindergarten-education') ."</a>",
		'section'=> 'kindergarten_education_page_not_found'
	));

	$wp_customize->add_setting('kindergarten_education_page_not_found_heading',array(
		'default'=> __('404 Not Found','kindergarten-education'),
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('kindergarten_education_page_not_found_heading',array(
		'label'	=> __('404 Heading','kindergarten-education'),
		'section'=> 'kindergarten_education_page_not_found',
		'type'=> 'text'
	));

	$wp_customize->add_setting('kindergarten_education_page_not_found_text',array(
		'default'=> __('Looks like you have taken a wrong turn. Dont worry it happens to the best of us.','kindergarten-education'),
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('kindergarten_education_page_not_found_text',array(
		'label'	=> __('404 Content','kindergarten-education'),
		'section'=> 'kindergarten_education_page_not_found',
		'type'=> 'text'
	));

	$wp_customize->add_setting('kindergarten_education_page_not_found_button',array(
		'default'=>  __('Back to Home Page','kindergarten-education'),
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('kindergarten_education_page_not_found_button',array(
		'label'	=> __('404 Button','kindergarten-education'),
		'section'=> 'kindergarten_education_page_not_found',
		'type'=> 'text'
	));

	$wp_customize->add_setting('kindergarten_education_no_search_result_heading',array(
		'default'=> __('Nothing Found','kindergarten-education'),
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('kindergarten_education_no_search_result_heading',array(
		'label'	=> __('No Search Results Heading','kindergarten-education'),
		'description'=>__('The search page heading display when no results are found.','kindergarten-education'),
		'section'=> 'kindergarten_education_page_not_found',
		'type'=> 'text'
	));

	$wp_customize->add_setting('kindergarten_education_no_search_result_text',array(
		'default'=> __('Sorry, but nothing matched your search terms. Please try again with some different keywords.','kindergarten-education'),
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('kindergarten_education_no_search_result_text',array(
		'label'	=> __('No Search Results Text','kindergarten-education'),
		'description'=>__('The search page text display when no results are found.','kindergarten-education'),
		'section'=> 'kindergarten_education_page_not_found',
		'type'=> 'text'
	));

	//Woocommerce Section
	$wp_customize->add_section( 'kindergarten_education_woocommerce_section' , array(
    	'title'      => __( 'Woocommerce Settings', 'kindergarten-education' ),
    	'description'=>__('The below settings are apply on woocommerce pages.','kindergarten-education'),
		'priority'   => null,
		'panel' => 'kindergarten_education_panel_id'
	) );

	$wp_customize->add_setting('kindergarten_education_woocommerce_premium_info',array(
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('kindergarten_education_woocommerce_premium_info',array(
		'type'=> 'hidden',
		'label'	=> __('Premium Features','kindergarten-education'),
		'description' => "<ul><li>". esc_html('Please explore our premium theme for additional settings and features.','kindergarten-education') ."</li></ul><a target='_blank' href='". esc_url(KINDERGARTEN_EDUCATION_BUY_PRO) ." '>". esc_html('Upgrade to Pro','kindergarten-education') ."</a>",
		'section'=> 'kindergarten_education_woocommerce_section'
	));

	/**
	 * Product Columns
	 */
	$wp_customize->add_setting( 'kindergarten_education_per_columns' , array(
		'default'           => 4,
		'transport'         => 'refresh',
		'sanitize_callback' => 'kindergarten_education_sanitize_choices',
	) );
	$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'kindergarten_education_per_columns', array(
		'label'    => __( 'Product per columns', 'kindergarten-education' ),
		'section'  => 'kindergarten_education_woocommerce_section',
		'type'     => 'select',
		'choices'  => array(
			'2' => '2',
			'3' => '3',
			'4' => '4',
			'5' => '5',
		),
	) ) );

	$wp_customize->add_setting('kindergarten_education_product_per_page',array(
		'default'	=> 9,
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('kindergarten_education_product_per_page',array(
		'label'	=> __('Product per page','kindergarten-education'),
		'section'	=> 'kindergarten_education_woocommerce_section',
		'type'		=> 'number'
	));

	$wp_customize->add_setting('kindergarten_education_shop_sidebar_enable',array(
       'default' => false,
       'sanitize_callback'	=> 'kindergarten_education_sanitize_checkbox'
   ));
   $wp_customize->add_control('kindergarten_education_shop_sidebar_enable',array(
       'type' => 'checkbox',
       'label' => __('Enable / Disable shop page sidebar','kindergarten-education'),
       'section' => 'kindergarten_education_woocommerce_section',
   ));

   // shop page sidebar alignment
   $wp_customize->add_setting('kindergarten_education_shop_page_layout', array(
		'default'           => 'Right Sidebar',
		'sanitize_callback' => 'kindergarten_education_sanitize_choices',
	));
	$wp_customize->add_control('kindergarten_education_shop_page_layout',array(
		'type'           => 'radio',
		'label'          => __('Shop Page Layout', 'kindergarten-education'),
		'section'        => 'kindergarten_education_woocommerce_section',
		'choices'        => array(
			'Left Sidebar'  => __('Left Sidebar', 'kindergarten-education'),
			'Right Sidebar' => __('Right Sidebar', 'kindergarten-education'),
		),
	));

   $wp_customize->add_setting('kindergarten_education_product_page_sidebar_enable',array(
       'default' => false,
       'sanitize_callback'	=> 'kindergarten_education_sanitize_checkbox'
   ));
   $wp_customize->add_control('kindergarten_education_product_page_sidebar_enable',array(
       'type' => 'checkbox',
       'label' => __('Enable / Disable Single Product Page Sidebar','kindergarten-education'),
       'section' => 'kindergarten_education_woocommerce_section',
   ));

   // single product page sidebar alignment
   $wp_customize->add_setting('kindergarten_education_single_product_page_layout', array(
		'default'           => 'Right Sidebar',
		'sanitize_callback' => 'kindergarten_education_sanitize_choices',
	));
	$wp_customize->add_control('kindergarten_education_single_product_page_layout',array(
		'type'           => 'radio',
		'label'          => __('Single Product Page Layout', 'kindergarten-education'),
		'section'        => 'kindergarten_education_woocommerce_section',
		'choices'        => array(
			'Left Sidebar'  => __('Left Sidebar', 'kindergarten-education'),
			'Right Sidebar' => __('Right Sidebar', 'kindergarten-education'),
		),
	));

   $wp_customize->add_setting('kindergarten_education_related_product_enable',array(
       'default' => true,
       'sanitize_callback'	=> 'kindergarten_education_sanitize_checkbox'
   ));
   $wp_customize->add_control('kindergarten_education_related_product_enable',array(
       'type' => 'checkbox',
       'label' => __('Enable / Disable Related product','kindergarten-education'),
       'section' => 'kindergarten_education_woocommerce_section',
   ));

   $wp_customize->add_setting( 'kindergarten_education_woo_product_sale_border_radius',array(
		'default' => 100,
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control(new Kindergarten_Education_Custom_Control( $wp_customize, 'kindergarten_education_woo_product_sale_border_radius', array(
        'label'  => __('Woocommerce Product Sale Border Radius','kindergarten-education'),
        'section'  => 'kindergarten_education_woocommerce_section',
        'type'        => 'number',
        'input_attrs' => array(
        	'step'=> 1,
            'min' => 0,
            'max' => 50,
        )
   )));

	$wp_customize->add_setting('kindergarten_education_wooproduct_sale_font_size',array(
		'default'=> 14,
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Kindergarten_Education_Custom_Control( $wp_customize, 'kindergarten_education_wooproduct_sale_font_size',array(
		'label'	=> __('Woocommerce Product Sale Font Size','kindergarten-education'),
		'input_attrs' => array(
            'step'             => 1,
			'min'              => 0,
			'max'              => 50,
        ),
		'section'=> 'kindergarten_education_woocommerce_section',
	)));

    $wp_customize->add_setting('kindergarten_education_woo_product_sale_top_bottom_padding',array(
		'default'=> 0,
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Kindergarten_Education_Custom_Control( $wp_customize, 'kindergarten_education_woo_product_sale_top_bottom_padding',array(
		'label'	=> __('Woocommerce Product Sale Top Bottom Padding ','kindergarten-education'),
		'input_attrs' => array(
            'step'             => 1,
			'min'              => 0,
			'max'              => 50,
        ),
		'section'=> 'kindergarten_education_woocommerce_section',
		'type'=> 'number'
	)));

	$wp_customize->add_setting('kindergarten_education_woo_product_sale_left_right_padding',array(
		'default'=> 0,
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Kindergarten_Education_Custom_Control( $wp_customize, 'kindergarten_education_woo_product_sale_left_right_padding',array(
		'label'	=> __('Woocommerce Product Sale Left Right Padding','kindergarten-education'),
		'input_attrs' => array(
            'step'             => 1,
			'min'              => 0,
			'max'              => 50,
        ),
		'section'=> 'kindergarten_education_woocommerce_section',
		'type'=> 'number'
	)));

	$wp_customize->add_setting('kindergarten_education_woo_product_sale_position',array(
        'default' => 'Right',
        'sanitize_callback' => 'kindergarten_education_sanitize_choices'
	));
	$wp_customize->add_control('kindergarten_education_woo_product_sale_position',array(
        'type' => 'select',
        'label' => __('Woocommerce Product Sale Position','kindergarten-education'),
        'section' => 'kindergarten_education_woocommerce_section',
        'choices' => array(
            'Right' => __('Right','kindergarten-education'),
            'Left' => __('Left','kindergarten-education'),
        ),
	));

	$wp_customize->add_setting( 'kindergarten_education_woocommerce_button_padding_top',array(
		'default' => 15,
		'transport' => 'refresh',
		'sanitize_callback' => 'kindergarten_education_sanitize_integer'
	));
	$wp_customize->add_control( new Kindergarten_Education_Custom_Control( $wp_customize, 'kindergarten_education_woocommerce_button_padding_top',	array(
		'label' => esc_html__( 'Button Top Bottom Padding (px)','kindergarten-education' ),
		'section' => 'kindergarten_education_woocommerce_section',
		'input_attrs' => array(
			'min' => 0,
			'max' => 50,
			'step' => 1,
		),
	)));

	$wp_customize->add_setting( 'kindergarten_education_woocommerce_button_padding_right',array(
		'default' => 15,
		'transport' => 'refresh',
		'sanitize_callback' => 'kindergarten_education_sanitize_integer'
	));
	$wp_customize->add_control( new Kindergarten_Education_Custom_Control( $wp_customize, 'kindergarten_education_woocommerce_button_padding_right',	array(
		'label' => esc_html__( 'Button Right Left Padding (px)','kindergarten-education' ),
		'section' => 'kindergarten_education_woocommerce_section',
		'input_attrs' => array(
			'min' => 0,
			'max' => 50,
			'step' => 1,
		),
	)));

	$wp_customize->add_setting( 'kindergarten_education_woocommerce_button_border_radius',array(
		'default' => 30,
		'transport' => 'refresh',
		'sanitize_callback' => 'kindergarten_education_sanitize_integer'
	));
	$wp_customize->add_control( new Kindergarten_Education_Custom_Control( $wp_customize, 'kindergarten_education_woocommerce_button_border_radius',array(
		'label' => esc_html__( 'Button Border Radius (px)','kindergarten-education' ),
		'section' => 'kindergarten_education_woocommerce_section',
		'input_attrs' => array(
			'min' => 0,
			'max' => 50,
			'step' => 1,
		),
	)));

    $wp_customize->add_setting('kindergarten_education_woocommerce_product_border_enable',array(
       'default' => true,
       'sanitize_callback'	=> 'kindergarten_education_sanitize_checkbox'
    ));
    $wp_customize->add_control('kindergarten_education_woocommerce_product_border_enable',array(
       'type' => 'checkbox',
       'label' => __('Enable / Disable product border','kindergarten-education'),
       'section' => 'kindergarten_education_woocommerce_section',
    ));

	$wp_customize->add_setting( 'kindergarten_education_woocommerce_product_padding_top',array(
		'default' => 10,
		'transport' => 'refresh',
		'sanitize_callback' => 'kindergarten_education_sanitize_integer'
	));
	$wp_customize->add_control( new Kindergarten_Education_Custom_Control( $wp_customize, 'kindergarten_education_woocommerce_product_padding_top',	array(
		'label' => esc_html__( 'Product Top Bottom Padding (px)','kindergarten-education' ),
		'section' => 'kindergarten_education_woocommerce_section',
		'input_attrs' => array(
			'min' => 0,
			'max' => 50,
			'step' => 1,
		),
	)));

	$wp_customize->add_setting( 'kindergarten_education_woocommerce_product_padding_right',array(
		'default' => 10,
		'transport' => 'refresh',
		'sanitize_callback' => 'kindergarten_education_sanitize_integer'
	));
	$wp_customize->add_control( new Kindergarten_Education_Custom_Control( $wp_customize, 'kindergarten_education_woocommerce_product_padding_right',	array(
		'label' => esc_html__( 'Product Right Left Padding (px)','kindergarten-education' ),
		'section' => 'kindergarten_education_woocommerce_section',
		'input_attrs' => array(
			'min' => 0,
			'max' => 50,
			'step' => 1,
		),
	)));

	$wp_customize->add_setting( 'kindergarten_education_woocommerce_product_border_radius',array(
		'default' => 3,
		'transport' => 'refresh',
		'sanitize_callback' => 'kindergarten_education_sanitize_integer'
	));
	$wp_customize->add_control( new Kindergarten_Education_Custom_Control( $wp_customize, 'kindergarten_education_woocommerce_product_border_radius',array(
		'label' => esc_html__( 'Product Border Radius (px)','kindergarten-education' ),
		'section' => 'kindergarten_education_woocommerce_section',
		'input_attrs' => array(
			'min' => 0,
			'max' => 50,
			'step' => 1,
		),
	)));

	$wp_customize->add_setting( 'kindergarten_education_woocommerce_product_box_shadow',array(
		'default' => 5,
		'transport' => 'refresh',
		'sanitize_callback' => 'kindergarten_education_sanitize_integer'
	));
	$wp_customize->add_control( new Kindergarten_Education_Custom_Control( $wp_customize, 'kindergarten_education_woocommerce_product_box_shadow',array(
		'label' => esc_html__( 'Product Box Shadow (px)','kindergarten-education' ),
		'section' => 'kindergarten_education_woocommerce_section',
		'input_attrs' => array(
			'min' => 0,
			'max' => 50,
			'step' => 1,
		),
	)));

	$wp_customize->add_setting('kindergarten_education_wooproducts_nav',array(
       'default' => 'Yes',
       'sanitize_callback'	=> 'kindergarten_education_sanitize_choices'
    ));
    $wp_customize->add_control('kindergarten_education_wooproducts_nav',array(
       'type' => 'select',
       'label' => __('Shop Page Products Navigation','kindergarten-education'),
       'choices' => array(
            'Yes' => __('Yes','kindergarten-education'),
            'No' => __('No','kindergarten-education'),
        ),
       'section' => 'kindergarten_education_woocommerce_section',
    ));

	//footer text
	$wp_customize->add_section('kindergarten_education_footer_section',array(
		'title'	=> __('Footer Text','kindergarten-education'),
		'panel' => 'kindergarten_education_panel_id'
	));
	
	$wp_customize->add_setting('kindergarten_education_footer_premium_info',array(
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('kindergarten_education_footer_premium_info',array(
		'type'=> 'hidden',
		'label'	=> __('Premium Features','kindergarten-education'),
		'description' => "<ul><li>". esc_html('Please explore our premium theme for additional settings and features.','kindergarten-education') ."</li></ul><a target='_blank' href='". esc_url(KINDERGARTEN_EDUCATION_BUY_PRO) ." '>". esc_html('Upgrade to Pro','kindergarten-education') ."</a>",
		'section'=> 'kindergarten_education_footer_section'
	));

	$wp_customize->add_setting('kindergarten_education_show_hide_footer',array(
		'default' => true,
		'sanitize_callback'	=> 'kindergarten_education_sanitize_checkbox'
	));
	$wp_customize->add_control('kindergarten_education_show_hide_footer',array(
     	'type' => 'checkbox',
      'label' => __('Enable / Disable Footer','kindergarten-education'),
      'section' => 'kindergarten_education_footer_section',
	));

	$wp_customize->add_setting('kindergarten_education_footer_template',array(
      'default'	=> esc_html('kindergarten_education-footer-one'),
      'sanitize_callback'	=> 'kindergarten_education_sanitize_choices'
	));
	$wp_customize->add_control('kindergarten_education_footer_template',array(
		'label'	=> esc_html__('Footer style','kindergarten-education'),
		'section'	=> 'kindergarten_education_footer_section',
		'setting'	=> 'kindergarten_education_footer_template',
		'type' => 'select',
		'choices' => array(
          'kindergarten_education-footer-one' => esc_html__('Style 1', 'kindergarten-education'),
          'kindergarten_education-footer-two' => esc_html__('Style 2', 'kindergarten-education'),
          'kindergarten_education-footer-three' => esc_html__('Style 3', 'kindergarten-education'),
          'kindergarten_education-footer-four' => esc_html__('Style 4', 'kindergarten-education'),
          'kindergarten_education-footer-five' => esc_html__('Style 5', 'kindergarten-education'),
          )
	));			

	$wp_customize->add_setting('kindergarten_education_footer_bg_color', array(
		'default'           => '#191919',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'kindergarten_education_footer_bg_color', array(
		'label'    => __('Footer Background Color', 'kindergarten-education'),
		'section'  => 'kindergarten_education_footer_section',
	)));

	$wp_customize->add_setting('kindergarten_education_footer_bg_image',array(
		'default'	=> '',
		'sanitize_callback'	=> 'esc_url_raw',
	));
	$wp_customize->add_control( new WP_Customize_Image_Control($wp_customize,'kindergarten_education_footer_bg_image',array(
      'label' => __('Footer Background Image','kindergarten-education'),
      'section' => 'kindergarten_education_footer_section'
	)));
	
	$wp_customize->add_setting('kindergarten_education_footer_attatchment',array(
		'default'=> 'scroll',
		'sanitize_callback'	=> 'kindergarten_education_sanitize_choices'
	));
	$wp_customize->add_control('kindergarten_education_footer_attatchment',array(
		'type' => 'select',
		'label'	=> __('Footer Background Attatchment','kindergarten-education'),
		'choices' => array(
            'fixed' => __('fixed','kindergarten-education'),
            'scroll' => __('scroll','kindergarten-education'),
      ),
		'section'=> 'kindergarten_education_footer_section',
	));

	$wp_customize->add_setting('kindergarten_education_footer_img_position',array(
		'default' => 'center center',
		'transport' => 'refresh',
		'sanitize_callback' => 'kindergarten_education_sanitize_choices'
	  ));
	  $wp_customize->add_control('kindergarten_education_footer_img_position',array(
		  'type' => 'select',
		  'label' => __('Footer Image Position','kindergarten-education'),
		  'section' => 'kindergarten_education_footer_section',
		  'choices' 	=> array(
			  'left top' 		=> esc_html__( 'Top Left', 'kindergarten-education' ),
			  'center top'   => esc_html__( 'Top', 'kindergarten-education' ),
			  'right top'   => esc_html__( 'Top Right', 'kindergarten-education' ),
			  'left center'   => esc_html__( 'Left', 'kindergarten-education' ),
			  'center center'   => esc_html__( 'Center', 'kindergarten-education' ),
			  'right center'   => esc_html__( 'Right', 'kindergarten-education' ),
			  'left bottom'   => esc_html__( 'Bottom Left', 'kindergarten-education' ),
			  'center bottom'   => esc_html__( 'Bottom', 'kindergarten-education' ),
			  'right bottom'   => esc_html__( 'Bottom Right', 'kindergarten-education' ),
		  ),
	  ));		

	$wp_customize->add_setting('kindergarten_education_footer_widget_areas',array(
      'default'           => 4,
      'sanitize_callback' => 'kindergarten_education_sanitize_choices',
   ));
   $wp_customize->add_control('kindergarten_education_footer_widget_areas',array(
      'type'        => 'radio',
      'label'       => __('Footer Widget Area', 'kindergarten-education'),
      'section'     => 'kindergarten_education_footer_section',
      'description' => __('Select the number of widget areas you want in the footer. After that, go to Appearance > Widgets and add your widgets.', 'kindergarten-education'),
      'choices' => array(
         '1'     => __('One', 'kindergarten-education'),
         '2'     => __('Two', 'kindergarten-education'),
         '3'     => __('Three', 'kindergarten-education'),
         '4'     => __('Four', 'kindergarten-education')
      ),
   ));

	$wp_customize->add_setting('kindergarten_education_footer_heading',array(
		'default' => 'Left',
		'transport' => 'refresh',
		'sanitize_callback' => 'kindergarten_education_sanitize_choices'
	));
	$wp_customize->add_control('kindergarten_education_footer_heading',array(
		'type' => 'select',
		'label' => __('Footer Heading Alignment','kindergarten-education'),
		'section' => 'kindergarten_education_footer_section',
		'choices' => array(
			'Left' => __('Left','kindergarten-education'),
			'Center' => __('Center','kindergarten-education'),
			'Right' => __('Right','kindergarten-education')
		),
	) );

	$wp_customize->add_setting('kindergarten_education_footer_heading_letter_spacing',array(
		'default'=> 1,
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('kindergarten_education_footer_heading_letter_spacing',array(
		'label'	=> __('Footer Heading Letter Spacing','kindergarten-education'),
  		'type'        => 'number',
		'input_attrs' => array(
			'step'             => 1,
			'min'              => 1,
			'max'              => 50,
	),
		'section'=> 'kindergarten_education_footer_section',
	));		

	$wp_customize->add_setting('kindergarten_education_footer_content',array(
		'default' => 'Left',
		'transport' => 'refresh',
		'sanitize_callback' => 'kindergarten_education_sanitize_choices'
	));
	$wp_customize->add_control('kindergarten_education_footer_content',array(
		'type' => 'select',
		'label' => __('Footer Content Alignment','kindergarten-education'),
		'section' => 'kindergarten_education_footer_section',
		'choices' => array(
			'Left' => __('Left','kindergarten-education'),
			'Center' => __('Center','kindergarten-education'),
			'Right' => __('Right','kindergarten-education')
		),
	) );

	$wp_customize->add_setting('kindergarten_education_footer_heading_font_size',array(
		'default'=> 25,
		'transport' => 'refresh',
		'sanitize_callback' => 'kindergarten_education_sanitize_integer'
	));
	$wp_customize->add_control(new Kindergarten_Education_Custom_Control( $wp_customize, 'kindergarten_education_footer_heading_font_size',array(
		'label' => esc_html__( 'Footer Heading Font Size','kindergarten-education' ),
		'section'=> 'kindergarten_education_footer_section',
		'input_attrs' => array(
            'step'             => 1,
			'min'              => 0,
			'max'              => 50,
        ),
	)));

	$wp_customize->add_setting('kindergarten_education_footer_text_tranform',array(
		'default' => 'Capitalize',
		'sanitize_callback' => 'kindergarten_education_sanitize_choices'
 	));
 	$wp_customize->add_control('kindergarten_education_footer_text_tranform',array(
		'type' => 'select',
		'label' => __('Footer Heading Text Transform','kindergarten-education'),
		'section' => 'kindergarten_education_footer_section',
		'choices' => array(
		   'Uppercase' => __('Uppercase','kindergarten-education'),
		   'Lowercase' => __('Lowercase','kindergarten-education'),
		   'Capitalize' => __('Capitalize','kindergarten-education'),
		),
	) );

	$wp_customize->add_setting('kindergarten_education_footer_heading_font_weight',array(
		'default' => '500',
		'sanitize_callback' => 'kindergarten_education_sanitize_choices'
 	));
 	$wp_customize->add_control('kindergarten_education_footer_heading_font_weight',array(
		'type' => 'select',
		'label' => __('Footer Heading Font Weight','kindergarten-education'),
		'section' => 'kindergarten_education_footer_section',
		'choices' => array(
			'100' => __('100','kindergarten-education'),
			'200' => __('200','kindergarten-education'),
			'300' => __('300','kindergarten-education'),
			'400' => __('400','kindergarten-education'),
			'500' => __('500','kindergarten-education'),
			'600' => __('600','kindergarten-education'),
			'700' => __('700','kindergarten-education'),
			'800' => __('800','kindergarten-education'),
			'900' => __('900','kindergarten-education'),
		),
	) );

   $wp_customize->add_setting('kindergarten_education_footer_padding',array(
		'default'=> '',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Kindergarten_Education_Custom_Control( $wp_customize,'kindergarten_education_footer_padding',array(
		'label'	=> __('Footer Widget Padding','kindergarten-education'),
		'section'=> 'kindergarten_education_footer_section',
		'input_attrs' => array(
         'step' => 1,
			'min'  => 0,
			'max'  => 100,
      ),
	)));

   $wp_customize->add_setting('kindergarten_education_hide_show_scroll',array(
        'default' => true,
        'sanitize_callback'	=> 'kindergarten_education_sanitize_checkbox'
	));
	$wp_customize->add_control('kindergarten_education_hide_show_scroll',array(
     	'type' => 'checkbox',
      	'label' => __('Enable / Disable Back To Top','kindergarten-education'),
      	'section' => 'kindergarten_education_footer_section',
	));

	$wp_customize->add_setting('kindergarten_education_back_to_top_icon',array(
		'default'	=> 'fas fa-long-arrow-alt-up',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Kindergarten_Education_Icon_Changer(
        $wp_customize,'kindergarten_education_back_to_top_icon',array(
		'label'	=> __('Back to Top Icon','kindergarten-education'),
		'transport' => 'refresh',
		'section'	=> 'kindergarten_education_footer_section',
		'type'		=> 'icon'
	)));

	$wp_customize->add_setting('kindergarten_education_scroll_icon_font_size',array(
		'default'=> 22,
		'transport' => 'refresh',
		'sanitize_callback' => 'kindergarten_education_sanitize_integer'
	));
	$wp_customize->add_control(new Kindergarten_Education_Custom_Control( $wp_customize, 'kindergarten_education_scroll_icon_font_size',array(
		'label'	=> __('Back To Top Icon Font Size','kindergarten-education'),
		'section'=> 'kindergarten_education_footer_section',
		'input_attrs' => array(
            'step'             => 1,
			'min'              => 0,
			'max'              => 50,
        ),
	)));

	$wp_customize->add_setting('kindergarten_education_scroll_icon_color', array(
		'default'           => '#000',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'kindergarten_education_scroll_icon_color', array(
		'label'    => __('Back To Top Icon Color', 'kindergarten-education'),
		'section'  => 'kindergarten_education_footer_section',
	)));

	$wp_customize->add_setting('kindergarten_education_scroll_icon_hover_color', array(
		'default'           => '#000',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'kindergarten_education_scroll_icon_hover_color', array(
		'label'    => __('Back To Top Icon Hover Color', 'kindergarten-education'),
		'section'  => 'kindergarten_education_footer_section',
	)));

	$wp_customize->add_setting('kindergarten_education_scroll_icon_background', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'kindergarten_education_scroll_icon_background', array(
		'label'    => __('Back To Top Background Color', 'kindergarten-education'),
		'section'  => 'kindergarten_education_footer_section',
	)));

	$wp_customize->add_setting('kindergarten_education_scroll_icon_bg_hover', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'kindergarten_education_scroll_icon_bg_hover', array(
		'label'    => __('Back To Top Background Hover Color', 'kindergarten-education'),
		'section'  => 'kindergarten_education_footer_section',
	)));

	$wp_customize->add_setting('kindergarten_education_footer_options',array(
        'default' => 'Right align',
        'sanitize_callback' => 'kindergarten_education_sanitize_choices'
	));
	$wp_customize->add_control('kindergarten_education_footer_options',array(
        'type' => 'radio',
        'label' => __('Back To Top','kindergarten-education'),
        'section' => 'kindergarten_education_footer_section',
        'choices' => array(
            'Left align' => __('Left align','kindergarten-education'),
            'Right align' => __('Right align','kindergarten-education'),
            'Center align' => __('Center align','kindergarten-education'),
        ),
	) );

	$wp_customize->add_setting( 'kindergarten_education_top_bottom_scroll_padding',array(
		'default' => 12,
		'transport' => 'refresh',
		'sanitize_callback' => 'kindergarten_education_sanitize_integer'
	));
	$wp_customize->add_control( new Kindergarten_Education_Custom_Control( $wp_customize, 'kindergarten_education_top_bottom_scroll_padding',	array(
		'label' => esc_html__( 'Top Bottom Scroll Padding (px)','kindergarten-education' ),
		'section' => 'kindergarten_education_footer_section',
		'input_attrs' => array(
			'min' => 0,
			'max' => 50,
			'step' => 1,
		),
	)));

	$wp_customize->add_setting( 'kindergarten_education_left_right_scroll_padding',array(
		'default' => 17,
		'transport' => 'refresh',
		'sanitize_callback' => 'kindergarten_education_sanitize_integer'
	));
	$wp_customize->add_control( new Kindergarten_Education_Custom_Control( $wp_customize, 'kindergarten_education_left_right_scroll_padding',	array(
		'label' => esc_html__( 'Left Right Scroll Padding (px)','kindergarten-education' ),
		'section' => 'kindergarten_education_footer_section',
		'input_attrs' => array(
			'min' => 0,
			'max' => 50,
			'step' => 1,
		),
	)));

	$wp_customize->add_setting( 'kindergarten_education_back_to_top_border_radius',array(
		'default' => 50,
		'sanitize_callback' => 'kindergarten_education_sanitize_integer'
	));
	$wp_customize->add_control( new Kindergarten_Education_Custom_Control( $wp_customize, 'kindergarten_education_back_to_top_border_radius', array(
		'label' => esc_html__( 'Back to Top Border Radius (px)','kindergarten-education' ),
		'section' => 'kindergarten_education_footer_section',
		'input_attrs' => array(
			'min' => 0,
			'max' => 50,
			'step' => 1,
		),
	)));

	$wp_customize->add_setting('kindergarten_education_show_hide_copyright',array(
		'default' => true,
		'sanitize_callback'	=> 'kindergarten_education_sanitize_checkbox'
	));
	$wp_customize->add_control('kindergarten_education_show_hide_copyright',array(
     	'type' => 'checkbox',
      'label' => __('Enable / Disable Copyright','kindergarten-education'),
      'section' => 'kindergarten_education_footer_section',
	));

	$wp_customize->add_setting('kindergarten_education_footer_copy',array(
		'default'	=> '',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('kindergarten_education_footer_copy',array(
		'label'	=> __('Copyright Text','kindergarten-education'),
		'section'	=> 'kindergarten_education_footer_section',
		'description'	=> __('Add some text for footer like copyright etc.','kindergarten-education'),
		'type'		=> 'text'
	));

	$wp_customize->add_setting('kindergarten_education_footer_text_align',array(
        'default' => 'center',
        'sanitize_callback' => 'kindergarten_education_sanitize_choices'
	));
	$wp_customize->add_control('kindergarten_education_footer_text_align',array(
        'type' => 'radio',
        'label' => __('Copyright Text Alignment ','kindergarten-education'),
        'section' => 'kindergarten_education_footer_section',
        'choices' => array(
            'left' => __('Left Align','kindergarten-education'),
            'right' => __('Right Align','kindergarten-education'),
            'center' => __('Center Align','kindergarten-education'),
        ),
	) );

	$wp_customize->add_setting('kindergarten_education_copyright_text_font_size',array(
		'default'=> 15,
		'transport' => 'refresh',
		'sanitize_callback' => 'kindergarten_education_sanitize_integer'
	));
	$wp_customize->add_control(new Kindergarten_Education_Custom_Control( $wp_customize, 'kindergarten_education_copyright_text_font_size',array(
		'label' => esc_html__( 'Copyright Font Size (px)','kindergarten-education' ),
		'section'=> 'kindergarten_education_footer_section',
		'input_attrs' => array(
            'step'             => 1,
			'min'              => 0,
			'max'              => 50,
        ),
	)));

	$wp_customize->add_setting( 'kindergarten_education_footer_text_padding',array(
		'default' => 15,
		'transport' => 'refresh',
		'sanitize_callback' => 'kindergarten_education_sanitize_integer'
	));
	$wp_customize->add_control( new Kindergarten_Education_Custom_Control( $wp_customize, 'kindergarten_education_footer_text_padding',	array(
		'label' => esc_html__( 'Copyright Text Padding (px)','kindergarten-education' ),
		'section' => 'kindergarten_education_footer_section',
		'input_attrs' => array(
			'min' => 0,
			'max' => 50,
			'step' => 1,
		),
	)));

	$wp_customize->add_setting('kindergarten_education_copyright_text_color', array(
		'default'           => '#fff',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'kindergarten_education_copyright_text_color', array(
		'label'    => __('Copyright Text Color', 'kindergarten-education'),
		'section'  => 'kindergarten_education_footer_section',
	)));

	$wp_customize->add_setting('kindergarten_education_copyright_text_background', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'kindergarten_education_copyright_text_background', array(
		'label'    => __('Copyright Background Color', 'kindergarten-education'),
		'section'  => 'kindergarten_education_footer_section',
	)));

	//Sticky copyright
	$wp_customize->add_setting( 'kindergarten_education_sticky_copyright',array(
		'default'=> false,
      	'sanitize_callback'	=> 'kindergarten_education_sanitize_checkbox'
    ) );
    $wp_customize->add_control('kindergarten_education_sticky_copyright',array(
    	'type' => 'checkbox',
        'label' => __( 'Enable / Disable Sticky copyright','kindergarten-education' ),
        'section' => 'kindergarten_education_footer_section'
    ));

	//Footer Social Media Section
	$wp_customize->add_section( 'kindergarten_education_footer_social_section' , array(
    	'title'      => __( 'Footer Social Media', 'kindergarten-education' ),
		'priority'   => null,
		'panel' => 'kindergarten_education_panel_id'
	) );

	$wp_customize->add_setting('kindergarten_education_footer_social_premium_info',array(
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('kindergarten_education_footer_social_premium_info',array(
		'type'=> 'hidden',
		'label'	=> __('Premium Features','kindergarten-education'),
		'description' => "<ul><li>". esc_html('Please explore our premium theme for additional settings and features.','kindergarten-education') ."</li></ul><a target='_blank' href='". esc_url(KINDERGARTEN_EDUCATION_BUY_PRO) ." '>". esc_html('Upgrade to Pro','kindergarten-education') ."</a>",
		'section'=> 'kindergarten_education_footer_social_section'
	));

	$wp_customize->add_setting('kindergarten_education_show_footer_icons',array(
		'default' => false,
		'sanitize_callback'	=> 'kindergarten_education_sanitize_checkbox'
	));
	$wp_customize->add_control('kindergarten_education_show_footer_icons',array(
		'type' => 'checkbox',
		'label' => __('Show/Hide Footer Social Icons','kindergarten-education'),
		'section' => 'kindergarten_education_footer_social_section'
	));

	$wp_customize->add_setting('kindergarten_education_footer_facebook_icon',array(
		'default'	=> 'fab fa-facebook-f',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Kindergarten_Education_Icon_Changer(
        $wp_customize,'kindergarten_education_footer_facebook_icon',array(
		'label'	=> __('Facebook Icon','kindergarten-education'),
		'transport' => 'refresh',
		'section'	=> 'kindergarten_education_footer_social_section',
		'type'		=> 'icon'
	)));	

	$wp_customize->add_setting('kindergarten_education_footer_facebook_link',array(
		'default'	=> '',
		'sanitize_callback'	=> 'esc_url_raw'
	));
	$wp_customize->add_control('kindergarten_education_footer_facebook_link',array(
		'label'	=> __('Add Facebook Link','kindergarten-education'),
		'section'	=> 'kindergarten_education_footer_social_section',
		'type'		=> 'url'
	));

	$wp_customize->add_setting('kindergarten_education_footer_twitter_icon',array(
		'default'	=> 'fab fa-twitter',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Kindergarten_Education_Icon_Changer(
        $wp_customize,'kindergarten_education_footer_twitter_icon',array(
		'label'	=> __('Twitter Icon','kindergarten-education'),
		'transport' => 'refresh',
		'section'	=> 'kindergarten_education_footer_social_section',
		'type'		=> 'icon'
	)));	

	$wp_customize->add_setting('kindergarten_education_footer_twitter_link',array(
		'default'	=> '',
		'sanitize_callback'	=> 'esc_url_raw'
	));
	$wp_customize->add_control('kindergarten_education_footer_twitter_link',array(
		'label'	=> __('Add Twitter Link','kindergarten-education'),
		'section'	=> 'kindergarten_education_footer_social_section',
		'type'		=> 'url'
	));

	$wp_customize->add_setting('kindergarten_education_footer_linkdin_icon',array(
		'default'	=> 'fab fa-linkedin-in',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Kindergarten_Education_Icon_Changer(
        $wp_customize,'kindergarten_education_footer_linkdin_icon',array(
		'label'	=> __('Linkedin Icon','kindergarten-education'),
		'transport' => 'refresh',
		'section'	=> 'kindergarten_education_footer_social_section',
		'type'		=> 'icon'
	)));	

	$wp_customize->add_setting('kindergarten_education_footer_linkdin_link',array(
		'default'	=> '',
		'sanitize_callback'	=> 'esc_url_raw'
	));
	$wp_customize->add_control('kindergarten_education_footer_linkdin_link',array(
		'label'	=> __('Add Linkedin Link','kindergarten-education'),
		'section'	=> 'kindergarten_education_footer_social_section',
		'type'		=> 'url'
	));

	$wp_customize->add_setting('kindergarten_education_footer_instagram_icon',array(
		'default'	=> 'fab fa-instagram',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Kindergarten_Education_Icon_Changer(
        $wp_customize,'kindergarten_education_footer_instagram_icon',array(
		'label'	=> __('Instagram Icon','kindergarten-education'),
		'transport' => 'refresh',
		'section'	=> 'kindergarten_education_footer_social_section',
		'type'		=> 'icon'
	)));	

	$wp_customize->add_setting('kindergarten_education_footer_instagram_link',array(
		'default'	=> '',
		'sanitize_callback'	=> 'esc_url_raw'
	));
	$wp_customize->add_control('kindergarten_education_footer_instagram_link',array(
		'label'	=> __('Add Instagram Link','kindergarten-education'),
		'section'	=> 'kindergarten_education_footer_social_section',
		'type'		=> 'url'
	));

	$wp_customize->add_setting('kindergarten_education_footer_pinterest_icon',array(
		'default'	=> 'fab fa-pinterest-p',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Kindergarten_Education_Icon_Changer(
        $wp_customize,'kindergarten_education_footer_pinterest_icon',array(
		'label'	=> __('Pinterest Icon','kindergarten-education'),
		'transport' => 'refresh',
		'section'	=> 'kindergarten_education_footer_social_section',
		'type'		=> 'icon'
	)));		

	$wp_customize->add_setting('kindergarten_education_footer_pintrest_link',array(
		'default'	=> '',
		'sanitize_callback'	=> 'esc_url_raw'
	));
	$wp_customize->add_control('kindergarten_education_footer_pintrest_link',array(
		'label'	=> __('Add Pinterest Link','kindergarten-education'),
		'section'	=> 'kindergarten_education_footer_social_section',
		'type'		=> 'url'
	));


	$wp_customize->add_setting('kindergarten_education_footer_icon_alignment',array(
        'default' => 'center',
        'sanitize_callback' => 'kindergarten_education_sanitize_choices'
	));
	$wp_customize->add_control('kindergarten_education_footer_icon_alignment',array(
        'type' => 'radio',
        'label' => __('Icon Alignment ','kindergarten-education'),
        'section' => 'kindergarten_education_footer_social_section',
        'choices' => array(
            'left' => __('Left Align','kindergarten-education'),
            'right' => __('Right Align','kindergarten-education'),
            'center' => __('Center Align','kindergarten-education'),
        ),
	) );		

	$wp_customize->add_setting('kindergarten_education_social_icon_color', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'kindergarten_education_social_icon_color', array(
		'label'    => __('Social Icon Color', 'kindergarten-education'),
		'section'  => 'kindergarten_education_footer_social_section',
		'settings' => 'kindergarten_education_social_icon_color',
	)));
	
	// Top Bottom padding footer icon 
	$wp_customize->add_setting( 'kindergarten_education_footer_icon_to_top_padding',array(
		'default' => 7,
		'transport' => 'refresh',
		'sanitize_callback' => 'kindergarten_education_sanitize_integer'
	));
	$wp_customize->add_control( new Kindergarten_Education_Custom_Control( $wp_customize, 'kindergarten_education_footer_icon_to_top_padding',	array(
		'label' => esc_html__( 'Top Bottom icon Padding (px)','kindergarten-education' ),
		'section' => 'kindergarten_education_footer_social_section',
		'input_attrs' => array(
			'min' => 0,
			'max' => 50,
			'step' => 1,
		),
	)));
	
	//Reset All Settings
	$wp_customize->add_section( 'kindergarten_education_reset_section', array(
        'title'    => __( 'Reset Theme Settings', 'kindergarten-education' ),
        'priority'	=> null,
		'panel' => 'kindergarten_education_panel_id',
    ) );

	//Reset Demo Import
    $wp_customize->add_setting( 'kindergarten_education_reset_demo_import_settings', array(
        'sanitize_callback' => 'sanitize_text_field',
    ) );

    $wp_customize->add_control('kindergarten_education_reset_demo_import_settings',array(
            'label'   => __( 'Reset Demo Import', 'kindergarten-education' ),
            'section' => 'kindergarten_education_reset_section',
            'type'    => 'button',
            'input_attrs' => array(
                'onclick' => 'ResetDemoSettings()',
            ),
    ));

	//Reset Global Color
	$wp_customize->add_setting('kindergarten_education_reset_color', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_text_field',
	));
	
	$wp_customize->add_control('kindergarten_education_reset_color', array(
		'type'    => 'button',
		'label'   => __('Reset Global Color', 'kindergarten-education'),
		'section' => 'kindergarten_education_reset_section',
		'input_attrs' => array(
			'onclick' => 'ResetGlobalColor()',
		),
	));

}

add_action( 'customize_register', 'kindergarten_education_customize_register' );

/**
 * Singleton class for handling the theme's customizer integration.
 *
 * @since  1.0.0
 * @access public
 */
final class Kindergarten_Education_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( 'Kindergarten_Education_Customize_Section_Pro' );

		// Register sections.
		$manager->add_section(new Kindergarten_Education_Customize_Section_Pro($manager,
			'kindergarten_education_example_1',
			array(
			'title'   =>  esc_html__( 'Kindergarten Edu Pro', 'kindergarten-education' ),
			'pro_text' => esc_html__( 'Get Pro', 'kindergarten-education' ),
			'pro_url'  => esc_url('https://www.buywptemplates.com/products/kindergarten-education-wordpress-theme'),
			'priority'   => 9
		)));
	}

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

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

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

	//Footer widget areas
	function kindergarten_education_sanitize_choices( $input ) {
	    $valid = array(
	        '1'     => __('One', 'kindergarten-education'),
	        '2'     => __('Two', 'kindergarten-education'),
	        '3'     => __('Three', 'kindergarten-education'),
	        '4'     => __('Four', 'kindergarten-education')
	    );
	    if ( array_key_exists( $input, $valid ) ) {
	        return $input;
	    } else {
	        return '';
	    }
	}
}

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