<?php
/**
 * Progression Theme Customizer
 *
 * @package pro
 */

get_template_part('inc/customizer/new', 'controls');
get_template_part('inc/customizer/typography', 'controls');


/* Remove Default Theme Customizer Panels that aren't useful */
function progression_studios_change_default_customizer_panels ( $wp_customize ) {
	$wp_customize->remove_section("themes"); //Remove Active Theme + Theme Changer
   $wp_customize->remove_section("static_front_page"); // Remove Front Page Section		
}
add_action( "customize_register", "progression_studios_change_default_customizer_panels" );


/**
 * Binds JS handlers to make Theme Customizer preview reload changes asynchronously.
 */
function progression_studios_customize_preview_js() {
	wp_enqueue_script( 'progression_studios_customizer', get_template_directory_uri() . '/js/customizer.js', array( 'customize-preview' ), '20151215', true );
}
add_action( 'customize_preview_init', 'progression_studios_customize_preview_js' );


function progression_studios_customizer( $wp_customize ) {
	
	/* Panel - Header */
	$wp_customize->add_panel( 'progression_studios_header_panel', array(
		'priority'    => 5,
		'title'       => esc_html__( 'Header', 'protege-progression' ),
		) 
	);
	
	
	/* Section - General - Site Logo */
	$wp_customize->add_section( 'progression_studios_section_logo', array(
		'title'          => esc_html__( 'Logo', 'protege-progression' ),
		'panel'          => 'progression_studios_header_panel', // Not typically needed.
		'priority'       => 10,
		) 
	);
	
	/* Setting - General - Site Logo */
	$wp_customize->add_setting( 'progression_studios_theme_logo' ,array(
		'default' => get_template_directory_uri().'/images/logo.png',
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control( new WP_Customize_Image_Control($wp_customize,'progression_studios_theme_logo', array(
		'section' => 'progression_studios_section_logo',
		'priority'   => 10,
		))
	);
	
	/* Setting - General - Site Logo */
	$wp_customize->add_setting('progression_studios_theme_logo_width',array(
		'default' => '160',
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control( new progression_studios_Controls_Slider_Control($wp_customize, 'progression_studios_theme_logo_width', array(
		'label'    => esc_html__( 'Logo Width (px)', 'protege-progression' ),
		'section'  => 'progression_studios_section_logo',
		'priority'   => 15,
		'choices'     => array(
			'min'  => 0,
			'max'  => 1200,
			'step' => 1
		), ) ) 
	);
	
	/* Setting - General - Site Logo */
	$wp_customize->add_setting('progression_studios_theme_logo_margin_top',array(
		'default' => '17',
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control( new progression_studios_Controls_Slider_Control($wp_customize, 'progression_studios_theme_logo_margin_top', array(
		'label'    => esc_html__( 'Logo Margin Top (px)', 'protege-progression' ),
		'section'  => 'progression_studios_section_logo',
		'priority'   => 20,
		'choices'     => array(
			'min'  => 0,
			'max'  => 150,
			'step' => 1
		), ) ) 
	);
	
	/* Setting - General - Site Logo */
	$wp_customize->add_setting('progression_studios_theme_logo_margin_bottom',array(
		'default' => '17',
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control( new progression_studios_Controls_Slider_Control($wp_customize, 'progression_studios_theme_logo_margin_bottom', array(
		'label'    => esc_html__( 'Logo Margin Bottom (px)', 'protege-progression' ),
		'section'  => 'progression_studios_section_logo',
		'priority'   => 25,
		'choices'     => array(
			'min'  => 0,
			'max'  => 150,
			'step' => 1
		), ) ) 
	);
	


	/* Section - Header - Header Options */
	$wp_customize->add_section( 'progression_studios_section_header_bg', array(
		'title'          => esc_html__( 'Header Options', 'protege-progression' ),
		'panel'          => 'progression_studios_header_panel', // Not typically needed.
		'priority'       => 20,
		) 
	);
	
	
	/* Setting - Header - Header Options */
	$wp_customize->add_setting( 'progression_studios_header_width' ,array(
		'default' => 'full-width-pro',
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control(new progression_studios_Controls_Radio_Buttonset_Control($wp_customize, 'progression_studios_header_width', array(
		'label'    => esc_html__( 'Desktop Header Width?', 'protege-progression' ),
		'section' => 'progression_studios_section_header_bg',
		'priority'   => 10,
		'choices'     => array(
			'full-width-pro' => esc_html__( 'Full', 'protege-progression' ),
			'narrow-pro' => esc_html__( 'Content', 'protege-progression' ),
			'progression-studios-boxed-navigation' => esc_html__( 'Boxed', 'protege-progression' ),
		),
		))
	);

	/* Setting - Header - Header Options */
	$wp_customize->add_setting( 'progression_studios_header_background_color', array(
		'default'	=> '#ffffff',
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'progression_studios_header_background_color', array(
		'label'    => esc_html__( 'Header Background Color', 'protege-progression' ),
		'section'  => 'progression_studios_section_header_bg',
		'priority'   => 10,
		)) 
	);
	
	
	
	/* Section - Header - Sticky Header */
	$wp_customize->add_section( 'progression_studios_section_sticky_header', array(
		'title'          => esc_html__( 'Sticky Header Options', 'protege-progression' ),
		'panel'          => 'progression_studios_header_panel', // Not typically needed.
		'priority'       => 25,
		) 
	);
	
	/* Setting - Header - Sticky Header */
	$wp_customize->add_setting( 'progression_studios_header_sticky' ,array(
		'default' => 'sticky-pro',
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control(new progression_studios_Controls_Radio_Buttonset_Control($wp_customize, 'progression_studios_header_sticky', array(
		'section' => 'progression_studios_section_sticky_header',
		'priority'   => 10,
		'choices'     => array(
			'sticky-pro' => esc_html__( 'Sticky Header', 'protege-progression' ),
			'none-sticky-pro' => esc_html__( 'Disable Sticky Header', 'protege-progression' ),
		),
		))
	);
	
	/* Setting - Header - Sticky Header */
	$wp_customize->add_setting( 'progression_studios_sticky_header_background_color', array(
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'progression_studios_sticky_header_background_color', array(
		'label'    => esc_html__( 'Sticky Header Background', 'protege-progression' ),
		'section'  => 'progression_studios_section_sticky_header',
		'priority'   => 15,
		)) 
	);
	
	
	/* Setting - Header - Sticky Header */
	$wp_customize->add_setting( 'progression_studios_sticky_logo' ,array(
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control( new WP_Customize_Image_Control($wp_customize,'progression_studios_sticky_logo', array(
		'label'    => esc_html__( 'Sticky Logo', 'protege-progression' ),
		'section' => 'progression_studios_section_sticky_header',
		'priority'   => 20,
		))
	);
	
	/* Setting - Header - Sticky Header */
	$wp_customize->add_setting('progression_studios_sticky_logo_width',array(
		'default' => '160',
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control( new progression_studios_Controls_Slider_Control($wp_customize, 'progression_studios_sticky_logo_width', array(
		'label'    => esc_html__( 'Sticky Logo Width (px)', 'protege-progression' ),
		'section'  => 'progression_studios_section_sticky_header',
		'priority'   => 30,
		'choices'     => array(
			'min'  => 0,
			'max'  => 1200,
			'step' => 1
		), ) ) 
	);
	
	/* Setting - Header - Sticky Header */
	$wp_customize->add_setting('progression_studios_sticky_logo_margin_top',array(
		'default' => '12',
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control( new progression_studios_Controls_Slider_Control($wp_customize, 'progression_studios_sticky_logo_margin_top', array(
		'label'    => esc_html__( 'Sticky Logo Margin Top (px)', 'protege-progression' ),
		'section'  => 'progression_studios_section_sticky_header',
		'priority'   => 40,
		'choices'     => array(
			'min'  => 0,
			'max'  => 150,
			'step' => 1
		), ) ) 
	);
	
	/* Setting - Header - Sticky Header */
	$wp_customize->add_setting('progression_studios_sticky_logo_margin_bottom',array(
		'default' => '12',
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control( new progression_studios_Controls_Slider_Control($wp_customize, 'progression_studios_sticky_logo_margin_bottom', array(
		'label'    => esc_html__( 'Sticky Logo Margin Bottom (px)', 'protege-progression' ),
		'section'  => 'progression_studios_section_sticky_header',
		'priority'   => 50,
		'choices'     => array(
			'min'  => 0,
			'max'  => 150,
			'step' => 1
		), ) ) 
	);
	
	
	/* Setting - Header - Sticky Header */
	$wp_customize->add_setting('progression_studios_sticky_nav_padding',array(
		'default' => '24',
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control( new progression_studios_Controls_Slider_Control($wp_customize, 'progression_studios_sticky_nav_padding', array(
		'label'    => esc_html__( 'Sticky Nav Padding Top/Bottom', 'protege-progression' ),
		'section'  => 'progression_studios_section_sticky_header',
		'priority'   => 60,
		'choices'     => array(
			'min'  => 5,
			'max'  => 50,
			'step' => 1
		), ) ) 
	);
	
	/* Setting - Header - Sticky Header */
	$wp_customize->add_setting( 'progression_studios_sticky_nav_font_color', array(
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'progression_studios_sticky_nav_font_color', array(
		'label'    => esc_html__( 'Sticky Nav Font Color', 'protege-progression' ),
		'section'  => 'progression_studios_section_sticky_header',
		'priority'   => 70,
		)) 
	);
	
	
	/* Setting - Header - Sticky Header */
	$wp_customize->add_setting( 'progression_studios_sticky_nav_font_color_hover', array(
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'progression_studios_sticky_nav_font_color_hover', array(
		'label'    => esc_html__( 'Sticky Nav Font Hover Color', 'protege-progression' ),
		'section'  => 'progression_studios_section_sticky_header',
		'priority'   => 80,
		)) 
	);
	
	
	
	
	
	
	
	
	
	
	
	
	
	/* Setting - Header - Navigation */
	$wp_customize->add_setting( 'progression_studios_nav_align' ,array(
		'default' => 'progression-studios-nav-center',
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control(new progression_studios_Controls_Radio_Buttonset_Control($wp_customize, 'progression_studios_nav_align', array(
		'label'    => esc_html__( 'Navigation Alignment', 'protege-progression' ),
		'section' => 'tt_font_progression-studios-navigation-font',
		'priority'   => 10,
		'choices'     => array(
			'progression-studios-nav-left' => esc_html__( 'Left', 'protege-progression' ),
			'progression-studios-nav-center' => esc_html__( 'Center', 'protege-progression' ),
			'progression-studios-nav-right' => esc_html__( 'Right', 'protege-progression' ),
		),
		))
	);
	
	
	/* Setting - Header - Navigation */
	$wp_customize->add_setting( 'progression_studios_nav_cart' ,array(
		'default' => 'on',
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control(new progression_studios_Controls_Radio_Buttonset_Control($wp_customize, 'progression_studios_nav_cart', array(
		'label'    => esc_html__( 'Cart in Header', 'protege-progression' ),
		'section' => 'tt_font_progression-studios-navigation-font',
		'priority'   => 20,
		'choices'     => array(
			'on' => esc_html__( 'On', 'protege-progression' ),
			'off' => esc_html__( 'Off', 'protege-progression' ),
		),
		))
	);
	
	
	
	/* Setting - Header - Navigation */
	$wp_customize->add_setting('progression_studios_nav_padding',array(
		'default' => '29',
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control( new progression_studios_Controls_Slider_Control($wp_customize, 'progression_studios_nav_padding', array(
		'label'    => esc_html__( 'Navigation Padding Top/Bottom', 'protege-progression' ),
		'section'  => 'tt_font_progression-studios-navigation-font',
		'priority'   => 500,
		'choices'     => array(
			'min'  => 5,
			'max'  => 50,
			'step' => 1
		), ) ) 
	);
	
	
	/* Setting - Header - Navigation */
	$wp_customize->add_setting('progression_studios_nav_font_size',array(
		'default' => '12',
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control( new progression_studios_Controls_Slider_Control($wp_customize, 'progression_studios_nav_font_size', array(
		'label'    => esc_html__( 'Navigation Font Size', 'protege-progression' ),
		'section'  => 'tt_font_progression-studios-navigation-font',
		'priority'   => 510,
		'choices'     => array(
			'min'  => 0,
			'max'  => 30,
			'step' => 1
		), ) ) 
	);
	
	/* Setting - Header - Navigation */
	$wp_customize->add_setting( 'progression_studios_nav_font_color', array(
		'default'	=> '#3f3f3f',
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'progression_studios_nav_font_color', array(
		'label'    => esc_html__( 'Navigation Font Color', 'protege-progression' ),
		'section'  => 'tt_font_progression-studios-navigation-font',
		'priority'   => 520,
		)) 
	);
	
	
	/* Setting - Header - Navigation */
	$wp_customize->add_setting( 'progression_studios_nav_font_color_hover', array(
		'default'	=> '#888888',
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'progression_studios_nav_font_color_hover', array(
		'label'    => esc_html__( 'Navigation Font Hover Color', 'protege-progression' ),
		'section'  => 'tt_font_progression-studios-navigation-font',
		'priority'   => 530,
		)) 
	);
	
	
	
	
	
	
	
	
	
	
	
	
	/* Setting - Header - Sub-Navigation */
	$wp_customize->add_setting( 'progression_studios_sub_nav_border', array(
		'default'	=> '#666666',
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'progression_studios_sub_nav_border', array(
		'label'    => esc_html__( 'Sub-Navigation Border Top', 'protege-progression' ),
		'section'  => 'tt_font_progression-studios-sub-navigation-font',
		'priority'   => 10,
		)) 
	);
	
	
	/* Setting - Header - Sub-Navigation */
	$wp_customize->add_setting( 'progression_studios_sub_nav_bg', array(
		'default'	=> '#ffffff',
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'progression_studios_sub_nav_bg', array(
		'label'    => esc_html__( 'Sub-Navigation Background Color', 'protege-progression' ),
		'section'  => 'tt_font_progression-studios-sub-navigation-font',
		'priority'   => 10,
		)) 
	);
	
	
	
	
	
	
	
	/* Setting - Header - Navigation */
	$wp_customize->add_setting('progression_studios_sub_nav_padding',array(
		'default' => '8',
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control( new progression_studios_Controls_Slider_Control($wp_customize, 'progression_studios_sub_nav_padding', array(
		'label'    => esc_html__( 'Sub-Navigation Padding Top/Bottom', 'protege-progression' ),
		'section'  => 'tt_font_progression-studios-sub-navigation-font',
		'priority'   => 500,
		'choices'     => array(
			'min'  => 5,
			'max'  => 50,
			'step' => 1
		), ) ) 
	);
	
	
	/* Setting - Header - Navigation */
	$wp_customize->add_setting('progression_studios_sub_nav_font_size',array(
		'default' => '12',
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control( new progression_studios_Controls_Slider_Control($wp_customize, 'progression_studios_sub_nav_font_size', array(
		'label'    => esc_html__( 'Navigation Font Size', 'protege-progression' ),
		'section'  => 'tt_font_progression-studios-sub-navigation-font',
		'priority'   => 510,
		'choices'     => array(
			'min'  => 0,
			'max'  => 30,
			'step' => 1
		), ) ) 
	);
	
	
	/* Setting - Header - Sub-Navigation */
	$wp_customize->add_setting( 'progression_studios_sub_nav_font_color', array(
		'default'	=> '#888888',
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'progression_studios_sub_nav_font_color', array(
		'label'    => esc_html__( 'Sub-Navigation Font Color', 'protege-progression' ),
		'section'  => 'tt_font_progression-studios-sub-navigation-font',
		'priority'   => 520,
		)) 
	);
	
	
	/* Setting - Header - Sub-Navigation */
	$wp_customize->add_setting( 'progression_studios_sub_nav_hover_font_color', array(
		'default'	=> '#3f3f3f',
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'progression_studios_sub_nav_hover_font_color', array(
		'label'    => esc_html__( 'Sub-Navigation Font Hover Color', 'protege-progression' ),
		'section'  => 'tt_font_progression-studios-sub-navigation-font',
		'priority'   => 530,
		)) 
	);
	
	
	
	
	
	
	
	
	
	
	
	
	/* Panel - Body */
	$wp_customize->add_panel( 'progression_studios_body_panel', array(
		'priority'    => 8,
        'title'       => esc_html__( 'Body', 'protege-progression' ),
    ) );
	 
	
	/* Setting - Body - Body Main */
	$wp_customize->add_setting( 'progression_studios_background_color', array(
		'default'	=> '#f7f8f8',
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'progression_studios_background_color', array(
		'label'    => esc_html__( 'Body Background Color', 'protege-progression' ),
		'section'  => 'tt_font_progression-studios-body-font',
		'priority'   => 500,
		)) 
	);
	
	
	/* Setting - Body - Body Main */
	$wp_customize->add_setting( 'progression_studios_default_link_color', array(
		'default'	=> '#0b356b',
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'progression_studios_default_link_color', array(
		'label'    => esc_html__( 'Default Link Color', 'protege-progression' ),
		'section'  => 'tt_font_progression-studios-body-font',
		'priority'   => 520,
		)) 
	);
	
	/* Setting - Body - Body Main */
	$wp_customize->add_setting( 'progression_studios_default_link_hover_color', array(
		'default'	=> '#0f4385',
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'progression_studios_default_link_hover_color', array(
		'label'    => esc_html__( 'Default Hover Link Color', 'protege-progression' ),
		'section'  => 'tt_font_progression-studios-body-font',
		'priority'   => 530,
		)) 
	);
	
	
	
	
	
	
	
	
	/* Setting - Body - Page Title */
	$wp_customize->add_setting('progression_studios_page_title_padding_top',array(
		'default' => '80',
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control( new progression_studios_Controls_Slider_Control($wp_customize, 'progression_studios_page_title_padding_top', array(
		'label'    => esc_html__( 'Padding Top Bottom', 'protege-progression' ),
		'section'  => 'tt_font_progression-studios-page-title',
		'priority'   => 500,
		'choices'     => array(
			'min'  => 0,
			'max'  => 160,
			'step' => 1
		), ) ) 
	);
	
	/* Setting - Body - Page Title */
	$wp_customize->add_setting('progression_studios_page_title_padding_bottom',array(
		'default' => '80',
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control( new progression_studios_Controls_Slider_Control($wp_customize, 'progression_studios_page_title_padding_bottom', array(
		'label'    => esc_html__( 'Page Title Padding Bottom', 'protege-progression' ),
		'section'  => 'tt_font_progression-studios-page-title',
		'priority'   => 515,
		'choices'     => array(
			'min'  => 0,
			'max'  => 160,
			'step' => 1
		), ) ) 
	);
	
	
	
	/* Setting - Body - Page Title */
	$wp_customize->add_setting( 'progression_studios_page_title_overlay_color', array(
		'default'	=> '#000000',
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'progression_studios_page_title_overlay_color', array(
		'label'    => esc_html__( 'Page Title Overlay Color', 'protege-progression' ),
		'section'  => 'tt_font_progression-studios-page-title',
		'priority'   => 520,
		)) 
	);
	
	

	/* Setting - Body - Page Title */
	$wp_customize->add_setting('progression_studios_page_title_overlay_opacity',array(
		'default' => '0.5',
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control( new progression_studios_Controls_Slider_Control($wp_customize, 'progression_studios_page_title_overlay_opacity', array(
		'label'    => esc_html__( 'Page Title Padding Bottom', 'protege-progression' ),
		'section'  => 'tt_font_progression-studios-page-title',
		'priority'   => 530,
		'choices'     => array(
			'min'  => 0,
			'max'  => 1,
			'step' => 0.01
		), ) ) 
	);

	
	
	/* Setting - General - Page Title */
	$wp_customize->add_setting( 'progression_studios_page_title_bg_image' ,array(
		'default' => get_template_directory_uri().'/images/page-title.jpg',
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control( new WP_Customize_Image_Control($wp_customize,'progression_studios_page_title_bg_image', array(
		'label'    => esc_html__( 'Page Title Background Image', 'protege-progression' ),
		'section' => 'tt_font_progression-studios-page-title',
		'priority'   => 535,
		))
	);
	
	
	
	
	
	/* Setting - Body - Button Styles */
	$wp_customize->add_setting('progression_studios_button_font_size',array(
		'default' => '15',
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control( new progression_studios_Controls_Slider_Control($wp_customize, 'progression_studios_button_font_size', array(
		'label'    => esc_html__( 'Button Font Size', 'protege-progression' ),
		'section'  => 'tt_font_progression-studios-button-typography',
		'priority'   => 600,
		'choices'     => array(
			'min'  => 0,
			'max'  => 30,
			'step' => 1
		), ) ) 
	);
	
	/* Setting - Body - Button Styles */
	$wp_customize->add_setting( 'progression_studios_button_background', array(
		'default'	=> '#0b356b',
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'progression_studios_button_background', array(
		'label'    => esc_html__( 'Button Main Color', 'protege-progression' ),
		'section'  => 'tt_font_progression-studios-button-typography',
		'priority'   => 640,
		)) 
	);
	
	/* Setting - Body - Button Styles */
	$wp_customize->add_setting( 'progression_studios_button_background_hover', array(
		'default'	=> '#0f4385',
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'progression_studios_button_background_hover', array(
		'label'    => esc_html__( 'Button Secondary Background Color', 'protege-progression' ),
		'section'  => 'tt_font_progression-studios-button-typography',
		'priority'   => 680,
		)) 
	);
	
	
	
	
	
	

	/* Panel - Footer */
	$wp_customize->add_panel( 'progression_studios_footer_panel', array(
		'priority'    => 10,
        'title'       => esc_html__( 'Footer', 'protege-progression' ),
    ) );
	 
	 
	 
	 
	 
	 
 	/* Setting - Footer - Footer General */
 	$wp_customize->add_setting( 'progression_studios_footer_widget_count' ,array(
 		'default' => 'footer-3-pro',
 		'sanitize_callback' => 'progression_studios_sanitize_text',
 	) );
 	$wp_customize->add_control(new progression_studios_Controls_Radio_Buttonset_Control($wp_customize, 'progression_studios_footer_widget_count', array(
 		'label'    => esc_html__( 'Footer Widget Count', 'protege-progression' ),
 		'section' => 'tt_font_progression-studios-footer-typography',
 		'priority'   => 10,
 		'choices'     => array(
 			'footer-1-pro' => '1',
 			'footer-2-pro' => '2',
			'footer-3-pro' => '3',
			'footer-4-pro' => '4',
 		),
 		))
 	);
	
	 
 	/* Setting - Footer - Footer General */
 	$wp_customize->add_setting( 'progression_studios_footer_widget_bg', array(
 		'default'	=> '#ffffff',
 		'sanitize_callback' => 'progression_studios_sanitize_text',
 	) );
 	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'progression_studios_footer_widget_bg', array(
 		'label'    => esc_html__( 'Footer Widget Background', 'protege-progression' ),
 		'section'  => 'tt_font_progression-studios-footer-typography',
 		'priority'   => 20,
 		)) 
 	);
	
	
 	/* Setting - Footer - Footer General */
 	$wp_customize->add_setting( 'progression_studios_footer_border', array(
 		'default'	=> '#e5e5e5',
 		'sanitize_callback' => 'progression_studios_sanitize_text',
 	) );
 	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'progression_studios_footer_border', array(
 		'label'    => esc_html__( 'Footer Border Background', 'protege-progression' ),
 		'section'  => 'tt_font_progression-studios-footer-typography',
 		'priority'   => 30,
 		)) 
 	);
	
	
 	/* Setting - Footer - Footer General */
 	$wp_customize->add_setting( 'progression_studios_footer_copyright_bg', array(
 		'default'	=> '#ffffff',
 		'sanitize_callback' => 'progression_studios_sanitize_text',
 	) );
 	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'progression_studios_footer_copyright_bg', array(
 		'label'    => esc_html__( 'Footer Copyright Background', 'protege-progression' ),
 		'section'  => 'tt_font_progression-studios-footer-typography',
 		'priority'   => 40,
 		)) 
 	);
	 
	 
	 
	 
  	
	 
	 

	 
	 
  	/* Section - Footer - Footer Icons */
  	$wp_customize->add_section( 'progression_studios_section_footer_icons', array(
  		'title'          => esc_html__( 'Footer Icons', 'protege-progression' ),
  		'panel'          => 'progression_studios_footer_panel', // Not typically needed.
  		'priority'       => 500,
  	) );
	
	
 	/* Setting - Footer - Footer General */
 	$wp_customize->add_setting( 'progression_studios_footer_icon_color', array(
 		'default'	=> '#999999',
 		'sanitize_callback' => 'progression_studios_sanitize_text',
 	) );
 	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'progression_studios_footer_icon_color', array(
 		'label'    => esc_html__( 'Footer Icon Color', 'protege-progression' ),
 		'section'  => 'progression_studios_section_footer_icons',
 		'priority'   => 5,
 		)) 
 	);
	
 	/* Setting - Footer - Footer General */
 	$wp_customize->add_setting( 'progression_studios_footer_icon_bordere_color', array(
 		'default'	=> '#cccccc',
 		'sanitize_callback' => 'progression_studios_sanitize_text',
 	) );
 	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'progression_studios_footer_icon_bordere_color', array(
 		'label'    => esc_html__( 'Footer Icon Border', 'protege-progression' ),
 		'section'  => 'progression_studios_section_footer_icons',
 		'priority'   => 8,
 		)) 
 	);
	
	
	
	
	/* Setting - Footer - Footer Icons */
	$wp_customize->add_setting( 'progression_studios_footer_facebook' ,array(
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control( 'progression_studios_footer_facebook', array(
		'label'          => esc_html__( 'Facebook Icon', 'protege-progression' ),
		'section' => 'progression_studios_section_footer_icons',
		'type' => 'text',
		'priority'   => 10,
		)
	);
	
	
	/* Setting - Footer - Footer Icons */
	$wp_customize->add_setting( 'progression_studios_footer_twitter' ,array(
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control( 'progression_studios_footer_twitter', array(
		'label'          => esc_html__( 'Twitter Icon', 'protege-progression' ),
		'section' => 'progression_studios_section_footer_icons',
		'type' => 'text',
		'priority'   => 15,
		)
	);
	
	
	/* Setting - Footer - Footer Icons */
	$wp_customize->add_setting( 'progression_studios_footer_instagram' ,array(
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control( 'progression_studios_footer_instagram', array(
		'label'          => esc_html__( 'Instagram Icon', 'protege-progression' ),
		'section' => 'progression_studios_section_footer_icons',
		'type' => 'text',
		'priority'   => 20,
		)
	);
	
	/* Setting - Footer - Footer Icons */
	$wp_customize->add_setting( 'progression_studios_footer_spotify' ,array(
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control( 'progression_studios_footer_spotify', array(
		'label'          => esc_html__( 'Spotify Icon', 'protege-progression' ),
		'section' => 'progression_studios_section_footer_icons',
		'type' => 'text',
		'priority'   => 25,
		)
	);
	
	/* Setting - Footer - Footer Icons */
	$wp_customize->add_setting( 'progression_studios_footer_youtube' ,array(
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control( 'progression_studios_footer_youtube', array(
		'label'          => esc_html__( 'Youtube Icon', 'protege-progression' ),
		'section' => 'progression_studios_section_footer_icons',
		'type' => 'text',
		'priority'   => 30,
		)
	);
	
	/* Setting - Footer - Footer Icons */
	$wp_customize->add_setting( 'progression_studios_footer_vimeo' ,array(
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control( 'progression_studios_footer_vimeo', array(
		'label'          => esc_html__( 'Vimeo Icon', 'protege-progression' ),
		'section' => 'progression_studios_section_footer_icons',
		'type' => 'text',
		'priority'   => 35,
		)
	);
	
	
	/* Setting - Footer - Footer Icons */
	$wp_customize->add_setting( 'progression_studios_footer_google_plus' ,array(
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control( 'progression_studios_footer_google_plus', array(
		'label'          => esc_html__( 'Google + Icon', 'protege-progression' ),
		'section' => 'progression_studios_section_footer_icons',
		'type' => 'text',
		'priority'   => 40,
		)
	);
	
	
	/* Setting - Footer - Footer Icons */
	$wp_customize->add_setting( 'progression_studios_footer_pinterest' ,array(
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control( 'progression_studios_footer_pinterest', array(
		'label'          => esc_html__( 'Pinterest Icon', 'protege-progression' ),
		'section' => 'progression_studios_section_footer_icons',
		'type' => 'text',
		'priority'   => 45,
		)
	);
	
	/* Setting - Footer - Footer Icons */
	$wp_customize->add_setting( 'progression_studios_footer_soundcloud' ,array(
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control( 'progression_studios_footer_soundcloud', array(
		'label'          => esc_html__( 'Soundcloud Icon', 'protege-progression' ),
		'section' => 'progression_studios_section_footer_icons',
		'type' => 'text',
		'priority'   => 50,
		)
	);
	
	/* Setting - Footer - Footer Icons */
	$wp_customize->add_setting( 'progression_studios_footer_linkedin' ,array(
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control( 'progression_studios_footer_linkedin', array(
		'label'          => esc_html__( 'LinkedIn Icon', 'protege-progression' ),
		'section' => 'progression_studios_section_footer_icons',
		'type' => 'text',
		'priority'   => 52,
		)
	);
	
	/* Setting - Footer - Footer Icons */
	$wp_customize->add_setting( 'progression_studios_footer_snapchat' ,array(
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control( 'progression_studios_footer_snapchat', array(
		'label'          => esc_html__( 'Snapchat Icon', 'protege-progression' ),
		'section' => 'progression_studios_section_footer_icons',
		'type' => 'text',
		'priority'   => 55,
		)
	);
	
	/* Setting - Footer - Footer Icons */
	$wp_customize->add_setting( 'progression_studios_footer_tumblr' ,array(
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control( 'progression_studios_footer_tumblr', array(
		'label'          => esc_html__( 'Tumblr Icon', 'protege-progression' ),
		'section' => 'progression_studios_section_footer_icons',
		'type' => 'text',
		'priority'   => 60,
		)
	);
	
	/* Setting - Footer - Footer Icons */
	$wp_customize->add_setting( 'progression_studios_footer_flickr' ,array(
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control( 'progression_studios_footer_flickr', array(
		'label'          => esc_html__( 'Flickr Icon', 'protege-progression' ),
		'section' => 'progression_studios_section_footer_icons',
		'type' => 'text',
		'priority'   => 65,
		)
	);
	
	
	/* Setting - Footer - Footer Icons */
	$wp_customize->add_setting( 'progression_studios_footer_dribbble' ,array(
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control( 'progression_studios_footer_dribbble', array(
		'label'          => esc_html__( 'Dribbble Icon', 'protege-progression' ),
		'section' => 'progression_studios_section_footer_icons',
		'type' => 'text',
		'priority'   => 70,
		)
	);
	
	
	/* Setting - Footer - Footer Icons */
	$wp_customize->add_setting( 'progression_studios_footer_vk' ,array(
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control( 'progression_studios_footer_vk', array(
		'label'          => esc_html__( 'VK Icon', 'protege-progression' ),
		'section' => 'progression_studios_section_footer_icons',
		'type' => 'text',
		'priority'   => 75,
		)
	);
	
	
	/* Setting - Footer - Footer Icons */
	$wp_customize->add_setting( 'progression_studios_footer_wordpress' ,array(
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control( 'progression_studios_footer_wordpress', array(
		'label'          => esc_html__( 'WordPress Icon', 'protege-progression' ),
		'section' => 'progression_studios_section_footer_icons',
		'type' => 'text',
		'priority'   => 80,
		)
	);
	
	/* Setting - Footer - Footer Icons */
	$wp_customize->add_setting( 'progression_studios_footer_mail' ,array(
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control( 'progression_studios_footer_mail', array(
		'label'          => esc_html__( 'E-mail Icon', 'protege-progression' ),
		'section' => 'progression_studios_section_footer_icons',
		'type' => 'text',
		'priority'   => 85,
		)
	);
	
	
	
	
	
	
	
	 
	 
 	/* Section - Footer - Copyright */
 	$wp_customize->add_section( 'progression_studios_section_copyright_text', array(
 		'title'          => esc_html__( 'Copyright Text', 'protege-progression' ),
 		'panel'          => 'progression_studios_footer_panel', // Not typically needed.
 		'priority'       => 530,
 	) );
	
	/* Setting - Footer - Copyright */
	$wp_customize->add_setting( 'progression_studios_footer_copyright' ,array(
		'default' =>  'Copyright Progression Studios',
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control( 'progression_studios_footer_copyright', array(
		'label'          => esc_html__( 'Copyright Text', 'protege-progression' ),
		'section' => 'progression_studios_section_copyright_text',
		'type' => 'textarea',
		'priority'   => 10,
		)
	
	);
	
	
 	
	
	
	
	
	
	
	
	
	/* Panel - Portfolio/Shop */
	$wp_customize->add_panel( 'progression_studios_portfolio_panel', array(
		'priority'    => 12,
        'title'       => esc_html__( 'Portfolio/Shop', 'protege-progression' ),
    ) );
	 
	 
	 
  	/* Section - Portfolio/Shop - Portfolio Index */
  	$wp_customize->add_section( 'progression_studios_section_portfolio_index', array(
  		'title'          => esc_html__( 'Portfolio Index', 'protege-progression' ),
  		'panel'          => 'progression_studios_portfolio_panel', // Not typically needed.
  		'priority'       => 10,
  	) );
	
	
	/* Setting - Portfolio/Shop - Portfolio Index */
	$wp_customize->add_setting( 'progression_studios_portfolio_columns' ,array(
		'default' => '3',
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control(new progression_studios_Controls_Radio_Buttonset_Control($wp_customize, 'progression_studios_portfolio_columns', array(
		'label'    => esc_html__( 'Portfolio Archive Columns', 'protege-progression' ),
		'section' => 'progression_studios_section_portfolio_index',
		'priority'   => 20,
		'choices'     => array(
			'1' => '1',
			'2' => '2',
			'3' => '3',
			'4' => '4',
			'5' => '5',
		),
		))
	);
	
	
	/* Setting - Portfolio/Shop - Portfolio Index */
	$wp_customize->add_setting( 'progression_studios_portfolio_cropping' ,array(
		'default' => 'cropped',
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control(new progression_studios_Controls_Radio_Buttonset_Control($wp_customize, 'progression_studios_portfolio_cropping', array(
		'label'    => esc_html__( 'Portfolio Archive Image Cropping', 'protege-progression' ),
		'section' => 'progression_studios_section_portfolio_index',
		'priority'   => 25,
		'choices'     => array(
			'cropped' => esc_html__( 'Cropped', 'protege-progression' ),
			'uncropped' => esc_html__( 'Un-Cropped', 'protege-progression' ),
		),
		))
	);
	
	
	/* Setting - Portfolio/Shop - Portfolio Index */
	$wp_customize->add_setting( 'progression_studios_portfolio_posts_Page' ,array(
		'default' =>  '12',
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control( 'progression_studios_portfolio_posts_Page', array(
		'label'          => esc_html__( 'Portfolio Archive Posts Per Page', 'protege-progression' ),
		'section' => 'progression_studios_section_portfolio_index',
		'type' => 'text',
		'priority'   => 30,
		)
	
	);
	
	
	/* Setting - Portfolio/Shop - Portfolio Index */
	$wp_customize->add_setting( 'progression_studios_portfolio_gap' ,array(
		'default' => '0px',
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control( 'progression_studios_portfolio_gap', array(
		'label'    => esc_html__( 'Portfolio Archive Spacing', 'protege-progression' ),
		'section' => 'progression_studios_section_portfolio_index',
		'type' => 'select',
		'priority'   => 40,
		'choices' => array(
			'0px' => '0px',
			'5px' => '5px',
			'10px' => '10px',
			'15px' => '15px',
			'20px' => '20px',
			'25px' => '25px',
			'30px' => '30px',
		
		 ),
		)
	);
	
	
	/* Setting - Portfolio/Shop - Portfolio Index */
	$wp_customize->add_setting( 'progression_studios_portfolio_layout' ,array(
		'default' => 'progression-default-layout',
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control( 'progression_studios_portfolio_layout', array(
		'label'    => esc_html__( 'Portfolio Archive Layout', 'protege-progression' ),
		'section' => 'progression_studios_section_portfolio_index',
		'type' => 'select',
		'priority'   => 50,
		'choices' => array(
			'progression-default-layout' => esc_html__( 'Overlay', 'protege-progression' ),
			'progression-underneath-layout' => esc_html__( 'Underneath', 'protege-progression' ),
		
		 ),
		)
	);
	
	
	
	
	
	
	
  	/* Section - Portfolio/Shop - Shop Index */
  	$wp_customize->add_section( 'progression_studios_section_shop_index', array(
  		'title'          => esc_html__( 'Shop Index', 'protege-progression' ),
  		'panel'          => 'progression_studios_portfolio_panel', // Not typically needed.
  		'priority'       => 500,
  	) );
	
	/* Setting - Portfolio/Shop - Shop Index */
	$wp_customize->add_setting( 'progression_studios_shop_columns' ,array(
		'default' => '3',
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control(new progression_studios_Controls_Radio_Buttonset_Control($wp_customize, 'progression_studios_shop_columns', array(
		'label'    => esc_html__( 'Shop Columns', 'protege-progression' ),
		'section' => 'progression_studios_section_shop_index',
		'priority'   => 20,
		'choices'     => array(
			'1' => '1',
			'2' => '2',
			'3' => '3',
			'4' => '4',
			'5' => '5',
		),
		))
	);

	/* Setting - Portfolio/Shop - Shop Index */
	$wp_customize->add_setting( 'progression_studios_shop_posts_Page' ,array(
		'default' =>  '9',
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control( 'progression_studios_shop_posts_Page', array(
		'label'          => esc_html__( 'Shop Posts Per Page', 'protege-progression' ),
		'section' => 'progression_studios_section_shop_index',
		'type' => 'text',
		'priority'   => 30,
		)
	
	);
	
	
	/* Setting - Portfolio/Shop - Shop Index */
	$wp_customize->add_setting( 'progression_studios_shop_gap' ,array(
		'default' => '10px',
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control( 'progression_studios_shop_gap', array(
		'label'    => esc_html__( 'Shop Post Spacing', 'protege-progression' ),
		'section' => 'progression_studios_section_shop_index',
		'type' => 'select',
		'priority'   => 40,
		'choices' => array(
			'0px' => '0px',
			'5px' => '5px',
			'10px' => '10px',
			'15px' => '15px',
			'20px' => '20px',
			'25px' => '25px',
			'30px' => '30px',
		
		 ),
		)
	);
	/* Setting - Portfolio/Shop - Shop Index */
	$wp_customize->add_setting( 'progression_studios_shop_layout' ,array(
		'default' => 'progression-shop-default-layout',
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control( 'progression_studios_shop_layout', array(
		'label'    => esc_html__( 'Shop Layout', 'protege-progression' ),
		'section' => 'progression_studios_section_shop_index',
		'type' => 'select',
		'priority'   => 50,
		'choices' => array(
			'progression-shop-default-layout' => esc_html__( 'Overlay', 'protege-progression' ),
			'progression-shop-underneath-layout' => esc_html__( 'Underneath', 'protege-progression' ),
		
		 ),
		)
	);
	
	
	
	
	
	
	

	
	
	/* Panel - General */
	$wp_customize->add_panel( 'progression_studios_general_panel', array(
		'priority'    => 14,
		'title'       => esc_html__( 'General', 'protege-progression' ),
		 ) 
 	);
	
	
	/* Section - General - General Layout */
	$wp_customize->add_section( 'progression_studios_section_general_layout', array(
		'title'          => esc_html__( 'General Layout', 'protege-progression' ),
		'panel'          => 'progression_studios_general_panel', // Not typically needed.
		'priority'       => 10,
		) 
	);
	
	/* Setting - General - General Layout */
	$wp_customize->add_setting( 'progression_studios_site_boxed' ,array(
		'default' => 'full-width-pro',
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control(new progression_studios_Controls_Radio_Buttonset_Control($wp_customize, 'progression_studios_site_boxed', array(
		'label'    => esc_html__( 'Site Layout', 'protege-progression' ),
		'section' => 'progression_studios_section_general_layout',
		'priority'   => 10,
		'choices'     => array(
			'full-width-pro' => esc_html__( 'Full Width', 'protege-progression' ),
			'boxed-pro' => esc_html__( 'Boxed', 'protege-progression' ),
		),
		))
	);
	
	
	/* Setting - Header - Header Options */
	$wp_customize->add_setting( 'progression_studios_boxed_background_color', array(
		'default'	=> '#ffffff',
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'progression_studios_boxed_background_color', array(
		'label'    => esc_html__( 'Boxed Background Color', 'protege-progression' ),
		'section'  => 'progression_studios_section_general_layout',
		'priority'   => 20,
		)) 
	);
	
	
	

	/* Section - General - Page Loader */
	$wp_customize->add_section( 'progression_studios_section_page_transition', array(
		'title'          => esc_html__( 'Page Loader', 'protege-progression' ),
		'panel'          => 'progression_studios_general_panel', // Not typically needed.
		'priority'       => 26,
		) 
	);

	/* Setting - General - Page Loader */
	$wp_customize->add_setting( 'progression_studios_page_transition' ,array(
		'default' => 'transition-off-pro',
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control(new progression_studios_Controls_Radio_Buttonset_Control($wp_customize, 'progression_studios_page_transition', array(
		'label'    => esc_html__( 'Display Page Loader?', 'protege-progression' ),
		'section' => 'progression_studios_section_page_transition',
		'priority'   => 10,
		'choices'     => array(
			'transition-on-pro' => esc_html__( 'On', 'protege-progression' ),
			'transition-off-pro' => esc_html__( 'Off', 'protege-progression' ),
		),
		))
	);
	
	/* Setting - General - Page Loader */
	$wp_customize->add_setting( 'progression_studios_transition_loader' ,array(
		'default' => 'cube-grid-pro',
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control( 'progression_studios_transition_loader', array(
		'label'    => esc_html__( 'Page Loader Animation', 'protege-progression' ),
		'section' => 'progression_studios_section_page_transition',
		'type' => 'select',
		'priority'   => 15,
		'choices' => array(
	        'cube-grid-pro' => esc_html__( 'Cube Grid Animation', 'protege-progression' ),
	        'rotating-plane-pro' => esc_html__( 'Rotating Plane Animation', 'protege-progression' ),
	        'double-bounce-pro' => esc_html__( 'Doube Bounce Animation', 'protege-progression' ),
	        'sk-rectangle-pro' => esc_html__( 'Rectangle Animation', 'protege-progression' ),
			'sk-cube-pro' => esc_html__( 'Wandering Cube Animation', 'protege-progression' ),
			'sk-chasing-dots-pro' => esc_html__( 'Chasing Dots Animation', 'protege-progression' ),
			'sk-circle-child-pro' => esc_html__( 'Circle Animation', 'protege-progression' ),
			'sk-folding-cube' => esc_html__( 'Folding Cube Animation', 'protege-progression' ),
		
		 ),
		)
	);


	/* Setting - General - Page Loader */
	$wp_customize->add_setting( 'progression_studios_loading_text_new' ,array(
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control( 'progression_studios_loading_text_new', array(
		'label'    => esc_html__( 'Optional Loading Text', 'protege-progression' ),
		'section' => 'progression_studios_section_page_transition',
		'type' => 'text',
		'priority'   => 25,
		)
	);


	/* Setting - General - Page Loader */
	$wp_customize->add_setting( 'progression_studios_page_loader_text', array(
		'default' => '#ffffff',
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'progression_studios_page_loader_text', array(
		'label'    => esc_html__( 'Page Loader Color', 'protege-progression' ),
		'section'  => 'progression_studios_section_page_transition',
		'priority'   => 30,
	) ) 
	);


	/* Setting - General - Page Loader */
	$wp_customize->add_setting( 'progression_studios_page_loader_bg', array(
		'default' => '#0b356b',
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'progression_studios_page_loader_bg', array(
		'label'    => esc_html__( 'Page Loader Background', 'protege-progression' ),
		'section'  => 'progression_studios_section_page_transition',
		'priority'   => 35,
	) ) 
	);


	/* Section - Footer - Scroll To Top */
	$wp_customize->add_section( 'progression_studios_section_scroll', array(
		'title'          => esc_html__( 'Scroll To Top Button', 'protege-progression' ),
		'panel'          => 'progression_studios_general_panel', // Not typically needed.
		'priority'       => 100,
	) );

	/* Setting - Footer - Scroll To Top */
	$wp_customize->add_setting( 'progression_studios_pro_scroll_top', array(
		'default' => 'scroll-on-pro',
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control(new progression_studios_Controls_Radio_Buttonset_Control($wp_customize, 'progression_studios_pro_scroll_top', array(
		'label'    => esc_html__( 'Scroll To Top Button', 'protege-progression' ),
		'section'  => 'progression_studios_section_scroll',
		'priority'   => 10,
		'choices'     => array(
			'scroll-on-pro' => esc_html__( 'On', 'protege-progression' ),
			'scroll-off-pro' => esc_html__( 'Off', 'protege-progression' ),
		),
	) ) );

	/* Setting - Footer - Scroll To Top */
	$wp_customize->add_setting( 'progression_studios_scroll_color', array(
		'default' => '#ffffff',
		'sanitize_callback' => 'progression_studios_sanitize_text',
		) 
	);
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'progression_studios_scroll_color', array(
		'label'    => esc_html__( 'Color', 'protege-progression' ),
		'section'  => 'progression_studios_section_scroll',
		'priority'   => 15,
		) ) 
	);


	/* Setting - Footer - Scroll To Top */
	$wp_customize->add_setting( 'progression_studios_scroll_bg_color', array(
		'default' => 'rgba(0,0,0,  0.3)',
		'sanitize_callback' => 'progression_studios_sanitize_text',
		) 
	);
	$wp_customize->add_control(new progression_studios_Customize_Alpha_Color_Control($wp_customize, 'progression_studios_scroll_bg_color', array(
		'label'    => esc_html__( 'Background', 'protege-progression' ),
		'default' => 'rgba(0,0,0,  0.3)',
		'section'  => 'progression_studios_section_scroll',
		'priority'   => 20,
		) ) 
	);

	/* Setting - Footer - Scroll To Top */
	$wp_customize->add_setting( 'progression_studios_scroll_border_color', array(
		'default' => 'rgba(255,255,255,  0.2)',
		'sanitize_callback' => 'progression_studios_sanitize_text',
		) 
	);
	$wp_customize->add_control(new progression_studios_Customize_Alpha_Color_Control($wp_customize, 'progression_studios_scroll_border_color', array(
		'label'    => esc_html__( 'Border', 'protege-progression' ),
		'default' => 'rgba(255,255,255,  0.2))',
		'section'  => 'progression_studios_section_scroll',
		'priority'   => 25,
		) ) 
	);

	/* Setting - Footer - Scroll To Top */
	$wp_customize->add_setting( 'progression_studios_scroll_hvr_color', array(
		'default' => '#ffffff',
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'progression_studios_scroll_hvr_color', array(
		'label'    => esc_html__( 'Hover Color', 'protege-progression' ),
		'section'  => 'progression_studios_section_scroll',
		'priority'   => 30,
		) ) 
	);
	
	/* Setting - Footer - Scroll To Top */
	$wp_customize->add_setting( 'progression_studios_scroll_hvr_bg_color', array(
		'default' => '#0b356b',
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control(new progression_studios_Customize_Alpha_Color_Control($wp_customize, 'progression_studios_scroll_hvr_bg_color', array(
		'label'    => esc_html__( 'Hover Background', 'protege-progression' ),
		'default' => '#0b356b',
		'section'  => 'progression_studios_section_scroll',
		'priority'   => 40,
		) ) 
	);

	/* Setting - Footer - Scroll To Top */
	$wp_customize->add_setting( 'progression_studios_scroll_hvr_border_color', array(
		'default' => '#0b356b',
		'sanitize_callback' => 'progression_studios_sanitize_text',
		) 
	);
	$wp_customize->add_control(new progression_studios_Customize_Alpha_Color_Control($wp_customize, 'progression_studios_scroll_hvr_border_color', array(
		'label'    => esc_html__( 'Border', 'protege-progression' ),
		'default' => '#0b356b',
		'section'  => 'progression_studios_section_scroll',
		'priority'   => 50,
		) ) 
	);
	
	
	/* Section - General - Custom CSS */
	$wp_customize->add_section( 'progression_studios_section_css', array(
		'title'          => esc_html__( 'Custom CSS', 'protege-progression' ),
		'panel'          => 'progression_studios_general_panel', // Not typically needed.
		'priority'       => 150,
	) );
	
	/* Setting - General - Custom CSS */
	$wp_customize->add_setting( 'progression_studios_custom_css' ,array(
		'default' => '',
		'sanitize_callback' => 'progression_studios_sanitize_text',
	) );
	$wp_customize->add_control( 'progression_studios_custom_css', array(
		'description'          => esc_html__( 'Add-in any custom styles here', 'protege-progression' ),
		'section' => 'progression_studios_section_css',
		'type' => 'textarea',
		'priority'   => 10,
		)
	);

	
}
add_action( 'customize_register', 'progression_studios_customizer' );

function progression_studios_sanitize_text( $input ) {
    return wp_kses_post( force_balance_tags( $input ) );
}


function progression_studios_customize_js()
{
    ?>
	<script type="text/javascript">
	jQuery(document).ready(function($) {
		'use strict';
		
		<?php if (get_theme_mod( 'progression_studios_page_transition', 'transition-off-pro') == "transition-on-pro") : ?>
		(function($) {
			var didDone = false;
			    function done() {
			        if(!didDone) {
			            didDone = true;
						$("#page-loader-pro").addClass('finished-loading');
						$("#page-loader-pro").fadeOut(1000);
			        }
			    }
			    var loaded = false;
			    var minDone = false;
			    //The minimum timeout.
			    setTimeout(function(){
			        minDone = true;
			        //If loaded, fire the done callback.
			        if(loaded)  {  done(); } }, 200);
			    //The maximum timeout.
			    setTimeout(function(){  done();   }, 2500);
			    //Bind the load listener.
			    $(window).load(function(){  loaded = true;
			        if(minDone) { done(); }
			    });
		})(jQuery);
		<?php endif ?>
		
		/* Portfolio Isotope Load Code */
		var $container = $('.progression-masonry').isotope();
		$container.imagesLoaded( function() {
			$(".progression-masonry-item").addClass('opacity-progression');
			$container.isotope({
				itemSelector: '.progression-masonry-item',
				transitionDuration: '0.4s',

				masonry: {
				    columnWidth: '.progression-masonry-col-<?php echo esc_attr(get_theme_mod( 'progression_studios_portfolio_columns', '3')); ?>',
				},hiddenStyle: {
					opacity: 0
				},
				visibleStyle: {
					opacity: 1
				}
	 		});
		});
		/* END Portfolio Isotope Code */
		
		/* Shop Isotope Load Code */
		var $container = $('.progression-shop-masonry').isotope();
		$container.imagesLoaded( function() {
			$(".progression-masonry-item").addClass('opacity-progression');
			$container.isotope({
				itemSelector: '.progression-masonry-item',
				transitionDuration: '0.4s',

				masonry: {
				    columnWidth: '.progression-masonry-col-<?php echo esc_attr(get_theme_mod( 'progression_studios_shop_columns', '3')); ?>',
				},hiddenStyle: {
					opacity: 0
				},
				visibleStyle: {
					opacity: 1
				}
	 		});
		});
		/* END Portfolio Isotope Code */
		
	});
	</script>
    <?php
}
add_action('wp_footer', 'progression_studios_customize_js');


function progression_studios_customizer_css()
{
	?>
	<style type="text/css">
	<?php if (get_theme_mod( 'progression_studios_custom_css')) : ?><?php echo esc_attr(get_theme_mod('progression_studios_custom_css')); ?><?php endif ?>
	body #logo-pro img {
		width:<?php echo esc_attr( get_theme_mod('progression_studios_theme_logo_width', '160') ); ?>px;
		padding-top:<?php echo esc_attr( get_theme_mod('progression_studios_theme_logo_margin_top', '17') ); ?>px;
		padding-bottom:<?php echo esc_attr( get_theme_mod('progression_studios_theme_logo_margin_bottom', '17') ); ?>px;
	}
	
	.progression-underneath-layout  ul.portfolio-tax-progression li  a:hover,
	.progression-woocommerce-container-index span.amount,
	#single-product-page-progression-studios span.amount,
	body .progression-page-nav a span,	.widget span.amount, .star-rating, .progression-woocommerce-container-index a:hover h3, h2.progression-blog-title a:hover, .progression-blog-meta a:hover, a  {color:<?php echo esc_attr( get_theme_mod('progression_studios_default_link_color', '#0b356b') ); ?>;}

	body .progression-page-nav span {
		border-color:<?php echo esc_attr( get_theme_mod('progression_studios_default_link_color', '#0b356b') ); ?>;
	}
	.progression-page-nav a span,.progression-page-nav a, ul.page-numbers li a, ul.page-numbers li .current, ul.page-numbers li a:hover {
		color:<?php echo esc_attr( get_theme_mod('progression_studios_default_link_color', '#0b356b') ); ?>;
		border-color:<?php echo esc_attr( get_theme_mod('progression_studios_default_link_color', '#0b356b') ); ?>;
	}
	.progression-page-nav span, .progression-page-nav a:hover, ul.page-numbers li .current, ul.page-numbers li a:hover {
		background:<?php echo esc_attr( get_theme_mod('progression_studios_default_link_color', '#0b356b') ); ?>;
		border-color:<?php echo esc_attr( get_theme_mod('progression_studios_default_link_color', '#0b356b') ); ?>;
	}
	
	a:hover {color:<?php echo esc_attr( get_theme_mod('progression_studios_default_link_hover_color', '#0f4385') ); ?>;}
	
	body .progression-sticky-scrolled #logo-pro img { width:<?php echo esc_attr( get_theme_mod('progression_studios_sticky_logo_width', '160') ); ?>px; }
	@media only screen and (max-width: 959px) {
		.progression-studios-transparent-header header#masthead-pro {
			background:<?php echo esc_attr( get_theme_mod('progression_studios_header_background_color', '#ffffff') ); ?>;
		}
	}
	header#masthead-pro {
		background:<?php echo esc_attr( get_theme_mod('progression_studios_header_background_color', '#ffffff') ); ?>;
	}
	body {
		background:<?php echo esc_attr( get_theme_mod('progression_studios_background_color', '#f7f8f8') ); ?>;
	}
	<?php if (get_theme_mod( 'progression_studios_sticky_header_background_color')) : ?>.progression-sticky-scrolled  header#masthead-pro {background:<?php echo esc_attr( get_theme_mod('progression_studios_sticky_header_background_color') ); ?>;}<?php endif ?>
	#page-title-pro { 
		padding-top:<?php echo esc_attr( get_theme_mod('progression_studios_page_title_padding_top', '80') ); ?>px ;
		padding-bottom:<?php echo esc_attr( get_theme_mod('progression_studios_page_title_padding_bottom', '80') ); ?>px ;
		<?php if (get_theme_mod( 'progression_studios_page_title_bg_image', get_template_directory_uri().'/images/page-title.jpg' ) ) : ?>
		background-image:url(<?php echo esc_attr( get_theme_mod('progression_studios_page_title_bg_image', get_template_directory_uri().'/images/page-title.jpg' ) ); ?>);
		<?php endif ?>
	}
	#page-title-pro:before {
		background:<?php echo esc_attr( get_theme_mod('progression_studios_page_title_overlay_color', '#000000') ); ?>;
		opacity:<?php echo esc_attr( get_theme_mod('progression_studios_page_title_overlay_opacity', '0.4') ); ?>;
	}
	.mobile-menu-icon-pro {
		color:<?php echo esc_attr( get_theme_mod('progression_studios_nav_font_color', '#3f3f3f') ); ?>;
		padding-top:<?php echo esc_attr( get_theme_mod('progression_studios_nav_padding', '29') - 6 ); ?>px;
		padding-bottom:<?php echo esc_attr( get_theme_mod('progression_studios_nav_padding', '29') - 6 ); ?>px;
		font-size:<?php echo esc_attr( get_theme_mod('progression_studios_nav_font_size', '12') + 10 ); ?>px;
	}
	#progression-shopping-cart-count a {
		color:<?php echo esc_attr( get_theme_mod('progression_studios_nav_font_color', '#3f3f3f') ); ?>;
		padding-top:<?php echo esc_attr( get_theme_mod('progression_studios_nav_padding', '29') - 2 ); ?>px;
		padding-bottom:<?php echo esc_attr( get_theme_mod('progression_studios_nav_padding', '29') - 2 ); ?>px;
		font-size:<?php echo esc_attr( get_theme_mod('progression_studios_nav_font_size', '12') ); ?>px;
	}
	.sf-menu a {
		color:<?php echo esc_attr( get_theme_mod('progression_studios_nav_font_color', '#3f3f3f') ); ?>;
		padding-top:<?php echo esc_attr( get_theme_mod('progression_studios_nav_padding', '29') ); ?>px;
		padding-bottom:<?php echo esc_attr( get_theme_mod('progression_studios_nav_padding', '29') ); ?>px;
		font-size:<?php echo esc_attr( get_theme_mod('progression_studios_nav_font_size', '12') ); ?>px;
	}
	.progression-sticky-scrolled #logo-pro img {
		padding-top:<?php echo esc_attr( get_theme_mod('progression_studios_sticky_logo_margin_top', '12') ); ?>px;
		padding-bottom:<?php echo esc_attr( get_theme_mod('progression_studios_sticky_logo_margin_bottom', '12') ); ?>px;
	}
	.progression-sticky-scrolled #progression-shopping-cart-count a {
		padding-top:<?php echo esc_attr( get_theme_mod('progression_studios_sticky_nav_padding', '24') - 2); ?>px;
		padding-bottom:<?php echo esc_attr( get_theme_mod('progression_studios_sticky_nav_padding', '24') - 2); ?>px;
	}
	.progression-sticky-scrolled .sf-menu a {
		padding-top:<?php echo esc_attr( get_theme_mod('progression_studios_sticky_nav_padding', '24') ); ?>px;
		padding-bottom:<?php echo esc_attr( get_theme_mod('progression_studios_sticky_nav_padding', '24') ); ?>px;
	}
	<?php if (get_theme_mod( 'progression_studios_sticky_nav_font_color')) : ?>
	.progression-sticky-scrolled #progression-shopping-cart-count a, .progression-sticky-scrolled .sf-menu a {color:<?php echo esc_attr( get_theme_mod('progression_studios_sticky_nav_font_color') ); ?>;}
	<?php endif ?>
		
	<?php if (get_theme_mod( 'progression_studios_sticky_nav_font_color_hover')) : ?>
	.progression-sticky-scrolled #progression-shopping-cart-count a:hover, .progression-sticky-scrolled .sf-menu a:hover, .progression-sticky-scrolled .sf-menu li.sfHover a, .progression-sticky-scrolled .sf-menu li.current-menu-item a {
		color:<?php echo esc_attr( get_theme_mod('progression_studios_sticky_nav_font_color_hover') ); ?>;
	}
	<?php endif ?>
	.active-menu-icon-pro .mobile-menu-icon-pro, .mobile-menu-icon-pro:hover, #progression-shopping-cart-count a:hover, .sf-menu a:hover, .sf-menu li.sfHover a, .sf-menu li.current-menu-item a, .menu-show-hide-pro {
		color:<?php echo esc_attr( get_theme_mod('progression_studios_nav_font_color_hover', '#888888') ); ?>;
	}
	.sf-menu ul {border-color: <?php echo esc_attr( get_theme_mod('progression_studios_sub_nav_border', '#666666') ); ?>;  background: <?php echo esc_attr( get_theme_mod('progression_studios_sub_nav_bg', '#ffffff') ); ?>; }
	.sf-menu li li a {
		font-size:<?php echo esc_attr( get_theme_mod('progression_studios_sub_nav_font_size', '12') ); ?>px;
		padding-top:<?php echo esc_attr( get_theme_mod('progression_studios_sub_nav_padding', '8') ); ?>px;
		padding-bottom:<?php echo esc_attr( get_theme_mod('progression_studios_sub_nav_padding', '8') ); ?>px;
	}
	.sf-mega li li:last-child a {
		padding-bottom:<?php echo esc_attr( get_theme_mod('progression_studios_sub_nav_padding', '8') + 7 ); ?>px;
	}
	.sf-mega h2.mega-menu-heading, body header .sf-mega h2.mega-menu-heading a {
		font-size:<?php echo esc_attr( get_theme_mod('progression_studios_sub_nav_font_size', '12') + 1 ); ?>px;
	}
	.progression-sticky-scrolled .sf-menu li.sfHover li a,
	.progression-sticky-scrolled .sf-menu li.sfHover li.sfHover li a,
	.progression-sticky-scrolled .sf-menu li.sfHover li.sfHover li.sfHover li a,
	.progression-sticky-scrolled .sf-menu li.sfHover li.sfHover li.sfHover li.sfHover li a,
	.progression-sticky-scrolled .sf-menu li.sfHover li.sfHover li.sfHover li.sfHover li.sfHover li a,
	.sf-menu li.sfHover li a,
	.sf-menu li.sfHover li.sfHover li a,
	.sf-menu li.sfHover li.sfHover li.sfHover li a,
	.sf-menu li.sfHover li.sfHover li.sfHover li.sfHover li a,
	.sf-menu li.sfHover li.sfHover li.sfHover li.sfHover li.sfHover li a {
		color:<?php echo esc_attr( get_theme_mod('progression_studios_sub_nav_font_color', '#888888') ); ?>;
	}
	body .progression-sticky-scrolled header .sf-mega h2.mega-menu-heading a,
	.progression-sticky-scrolled .sf-menu li.sfHover li a:hover, .progression-sticky-scrolled .sf-menu li.sfHover li.sfHover a,
	.progression-sticky-scrolled .sf-menu li.sfHover li li a:hover, .progression-sticky-scrolled .sf-menu li.sfHover li.sfHover li.sfHover a,
	.progression-sticky-scrolled .sf-menu li.sfHover li li li a:hover, .progression-sticky-scrolled .sf-menu li.sfHover li.sfHover li.sfHover a:hover, .progression-sticky-scrolled .sf-menu li.sfHover li.sfHover li.sfHover li.sfHover a, .progression-sticky-scrolled .sf-menu li.sfHover li li li li a:hover, .progression-sticky-scrolled .sf-menu li.sfHover li.sfHover li.sfHover li.sfHover a:hover, .progression-sticky-scrolled .sf-menu li.sfHover li.sfHover li.sfHover li.sfHover li.sfHover a,
	.progression-sticky-scrolled .sf-menu li.sfHover li li li li li a:hover, .progression-sticky-scrolled .sf-menu li.sfHover li.sfHover li.sfHover li.sfHover li.sfHover a:hover, .progression-sticky-scrolled .sf-menu li.sfHover li.sfHover li.sfHover li.sfHover li.sfHover li.sfHover a,
	.sf-mega h2.mega-menu-heading, body header .sf-mega h2.mega-menu-heading a,
	.sf-menu li.sfHover li a:hover, .sf-menu li.sfHover li.sfHover a,
	.sf-menu li.sfHover li li a:hover, .sf-menu li.sfHover li.sfHover li.sfHover a,
	.sf-menu li.sfHover li li li a:hover, .sf-menu li.sfHover li.sfHover li.sfHover a:hover, .sf-menu li.sfHover li.sfHover li.sfHover li.sfHover a, .sf-menu li.sfHover li li li li a:hover, .sf-menu li.sfHover li.sfHover li.sfHover li.sfHover a:hover, .sf-menu li.sfHover li.sfHover li.sfHover li.sfHover li.sfHover a,
	.sf-menu li.sfHover li li li li li a:hover, .sf-menu li.sfHover li.sfHover li.sfHover li.sfHover li.sfHover a:hover, .sf-menu li.sfHover li.sfHover li.sfHover li.sfHover li.sfHover li.sfHover a {
		color:<?php echo esc_attr( get_theme_mod('progression_studios_sub_nav_hover_font_color', '#3f3f3f') ); ?>;
	}
	
	.progression-studios-social-icons a {
		color:<?php echo esc_attr(get_theme_mod('progression_studios_footer_icon_color', '#999999')); ?>;
		border-color:<?php echo esc_attr(get_theme_mod('progression_studios_footer_icon_bordere_color', '#cccccc')); ?>;
	}
	#widget-area-progression {
		background:<?php echo esc_attr(get_theme_mod('progression_studios_footer_widget_bg', '#ffffff')); ?>;
	}
	#copyright-pro {
		border-color:<?php echo esc_attr(get_theme_mod('progression_studios_footer_border', '#e5e5e5')); ?>;
		background:<?php echo esc_attr(get_theme_mod('progression_studios_footer_copyright_bg', '#ffffff')); ?>;
	}
	
	
	
	.tags-progression {
		color:<?php echo esc_attr( get_theme_mod('progression_studios_button_background', '#0b356b') ); ?>;
	}
	
	a.progression-studios-portfolio-index,
	#content-pro .progression-woocommerce-container-index .add-cart-area-pro a.button,
	.tags-progression a {
		background:<?php echo esc_attr( get_theme_mod('progression_studios_button_background', '#0b356b') ); ?>; 
	}
	.woocommerce input:focus, .woocommerce textarea:focus, .post-password-form input#pwbox-1168:focus, #content-pro .search-form input.search-field:focus, #sidebar .search-form input.search-field:focus, .search-form input.search-field:focus, .comments-area input:focus, .comments-area textarea:focus, .wpcf7-form input:focus, .wpcf7-form textarea:focus {
		border-color:<?php echo esc_attr( get_theme_mod('progression_studios_button_background', '#0b356b') ); ?>; 
	}
	.search-form input.search-submit, .comments-area input#submit, a.more-link, input.wpcf7-submit {
		background:<?php echo esc_attr( get_theme_mod('progression_studios_button_background', '#0b356b') ); ?>;
		font-size:<?php echo esc_attr( get_theme_mod('progression_studios_button_font_size', '15') + 2 ); ?>px;
	}
	.comment-navigation a, .post-password-form input[type=submit], .sticky-post-pro, #sidebar .tagcloud a, #site-footer .tagcloud a  {
		background:<?php echo esc_attr( get_theme_mod('progression_studios_button_background', '#0b356b') ); ?>;
	}
	body .progression-blog-category a:hover {
		background:<?php echo esc_attr( get_theme_mod('progression_studios_button_background', '#0b356b') ); ?>;
		border-color:<?php echo esc_attr( get_theme_mod('progression_studios_button_background', '#0b356b') ); ?>;
	}
	
	
	.comment-navigation a:hover, .post-password-form input[type=submit]:hover, .search-form input.search-submit:hover, #sidebar .tagcloud a:hover, #site-footer .tagcloud a:hover, .comments-area input#submit:hover, .tags-progression a:hover, a.more-link:hover, input.wpcf7-submit:hover {
		background:<?php echo esc_attr( get_theme_mod('progression_studios_button_background_hover', '#0f4385') ); ?>;
	}
	a.more-link {
		font-size:<?php echo esc_attr( get_theme_mod('progression_studios_button_font_size', '15') ); ?>px;
	}
	footer#site-footer .widget_shopping_cart_content a.button, #content-pro .widget_shopping_cart_content a.button, footer#site-footer .price_slider_amount button.button, #content-pro .price_slider_amount button.button {
		font-size:<?php echo esc_attr( get_theme_mod('progression_studios_button_font_size', '15') - 2 ); ?>px;
	}
	body #content-pro  a.checkout-button, #content-pro .summary a.button, #content-pro .summary button.button {
		font-size:<?php echo esc_attr( get_theme_mod('progression_studios_button_font_size', '15') + 1 ); ?>px;
	}
	footer#site-footer a.button, footer#site-footer button.button, body #content-pro .width-container-pro input.button, .woocommerce #content-pro input#submit, #content-pro a.button, #content-pro button.button {
		background:<?php echo esc_attr( get_theme_mod('progression_studios_button_background', '#0b356b') ); ?>;
		font-size:<?php echo esc_attr( get_theme_mod('progression_studios_button_font_size', '15') ); ?>px;
	}
	footer#site-footer a.button:hover, footer#site-footer button.button:hover, body #content-pro .woocommerce table.shop_table .coupon input.button:hover, body #content-pro .width-container-pro input.button:hover, .woocommerce #content-pro  input#submit:hover, #content-pro a.button:hover, #content-pro button.button:hover {
		background:<?php echo esc_attr( get_theme_mod('progression_studios_button_background_hover', '#0f4385') ); ?>;
	}
	footer#site-footer .widget .price_slider, #boxed-layout-pro .widget .price_slider  {
		background:<?php echo esc_attr( get_theme_mod('progression_studios_button_background_hover', '#0f4385') ); ?>;
	}
	footer#site-footer .widget .price_slider .ui-slider-handle, #boxed-layout-pro .widget .price_slider .ui-slider-handle  {
		background:<?php echo esc_attr( get_theme_mod('progression_studios_button_background', '#0b356b') ); ?>;
	}
	footer#site-footer .widget .price_slider .ui-slider-range, #boxed-layout-pro .widget .price_slider .ui-slider-range  {
		background:<?php echo esc_attr( get_theme_mod('progression_studios_button_background', '#0b356b') ); ?>;
	}
	
	
	
	
	<?php if (get_theme_mod( 'progression_studios_nav_cart') == "off") : ?>#progression-shopping-cart-count {display:none !important;}<?php endif ?>
	#pro-scroll-top { 
		color:<?php echo esc_attr(get_theme_mod('progression_studios_scroll_color', '#ffffff')); ?>; 
		background: <?php echo esc_attr(get_theme_mod('progression_studios_scroll_bg_color', 'rgba(0,0,0,  0.3)')); ?>; 
		border-top:1px solid <?php echo esc_attr(get_theme_mod('progression_studios_scroll_border_color', 'rgba(255,255,255,  0.2)')); ?>; 
		border-left:1px solid <?php echo esc_attr(get_theme_mod('progression_studios_scroll_border_color', 'rgba(255,255,255,  0.2)')); ?>; 
		border-right:1px solid <?php echo esc_attr(get_theme_mod('progression_studios_scroll_border_color', 'rgba(255,255,255,  0.2)')); ?>; 
	}
	#pro-scroll-top:hover {  
		background: <?php echo esc_attr(get_theme_mod('progression_studios_scroll_hvr_bg_color', '#0b356b')); ?>; 
		border-color:<?php echo esc_attr(get_theme_mod('progression_studios_scroll_hvr_border_color', '#0b356b')); ?>; 
	}
	<?php if (get_theme_mod( 'progression_studios_pro_scroll_top') == "scroll-off-pro") : ?>a#pro-scroll-top {display:none;}<?php endif ?>
	.sk-folding-cube .sk-cube:before, .sk-circle .sk-child:before, .sk-rotating-plane, .sk-double-bounce .sk-child, .sk-wave .sk-rect, .sk-wandering-cubes .sk-cube, .sk-spinner-pulse, .sk-chasing-dots .sk-child, .sk-three-bounce .sk-child, .sk-fading-circle .sk-circle:before, .sk-cube-grid .sk-cube{ 
		background-color:<?php echo esc_attr(get_theme_mod('progression_studios_page_loader_text', '#ffffff')); ?>;
	}
	#page-loader-pro {
		background:<?php echo esc_attr(get_theme_mod('progression_studios_page_loader_bg', '#0b356b')); ?>;
		color:<?php echo esc_attr(get_theme_mod('progression_studios_page_loader_text', '#ffffff')); ?>; 
	}
	<?php if ( get_theme_mod( 'progression_studios_site_boxed') == 'boxed-pro') : ?>
	#boxed-layout-pro {
		margin-top:25px;
		position:relative;
		width:1200px;
		margin-left:auto; margin-right:auto; 
		background:<?php echo esc_attr(get_theme_mod('progression_studios_boxed_background_color', '#ffffff')); ?>;-moz-box-shadow:0px 0px 15px rgba(0, 0, 0, 0.05); -webkit-box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.05); box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.05);
	}
	#boxed-layout-pro .width-container-pro {
		width:90%;
	}
	@media only screen and (min-width: 960px) and (max-width: 1300px) { 
		body #boxed-layout-pro {width:92%;} 
	}
	<?php endif; ?>
	</style>
	<?php
}
add_action('wp_head', 'progression_studios_customizer_css');