<?php

/**
 * Sidebar Theme Options
 *
 * @package eco-solar-energy
 */
$wp_customize->add_section('eco_solar_energy_sidebar_section', array(

	'title'      => esc_html__('Sidebar Section', 'eco-solar-energy'),
	'capability' => 'edit_theme_options',
	'panel' => 'eco_solar_energy_theme_section_panel'

));

        ///////////Heading Bg color
    $wp_customize->add_setting('sidebar_heading_bg_color', array(
        'default'   => '#7ECF29',
        'transport' => 'refresh',
        'sanitize_callback' => 'sanitize_hex_color',
        ));
              
        $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'sidebar_heading_bg_color', array(
        'section' => 'eco_solar_energy_sidebar_section',
        'description' => __('Sidebar Heading BG Color', 'eco-solar-energy'),
        )));

        ///////////Heading Text color
    $wp_customize->add_setting('sidebar_heading_text_color', array(
        'default'   => '#fff',
        'transport' => 'refresh',
        'sanitize_callback' => 'sanitize_hex_color',
        ));
              
        $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'sidebar_heading_text_color', array(
        'section' => 'eco_solar_energy_sidebar_section',
        'description' => __('Sidebar Heading Text Color', 'eco-solar-energy'),
        )));

        ///////////Search button Text color
    $wp_customize->add_setting('sidebar_searchbtn_text_color', array(
        'default'   => '#fff',
        'transport' => 'refresh',
        'sanitize_callback' => 'sanitize_hex_color',
        ));
              
        $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'sidebar_searchbtn_text_color', array(
        'section' => 'eco_solar_energy_sidebar_section',
        'description' => __('Search Button Text Color', 'eco-solar-energy'),
        )));

        ///////////Search button Bg color
    $wp_customize->add_setting('sidebar_searchbtn_bg_color', array(
        'default'   => '#000',
        'transport' => 'refresh',
        'sanitize_callback' => 'sanitize_hex_color',
        ));
              
        $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'sidebar_searchbtn_bg_color', array(
        'section' => 'eco_solar_energy_sidebar_section',
        'description' => __('Search Button Bg Color', 'eco-solar-energy'),
        )));

        ///////////Text Icon color
    $wp_customize->add_setting('sidebar_texticon_color', array(
        'default'   => '#7ECF29',
        'transport' => 'refresh',
        'sanitize_callback' => 'sanitize_hex_color',
        ));
              
        $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'sidebar_texticon_color', array(
        'section' => 'eco_solar_energy_sidebar_section',
        'description' => __('Text Icon Color', 'eco-solar-energy'),
        )));

        ///////////Text Hover color
    $wp_customize->add_setting('sidebar_textleftborder_color', array(
        'default'   => '#7ECF29',
        'transport' => 'refresh',
        'sanitize_callback' => 'sanitize_hex_color',
        ));
              
        $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'sidebar_textleftborder_color', array(
        'section' => 'eco_solar_energy_sidebar_section',
        'description' => __('Text Left Border Color', 'eco-solar-energy'),
        )));

        