<?php

/**
 * Sidebar Theme Options
 *
 * @package prime-construction
 */
$wp_customize->add_section('prime_construction_sidebar_section', array(

	'title'      => esc_html__('Sidebar Section', 'prime-construction'),
	'capability' => 'edit_theme_options',
	'panel' => 'prime_construction_theme_section_panel'

));

// ////////// Heading Text Color
$wp_customize->add_setting('Heading_text_color', array(
    'default'   => '#282828',
    'transport' => 'refresh',
    'sanitize_callback' => 'sanitize_hex_color',
    ));
  
    $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'Heading_text_color', array(
    'section' => 'prime_construction_sidebar_section',
    'description' => __('Heading Text Color', 'prime-construction'),
    )));

    // ////////// Text Color
$wp_customize->add_setting('Text_color', array(
    'default'   => '#374151',
    'transport' => 'refresh',
    'sanitize_callback' => 'sanitize_hex_color',
    ));
  
    $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'Text_color', array(
    'section' => 'prime_construction_sidebar_section',
    'description' => __('Text Color', 'prime-construction'),
    )));

    $wp_customize->add_setting('sidebar_headingtext_case',array(
        'default' => 'Capitalize',
        'sanitize_callback' => 'prime_construction_sanitize_choices',
    ));
    $wp_customize->add_control('sidebar_headingtext_case',array(
        'type' => 'select',
        'label' => __('Title Case','prime-construction'),
        'choices' => array (
            'Uppercase' => __('Uppercase','prime-construction'),
            'Lowercase' => __('Lowercase','prime-construction'),
            'Capitalize' => __('Capitalize','prime-construction'),
            'None' => __('None','prime-construction')
        ),
        'section' => 'prime_construction_sidebar_section',
    ));

    // ////////// Search Button BG Color
$wp_customize->add_setting('Search_button_Bg_color_first', array(
    'default'   => '#f7b500',
    'transport' => 'refresh',
    'sanitize_callback' => 'sanitize_hex_color',
    ));
  
    $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'Search_button_Bg_color_first', array(
    'section' => 'prime_construction_sidebar_section',
    'description' => __('Search button bg first color', 'prime-construction'),
    )));

    // ////////// Search Button BG Color
$wp_customize->add_setting('Search_button_Bg_color_second', array(
    'default'   => '#ff6900',
    'transport' => 'refresh',
    'sanitize_callback' => 'sanitize_hex_color',
    ));
  
    $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'Search_button_Bg_color_second', array(
    'section' => 'prime_construction_sidebar_section',
    'description' => __('Search button bg second color', 'prime-construction'),
    )));

    // ////////// Search Button BG Color
$wp_customize->add_setting('Search_button_text_color', array(
    'default'   => '#000',
    'transport' => 'refresh',
    'sanitize_callback' => 'sanitize_hex_color',
    ));
  
    $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'Search_button_text_color', array(
    'section' => 'prime_construction_sidebar_section',
    'description' => __('Search button text color', 'prime-construction'),
    )));



