<?php

/**
 * Sidebar Theme Options
 *
 * @package prime-fitness-gym
 */
$wp_customize->add_section('prime_fitness_gym_sidebar_section', array(

	'title'      => esc_html__('Sidebar Section', 'prime-fitness-gym'),
	'capability' => 'edit_theme_options',
	'panel' => 'prime_fitness_gym_theme_section_panel'

));

// ///////// Search Background Color
 $wp_customize->add_setting('Search_background_color', array(
    'default'   => '#1e4543',
    'transport' => 'refresh',
    'sanitize_callback' => 'sanitize_hex_color',
    ));
  
    $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'Search_background_color', array(
    'section' => 'prime_fitness_gym_sidebar_section',
    'description' => __('Search Background Color', 'prime-fitness-gym'),
    )));

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

 // ///////// Heading Background Color
 $wp_customize->add_setting('Heading_background_color', array(
    'default'   => '#1e4543',
    'transport' => 'refresh',
    'sanitize_callback' => 'sanitize_hex_color',
    ));
  
    $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'Heading_background_color', array(
    'section' => 'prime_fitness_gym_sidebar_section',
    'description' => __('Heading Background Color', 'prime-fitness-gym'),
    )));

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

     // ///////// Search Text Color
 $wp_customize->add_setting('Searchbtn_Text_color', array(
    'default'   => '#c2fc85',
    'transport' => 'refresh',
    'sanitize_callback' => 'sanitize_hex_color',
    ));
  
    $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'Searchbtn_Text_color', array(
    'section' => 'prime_fitness_gym_sidebar_section',
    'description' => __('Search button text color', 'prime-fitness-gym'),
    )));

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