<?php

/**
 * Sidebar Theme Options
 *
 * @package prime-software-company
 */
$wp_customize->add_section('prime_software_company_sidebar_section', array(

	'title'      => esc_html__('Sidebar Section', 'prime-software-company'),
	'capability' => 'edit_theme_options',
	'panel' => 'prime_software_company_theme_section_panel'

));


// ///////// Menu Text Color
$wp_customize->add_setting('heading_text_color', array(
    'default'   => '#fff',
    'transport' => 'refresh',
    'sanitize_callback' => 'sanitize_hex_color',
    ));
  
    $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'heading_text_color', array(
    'section' => 'prime_software_company_sidebar_section',
    'label'      => esc_html__('Heading Text Color', 'prime-software-company'),
    )));

    // ///////// Menu Bg Color
$wp_customize->add_setting('heading_bg_color', array(
    'default'   => '#000',
    'transport' => 'refresh',
    'sanitize_callback' => 'sanitize_hex_color',
    ));
  
    $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'heading_bg_color', array(
    'section' => 'prime_software_company_sidebar_section',
    'label'      => esc_html__('Heading Background Color', 'prime-software-company'),
    )));

     // ///////// Search button Bg Color
$wp_customize->add_setting('search_btn_bg_color', array(
    'default'   => '#6C7FFE',
    'transport' => 'refresh',
    'sanitize_callback' => 'sanitize_hex_color',
    ));
  
    $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'search_btn_bg_color', array(
    'section' => 'prime_software_company_sidebar_section',
    'label'      => esc_html__('Search button Bg Color', 'prime-software-company'),
    )));

    // ///////// Search button Text Color
$wp_customize->add_setting('search_btn_text_color', array(
    'default'   => '#fff',
    'transport' => 'refresh',
    'sanitize_callback' => 'sanitize_hex_color',
    ));
  
    $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'search_btn_text_color', array(
    'section' => 'prime_software_company_sidebar_section',
    'label'      => esc_html__('Search button text color', 'prime-software-company'),
    )));

    // ///////// Search Text Color
$wp_customize->add_setting('sidebar_text_color', array(
    'default'   => '#363636',
    'transport' => 'refresh',
    'sanitize_callback' => 'sanitize_hex_color',
    ));
  
    $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'sidebar_text_color', array(
    'section' => 'prime_software_company_sidebar_section',
    'label'      => esc_html__('Sidebar text color', 'prime-software-company'),
    )));

    //////Text Case//////////////

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

   
