<?php
	/**
	 * Theme Customizer.
	 *
	 * @package Transit
	 */

	/**
	 * Retrieve a holder for Customizer options.
	 *
	 * @since  1.0.0
	 * @return array
	 */
	function transit_get_customizer_options() {
		/**
		 * Filter a holder for Customizer options (for theme/plugin developer customization).
		 *
		 * @since 1.0.0
		 */
		return apply_filters( 'transit_get_customizer_options', array(
			'prefix'     => 'transit',
			'capability' => 'edit_theme_options',
			'type'       => 'theme_mod',
			'options'    => array(

				/** `Site Indentity` section */
				'show_tagline'                  => array(
					'title'    => esc_html__( 'Show tagline after logo', 'transit' ),
					'section'  => 'title_tagline',
					'priority' => 60,
					'default'  => false,
					'field'    => 'checkbox',
					'type'     => 'control',
				),
				'totop_visibility'              => array(
					'title'    => esc_html__( 'Show ToTop button', 'transit' ),
					'section'  => 'title_tagline',
					'priority' => 61,
					'default'  => true,
					'field'    => 'checkbox',
					'type'     => 'control',
				),
				'page_preloader'                => array(
					'title'    => esc_html__( 'Show page preloader', 'transit' ),
					'section'  => 'title_tagline',
					'priority' => 62,
					'default'  => true,
					'field'    => 'checkbox',
					'type'     => 'control',
				),
				'general_settings'              => array(
					'title'    => esc_html__( 'General Site settings', 'transit' ),
					'priority' => 40,
					'type'     => 'panel',
				),

				/** `Logo & Favicon` section */
				'logo_favicon'                  => array(
					'title'    => esc_html__( 'Logo &amp; Favicon', 'transit' ),
					'priority' => 25,
					'panel'    => 'general_settings',
					'type'     => 'section',
				),
				'header_logo_type'              => array(
					'title'   => esc_html__( 'Logo Type', 'transit' ),
					'section' => 'logo_favicon',
					'default' => 'image',
					'field'   => 'radio',
					'choices' => array(
						'image' => esc_html__( 'Image', 'transit' ),
						'text'  => esc_html__( 'Text', 'transit' ),
					),
					'type'    => 'control',
				),
				'header_logo_url'               => array(
					'title'           => esc_html__( 'Logo Upload', 'transit' ),
					'description'     => esc_html__( 'Upload logo image', 'transit' ),
					'section'         => 'logo_favicon',
					'default'         => '%s/assets/images/logo.png',
					'field'           => 'image',
					'type'            => 'control',
					'active_callback' => 'transit_is_header_logo_image',
				),
				'retina_header_logo_url'        => array(
					'title'           => esc_html__( 'Retina Logo Upload', 'transit' ),
					'description'     => esc_html__( 'Upload logo for retina-ready devices', 'transit' ),
					'section'         => 'logo_favicon',
					'field'           => 'image',
					'type'            => 'control',
					'active_callback' => 'transit_is_header_logo_image',
				),
				'header_logo_font_family'       => array(
					'title'           => esc_html__( 'Font Family', 'transit' ),
					'section'         => 'logo_favicon',
					'default'         => 'Lato, sans-serif',
					'field'           => 'fonts',
					'type'            => 'control',
					'active_callback' => 'transit_is_header_logo_text',
				),
				'header_logo_font_style'        => array(
					'title'           => esc_html__( 'Font Style', 'transit' ),
					'section'         => 'logo_favicon',
					'default'         => 'normal',
					'field'           => 'select',
					'choices'         => transit_get_font_styles(),
					'type'            => 'control',
					'active_callback' => 'transit_is_header_logo_text',
				),
				'header_logo_font_weight'       => array(
					'title'           => esc_html__( 'Font Weight', 'transit' ),
					'section'         => 'logo_favicon',
					'default'         => '400',
					'field'           => 'select',
					'choices'         => transit_get_font_weight(),
					'type'            => 'control',
					'active_callback' => 'transit_is_header_logo_text',
				),
				'header_logo_font_size'         => array(
					'title'           => esc_html__( 'Font Size, px', 'transit' ),
					'section'         => 'logo_favicon',
					'default'         => '44',
					'field'           => 'number',
					'input_attrs'     => array(
						'min'  => 6,
						'max'  => 50,
						'step' => 1,
					),
					'type'            => 'control',
					'active_callback' => 'transit_is_header_logo_text',
				),
				'header_logo_character_set'     => array(
					'title'           => esc_html__( 'Character Set', 'transit' ),
					'section'         => 'logo_favicon',
					'default'         => 'latin',
					'field'           => 'select',
					'choices'         => transit_get_character_sets(),
					'type'            => 'control',
					'active_callback' => 'transit_is_header_logo_text',
				),

				/** `Breadcrumbs` section */
				'breadcrumbs'                   => array(
					'title'    => esc_html__( 'Breadcrumbs', 'transit' ),
					'priority' => 30,
					'type'     => 'section',
					'panel'    => 'general_settings',
				),
				'breadcrumbs_visibillity'       => array(
					'title'   => esc_html__( 'Enable Breadcrumbs', 'transit' ),
					'section' => 'breadcrumbs',
					'default' => true,
					'field'   => 'checkbox',
					'type'    => 'control',
				),
				'breadcrumbs_front_visibillity' => array(
					'title'   => esc_html__( 'Enable Breadcrumbs on front page', 'transit' ),
					'section' => 'breadcrumbs',
					'default' => false,
					'field'   => 'checkbox',
					'type'    => 'control',
				),
				'breadcrumbs_page_title'        => array(
					'title'   => esc_html__( 'Enable page title in breadcrumbs area', 'transit' ),
					'section' => 'breadcrumbs',
					'default' => false,
					'field'   => 'checkbox',
					'type'    => 'control',
				),
				'breadcrumbs_path_type'         => array(
					'title'   => esc_html__( 'Show full/minified path', 'transit' ),
					'section' => 'breadcrumbs',
					'default' => 'full',
					'field'   => 'select',
					'choices' => array(
						'full'     => esc_html__( 'Full', 'transit' ),
						'minified' => esc_html__( 'Minified', 'transit' ),
					),
					'type'    => 'control',
				),

				/** `Social links` section */
				'social_links'                  => array(
					'title'    => esc_html__( 'Social links', 'transit' ),
					'priority' => 50,
					'type'     => 'section',
					'panel'    => 'general_settings',
				),
				'header_social_links'           => array(
					'title'   => esc_html__( 'Show social links in header', 'transit' ),
					'section' => 'social_links',
					'default' => false,
					'field'   => 'checkbox',
					'type'    => 'control',
				),
				'footer_social_links'           => array(
					'title'   => esc_html__( 'Show social links in footer', 'transit' ),
					'section' => 'social_links',
					'default' => true,
					'field'   => 'checkbox',
					'type'    => 'control',
				),
				'blog_post_share_buttons'       => array(
					'title'   => esc_html__( 'Show social sharing to blog posts', 'transit' ),
					'section' => 'social_links',
					'default' => false,
					'field'   => 'checkbox',
					'type'    => 'control',
				),
				'single_post_share_buttons'     => array(
					'title'   => esc_html__( 'Show social sharing to single blog post', 'transit' ),
					'section' => 'social_links',
					'default' => true,
					'field'   => 'checkbox',
					'type'    => 'control',
				),

				/** `Page Layout` section */
				'page_layout'                   => array(
					'title'    => esc_html__( 'Page Layout', 'transit' ),
					'priority' => 55,
					'type'     => 'section',
					'panel'    => 'general_settings',
				),
				'header_container_type'         => array(
					'title'   => esc_html__( 'Header type', 'transit' ),
					'section' => 'page_layout',
					'default' => 'fullwidth',
					'field'   => 'select',
					'choices' => array(
						'boxed'     => esc_html__( 'Boxed', 'transit' ),
						'fullwidth' => esc_html__( 'Fullwidth', 'transit' ),
					),
					'type'    => 'control',
				),
				'content_container_type'        => array(
					'title'   => esc_html__( 'Content type', 'transit' ),
					'section' => 'page_layout',
					'default' => 'boxed',
					'field'   => 'select',
					'choices' => array(
						'boxed'     => esc_html__( 'Boxed', 'transit' ),
						'fullwidth' => esc_html__( 'Fullwidth', 'transit' ),
					),
					'type'    => 'control',
				),
				'footer_container_type'         => array(
					'title'   => esc_html__( 'Footer type', 'transit' ),
					'section' => 'page_layout',
					'default' => 'boxed',
					'field'   => 'select',
					'choices' => array(
						'boxed'     => esc_html__( 'Boxed', 'transit' ),
						'fullwidth' => esc_html__( 'Fullwidth', 'transit' ),
					),
					'type'    => 'control',
				),
				'container_width'               => array(
					'title'       => esc_html__( 'Container width (px)', 'transit' ),
					'section'     => 'page_layout',
					'default'     => 1200,
					'field'       => 'number',
					'input_attrs' => array(
						'min'  => 960,
						'max'  => 1920,
						'step' => 1,
					),
					'type'        => 'control',
				),
				'sidebar_width'                 => array(
					'title'             => esc_html__( 'Sidebar width', 'transit' ),
					'section'           => 'page_layout',
					'default'           => '1/3',
					'field'             => 'select',
					'choices'           => array(
						'1/3' => '1/3',
						'1/4' => '1/4',
					),
					'sanitize_callback' => 'sanitize_text_field',
					'type'              => 'control',
				),

				/** `Color Scheme` panel */
				'color_scheme'                  => array(
					'title'       => esc_html__( 'Color Scheme', 'transit' ),
					'description' => esc_html__( 'Configure Color Scheme', 'transit' ),
					'priority'    => 40,
					'type'        => 'panel',
				),

				/** `Regular scheme` section */
				'regular_scheme'                => array(
					'title'    => esc_html__( 'Regular scheme', 'transit' ),
					'priority' => 1,
					'panel'    => 'color_scheme',
					'type'     => 'section',
				),
				'regular_accent_color_1'        => array(
					'title'   => esc_html__( 'Accent color (1)', 'transit' ),
					'section' => 'regular_scheme',
					'default' => '#2962ff',
					'field'   => 'hex_color',
					'type'    => 'control',
				),
				'regular_accent_color_2'        => array(
					'title'   => esc_html__( 'Accent color (2)', 'transit' ),
					'section' => 'regular_scheme',
					'default' => '#366bff',
					'field'   => 'hex_color',
					'type'    => 'control',
				),
				'regular_accent_color_3'        => array(
					'title'   => esc_html__( 'Accent color (3)', 'transit' ),
					'section' => 'regular_scheme',
					'default' => '#f3f7fb',
					'field'   => 'hex_color',
					'type'    => 'control',
				),
				'regular_text_color'            => array(
					'title'   => esc_html__( 'Text color', 'transit' ),
					'section' => 'regular_scheme',
					'default' => '#132738',
					'field'   => 'hex_color',
					'type'    => 'control',
				),
				'regular_link_color'            => array(
					'title'   => esc_html__( 'Link color', 'transit' ),
					'section' => 'regular_scheme',
					'default' => '#2962ff',
					'field'   => 'hex_color',
					'type'    => 'control',
				),
				'regular_link_hover_color'      => array(
					'title'   => esc_html__( 'Link hover color', 'transit' ),
					'section' => 'regular_scheme',
					'default' => '#1f1f26',
					'field'   => 'hex_color',
					'type'    => 'control',
				),
				'regular_h1_color'              => array(
					'title'   => esc_html__( 'H1 color', 'transit' ),
					'section' => 'regular_scheme',
					'default' => '#132738',
					'field'   => 'hex_color',
					'type'    => 'control',
				),
				'regular_h2_color'              => array(
					'title'   => esc_html__( 'H2 color', 'transit' ),
					'section' => 'regular_scheme',
					'default' => '#132738',
					'field'   => 'hex_color',
					'type'    => 'control',
				),
				'regular_h3_color'              => array(
					'title'   => esc_html__( 'H3 color', 'transit' ),
					'section' => 'regular_scheme',
					'default' => '#132738',
					'field'   => 'hex_color',
					'type'    => 'control',
				),
				'regular_h4_color'              => array(
					'title'   => esc_html__( 'H4 color', 'transit' ),
					'section' => 'regular_scheme',
					'default' => '#132738',
					'field'   => 'hex_color',
					'type'    => 'control',
				),
				'regular_h5_color'              => array(
					'title'   => esc_html__( 'H5 color', 'transit' ),
					'section' => 'regular_scheme',
					'default' => '#132738',
					'field'   => 'hex_color',
					'type'    => 'control',
				),
				'regular_h6_color'              => array(
					'title'   => esc_html__( 'H6 color', 'transit' ),
					'section' => 'regular_scheme',
					'default' => '#132738',
					'field'   => 'hex_color',
					'type'    => 'control',
				),

				/** `Invert scheme` section */
				'invert_scheme'                 => array(
					'title'    => esc_html__( 'Invert scheme', 'transit' ),
					'priority' => 1,
					'panel'    => 'color_scheme',
					'type'     => 'section',
				),
				'invert_accent_color_1'         => array(
					'title'   => esc_html__( 'Accent color (1)', 'transit' ),
					'section' => 'invert_scheme',
					'default' => '#2962ff',
					'field'   => 'hex_color',
					'type'    => 'control',
				),
				'invert_accent_color_2'         => array(
					'title'   => esc_html__( 'Accent color (2)', 'transit' ),
					'section' => 'invert_scheme',
					'default' => '#7f9ac5',
					'field'   => 'hex_color',
					'type'    => 'control',
				),
				'invert_accent_color_3'         => array(
					'title'   => esc_html__( 'Accent color (3)', 'transit' ),
					'section' => 'invert_scheme',
					'default' => '#091e38',
					'field'   => 'hex_color',
					'type'    => 'control',
				),
				'invert_text_color'             => array(
					'title'   => esc_html__( 'Text color', 'transit' ),
					'section' => 'invert_scheme',
					'default' => '#fff',
					'field'   => 'hex_color',
					'type'    => 'control',
				),
				'invert_link_color'             => array(
					'title'   => esc_html__( 'Link color', 'transit' ),
					'section' => 'invert_scheme',
					'default' => '#fff',
					'field'   => 'hex_color',
					'type'    => 'control',
				),
				'invert_link_hover_color'       => array(
					'title'   => esc_html__( 'Link hover color', 'transit' ),
					'section' => 'invert_scheme',
					'default' => '#2962ff',
					'field'   => 'hex_color',
					'type'    => 'control',
				),
				'invert_h1_color'               => array(
					'title'   => esc_html__( 'H1 color', 'transit' ),
					'section' => 'invert_scheme',
					'default' => '#fff',
					'field'   => 'hex_color',
					'type'    => 'control',
				),
				'invert_h2_color'               => array(
					'title'   => esc_html__( 'H2 color', 'transit' ),
					'section' => 'invert_scheme',
					'default' => '#fff',
					'field'   => 'hex_color',
					'type'    => 'control',
				),
				'invert_h3_color'               => array(
					'title'   => esc_html__( 'H3 color', 'transit' ),
					'section' => 'invert_scheme',
					'default' => '#fff',
					'field'   => 'hex_color',
					'type'    => 'control',
				),
				'invert_h4_color'               => array(
					'title'   => esc_html__( 'H4 color', 'transit' ),
					'section' => 'invert_scheme',
					'default' => '#8cb1de',
					'field'   => 'hex_color',
					'type'    => 'control',
				),
				'invert_h5_color'               => array(
					'title'   => esc_html__( 'H5 color', 'transit' ),
					'section' => 'invert_scheme',
					'default' => '#fff',
					'field'   => 'hex_color',
					'type'    => 'control',
				),
				'invert_h6_color'               => array(
					'title'   => esc_html__( 'H6 color', 'transit' ),
					'section' => 'invert_scheme',
					'default' => '#fff',
					'field'   => 'hex_color',
					'type'    => 'control',
				),

				/** `Typography Settings` panel */
				'typography'                    => array(
					'title'       => esc_html__( 'Typography', 'transit' ),
					'description' => esc_html__( 'Configure typography settings', 'transit' ),
					'priority'    => 45,
					'type'        => 'panel',
				),

				/** `Body text` section */
				'body_typography'               => array(
					'title'    => esc_html__( 'Body text', 'transit' ),
					'priority' => 5,
					'panel'    => 'typography',
					'type'     => 'section',
				),
				'body_font_family'              => array(
					'title'   => esc_html__( 'Font Family', 'transit' ),
					'section' => 'body_typography',
					'default' => 'Lato, sans-serif',
					'field'   => 'fonts',
					'type'    => 'control',
				),
				'body_font_style'               => array(
					'title'   => esc_html__( 'Font Style', 'transit' ),
					'section' => 'body_typography',
					'default' => 'normal',
					'field'   => 'select',
					'choices' => transit_get_font_styles(),
					'type'    => 'control',
				),
				'body_font_weight'              => array(
					'title'   => esc_html__( 'Font Weight', 'transit' ),
					'section' => 'body_typography',
					'default' => '300',
					'field'   => 'select',
					'choices' => transit_get_font_weight(),
					'type'    => 'control',
				),
				'body_font_size'                => array(
					'title'       => esc_html__( 'Font Size, px', 'transit' ),
					'section'     => 'body_typography',
					'default'     => '16',
					'field'       => 'number',
					'input_attrs' => array(
						'min'  => 6,
						'max'  => 50,
						'step' => 1,
					),
					'type'        => 'control',
				),
				'body_line_height'              => array(
					'title'       => esc_html__( 'Line Height', 'transit' ),
					'description' => esc_html__( 'Relative to the font-size of the element', 'transit' ),
					'section'     => 'body_typography',
					'default'     => '1.625',
					'field'       => 'number',
					'input_attrs' => array(
						'min'  => 1.0,
						'max'  => 3.0,
						'step' => 0.1,
					),
					'type'        => 'control',
				),
				'body_letter_spacing'           => array(
					'title'       => esc_html__( 'Letter Spacing, em', 'transit' ),
					'section'     => 'body_typography',
					'default'     => '0.04',
					'field'       => 'number',
					'input_attrs' => array(
						'min'  => -10,
						'max'  => 10,
						'step' => 0.01,
					),
					'type'        => 'control',
				),
				'body_character_set'            => array(
					'title'   => esc_html__( 'Character Set', 'transit' ),
					'section' => 'body_typography',
					'default' => 'latin',
					'field'   => 'select',
					'choices' => transit_get_character_sets(),
					'type'    => 'control',
				),
				'body_text_align'               => array(
					'title'   => esc_html__( 'Text Align', 'transit' ),
					'section' => 'body_typography',
					'default' => 'left',
					'field'   => 'select',
					'choices' => transit_get_text_aligns(),
					'type'    => 'control',
				),

				/** `H1 Heading` section */
				'h1_typography'                 => array(
					'title'    => esc_html__( 'H1 Heading', 'transit' ),
					'priority' => 10,
					'panel'    => 'typography',
					'type'     => 'section',
				),
				'h1_font_family'                => array(
					'title'   => esc_html__( 'Font Family', 'transit' ),
					'section' => 'h1_typography',
					'default' => 'Lato, sans-serif',
					'field'   => 'fonts',
					'type'    => 'control',
				),
				'h1_font_style'                 => array(
					'title'   => esc_html__( 'Font Style', 'transit' ),
					'section' => 'h1_typography',
					'default' => 'normal',
					'field'   => 'select',
					'choices' => transit_get_font_styles(),
					'type'    => 'control',
				),
				'h1_font_weight'                => array(
					'title'   => esc_html__( 'Font Weight', 'transit' ),
					'section' => 'h1_typography',
					'default' => '900',
					'field'   => 'select',
					'choices' => transit_get_font_weight(),
					'type'    => 'control',
				),
				'h1_font_size'                  => array(
					'title'       => esc_html__( 'Font Size, px', 'transit' ),
					'section'     => 'h1_typography',
					'default'     => '70',
					'field'       => 'number',
					'input_attrs' => array(
						'min'  => 10,
						'max'  => 200,
						'step' => 1,
					),
					'type'        => 'control',
				),
				'h1_line_height'                => array(
					'title'       => esc_html__( 'Line Height', 'transit' ),
					'description' => esc_html__( 'Relative to the font-size of the element', 'transit' ),
					'section'     => 'h1_typography',
					'default'     => '1.14',
					'field'       => 'number',
					'input_attrs' => array(
						'min'  => 1.0,
						'max'  => 3.0,
						'step' => 0.1,
					),
					'type'        => 'control',
				),
				'h1_letter_spacing'             => array(
					'title'       => esc_html__( 'Letter Spacing, em', 'transit' ),
					'section'     => 'h1_typography',
					'default'     => '0.04',
					'field'       => 'number',
					'input_attrs' => array(
						'min'  => -10,
						'max'  => 10,
						'step' => 0.01,
					),
					'type'        => 'control',
				),
				'h1_character_set'              => array(
					'title'   => esc_html__( 'Character Set', 'transit' ),
					'section' => 'h1_typography',
					'default' => 'latin',
					'field'   => 'select',
					'choices' => transit_get_character_sets(),
					'type'    => 'control',
				),
				'h1_text_align'                 => array(
					'title'   => esc_html__( 'Text Align', 'transit' ),
					'section' => 'h1_typography',
					'default' => 'inherit',
					'field'   => 'select',
					'choices' => transit_get_text_aligns(),
					'type'    => 'control',
				),

				/** `H2 Heading` section */
				'h2_typography'                 => array(
					'title'    => esc_html__( 'H2 Heading', 'transit' ),
					'priority' => 15,
					'panel'    => 'typography',
					'type'     => 'section',
				),
				'h2_font_family'                => array(
					'title'   => esc_html__( 'Font Family', 'transit' ),
					'section' => 'h2_typography',
					'default' => 'Lato, sans-serif',
					'field'   => 'fonts',
					'type'    => 'control',
				),
				'h2_font_style'                 => array(
					'title'   => esc_html__( 'Font Style', 'transit' ),
					'section' => 'h2_typography',
					'default' => 'normal',
					'field'   => 'select',
					'choices' => transit_get_font_styles(),
					'type'    => 'control',
				),
				'h2_font_weight'                => array(
					'title'   => esc_html__( 'Font Weight', 'transit' ),
					'section' => 'h2_typography',
					'default' => '700',
					'field'   => 'select',
					'choices' => transit_get_font_weight(),
					'type'    => 'control',
				),
				'h2_font_size'                  => array(
					'title'       => esc_html__( 'Font Size, px', 'transit' ),
					'section'     => 'h2_typography',
					'default'     => '60',
					'field'       => 'number',
					'input_attrs' => array(
						'min'  => 10,
						'max'  => 200,
						'step' => 1,
					),
					'type'        => 'control',
				),
				'h2_line_height'                => array(
					'title'       => esc_html__( 'Line Height', 'transit' ),
					'description' => esc_html__( 'Relative to the font-size of the element', 'transit' ),
					'section'     => 'h2_typography',
					'default'     => '1.17',
					'field'       => 'number',
					'input_attrs' => array(
						'min'  => 1.0,
						'max'  => 3.0,
						'step' => 0.1,
					),
					'type'        => 'control',
				),
				'h2_letter_spacing'             => array(
					'title'       => esc_html__( 'Letter Spacing, em', 'transit' ),
					'section'     => 'h2_typography',
					'default'     => '0.04',
					'field'       => 'number',
					'input_attrs' => array(
						'min'  => -10,
						'max'  => 10,
						'step' => 0.01,
					),
					'type'        => 'control',
				),
				'h2_character_set'              => array(
					'title'   => esc_html__( 'Character Set', 'transit' ),
					'section' => 'h2_typography',
					'default' => 'latin',
					'field'   => 'select',
					'choices' => transit_get_character_sets(),
					'type'    => 'control',
				),
				'h2_text_align'                 => array(
					'title'   => esc_html__( 'Text Align', 'transit' ),
					'section' => 'h2_typography',
					'default' => 'inherit',
					'field'   => 'select',
					'choices' => transit_get_text_aligns(),
					'type'    => 'control',
				),

				/** `H3 Heading` section */
				'h3_typography'                 => array(
					'title'    => esc_html__( 'H3 Heading', 'transit' ),
					'priority' => 20,
					'panel'    => 'typography',
					'type'     => 'section',
				),
				'h3_font_family'                => array(
					'title'   => esc_html__( 'Font Family', 'transit' ),
					'section' => 'h3_typography',
					'default' => 'Lato, sans-serif',
					'field'   => 'fonts',
					'type'    => 'control',
				),
				'h3_font_style'                 => array(
					'title'   => esc_html__( 'Font Style', 'transit' ),
					'section' => 'h3_typography',
					'default' => 'normal',
					'field'   => 'select',
					'choices' => transit_get_font_styles(),
					'type'    => 'control',
				),
				'h3_font_weight'                => array(
					'title'   => esc_html__( 'Font Weight', 'transit' ),
					'section' => 'h3_typography',
					'default' => '400',
					'field'   => 'select',
					'choices' => transit_get_font_weight(),
					'type'    => 'control',
				),
				'h3_font_size'                  => array(
					'title'       => esc_html__( 'Font Size, px', 'transit' ),
					'section'     => 'h3_typography',
					'default'     => '45',
					'field'       => 'number',
					'input_attrs' => array(
						'min'  => 10,
						'max'  => 200,
						'step' => 1,
					),
					'type'        => 'control',
				),
				'h3_line_height'                => array(
					'title'       => esc_html__( 'Line Height', 'transit' ),
					'description' => esc_html__( 'Relative to the font-size of the element', 'transit' ),
					'section'     => 'h3_typography',
					'default'     => '1.22',
					'field'       => 'number',
					'input_attrs' => array(
						'min'  => 1.0,
						'max'  => 3.0,
						'step' => 0.1,
					),
					'type'        => 'control',
				),
				'h3_letter_spacing'             => array(
					'title'       => esc_html__( 'Letter Spacing, em', 'transit' ),
					'section'     => 'h3_typography',
					'default'     => '0.04',
					'field'       => 'number',
					'input_attrs' => array(
						'min'  => -10,
						'max'  => 10,
						'step' => 0.01,
					),
					'type'        => 'control',
				),
				'h3_character_set'              => array(
					'title'   => esc_html__( 'Character Set', 'transit' ),
					'section' => 'h3_typography',
					'default' => 'latin',
					'field'   => 'select',
					'choices' => transit_get_character_sets(),
					'type'    => 'control',
				),
				'h3_text_align'                 => array(
					'title'   => esc_html__( 'Text Align', 'transit' ),
					'section' => 'h3_typography',
					'default' => 'inherit',
					'field'   => 'select',
					'choices' => transit_get_text_aligns(),
					'type'    => 'control',
				),

				/** `H4 Heading` section */
				'h4_typography'                 => array(
					'title'    => esc_html__( 'H4 Heading', 'transit' ),
					'priority' => 25,
					'panel'    => 'typography',
					'type'     => 'section',
				),
				'h4_font_family'                => array(
					'title'   => esc_html__( 'Font Family', 'transit' ),
					'section' => 'h4_typography',
					'default' => 'Lato, sans-serif',
					'field'   => 'fonts',
					'type'    => 'control',
				),
				'h4_font_style'                 => array(
					'title'   => esc_html__( 'Font Style', 'transit' ),
					'section' => 'h4_typography',
					'default' => 'normal',
					'field'   => 'select',
					'choices' => transit_get_font_styles(),
					'type'    => 'control',
				),
				'h4_font_weight'                => array(
					'title'   => esc_html__( 'Font Weight', 'transit' ),
					'section' => 'h4_typography',
					'default' => '700',
					'field'   => 'select',
					'choices' => transit_get_font_weight(),
					'type'    => 'control',
				),
				'h4_font_size'                  => array(
					'title'       => esc_html__( 'Font Size, px', 'transit' ),
					'section'     => 'h4_typography',
					'default'     => '32',
					'field'       => 'number',
					'input_attrs' => array(
						'min'  => 10,
						'max'  => 200,
						'step' => 1,
					),
					'type'        => 'control',
				),
				'h4_line_height'                => array(
					'title'       => esc_html__( 'Line Height', 'transit' ),
					'description' => esc_html__( 'Relative to the font-size of the element', 'transit' ),
					'section'     => 'h4_typography',
					'default'     => '1.31',
					'field'       => 'number',
					'input_attrs' => array(
						'min'  => 1.0,
						'max'  => 3.0,
						'step' => 0.1,
					),
					'type'        => 'control',
				),
				'h4_letter_spacing'             => array(
					'title'       => esc_html__( 'Letter Spacing, em', 'transit' ),
					'section'     => 'h4_typography',
					'default'     => '0.04',
					'field'       => 'number',
					'input_attrs' => array(
						'min'  => -10,
						'max'  => 10,
						'step' => 0.01,
					),
					'type'        => 'control',
				),
				'h4_character_set'              => array(
					'title'   => esc_html__( 'Character Set', 'transit' ),
					'section' => 'h4_typography',
					'default' => 'latin',
					'field'   => 'select',
					'choices' => transit_get_character_sets(),
					'type'    => 'control',
				),
				'h4_text_align'                 => array(
					'title'   => esc_html__( 'Text Align', 'transit' ),
					'section' => 'h4_typography',
					'default' => 'inherit',
					'field'   => 'select',
					'choices' => transit_get_text_aligns(),
					'type'    => 'control',
				),

				/** `H5 Heading` section */
				'h5_typography'                 => array(
					'title'    => esc_html__( 'H5 Heading', 'transit' ),
					'priority' => 30,
					'panel'    => 'typography',
					'type'     => 'section',
				),
				'h5_font_family'                => array(
					'title'   => esc_html__( 'Font Family', 'transit' ),
					'section' => 'h5_typography',
					'default' => 'Lato, sans-serif',
					'field'   => 'fonts',
					'type'    => 'control',
				),
				'h5_font_style'                 => array(
					'title'   => esc_html__( 'Font Style', 'transit' ),
					'section' => 'h5_typography',
					'default' => 'normal',
					'field'   => 'select',
					'choices' => transit_get_font_styles(),
					'type'    => 'control',
				),
				'h5_font_weight'                => array(
					'title'   => esc_html__( 'Font Weight', 'transit' ),
					'section' => 'h5_typography',
					'default' => '700',
					'field'   => 'select',
					'choices' => transit_get_font_weight(),
					'type'    => 'control',
				),
				'h5_font_size'                  => array(
					'title'       => esc_html__( 'Font Size, px', 'transit' ),
					'section'     => 'h5_typography',
					'default'     => '32',
					'field'       => 'number',
					'input_attrs' => array(
						'min'  => 10,
						'max'  => 200,
						'step' => 1,
					),
					'type'        => 'control',
				),
				'h5_line_height'                => array(
					'title'       => esc_html__( 'Line Height', 'transit' ),
					'description' => esc_html__( 'Relative to the font-size of the element', 'transit' ),
					'section'     => 'h5_typography',
					'default'     => '1.3125',
					'field'       => 'number',
					'input_attrs' => array(
						'min'  => 1.0,
						'max'  => 3.0,
						'step' => 0.1,
					),
					'type'        => 'control',
				),
				'h5_letter_spacing'             => array(
					'title'       => esc_html__( 'Letter Spacing, em', 'transit' ),
					'section'     => 'h5_typography',
					'default'     => '0.04',
					'field'       => 'number',
					'input_attrs' => array(
						'min'  => -10,
						'max'  => 10,
						'step' => 0.01,
					),
					'type'        => 'control',
				),
				'h5_character_set'              => array(
					'title'   => esc_html__( 'Character Set', 'transit' ),
					'section' => 'h5_typography',
					'default' => 'latin',
					'field'   => 'select',
					'choices' => transit_get_character_sets(),
					'type'    => 'control',
				),
				'h5_text_align'                 => array(
					'title'   => esc_html__( 'Text Align', 'transit' ),
					'section' => 'h5_typography',
					'default' => 'inherit',
					'field'   => 'select',
					'choices' => transit_get_text_aligns(),
					'type'    => 'control',
				),

				/** `H6 Heading` section */
				'h6_typography'                 => array(
					'title'    => esc_html__( 'H6 Heading', 'transit' ),
					'priority' => 35,
					'panel'    => 'typography',
					'type'     => 'section',
				),
				'h6_font_family'                => array(
					'title'   => esc_html__( 'Font Family', 'transit' ),
					'section' => 'h6_typography',
					'default' => 'Lato, sans-serif',
					'field'   => 'fonts',
					'type'    => 'control',
				),
				'h6_font_style'                 => array(
					'title'   => esc_html__( 'Font Style', 'transit' ),
					'section' => 'h6_typography',
					'default' => 'normal',
					'field'   => 'select',
					'choices' => transit_get_font_styles(),
					'type'    => 'control',
				),
				'h6_font_weight'                => array(
					'title'   => esc_html__( 'Font Weight', 'transit' ),
					'section' => 'h6_typography',
					'default' => '700',
					'field'   => 'select',
					'choices' => transit_get_font_weight(),
					'type'    => 'control',
				),
				'h6_font_size'                  => array(
					'title'       => esc_html__( 'Font Size, px', 'transit' ),
					'section'     => 'h6_typography',
					'default'     => '30',
					'field'       => 'number',
					'input_attrs' => array(
						'min'  => 10,
						'max'  => 200,
						'step' => 1,
					),
					'type'        => 'control',
				),
				'h6_line_height'                => array(
					'title'       => esc_html__( 'Line Height', 'transit' ),
					'description' => esc_html__( 'Relative to the font-size of the element', 'transit' ),
					'section'     => 'h6_typography',
					'default'     => '1.33',
					'field'       => 'number',
					'input_attrs' => array(
						'min'  => 1.0,
						'max'  => 3.0,
						'step' => 0.1,
					),
					'type'        => 'control',
				),
				'h6_letter_spacing'             => array(
					'title'       => esc_html__( 'Letter Spacing, em', 'transit' ),
					'section'     => 'h6_typography',
					'default'     => '0.04',
					'field'       => 'number',
					'input_attrs' => array(
						'min'  => -10,
						'max'  => 10,
						'step' => 0.01,
					),
					'type'        => 'control',
				),
				'h6_character_set'              => array(
					'title'   => esc_html__( 'Character Set', 'transit' ),
					'section' => 'h6_typography',
					'default' => 'latin',
					'field'   => 'select',
					'choices' => transit_get_character_sets(),
					'type'    => 'control',
				),
				'h6_text_align'                 => array(
					'title'   => esc_html__( 'Text Align', 'transit' ),
					'section' => 'h6_typography',
					'default' => 'inherit',
					'field'   => 'select',
					'choices' => transit_get_text_aligns(),
					'type'    => 'control',
				),


				/** `Header showcase title` section */
				'showcase_title_typography'     => array(
					'title'    => esc_html__( 'Header showcase title', 'transit' ),
					'priority' => 40,
					'panel'    => 'typography',
					'type'     => 'section',
				),
				'showcase_title_font_family'    => array(
					'title'   => esc_html__( 'Font Family', 'transit' ),
					'section' => 'showcase_title_typography',
					'default' => 'Lato, sans-serif',
					'field'   => 'fonts',
					'type'    => 'control',
				),
				'showcase_title_font_style'     => array(
					'title'   => esc_html__( 'Font Style', 'transit' ),
					'section' => 'showcase_title_typography',
					'default' => 'normal',
					'field'   => 'select',
					'choices' => transit_get_font_styles(),
					'type'    => 'control',
				),
				'showcase_title_font_weight'    => array(
					'title'   => esc_html__( 'Font Weight', 'transit' ),
					'section' => 'showcase_title_typography',
					'default' => '900',
					'field'   => 'select',
					'choices' => transit_get_font_weight(),
					'type'    => 'control',
				),
				'showcase_title_font_size'      => array(
					'title'       => esc_html__( 'Font Size, px', 'transit' ),
					'section'     => 'showcase_title_typography',
					'default'     => '70',
					'field'       => 'number',
					'input_attrs' => array(
						'min'  => 10,
						'max'  => 200,
						'step' => 1,
					),
					'type'        => 'control',
				),
				'showcase_title_line_height'    => array(
					'title'       => esc_html__( 'Line Height', 'transit' ),
					'description' => esc_html__( 'Relative to the font-size of the element', 'transit' ),
					'section'     => 'showcase_title_typography',
					'default'     => '1.14',
					'field'       => 'number',
					'input_attrs' => array(
						'min'  => 1.0,
						'max'  => 3.0,
						'step' => 0.1,
					),
					'type'        => 'control',
				),
				'showcase_title_letter_spacing' => array(
					'title'       => esc_html__( 'Letter Spacing, em', 'transit' ),
					'section'     => 'showcase_title_typography',
					'default'     => '0.04',
					'field'       => 'number',
					'input_attrs' => array(
						'min'  => -10,
						'max'  => 10,
						'step' => 0.01,
					),
					'type'        => 'control',
				),
				'showcase_title_character_set'  => array(
					'title'   => esc_html__( 'Character Set', 'transit' ),
					'section' => 'showcase_title_typography',
					'default' => 'latin',
					'field'   => 'select',
					'choices' => transit_get_character_sets(),
					'type'    => 'control',
				),

				'showcase_title_text_transform' => array(
					'title'   => esc_html__( 'Text transform', 'transit' ),
					'section' => 'showcase_title_typography',
					'default' => 'uppercase',
					'field'   => 'select',
					'choices' => transit_get_text_transform(),
					'type'    => 'control',
				),

				/** `Breadcrumbs` section */
				'breadcrumbs_typography'        => array(
					'title'    => esc_html__( 'Breadcrumbs', 'transit' ),
					'priority' => 45,
					'panel'    => 'typography',
					'type'     => 'section',
				),
				'breadcrumbs_font_family'       => array(
					'title'   => esc_html__( 'Font Family', 'transit' ),
					'section' => 'breadcrumbs_typography',
					'default' => 'Lato, sans-serif',
					'field'   => 'fonts',
					'type'    => 'control',
				),
				'breadcrumbs_font_style'        => array(
					'title'   => esc_html__( 'Font Style', 'transit' ),
					'section' => 'breadcrumbs_typography',
					'default' => 'normal',
					'field'   => 'select',
					'choices' => transit_get_font_styles(),
					'type'    => 'control',
				),
				'breadcrumbs_font_weight'       => array(
					'title'   => esc_html__( 'Font Weight', 'transit' ),
					'section' => 'breadcrumbs_typography',
					'default' => '300',
					'field'   => 'select',
					'choices' => transit_get_font_weight(),
					'type'    => 'control',
				),
				'breadcrumbs_font_size'         => array(
					'title'       => esc_html__( 'Font Size, px', 'transit' ),
					'section'     => 'breadcrumbs_typography',
					'default'     => '14',
					'field'       => 'number',
					'input_attrs' => array(
						'min'  => 6,
						'max'  => 50,
						'step' => 1,
					),
					'type'        => 'control',
				),
				'breadcrumbs_line_height'       => array(
					'title'       => esc_html__( 'Line Height', 'transit' ),
					'description' => esc_html__( 'Relative to the font-size of the element', 'transit' ),
					'section'     => 'breadcrumbs_typography',
					'default'     => '2.7',
					'field'       => 'number',
					'input_attrs' => array(
						'min'  => 1.0,
						'max'  => 3.0,
						'step' => 0.1,
					),
					'type'        => 'control',
				),
				'breadcrumbs_letter_spacing'    => array(
					'title'       => esc_html__( 'Letter Spacing, em', 'transit' ),
					'section'     => 'breadcrumbs_typography',
					'default'     => '0.04',
					'field'       => 'number',
					'input_attrs' => array(
						'min'  => -10,
						'max'  => 10,
						'step' => 0.01,
					),
					'type'        => 'control',
				),
				'breadcrumbs_character_set'     => array(
					'title'   => esc_html__( 'Character Set', 'transit' ),
					'section' => 'breadcrumbs_typography',
					'default' => 'latin',
					'field'   => 'select',
					'choices' => transit_get_character_sets(),
					'type'    => 'control',
				),

				/** `Header` panel */
				'header_options'                => array(
					'title'    => esc_html__( 'Header', 'transit' ),
					'priority' => 60,
					'type'     => 'panel',
				),

				/** `Header styles` section */
				'header_styles'                 => array(
					'title'    => esc_html__( 'Styles', 'transit' ),
					'priority' => 5,
					'panel'    => 'header_options',
					'type'     => 'section',
				),
				'header_bg_color'               => array(
					'title'   => esc_html__( 'Background Color', 'transit' ),
					'section' => 'header_styles',
					'field'   => 'hex_color',
					'default' => '#122134',
					'type'    => 'control',
				),
				'header_bg_image'               => array(
					'title'   => esc_html__( 'Background Image', 'transit' ),
					'section' => 'header_styles',
					'field'   => 'image',
					'default' => '%s/assets/images/header_bg.jpg',
					'type'    => 'control',
				),
				'header_bg_repeat'              => array(
					'title'   => esc_html__( 'Background Repeat', 'transit' ),
					'section' => 'header_styles',
					'default' => 'Tile',
					'field'   => 'select',
					'choices' => array(
						'no-repeat' => esc_html__( 'No Repeat', 'transit' ),
						'repeat'    => esc_html__( 'Tile', 'transit' ),
						'repeat-x'  => esc_html__( 'Tile Horizontally', 'transit' ),
						'repeat-y'  => esc_html__( 'Tile Vertically', 'transit' ),
					),
					'type'    => 'control',
				),
				'header_bg_position_x'          => array(
					'title'   => esc_html__( 'Background Position', 'transit' ),
					'section' => 'header_styles',
					'default' => 'center',
					'field'   => 'select',
					'choices' => array(
						'left'   => esc_html__( 'Left', 'transit' ),
						'center' => esc_html__( 'Center', 'transit' ),
						'right'  => esc_html__( 'Right', 'transit' ),
					),
					'type'    => 'control',
				),
				'header_bg_attachment'          => array(
					'title'   => esc_html__( 'Background Attachment', 'transit' ),
					'section' => 'header_styles',
					'default' => 'scroll',
					'field'   => 'select',
					'choices' => array(
						'scroll' => esc_html__( 'Scroll', 'transit' ),
						'fixed'  => esc_html__( 'Fixed', 'transit' ),
					),
					'type'    => 'control',
				),
				'header_layout_type'            => array(
					'title'   => esc_html__( 'Layout', 'transit' ),
					'section' => 'header_styles',
					'default' => 'minimal',
					'field'   => 'select',
					'choices' => array(
						'minimal'  => esc_html__( 'Style 1', 'transit' ),
						'centered' => esc_html__( 'Style 2', 'transit' ),
						'default'  => esc_html__( 'Style 3', 'transit' ),
					),
					'type'    => 'control',
				),

				/** `Top Panel` section */
				'header_top_panel'              => array(
					'title'    => esc_html__( 'Top Panel', 'transit' ),
					'priority' => 10,
					'panel'    => 'header_options',
					'type'     => 'section',
				),
				'top_panel_text'                => array(
					'title'       => esc_html__( 'Disclaimer Text', 'transit' ),
					'description' => esc_html__( 'HTML formatting support', 'transit' ),
					'section'     => 'header_top_panel',
					'default'     => transit_get_default_top_panel_text(),
					'field'       => 'textarea',
					'type'        => 'control',
				),
				'top_panel_search'              => array(
					'title'   => esc_html__( 'Enable search', 'transit' ),
					'section' => 'header_top_panel',
					'default' => true,
					'field'   => 'checkbox',
					'type'    => 'control',
				),
				'top_panel_bg'                  => array(
					'title'   => esc_html__( 'Background color', 'transit' ),
					'section' => 'header_top_panel',
					'default' => '#f42535',
					'field'   => 'hex_color',
					'type'    => 'control',
				),


				/** `Header Showcase` section */
				'header_showcase_panel'         => array(
					'title'    => esc_html__( 'Showcase Panel', 'transit' ),
					'priority' => 15,
					'panel'    => 'header_options',
					'type'     => 'section',
				),

				'header_showcase_title' => array(
					'title'   => esc_html__( 'Header showcase title', 'transit' ),
					'section' => 'header_showcase_panel',
					'default' => esc_html__( 'We make shipping', 'transit' ) . '<br class=\"veil-lg\">' . esc_html__( 'Big Stuff easy', 'transit' ),
					'field'   => 'text',
					'type'    => 'control',
				),

				'header_showcase_description' => array(
					'title'   => esc_html__( 'Header showcase description', 'transit' ),
					'section' => 'header_showcase_panel',
					'default' => transit_get_default_showcase_description(),
					'field'   => 'textarea',
					'type'    => 'control',
				),

				'header_showcase_btn_text' => array(
					'title'   => esc_html__( 'Header showcase button text(leave empty to hide button)', 'transit' ),
					'section' => 'header_showcase_panel',
					'default' => esc_html__( 'Contact us', 'transit' ),
					'field'   => 'text',
					'type'    => 'control',
				),

				'header_showcase_btn_url' => array(
					'title'   => esc_html__( 'Header showcase button url', 'transit' ),
					'section' => 'header_showcase_panel',
					'default' => '#',
					'field'   => 'text',
					'type'    => 'control',
				),

				'header_showcase_bg_image' => array(
					'title'   => esc_html__( 'Background Image', 'transit' ),
					'section' => 'header_showcase_panel',
					'field'   => 'image',
					'default' => '%s/assets/images/showcase_bg.jpg',
					'type'    => 'control',
				),

				'header_showcase_bg_color' => array(
					'title'   => esc_html__( 'Background Color', 'transit' ),
					'section' => 'header_showcase_panel',
					'field'   => 'hex_color',
					'default' => '#000000',
					'type'    => 'control',
				),

				'header_showcase_bg_repeat' => array(
					'title'   => esc_html__( 'Background Repeat', 'transit' ),
					'section' => 'header_showcase_panel',
					'default' => 'no-repeat',
					'field'   => 'select',
					'choices' => array(
						'no-repeat' => esc_html__( 'No Repeat', 'transit' ),
						'repeat'    => esc_html__( 'Tile', 'transit' ),
						'repeat-x'  => esc_html__( 'Tile Horizontally', 'transit' ),
						'repeat-y'  => esc_html__( 'Tile Vertically', 'transit' ),
					),
					'type'    => 'control',
				),

				'header_showcase_bg_position_x' => array(
					'title'   => esc_html__( 'Background Position', 'transit' ),
					'section' => 'header_showcase_panel',
					'default' => 'center',
					'field'   => 'select',
					'choices' => array(
						'left'   => esc_html__( 'Left', 'transit' ),
						'center' => esc_html__( 'Center', 'transit' ),
						'right'  => esc_html__( 'Right', 'transit' ),
					),
					'type'    => 'control',
				),

				'header_showcase_bg_attachment' => array(
					'title'   => esc_html__( 'Background Attachment', 'transit' ),
					'section' => 'header_showcase_panel',
					'default' => 'scroll',
					'field'   => 'select',
					'choices' => array(
						'scroll' => esc_html__( 'Scroll', 'transit' ),
						'fixed'  => esc_html__( 'Fixed', 'transit' ),
					),
					'type'    => 'control',
				),

				'header_showcase_color_mask' => array(
					'title'   => esc_html__( 'Color Image Mask', 'transit' ),
					'section' => 'header_showcase_panel',
					'field'   => 'hex_color',
					'default' => '#000000',
					'type'    => 'control',
				),

				'header_showcase_opacity_mask' => array(
					'title'       => esc_html__( 'Opacity Image Mask', 'transit' ),
					'section'     => 'header_showcase_panel',
					'default'     => '30',
					'field'       => 'number',
					'input_attrs' => array(
						'min'  => 0,
						'max'  => 100,
						'step' => 1,
					),
					'type'        => 'control',
				),

				'showcase_title_color' => array(
					'title'   => esc_html__( 'Showcase title color', 'transit' ),
					'section' => 'header_showcase_panel',
					'default' => '#fff',
					'field'   => 'hex_color',
					'type'    => 'control',
				),

				'showcase_description_color' => array(
					'title'   => esc_html__( 'Showcase description color', 'transit' ),
					'section' => 'header_showcase_panel',
					'default' => '#ffffff',
					'field'   => 'hex_color',
					'type'    => 'control',
				),

				/** `Main Menu` section */
				'header_main_menu'           => array(
					'title'    => esc_html__( 'Main Menu', 'transit' ),
					'priority' => 15,
					'panel'    => 'header_options',
					'type'     => 'section',
				),
				'header_menu_sticky'         => array(
					'title'   => esc_html__( 'Enable sticky menu', 'transit' ),
					'section' => 'header_main_menu',
					'default' => false,
					'field'   => 'checkbox',
					'type'    => 'control',
				),
				'header_menu_attributes'     => array(
					'title'   => esc_html__( 'Enable title attributes', 'transit' ),
					'section' => 'header_main_menu',
					'default' => false,
					'field'   => 'checkbox',
					'type'    => 'control',
				),
				'hidden_menu_items_title'    => array(
					'title'   => esc_html__( 'Hidden menu items title', 'transit' ),
					'section' => 'header_main_menu',
					'default' => esc_html__( 'More', 'transit' ),
					'field'   => 'input',
					'type'    => 'control',
				),

				/** `Sidebar` section */
				'sidebar_settings'           => array(
					'title'    => esc_html__( 'Sidebar', 'transit' ),
					'priority' => 105,
					'type'     => 'section',
				),
				'sidebar_position'           => array(
					'title'   => esc_html__( 'Sidebar Position', 'transit' ),
					'section' => 'sidebar_settings',
					'default' => 'one-right-sidebar',
					'field'   => 'select',
					'choices' => array(
						'one-left-sidebar'  => esc_html__( 'Sidebar on left side', 'transit' ),
						'one-right-sidebar' => esc_html__( 'Sidebar on right side', 'transit' ),
						'fullwidth'         => esc_html__( 'No sidebars', 'transit' ),
					),
					'type'    => 'control',
				),

				/** `MailChimp` section */
				'mailchimp'                  => array(
					'title'       => esc_html__( 'MailChimp', 'transit' ),
					'description' => esc_html__( 'Setup MailChimp settings for subscribe widget', 'transit' ),
					'priority'    => 109,
					'type'        => 'section',
				),
				'mailchimp_api_key'          => array(
					'title'   => esc_html__( 'MailChimp API key', 'transit' ),
					'section' => 'mailchimp',
					'field'   => 'text',
					'type'    => 'control',
				),
				'mailchimp_list_id'          => array(
					'title'   => esc_html__( 'MailChimp list ID', 'transit' ),
					'section' => 'mailchimp',
					'field'   => 'text',
					'type'    => 'control',
				),

				/** `Ads Management` panel */
				'ads_management'             => array(
					'title'    => esc_html__( 'Ads Management', 'transit' ),
					'priority' => 110,
					'type'     => 'section',
				),
				'ads_header'                 => array(
					'title'             => esc_html__( 'Header', 'transit' ),
					'section'           => 'ads_management',
					'field'             => 'textarea',
					'default'           => '',
					'sanitize_callback' => 'esc_html',
					'type'              => 'control',
				),
				'ads_home_before_loop'       => array(
					'title'             => esc_html__( 'Front Page Before Loop', 'transit' ),
					'section'           => 'ads_management',
					'field'             => 'textarea',
					'default'           => '',
					'sanitize_callback' => 'esc_html',
					'type'              => 'control',
				),
				'ads_post_before_content'    => array(
					'title'             => esc_html__( 'Post Before Content', 'transit' ),
					'section'           => 'ads_management',
					'field'             => 'textarea',
					'default'           => '',
					'sanitize_callback' => 'esc_html',
					'type'              => 'control',
				),
				'ads_post_before_comments'   => array(
					'title'             => esc_html__( 'Post Before Comments', 'transit' ),
					'section'           => 'ads_management',
					'field'             => 'textarea',
					'default'           => '',
					'sanitize_callback' => 'esc_html',
					'type'              => 'control',
				),

				/** `Footer` panel */
				'footer_options'             => array(
					'title'    => esc_html__( 'Footer', 'transit' ),
					'priority' => 110,
					'type'     => 'section',
				),
				'footer_logo_url'            => array(
					'title'   => esc_html__( 'Logo upload', 'transit' ),
					'section' => 'footer_options',
					'field'   => 'image',
					'default' => '%s/assets/images/footer_logo.png',
					'type'    => 'control',
				),
				'footer_copyright'           => array(
					'title'   => esc_html__( 'Copyright text', 'transit' ),
					'section' => 'footer_options',
					'default' => transit_get_default_footer_copyright(),
					'field'   => 'textarea',
					'type'    => 'control',
				),
				'footer_widget_columns'      => array(
					'title'   => esc_html__( 'Widget Area Columns', 'transit' ),
					'section' => 'footer_options',
					'default' => '4',
					'field'   => 'select',
					'choices' => array(
						'1' => '1',
						'2' => '2',
						'3' => '3',
						'4' => '4',
					),
					'type'    => 'control',
				),
				'footer_layout_type'         => array(
					'title'   => esc_html__( 'Layout', 'transit' ),
					'section' => 'footer_options',
					'default' => 'default',
					'field'   => 'select',
					'choices' => array(
						'default'  => esc_html__( 'Style 1', 'transit' ),
						'centered' => esc_html__( 'Style 2', 'transit' ),
						'minimal'  => esc_html__( 'Style 3', 'transit' ),
					),
					'type'    => 'control',
				),
				'footer_widgets_bg'          => array(
					'title'   => esc_html__( 'Footer Widgets Area color', 'transit' ),
					'section' => 'footer_options',
					'default' => '#2f2f35',
					'field'   => 'hex_color',
					'type'    => 'control',
				),
				'footer_bg'                  => array(
					'title'   => esc_html__( 'Footer Background color', 'transit' ),
					'section' => 'footer_options',
					'default' => '#2f2f35',
					'field'   => 'hex_color',
					'type'    => 'control',
				),
				'footer_bg_image'            => array(
					'title'   => esc_html__( 'Background Image', 'transit' ),
					'section' => 'footer_options',
					'default' => '%s/assets/images/footer_bg.jpg',
					'field'   => 'image',
					'type'    => 'control',
				),
				'footer_bg_repeat'           => array(
					'title'   => esc_html__( 'Background Repeat', 'transit' ),
					'section' => 'footer_options',
					'default' => 'repeat',
					'field'   => 'select',
					'choices' => array(
						'no-repeat' => esc_html__( 'No Repeat', 'transit' ),
						'repeat'    => esc_html__( 'Tile', 'transit' ),
						'repeat-x'  => esc_html__( 'Tile Horizontally', 'transit' ),
						'repeat-y'  => esc_html__( 'Tile Vertically', 'transit' ),
					),
					'type'    => 'control',
				),
				'footer_bg_position_x'       => array(
					'title'   => esc_html__( 'Background Position', 'transit' ),
					'section' => 'footer_options',
					'default' => 'center',
					'field'   => 'select',
					'choices' => array(
						'left'   => esc_html__( 'Left', 'transit' ),
						'center' => esc_html__( 'Center', 'transit' ),
						'right'  => esc_html__( 'Right', 'transit' ),
					),
					'type'    => 'control',
				),
				'footer_bg_attachment'       => array(
					'title'   => esc_html__( 'Background Attachment', 'transit' ),
					'section' => 'footer_options',
					'default' => 'scroll',
					'field'   => 'select',
					'choices' => array(
						'scroll' => esc_html__( 'Scroll', 'transit' ),
						'fixed'  => esc_html__( 'Fixed', 'transit' ),
					),
					'type'    => 'control',
				),

				/** `Blog Settings` panel */
				'blog_settings'              => array(
					'title'    => esc_html__( 'Blog Settings', 'transit' ),
					'priority' => 115,
					'type'     => 'panel',
				),

				/** `Blog` section */
				'blog'                       => array(
					'title'           => esc_html__( 'Blog', 'transit' ),
					'panel'           => 'blog_settings',
					'priority'        => 10,
					'type'            => 'section',
					'active_callback' => 'is_home',
				),
				'blog_layout_type'           => array(
					'title'   => esc_html__( 'Layout', 'transit' ),
					'section' => 'blog',
					'default' => 'default',
					'field'   => 'select',
					'choices' => array(
						'default'        => esc_html__( 'Listing', 'transit' ),
						'grid-2-cols'    => esc_html__( 'Grid (2 Columns)', 'transit' ),
						'grid-3-cols'    => esc_html__( 'Grid (3 Columns)', 'transit' ),
						'masonry-2-cols' => esc_html__( 'Masonry (2 Columns)', 'transit' ),
						'masonry-3-cols' => esc_html__( 'Masonry (3 Columns)', 'transit' ),
					),
					'type'    => 'control',
				),
				'blog_sticky_label'          => array(
					'title'       => esc_html__( 'Featured Post Label', 'transit' ),
					'description' => esc_html__( 'Label for sticky post', 'transit' ),
					'section'     => 'blog',
					'default'     => 'icon:material:star_border',
					'field'       => 'text',
					'type'        => 'control',
				),
				'blog_posts_content'         => array(
					'title'   => esc_html__( 'Post content', 'transit' ),
					'section' => 'blog',
					'default' => 'excerpt',
					'field'   => 'select',
					'choices' => array(
						'excerpt' => esc_html__( 'Only excerpt', 'transit' ),
						'full'    => esc_html__( 'Full content', 'transit' ),
					),
					'type'    => 'control',
				),
				'blog_featured_image'        => array(
					'title'   => esc_html__( 'Featured image', 'transit' ),
					'section' => 'blog',
					'default' => 'fullwidth',
					'field'   => 'select',
					'choices' => array(
						'small'     => esc_html__( 'Small', 'transit' ),
						'fullwidth' => esc_html__( 'Fullwidth', 'transit' ),
					),
					'type'    => 'control',
				),
				'blog_read_more_text'        => array(
					'title'   => esc_html__( 'Read More button text', 'transit' ),
					'section' => 'blog',
					'default' => esc_html__( 'More', 'transit' ),
					'field'   => 'text',
					'type'    => 'control',
				),
				'blog_post_author'           => array(
					'title'   => esc_html__( 'Show post author', 'transit' ),
					'section' => 'blog',
					'default' => true,
					'field'   => 'checkbox',
					'type'    => 'control',
				),
				'blog_post_publish_date'     => array(
					'title'   => esc_html__( 'Show publish date', 'transit' ),
					'section' => 'blog',
					'default' => true,
					'field'   => 'checkbox',
					'type'    => 'control',
				),
				'blog_post_categories'       => array(
					'title'   => esc_html__( 'Show categories', 'transit' ),
					'section' => 'blog',
					'default' => true,
					'field'   => 'checkbox',
					'type'    => 'control',
				),
				'blog_post_tags'             => array(
					'title'   => esc_html__( 'Show tags', 'transit' ),
					'section' => 'blog',
					'default' => true,
					'field'   => 'checkbox',
					'type'    => 'control',
				),
				'blog_post_comments'         => array(
					'title'   => esc_html__( 'Show comments', 'transit' ),
					'section' => 'blog',
					'default' => true,
					'field'   => 'checkbox',
					'type'    => 'control',
				),

				/** `Post` section */
				'blog_post'                  => array(
					'title'           => esc_html__( 'Post', 'transit' ),
					'panel'           => 'blog_settings',
					'priority'        => 20,
					'type'            => 'section',
					'active_callback' => 'callback_single',
				),
				'single_post_author'         => array(
					'title'   => esc_html__( 'Show post author', 'transit' ),
					'section' => 'blog_post',
					'default' => true,
					'field'   => 'checkbox',
					'type'    => 'control',
				),
				'single_post_publish_date'   => array(
					'title'   => esc_html__( 'Show publish date', 'transit' ),
					'section' => 'blog_post',
					'default' => true,
					'field'   => 'checkbox',
					'type'    => 'control',
				),
				'single_post_categories'     => array(
					'title'   => esc_html__( 'Show categories', 'transit' ),
					'section' => 'blog_post',
					'default' => true,
					'field'   => 'checkbox',
					'type'    => 'control',
				),
				'single_post_tags'           => array(
					'title'   => esc_html__( 'Show tags', 'transit' ),
					'section' => 'blog_post',
					'default' => true,
					'field'   => 'checkbox',
					'type'    => 'control',
				),
				'single_post_comments'       => array(
					'title'   => esc_html__( 'Show comments', 'transit' ),
					'section' => 'blog_post',
					'default' => true,
					'field'   => 'checkbox',
					'type'    => 'control',
				),
				'single_author_block'        => array(
					'title'   => esc_html__( 'Enable the author block after each post', 'transit' ),
					'section' => 'blog_post',
					'default' => true,
					'field'   => 'checkbox',
					'type'    => 'control',
				),
			),
		) );
	}

	/**
	 * Return true if logo in header has image type. Otherwise - return false.
	 *
	 * @param  object $control
	 *
	 * @return bool
	 */
	function transit_is_header_logo_image( $control ) {

		if ( $control->manager->get_setting( 'header_logo_type' )->value() == 'image' ) {
			return true;
		}

		return false;
	}

	/**
	 * Return true if logo in header has text type. Otherwise - return false.
	 *
	 * @param  object $control
	 *
	 * @return bool
	 */
	function transit_is_header_logo_text( $control ) {

		if ( $control->manager->get_setting( 'header_logo_type' )->value() == 'text' ) {
			return true;
		}

		return false;
	}

// Move native `site_icon` control (based on WordPress core) in custom section.
	add_action( 'customize_register', 'transit_customizer_change_core_controls', 20 );
	function transit_customizer_change_core_controls( $wp_customize ) {
		$wp_customize->get_control( 'site_icon' )->section = 'transit_logo_favicon';
		$wp_customize->get_control( 'background_color' )->label = esc_html__( 'Body Background Color', 'transit' );
	}

////////////////////////////////////
// Typography utility function    //
////////////////////////////////////
	function transit_get_font_styles() {
		return apply_filters( 'transit_get_font_styles', array(
			'normal'  => esc_html__( 'Normal', 'transit' ),
			'italic'  => esc_html__( 'Italic', 'transit' ),
			'oblique' => esc_html__( 'Oblique', 'transit' ),
			'inherit' => esc_html__( 'Inherit', 'transit' ),
		) );
	}

	function transit_get_text_transform() {
		return apply_filters( 'transit_get_text_transform', array(
			'none'       => esc_html__( 'None ', 'transit' ),
			'uppercase'  => esc_html__( 'Uppercase ', 'transit' ),
			'lowercase'  => esc_html__( 'Lowercase', 'transit' ),
			'capitalize' => esc_html__( 'Capitalize', 'transit' ),
		) );
	}


	function transit_get_character_sets() {
		return apply_filters( 'transit_get_character_sets', array(
			'latin'        => esc_html__( 'Latin', 'transit' ),
			'greek'        => esc_html__( 'Greek', 'transit' ),
			'greek-ext'    => esc_html__( 'Greek Extended', 'transit' ),
			'vietnamese'   => esc_html__( 'Vietnamese', 'transit' ),
			'cyrillic-ext' => esc_html__( 'Cyrillic Extended', 'transit' ),
			'latin-ext'    => esc_html__( 'Latin Extended', 'transit' ),
			'cyrillic'     => esc_html__( 'Cyrillic', 'transit' ),
		) );
	}

	function transit_get_text_aligns() {
		return apply_filters( 'transit_get_text_aligns', array(
			'inherit' => esc_html__( 'Inherit', 'transit' ),
			'center'  => esc_html__( 'Center', 'transit' ),
			'justify' => esc_html__( 'Justify', 'transit' ),
			'left'    => esc_html__( 'Left', 'transit' ),
			'right'   => esc_html__( 'Right', 'transit' ),
		) );
	}

	function transit_get_font_weight() {
		return apply_filters( 'transit_get_font_weight', array(
			'100' => '100',
			'200' => '200',
			'300' => '300',
			'400' => '400',
			'500' => '500',
			'600' => '600',
			'700' => '700',
			'800' => '800',
			'900' => '900',
		) );
	}

	/**
	 * Return array of arguments for dynamic CSS module
	 *
	 * @return array
	 */
	function transit_get_dynamic_css_options() {
		return apply_filters( 'transit_get_dynamic_css_options', array(
			'prefix'    => 'transit',
			'type'      => 'theme_mod',
			'single'    => true,
			'css_files' => array(
				TRANSIT_THEME_DIR . '/assets/css/dynamic.css',
				TRANSIT_THEME_DIR . '/assets/css/dynamic/site/elements.css',
				TRANSIT_THEME_DIR . '/assets/css/dynamic/site/header.css',
				TRANSIT_THEME_DIR . '/assets/css/dynamic/site/forms.css',
				TRANSIT_THEME_DIR . '/assets/css/dynamic/site/social.css',
				TRANSIT_THEME_DIR . '/assets/css/dynamic/site/menus.css',
				TRANSIT_THEME_DIR . '/assets/css/dynamic/site/post.css',
				TRANSIT_THEME_DIR . '/assets/css/dynamic/site/navigation.css',
				TRANSIT_THEME_DIR . '/assets/css/dynamic/site/footer.css',
				TRANSIT_THEME_DIR . '/assets/css/dynamic/site/misc.css',
				TRANSIT_THEME_DIR . '/assets/css/dynamic/site/buttons.css',
				TRANSIT_THEME_DIR . '/assets/css/dynamic/widgets/widget-default.css',
				TRANSIT_THEME_DIR . '/assets/css/dynamic/widgets/taxonomy-tiles.css',
				TRANSIT_THEME_DIR . '/assets/css/dynamic/widgets/image-grid.css',
				TRANSIT_THEME_DIR . '/assets/css/dynamic/widgets/carousel.css',
				TRANSIT_THEME_DIR . '/assets/css/dynamic/widgets/smart-slider.css',
				TRANSIT_THEME_DIR . '/assets/css/dynamic/widgets/instagram.css',
				TRANSIT_THEME_DIR . '/assets/css/dynamic/widgets/subscribe.css',
				TRANSIT_THEME_DIR . '/assets/css/dynamic/builder/link-box.css',
				TRANSIT_THEME_DIR . '/assets/css/dynamic/builder/tm_pb_text.css',
				TRANSIT_THEME_DIR . '/assets/css/dynamic/builder/counter.css',
				TRANSIT_THEME_DIR . '/assets/css/dynamic/builder/tm_pb_posts.css',
				TRANSIT_THEME_DIR . '/assets/css/dynamic/builder/tm_pb_slider.css',
				TRANSIT_THEME_DIR . '/assets/css/dynamic/builder/tm_pb_team_member.css', 
				TRANSIT_THEME_DIR . '/assets/css/dynamic/builder/booked.css',
				TRANSIT_THEME_DIR . '/assets/css/dynamic/builder/toggle.css',
			),
			'options'   => array(
				'header_logo_font_style',
				'header_logo_font_weight',
				'header_logo_font_size',
				'header_logo_font_family',

				'body_font_style',
				'body_font_weight',
				'body_font_size',
				'body_line_height',
				'body_font_family',
				'body_letter_spacing',
				'body_text_align',

				'h1_font_style',
				'h1_font_weight',
				'h1_font_size',
				'h1_line_height',
				'h1_font_family',
				'h1_letter_spacing',
				'h1_text_align',

				'h2_font_style',
				'h2_font_weight',
				'h2_font_size',
				'h2_line_height',
				'h2_font_family',
				'h2_letter_spacing',
				'h2_text_align',

				'h3_font_style',
				'h3_font_weight',
				'h3_font_size',
				'h3_line_height',
				'h3_font_family',
				'h3_letter_spacing',
				'h3_text_align',

				'h4_font_style',
				'h4_font_weight',
				'h4_font_size',
				'h4_line_height',
				'h4_font_family',
				'h4_letter_spacing',
				'h4_text_align',

				'h5_font_style',
				'h5_font_weight',
				'h5_font_size',
				'h5_line_height',
				'h5_font_family',
				'h5_letter_spacing',
				'h5_text_align',

				'h6_font_style',
				'h6_font_weight',
				'h6_font_size',
				'h6_line_height',
				'h6_font_family',
				'h6_letter_spacing',
				'h6_text_align',

				'showcase_title_font_style',
				'showcase_title_font_weight',
				'showcase_title_font_size',
				'showcase_title_line_height',
				'showcase_title_font_family',
				'showcase_title_letter_spacing',
				'showcase_title_text_transform',

				'header_showcase_bg_color',
				'header_showcase_bg_repeat',
				'header_showcase_bg_position_x',
				'header_showcase_bg_attachment',
				'header_showcase_color_mask',
				'header_showcase_opacity_mask',
				'showcase_title_color',
				'showcase_description_color',

				'breadcrumbs_font_style',
				'breadcrumbs_font_weight',
				'breadcrumbs_font_size',
				'breadcrumbs_line_height',
				'breadcrumbs_font_family',
				'breadcrumbs_letter_spacing',
				'breadcrumbs_text_align',

				'regular_accent_color_1',
				'regular_accent_color_2',
				'regular_accent_color_3',
				'regular_text_color',
				'regular_link_color',
				'regular_link_hover_color',
				'regular_h1_color',
				'regular_h2_color',
				'regular_h3_color',
				'regular_h4_color',
				'regular_h5_color',
				'regular_h6_color',

				'invert_accent_color_1',
				'invert_accent_color_2',
				'invert_accent_color_3',
				'invert_text_color',
				'invert_link_color',
				'invert_link_hover_color',
				'invert_h1_color',
				'invert_h2_color',
				'invert_h3_color',
				'invert_h4_color',
				'invert_h5_color',
				'invert_h6_color',

				'header_bg_color',
				'header_bg_repeat',
				'header_bg_position_x',
				'header_bg_attachment',

				'top_panel_bg',

				'container_width',

				'footer_widgets_bg',
				'footer_bg',
				'footer_bg_repeat',
				'footer_bg_position_x',
				'footer_bg_attachment',
			),
		) );
	}

	/**
	 * Return array of arguments for Google Font loader module.
	 *
	 * @since  1.0.0
	 * @return array
	 */
	function transit_get_fonts_options() {
		return apply_filters( 'transit_get_fonts_options', array(
			'prefix'  => 'transit',
			'type'    => 'theme_mod',
			'single'  => true,
			'options' => array(
				'body'           => array(
					'family'  => 'body_font_family',
					'style'   => 'body_font_style',
					'weight'  => 'body_font_weight',
					'charset' => 'body_character_set',
				),
				'h1'             => array(
					'family'  => 'h1_font_family',
					'style'   => 'h1_font_style',
					'weight'  => 'h1_font_weight',
					'charset' => 'h1_character_set',
				),
				'h2'             => array(
					'family'  => 'h2_font_family',
					'style'   => 'h2_font_style',
					'weight'  => 'h2_font_weight',
					'charset' => 'h2_character_set',
				),
				'h3'             => array(
					'family'  => 'h3_font_family',
					'style'   => 'h3_font_style',
					'weight'  => 'h3_font_weight',
					'charset' => 'h3_character_set',
				),
				'h4'             => array(
					'family'  => 'h4_font_family',
					'style'   => 'h4_font_style',
					'weight'  => 'h4_font_weight',
					'charset' => 'h4_character_set',
				),
				'h5'             => array(
					'family'  => 'h5_font_family',
					'style'   => 'h5_font_style',
					'weight'  => 'h5_font_weight',
					'charset' => 'h5_character_set',
				),
				'h6'             => array(
					'family'  => 'h6_font_family',
					'style'   => 'h6_font_style',
					'weight'  => 'h6_font_weight',
					'charset' => 'h6_character_set',
				),
				'showcase_title' => array(
					'family'  => 'showcase_title_font_family',
					'style'   => 'showcase_title_font_style',
					'weight'  => 'showcase_title_font_weight',
					'charset' => 'showcase_title_character_set',
				),

				'header_logo' => array(
					'family'  => 'header_logo_font_family',
					'style'   => 'header_logo_font_style',
					'weight'  => 'header_logo_font_weight',
					'charset' => 'header_logo_character_set',
				),
				'breadcrumbs' => array(
					'family'  => 'breadcrumbs_font_family',
					'style'   => 'breadcrumbs_font_style',
					'weight'  => 'breadcrumbs_font_weight',
					'charset' => 'breadcrumbs_character_set',
				),
			),
		) );
	}

	/**
	 * Get default top panel text.
	 *
	 * @since  1.0.0
	 * @return string
	 */
	function transit_get_default_top_panel_text() {
		return sprintf(
			'<div>%1$s</div><div class="mobile-show">%2$s <span class="mobile-hide">%3$s</span>%4$s</div><div>%5$s</div>',
			esc_html__( '24/7 Professional Locksmithing Service ', 'transit' ),
			esc_html__( 'Call Us ', 'transit' ),
			esc_html__( 'Today ', 'transit' ),
			esc_html__( '+1 800 559 6580 ', 'transit' ),
			esc_html__( '22 St. Black Road  Raleigh, PA 34578', 'transit' )
		);
	}

	/**
	 * Get default footer copyright.
	 *
	 * @since  1.0.0
	 * @return string
	 */
	function transit_get_default_footer_copyright() {
		return esc_html__( '&#169; %%year%% %%site-name%% %%privacy-policy%%', 'transit' );
	}

	/**
	 * Get default showcase description.
	 *
	 * @since  1.0.0
	 * @return string
	 */
	function transit_get_default_showcase_description() {
		return esc_html__( 'Join the millions getting bargain deals on shipping cars, furniture, freight, and more...', 'transit' );
	}
