<?php
    /**
     * ReduxFramework Sample Config File
     * For full documentation, please visit: http://docs.reduxframework.com/
     */

    if ( ! class_exists( 'Redux_Framework_sample_config' ) ) {

        class Redux_Framework_sample_config {

            public $args = array();
            public $sections = array();
            public $theme;
            public $ReduxFramework;

            public function __construct() {

                if ( ! class_exists( 'ReduxFramework' ) ) {
                    return;
                }

                // This is needed. Bah WordPress bugs.  ;)
                if ( true == Redux_Helpers::isTheme( __FILE__ ) ) {
                    $this->initSettings();
                } else {
                    //add_action( 'plugins_loaded', array( $this, 'initSettings' ), 10 );
                }

            }

            public function initSettings() {

                // Just for demo purposes. Not needed per say.
                $this->theme = wp_get_theme();

                // Set the default arguments
                $this->setArguments();

                // Set a few help tabs so you can see how it's done
                $this->setHelpTabs();

                // Create the sections and fields
                $this->setSections();

                if ( ! isset( $this->args['opt_name'] ) ) { // No errors please
                    return;
                }

                // If Redux is running as a plugin, this will remove the demo notice and links
                //add_action( 'redux/loaded', array( $this, 'remove_demo' ) );

                // Function to test the compiler hook and demo CSS output.
                // Above 10 is a priority, but 2 in necessary to include the dynamically generated CSS to be sent to the function.
                //add_filter('redux/options/'.$this->args['opt_name'].'/compiler', array( $this, 'compiler_action' ), 10, 3);

                // Change the arguments after they've been declared, but before the panel is created
                add_filter('redux/options/'.$this->args['opt_name'].'/args', array( $this, 'change_arguments' ) );

                // Change the default value of a field after it's been set, but before it's been useds
                //add_filter('redux/options/'.$this->args['opt_name'].'/defaults', array( $this,'change_defaults' ) );

                // Dynamically add a section. Can be also used to modify sections/fields
                //add_filter('redux/options/' . $this->args['opt_name'] . '/sections', array($this, 'dynamic_section'));

                $this->ReduxFramework = new ReduxFramework( $this->sections, $this->args );
            }

            /**
             * This is a test function that will let you see when the compiler hook occurs.
             * It only runs if a field    set with compiler=>true is changed.
             * */
            function compiler_action( $options, $css, $changed_values ) {
                echo '<h1>The compiler hook has run!</h1>';
                echo "<pre>";
                print_r( $changed_values ); // Values that have changed since the last save
                echo "</pre>";
                //print_r($options); //Option values
                //print_r($css); // Compiler selector CSS values  compiler => array( CSS SELECTORS )

                /*
              // Demo of how to use the dynamic CSS and write your own static CSS file
              $filename = dirname(__FILE__) . '/style' . '.css';
              global $wp_filesystem;
              if( empty( $wp_filesystem ) ) {
                require_once( ABSPATH .'/wp-admin/includes/file.php' );
              WP_Filesystem();
              }

              if( $wp_filesystem ) {
                $wp_filesystem->put_contents(
                    $filename,
                    $css,
                    FS_CHMOD_FILE // predefined mode settings for WP files
                );
              }
             */
            }

            /**
             * Custom function for filtering the sections array. Good for child themes to override or add to the sections.
             * Simply include this function in the child themes functions.php file.
             * NOTE: the defined constants for URLs, and directories will NOT be available at this point in a child theme,
             * so you must use get_template_directory_uri() if you want to use any of the built in icons
             * */
            function dynamic_section( $sections ) {
                //$sections = array();
                $sections[] = array(
                    'title'  => __( 'Section via hook', 'redux-framework-demo' ),
                    'desc'   => __( '<p class="description">This is a section created by adding a filter to the sections array. Can be used by child themes to add/remove sections from the options.</p>', 'redux-framework-demo' ),
                    'icon'   => 'el-icon-paper-clip',
                    // Leave this as a blank section, no options just some intro text set above.
                    'fields' => array()
                );

                return $sections;
            }

            /**
             * Filter hook for filtering the args. Good for child themes to override or add to the args array. Can also be used in other functions.
             * */
            function change_arguments( $args ) {
                $args['news_orderby'] = 'newest';

                return $args;
            }

            /**
             * Filter hook for filtering the default value of any given field. Very useful in development mode.
             * */
            function change_defaults( $defaults ) {
                $defaults['str_replace'] = 'Testing filter hook!';

                return $defaults;
            }

            // Remove the demo link and the notice of integrated demo from the redux-framework plugin
            function remove_demo() {

                // Used to hide the demo mode link from the plugin page. Only used when Redux is a plugin.
                if ( class_exists( 'ReduxFrameworkPlugin' ) ) {
                    remove_filter( 'plugin_row_meta', array(
                        ReduxFrameworkPlugin::instance(),
                        'plugin_metalinks'
                    ), null, 2 );

                    // Used to hide the activation notice informing users of the demo panel. Only used when Redux is a plugin.
                    remove_action( 'admin_notices', array( ReduxFrameworkPlugin::instance(), 'admin_notices' ) );
                }
            }

            public function setSections() {

                /**
                 * Used within different fields. Simply examples. Search for ACTUAL DECLARATION for field examples
                 * */
                // Background Patterns Reader
                $sample_patterns_path = ReduxFramework::$_dir . '../sample/patterns/';
                $sample_patterns_url  = ReduxFramework::$_url . '../sample/patterns/';
                $sample_patterns      = array();

                if ( is_dir( $sample_patterns_path ) ) :

                    if ( $sample_patterns_dir = opendir( $sample_patterns_path ) ) :
                        $sample_patterns = array();

                        while ( ( $sample_patterns_file = readdir( $sample_patterns_dir ) ) !== false ) {

                            if ( stristr( $sample_patterns_file, '.png' ) !== false || stristr( $sample_patterns_file, '.jpg' ) !== false ) {
                                $name              = explode( '.', $sample_patterns_file );
                                $name              = str_replace( '.' . end( $name ), '', $sample_patterns_file );
                                $sample_patterns[] = array(
                                    'alt' => $name,
                                    'img' => $sample_patterns_url . $sample_patterns_file
                                );
                            }
                        }
                    endif;
                endif;

                ob_start();

                $ct          = wp_get_theme();
                $this->theme = $ct;
                $item_name   = $this->theme->get( 'Name' );
                $tags        = $this->theme->Tags;
                $screenshot  = $this->theme->get_screenshot();
                $class       = $screenshot ? 'has-screenshot' : '';

                $customize_title = sprintf( __( 'Customize &#8220;%s&#8221;', 'redux-framework-demo' ), $this->theme->display( 'Name' ) );

                ?>
                <div id="current-theme" class="<?php echo esc_attr( $class ); ?>">
                    <?php if ( $screenshot ) : ?>
                        <?php if ( current_user_can( 'edit_theme_options' ) ) : ?>
                            <a href="<?php echo wp_customize_url(); ?>" class="load-customize hide-if-no-customize"
                               title="<?php echo esc_attr( $customize_title ); ?>">
                                <img src="<?php echo esc_url( $screenshot ); ?>"
                                     alt="<?php esc_attr_e( 'Current theme preview', 'redux-framework-demo' ); ?>"/>
                            </a>
                        <?php endif; ?>
                        <img class="hide-if-customize" src="<?php echo esc_url( $screenshot ); ?>"
                             alt="<?php esc_attr_e( 'Current theme preview', 'redux-framework-demo' ); ?>"/>
                    <?php endif; ?>

                    <h4><?php echo esc_attr( $this->theme->display( 'Name' ) ); ?></h4>

                    <div>
                        <ul class="theme-info">
                            <li><?php printf( __( 'By %s', 'redux-framework-demo' ), $this->theme->display( 'Author' ) ); ?></li>
                            <li><?php printf( __( 'Version %s', 'redux-framework-demo' ), $this->theme->display( 'Version' ) ); ?></li>
                            <li><?php echo '<strong>' . __( 'Tags', 'redux-framework-demo' ) . ':</strong> '; ?><?php printf( $this->theme->display( 'Tags' ) ); ?></li>
                        </ul>
                        <p class="theme-description"><?php echo esc_attr( $this->theme->display( 'Description' ) ); ?></p>
                        <?php
                            if ( $this->theme->parent() ) {
                                printf( ' <p class="howto">' . __( 'This <a href="%1$s">child theme</a> requires its parent theme, %2$s.', 'redux-framework-demo' ) . '</p>', __( 'http://codex.wordpress.org/Child_Themes', 'redux-framework-demo' ), $this->theme->parent()->display( 'Name' ) );
                            }
                        ?>

                    </div>
                </div>

                <?php
                $item_info = ob_get_contents();

                ob_end_clean();

                $sampleHTML = '';
                if ( file_exists( dirname( __FILE__ ) . '/info-html.html' ) ) {
                    Redux_Functions::initWpFilesystem();

                    global $wp_filesystem;

                    $sampleHTML = $wp_filesystem->get_contents( dirname( __FILE__ ) . '/info-html.html' );
                }

				// ACTUAL DECLARATION OF SECTIONS
            $this->sections[] = array(
                'title' => __('General', 'gp_lang'),
                'desc' => __( 'General theme options.', 'gp_lang' ),
                'icon' => 'el-icon-cogs',
                'fields' => array(
			
					array(  
						'id' => 'theme_layout',
						'title' => __( 'Theme Layout', 'gp_lang' ),
						'type' => 'image_select',
                        'compiler'  => true,
                        'desc' => __( 'The layout of the whole theme.', 'gp_lang'),
                        'options'   => array(
                            'gp-wide-layout' => array('title' => 'Wide',       'img' => ReduxFramework::$_url . 'assets/img/1col.png'),
                            'gp-boxed-layout' => array('title' => 'Boxed','img' => get_template_directory_uri() . '/lib/images/boxed.png'),
                        ),
						'default' => 'gp-wide-layout',                        
					),

					array(  
						'id' => 'responsive',
						'title' => __( 'Responsive', 'gp_lang' ),
						'desc' => __( 'The theme will respond to the width of the browser window.', 'gp_lang' ),
						'type' => 'button_set',
                        'options'   => array(
                            'gp-responsive' => 'Enabled', 
                            'gp-fixed' => 'Disabled', 
                        ), 
                        'default'   => 'gp-responsive'						
					),
							
					array(  
						'id' => 'retina',
						'title' => __( 'Retina Images', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'Crop images at double the size on retina displays (newer iPhones/iPads, Macbook Pro etc.).', 'gp_lang' ),
						'options' => array(
							'gp-retina' => __( 'Enabled', 'gp_lang' ),
							'gp-no-retina' => __( 'Disabled', 'gp_lang' )
						),
						'default' => 'gp-retina',
					),

					
					array(  
						'id' => 'smooth_scrolling',
						'title' => __( 'Smooth Scrolling', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'Scroll down the page smoothly without incremental stops.', 'gp_lang'),
						'options' => array(
							'gp-smooth-scrolling' => __( 'Enabled', 'gp_lang' ),
							'gp-normal-scrolling' => __( 'Disabled', 'gp_lang' )
						),
						'default' => 'gp-normal-scrolling',
					 ),
					
					array(  
						'id' => 'back_to_top',
						'title' => __( 'Back To Top Button', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'Add a button to the bottom right corner of the page that takes you back to the top of the page.', 'gp_lang'),
						'options' => array(
							'gp-back-to-top' => __( 'Enabled', 'gp_lang' ),
							'gp-no-back-to-top' => __( 'Disabled', 'gp_lang' )
						),
						'default' => 'gp-back-to-top',
					 ),
					 
					array(  
						'id' => 'ajax',
						'title' => __( 'Ajax', 'gp_lang' ),
						'desc' => __( 'Load and filter content dynamically using ajax.', 'gp_lang' ),
						'type' => 'button_set',
						'options'   => array(
							'ajax-loop' => 'Enabled', 
							'standard-loop' => 'Disabled', 
						), 
						'default'   => 'ajax-loop'						
					),

                    array(
                        'id'        => 'lightbox',
                        'type'      => 'radio',
                        'title'     => __( 'Lightbox', 'gp_lang' ) . ' <span style="padding: 1px 5px;color: #C09853;background: #FCF8E3;display: inline;font-weight: bold;border: 1px solid #E7E7E7;border-radius: 3px;font-size: 12px;">' . __( 'NEW', 'gp_lang' ) . '</span>',
                        'subtitle' => __( 'Make sure the images open the media file and not the attachment page.', 'gp_lang' ),
                        'desc' => __( 'Choose how images open in the lightbox (pop-up window).', 'gp_lang' ), 
                        'options'   => array(
                            'group_images' => __( 'All images on page show as gallery within lightbox window', 'gp_lang' ),
                            'separate_images' => __( 'Images are not grouped', 'gp_lang' ),
                            'disabled' => __( 'Disabled', 'gp_lang' ),
                        ),
                        'default' => 'group_images',
                    ),
                    	
					array(  
						'id' => 'rss_button',
						'title' => __( 'RSS Feed Button', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'Add a RSS feed button with the default RSS feed link or enter a custom feed link below.', 'gp_lang' ),
						'options' => array(
							'enabled' => __( 'Enabled', 'gp_lang' ),
							'disabled' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'enabled',
					 ),
	
					array( 
						'id' => 'rss',
						'title' => __( 'RSS URL', 'gp_lang' ),
						'required' => array('rss_button', '=', 'enabled'),
						'type' => 'text',
						'validate' => 'url',
						'default' => '',
					 ),
	
					array( 
						'id' => 'twitter',
						'title' => __( 'Twitter URL', 'gp_lang' ),
						'type' => 'text',
						'validate' => 'url',
						'default' => '',
					 ),
	
					array( 
						'id' => 'facebook',
						'title' => __( 'Facebook URL', 'gp_lang' ),				
						'type' => 'text',
						'validate' => 'url',
						'default' => '',
					 ),

					array( 
						'id' => 'youtube',
						'title' => __( 'YouTube URL', 'gp_lang' ),
						'type' => 'text',
						'validate' => 'url',
						'default' => '',
					 ),
	
					array( 
						'id' => 'googleplus',
						'title' => __( 'Google+ URL', 'gp_lang' ),
						'type' => 'text',
						'validate' => 'url',
						'default' => '',
					 ),
	
					array( 
						'id' => 'linkedin',
						'title' => __( 'LinkedIn URL', 'gp_lang' ),
						'type' => 'text',
						'validate' => 'url',
						'default' => '',
					 ),
			
					array( 
						'id' => 'flickr',
						'title' => __( 'Flickr URL', 'gp_lang' ),
						'type' => 'text',
						'validate' => 'url',
						'default' => '',
					 ),

					array( 
						'id' => 'pinterest',
						'title' => __( 'Pinterest URL', 'gp_lang' ),
						'type' => 'text',
						'validate' => 'url',
						'default' => '',
					 ),
                    			
					array( 
						'id' => 'additional_social_icons',
						'title' => __( 'Additional Social Icons', 'gp_lang' ),
						'subtitle' => __( 'Add additional social icons by adding <strong>&lt;a href=&quot;http://social-link.com&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot; class=&quot;fa fa-tumblr-square&quot;&gt;&lt;/a&gt;</strong>. Replace <strong>fa-tumblr-square</strong> with any of the icon names from <a href="http://fortawesome.github.io/Font-Awesome/cheatsheet/" target="_blank">Font Awesome More</a>.', 'gp_lang' ),
						'type' => 'textarea',
						'default' => '',
					),
	
					array( 
						'id' => 'favicon_ico',
						'title' => __( 'Favicon URL ( .ico )', 'gp_lang' ),
						'compiler' => 'true',
						'desc' => __( 'Favicon image ( .ico, 16x16 or 32x32 )', 'gp_lang' ),
						'type' => 'media',
						'default' => '',
					 ),

					array( 
						'id' => 'favicon_png',
						'title' => __( 'Favicon URL ( .png )', 'gp_lang' ),
						'compiler' => 'true',
						'desc' => __( 'Favicon image ( .png, 16x16 or 32x32 )', 'gp_lang' ),
						'type' => 'media',
						'default' => '',
					 ),
	
					 array( 
						'id' => 'apple_icon',
						'title' => __( 'Apple Icon URL ( .png )', 'gp_lang' ),
						'compiler' => 'true',
						'desc' => __( 'Apple icon image ( .png, 57x57 ), used for display on the Apple iPhone', 'gp_lang' ),
						'type' => 'media',
						'default' => '',
					 ),
	 
			
					array( 
						'id' => 'js_code',
						'type' => 'ace_editor',
						'title' => __('JavaScript Code', 'gp_lang'),
						'subtitle' => __('Paste your JavaScript code here.', 'gp_lang'),
						'desc' => __( 'Scripts that need to be embedded into the theme (e.g. Google Analytics).', 'gp_lang'),
						'mode' => 'javascript',
						'theme' => 'chrome',
						'default' => '',				
					 ),
				
				),
			
			);
				
			$this->sections[] = array(
				'title' => __( 'Header', 'gp_lang' ),
				'desc' => __( 'Options for the header.', 'gp_lang' ),
				'icon' => 'el-icon-website',
				'fields' => array(								 

					array( 
						'id' => 'header_layout',
						'title' => __( 'Layout', 'gp_lang' ),
						'type' => 'radio',
						'desc' => __( 'The layout for the header.', 'gp_lang'),
						'options' => array( 
							'gp-header-standard' => __( 'Standard Header', 'gp_lang' ),
							'gp-header-centered' => __( 'Centered Header', 'gp_lang' ),
						),
						'default' => 'gp-header-standard',
					),

					array(  
						'id' => 'header_overlay',
						'title' => __( 'Header Overlay', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'The main header is placed over the top of the page content.', 'gp_lang'),	
						'options' => array(
							'gp-header-overlay' => __( 'Enabled', 'gp_lang' ),
							'gp-header-no-overlay' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'gp-header-overlay',
					),
										 
					array(  
						'id' => 'fixed_header',
						'title' => __( 'Fixed Header', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'The header stays at the top of the screen as you scroll down the page.', 'gp_lang'),
						'options' => array(
							'gp-fixed-header' => __( 'Enabled', 'gp_lang' ),
							'gp-relative-header' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'gp-fixed-header',
					),

					array(  
						'id' => 'header_resize',
						'title' => __( 'Header Resize Upon Scrolling', 'gp_lang' ),
						'type' => 'button_set',
						'required'  => array( 'fixed_header', '=', 'gp-fixed-header' ),
						'desc' => __( 'The header reduces in size as you scroll down the page.', 'gp_lang' ),
						'options' => array(
							'gp-header-resize' => __( 'Enabled', 'gp_lang' ),
							'gp-header-noresize' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'gp-header-resize',
					),

					array( 
						'id' => 'header_size_reduction',                     
						'type' => 'slider',
						'title' => __( 'Header Size Reduction', 'gp_lang' ),
						'desc' => __( 'The amount to reduce the header by on smaller devices or when scrolling.', 'gp_lang' ),
                        'default'       => 1.5,
                        'min'           => 1,
                        'step'          => .1,
                        'max'           => 5,
                        'resolution'    => 0.1,
                        'display_value' => 'text',
					),
			
					array( 
						'id' => 'logo',
						'title' => __( 'Logo', 'gp_lang' ),						
						'type' => 'media',
						'desc' => __( 'The image that is displayed in the header.', 'gp_lang' ),
						'default'  => array(
							'url' => get_template_directory_uri() . '/lib/images/logo.png',
						),
					 ),

					array(
						'id' => 'logo_dimensions',
						'type' => 'dimensions',
						'units' => false,
						'title' => __('Logo Dimensions', 'gp_lang'),
						'desc' => __( 'The width and height of the logo.', 'gp_lang' ),
						'subtitle' => __('Set to half the original logo dimensions for retina displays.', 'gp_lang'),
                        'default'           => array(
                            'width'     => 140, 
                            'height'    => 45,
                        )
					),
											
					array(
						'id' => 'logo_spacing',
						'type' => 'spacing',
						'output' => array( '#logo' ),
						'mode' => 'margin',
						'units' => 'px',
						'title' => __('Logo Spacing', 'gp_lang'),
						'desc' => __('The spacing around the logo.', 'gp_lang'),
                        'default'       => array(
                            'margin-top'    => '0', 
                            'margin-right'  => '0', 
                            'margin-bottom' => '0', 
                            'margin-left'   => '0',
                        )
					),

					array(
						'id' => 'search',  
						'title' => __( 'Search Box', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'Add a search box to the header.', 'gp_lang' ),
						'options' => array(
							'enabled' => __( 'Enabled', 'gp_lang' ),
							'disabled' => __( 'Disabled', 'gp_lang' )
						),
						'default' => 'enabled',
					 ),
					
					array(  
						'id' => 'top_header',
						'title' => __( 'Top Header', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'Display a small header above the main header.', 'gp_lang'),	
						'options' => array(
							'gp-top-header' => __( 'Enabled', 'gp_lang' ),
							'gp-main-header' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'gp-top-header',
					),

					array(  
						'id' => 'cart',
						'title' => __( 'Dropdown Cart', 'gp_lang' ),
						'desc' => __( 'Add a cart button to the top header to slide the shopping cart up and down.', 'gp_lang' ),
						'required'  => array( 'top_header', '=', 'gp-top-header' ),
						'type' => 'button_set',
						'options' => array(
							'enabled' => __( 'Enabled', 'gp_lang' ),
							'disabled' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'enabled',
	 				),

					array( 	
						'id' => 'login_link',
						'title' => __( 'Login Link', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'Add a login link to the top header.', 'gp_lang' ),
						'required'  => array( 'top_header', '=', 'gp-top-header' ),
						'options' => array(
							'enabled' => __( 'Enabled', 'gp_lang' ),
							'disabled' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'enabled',
					), 

					array( 	
						'id' => 'login_popup_box',
						'title' => __( 'Login Popup Box', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'Load the login form in a popup box.', 'gp_lang' ),
						'required' => array( 'login_link', '=', 'enabled' ),
						'options' => array(
							'enabled' => __( 'Enabled', 'gp_lang' ),
							'disabled' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'enabled',
					), 
										
					array( 	
						'id' => 'custom_login_link',
						'title' => __( 'Custom Login Link', 'gp_lang' ),
						'subtitle' => __( 'The URL of the login page.', 'gp_lang' ),
						'type' => 'text',
						'required' => array( array( 'top_header', '=', 'gp-top-header' ), array( 'login_popup_box', '=', 'disabled' ) ),
						'desc' => __( 'Add a custom login link.', 'gp_lang' ),
						'validate' => 'url',
					), 
															
					array( 	
						'id' => 'register_link',
						'title' => __( 'Register Link', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'Add a register link to the top header.', 'gp_lang' ),
						'required' => array( 'top_header', '=', 'gp-top-header' ),
						'options' => array(
							'enabled' => __( 'Enabled', 'gp_lang' ),
							'disabled' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'enabled',
					),

					array( 	
						'id' => 'register_popup_box',
						'title' => __( 'Register Popup Box', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'Load the register form in a popup box.', 'gp_lang' ),
						'required' => array( 'register_link', '=', 'enabled' ),
						'options' => array(
							'enabled' => __( 'Enabled', 'gp_lang' ),
							'disabled' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'enabled',
					), 
					
					array( 	
						'id' => 'custom_register_link',
						'title' => __( 'Custom Register Link', 'gp_lang' ),
						'subtitle' => __( 'The URL of the registration page.', 'gp_lang' ),
						'type' => 'text',
						'required' => array( array( 'top_header', '=', 'gp-top-header' ), array( 'register_popup_box', '=', 'disabled' ) ),
						'desc' => __( 'Add a custom registration link.', 'gp_lang' ),
						'validate' => 'url',
					),
					
					array( 
						'id' => 'header_ad',
						'title' => __( 'Advertisement', 'gp_lang' ),
						'desc' => __( 'Add your advertisement code to display just below the header.', 'gp_lang' ),
						'type' => 'textarea',
						'default' => '',
					),
															
				),
					
			);

			$this->sections[] = array(
				'title' => __('Footer', 'gp_lang'),
				'desc' => __('Options for the footer.', 'gp_lang'),
				'icon' => 'el-icon-photo',
				'fields' => array(	

					array( 	
						'id' => 'footer_widget_layout',
						'title' => __( 'Footer Widget Layout', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'The layout for the footer widgets.', 'gp_lang' ),
						'options' => array(
							'gp-footer-larger-first-col' => __( 'Larger First Widget Column', 'gp_lang' ),
							'gp-footer-equal-cols' => __( 'Equal Widget Columns', 'gp_lang' ),
						),
						'default' => 'gp-footer-larger-first-col',
					),
						
					array( 
						'id' => 'copyright_text',
						'title' => __( 'Copyright Text', 'gp_lang' ),
						'desc' => __( 'Add copyright text to the footer.', 'gp_lang' ),
						'type' => 'textarea',
						'default' => '',
					),		

					array( 
						'id' => 'footer_ad',
						'title' => __( 'Advertisement', 'gp_lang' ),
						'desc' => __( 'Add your advertisement code to display just above the footer.', 'gp_lang' ),
						'type' => 'textarea',
						'default' => '',
					),	
						
				),
				
			);	

			$this->sections[] = array(
				'title' => __('Posts', 'gp_lang'),
				'desc' => __('Global options for all posts (can be overridden on individual posts).', 'gp_lang'),
				'icon' => 'el-icon-pencil',
				'fields' => array(
					
					array( 
						'id' => 'post_layout',
						'title' => __( 'Page Layout', 'gp_lang' ),					
						'type' => 'image_select',
						'desc' => __( 'The layout of the page.', 'gp_lang' ),
						'options' => array(
                            'gp-left-sidebar' => array('title' => 'Left Sidebar',   'img' => ReduxFramework::$_url . 'assets/img/2cl.png'),
                            'gp-right-sidebar' => array('title' => 'Right Sidebar',  'img' => ReduxFramework::$_url . 'assets/img/2cr.png'),
                            'gp-no-sidebar' => array('title' => 'No Sidebar', 'img' => get_template_directory_uri() . '/lib/images/no-sidebar.png'),
							'gp-fullwidth' => array('title' => 'Fullwidth', 'img' => ReduxFramework::$_url . 'assets/img/1col.png'),
						),	
						'default' => 'gp-right-sidebar',
					),

                    array(
                        'id'      => 'post_sidebar',
                        'type'    => 'select',
                        'required' => array( 'post_layout', '=', array( 'gp-left-sidebar', 'gp-right-sidebar' ) ),
                        'title'   => __( 'Sidebar', 'gp_lang' ),
						'desc' => __( 'The sidebar to display.', 'gp_lang' ),
                        'data'    => 'sidebar',
                        'default' => 'gp-standard-sidebar',
                    ),

					array(  
						'id' => 'post_featured_image',
						'title' => __( 'Featured Image', 'gp_lang' ),
						'desc' => __( 'Display a featured image on the page.', 'gp_lang' ),
						'type' => 'button_set',
						'options' => array(
							'enabled' => __( 'Enabled', 'gp_lang' ),
							'disabled' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'enabled',
					),

					array(
						'id' => 'post_image',
						'type' => 'dimensions',
						'required'  => array( 'post_featured_image', '=', 'enabled' ),
						'units' => false,
						'title' => __( 'Image Dimensions', 'gp_lang' ),
						'subtitle' => __( 'Set height to 0 to have a proportionate height.', 'gp_lang' ),
						'desc' => __( 'The width and height of the featured image.', 'gp_lang' ),
                        'default'           => array(
                            'width'     => 810, 
                            'height'    => 400,
                        ),
					),

					array(
						'id' => 'post_hard_crop',
						'title' => __( 'Hard Crop', 'gp_lang' ),
						'type' => 'button_set',
						'required'  => array( 'post_featured_image', '=', 'enabled' ),
						'desc' => __( 'Images are cropped even if it is smaller than the dimensions you want to crop it to.', 'gp_lang' ),
						'options' => array(
							true => __( 'Enabled', 'gp_lang' ),
							false => __( 'Disabled', 'gp_lang' ),
						),
						'default' => true,
					),
	
					array(
						'id' => 'post_image_alignment',
						'title' => __( 'Image Alignment', 'gp_lang' ),
						'type' => 'select',
						'required'  => array( 'post_featured_image', '=', 'enabled' ),
						'desc' => __( 'Choose how the image aligns with the content.', 'gp_lang' ),
						'options' => array(
							'image-wrap-left' => __( 'Left Wrap', 'gp_lang' ),
							'image-wrap-right' => __( 'Right Wrap', 'gp_lang' ),
							'image-above' => __( 'Above Content', 'gp_lang' ),
							'image-align-left' => __( 'Left Align', 'gp_lang' ),
							'image-align-right' => __( 'Right Align', 'gp_lang' ),
						),
						'default' => 'image-above',
					),	
						
                    array(
                        'id'        => 'post_meta',
                        'type'      => 'checkbox',
                        'title'     => __( 'Post Meta', 'gp_lang' ),
                        'desc' => __( 'Add post meta data to the page.', 'gp_lang' ), 
                        'options'   => array(
                            'author' => __( 'Author Name', 'gp_lang' ), 
                            'date' => __( 'Post Date', 'gp_lang' ), 
                            'comment_count' => __( 'Comment Count', 'gp_lang' ), 
                            'views' => __( 'Views', 'gp_lang' ),
                            'cats' => __( 'Categories', 'gp_lang' ), 
                            'tags' => __( 'Post Tags', 'gp_lang' ), 
                        ),
                        'default'   => array(
                            'author' => '1',
                            'date' => '1',
							'comment_count' => '1',
                            'views' => '1',
                            'cats' => '1',
                            'tags' => '1',
                        )
                    ),
 
 					array( 
						'id' => 'post_share_icons',
						'title' => __( 'Share Icons', 'gp_lang' ),
						'subtitle' => __( 'Get your own share code <a href="https://www.addthis.com/get/sharing?bm=tb15" target="_blank">here</a>.', 'gp_lang' ),
						'desc' => __( 'Add icons so visitors can share this post on FaceBook, Twitter etc.', 'gp_lang' ),
						'type' => 'textarea',
						'default' => ''
					),
					                   
					array(  
						'id' => 'post_author_info',
						'title' => __( 'Author Info Panel', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'Add an author info panel to the page.', 'gp_lang' ),
						'options' => array(
							'enabled' => __( 'Enabled', 'gp_lang' ),
							'disabled' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'enabled',
					),

					array(  
						'id' => 'post_related_items',
						'title' => __( 'Related Items', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'Add a related items section to the page.', 'gp_lang' ), 
						'options' => array(
							'enabled' => __( 'Enabled', 'gp_lang' ),
							'disabled' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'enabled',
					),
						
					array( 
						'id' => 'post_related_items_per_page',
						'title' => __( 'Number Of Related Items', 'gp_lang' ),
						'type' => 'spinner',
						'desc' => __( 'The number of related items to display.', 'gp_lang' ),
						'min' => 1,
						'max' => 10,
						'required'  => array( 'post_related_items', '=', 'enabled' ),
						'default' => 4,
					),

					array(
						'id' => 'post_related_items_image',
						'type' => 'dimensions',
						'required'  => array( 'post_related_items', '=', 'enabled' ),
						'units' => false,
						'title' => __( 'Related Items Image Dimensions', 'gp_lang' ),
						'subtitle' => __( 'Set height to 0 to have a proportionate height.', 'gp_lang' ),
						'desc' => __( 'The width and height of the related images.', 'gp_lang' ),
                        'default'           => array(
                            'width'     => 178, 
                            'height'    => 140,
                        ),
					),	

				),			
			);

			$this->sections[] = array(
				'title' => __('Post Categories', 'gp_lang'),
				'desc' => __( 'Global options for post categories (some options can be overridden on individual pages using the Blog page template).', 'gp_lang' ),
				'subsection' => true,
				'icon' => 'el-icon-folder-open',
				'fields' => array(	

					array( 
						'id' => 'cat_title',
						'title' => __( 'Title Header', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'Add the title header on the page.', 'gp_lang' ),
						'options' => array(
							'gp-large-title' => __( 'Enabled', 'gp_lang' ),
							'gp-no-large-title' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'gp-large-title',
					),
									
					array( 
						'id' => 'cat_layout',
						'title' => __( 'Page Layout', 'gp_lang' ),
						'type' => 'image_select',
						'desc' => __( 'The layout of the page.', 'gp_lang' ),
						'options' => array(
                            'gp-left-sidebar' => array('title' => 'Left Sidebar',   'img' => ReduxFramework::$_url . 'assets/img/2cl.png'),
                            'gp-right-sidebar' => array('title' => 'Right Sidebar',  'img' => ReduxFramework::$_url . 'assets/img/2cr.png'),
                            'gp-no-sidebar' => array('title' => 'No Sidebar', 'img' => get_template_directory_uri() . '/lib/images/no-sidebar.png'),
							'gp-fullwidth' => array('title' => 'Fullwidth', 'img' => ReduxFramework::$_url . 'assets/img/1col.png'),
						),	
						'default' => 'gp-right-sidebar',
					),
 
                    array(
                        'id'      => 'cat_sidebar',
                        'type'    => 'select',
						'required' => array( 'cat_layout', '=', array( 'gp-left-sidebar', 'gp-right-sidebar' ) ),
                        'title'   => __( 'Sidebar', 'gp_lang' ),
						'desc' => __( 'The sidebar to display.', 'gp_lang' ),
                        'data'    => 'sidebar',
                        'default' => 'gp-standard-sidebar',
                    ),
					
					array( 
						'id' => 'cat_format',
						'title' => __( 'Format', 'gp_lang' ) . ' <span style="padding: 1px 5px;color: #C09853;background: #FCF8E3;display: inline;font-weight: bold;border: 1px solid #E7E7E7;border-radius: 3px;font-size: 12px;">' . __( 'NEW', 'gp_lang' ) . '</span>',
						'type' => 'select',
						'desc' => __( 'The format to display the items in.', 'gp_lang' ),
						'options' => array(
							'blog-standard' => __( 'Standard', 'gp_lang' ),
							'blog-columns-1' => __( '1 Column', 'gp_lang' ),
							'blog-columns-2' => __( '2 Columns', 'gp_lang' ),
							'blog-columns-3' => __( '3 Columns', 'gp_lang' ),
							'blog-columns-4' => __( '4 Columns', 'gp_lang' ),
							'blog-columns-5' => __( '5 Columns', 'gp_lang' ),
							'blog-columns-6' => __( '6 Columns', 'gp_lang' ),
							'blog-masonry' => __( 'Masonry', 'gp_lang' ),
						),
						'default' => 'blog-standard',
					),
					
					array( 
						'id' => 'cat_size',
						'title' => __( 'Size', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'The size to display the items at.', 'gp_lang' ),
						'options' => array(
							'blog-standard-size' => __( 'Standard', 'gp_lang' ),
							'blog-small-size' => __( 'Small', 'gp_lang' ),							
							'blog-large-size' => __( 'Large', 'gp_lang' ),
						),
						'default' => 'blog-large-size',
					),

					array(  
						'id' => 'cat_orderby',
						'title' => __( 'Order By', 'gp_lang' ),
						'type' => 'radio',
						'desc' => __( 'The criteria which the items are ordered by.', 'gp_lang' ),
						'options' => array(
							'newest' => __( 'Newest', 'gp_lang' ),
							'oldest' => __( 'Oldest', 'gp_lang' ),
							'title_az' => __( 'Title (A-Z)', 'gp_lang' ),
							'title_za' => __( 'Title (Z-A)', 'gp_lang' ),
							'comment_count' => __( 'Most Comments', 'gp_lang' ),
							'views' => __( 'Most Views', 'gp_lang' ),
							'menu_order' => __( 'Menu Order', 'gp_lang' ) . ' <span style="padding: 1px 5px;color: #C09853;background: #FCF8E3;display: inline;font-weight: bold;border: 1px solid #E7E7E7;border-radius: 3px;font-size: 12px;">' . __( 'NEW', 'gp_lang' ) . '</span>',
							'rand' => __( 'Random', 'gp_lang' ) . ' <span style="padding: 1px 5px;color: #C09853;background: #FCF8E3;display: inline;font-weight: bold;border: 1px solid #E7E7E7;border-radius: 3px;font-size: 12px;">' . __( 'NEW', 'gp_lang' ) . '</span>',
						),
						'default' => 'newest',
					),

					array(  
						'id' => 'cat_date_posted',
						'title' => __( 'Date Posted', 'gp_lang' ) . ' <span style="padding: 1px 5px;color: #C09853;background: #FCF8E3;display: inline;font-weight: bold;border: 1px solid #E7E7E7;border-radius: 3px;font-size: 12px;">' . __( 'NEW', 'gp_lang' ) . '</span>',
						'type' => 'radio',
						'desc' => __( 'The date the items were posted.', 'gp_lang' ),
						'options' => array(
							'all' => __( 'Any date', 'gp_lang' ),
							'year' => __( 'In the last year', 'gp_lang' ),
							'month' => __( 'In the last month', 'gp_lang' ),
							'week' => __( 'In the last week', 'gp_lang' ),
							'day' => __( 'In the last day', 'gp_lang' ),
						),
						'default' => 'all',
					),

					array(  
						'id' => 'cat_date_modified',
						'title' => __( 'Date Modified', 'gp_lang' ) . ' <span style="padding: 1px 5px;color: #C09853;background: #FCF8E3;display: inline;font-weight: bold;border: 1px solid #E7E7E7;border-radius: 3px;font-size: 12px;">' . __( 'NEW', 'gp_lang' ) . '</span>',
						'type' => 'radio',
						'desc' => __( 'The date the items were modified.', 'gp_lang' ),
						'options' => array(
							'all' => __( 'Any date', 'gp_lang' ),
							'year' => __( 'In the last year', 'gp_lang' ),
							'month' => __( 'In the last month', 'gp_lang' ),
							'week' => __( 'In the last week', 'gp_lang' ),
							'day' => __( 'In the last day', 'gp_lang' ),
						),
						'default' => 'all',
					),
						
					array(  
						'id' => 'cat_filter',
						'title' => __( 'Filter', 'gp_lang' ),
						'desc' => __( 'Add a dropdown filter menu to the page.', 'gp_lang' ),
						'type' => 'button_set',
						'options' => array(
							'enabled' => __( 'Enabled', 'gp_lang' ),
							'disabled' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'enabled',
					),
													
                    array(
                        'id'        => 'cat_filter_options',
                        'type'      => 'checkbox',
						'required'  => array( 'cat_filter', '=', 'enabled' ),
                        'title'     => __( 'Filter Options', 'gp_lang' ),
                        'desc' => __( 'Choose what options to display in the dropdown filter menu.', 'gp_lang' ), 
                        'options'   => array(
                            'date' => __( 'Date', 'gp_lang' ),
                            'title' => __( 'Title', 'gp_lang' ),
                            'comment_count' => __( 'Comment Count', 'gp_lang' ),
                            'views' => __( 'Views', 'gp_lang' ),
                            'date_posted' => __( 'Date Posted', 'gp_lang' ) . ' <span style="padding: 1px 5px;color: #C09853;background: #FCF8E3;display: inline;font-weight: bold;border: 1px solid #E7E7E7;border-radius: 3px;font-size: 12px;">' . __( 'NEW', 'gp_lang' ) . '</span>',
                            'date_modified' => __( 'Date Modified', 'gp_lang' ) . ' <span style="padding: 1px 5px;color: #C09853;background: #FCF8E3;display: inline;font-weight: bold;border: 1px solid #E7E7E7;border-radius: 3px;font-size: 12px;">' . __( 'NEW', 'gp_lang' ) . '</span>',
                        ),
                        'default'   => array(
                            'date' => '1',
                            'title' => '1',
                            'comment_count' => '1',
                            'views' => '1',
                            'date_posted' => '1',
                            'date_modified' => '0',
                        ),
                    ),
					
					array(
						'id'       => 'cat_per_page',
						'type'     => 'spinner',
						'title'    => __( 'Items Per Page', 'gp_lang' ),
						'desc' => __( 'The number of items on each page.', 'gp_lang' ),
						'min' => 1,
						'max' => 999999,
						'default' => 12,
					),
					                    								
					array(  
						'id' => 'cat_featured_image',
						'title' => __( 'Featured Image', 'gp_lang' ),
						'desc' => __( 'Display the featured image on the page.', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'Display the featured images.', 'gp_lang' ),
						'options' => array(
							'enabled' => __( 'Enabled', 'gp_lang' ),
							'disabled' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'enabled',
					),

					array(
						'id' => 'cat_image',
						'type' => 'dimensions',
						'required'  => array( 'cat_featured_image', '=', 'enabled' ),
						'units' => false,
						'title' => __( 'Image Dimensions', 'gp_lang' ),
						'desc' => __( 'The width and height of the featured images.', 'gp_lang' ),
						'subtitle' => __( 'Set height to 0 to have a proportionate height.', 'gp_lang' ),
                        'default'           => array(
                            'width'     => 810, 
                            'height'    => 300,
                        ),
					),

					array(
						'id' => 'cat_hard_crop',
						'title' => __( 'Hard Crop', 'gp_lang' ),
						'type' => 'button_set',
						'required'  => array( 'cat_featured_image', '=', 'enabled' ),
						'desc' => __( 'Images are cropped even if it is smaller than the dimensions you want to crop it to.', 'gp_lang' ),
						'options' => array(
							true => __( 'Enabled', 'gp_lang' ),
							false => __( 'Disabled', 'gp_lang' ),
						),
						'default' => true,
					),
	
					array(
						'id' => 'cat_image_alignment',
						'title' => __( 'Image Alignment', 'gp_lang' ),
						'type' => 'select',
						'required'  => array( 'cat_featured_image', '=', 'enabled' ),
						'desc' => __( 'Choose how the images align with the content.', 'gp_lang' ),
						'options' => array(
							'image-wrap-left' => __( 'Left Wrap', 'gp_lang' ),
							'image-wrap-right' => __( 'Right Wrap', 'gp_lang' ),
							'image-above' => __( 'Above Content', 'gp_lang' ),
							'image-align-left' => __( 'Left Align', 'gp_lang' ),
							'image-align-right' => __( 'Right Align', 'gp_lang' ),
						),
						'default' => 'image-above',
					),

					array( 
						'id' => 'cat_title_position',
						'title' => __( 'Title Position', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'The position of the title.', 'gp_lang' ),
						'options' => array(
							'title-next-to-thumbnail' => __( 'Next To Thumbnail', 'gp_lang' ),
							'title-over-thumbnail' => __( 'Over Thumbnail', 'gp_lang' ),
						),
						'default' => 'title-next-to-thumbnail',
					),
			
					array( 
						'id' => 'cat_content_display',
						'title' => __( 'Content Display', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'The amount of content displayed.', 'gp_lang' ),
						'options' => array(
							'excerpt' => __( 'Excerpt', 'gp_lang' ),
							'full_content' => __( 'Full Content', 'gp_lang' ),
						),
						'default' => 'excerpt',
					),
				
					array( 
						'id' => 'cat_excerpt_length',
						'title' => __( 'Excerpt Length', 'gp_lang' ),
						'required'  => array( 'cat_content_display', '=', 'excerpt' ),
						'type' => 'spinner',
						'desc' => __( 'The number of characters in excerpts.', 'gp_lang' ),
						'min' => 0,
						'max' => 999999,
						'default' => '400',
					),

                    array(
                        'id'        => 'cat_meta',
                        'type'      => 'checkbox',
                        'title'     => __( 'Post Meta', 'gp_lang' ),
                        'desc' => __( 'Select the meta data you want to display.', 'gp_lang' ), 
                        'options'   => array(
                            'author' => __( 'Author Name', 'gp_lang' ),
                            'date' => __( 'Post Date', 'gp_lang' ),
                            'comment_count' => __( 'Comment Count', 'gp_lang' ),
                            'views' => __( 'Views', 'gp_lang' ),
                            'cats' => __( 'Categories', 'gp_lang' ),
                            'tags' => __( 'Post Tags', 'gp_lang' ),
                        ),
                        'default'   => array(
                            'author' => '1',
                            'date' => '1', 
							'comment_count' => '1',
                            'views' => '1',
                            'cats' => '0',
                            'tags' => '0',
                        )
                    ),
                    
					array(  
						'id' => 'cat_read_more_link',
						'title' => __( 'Read More Link', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'Add a read more link below the content.', 'gp_lang' ),
						'options' => array(
							'enabled' => __( 'Enabled', 'gp_lang' ),
							'disabled' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'enabled',
					),
	
				),						   

			);

			
			$this->sections[] = array(
				'title' => __('Video Categories', 'gp_lang'),
				'desc' => __( 'Global options for all video categories.', 'gp_lang' ),
				'subsection' => true,
				'icon' => 'el-icon-video',
				'fields' => array(	

                	array(
                        'id'        => 'video_cat_slug',
                        'type'      => 'text',
                        'title'     => __( 'Slug', 'gp_lang' ),
                        'subtitle'  => __( 'After changing the slug, go to', 'gp_lang') . ' <a href="'.admin_url( 'options-permalink.php' ).'">' . __( 'Settings -> Permalinks' ,'gp_lang' ) . '</a> ' . __( 'and click Save Changes.', 'gp_lang' ),
						'desc' => __( 'Custom slug used in the URL for video categories e.g. ', 'gp_lang' ) . 'http://domain.com/<strong>videos</strong>/category-name.',
                        'validate'  => 'str_replace',
                        'str'       => array(
                            'search'        => ' ', 
                            'replacement'   => '-'
                        ),
                        'default'   => 'videos'
                    ),

                	array(
                        'id'        => 'video_cat_prefix_slug',
                        'type'      => 'text',
                        'title'     => __( 'Prefix Category Slugs', 'gp_lang' ),
                        'subtitle'  => __( 'Leave blank to remove the prefix from category slugs.', 'gp_lang' ),
						'desc' => __( 'Prefix video category slugs to avoid conflicts with post, hub and portfolio categories e.g. ', 'gp_lang' ) . 'http://domain.com/videos/<strong>video</strong>-category-name.',
                        'validate'  => 'str_replace',
                        'str'       => array(
                            'search'        => ' ', 
                            'replacement'   => '-'
                        ),
                        'default'   => ''
                    ),

					array( 
						'id' => 'video_cat_title',
						'title' => __( 'Title Header', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'Add the title header on the page.', 'gp_lang' ),
						'options' => array(
							'gp-large-title' => __( 'Enabled', 'gp_lang' ),
							'gp-no-large-title' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'gp-large-title',
					),
					                    
					array( 
						'id' => 'video_cat_layout',
						'title' => __( 'Page Layout', 'gp_lang' ),					
						'type' => 'image_select',
						'desc' => __( 'The layout of the page.', 'gp_lang' ),
						'options' => array(
                            'gp-left-sidebar' => array('title' => 'Left Sidebar',   'img' => ReduxFramework::$_url . 'assets/img/2cl.png'),
                            'gp-right-sidebar' => array('title' => 'Right Sidebar',  'img' => ReduxFramework::$_url . 'assets/img/2cr.png'),
                            'gp-no-sidebar' => array('title' => 'No Sidebar', 'img' => get_template_directory_uri() . '/lib/images/no-sidebar.png'),
							'gp-fullwidth' => array('title' => 'Fullwidth', 'img' => ReduxFramework::$_url . 'assets/img/1col.png'),
						),	
						'default' => 'gp-no-sidebar',
					),

                    array(
                        'id'      => 'video_cat_sidebar',
                        'type'    => 'select',
                        'required' => array( 'video_cat_layout', '=', array( 'gp-left-sidebar', 'gp-right-sidebar' ) ),
                        'title'   => __( 'Sidebar', 'gp_lang' ),
						'desc' => __( 'The sidebar to display.', 'gp_lang' ),
                        'data'    => 'sidebar',
                        'default' => 'gp-standard-sidebar',
                    ),

					array( 
						'id' => 'video_cat_format',
						'title' => __( 'Format', 'gp_lang' ) . ' <span style="padding: 1px 5px;color: #C09853;background: #FCF8E3;display: inline;font-weight: bold;border: 1px solid #E7E7E7;border-radius: 3px;font-size: 12px;">' . __( 'NEW', 'gp_lang' ) . '</span>',
						'type' => 'select',
						'desc' => __( 'The format to display the items in.', 'gp_lang' ),
						'options' => array(
							'blog-standard' => __( 'Standard', 'gp_lang' ),
							'blog-columns-1' => __( '1 Column', 'gp_lang' ),
							'blog-columns-2' => __( '2 Columns', 'gp_lang' ),
							'blog-columns-3' => __( '3 Columns', 'gp_lang' ),
							'blog-columns-4' => __( '4 Columns', 'gp_lang' ),
							'blog-columns-5' => __( '5 Columns', 'gp_lang' ),
							'blog-columns-6' => __( '6 Columns', 'gp_lang' ),
							'blog-masonry' => __( 'Masonry', 'gp_lang' ),
						),
						'default' => 'blog-columns-3',
					),

					array( 
						'id' => 'video_cat_size',
						'title' => __( 'Size', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'The size to display the items at.', 'gp_lang' ),
						'options' => array(
							'blog-standard-size' => __( 'Standard', 'gp_lang' ),
							'blog-small-size' => __( 'Small', 'gp_lang' ),
							'blog-large-size' => __( 'Large', 'gp_lang' ),
						),
						'default' => 'blog-standard-size',
					),

					array(  
						'id' => 'video_cat_orderby',
						'title' => __( 'Order By', 'gp_lang' ),
						'type' => 'radio',
						'desc' => __( 'The criteria which the items are ordered by.', 'gp_lang' ),
						'options' => array(
							'newest' => __( 'Newest', 'gp_lang' ),
							'oldest' => __( 'Oldest', 'gp_lang' ),
							'title_az' => __( 'Title (A-Z)', 'gp_lang' ),
							'title_za' => __( 'Title (Z-A)', 'gp_lang' ),
							'comment_count' => __( 'Most Comments', 'gp_lang' ),
							'views' => __( 'Most Views', 'gp_lang' ),
							'menu_order' => __( 'Menu Order', 'gp_lang' ) . ' <span style="padding: 1px 5px;color: #C09853;background: #FCF8E3;display: inline;font-weight: bold;border: 1px solid #E7E7E7;border-radius: 3px;font-size: 12px;">' . __( 'NEW', 'gp_lang' ) . '</span>',
							'rand' => __( 'Random', 'gp_lang' ) . ' <span style="padding: 1px 5px;color: #C09853;background: #FCF8E3;display: inline;font-weight: bold;border: 1px solid #E7E7E7;border-radius: 3px;font-size: 12px;">' . __( 'NEW', 'gp_lang' ) . '</span>',
						),
						'default' => 'newest',
					),	

					array(  
						'id' => 'video_cat_date_posted',
						'title' => __( 'Date Posted', 'gp_lang' ) . ' <span style="padding: 1px 5px;color: #C09853;background: #FCF8E3;display: inline;font-weight: bold;border: 1px solid #E7E7E7;border-radius: 3px;font-size: 12px;">' . __( 'NEW', 'gp_lang' ) . '</span>',
						'type' => 'radio',
						'desc' => __( 'The date the items were posted.', 'gp_lang' ),
						'options' => array(
							'all' => __( 'Any date', 'gp_lang' ),
							'year' => __( 'In the last year', 'gp_lang' ),
							'month' => __( 'In the last month', 'gp_lang' ),
							'week' => __( 'In the last week', 'gp_lang' ),
							'day' => __( 'In the last day', 'gp_lang' ),
						),
						'default' => 'all',
					),

					array(  
						'id' => 'video_cat_date_modified',
						'title' => __( 'Date Modified', 'gp_lang' ) . ' <span style="padding: 1px 5px;color: #C09853;background: #FCF8E3;display: inline;font-weight: bold;border: 1px solid #E7E7E7;border-radius: 3px;font-size: 12px;">' . __( 'NEW', 'gp_lang' ) . '</span>',
						'type' => 'radio',
						'desc' => __( 'The date the items were modified.', 'gp_lang' ),
						'options' => array(
							'all' => __( 'Any date', 'gp_lang' ),
							'year' => __( 'In the last year', 'gp_lang' ),
							'month' => __( 'In the last month', 'gp_lang' ),
							'week' => __( 'In the last week', 'gp_lang' ),
							'day' => __( 'In the last day', 'gp_lang' ),
						),
						'default' => 'all',
					),
								
					array(  
						'id' => 'video_cat_filter',
						'title' => __( 'Filter', 'gp_lang' ),
						'desc' => __( 'Add a dropdown filter menu to the page.', 'gp_lang' ),
						'type' => 'button_set',
						'options' => array(
							'enabled' => __( 'Enabled', 'gp_lang' ),
							'disabled' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'enabled',
					),

                    array(
                        'id'        => 'video_cat_filter_options',
                        'type'      => 'checkbox',
						'required'  => array( 'video_cat_filter', '=', 'enabled' ),
                        'title'     => __( 'Filter Options', 'gp_lang' ),
                        'desc' => __( 'Choose what options to display in the dropdown filter menu.', 'gp_lang' ), 
                        'options'   => array(
                            'date' => __( 'Date', 'gp_lang' ),
                            'title' => __( 'Title', 'gp_lang' ),
                            'comment_count' => __( 'Comment Count', 'gp_lang' ),
                            'views' => __( 'Views', 'gp_lang' ),
                            'date_posted' => __( 'Date Posted', 'gp_lang' ) . ' <span style="padding: 1px 5px;color: #C09853;background: #FCF8E3;display: inline;font-weight: bold;border: 1px solid #E7E7E7;border-radius: 3px;font-size: 12px;">' . __( 'NEW', 'gp_lang' ) . '</span>',
                            'date_modified' => __( 'Date Modified', 'gp_lang' ) . ' <span style="padding: 1px 5px;color: #C09853;background: #FCF8E3;display: inline;font-weight: bold;border: 1px solid #E7E7E7;border-radius: 3px;font-size: 12px;">' . __( 'NEW', 'gp_lang' ) . '</span>',
                        ),
                        'default'   => array(
                            'date' => '1',
                            'title' => '1',
                            'comment_count' => '1',
                            'views' => '1',
                            'date_posted' => '1',
                            'date_modified' => '0',
                        )
                    ),
                    														
					array(
						'id'       => 'video_cat_per_page',
						'type'     => 'spinner',
						'title'    => __( 'Items Per Page', 'gp_lang' ),
						'desc' => __( 'The number of items on each page.', 'gp_lang' ),
						'min' => 1,
						'max' => 999999,
						'default' => 12,
					),
				
					array(  
						'id' => 'video_cat_featured_image',
						'title' => __( 'Featured Image', 'gp_lang' ),
						'desc' => __( 'Display the featured images.', 'gp_lang' ),
						'type' => 'button_set',
						'options' => array(
							'enabled' => __( 'Enabled', 'gp_lang' ),
							'disabled' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'enabled',
					),

					array(
						'id' => 'video_cat_image',
						'type' => 'dimensions',
						'required'  => array( 'video_cat_featured_image', '=', 'enabled' ),
						'units' => false,
						'title' => __( 'Image Dimensions', 'gp_lang' ),
						'subtitle' => __( 'Set height to 0 to have a proportionate height.', 'gp_lang' ),
						'desc' => __( 'The width and height of the featured images.', 'gp_lang' ),
                        'default'           => array(
                            'width'     => 374, 
                            'height'    => 244,
                        ),
					),

					array(
						'id' => 'video_cat_hard_crop',
						'title' => __( 'Hard Crop', 'gp_lang' ),
						'type' => 'button_set',
						'required'  => array( 'video_cat_featured_image', '=', 'enabled' ),
						'desc' => __( 'Images are cropped even if it is smaller than the dimensions you want to crop it to.', 'gp_lang' ),
						'options' => array(
							true => __( 'Enabled', 'gp_lang' ),
							false => __( 'Disabled', 'gp_lang' ),
						),
						'default' => true,
					),
	
					array(
						'id' => 'video_cat_image_alignment',
						'title' => __( 'Image Alignment', 'gp_lang' ),
						'type' => 'select',
						'required'  => array( 'cat_featured_image', '=', 'enabled' ),
						'desc' => __( 'Choose how the images align with the content.', 'gp_lang' ),
						'options' => array(
							'image-wrap-left' => __( 'Left Wrap', 'gp_lang' ),
							'image-wrap-right' => __( 'Right Wrap', 'gp_lang' ),
							'image-above' => __( 'Above Content', 'gp_lang' ),
							'image-align-left' => __( 'Left Align', 'gp_lang' ),
							'image-align-right' => __( 'Right Align', 'gp_lang' ),
						),
						'default' => 'image-above',
					),
					
					array( 
						'id' => 'video_cat_title_position',
						'title' => __( 'Title Position', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'The position of the title.', 'gp_lang' ),
						'options' => array(
							'title-next-to-thumbnail' => __( 'Next To Thumbnail', 'gp_lang' ),
							'title-over-thumbnail' => __( 'Over Thumbnail', 'gp_lang' ),
						),
						'default' => 'title-next-to-thumbnail',
					),
						
					array( 
						'id' => 'video_cat_content_display',
						'title' => __( 'Content Display', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'The amount of content displayed.', 'gp_lang' ),
						'options' => array(
							'excerpt' => __( 'Excerpt', 'gp_lang' ),
							'full_content' => __( 'Full Content', 'gp_lang' ),
						),
						'default' => 'excerpt',
					),
				
					array( 
						'id' => 'video_cat_excerpt_length',
						'title' => __( 'Excerpt Length', 'gp_lang' ),
						'required'  => array( 'video_cat_content_display', '=', 'excerpt' ),
						'type' => 'spinner',
						'desc' => __( 'The number of characters in excerpts.', 'gp_lang' ),
						'min' => 0,
						'max' => 999999,
						'default' => 150,
					),

                    array(
                        'id'        => 'video_cat_meta',
                        'type'      => 'checkbox',
                        'title'     => __( 'Post Meta', 'gp_lang' ),
                        'desc' => __( 'Select the meta data you want to display.', 'gp_lang' ), 
                        'options'   => array(
                            'author' => __( 'Author Name', 'gp_lang' ),
                            'date' => __( 'Post Date', 'gp_lang' ),
                            'comment_count' => __( 'Comment Count', 'gp_lang' ),
                            'views' => __( 'Views', 'gp_lang' ),
                            'cats' => __( 'Categories', 'gp_lang' ),
                            'tags' => __( 'Post Tags', 'gp_lang' ),
                        ),
                        'default'   => array(
                            'author' => '0',
                            'date' => '1', 
							'comment_count' => '0',
                            'views' => '0',
                            'cats' => '0',
                            'tags' => '0',
                        )
                    ),
                    
					array(  
						'id' => 'video_cat_read_more_link',
						'title' => __( 'Read More Link', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'Add a read more link below the content.', 'gp_lang' ),
						'options' => array(
							'enabled' => __( 'Enabled', 'gp_lang' ),
							'disabled' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'disabled',
					),
					            
                ),                
            );
            
            
			$this->sections[] = array(
				'title' => __('Search/Author Results', 'gp_lang'),
				'desc' => __( 'Global options for search and author results.', 'gp_lang' ),
				'subsection' => true,
				'icon' => 'el-icon-search',
				'fields' => array(	

					array( 
						'id' => 'search_title',
						'title' => __( 'Title Header', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'Add the title header on the page.', 'gp_lang' ),
						'options' => array(
							'gp-large-title' => __( 'Enabled', 'gp_lang' ),
							'gp-no-large-title' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'gp-large-title',
					),

					array(
						'id' => 'search_title_bg', 
						'title' => __( 'Title Header Background', 'gp_lang' ),
						'type'      => 'media',			
						'required' => array( 'search_title', '=', 'gp-large-title' ),
						'desc' => __( 'The background of the title header.', 'gp_lang' ),
						'default' => '',
					),
														
					array( 
						'id' => 'search_layout',
						'title' => __( 'Page Layout', 'gp_lang' ),
						'type' => 'image_select',
						'desc' => __( 'The layout of the page.', 'gp_lang' ),
						'options' => array(
                            'gp-left-sidebar' => array('title' => 'Left Sidebar',   'img' => ReduxFramework::$_url . 'assets/img/2cl.png'),
                            'gp-right-sidebar' => array('title' => 'Right Sidebar',  'img' => ReduxFramework::$_url . 'assets/img/2cr.png'),
                            'gp-no-sidebar' => array('title' => 'No Sidebar', 'img' => get_template_directory_uri() . '/lib/images/no-sidebar.png'),
							'gp-fullwidth' => array('title' => 'Fullwidth', 'img' => ReduxFramework::$_url . 'assets/img/1col.png'),
						),	
						'default' => 'gp-right-sidebar',
					),
 
                    array(
                        'id'      => 'search_sidebar',
                        'type'    => 'select',
						'required' => array( 'search_layout', '=', array( 'gp-left-sidebar', 'gp-right-sidebar' ) ),
                        'title'   => __( 'Sidebar', 'gp_lang' ),
						'desc' => __( 'The sidebar to display.', 'gp_lang' ),
                        'data'    => 'sidebar',
                        'default' => 'gp-standard-sidebar',
                    ),
					
					array( 
						'id' => 'search_format',
						'title' => __( 'Format', 'gp_lang' ) . ' <span style="padding: 1px 5px;color: #C09853;background: #FCF8E3;display: inline;font-weight: bold;border: 1px solid #E7E7E7;border-radius: 3px;font-size: 12px;">' . __( 'NEW', 'gp_lang' ) . '</span>',
						'type' => 'select',
						'desc' => __( 'The format to display the items in.', 'gp_lang' ),
						'options' => array(
							'blog-standard' => __( 'Standard', 'gp_lang' ),
							'blog-columns-1' => __( '1 Column', 'gp_lang' ),
							'blog-columns-2' => __( '2 Columns', 'gp_lang' ),
							'blog-columns-3' => __( '3 Columns', 'gp_lang' ),
							'blog-columns-4' => __( '4 Columns', 'gp_lang' ),
							'blog-columns-5' => __( '5 Columns', 'gp_lang' ),
							'blog-columns-6' => __( '6 Columns', 'gp_lang' ),
							'blog-masonry' => __( 'Masonry', 'gp_lang' ),
						),
						'default' => 'blog-standard',
					),
					
					array( 
						'id' => 'search_size',
						'title' => __( 'Size', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'The size to display the items at.', 'gp_lang' ),
						'options' => array(
							'blog-standard-size' => __( 'Standard', 'gp_lang' ),
							'blog-small-size' => __( 'Small', 'gp_lang' ),							
							'blog-large-size' => __( 'Large', 'gp_lang' ),
						),
						'default' => 'blog-standard-size',
					),

					array(  
						'id' => 'search_orderby',
						'title' => __( 'Order By', 'gp_lang' ),
						'type' => 'radio',
						'desc' => __( 'The criteria which the items are ordered by.', 'gp_lang' ),
						'options' => array(
							'newest' => __( 'Newest', 'gp_lang' ),
							'oldest' => __( 'Oldest', 'gp_lang' ),
							'title_az' => __( 'Title (A-Z)', 'gp_lang' ),
							'title_za' => __( 'Title (Z-A)', 'gp_lang' ),
							'comment_count' => __( 'Most Comments', 'gp_lang' ),
							'views' => __( 'Most Views', 'gp_lang' ),
							'followers' => __( 'Most Followers', 'gp_lang' ),
							'site_rating' => __( 'Top Site Rated', 'gp_lang' ),
							'user_rating' => __( 'Top User Rated', 'gp_lang' ),
							'hub_awards' => __( 'Hub Awards', 'gp_lang' ),
							'menu_order' => __( 'Menu Order', 'gp_lang' ) . ' <span style="padding: 1px 5px;color: #C09853;background: #FCF8E3;display: inline;font-weight: bold;border: 1px solid #E7E7E7;border-radius: 3px;font-size: 12px;">' . __( 'NEW', 'gp_lang' ) . '</span>',
							'rand' => __( 'Random', 'gp_lang' ) . ' <span style="padding: 1px 5px;color: #C09853;background: #FCF8E3;display: inline;font-weight: bold;border: 1px solid #E7E7E7;border-radius: 3px;font-size: 12px;">' . __( 'NEW', 'gp_lang' ) . '</span>',
						),
						'default' => 'newest',
					),

					array(  
						'id' => 'search_date_posted',
						'title' => __( 'Date Posted', 'gp_lang' ) . ' <span style="padding: 1px 5px;color: #C09853;background: #FCF8E3;display: inline;font-weight: bold;border: 1px solid #E7E7E7;border-radius: 3px;font-size: 12px;">' . __( 'NEW', 'gp_lang' ) . '</span>',
						'type' => 'radio',
						'desc' => __( 'The date the items were posted.', 'gp_lang' ),
						'options' => array(
							'all' => __( 'Any date', 'gp_lang' ),
							'year' => __( 'In the last year', 'gp_lang' ),
							'month' => __( 'In the last month', 'gp_lang' ),
							'week' => __( 'In the last week', 'gp_lang' ),
							'day' => __( 'In the last day', 'gp_lang' ),
						),
						'default' => 'all',
					),

					array(  
						'id' => 'search_date_modified',
						'title' => __( 'Date Modified', 'gp_lang' ) . ' <span style="padding: 1px 5px;color: #C09853;background: #FCF8E3;display: inline;font-weight: bold;border: 1px solid #E7E7E7;border-radius: 3px;font-size: 12px;">' . __( 'NEW', 'gp_lang' ) . '</span>',
						'type' => 'radio',
						'desc' => __( 'The date the items were modified.', 'gp_lang' ),
						'options' => array(
							'all' => __( 'Any date', 'gp_lang' ),
							'year' => __( 'In the last year', 'gp_lang' ),
							'month' => __( 'In the last month', 'gp_lang' ),
							'week' => __( 'In the last week', 'gp_lang' ),
							'day' => __( 'In the last day', 'gp_lang' ),
						),
						'default' => 'all',
					),
	
					array(  
						'id' => 'search_filter',
						'title' => __( 'Filter', 'gp_lang' ),
						'desc' => __( 'Add a dropdown filter menu to the page.', 'gp_lang' ),
						'type' => 'button_set',
						'options' => array(
							'enabled' => __( 'Enabled', 'gp_lang' ),
							'disabled' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'enabled',
					),
													
                    array(
                        'id'        => 'search_filter_options',
                        'type'      => 'checkbox',
						'required'  => array( 'search_filter', '=', 'enabled' ),
                        'title'     => __( 'Filter Options', 'gp_lang' ),
                        'desc' => __( 'Choose what options to display in the dropdown filter menu.', 'gp_lang' ), 
                        'options'   => array(
                            'date' => __( 'Date', 'gp_lang' ),
                            'title' => __( 'Title', 'gp_lang' ),
                            'comment_count' => __( 'Comment Count', 'gp_lang' ),
                            'views' => __( 'Views', 'gp_lang' ),
							'followers' => __( 'Followers', 'gp_lang' ),
                            'site_rating' => __( 'Site Rating', 'gp_lang' ),
                            'user_rating' => __( 'User Rating', 'gp_lang' ),
                            'hub_awards' => __( 'Hub Awards', 'gp_lang' ),
                            'date_posted' => __( 'Date Posted', 'gp_lang' ) . ' <span style="padding: 1px 5px;color: #C09853;background: #FCF8E3;display: inline;font-weight: bold;border: 1px solid #E7E7E7;border-radius: 3px;font-size: 12px;">' . __( 'NEW', 'gp_lang' ) . '</span>',
                            'date_modified' => __( 'Date Modified', 'gp_lang' ) . ' <span style="padding: 1px 5px;color: #C09853;background: #FCF8E3;display: inline;font-weight: bold;border: 1px solid #E7E7E7;border-radius: 3px;font-size: 12px;">' . __( 'NEW', 'gp_lang' ) . '</span>',
                        ),
                        'default'   => array(
                            'date' => '1',
                            'title' => '1',
                            'site_rating' => '1',
                            'user_rating' => '1',
                            'comment_count' => '1',
                            'views' => '1',
                            'followers' => '1',
                            'hub_awards' => '1',
                            'date_posted' => '1',
                            'date_modified' => '0',
                        )
                    ),
					
					array(
						'id'       => 'search_per_page',
						'type'     => 'spinner',
						'title'    => __( 'Items Per Page', 'gp_lang' ),
						'desc' => __( 'The number of items on each page.', 'gp_lang' ),
						'min' => 1,
						'max' => 999999,
						'default' => 12,
					),
					                    								
					array(  
						'id' => 'search_featured_image',
						'title' => __( 'Featured Image', 'gp_lang' ),
						'desc' => __( 'Display the featured image on the page.', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'Display the featured images.', 'gp_lang' ),
						'options' => array(
							'enabled' => __( 'Enabled', 'gp_lang' ),
							'disabled' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'enabled',
					),

					array(
						'id' => 'search_image',
						'type' => 'dimensions',
						'required'  => array( 'search_featured_image', '=', 'enabled' ),
						'units' => false,
						'title' => __( 'Image Dimensions', 'gp_lang' ),
						'desc' => __( 'The width and height of the featured images.', 'gp_lang' ),
						'subtitle' => __( 'Set height to 0 to have a proportionate height.', 'gp_lang' ),
                        'default'           => array(
                            'width'     => 120, 
                            'height'    => 120,
                        ),
					),

					array(
						'id' => 'search_hard_crop',
						'title' => __( 'Hard Crop', 'gp_lang' ),
						'type' => 'button_set',
						'required'  => array( 'search_featured_image', '=', 'enabled' ),
						'desc' => __( 'Images are cropped even if it is smaller than the dimensions you want to crop it to.', 'gp_lang' ),
						'options' => array(
							true => __( 'Enabled', 'gp_lang' ),
							false => __( 'Disabled', 'gp_lang' ),
						),
						'default' => true,
					),
	
					array(
						'id' => 'search_image_alignment',
						'title' => __( 'Image Alignment', 'gp_lang' ),
						'type' => 'select',
						'required'  => array( 'search_featured_image', '=', 'enabled' ),
						'desc' => __( 'Choose how the images align with the content.', 'gp_lang' ),
						'options' => array(
							'image-wrap-left' => __( 'Left Wrap', 'gp_lang' ),
							'image-wrap-right' => __( 'Right Wrap', 'gp_lang' ),
							'image-above' => __( 'Above Content', 'gp_lang' ),
							'image-align-left' => __( 'Left Align', 'gp_lang' ),
							'image-align-right' => __( 'Right Align', 'gp_lang' ),
						),
						'default' => 'image-align-left',
					),

					array( 
						'id' => 'search_title_position',
						'title' => __( 'Title Position', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'The position of the title.', 'gp_lang' ),
						'options' => array(
							'title-next-to-thumbnail' => __( 'Next To Thumbnail', 'gp_lang' ),
							'title-over-thumbnail' => __( 'Over Thumbnail', 'gp_lang' ),
						),
						'default' => 'title-next-to-thumbnail',
					),
			
					array( 
						'id' => 'search_content_display',
						'title' => __( 'Content Display', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'The amount of content displayed.', 'gp_lang' ),
						'options' => array(
							'excerpt' => __( 'Excerpt', 'gp_lang' ),
							'full_content' => __( 'Full Content', 'gp_lang' ),
						),
						'default' => 'excerpt',
					),
				
					array( 
						'id' => 'search_excerpt_length',
						'title' => __( 'Excerpt Length', 'gp_lang' ),
						'required'  => array( 'search_content_display', '=', 'excerpt' ),
						'type' => 'spinner',
						'desc' => __( 'The number of characters in excerpts.', 'gp_lang' ),
						'min' => 0,
						'max' => 999999,
						'default' => '400',
					),

                    array(
                        'id'        => 'search_meta',
                        'type'      => 'checkbox',
                        'title'     => __( 'Post Meta', 'gp_lang' ),
                        'desc' => __( 'Select the meta data you want to display.', 'gp_lang' ), 
                        'options'   => array(
                            'author' => __( 'Author Name', 'gp_lang' ),
                            'date' => __( 'Post Date', 'gp_lang' ),
                            'comment_count' => __( 'Comment Count', 'gp_lang' ),
                            'views' => __( 'Views', 'gp_lang' ),
                            'followers' => __( 'Followers', 'gp_lang' ) . ' <span style="padding: 1px 5px;color: #C09853;background: #FCF8E3;display: inline;font-weight: bold;border: 1px solid #E7E7E7;border-radius: 3px;font-size: 12px;">' . __( 'NEW', 'gp_lang' ) . '</span>',
                            'cats' => __( 'Categories', 'gp_lang' ),
                            'tags' => __( 'Post Tags', 'gp_lang' ),                       
                            'hub_cats' => __( 'Hub Categories', 'gp_lang' ),
							'hub_fields' => __( 'Hub Fields', 'gp_lang' ),
							'hub_award' => __( 'Hub Award', 'gp_lang' ),
                        ),
                        'default'   => array(
                            'author' => '1',
                            'date' => '1', 
							'comment_count' => '1',
                            'views' => '1',
                            'followers' => '0',
                            'cats' => '0',
                            'tags' => '0',    
                            'hub_cats' => '1',
							'hub_fields' => '1',
							'hub_award' => '1',
                        )
                    ),
 
 					array(
						'id'       => 'search_cats',
						'type'     => 'select',
						'multi' => true,
						'title'    => __( 'Hub Categories', 'gp_lang' ),
						'data' => 'terms',
						'args' => array( 'taxonomies' => 'gp_hubs' ),
						'desc' => __( 'Select the hub categories you want to display.', 'gp_lang' ),
						'default' => '',
					),
			
					array(
						'id'       => 'search_fields',
						'type'     => 'select',
						'multi' => true,
						'title'    => __( 'Hub Fields', 'gp_lang' ),
						'data' => 'taxonomies',
						'args' => array( 'object_type' => array( 'page' ) ),
						'desc' => __( 'Select the hub fields you want to display.', 'gp_lang' ),
					),											

					array(
						'id'        => 'search_display_rating',
						'type'      => 'checkbox',
						'title'     => __( 'Ratings', 'gp_lang' ),
						'desc' => __( 'Select the ratings you want to display.', 'gp_lang' ), 
						'options'   => array(
							'site_rating' => __( 'Site Rating', 'gp_lang' ),
							'user_rating' => __( 'User Rating', 'gp_lang' ),
						),
						'default'   => array(
							'site_rating' => '1',
							'user_rating' => '1',
						)
					),
					                   
					array(  
						'id' => 'search_read_more_link',
						'title' => __( 'Read More Link', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'Add a read more link below the content.', 'gp_lang' ),
						'options' => array(
							'enabled' => __( 'Enabled', 'gp_lang' ),
							'disabled' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'enabled',
					),
	
				),						   

			);

												
			$this->sections[] = array(
				'title' => __('Pages', 'gp_lang'),
				'desc' => __('Global options for all pages (some options can be overridden on individual pages).', 'gp_lang'),
				'icon' => 'el-icon-file',
				'fields' => array(

					array( 
						'id' => 'page_title',
						'title' => __( 'Title Header', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'Add the title header on the page.', 'gp_lang' ),
						'options' => array(
							'gp-large-title' => __( 'Enabled', 'gp_lang' ),
							'gp-no-large-title' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'gp-large-title',
					),
									
					array( 
						'id' => 'page_layout',
						'title' => __( 'Page Layout', 'gp_lang' ),					
						'type' => 'image_select',
						'desc' => __( 'The layout of the page.', 'gp_lang' ),
						'options' => array(
							'gp-left-sidebar' => array('title' => 'Left Sidebar',   'img' => ReduxFramework::$_url . 'assets/img/2cl.png'),
							'gp-right-sidebar' => array('title' => 'Right Sidebar',  'img' => ReduxFramework::$_url . 'assets/img/2cr.png'),
							'gp-no-sidebar' => array('title' => 'No Sidebar', 'img' => get_template_directory_uri() . '/lib/images/no-sidebar.png'),
							'gp-fullwidth' => array('title' => 'Fullwidth', 'img' => ReduxFramework::$_url . 'assets/img/1col.png'),
						),	
						'default' => 'gp-right-sidebar',
					),

                    array(
                        'id'      => 'page_sidebar',
                        'type'    => 'select',
                        'required' => array( 'page_layout', '=', array( 'gp-left-sidebar', 'gp-right-sidebar' ) ),
                        'title'   => __( 'Sidebar', 'gp_lang' ),
						'desc' => __( 'The sidebar to display.', 'gp_lang' ),
                        'data'    => 'sidebar',
                        'default' => 'gp-standard-sidebar',
                    ),

					array(  
						'id' => 'page_featured_image',
						'title' => __( 'Featured Image', 'gp_lang' ),
						'desc' => __( 'Display the featured image on the page.', 'gp_lang' ),
						'type' => 'button_set',
						'options' => array(
							'enabled' => __( 'Enabled', 'gp_lang' ),
							'disabled' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'enabled',
					),

					array(
						'id' => 'page_image',
						'type' => 'dimensions',
						//'required'  => array( 'page_featured_image', '=', 'enabled' ),
						'units' => false,
						'title' => __( 'Image Dimensions', 'gp_lang' ),
						'subtitle' => __( 'Set height to 0 to have a proportionate height.', 'gp_lang' ),
						'desc' => __( 'The width and height of the featured image.', 'gp_lang' ),
                        'default'           => array(
                            'width'     => 810, 
                            'height'    => 400,
                        ),
					),

					array(
						'id' => 'page_hard_crop',
						'title' => __( 'Hard Crop', 'gp_lang' ),
						'type' => 'button_set',
						//'required'  => array( 'page_featured_image', '=', 'enabled' ),
						'desc' => __( 'Images are cropped even if it is smaller than the dimensions you want to crop it to.', 'gp_lang' ),
						'options' => array(
							true => __( 'Enabled', 'gp_lang' ),
							false => __( 'Disabled', 'gp_lang' ),
						),
						'default' => true,
					),
	
					array(
						'id' => 'page_image_alignment',
						'title' => __( 'Image Alignment', 'gp_lang' ),
						'type' => 'select',
						//'required'  => array( 'page_featured_image', '=', 'enabled' ),
						'desc' => __( 'Choose how the image aligns with the content.', 'gp_lang' ),
						'options' => array(
							'image-wrap-left' => __( 'Left Wrap', 'gp_lang' ),
							'image-wrap-right' => __( 'Right Wrap', 'gp_lang' ),
							'image-above' => __( 'Above Content', 'gp_lang' ),
							'image-align-left' => __( 'Left Align', 'gp_lang' ),
							'image-align-right' => __( 'Right Align', 'gp_lang' ),
						),
						'default' => 'image-above',
					),
	
					array(  
						'id' => 'page_author_info',
						'title' => __( 'Author Info Panel', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'Add an author info panel to the page.', 'gp_lang' ),
						'options' => array(
							'enabled' => __( 'Enabled', 'gp_lang' ),
							'disabled' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'disabled',
					),
	
				),

			);
	

			$this->sections[] = array(
				'title' => __('Hubs', 'gp_lang'),
				'desc' => __('Global options for all hubs (some options can be overridden on individual hubs).', 'gp_lang'),
				'icon' => 'el-icon-globe',
				'fields' => array(	
				
					array( 
						'id' => 'hub_title',
						'title' => __( 'Title Header', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'Add the title header on the page.', 'gp_lang' ),
						'options' => array(
							'gp-large-title' => __( 'Enabled', 'gp_lang' ),
							'gp-no-large-title' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'gp-large-title',
					),
													
					array( 
						'id' => 'hub_layout',
						'title' => __( 'Page Layout', 'gp_lang' ),					
						'type' => 'image_select',
						'desc' => __( 'The layout of the page.', 'gp_lang' ),
						'options' => array(
							'gp-left-sidebar' => array('title' => 'Left Sidebar',   'img' => ReduxFramework::$_url . 'assets/img/2cl.png'),
							'gp-right-sidebar' => array('title' => 'Right Sidebar',  'img' => ReduxFramework::$_url . 'assets/img/2cr.png'),
							'gp-no-sidebar' => array('title' => 'No Sidebar', 'img' => get_template_directory_uri() . '/lib/images/no-sidebar.png'),
							'gp-fullwidth' => array('title' => 'Fullwidth', 'img' => ReduxFramework::$_url . 'assets/img/1col.png'),
						),	
						'default' => 'gp-right-sidebar',
					),

					array(
						'id'      => 'hub_sidebar',
						'type'    => 'select',
						'required' => array( 'hub_layout', '=', array( 'gp-left-sidebar', 'gp-right-sidebar' ) ),
						'title'   => __( 'Sidebar', 'gp_lang' ),
						'desc' => __( 'The sidebar to display.', 'gp_lang' ),
						'data'    => 'sidebar',
						'default' => 'gp-hub-sidebar',
					),
                    			
					array(  
						'id' => 'hub_featured_image',
						'title' => __( 'Featured Image', 'gp_lang' ),
						'desc' => __( 'Display the featured image on the page.', 'gp_lang' ),
						'type' => 'button_set',
						'options' => array(
							'enabled' => __( 'Enabled', 'gp_lang' ),
							'disabled' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'enabled',
					),

					array(
						'id' => 'hub_image',
						'type' => 'dimensions',
						'required'  => array( 'hub_featured_image', '=', 'enabled' ),
						'units' => false,
						'title' => __( 'Image Dimensions', 'gp_lang' ),
						'subtitle' => __( 'Set height to 0 to have a proportionate height.', 'gp_lang' ),
						'desc' => __( 'The width and height of the featured image.', 'gp_lang' ),
						'default'           => array(
							'width'     => 120, 
							'height'    => 120,
						),
					),

					array(
						'id' => 'hub_hard_crop',
						'title' => __( 'Hard Crop', 'gp_lang' ),
						'type' => 'button_set',
						'required'  => array( 'hub_featured_image', '=', 'enabled' ),
						'desc' => __( 'Images are cropped even if it is smaller than the dimensions you want to crop it to.', 'gp_lang' ),
						'options' => array(
							true => __( 'Enabled', 'gp_lang' ),
							false => __( 'Disabled', 'gp_lang' ),
						),
						'default' => true,
					),

					array( 
						'id' => 'hub_fields',
						'title' => __( 'Hub Fields', 'gp_lang' ),
						'type' => 'multi_text',
						 'subtitle'  => __( 'After adding/editing the hub fields, go to', 'gp_lang') . ' <a href="'.admin_url( 'options-permalink.php' ).'">' . __( 'Settings -> Permalinks' ,'gp_lang' ) . '</a> ' . __( 'and click Save Changes.', 'gp_lang' ),
						'desc' => __( 'Add hub fields that can be displayed on your hub pages.', 'gp_lang' ),
						'validate' => '',
						'add_text' => 'Add Hub Field',
						'default' => array(
							0 => 'Release Date',
							1 => 'Genre',
							2 => 'Rating',
							3 => 'Developed By',
							4 => 'Publisher',
						),
					),

					array(
						'id'       => 'hub_header_cats',
						'type'     => 'select',
						'multi' => true,
						'title'    => __( 'Hub Header Categories', 'gp_lang' ),
						'data' => 'terms',
						'args' => array( 'taxonomies' => 'gp_hubs' ),
						'desc' => __( 'Select the hub categories you want to display in the hub header.', 'gp_lang' ),
						'default' => '',
					),

					array(
						'id'       => 'hub_header_fields',
						'type'     => 'select',
						'multi' => true,
						'title'    => __( 'Hub Header Fields', 'gp_lang' ),
						'data' => 'taxonomies',
						'args' => array( 'object_type' => array( 'page' ) ),
						'desc' => __( 'Select the hub fields you want to display in the hub header.', 'gp_lang' ),
						'default' => '',
					),
					
					array(
						'id'        => 'hub_header_display_rating',
						'type'      => 'checkbox',
						'title'     => __( 'Hub Header Ratings', 'gp_lang' ),
						'desc' => __( 'Choose to display the site and user ratings in the hub header.', 'gp_lang' ), 
						'options'   => array(
							'site_rating' => __( 'Site Rating', 'gp_lang' ),
							'user_rating' => __( 'User Rating', 'gp_lang' ),
						),
						'default'   => array(
							'site_rating' => '1',
							'user_rating' => '1',
						)
					),

					array(  
						'id' => 'hub_header_posts',
						'title' => __( 'Hub Header Posts', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'Choose to display the hub header on posts asssociated with the hub.', 'gp_lang' ),
						'options' => array(
							'enabled' => __( 'Enabled', 'gp_lang' ),
							'disabled' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'enabled',
					),
										
					array(  
						'id' => 'hub_details',
						'title' => __( 'Hub Details', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'Choose to display the hub details block.', 'gp_lang' ),
						'options' => array(
							'enabled' => __( 'Enabled', 'gp_lang' ),
							'disabled' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'enabled',
					),
					
					array(
						'id' => 'hub_user_rating',
						'title' => __( 'User Rating Box', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'Choose to display the user rating box where users can vote.', 'gp_lang' ),
						'options' => array(
							'enabled' => __( 'Enabled', 'gp_lang' ),
							'disabled' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'enabled',
					),
					
					array( 
						'id' => 'hub_prefix_child_pages',
						'title' => __( 'Prefix Child Page Titles', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'Prefix child page titles with the hub parent page title.', 'gp_lang' ),
						'options' => array(
							'enabled' => __( 'Enabled', 'gp_lang' ),
							'disabled' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'enabled',
					),

					array( 
						'id' => 'hub_following_items',
						'title' => __( 'Following Items', 'gp_lang' ),
						'type' => 'radio',
						'desc' => __( 'Choose who can follow items on your site.', 'gp_lang' ),
						'options' => array(
							'both' => __( 'Members and visitors can follow items', 'gp_lang' ),
							'members' => __( 'Only members can follow items', 'gp_lang' ),
							'disabled' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'both',
					),
																																																			
				),     
	
			); 

			$this->sections[] = array(
				'title' => __('Review Page Template', 'gp_lang'),
				'desc' => __( 'Global options for all review page templates.', 'gp_lang' ),
				'subsection' => true,
				'icon' => 'el-icon-star',
				'fields' => array(

					array( 
						'id' => 'review_title',
						'title' => __( 'Title Header', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'Add the title header on the page.', 'gp_lang' ),
						'options' => array(
							'gp-large-title' => __( 'Enabled', 'gp_lang' ),
							'gp-no-large-title' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'gp-large-title',
					),
					
					array( 
						'id' => 'review_layout',
						'title' => __( 'Page Layout', 'gp_lang' ),					
						'type' => 'image_select',
						'desc' => __( 'The layout of the page.', 'gp_lang' ),
						'options' => array(
							'gp-left-sidebar' => array('title' => 'Left Sidebar', 'img' => ReduxFramework::$_url . 'assets/img/2cl.png'),
							'gp-right-sidebar' => array('title' => 'Right Sidebar', 'img' => ReduxFramework::$_url . 'assets/img/2cr.png'),
							'gp-no-sidebar' => array('title' => 'No Sidebar', 'img' => get_template_directory_uri() . '/lib/images/no-sidebar.png'),
							'gp-fullwidth' => array('title' => 'Fullwidth', 'img' => ReduxFramework::$_url . 'assets/img/1col.png'),
						),	
						'default' => 'gp-right-sidebar',
					),

                    array(
                        'id'      => 'review_sidebar',
                        'type'    => 'select',
                        'required' => array( 'review_layout', '=', array( 'gp-left-sidebar', 'gp-right-sidebar' ) ),
                        'title'   => __( 'Sidebar', 'gp_lang' ),
						'desc' => __( 'The sidebar to display.', 'gp_lang' ),
                        'data'    => 'sidebar',
                        'default' => 'gp-hub-sidebar',
                    ),

					array(
						'id'       => 'review_header_cats',
						'type'     => 'select',
						'multi' => true,
						'title'    => __( 'Review Header Categories', 'gp_lang' ),
						'data' => 'terms',
						'args' => array( 'taxonomies' => 'gp_hubs' ),
						'desc' => __( 'Select the hub categories you want to display in the review header.', 'gp_lang' ),
						'default' => '',
					),

					array(
						'id'       => 'review_header_fields',
						'type'     => 'select',
						'multi' => true,
						'title'    => __( 'Review Header Fields', 'gp_lang' ),
						'data' => 'taxonomies',
						'args' => array( 'object_type' => array( 'page' ) ),
						'desc' => __( 'Select the hub fields you want to display in the review header.', 'gp_lang' ),
						'default' => '',
					),
					
                    array(
                        'id'        => 'review_meta',
                        'type'      => 'checkbox',
                        'title'     => __( 'Post Meta', 'gp_lang' ),
                        'desc' => __( 'Add post meta data to the page.', 'gp_lang' ), 
                        'options'   => array(
							'avatar' => 'Avatar <span style="padding: 1px 5px;color: #C09853;background: #FCF8E3;display: inline;font-weight: bold;border: 1px solid #E7E7E7;border-radius: 3px;font-size: 12px;">NEW</span>',
							'author_date' => 'Author and Date <span style="padding: 1px 5px;color: #C09853;background: #FCF8E3;display: inline;font-weight: bold;border: 1px solid #E7E7E7;border-radius: 3px;font-size: 12px;">NEW</span>',
                            'tags' => 'Post Tags',
                        ),
                        'default'   => array(
                        	'avatar' => '1',
                        	'author_date' => '1',
                            'tags' => '1',
                        )
                    ),
                    
 					array( 
						'id' => 'review_share_icons',
						'title' => __( 'Share Icons', 'gp_lang' ),
						'subtitle' => __( 'Get your own share code <a href="https://www.addthis.com/get/sharing?bm=tb15" target="_blank">here</a>.', 'gp_lang' ),
						'desc' => __( 'Add icons so visitors can share this review on FaceBook, Twitter etc.', 'gp_lang' ),
						'type' => 'textarea',
						'default' => ''
					),

					array(  
						'id' => 'review_author_info',
						'title' => __( 'Author Info Panel', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'Add an author info panel to the page.', 'gp_lang' ),
						'options' => array(
							'enabled' => __( 'Enabled', 'gp_lang' ),
							'disabled' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'enabled',
					),

					array(  
						'id' => 'review_related_items',
						'title' => __( 'Related Items', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'Add a related items section to the page.', 'gp_lang' ), 
						'options' => array(
							'enabled' => __( 'Enabled', 'gp_lang' ),
							'disabled' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'enabled',
					),
						
					array( 
						'id' => 'review_related_items_per_page',
						'title' => __( 'Number Of Related Items', 'gp_lang' ),
						'type' => 'spinner',
						'desc' => __( 'The number of related items to display.', 'gp_lang' ),
						'min' => 1,
						'max' => 10,
						'required'  => array( 'review_related_items', '=', 'enabled' ),
						'default' => 4,
					),

					array(
						'id' => 'review_related_items_image',
						'type' => 'dimensions',
						'required'  => array( 'review_related_items', '=', 'enabled' ),
						'units' => false,
						'title' => __( 'Related Items Image Dimensions', 'gp_lang' ),
						'subtitle' => __( 'Set height to 0 to have a proportionate height.', 'gp_lang' ),
						'desc' => __( 'The width and height of the related images.', 'gp_lang' ),
                        'default'           => array(
                            'width'     => 178, 
                            'height'    => 140,
                        ),
					),

                    array(
                        'id'      => 'review_first_letter_styling',
                        'type'    => 'button_set',
                        'title'   => __( 'Style First Letter', 'gp_lang' ) . ' <span style="padding: 1px 5px;color: #C09853;background: #FCF8E3;display: inline;font-weight: bold;border: 1px solid #E7E7E7;border-radius: 3px;font-size: 12px;">' . __( 'NEW', 'gp_lang' ) . '</span>',
						'desc' => __( 'Style the first letter in reviews.', 'gp_lang' ),
						'options' => array(
							'enabled' => __( 'Enabled', 'gp_lang' ),
							'disabled' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'enabled',
                    ),
                    
                    array(
                        'id'      => 'review_site_rating_style',
                        'type'    => 'select',
                        'title'   => __( 'Site Rating Style', 'gp_lang' ),
						'desc' => __( 'The site rating style.', 'gp_lang' ),
						'options' => array(
							'plain' => __( 'Plain', 'gp_lang' ),
							'gauge' => __( 'Gauge', 'gp_lang' ),
						),
						'default' => 'gauge',
                    ),
                    
                    array(
                        'id'      => 'review_user_rating_style',
                        'type'    => 'select',
                        'title'   => __( 'User Rating Style', 'gp_lang' ),
						'desc' => __( 'The user rating style.', 'gp_lang' ),
						'options' => array(
							'plain' => __( 'Plain', 'gp_lang' ),
							'gauge' => __( 'Gauge', 'gp_lang' ),
						),
						'default' => 'plain',
                    ),
                    														
					array(  
						'id' => 'review_rating_number',
						'title' => __( 'Rating Number', 'gp_lang' ),
						'type' => 'spinner',
						'desc' => __( 'The maximum number users can vote up to.', 'gp_lang' ),						
						'min' => 1,
						'max' => 10,
						'default' => 10,
					),
																				
					array(
						'id' => 'review_user_rating',
						'title' => __( 'User Rating Box', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'Choose to display the user rating box where users can vote.', 'gp_lang' ),
						'options' => array(
							'enabled' => __( 'Enabled', 'gp_lang' ),
							'disabled' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'enabled',
					),	
										
					array(
						'id' => 'review_can_users_rate',
						'title' => __( 'Can Visitors Rate', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'Choose whether to allow visitors to rate items.', 'gp_lang' ),
						'options' => array(
							'enabled' => __( 'Enabled', 'gp_lang' ),
							'disabled' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'enabled',
					),
										
					array( 
						'id' => 'review_rating_criteria',
						'title' => __( 'Rating Criteria', 'gp_lang' ),
						'desc' => __( 'Add multiple rating criteria to your site rating.', 'gp_lang' ),
						'type' => 'multi_text',
						'add_text' => 'Add Rating Criteria',
						'default' => '',
					),
								   
					array(
						'id' => 'review_site_rating_text_1',
						'title' => __( 'Rating 1 Text', 'gp_lang' ),
						'type' => 'text',
						'desc' => __( 'The text used to describe a site rating of 1.', 'gp_lang' ),
						'default' => 'Horrendous',
					),

					array(
						'id' => 'review_site_rating_text_2',
						'title' => __( 'Rating 2 Text', 'gp_lang' ),
						'desc' => __( 'The text used to describe a site rating of 2.', 'gp_lang' ),
						'type' => 'text',
						'default' => 'Awful',
					),

					array(
						'id' => 'review_site_rating_text_3',
						'title' => __( 'Rating 3 Text', 'gp_lang' ),
						'desc' => __( 'The text used to describe a site rating of 3.', 'gp_lang' ),
						'type' => 'text',
						'default' => 'Bad',
					),
					
					array(
						'id' => 'review_site_rating_text_4',
						'title' => __( 'Rating 4 Text', 'gp_lang' ),
						'desc' => __( 'The text used to describe a site rating of 4.', 'gp_lang' ),
						'type' => 'text',
						'default' => 'Poor',
					),
					
					array(
						'id' => 'review_site_rating_text_5',
						'title' => __( 'Rating 5 Text', 'gp_lang' ),
						'desc' => __( 'The text used to describe a site rating of 5.', 'gp_lang' ),
						'type' => 'text',
						'default' => 'Average',
					),
					
					array(
						'id' => 'review_site_rating_text_6',
						'title' => __( 'Rating 6 Text', 'gp_lang' ),
						'desc' => __( 'The text used to describe a site rating of 6.', 'gp_lang' ),
						'type' => 'text',
						'default' => 'Fair',
					),
					array(
						'id' => 'review_site_rating_text_7',
						'title' => __( 'Rating 7 Text', 'gp_lang' ),
						'desc' => __( 'The text used to describe a site rating of 7.', 'gp_lang' ),
						'type' => 'text',
						'default' => 'Good',
					),
					array(
						'id' => 'review_site_rating_text_8',
						'title' => __( 'Rating 8 Text', 'gp_lang' ),
						'desc' => __( 'The text used to describe a site rating of 8.', 'gp_lang' ),
						'type' => 'text',
						'default' => 'Great',
					),
					array(
						'id' => 'review_site_rating_text_9',
						'title' => __( 'Rating 9 Text', 'gp_lang' ),
						'desc' => __( 'The text used to describe a site rating of 9.', 'gp_lang' ),
						'type' => 'text',
						'default' => 'Amazing',
					),
					array(
						'id' => 'review_site_rating_text_10',
						'title' => __( 'Rating 10 Text', 'gp_lang' ),
						'desc' => __( 'The text used to describe a site rating of 10.', 'gp_lang' ),
						'type' => 'text',
						'default' => 'Perfect',
					),								
																				
				),
			);

			$this->sections[] = array(
				'title' => __('News Page Template', 'gp_lang'),
				'desc' => __( 'Global options for all news page templates.', 'gp_lang' ),
				'subsection' => true,
				'icon' => 'el-icon-pencil',
				'fields' => array(
																				
					array( 
						'id' => 'news_layout',
						'title' => __( 'Page Layout', 'gp_lang' ),
						'type' => 'image_select',
						'desc' => __( 'The layout of the page.', 'gp_lang' ),
						'options' => array(
                            'gp-left-sidebar' => array('title' => 'Left Sidebar',   'img' => ReduxFramework::$_url . 'assets/img/2cl.png'),
                            'gp-right-sidebar' => array('title' => 'Right Sidebar',  'img' => ReduxFramework::$_url . 'assets/img/2cr.png'),
                            'gp-no-sidebar' => array('title' => 'No Sidebar', 'img' => get_template_directory_uri() . '/lib/images/no-sidebar.png'),
							'gp-fullwidth' => array('title' => 'Fullwidth', 'img' => ReduxFramework::$_url . 'assets/img/1col.png'),
						),	
						'default' => 'gp-right-sidebar',
					),
 
                    array(
                        'id'      => 'news_sidebar',
                        'type'    => 'select',
						'required' => array( 'news_layout', '=', array( 'gp-left-sidebar', 'gp-right-sidebar' ) ),
                        'title'   => __( 'Sidebar', 'gp_lang' ),
						'desc' => __( 'The sidebar to display.', 'gp_lang' ),
                        'data'    => 'sidebar',
                        'default' => 'gp-hub-sidebar',
                    ),

					array( 
						'id' => 'news_format',
						'title' => __( 'Format', 'gp_lang' ) . ' <span style="padding: 1px 5px;color: #C09853;background: #FCF8E3;display: inline;font-weight: bold;border: 1px solid #E7E7E7;border-radius: 3px;font-size: 12px;">' . __( 'NEW', 'gp_lang' ) . '</span>',
						'type' => 'select',
						'desc' => __( 'The format to display the items in.', 'gp_lang' ),
						'options' => array(
							'blog-standard' => __( 'Standard', 'gp_lang' ),
							'blog-columns-1' => __( '1 Column', 'gp_lang' ),
							'blog-columns-2' => __( '2 Columns', 'gp_lang' ),
							'blog-columns-3' => __( '3 Columns', 'gp_lang' ),
							'blog-columns-4' => __( '4 Columns', 'gp_lang' ),
							'blog-columns-5' => __( '5 Columns', 'gp_lang' ),
							'blog-columns-6' => __( '6 Columns', 'gp_lang' ),
							'blog-masonry' => __( 'Masonry', 'gp_lang' ),
						),
						'default' => 'blog-standard',
					),
			
					array( 
						'id' => 'news_size',
						'title' => __( 'Size', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'The size to display the items at.', 'gp_lang' ),
						'options' => array(
							'blog-standard-size' => __( 'Standard', 'gp_lang' ),
							'blog-small-size' => __( 'Small', 'gp_lang' ),
							'blog-large-size' => __( 'Large', 'gp_lang' ),
						),
						'default' => 'blog-standard-size',
					),

					array(  
						'id' => 'news_orderby',
						'title' => __( 'Order By', 'gp_lang' ),
						'type' => 'radio',
						'desc' => __( 'The criteria which the items are ordered by.', 'gp_lang' ),
						'options' => array(
							'newest' => __( 'Newest', 'gp_lang' ),
							'oldest' => __( 'Oldest', 'gp_lang' ),
							'title_az' => __( 'Title (A-Z)', 'gp_lang' ),
							'title_za' => __( 'Title (Z-A)', 'gp_lang' ),
							'comment_count' => __( 'Most Comments', 'gp_lang' ),
							'views' => __( 'Most Views', 'gp_lang' ),
							'menu_order' => __( 'Menu Order', 'gp_lang' ) . ' <span style="padding: 1px 5px;color: #C09853;background: #FCF8E3;display: inline;font-weight: bold;border: 1px solid #E7E7E7;border-radius: 3px;font-size: 12px;">' . __( 'NEW', 'gp_lang' ) . '</span>',
							'rand' => __( 'Random', 'gp_lang' ) . ' <span style="padding: 1px 5px;color: #C09853;background: #FCF8E3;display: inline;font-weight: bold;border: 1px solid #E7E7E7;border-radius: 3px;font-size: 12px;">' . __( 'NEW', 'gp_lang' ) . '</span>',
						),
						'default' => 'newest',
					),
					
					array(  
						'id' => 'news_date_posted',
						'title' => __( 'Date Posted', 'gp_lang' ) . ' <span style="padding: 1px 5px;color: #C09853;background: #FCF8E3;display: inline;font-weight: bold;border: 1px solid #E7E7E7;border-radius: 3px;font-size: 12px;">' . __( 'NEW', 'gp_lang' ) . '</span>',
						'type' => 'radio',
						'desc' => __( 'The date the items were posted.', 'gp_lang' ),
						'options' => array(
							'all' => __( 'Any date', 'gp_lang' ),
							'year' => __( 'In the last year', 'gp_lang' ),
							'month' => __( 'In the last month', 'gp_lang' ),
							'week' => __( 'In the last week', 'gp_lang' ),
							'day' => __( 'In the last day', 'gp_lang' ),
						),
						'default' => 'all',
					),

					array(  
						'id' => 'news_date_modified',
						'title' => __( 'Date Modified', 'gp_lang' ) . ' <span style="padding: 1px 5px;color: #C09853;background: #FCF8E3;display: inline;font-weight: bold;border: 1px solid #E7E7E7;border-radius: 3px;font-size: 12px;">' . __( 'NEW', 'gp_lang' ) . '</span>',
						'type' => 'radio',
						'desc' => __( 'The date the items were modified.', 'gp_lang' ),
						'options' => array(
							'all' => __( 'Any date', 'gp_lang' ),
							'year' => __( 'In the last year', 'gp_lang' ),
							'month' => __( 'In the last month', 'gp_lang' ),
							'week' => __( 'In the last week', 'gp_lang' ),
							'day' => __( 'In the last day', 'gp_lang' ),
						),
						'default' => 'all',
					),
										
					array(  
						'id' => 'news_filter',
						'title' => __( 'Filter', 'gp_lang' ),
						'desc' => __( 'Add a dropdown filter menu to the page.', 'gp_lang' ),
						'type' => 'button_set',
						'options' => array(
							'enabled' => __( 'Enabled', 'gp_lang' ),
							'disabled' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'enabled',
					),
					
                    array(
                        'id'        => 'news_filter_options',
                        'type'      => 'checkbox',
						'required'  => array( 'news_filter', '=', 'enabled' ),
                        'title'     => __( 'Filter Options', 'gp_lang' ),
                        'desc' => __( 'Choose what options to display in the dropdown filter menu.', 'gp_lang' ), 
                        'options'   => array(
							'cats' => __( 'Categories', 'gp_lang' ),
                            'date' => __( 'Date', 'gp_lang' ),
                            'title' => __( 'Title', 'gp_lang' ),
                            'comment_count' => __( 'Comment Count', 'gp_lang' ),
                            'views' => __( 'Views', 'gp_lang' ),
                            'date_posted' => __( 'Date Posted', 'gp_lang' ) . ' <span style="padding: 1px 5px;color: #C09853;background: #FCF8E3;display: inline;font-weight: bold;border: 1px solid #E7E7E7;border-radius: 3px;font-size: 12px;">' . __( 'NEW', 'gp_lang' ) . '</span>',
                            'date_modified' => __( 'Date Modified', 'gp_lang' ) . ' <span style="padding: 1px 5px;color: #C09853;background: #FCF8E3;display: inline;font-weight: bold;border: 1px solid #E7E7E7;border-radius: 3px;font-size: 12px;">' . __( 'NEW', 'gp_lang' ) . '</span>',
                        ),
                        'default'   => array(
							'cats' => '1',
                            'date' => '1',
                            'title' => '1',
                            'comment_count' => '1',
                            'views' => '1',
                            'date_posted' => '1',
                            'date_modified' => '0',
                        )
                    ),
                    																	
					array(
						'id'       => 'news_per_page',
						'type'     => 'spinner',
						'title'    => __( 'Items Per Page', 'gp_lang' ),
						'desc' => __( 'The number of items on each page.', 'gp_lang' ),
						'min' => 1,
						'max' => 999999,
						'default' => 12,
					),
				
					array(  
						'id' => 'news_featured_image',
						'title' => __( 'Featured Image', 'gp_lang' ),
						'desc' => __( 'Display the featured image on the page.', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'Display the featured images.', 'gp_lang' ),
						'options' => array(
							'enabled' => __( 'Enabled', 'gp_lang' ),
							'disabled' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'enabled',
					),

					array(
						'id' => 'news_image',
						'type' => 'dimensions',
						'required'  => array( 'news_featured_image', '=', 'enabled' ),
						'units' => false,
						'title' => __( 'Image Dimensions', 'gp_lang' ),
						'desc' => __( 'The width and height of the featured images.', 'gp_lang' ),
						'subtitle' => __( 'Set height to 0 to have a proportionate height.', 'gp_lang' ),
                        'default'           => array(
                            'width'     => 150, 
                            'height'    => 150,
                        ),
					),

					array(
						'id' => 'news_hard_crop',
						'title' => __( 'Hard Crop', 'gp_lang' ),
						'type' => 'button_set',
						'required'  => array( 'news_featured_image', '=', 'enabled' ),
						'desc' => __( 'Images are cropped even if it is smaller than the dimensions you want to crop it to.', 'gp_lang' ),
						'options' => array(
							true => __( 'Enabled', 'gp_lang' ),
							false => __( 'Disabled', 'gp_lang' ),
						),
						'default' => true,
					),
	
					array(
						'id' => 'news_image_alignment',
						'title' => __( 'Image Alignment', 'gp_lang' ),
						'type' => 'select',
						'required'  => array( 'news_featured_image', '=', 'enabled' ),
						'desc' => __( 'Choose how the images align with the content.', 'gp_lang' ),
						'options' => array(
							'image-wrap-left' => __( 'Left Wrap', 'gp_lang' ),
							'image-wrap-right' => __( 'Right Wrap', 'gp_lang' ),
							'image-above' => __( 'Above Content', 'gp_lang' ),
							'image-align-left' => __( 'Left Align', 'gp_lang' ),
							'image-align-right' => __( 'Right Align', 'gp_lang' ),
						),
						'default' => 'image-align-left',
					),
					
					array( 
						'id' => 'news_title_position',
						'title' => __( 'Title Position', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'The position of the title.', 'gp_lang' ),
						'options' => array(
							'title-next-to-thumbnail' => __( 'Next To Thumbnail', 'gp_lang' ),
							'title-over-thumbnail' => __( 'Over Thumbnail', 'gp_lang' ),
						),
						'default' => 'title-next-to-thumbnail',
					),
						
					array( 
						'id' => 'news_content_display',
						'title' => __( 'Content Display', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'The amount of content displayed.', 'gp_lang' ),
						'options' => array(
							'excerpt' => __( 'Excerpt', 'gp_lang' ),
							'full_content' => __( 'Full Content', 'gp_lang' ),
						),
						'default' => 'excerpt',
					),
				
					array( 
						'id' => 'news_excerpt_length',
						'title' => __( 'Excerpt Length', 'gp_lang' ),
						'required'  => array( 'news_content_display', '=', 'excerpt' ),
						'type' => 'spinner',
						'desc' => __( 'The number of characters in excerpts.', 'gp_lang' ),
						'min' => 0,
						'max' => 999999,
						'default' => '340',
					),

                    array(
                        'id'        => 'news_meta',
                        'type'      => 'checkbox',
                        'title'     => __( 'Post Meta', 'gp_lang' ),
                        'desc' => __( 'Select the meta data you want to display.', 'gp_lang' ), 
                        'options'   => array(
                            'author' => __( 'Author Name', 'gp_lang' ),
                            'date' => __( 'Post Date', 'gp_lang' ),
                            'comment_count' => __( 'Comment Count', 'gp_lang' ),
                            'views' => __( 'Views', 'gp_lang' ),
                            'cats' => __( 'Categories', 'gp_lang' ),
                            'tags' => __( 'Post Tags', 'gp_lang' ),
                        ),
                        'default'   => array(
                            'author' => '1',
                            'date' => '1', 
							'comment_count' => '1',
                            'views' => '1',
                            'cats' => '0',
                            'tags' => '0',
                        )
                    ),
                    
					array(  
						'id' => 'news_read_more_link',
						'title' => __( 'Read More Link', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'Add a read more link below the content.', 'gp_lang' ),
						'options' => array(
							'enabled' => __( 'Enabled', 'gp_lang' ),
							'disabled' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'enabled',
					),
	
				),						   
			);
			
			$this->sections[] = array(
				'title'     => __( 'Images Page Template', 'gp_lang'),
				'desc' => __( 'Global options for all images page templates.', 'gp_lang' ),
				'subsection' => true,
				'icon' => 'el-icon-picture',
				'fields'    => array(
							
					array( 
						'id' => 'images_layout',
						'title' => __( 'Page Layout', 'gp_lang' ),					
						'type' => 'image_select',
						'desc' => __( 'The layout of the page.', 'gp_lang' ),
						'options' => array(
							'gp-left-sidebar' => array('title' => 'Left Sidebar',   'img' => ReduxFramework::$_url . 'assets/img/2cl.png'),
							'gp-right-sidebar' => array('title' => 'Right Sidebar',  'img' => ReduxFramework::$_url . 'assets/img/2cr.png'),
							'gp-no-sidebar' => array('title' => 'No Sidebar', 'img' => get_template_directory_uri() . '/lib/images/no-sidebar.png'),
							'gp-fullwidth' => array('title' => 'Fullwidth', 'img' => ReduxFramework::$_url . 'assets/img/1col.png'),
						),	
						'default' => 'gp-no-sidebar',
					),

					array(
						'id'      => 'images_sidebar',
						'type'    => 'select',
						'required' => array( 'images_layout', '=', array( 'gp-left-sidebar', 'gp-right-sidebar' ) ),
						'title'   => __( 'Sidebar', 'gp_lang' ),
						'desc' => __( 'The sidebar to display.', 'gp_lang' ),
						'data'    => 'sidebar',
						'default' => 'gp-hub-sidebar',
					),
					
					array(
						'id' => 'images_image',
						'type' => 'dimensions',
						'units' => false,
						'title' => __( 'Image Dimensions', 'gp_lang' ),
						'subtitle' => __( 'Set height to 0 to have a proportionate height.', 'gp_lang' ),
						'desc' => __( 'The width and height of the featured images.', 'gp_lang' ),
						'default'           => array(
							'width'     => 225, 
							'height'    => 225,
						),
					),

					array(
						'id' => 'images_hard_crop',
						'title' => __( 'Hard Crop', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'Images are cropped even if it is smaller than the dimensions you want to crop it to.', 'gp_lang' ),
						'options' => array(
							true => __( 'Enabled', 'gp_lang' ),
							false => __( 'Disabled', 'gp_lang' ),
						),
						'default' => true,
					),
					
				),
				
			);
							
			$this->sections[] = array(
				'title'     => __( 'Videos Page Template', 'gp_lang'),
				'desc' => __( 'Global options for all videos page templates.', 'gp_lang' ),
				'subsection' => true,
				'icon' => 'el-icon-facetime-video',
				'fields'    => array(
																
					array( 
						'id' => 'videos_layout',
						'title' => __( 'Page Layout', 'gp_lang' ),					
						'type' => 'image_select',
						'desc' => __( 'The layout of the page.', 'gp_lang' ),
						'options' => array(
							'gp-left-sidebar' => array('title' => 'Left Sidebar',   'img' => ReduxFramework::$_url . 'assets/img/2cl.png'),
							'gp-right-sidebar' => array('title' => 'Right Sidebar',  'img' => ReduxFramework::$_url . 'assets/img/2cr.png'),
							'gp-no-sidebar' => array('title' => 'No Sidebar', 'img' => get_template_directory_uri() . '/lib/images/no-sidebar.png'),
							'gp-fullwidth' => array('title' => 'Fullwidth', 'img' => ReduxFramework::$_url . 'assets/img/1col.png'),
						),	
						'default' => 'gp-no-sidebar',
					),

					array(
						'id'      => 'videos_sidebar',
						'type'    => 'select',
						'required' => array( 'videos_layout', '=', array( 'gp-left-sidebar', 'gp-right-sidebar' ) ),
						'title'   => __( 'Sidebar', 'gp_lang' ),
						'desc' => __( 'The sidebar to display.', 'gp_lang' ),
						'data'    => 'sidebar',
						'default' => 'gp-hub-sidebar',
					),
					
					array( 
						'id' => 'videos_format',
						'title' => __( 'Format', 'gp_lang' ) . ' <span style="padding: 1px 5px;color: #C09853;background: #FCF8E3;display: inline;font-weight: bold;border: 1px solid #E7E7E7;border-radius: 3px;font-size: 12px;">' . __( 'NEW', 'gp_lang' ) . '</span>',
						'type' => 'select',
						'desc' => __( 'The format to display the items in.', 'gp_lang' ),
						'options' => array(
							'blog-standard' => __( 'Standard', 'gp_lang' ),
							'blog-columns-1' => __( '1 Column', 'gp_lang' ),
							'blog-columns-2' => __( '2 Columns', 'gp_lang' ),
							'blog-columns-3' => __( '3 Columns', 'gp_lang' ),
							'blog-columns-4' => __( '4 Columns', 'gp_lang' ),
							'blog-columns-5' => __( '5 Columns', 'gp_lang' ),
							'blog-columns-6' => __( '6 Columns', 'gp_lang' ),
							'blog-masonry' => __( 'Masonry', 'gp_lang' ),
						),
						'default' => 'blog-columns-3',
					),
			
					array( 
						'id' => 'videos_size',
						'title' => __( 'Size', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'The size to display the items at.', 'gp_lang' ),
						'options' => array(
							'blog-standard-size' => __( 'Standard', 'gp_lang' ),
							'blog-small-size' => __( 'Small', 'gp_lang' ),
							'blog-large-size' => __( 'Large', 'gp_lang' ),
						),
						'default' => 'blog-standard-size',
					),

					array(  
						'id' => 'videos_orderby',
						'title' => __( 'Order By', 'gp_lang' ),
						'type' => 'radio',
						'desc' => __( 'The criteria which the items are ordered by.', 'gp_lang' ),
						'options' => array(
							'newest' => __( 'Newest', 'gp_lang' ),
							'oldest' => __( 'Oldest', 'gp_lang' ),
							'title_az' => __( 'Title (A-Z)', 'gp_lang' ),
							'title_za' => __( 'Title (Z-A)', 'gp_lang' ),
							'comment_count' => __( 'Most Comments', 'gp_lang' ),
							'views' => __( 'Most Views', 'gp_lang' ),
							'menu_order' => __( 'Menu Order', 'gp_lang' ) . ' <span style="padding: 1px 5px;color: #C09853;background: #FCF8E3;display: inline;font-weight: bold;border: 1px solid #E7E7E7;border-radius: 3px;font-size: 12px;">' . __( 'NEW', 'gp_lang' ) . '</span>',
							'rand' => __( 'Random', 'gp_lang' ) . ' <span style="padding: 1px 5px;color: #C09853;background: #FCF8E3;display: inline;font-weight: bold;border: 1px solid #E7E7E7;border-radius: 3px;font-size: 12px;">' . __( 'NEW', 'gp_lang' ) . '</span>',
						),
						'default' => 'newest',
					),

					array(  
						'id' => 'videos_date_posted',
						'title' => __( 'Date Posted', 'gp_lang' ) . ' <span style="padding: 1px 5px;color: #C09853;background: #FCF8E3;display: inline;font-weight: bold;border: 1px solid #E7E7E7;border-radius: 3px;font-size: 12px;">' . __( 'NEW', 'gp_lang' ) . '</span>',
						'type' => 'radio',
						'desc' => __( 'The date the items were posted.', 'gp_lang' ),
						'options' => array(
							'all' => __( 'Any date', 'gp_lang' ),
							'year' => __( 'In the last year', 'gp_lang' ),
							'month' => __( 'In the last month', 'gp_lang' ),
							'week' => __( 'In the last week', 'gp_lang' ),
							'day' => __( 'In the last day', 'gp_lang' ),
						),
						'default' => 'all',
					),

					array(  
						'id' => 'videos_date_modified',
						'title' => __( 'Date Modified', 'gp_lang' ) . ' <span style="padding: 1px 5px;color: #C09853;background: #FCF8E3;display: inline;font-weight: bold;border: 1px solid #E7E7E7;border-radius: 3px;font-size: 12px;">' . __( 'NEW', 'gp_lang' ) . '</span>',
						'type' => 'radio',
						'desc' => __( 'The date the items were modified.', 'gp_lang' ),
						'options' => array(
							'all' => __( 'Any date', 'gp_lang' ),
							'year' => __( 'In the last year', 'gp_lang' ),
							'month' => __( 'In the last month', 'gp_lang' ),
							'week' => __( 'In the last week', 'gp_lang' ),
							'day' => __( 'In the last day', 'gp_lang' ),
						),
						'default' => 'all',
					),
					
					array(  
						'id' => 'videos_filter',
						'title' => __( 'Filter', 'gp_lang' ),
						'desc' => __( 'Add a dropdown filter menu to the page.', 'gp_lang' ),
						'type' => 'button_set',
						'options' => array(
							'enabled' => __( 'Enabled', 'gp_lang' ),
							'disabled' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'enabled',
					),

                    array(
                        'id'        => 'videos_filter_options',
                        'type'      => 'checkbox',
						'required'  => array( 'video_cat_filter', '=', 'enabled' ),
                        'title'     => __( 'Filter Options', 'gp_lang' ),
                        'desc' => __( 'Choose what options to display in the dropdown filter menu.', 'gp_lang' ), 
                        'options'   => array(
							'cats' => __( 'Categories', 'gp_lang' ),
                            'date' => __( 'Date', 'gp_lang' ),
                            'title' => __( 'Title', 'gp_lang' ),
                            'comment_count' => __( 'Comment Count', 'gp_lang' ),
                            'views' => __( 'Views', 'gp_lang' ),
                            'date_posted' => __( 'Date Posted', 'gp_lang' ) . ' <span style="padding: 1px 5px;color: #C09853;background: #FCF8E3;display: inline;font-weight: bold;border: 1px solid #E7E7E7;border-radius: 3px;font-size: 12px;">' . __( 'NEW', 'gp_lang' ) . '</span>',
                            'date_modified' => __( 'Date Modified', 'gp_lang' ) . ' <span style="padding: 1px 5px;color: #C09853;background: #FCF8E3;display: inline;font-weight: bold;border: 1px solid #E7E7E7;border-radius: 3px;font-size: 12px;">' . __( 'NEW', 'gp_lang' ) . '</span>',
                        ),
                        'default'   => array(
							'cats' => '1',
                            'date' => '1',
                            'title' => '1',
                            'comment_count' => '1',
                            'views' => '1',
                            'date_posted' => '1',
                            'date_modified' => '0',
                        )
                    ),
                    							
					array( 
						'id' => 'videos_per_page',
						'title' => __( 'Items Per Page', 'gp_lang' ),
						'type' => 'spinner',
						'desc' => __( 'The number of items on each page.', 'gp_lang' ),
						'min' => 1,
						'max' => 999999,
						'default' => 12,
					),	

					array(  
						'id' => 'videos_featured_image',
						'title' => __( 'Featured Image', 'gp_lang' ),
						'desc' => __( 'Display the featured images.', 'gp_lang' ),
						'type' => 'button_set',
						'options' => array(
							'enabled' => __( 'Enabled', 'gp_lang' ),
							'disabled' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'enabled',
					),
															
					array(
						'id' => 'videos_image',
						'type' => 'dimensions',
						'units' => false,
						'title' => __( 'Image Dimensions', 'gp_lang' ),
						'subtitle' => __( 'Set height to 0 to have a proportionate height.', 'gp_lang' ),
						'desc' => __( 'The width and height of the featured images.', 'gp_lang' ),
						'default'           => array(
							'width'     => 374, 
							'height'    => 244,
						),
					),

					array(
						'id' => 'videos_hard_crop',
						'title' => __( 'Hard Crop', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'Images are cropped even if it is smaller than the dimensions you want to crop it to.', 'gp_lang' ),
						'options' => array(
							true => __( 'Enabled', 'gp_lang' ),
							false => __( 'Disabled', 'gp_lang' ),
						),
						'default' => true,
					),

					array(
						'id' => 'videos_image_alignment',
						'title' => __( 'Image Alignment', 'gp_lang' ),
						'type' => 'select',
						'required'  => array( 'videos_featured_image', '=', 'enabled' ),
						'desc' => __( 'Choose how the images align with the content.', 'gp_lang' ),
						'options' => array(
							'image-wrap-left' => __( 'Left Wrap', 'gp_lang' ),
							'image-wrap-right' => __( 'Right Wrap', 'gp_lang' ),
							'image-above' => __( 'Above Content', 'gp_lang' ),
							'image-align-left' => __( 'Left Align', 'gp_lang' ),
							'image-align-right' => __( 'Right Align', 'gp_lang' ),
						),
						'default' => 'image-above',
					),
					
					array( 
						'id' => 'videos_title_position',
						'title' => __( 'Title Position', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'The position of the title.', 'gp_lang' ),
						'options' => array(
							'title-next-to-thumbnail' => __( 'Next To Thumbnail', 'gp_lang' ),
							'title-over-thumbnail' => __( 'Over Thumbnail', 'gp_lang' ),
						),
						'default' => 'title-next-to-thumbnail',
					),
					
					array( 
						'id' => 'videos_content_display',
						'title' => __( 'Content Display', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'The amount of content displayed.', 'gp_lang' ),
						'options' => array(
							'excerpt' => __( 'Excerpt', 'gp_lang' ),
							'full_content' => __( 'Full Content', 'gp_lang' ),
						),
						'default' => 'excerpt',
					),
								
					array( 
						'id' => 'videos_excerpt_length',
						'title' => __( 'Excerpt Length', 'gp_lang' ),
						'required'  => array( 'videos_content_display', '=', 'excerpt' ),
						'type' => 'spinner',
						'desc' => __( 'The number of characters in excerpts.', 'gp_lang' ),
						'min' => 0,
						'max' => 999999,
						'default' => '200',
					),

                    array(
                        'id'        => 'videos_meta',
                        'type'      => 'checkbox',
                        'title'     => __( 'Post Meta', 'gp_lang' ),
                        'desc' => __( 'Add post meta data to each video in the loop.', 'gp_lang' ), 
                        'options'   => array(
                            'author' => __( 'Author Name', 'gp_lang' ),
                            'date' => __( 'Post Date', 'gp_lang' ),
                            'comment_count' => __( 'Comment Count', 'gp_lang' ),
                            'views' => __( 'Views', 'gp_lang' ),
                            'cats' => __( 'Categories', 'gp_lang' ),
                            'tags' => __( 'Post Tags', 'gp_lang' ),
                        ),
                        'default'   => array(
                            'author' => '0',
                            'date' => '1',
							'comment_count' => '0',
                            'views' => '0',
                            'cats' => '0',
                            'tags' => '0',
                        )
                    ),
                    
					array(  
						'id' => 'videos_read_more_link',
						'title' => __( 'Read More Link', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'Add a read more link below the content.', 'gp_lang' ),
						'options' => array(
							'enabled' => __( 'Enabled', 'gp_lang' ),
							'disabled' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'disabled',
					),
					                    										
				),      
										
			);
							
			$this->sections[] = array(
				'title'     => __( 'Write/Edit A Review Page Templates', 'gp_lang'),
				'desc' => __( 'Global options for all write/edit a review page templates.', 'gp_lang' ),
				'subsection' => true,
				'icon' => 'el-icon-star-empty',
				'fields'    => array(
																
					array( 
						'id' => 'write_a_review_layout',
						'title' => __( 'Page Layout', 'gp_lang' ),					
						'type' => 'image_select',
						'desc' => __( 'The layout of the page.', 'gp_lang' ),
						'options' => array(
							'gp-left-sidebar' => array('title' => 'Left Sidebar',   'img' => ReduxFramework::$_url . 'assets/img/2cl.png'),
							'gp-right-sidebar' => array('title' => 'Right Sidebar',  'img' => ReduxFramework::$_url . 'assets/img/2cr.png'),
							'gp-no-sidebar' => array('title' => 'No Sidebar', 'img' => get_template_directory_uri() . '/lib/images/no-sidebar.png'),
							'gp-fullwidth' => array('title' => 'Fullwidth', 'img' => ReduxFramework::$_url . 'assets/img/1col.png'),
						),	
						'default' => 'gp-no-sidebar',
					),

					array(
						'id'      => 'write_a_review_sidebar',
						'type'    => 'select',
						'required' => array( 'write_a_review_layout', '=', array( 'gp-left-sidebar', 'gp-right-sidebar' ) ),
						'title'   => __( 'Sidebar', 'gp_lang' ),
						'desc' => __( 'The sidebar to display.', 'gp_lang' ),
						'data'    => 'sidebar',
						'default' => 'gp-hub-sidebar',
					),

 					array( 
						'id' => 'write_a_review_rules',
						'title' => __( 'Rules', 'gp_lang' ),
						'type' => 'textarea',
						'desc' => __( 'Add some rules to your write a review pages.', 'gp_lang' ),
						'default' => '<p><strong>Rules for writing a review</strong></p>
<ul>
<li>Distinctively formulate professional process improvements vis-a-vis sticky expertise. Objectively revolutionize distributed channels without B2B collaboration and idea-sharing.</li>
<li>Phosfluorescently mesh high-quality schemas with viral total linkage. Energistically initiate user friendly benefits via functionalized solutions. Dynamically empower global leadership through standards compliant partnerships.</li>
<li>Monotonectally actualize sustainable core competencies before parallel alignments. Intrinsicly extend fully tested partnerships for 24/365 initiatives.</li>
<li>Appropriately maximize market positioning internal or "organic" sources via user friendly interfaces. Phosfluorescently provide access to emerging expertise through market positioning deliverables. Assertively aggregate quality e-commerce with go forward growth strategies.</li>
</ul>'
					),

					array( 
						'id' => 'write_a_review_visitors',
						'title' => __( 'Allow Visitors To Post Reviews', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'Allow visitors to post reviews without logging into the site.', 'gp_lang' ),
						'options' => array(
							'enabled' => __( 'Enabled', 'gp_lang' ),
							'disabled' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'enabled',
					),

					array( 
						'id' => 'write_a_review_submitting',
						'title' => __( 'Submitting Reviews', 'gp_lang' ) . ' <span style="padding: 1px 5px;color: #C09853;background: #FCF8E3;display: inline;font-weight: bold;border: 1px solid #E7E7E7;border-radius: 3px;font-size: 12px;">' . __( 'NEW', 'gp_lang' ) . '</span>',
						'type' => 'radio',
						'desc' => __( 'Choose how users can submit their reviews.', 'gp_lang' ),
						'options' => array(
							'pending' => __( 'Reviews need to be approved before showing up on the site', 'gp_lang' ),
							'approved' => __( 'Reviews are approved automatically', 'gp_lang' ),
						),
						'default' => 'pending',
					),
					
					array( 
						'id' => 'write_a_review_editing',
						'title' => __( 'Editing/Deleting Reviews', 'gp_lang' ) . ' <span style="padding: 1px 5px;color: #C09853;background: #FCF8E3;display: inline;font-weight: bold;border: 1px solid #E7E7E7;border-radius: 3px;font-size: 12px;">' . __( 'NEW', 'gp_lang' ) . '</span>',
						'type' => 'radio',
						'desc' => __( 'Choose how users can edit and delete their reviews.', 'gp_lang' ),
						'options' => array(
							'approved' => __( 'Once a user edits a review it is approved automatically', 'gp_lang' ),
							'pending' => __( 'Once a user edits a review it needs to be approved again', 'gp_lang' ),
							'disabled' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'approved',
					),

					array( 
						'id' => 'write_a_review_email_notification',
						'title' => __( 'Email Notifications', 'gp_lang' ) . ' <span style="padding: 1px 5px;color: #C09853;background: #FCF8E3;display: inline;font-weight: bold;border: 1px solid #E7E7E7;border-radius: 3px;font-size: 12px;">' . __( 'NEW', 'gp_lang' ) . '</span>',
						'subtitle' => __( 'You will only be emailed if reviews need to be approved before they are submitted or edited.', 'gp_lang' ),
						'type' => 'radio',
						'desc' => __( 'Choose how you receive email notifications when a user submits or edits a review.', 'gp_lang' ),
						'options' => array(
							'email_always' => __( 'Email me whenever a user submits or edits a review', 'gp_lang' ),
							'email_submission' => __( 'Email me only when a user submits a review', 'gp_lang' ),
							'disabled' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'email_always',
					),
																									                    										
				),      
										
			);

			$this->sections[] = array(
				'title'     => __( 'User Reviews Page Template', 'gp_lang'),
				'desc' => __( 'Global options for all user reviews page templates.', 'gp_lang' ),
				'subsection' => true,
				'icon' => 'el-icon-star-empty',
				'fields'    => array(
																
					array( 
						'id' => 'user_reviews_layout',
						'title' => __( 'Page Layout', 'gp_lang' ),					
						'type' => 'image_select',
						'desc' => __( 'The layout of the page.', 'gp_lang' ),
						'options' => array(
							'gp-left-sidebar' => array('title' => 'Left Sidebar',   'img' => ReduxFramework::$_url . 'assets/img/2cl.png'),
							'gp-right-sidebar' => array('title' => 'Right Sidebar',  'img' => ReduxFramework::$_url . 'assets/img/2cr.png'),
							'gp-no-sidebar' => array('title' => 'No Sidebar', 'img' => get_template_directory_uri() . '/lib/images/no-sidebar.png'),
							'gp-fullwidth' => array('title' => 'Fullwidth', 'img' => ReduxFramework::$_url . 'assets/img/1col.png'),
						),	
						'default' => 'gp-right-sidebar',
					),

					array(
						'id'      => 'user_reviews_sidebar',
						'type'    => 'select',
						'required' => array( 'user_reviews_layout', '=', array( 'gp-left-sidebar', 'gp-right-sidebar' ) ),
						'title'   => __( 'Sidebar', 'gp_lang' ),
						'desc' => __( 'The sidebar to display.', 'gp_lang' ),
						'data'    => 'sidebar',
						'default' => 'gp-hub-sidebar',
					),
                    																	
					array(
						'id'       => 'user_reviews_per_page',
						'type'     => 'spinner',
						'title'    => __( 'Items Per Page', 'gp_lang' ),
						'desc' => __( 'The number of items on each page.', 'gp_lang' ),
						'min' => 1,
						'max' => 999999,
						'default' => 12,
					),

					array(  
						'id' => 'user_reviews_featured_image',
						'title' => __( 'Featured Image', 'gp_lang' ) . ' <span style="padding: 1px 5px;color: #C09853;background: #FCF8E3;display: inline;font-weight: bold;border: 1px solid #E7E7E7;border-radius: 3px;font-size: 12px;">' . __( 'NEW', 'gp_lang' ) . '</span>',
						'desc' => __( 'Display the featured images.', 'gp_lang' ),
						'type' => 'button_set',
						'options' => array(
							'enabled' => __( 'Enabled', 'gp_lang' ),
							'disabled' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'enabled',
					),

					array(
						'id' => 'user_reviews_image',
						'type' => 'dimensions',
						'required'  => array( 'user_reviews_featured_image', '=', 'enabled' ),
						'units' => false,
						'title' => __( 'Image Dimensions', 'gp_lang' ) . ' <span style="padding: 1px 5px;color: #C09853;background: #FCF8E3;display: inline;font-weight: bold;border: 1px solid #E7E7E7;border-radius: 3px;font-size: 12px;">' . __( 'NEW', 'gp_lang' ) . '</span>',
						'subtitle' => __( 'Set height to 0 to have a proportionate height.', 'gp_lang' ),
						'desc' => __( 'The width and height of the featured images.', 'gp_lang' ),
                        'default'           => array(
                            'width'     => 150, 
                            'height'    => 150,
                        ),
					),

					array(
						'id' => 'user_reviews_hard_crop',
						'title' => __( 'Hard Crop', 'gp_lang' ) . ' <span style="padding: 1px 5px;color: #C09853;background: #FCF8E3;display: inline;font-weight: bold;border: 1px solid #E7E7E7;border-radius: 3px;font-size: 12px;">' . __( 'NEW', 'gp_lang' ) . '</span>',
						'type' => 'button_set',
						'required'  => array( 'user_reviews_featured_image', '=', 'enabled' ),
						'desc' => __( 'Images are cropped even if it is smaller than the dimensions you want to crop it to.', 'gp_lang' ),
						'options' => array(
							true => __( 'Enabled', 'gp_lang' ),
							false => __( 'Disabled', 'gp_lang' ),
						),
						'default' => true,
					),
	
					array(
						'id' => 'user_reviews_image_alignment',
						'title' => __( 'Image Alignment', 'gp_lang' ) . ' <span style="padding: 1px 5px;color: #C09853;background: #FCF8E3;display: inline;font-weight: bold;border: 1px solid #E7E7E7;border-radius: 3px;font-size: 12px;">' . __( 'NEW', 'gp_lang' ) . '</span>',
						'type' => 'select',
						'required'  => array( 'cat_featured_image', '=', 'enabled' ),
						'desc' => __( 'Choose how the images align with the content.', 'gp_lang' ),
						'options' => array(
							'image-wrap-left' => __( 'Left Wrap', 'gp_lang' ),
							'image-wrap-right' => __( 'Right Wrap', 'gp_lang' ),
							'image-above' => __( 'Above Content', 'gp_lang' ),
							'image-align-left' => __( 'Left Align', 'gp_lang' ),
							'image-align-right' => __( 'Right Align', 'gp_lang' ),
						),
						'default' => 'image-align-left',
					),
									
					array( 
						'id' => 'user_reviews_content_display',
						'title' => __( 'Content Display', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'The amount of content displayed.', 'gp_lang' ),
						'options' => array(
							'excerpt' => __( 'Excerpt', 'gp_lang' ),
							'full_content' => __( 'Full Content', 'gp_lang' ),
						),
						'default' => 'excerpt',
					),
				
					array( 
						'id' => 'user_reviews_excerpt_length',
						'title' => __( 'Excerpt Length', 'gp_lang' ),
						'required'  => array( 'user_reviews_content_display', '=', 'excerpt' ),
						'type' => 'spinner',
						'desc' => __( 'The number of characters in excerpts.', 'gp_lang' ),
						'min' => 0,
						'max' => 999999,
						'default' => '400',
					),

                    array(
                        'id'        => 'user_reviews_meta',
                        'type'      => 'checkbox',
                        'title'     => __( 'Post Meta', 'gp_lang' ),
                        'desc' => __( 'Select the meta data you want to display.', 'gp_lang' ), 
                        'options'   => array(
                            'author' => __( 'Author Name', 'gp_lang' ),
                            'date' => __( 'Post Date', 'gp_lang' ),
                            'comment_count' => __( 'Comment Count', 'gp_lang' ),
                            'views' => __( 'Views', 'gp_lang' ),
                        ),
                        'default'   => array(
                            'author' => '1',
                            'date' => '1', 
							'comment_count' => '1',
                            'views' => '1',
                        )
                    ),
                    
					array(
						'id'        => 'user_reviews_display_rating',
						'type'      => 'checkbox',
						'title'     => __( 'Ratings', 'gp_lang' ),
						'desc' => __( 'Select the ratings you want to display.', 'gp_lang' ), 
						'options'   => array(
							'site_rating' => 'Site Rating',
						),
						'default'   => array(
							'site_rating' => '1',
						)
					),
					                    
					array(  
						'id' => 'user_reviews_read_more_link',
						'title' => __( 'Read More Link', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'Add a read more link below the content.', 'gp_lang' ),
						'options' => array(
							'enabled' => __( 'Enabled', 'gp_lang' ),
							'disabled' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'enabled',
					),
													                    										
				),      
										
			);
									
			$this->sections[] = array(
				'title' => __('Hub Categories', 'gp_lang'),
				'desc' => __( 'Global options for all hub categories.', 'gp_lang' ),
				'subsection' => true,
				'icon' => 'el-icon-globe-alt',
				'fields' => array(	

                	array(
                        'id'        => 'hub_cat_slug',
                        'type'      => 'text',
                        'title'     => __( 'Slug', 'gp_lang' ),
                        'subtitle'  => __( 'After changing the slug, go to', 'gp_lang') . ' <a href="'.admin_url( 'options-permalink.php' ).'">' . __( 'Settings -> Permalinks' ,'gp_lang' ) . '</a> ' . __( 'and click Save Changes.', 'gp_lang' ),
						'desc' => __( 'Custom slug used in the URL for hub categories e.g. ', 'gp_lang' ) . 'http://domain.com/<strong>hubs</strong>/category-name.',
                        'validate'  => 'str_replace',
                        'str'       => array(
                            'search'        => ' ', 
                            'replacement'   => '-'
                        ),
                        'default'   => 'hubs'
                    ),

                	array(
                        'id'        => 'hub_cat_prefix_slug',
                        'type'      => 'text',
                        'title'     => __( 'Prefix Category Slugs', 'gp_lang' ),
                        'subtitle'  => __( 'Leave blank to remove the prefix from category slugs.', 'gp_lang' ),
						'desc' => __( 'Prefix hub category slugs to avoid conflicts with post, video and portfolio categories e.g. ', 'gp_lang' ) . 'http://domain.com/hubs/<strong>hub</strong>-category-name.',
                        'validate'  => 'str_replace',
                        'str'       => array(
                            'search'        => ' ', 
                            'replacement'   => '-'
                        ),
                        'default'   => ''
                    ),

					array( 
						'id' => 'hub_cat_title',
						'title' => __( 'Title Header', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'Add the title header on the page.', 'gp_lang' ),
						'options' => array(
							'gp-large-title' => __( 'Enabled', 'gp_lang' ),
							'gp-no-large-title' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'gp-large-title',
					),
					                    
					array( 
						'id' => 'hub_cat_layout',
						'title' => __( 'Page Layout', 'gp_lang' ),					
						'type' => 'image_select',
						'desc' => __( 'The layout of the page.', 'gp_lang' ),
						'options' => array(
                            'gp-left-sidebar' => array('title' => 'Left Sidebar',   'img' => ReduxFramework::$_url . 'assets/img/2cl.png'),
                            'gp-right-sidebar' => array('title' => 'Right Sidebar',  'img' => ReduxFramework::$_url . 'assets/img/2cr.png'),
                            'gp-no-sidebar' => array('title' => 'No Sidebar', 'img' => get_template_directory_uri() . '/lib/images/no-sidebar.png'),
							'gp-fullwidth' => array('title' => 'Fullwidth', 'img' => ReduxFramework::$_url . 'assets/img/1col.png'),
						),	
						'default' => 'gp-right-sidebar',
					),

                    array(
                        'id'      => 'hub_cat_sidebar',
                        'type'    => 'select',
                        'required' => array( 'hub_cat_layout', '=', array( 'gp-left-sidebar', 'gp-right-sidebar' ) ),
                        'title'   => __( 'Sidebar', 'gp_lang' ),
						'desc' => __( 'The sidebar to display.', 'gp_lang' ),
                        'data'    => 'sidebar',
                        'default' => 'gp-hub-cat-sidebar',
                    ),                    
                    
                    array( 
						'id' => 'hub_cat_format',
						'title' => __( 'Format', 'gp_lang' ) . ' <span style="padding: 1px 5px;color: #C09853;background: #FCF8E3;display: inline;font-weight: bold;border: 1px solid #E7E7E7;border-radius: 3px;font-size: 12px;">' . __( 'NEW', 'gp_lang' ) . '</span>',
							'rand' => __( 'Random', 'gp_lang' ) . ' <span style="padding: 1px 5px;color: #C09853;background: #FCF8E3;display: inline;font-weight: bold;border: 1px solid #E7E7E7;border-radius: 3px;font-size: 12px;">' . __( 'NEW', 'gp_lang' ) . '</span>',
						'type' => 'select',
						'desc' => __( 'The format to display the items in.', 'gp_lang' ),
						'options' => array(
							'blog-standard' => __( 'Standard', 'gp_lang' ),
							'blog-columns-1' => __( '1 Column', 'gp_lang' ),
							'blog-columns-2' => __( '2 Columns', 'gp_lang' ),
							'blog-columns-3' => __( '3 Columns', 'gp_lang' ),
							'blog-columns-4' => __( '4 Columns', 'gp_lang' ),
							'blog-columns-5' => __( '5 Columns', 'gp_lang' ),
							'blog-columns-6' => __( '6 Columns', 'gp_lang' ),
							'blog-masonry' => __( 'Masonry', 'gp_lang' ),
						),
						'default' => 'blog-standard',
					),
					
					array( 
						'id' => 'hub_cat_size',
						'title' => __( 'Size', 'gp_lang' ) . ' <span style="padding: 1px 5px;color: #C09853;background: #FCF8E3;display: inline;font-weight: bold;border: 1px solid #E7E7E7;border-radius: 3px;font-size: 12px;">' . __( 'NEW', 'gp_lang' ) . '</span>',
							'rand' => __( 'Random', 'gp_lang' ) . ' <span style="padding: 1px 5px;color: #C09853;background: #FCF8E3;display: inline;font-weight: bold;border: 1px solid #E7E7E7;border-radius: 3px;font-size: 12px;">' . __( 'NEW', 'gp_lang' ) . '</span>',
						'type' => 'button_set',
						'desc' => __( 'The size to display the items at.', 'gp_lang' ),
						'options' => array(
							'blog-standard-size' => __( 'Standard', 'gp_lang' ),
							'blog-small-size' => __( 'Small', 'gp_lang' ),							
							'blog-large-size' => __( 'Large', 'gp_lang' ),
						),
						'default' => 'blog-standard-size',
					),

					array(  
						'id' => 'hub_cat_orderby',
						'title' => __( 'Order By', 'gp_lang' ),
						'type' => 'radio',
						'desc' => __( 'The criteria which the items are ordered by.', 'gp_lang' ),
						'options' => array(
							'newest' => __( 'Newest', 'gp_lang' ),
							'oldest' => __( 'Oldest', 'gp_lang' ),
							'title_az' => __( 'Title (A-Z)', 'gp_lang' ),
							'title_za' => __( 'Title (Z-A)', 'gp_lang' ),
							'comment_count' => __( 'Most Comments', 'gp_lang' ),
							'views' => __( 'Most Views', 'gp_lang' ),
							'followers' => __( 'Most Followers', 'gp_lang' ),
							'site_rating' => __( 'Top Site Rated', 'gp_lang' ),
							'user_rating' => __( 'Top User Rated', 'gp_lang' ),
							'hub_awards' => __( 'Hub Awards', 'gp_lang' ),
							'menu_order' => __( 'Menu Order', 'gp_lang' ) . ' <span style="padding: 1px 5px;color: #C09853;background: #FCF8E3;display: inline;font-weight: bold;border: 1px solid #E7E7E7;border-radius: 3px;font-size: 12px;">' . __( 'NEW', 'gp_lang' ) . '</span>',
							'rand' => __( 'Random', 'gp_lang' ) . ' <span style="padding: 1px 5px;color: #C09853;background: #FCF8E3;display: inline;font-weight: bold;border: 1px solid #E7E7E7;border-radius: 3px;font-size: 12px;">' . __( 'NEW', 'gp_lang' ) . '</span>',
						),
						'default' => 'newest',
					),

					array(  
						'id' => 'hub_cat_date_posted',
						'title' => __( 'Date Posted', 'gp_lang' ) . ' <span style="padding: 1px 5px;color: #C09853;background: #FCF8E3;display: inline;font-weight: bold;border: 1px solid #E7E7E7;border-radius: 3px;font-size: 12px;">' . __( 'NEW', 'gp_lang' ) . '</span>',
						'type' => 'radio',
						'desc' => __( 'The date the items were posted.', 'gp_lang' ),
						'options' => array(
							'all' => __( 'Any date', 'gp_lang' ),
							'year' => __( 'In the last year', 'gp_lang' ),
							'month' => __( 'In the last month', 'gp_lang' ),
							'week' => __( 'In the last week', 'gp_lang' ),
							'day' => __( 'In the last day', 'gp_lang' ),
						),
						'default' => 'all',
					),

					array(  
						'id' => 'hub_cat_date_modified',
						'title' => __( 'Date Modified', 'gp_lang' ) . ' <span style="padding: 1px 5px;color: #C09853;background: #FCF8E3;display: inline;font-weight: bold;border: 1px solid #E7E7E7;border-radius: 3px;font-size: 12px;">' . __( 'NEW', 'gp_lang' ) . '</span>',
						'type' => 'radio',
						'desc' => __( 'The date the items were modified.', 'gp_lang' ),
						'options' => array(
							'all' => __( 'Any date', 'gp_lang' ),
							'year' => __( 'In the last year', 'gp_lang' ),
							'month' => __( 'In the last month', 'gp_lang' ),
							'week' => __( 'In the last week', 'gp_lang' ),
							'day' => __( 'In the last day', 'gp_lang' ),
						),
						'default' => 'all',
					),
			     
					array(  
						'id' => 'hub_cat_filter',
						'title' => __( 'Filter', 'gp_lang' ),
						'desc' => __( 'Add a dropdown filter menu to the page.', 'gp_lang' ),
						'type' => 'button_set',
						'options' => array(
							'enabled' => __( 'Enabled', 'gp_lang' ),
							'disabled' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'enabled',
					),

                    array(
                        'id'        => 'hub_cat_filter_options',
                        'type'      => 'checkbox',
						'required'  => array( 'hub_cat_filter', '=', 'enabled' ),
                        'title'     => __( 'Filter Options', 'gp_lang' ),
                        'desc' => __( 'Choose what options to display in the dropdown filter menu.', 'gp_lang' ), 
                        'options'   => array(
                            'date' => __( 'Date', 'gp_lang' ),
                            'title' => __( 'Title', 'gp_lang' ),
                            'comment_count' => __( 'Comment Count', 'gp_lang' ),
                            'views' => __( 'Views', 'gp_lang' ),
							'followers' => __( 'Followers', 'gp_lang' ),
                            'site_rating' => __( 'Site Rating', 'gp_lang' ),
                            'user_rating' => __( 'User Rating', 'gp_lang' ),
                            'hub_awards' => __( 'Hub Awards', 'gp_lang' ),
                            'date_posted' => __( 'Date Posted', 'gp_lang' ) . ' <span style="padding: 1px 5px;color: #C09853;background: #FCF8E3;display: inline;font-weight: bold;border: 1px solid #E7E7E7;border-radius: 3px;font-size: 12px;">' . __( 'NEW', 'gp_lang' ) . '</span>',
                            'date_modified' => __( 'Date Modified', 'gp_lang' ) . ' <span style="padding: 1px 5px;color: #C09853;background: #FCF8E3;display: inline;font-weight: bold;border: 1px solid #E7E7E7;border-radius: 3px;font-size: 12px;">' . __( 'NEW', 'gp_lang' ) . '</span>',
                        ),
                        'default'   => array(
                            'date' => '1',
                            'title' => '1',
                            'comment_count' => '1',
                            'views' => '1',
                            'followers' => '1',
                            'site_rating' => '1',
                            'user_rating' => '1',
                            'hub_awards' => '1',
                            'date_posted' => '1',
                            'date_modified' => '0',
                        )
                    ),
                    			
					array(
						'id'       => 'hub_cat_per_page',
						'type'     => 'spinner',
						'title'    => __( 'Items Per Page', 'gp_lang' ),
						'desc' => __( 'The number of items on each page.', 'gp_lang' ),
						'min' => 1,
						'max' => 999999,
						'default' => 12,
					),
				
					array(  
						'id' => 'hub_cat_featured_image',
						'title' => __( 'Featured Image', 'gp_lang' ),
						'desc' => __( 'Display the featured images.', 'gp_lang' ),
						'type' => 'button_set',
						'options' => array(
							'enabled' => __( 'Enabled', 'gp_lang' ),
							'disabled' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'enabled',
					),

					array(
						'id' => 'hub_cat_image',
						'type' => 'dimensions',
						'required'  => array( 'hub_cat_featured_image', '=', 'enabled' ),
						'units' => false,
						'title' => __( 'Image Dimensions', 'gp_lang' ),
						'subtitle' => __( 'Set height to 0 to have a proportionate height.', 'gp_lang' ),
						'desc' => __( 'The width and height of the featured images.', 'gp_lang' ),
                        'default'           => array(
                            'width'     => 150, 
                            'height'    => 150,
                        ),
					),

					array(
						'id' => 'hub_cat_hard_crop',
						'title' => __( 'Hard Crop', 'gp_lang' ),
						'type' => 'button_set',
						'required'  => array( 'hub_cat_featured_image', '=', 'enabled' ),
						'desc' => __( 'Images are cropped even if it is smaller than the dimensions you want to crop it to.', 'gp_lang' ),
						'options' => array(
							true => __( 'Enabled', 'gp_lang' ),
							false => __( 'Disabled', 'gp_lang' ),
						),
						'default' => true,
					),
	
					array(
						'id' => 'hub_cat_image_alignment',
						'title' => __( 'Image Alignment', 'gp_lang' ),
						'type' => 'select',
						'required'  => array( 'cat_featured_image', '=', 'enabled' ),
						'desc' => __( 'Choose how the images align with the content.', 'gp_lang' ),
						'options' => array(
							'image-wrap-left' => __( 'Left Wrap', 'gp_lang' ),
							'image-wrap-right' => __( 'Right Wrap', 'gp_lang' ),
							'image-above' => __( 'Above Content', 'gp_lang' ),
							'image-align-left' => __( 'Left Align', 'gp_lang' ),
							'image-align-right' => __( 'Right Align', 'gp_lang' ),
						),
						'default' => 'image-align-left',
					),

					array( 
						'id' => 'hub_cat_title_position',
						'title' => __( 'Title Position', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'The position of the title.', 'gp_lang' ),
						'options' => array(
							'title-next-to-thumbnail' => __( 'Next To Thumbnail', 'gp_lang' ),
							'title-over-thumbnail' => __( 'Over Thumbnail', 'gp_lang' ),
						),
						'default' => 'title-next-to-thumbnail',
					),
								
					array( 
						'id' => 'hub_cat_content_display',
						'title' => __( 'Content Display', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'The amount of content displayed.', 'gp_lang' ),
						'options' => array(
							'excerpt' => __( 'Excerpt', 'gp_lang' ),
							'full_content' => __( 'Full Content', 'gp_lang' ),
						),
						'default' => 'excerpt',
					),
				
					array( 
						'id' => 'hub_cat_excerpt_length',
						'title' => __( 'Excerpt Length', 'gp_lang' ),
						'required'  => array( 'hub_cat_content_display', '=', 'excerpt' ),
						'type' => 'spinner',
						'desc' => __( 'The number of characters in excerpts.', 'gp_lang' ),
						'min' => 0,
						'max' => 999999,
						'default' => 150,
					),

                    array(
                        'id'        => 'hub_cat_meta',
                        'type'      => 'checkbox',
                        'title'     => __( 'Post Meta', 'gp_lang' ),
                        'desc' => __( 'Select the meta data you want to display.', 'gp_lang' ), 
                        'options'   => array(
                            'author' => __( 'Author Name', 'gp_lang' ), 
                            'date' => __( 'Post Date', 'gp_lang' ), 
                            'comment_count' => __( 'Comment Count', 'gp_lang' ), 
                            'views' => __( 'Views', 'gp_lang' ),
                            'followers' => __( 'Followers', 'gp_lang' ) . ' <span style="padding: 1px 5px;color: #C09853;background: #FCF8E3;display: inline;font-weight: bold;border: 1px solid #E7E7E7;border-radius: 3px;font-size: 12px;">' . __( 'NEW', 'gp_lang' ) . '</span>',
                            'tags' => __( 'Post Tags', 'gp_lang' ), 
                            'hub_cats' => __( 'Hub Categories', 'gp_lang' ), 
							'hub_fields' => __( 'Hub Fields', 'gp_lang' ), 
							'hub_award' => __( 'Hub Award', 'gp_lang' ), 
                        ),
                        'default'   => array(
                            'author' => '0',
                            'date' => '0', 
							'comment_count' => '0',
                            'views' => '0',
							'followers' => '0',
							'tags' => '0',
							'hub_cats' => '1',
							'hub_fields' => '1',
							'hub_award' => '1',
                        ),
                    ),
									
					array(
						'id'       => 'hub_cat_cats',
						'type'     => 'select',
						'multi' => true,
						'title'    => __( 'Hub Categories', 'gp_lang' ),
						'data' => 'terms',
						'args' => array( 'taxonomies' => 'gp_hubs' ),
						'desc' => __( 'Select the hub categories you want to display.', 'gp_lang' ),
						'default' => '',
					),
			
					array(
						'id'       => 'hub_cat_fields',
						'type'     => 'select',
						'multi' => true,
						'title'    => __( 'Hub Fields', 'gp_lang' ),
						'data' => 'taxonomies',
						'args' => array( 'object_type' => array( 'page' ) ),
						'desc' => __( 'Select the hub fields you want to display.', 'gp_lang' ),
					),											

					array(
						'id'        => 'hub_cat_display_rating',
						'type'      => 'checkbox',
						'title'     => __( 'Ratings', 'gp_lang' ),
						'desc' => __( 'Select the ratings you want to display.', 'gp_lang' ), 
						'options'   => array(
							'site_rating' => __( 'Site Rating', 'gp_lang' ),
							'user_rating' => __( 'User Rating', 'gp_lang' ),
						),
						'default'   => array(
							'site_rating' => '1',
							'user_rating' => '1',
						)
					),
					                    
					array(  
						'id' => 'hub_cat_read_more_link',
						'title' => __( 'Read More Link', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'Add a read more link below the content.', 'gp_lang' ),
						'options' => array(
							'enabled' => __( 'Enabled', 'gp_lang' ),
							'disabled' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'enabled',
					),
								            
                ),                
            );


			$this->sections[] = array(
				'title' => __('Portfolios', 'gp_lang'),
				'desc' => __('Global options for all portfolio items (some options can be overridden on individual portfolio items).', 'gp_lang'),
				'icon' => 'el-icon-photo-alt',
				'fields' => array(							

                	array(
                        'id'        => 'portfolio_item_slug',
                        'type'      => 'text',
                        'title'     => __( 'Slug', 'gp_lang' ),
                        'subtitle'  => __( 'After changing the slug, go to', 'gp_lang') . ' <a href="'.admin_url( 'options-permalink.php' ).'">' . __( 'Settings -> Permalinks' ,'gp_lang' ) . '</a> ' . __( 'and click Save Changes.', 'gp_lang' ),
						'desc' => __( 'Custom slug used in the URL for portfolio categories e.g. ', 'gp_lang' ) . 'http://domain.com/<strong>portfolios</strong>/item-name.',
                        'validate'  => 'str_replace',
                        'str'       => array(
                            'search'        => ' ', 
                            'replacement'   => '-'
                        ),
                        'default'   => 'portfolio-item'
                    ),

					array( 
						'id' => 'portfolio_item_title',
						'title' => __( 'Title Header', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'Add the title header on the page.', 'gp_lang' ),
						'options' => array(
							'gp-large-title' => __( 'Enabled', 'gp_lang' ),
							'gp-no-large-title' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'gp-large-title',
					),
					                    
					array( 
						'id' => 'portfolio_item_layout',
						'title' => __( 'Page Layout', 'gp_lang' ),					
						'type' => 'image_select',
						'desc' => __( 'The layout of the page.', 'gp_lang' ),
						'options' => array(
                            'gp-left-sidebar' => array('title' => 'Left Sidebar',   'img' => ReduxFramework::$_url . 'assets/img/2cl.png'),
                            'gp-right-sidebar' => array('title' => 'Right Sidebar',  'img' => ReduxFramework::$_url . 'assets/img/2cr.png'),
                            'gp-no-sidebar' => array('title' => 'No Sidebar', 'img' => get_template_directory_uri() . '/lib/images/no-sidebar.png'),
							'gp-fullwidth' => array('title' => 'Fullwidth', 'img' => ReduxFramework::$_url . 'assets/img/1col.png'),
						),	
						'default' => 'gp-no-sidebar',
					),

                    array(
                        'id'      => 'portfolio_item_sidebar',
                        'type'    => 'select',
                        'required' => array( 'portfolio_item_layout', '=', array( 'gp-left-sidebar', 'gp-right-sidebar' ) ),
                        'title'   => __( 'Sidebar', 'gp_lang' ),
						'desc' => __( 'The sidebar to display.', 'gp_lang' ),
                        'data'    => 'sidebar',
                        'default' => 'gp-standard-sidebar',
                    ),
  
                 	array(
                        'id'        => 'portfolio_item_type',
                        'type'      => 'radio',
                        'title'     => __( 'Image/Slider Type', 'gp_lang' ),
						'desc' => __( 'The type of image or slider on the page.', 'gp_lang' ),
                        'options'   => array(
                            'left-image' => 'Left Featured Image',
                            'fullwidth-image' => 'Fullwidth Featured Image',
                            'left-slider' => 'Left Slider',
                            'fullwidth-slider' => 'Fullwidth Slider',
                            'none' => 'None',
                        ), 
                        'default'   => 'left-image',
                    ),   

					array(
						'id' => 'portfolio_item_image',
						'type' => 'dimensions',
						'required'  => array( 'portfolio_item_type', '!=', 'none' ),
						'units' => false,
						'title' => __( 'Image/Slider Dimensions', 'gp_lang' ),
						'subtitle' => __( 'Set height to 0 to have a proportionate height.', 'gp_lang' ),
						'desc' => __( 'The width and height of the featured image or slider.', 'gp_lang' ),
                        'default'           => array(
                            'width'     => 1170, 
                            'height'    => 0,
                        ),
					),
					
					array(
						'id' => 'portfolio_item_hard_crop',
						'title' => __( 'Hard Crop', 'gp_lang' ),
						'type' => 'button_set',
						'required'  => array( 'portfolio_item_type', '!=', 'none' ),
						'desc' => __( 'Images are cropped even if it is smaller than the dimensions you want to crop it to.', 'gp_lang' ),
						'options' => array(
							true => __( 'Enabled', 'gp_lang' ),
							false => __( 'Disabled', 'gp_lang' ),
						),
						'default' => true,
					),

					array(
						'id' => 'portfolio_item_image_size',
						'title' => __( 'Image Size', 'gp_lang' ),
						'subtitle' => __( 'Only for use with the Masonry portfolio type.', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'Size of the image when displayed on a masonry portfolio page.', 'gp_lang' ),
						'options' => array(
							'regular' => __( 'Regular', 'gp_lang' ),
							'wide' => __( 'Wide', 'gp_lang' ),
							'tall' => __( 'Tall', 'gp_lang' ),
							'large' => __( 'Large', 'gp_lang' ),
						),
						'default' => 'regular',
					),
								
					array( 	
						'id' => 'portfolio_item_link_text',
						'title' => __( 'Button Text', 'gp_lang' ),
						'type' => 'text',
						'desc' => __( 'The text for the button.', 'gp_lang' ),
						'default' => 'Website',
					), 

					array( 
						'id' => 'portfolio_item_link_target',
						'title' => __( 'Button Link Target', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'The target for the button link.', 'gp_lang' ),
						'options' => array(
							'_blank' => __( 'New Window', 'gp_lang' ),
							'_self' => __( 'Same Window', 'gp_lang' ),
						),
						'default' => '_blank',
					),

					array(  
						'id' => 'portfolio_item_related_items',
						'title' => __( 'Related Items', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'Add a related items section to the page.', 'gp_lang' ), 
						'options' => array(
							'enabled' => __( 'Enabled', 'gp_lang' ),
							'disabled' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'enabled',
					),
						
					array( 
						'id' => 'portfolio_item_related_items_per_page',
						'title' => __( 'Number Of Related Items', 'gp_lang' ),
						'type' => 'spinner',
						'desc' => __( 'The number of related items to display.', 'gp_lang' ),
						'required'  => array( 'portfolio_item_related_items', '=', 'enabled' ),
						'min' => 1,
						'max' => 999999,
						'default' => 4,
					),

					array(
						'id' => 'portfolio_item_related_items_image',
						'type' => 'dimensions',
						'required'  => array( 'portfolio_item_related_items', '=', 'enabled' ),
						'units' => false,
						'title' => __( 'Related Items Image Dimensions', 'gp_lang' ),
						'subtitle' => __( 'Set height to 0 to have a proportionate height.', 'gp_lang' ),
						'desc' => __( 'The width and height of the related images.', 'gp_lang' ),
                        'default'           => array(
                            'width'     => 257, 
                            'height'    => 150,
                        ),
                    ),    
                        
				),
    				
    		);	
    		            
			$this->sections[] = array(
				'title' => __('Portfolio Categories', 'gp_lang'),
				'subsection' => true,
				'icon' => 'el-icon-th',
				'desc' => __('Global options for all portfolio categories (some options can be overridden on individual pages using the Portfolio page template).', 'gp_lang'),
				'fields' => array(
				
                	array(
                        'id'        => 'portfolio_cat_slug',
                        'type'      => 'text',
                        'title'     => __( 'Slug', 'gp_lang' ),
                        'subtitle'  => __( 'After changing the slug, go to', 'gp_lang') . ' <a href="'.admin_url( 'options-permalink.php' ).'">' . __( 'Settings -> Permalinks' ,'gp_lang' ) . '</a> ' . __( 'and click Save Changes.', 'gp_lang' ),
						'desc' => __( 'Custom slug used in the URL for portfolio categories e.g. ', 'gp_lang' ) . 'http://domain.com/<strong>portfolios</strong>/category-name.',
                        'validate'  => 'str_replace',
                        'str'       => array(
                            'search'        => ' ', 
                            'replacement'   => '-',
                        ),
                        'default'   => 'portfolios',
                    ),

                	array(
                        'id'        => 'portfolio_cat_prefix_slug',
                        'type'      => 'text',
                        'title'     => __( 'Prefix Category Slugs', 'gp_lang' ),
                        'subtitle'  => __( 'Leave blank to remove the prefix from category slugs.', 'gp_lang' ),
						'desc' => __( 'Prefix portfolio category slugs to avoid conflicts with post, video and hub categories e.g. ', 'gp_lang' ) . 'http://domain.com/portfolios/<strong>portfolio</strong>-category-name.',
                        'validate'  => 'str_replace',
                        'str'       => array(
                            'search'        => ' ', 
                            'replacement'   => '-'
                        ),
                        'default'   => ''
                    ),
					
					array( 
						'id' => 'portfolio_cat_title',
						'title' => __( 'Title Header', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'Add the title header on the page.', 'gp_lang' ),
						'options' => array(
							'gp-large-title' => __( 'Enabled', 'gp_lang' ),
							'gp-no-large-title' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'gp-large-title',
					),
					                    				
					array( 
						'id' => 'portfolio_cat_layout',
						'title' => __( 'Page Layout', 'gp_lang' ),					
						'type' => 'image_select',
						'desc' => __( 'The layout of the page.', 'gp_lang' ),
						'options' => array(
                            'gp-left-sidebar' => array('title' => 'Left Sidebar',   'img' => ReduxFramework::$_url . 'assets/img/2cl.png'),
                            'gp-right-sidebar' => array('title' => 'Right Sidebar',  'img' => ReduxFramework::$_url . 'assets/img/2cr.png'),
                            'gp-no-sidebar' => array('title' => 'No Sidebar', 'img' => get_template_directory_uri() . '/lib/images/no-sidebar.png'),
							'gp-fullwidth' => array('title' => 'Fullwidth', 'img' => ReduxFramework::$_url . 'assets/img/1col.png'),
						),	
						'default' => 'gp-no-sidebar',
					),

                    array(
                        'id'      => 'portfolio_cat_sidebar',
                        'type'    => 'select',
                        'required' => array( 'portfolio_cat_layout', '=', array( 'gp-left-sidebar', 'gp-right-sidebar' ) ),
                        'title'   => __( 'Sidebar', 'gp_lang' ),
						'desc' => __( 'The sidebar to display.', 'gp_lang' ),
                        'data'    => 'sidebar',
                        'default' => 'gp-standard-sidebar',
                    ),

					array( 
						'id' => 'portfolio_cat_format',
						'title' => __( 'Portfolio Format', 'gp_lang' ),					
						'type' => 'select',
						'desc' => __( 'The format to display the items in.', 'gp_lang' ),
						'options' => array(
                            'portfolio-columns-2' => __( '2 Columns', 'gp_lang' ),
                            'portfolio-columns-3' => __( '3 Columns', 'gp_lang' ),
                            'portfolio-columns-4' => __( '4 Columns', 'gp_lang' ),
							'portfolio-columns-5' => __( '5 Columns', 'gp_lang' ),
							'portfolio-columns-6' => __( '6 Columns', 'gp_lang' ),
							'portfolio-masonry' => __( 'Masonry', 'gp_lang' ),
						),	
						'default' => 'portfolio-columns-2',
					),

					array(  
						'id' => 'portfolio_cat_orderby',
						'title' => __( 'Order By', 'gp_lang' ),
						'type' => 'radio',
						'desc' => __( 'The criteria which the items are ordered by.', 'gp_lang' ),
						'options' => array(
							'newest' => __( 'Newest', 'gp_lang' ),
							'oldest' => __( 'Oldest', 'gp_lang' ),
							'title_az' => __( 'Title (A-Z)', 'gp_lang' ),
							'title_za' => __( 'Title (Z-A)', 'gp_lang' ),
							'comment_count' => __( 'Most Comments', 'gp_lang' ),
							'views' => __( 'Most Views', 'gp_lang' ),
							'menu_order' => __( 'Menu Order', 'gp_lang' ),
							'rand' => __( 'Random', 'gp_lang' ),
						),
						'default' => 'newest',
					),
					
					array(  
						'id' => 'portfolio_cat_date_posted',
						'title' => __( 'Date Posted', 'gp_lang' ) . ' <span style="padding: 1px 5px;color: #C09853;background: #FCF8E3;display: inline;font-weight: bold;border: 1px solid #E7E7E7;border-radius: 3px;font-size: 12px;">' . __( 'NEW', 'gp_lang' ) . '</span>',
						'type' => 'radio',
						'desc' => __( 'The date the items were posted.', 'gp_lang' ),
						'options' => array(
							'all' => __( 'Any date', 'gp_lang' ),
							'year' => __( 'In the last year', 'gp_lang' ),
							'month' => __( 'In the last month', 'gp_lang' ),
							'week' => __( 'In the last week', 'gp_lang' ),
							'day' => __( 'In the last day', 'gp_lang' ),
						),
						'default' => 'all',
					),

					array(  
						'id' => 'portfolio_cat_date_modified',
						'title' => __( 'Date Modified', 'gp_lang' ) . ' <span style="padding: 1px 5px;color: #C09853;background: #FCF8E3;display: inline;font-weight: bold;border: 1px solid #E7E7E7;border-radius: 3px;font-size: 12px;">' . __( 'NEW', 'gp_lang' ) . '</span>',
						'type' => 'radio',
						'desc' => __( 'The date the items were modified.', 'gp_lang' ),
						'options' => array(
							'all' => __( 'Any date', 'gp_lang' ),
							'year' => __( 'In the last year', 'gp_lang' ),
							'month' => __( 'In the last month', 'gp_lang' ),
							'week' => __( 'In the last week', 'gp_lang' ),
							'day' => __( 'In the last day', 'gp_lang' ),
						),
						'default' => 'all',
					),
												
					array(  
						'id' => 'portfolio_cat_filter',
						'title' => __( 'Filter', 'gp_lang' ),
						'desc' => __( 'Add a dropdown filter menu to the page.', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'Add category filter links to the page.', 'gp_lang' ),
						'options' => array(
							'enabled' => __( 'Enabled', 'gp_lang' ),
							'disabled' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'enabled',
					),					

					array( 
						'id' => 'portfolio_cat_per_page',
						'title' => __( 'Items Per Page', 'gp_lang' ),
						'type' => 'spinner',
						'desc' => __( 'The number of items on each page.', 'gp_lang' ),
						'min' => 1,
						'max' => 999999,
						'default' => 12,
					),
					
				),
			
			);
			
		 	
			$this->sections[] = array(
				'title' => __( 'WooCommerce', 'gp_lang' ),
				'desc' => __( 'Global options for WooCommerce pages (can be overridden on individual shop page).', 'gp_lang' ),
				'icon' => 'el-icon-shopping-cart',
				'fields' => array(
				
					array( 
						'id' => 'shop_title',
						'title' => __( 'Shop Title Header', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'Add the title header on the page.', 'gp_lang' ),
						'options' => array(
							'gp-large-title' => __( 'Enabled', 'gp_lang' ),
							'gp-no-large-title' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'gp-large-title',
					),
												
					array( 
						'id' => 'shop_layout',
						'title' => __( 'Shop Page Layout', 'gp_lang' ),					
						'type' => 'image_select',
						'desc' => __( 'The layout of the page.', 'gp_lang' ),
						'options' => array(
                            'gp-left-sidebar' => array('title' => 'Left Sidebar',   'img' => ReduxFramework::$_url . 'assets/img/2cl.png'),
                            'gp-right-sidebar' => array('title' => 'Right Sidebar',  'img' => ReduxFramework::$_url . 'assets/img/2cr.png'),
                            'gp-no-sidebar' => array('title' => 'No Sidebar', 'img' => get_template_directory_uri() . '/lib/images/no-sidebar.png'),
							'gp-fullwidth' => array('title' => 'Fullwidth', 'img' => ReduxFramework::$_url . 'assets/img/1col.png'),
						),	
						'default' => 'gp-no-sidebar',
					),

                    array(
                        'id'      => 'shop_sidebar',
                        'type'    => 'select',
                        'required' => array( 'shop_layout', '=', array( 'gp-left-sidebar', 'gp-right-sidebar' ) ),
                        'title'   => __( 'Sidebar', 'gp_lang' ),
						'desc' => __( 'The sidebar to display.', 'gp_lang' ),
                        'data'    => 'sidebar',
                        'default' => 'gp-woocommerce-sidebar',
                    ),
					
					array( 
						'id' => 'product_layout',
						'title' => __( 'Product Page Layout', 'gp_lang' ),					
						'type' => 'image_select',
						'desc' => __( 'The layout of the page.', 'gp_lang' ),
						'options' => array(
                            'gp-left-sidebar' => array('title' => 'Left Sidebar',   'img' => ReduxFramework::$_url . 'assets/img/2cl.png'),
                            'gp-right-sidebar' => array('title' => 'Right Sidebar',  'img' => ReduxFramework::$_url . 'assets/img/2cr.png'),
                            'gp-no-sidebar' => array('title' => 'No Sidebar', 'img' => get_template_directory_uri() . '/lib/images/no-sidebar.png'),
							'gp-fullwidth' => array('title' => 'Fullwidth', 'img' => ReduxFramework::$_url . 'assets/img/1col.png'),
						),	
						'default' => 'gp-no-sidebar',
					),

                    array(
                        'id'      => 'product_sidebar',
                        'type'    => 'select',
                        'required' => array( 'product_layout', '=', array( 'gp-left-sidebar', 'gp-right-sidebar' ) ),
                        'title'   => __( 'Sidebar', 'gp_lang' ),
						'desc' => __( 'The sidebar to display.', 'gp_lang' ),
                        'data'    => 'sidebar',
                        'default' => 'gp-woocommerce-sidebar',
                    ),

				),
			
			);
			
			
			$this->sections[] = array(
				'title' => __( 'BuddyPress/bbPress', 'gp_lang' ),
				'desc' => __( 'Global options for BuddyPress/bbPress pages.', 'gp_lang' ),
				'icon' => 'el-icon-comment-alt',
				'fields' => array(
				
					array( 
						'id' => 'bp_title',
						'title' => __( 'BuddyPress Title Header', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'Add the title header on the page.', 'gp_lang' ),
						'options' => array(
							'gp-large-title' => __( 'Enabled', 'gp_lang' ),
							'gp-no-large-title' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'gp-large-title',
					),
	
					array(
						'id' => 'bp_title_bg', 
						'title' => __( 'BuddyPress Title Header Background', 'gp_lang' ),
						'type'      => 'media',			
						'required' => array( 'bp_title', '=', 'gp-large-title' ),
						'desc' => __( 'The background of the title header.', 'gp_lang' ),
						'default' => '',
					),
					
					array( 
						'id' => 'bp_layout',
						'title' => __( 'BuddyPress Page Layout', 'gp_lang' ),					
						'type' => 'image_select',
						'desc' => __( 'The layout of the page.', 'gp_lang' ),
						'options' => array(
                            'gp-left-sidebar' => array('title' => 'Left Sidebar',   'img' => ReduxFramework::$_url . 'assets/img/2cl.png'),
                            'gp-right-sidebar' => array('title' => 'Right Sidebar',  'img' => ReduxFramework::$_url . 'assets/img/2cr.png'),
                            'gp-no-sidebar' => array('title' => 'No Sidebar', 'img' => get_template_directory_uri() . '/lib/images/no-sidebar.png'),
							'gp-fullwidth' => array('title' => 'Fullwidth', 'img' => ReduxFramework::$_url . 'assets/img/1col.png'),
						),	
						'default' => 'gp-no-sidebar',
					),

                    array(
                        'id'      => 'bp_sidebar',
                        'type'    => 'select',
                        'required' => array( 'bp_layout', '=', array( 'gp-left-sidebar', 'gp-right-sidebar' ) ),
                        'title'   => __( 'BuddyPress Sidebar', 'gp_lang' ),
						'desc' => __( 'The sidebar to display.', 'gp_lang' ),
                        'data'    => 'sidebar',
                        'default' => 'gp-standard-sidebar',
                    ),
					
					array( 
						'id' => 'bbpress_title',
						'title' => __( 'bbPress Title Header', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'Add the title header on the page.', 'gp_lang' ),
						'options' => array(
							'gp-large-title' => __( 'Enabled', 'gp_lang' ),
							'gp-no-large-title' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'gp-large-title',
					),
	
					array(
						'id' => 'bbpress_title_bg', 
						'title' => __( 'bbPress Title Header Background', 'gp_lang' ),
						'type'      => 'media',			
						'required' => array( 'bbpress_title', '=', 'gp-large-title' ),
						'desc' => __( 'The background of the title header.', 'gp_lang' ),
						'default' => '',
					),
					
					array(						
						'id' => 'bbpress_layout',
						'title' => __( 'bbPress Page Layout', 'gp_lang' ),					
						'type' => 'image_select',
						'desc' => __( 'The layout of the page.', 'gp_lang' ),
						'options' => array(
                            'gp-left-sidebar' => array('title' => 'Left Sidebar',   'img' => ReduxFramework::$_url . 'assets/img/2cl.png'),
                            'gp-right-sidebar' => array('title' => 'Right Sidebar',  'img' => ReduxFramework::$_url . 'assets/img/2cr.png'),
                            'gp-no-sidebar' => array('title' => 'No Sidebar', 'img' => get_template_directory_uri() . '/lib/images/no-sidebar.png'),
							'gp-fullwidth' => array('title' => 'Fullwidth', 'img' => ReduxFramework::$_url . 'assets/img/1col.png'),
						),	
						'default' => 'gp-no-sidebar',
					),

                    array(
                        'id'      => 'bbpress_sidebar',
                        'type'    => 'select',
                        'required' => array( 'bbpress_layout', '=', array( 'gp-left-sidebar', 'gp-right-sidebar' ) ),
                        'title'   => __( 'bbPress Sidebar', 'gp_lang' ),
						'desc' => __( 'The sidebar to display.', 'gp_lang' ),
                        'data'    => 'sidebar',
                        'default' => 'gp-standard-sidebar',
                    ),

				),	
			
			);
			
			$this->sections[] = array(
                'title'     => __( 'Styling', 'gp_lang'),
				'desc' => __('Style your theme.', 'gp_lang'),
				'icon' => 'el-icon-brush',
                'fields'    => array(

                  array(
                        'id'        => 'css_info',
                        'type'      => 'info',
                        'notice'    => true,
                        'style'     => 'info',
                       	'desc' => __( 'You can link to your own custom stylesheet or add your own CSS below to style the theme. This CSS will not be lost if you update the theme. For more information on how to find the names of the elements you want to style click', 'gp_lang' ).' <a href="http://ghostpool.com/help/gauge/help.html#customizing-theme" target="_blank">'.__( 'here', 'gp_lang' ).'</a>.',
                    ),
                    
					array( 
						'title' => __( 'Custom Stylesheet', 'gp_lang' ),
						'subtitle' => __( 'The relative URL to your custom stylesheet e.g. <strong>lib/css/custom-style.css</strong>.', 'gp_lang' ),
						'desc' => __( 'Load a custom stylesheet to add your own CSS code.', 'gp_lang' ),
						'id' => 'custom_stylesheet',
						'type' => 'text',
					),

                    array(
                        'id'        => 'custom_css',
                        'type'      => 'ace_editor',
                        'title'     => __( 'CSS Code', 'gp_lang' ),
                        'subtitle'  => __( 'Add your CSS code here.', 'gp_lang' ),
                        'mode'      => 'css',
                        'theme'     => 'monokai',
                        'options'   => array( 'minLines' => 50 ),
                    ),
                )
            );
            			
			$this->sections[] = array(
                'title'     => __( 'General', 'gp_lang'),
				'subsection' => true,
				'icon' => 'el-icon-cogs',
                'fields'    => array(
            
                    array(
                        'id'        => 'page_bg',
                        'type'      => 'background',
                        'title'     => __( 'Page Background', 'gp_lang' ),
                        'desc'  => __( 'The page background.', 'gp_lang' ),
                        'output'    => array( 'body' ),
						'required' => array( 'theme_layout', '=', 'gp-boxed-layout'),
                        'preview' => false,
                        'default'   => array(
                            'background-color' => '#eee',
                        ),
                    ),

                    array(
                        'id'        => 'page_content_bg',
                        'type'      => 'background',
                        'title'     => __( 'Page Content Background', 'gp_lang' ),
                        'desc'  => __( 'The page content background.', 'gp_lang' ),
                        'output'    => array( '#page-wrapper', '.post-section-header h3', '#reply-title', '.gp-theme #bbpress-forums li.bbp-header', '.gp-theme #bbpress-forums div.odd', '.gp-theme #bbpress-forums ul.odd', '.gp-theme #bbpress-forums li.bbp-header', '.gp-theme #bbpress-forums li.bbp-footer', '.gp-theme #bbpress-forums div.bbp-forum-header', '.gp-theme #bbpress-forums div.bbp-topic-header', '.gp-theme #bbpress-forums div.bbp-reply-header' ),
                        'preview' => false,
                        'default'   => array(
                            'background-color' => '#fff',
                        ),
                    ),

                    array(
                        'id'        => 'general_typography',
                        'type'      => 'typography',
                        'title'     => __( 'General Typography', 'gp_lang' ),
                        'desc'  => __( 'The general typography.', 'gp_lang' ),
                        'output'    => array( 'body' ),
                        'google'    => true,
                        'text-align' => false,
                        'default'   => array(
                            'font-size'   => '14px',
							'line-height' => '24px',
                            'font-family' => 'Open Sans',
                            'font-weight' => '400',
                            'subsets'     => 'latin',
                            'color'       => '#000',
                        ),
                    ),
                                                                                                                                    
                    array(
                        'id'        => 'general_link',
                        'type'      => 'link_color',
                        'title'     => __( 'General Link Colors', 'gp_lang' ),
                        'desc'  => __( 'The general link colors.', 'gp_lang' ),
                        'output'    => array( 'a' ),
                        'default'   => array(
                            'regular'  => '#f84103',
                            'hover'    => '#5FA2A5',
                            'active'   => false,
                        ),
                    ),
 
                     array(
                        'id'        => 'general_highlight_color',
                        'type'      => 'color',
                        'title'     => __( 'General Highlight Color', 'gp_lang' ),
                        'desc'  => __( 'The general highlight color.', 'gp_lang' ),
                        'output'    => array( '.filter-menu', '.user-review-error', '.required', '.gp-theme .woocommerce-info a:hover', '.gp-theme .woocommerce div.product span.price', '.gp-theme .woocommerce div.product p.price', '.gp-theme .woocommerce #content div.product span.price', '.gp-theme .woocommerce #content div.product p.price', '.gp-theme.woocommerce-page div.product span.price', '.gp-theme.woocommerce-page div.product p.price', '.gp-theme.woocommerce-page #content div.product span.price', '.gp-theme.woocommerce-page #content div.product p.price', '.gp-theme .woocommerce ul.products li.product .price', '.gp-theme.woocommerce-page ul.products li.product .price', '.gp-theme .woocommerce .star-rating span:before', '.gp-theme.woocommerce-page .star-rating span:before', '.gp-theme.woocommerce-page p.stars a:hover:before', '.gp-theme.woocommerce-page p.stars a:focus:before', '.gp-theme.woocommerce-page p.stars a.active:before', '.gp-theme .woocommerce .added:before', '.gp-theme.woocommerce-page .added:before', '.gp-theme .woocommerce .order_details li strong', '.gp-theme.woocommerce-page .order_details li strong', '.gp-theme #buddypress div.activity-meta a:hover', '.gp-theme #buddypress div.item-list-tabs ul li.selected a span', '.gp-theme #buddypress div.item-list-tabs ul li.current a span' ),
                        'transparent' => false,
                        'default'   => '#f84103',
                    ),
 
                    array(
                        'id'        => 'h1_typography',
                        'type'      => 'typography',
                        'title'     => __( 'H1 Typography', 'gp_lang' ),
                        'desc'  => __( 'The H1 typography.', 'gp_lang' ),
                        'output'    => array( 'h1' ),
                        'google'    => true,
                        'text-align' => false,
                        'default'   => array(
                            'font-size'   => '48px',
                            'line-height' => '60px',
                            'font-family' => 'Arvo',
                            'font-weight' => '400',
                            'subsets'     => 'latin',
                        ),
                    ),

                    array(
                        'id'        => 'h2_typography',
                        'type'      => 'typography',
                        'title'     => __( 'H2 Typography', 'gp_lang' ),
                        'desc'  => __( 'The H2 typography.', 'gp_lang' ),
                        'output'    => array( 'h2' ),
                        'google'    => true,
                        'text-align' => false,
                        'color' => false,
                        'default'   => array(
                            'font-size'   => '36px',
                            'line-height' => '48px',
                            'font-family' => 'Arvo',
                            'font-weight' => '400',
                            'subsets'     => 'latin',
                        ),
                    ),

                    array(
                        'id'        => 'h3_typography',
                        'type'      => 'typography',
                        'title'     => __( 'H3 Typography', 'gp_lang' ),
                        'desc'  => __( 'The H3 typography.', 'gp_lang' ),
                        'output'    => array( 'h3', '.blog-small-size .post-item .loop-title' ),
                        'google'    => true,
                        'text-align' => false,
                        'color' => false,
                        'default'   => array(
                            'font-size'   => '24px',
                            'line-height' => '36px',
                            'font-family' => 'Open Sans',
                            'font-weight' => '400',
                            'subsets'     => 'latin',
                        ),
                    ),

                    array(
                        'id'        => 'h4_typography',
                        'type'      => 'typography',
                        'title'     => __( 'H4 Typography', 'gp_lang' ),
                        'desc'  => __( 'The H4 typography.', 'gp_lang' ),
                        'output'    => array( 'h4' ),
                        'google'    => true,
                        'text-align' => false,
                        'color' => false,
                        'default'   => array(
                            'font-size'   => '18px',
                            'line-height' => '30px',
                            'font-family' => 'Arvo',
                            'font-weight' => '400',
                            'subsets'     => 'latin',
                        ),
                    ),

                    array(
                        'id'        => 'h5_typography',
                        'type'      => 'typography',
                        'title'     => __( 'H5 Typography', 'gp_lang' ),
                        'desc'  => __( 'The H5 typography.', 'gp_lang' ),
                        'output'    => array( 'h5' ),
                        'google'    => true,
                        'text-align' => false,
                        'color' => false,
                        'default'   => array(
                            'font-size'   => '16px',
                            'line-height' => '24px',
                            'font-family' => 'Arvo',
                            'font-weight' => '400',
                            'subsets'     => 'latin',
                        ),
                    ),

                    array(
                        'id'        => 'h6_typography',
                        'type'      => 'typography',
                        'title'     => __( 'H6 Typography', 'gp_lang' ),
                        'desc'  => __( 'The H6 typography.', 'gp_lang' ),
                        'output'    => array( 'h6' ),
                        'google'    => true,
                        'text-align' => false,
                        'color' => false,
                        'default'   => array(
                            'font-size'   => '14px',
                            'line-height' => '22px',
                            'font-family' => 'Arvo',
                            'font-weight' => '400',
                            'subsets'     => 'latin',
                        ),
                    ),
                                                            
                    array(
                        'id'        => 'general_divider',
                        'type'      => 'border',
                        'title'     => __( 'General Divider Color', 'gp_lang' ),
                        'desc'  => __( 'The general divider color.', 'gp_lang' ),
                        'output'    => array( '.small-header .entry-meta', '.page-template-review-template-php .small-header .subtitle', '.post-section-header-line', '.element-title-line', '#comments ol.commentlist li .comment_container', '.portfolio-filters', '.gp-tablet-portrait #sidebar', '.gp-mobile #sidebar', '#review-summary', '.login-form', '.blog-large-size .post-item .post-divider:before' ),   
                        'left' => false,
                        'right' => false,    
                        'default'   => array(
                        	'border-color' => '#eee',
                        	'border-width' => '1px',
                        	'border-style' => 'solid',
                        ),
                    ),
					
					array( 
						'id' => 'title_parallax',
						'title' => __( 'Title Header Parallax Effect', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'The title header background image moves as you scroll up and down the page.', 'gp_lang' ),
						'options' => array(
							'enabled' => __( 'Enabled', 'gp_lang' ),
							'disabled' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'disabled',
					),
                                       
                    array(
                        'id'        => 'title_bg',
                        'type'      => 'background',
                        'title'     => __( 'Title Header Background', 'gp_lang' ),
                        'desc'  => __( 'The title header background properties.', 'gp_lang' ),
                        'output'    => array( '.large-header' ),
                        'preview' => false,
                        'default'   => array(
                            'background-color' => '#1c1c1c',
                            'background-repeat' => 'no-repeat',
                            'background-size' => 'cover',
                            'background-attachment' => 'scroll',
                            'background-position' => 'center center'
                        ),
                    ),

															
					array(  
						'id' => 'title_bg_top_gradient_overlay',
						'title' => __( 'Title Header Top Gradient Overlay', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'Add a semi transparent background gradient overlay to the top of the header.', 'gp_lang'),
						'options' => array(
							'enabled' => __( 'Enabled', 'gp_lang' ),
							'disabled' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'enabled',
					),

					array(  
						'id' => 'title_bg_overlay',
						'title' => __( 'Title Header Background Overlay', 'gp_lang' ),
						'type' => 'button_set',
						'desc' => __( 'Add a semi transparent background overlay to the whole header.', 'gp_lang'),
						'options' => array(
							'enabled' => __( 'Enabled', 'gp_lang' ),
							'disabled' => __( 'Disabled', 'gp_lang' ),
						),
						'default' => 'enabled',
					),

                    array(
                        'id'        => 'title_typography',
                        'type'      => 'typography',
                        'title'     => __( 'Title Header Typography', 'gp_lang' ),
                        'desc'  => __( 'The title header title header typography.', 'gp_lang' ),
                        'output'    => array( '.large-header .entry-title', '.large-header .entry-title a' ),
                        'google'    => true,
                        'text-align' => false,
						'font-family' => false,
						'font-weight' => false,
						'font-style' => false,
						'subsets'     => false,
                        'default'   => array(
                            'font-size'   => '46px',
                            'line-height' => '52px',
                            'color' => '#fff',
                        ),
                    ),
                    
                    array(
                        'id'        => 'subtitle_typography',
                        'type'      => 'typography',
                        'title'     => __( 'Title Header Subtitle Typography', 'gp_lang' ),
                        'desc'  => __( 'The title header subtitle typography.', 'gp_lang' ),
                        'output'    => array( '.large-header .subtitle' ),
                        'google'    => true,
                        'text-align' => false,
						'font-family' => false,
						'font-weight' => false,
						'font-style' => false,
						'subsets'     => false,
                        'default'   => array(
                            'font-size'   => '15px',
                            'line-height' => '21px',
                            'color' => '#fff',
                        ),
                    ),

                    array(
                        'id'        => 'subtitle_divider',
                        'type'      => 'border',
                        'title'     => __( 'Subtitle Divider Color', 'gp_lang' ),
                        'desc'  => __( 'The subtitle divider color.', 'gp_lang' ),
                        'output'    => array( '.page-header .entry-title.has-subtitle:after' ),
						'left'     => false,
						'right' => false,
						'bottom' => false,   
                        'default'   => array(
                        	'border-color' => '#fff',
                        	'border-top' => '1px',
                        	'border-style' => 'solid',
                        ),
                    ),
                                                            
					array( 
						'id' => 'title_padding',
						'title' => __( 'Title Header Padding', 'gp_lang' ),
						'type' => 'spacing',
						'mode' => 'padding',
						'units' => false,
						'left' => false,
						'right' => false,
						'desc' => __( 'The padding of the title header.', 'gp_lang' ),
                        'default'       => array(
                            'padding-top'    => '155', 
                            'padding-bottom' => '50',
                        ),						
					 ),

                    array(
                        'id'        => 'sidebar_widget_title_typography',
                        'type'      => 'typography',
                        'title'     => __( 'Widget Title Typography', 'gp_lang' ),
                        'desc'  => __( 'The sidebar widget title typograpghy.', 'gp_lang' ),
                        'output'    => array( '#sidebar .widgettitle' ),
                        'google'    => true,
                        'text-align' => false,
                        'default'   => array(
                            'font-size'   => '14px',
                            'line-height' => '22px',
                            'font-family' => 'Open Sans',
                            'font-weight' => '600',
                            'subsets'     => 'latin',
                            'color'       => '#000',
                        ),
                    ),  
                                                                                      
                    array(
                        'id'        => 'slide_caption_title_color',
                        'type'      => 'color',
                        'title'     => __( 'Slide Caption Title Color', 'gp_lang' ),
                        'desc'  => __( 'The slide caption title color.', 'gp_lang' ),
                        'output'    => array( '.slide-caption-title', '.featured-caption-title' ),
                        'transparent' => false,
                        'default'  => '#fff',
                    ),
                                        
                    array(
                        'id'        => 'slide_caption_text_color',
                        'type'      => 'color',
                        'title'     => __( 'Slide Caption Text Color', 'gp_lang' ),
                        'desc'  => __( 'The slide caption text color.', 'gp_lang' ),
                        'output'    => array( '.slide-caption-text', '.featured-caption-text' ),
                        'transparent' => false,
                        'default'   => '#fff',
                    ),
                                        					                     
                    array(
                        'id'        => 'blockquote_bg',
                        'type'      => 'background',
                        'title'     => __( 'Blockquote Background Color', 'gp_lang' ),
                        'desc'  => __( 'The blockquote background color.', 'gp_lang' ),
                        'output'    => array( 'blockquote' ),
                        'background-repeat' => false,
                        'background-attachment' => false,
                        'background-position' => false,
                        'background-image' => false,
                        'background-size' => false,
                        'preview' => false,
                        'default'   => array(
                            'background-color' => '#f84103',
                        ),
                    ),
                    
                    array(
                        'id'        => 'blockquote_typography',
                        'type'      => 'typography',
                        'title'     => __( 'Blockquote Typography', 'gp_lang' ),
                        'desc'  => __( 'The blockquote typography.', 'gp_lang' ),
                        'output'    => array( 'blockquote' ),
                        'google'    => true,
                        'text-align' => false,
                        'default'   => array(
                            'font-size'   => '16px',
                            'line-height' => '26px',
                            'font-family' => 'Open Sans',
                            'font-weight' => '400',
                            'subsets'     => 'latin',
                            'color'       => '#fff',
                        ),
                    ),
 
                     array(
                        'id'        => 'tab_bg',
                        'type'      => 'background',
                        'title'     => __( 'Tab Background Color', 'gp_lang' ),
                        'desc'  => __( 'The tab background color.', 'gp_lang' ),
                        'output'    => array( '.gp-theme .wpb_content_element .wpb_tabs_nav li', '.gp-theme .wpb_content_element .wpb_accordion_wrapper .wpb_accordion_header' ),                        
                        'background-repeat' => false,
                        'background-attachment' => false,
                        'background-position' => false,
                        'background-image' => false,
                        'background-size' => false,
                        'preview' => false,
                        'default'   => array(
                            'background-color' => '#fff',
                        ),
                    ),
 
                     array(
                        'id'        => 'tab_bg_hover',
                        'type'      => 'background',
                        'title'     => __( 'Tab Background Hover Color', 'gp_lang' ),
                        'desc'  => __( 'The tab background hover color.', 'gp_lang' ),
                        'output'    => array( '.gp-theme .wpb_content_element .wpb_tabs_nav li.ui-tabs-active', '.gp-theme .wpb_content_element .wpb_tabs_nav li:hover', '.gp-theme .wpb_content_element .wpb_accordion_wrapper .wpb_accordion_header.ui-state-active' ),                        
                        'background-repeat' => false,
                        'background-attachment' => false,
                        'background-position' => false,
                        'background-image' => false,
                        'background-size' => false,
                        'preview' => false,
                        'default'   => array(
                            'background-color' => '#F84103',
                        ),
                    ),

                    array(
                        'id'        => 'tab_border',
                        'type'      => 'border',
                        'title'     => __( 'Tab Border', 'gp_lang' ),
                        'desc'  => __( 'The tab border.', 'gp_lang' ),
                        'output'    => array( '.gp-theme .wpb_tabs.wpb_content_element .wpb_tabs_nav' ),
						'left'     => false,
						'right' => false,
						'top' => false,      
                        'default'   => array(
                        	'border-color' => '#F84103',
                        	'border-bottom' => '3px',
                        	'border-style' => 'solid',
                        ),
                    ),
                                                            
                    array(
                        'id'        => 'tab_link_color',
                        'type'      => 'color',
                        'title'     => __( 'Tab Link Color', 'gp_lang' ),
                        'desc'  => __( 'The tab link color.', 'gp_lang' ),
                        'output'    => array( '.gp-theme .wpb_content_element .wpb_tabs_nav li a', '.gp-theme .wpb_accordion .wpb_accordion_wrapper .wpb_accordion_header a', '.gp-theme .wpb_accordion .wpb_accordion_wrapper .ui-state-default .ui-icon:before' ),
                        'transparent' => false,
                        'default' => '#333',
                    ),

                    array(
                        'id'        => 'tab_link_hover_color',
                        'type'      => 'color',
                        'title'     => __( 'Tab Link Hover Color', 'gp_lang' ),
                        'desc'  => __( 'The tab link hover color.', 'gp_lang' ),
                        'output'    => array( '.gp-theme .wpb_content_element .wpb_tabs_nav li a:hover', '.gp-theme .wpb_content_element .wpb_tabs_nav li.ui-tabs-active a', '.gp-theme .wpb_content_element .wpb_accordion_wrapper .wpb_accordion_header.ui-state-active a', '.gp-theme .wpb_accordion .wpb_accordion_wrapper .ui-state-active .ui-icon:before' ),
                        'transparent' => false,
                        'default' => '#fff',
                    ),
                                                           					                                        
 				),
			);
			                   			
			$this->sections[] = array(
                'title'     => __( 'Top Header', 'gp_lang'),
				'subsection' => true,
				'icon' => 'el-icon-website',
                'fields'    => array(
                                
                    array(
                        'id'        => 'top_header_bg',
                        'type'      => 'background',
                        'title'     => __( 'Background', 'gp_lang' ),
                        'desc'  => __( 'The top header background.', 'gp_lang' ),
                        'output'    => array( '#top-header' ),                        
                        'background-repeat' => false,
                        'background-attachment' => false,
                        'background-position' => false,
                        'background-image' => false,
                        'background-size' => false,
                        'preview' => false,
                        'default'   => array(
                            'background-color' => '#000',
                        ),
                    ),
                    
                    array(
                        'id'        => 'top_header_border',
                        'type'      => 'border',
                        'title'     => __( 'Border', 'gp_lang' ),
                        'desc'  => __( 'The top header border.', 'gp_lang' ),
                        'output'    => array( '#top-header' ),
						'left'     => false,
						'right' => false,
						'top' => false,      
                        'default'   => array(
                        	'border-color' => '#292929',
                        	'border-bottom' => '1px',
                        	'border-style' => 'solid',
                        ),
                    ),
                                        
                    array(
                        'id'        => 'top_header_typography',
                        'type'      => 'typography',
                        'title'     => __( 'Navigation Typography', 'gp_lang' ),
                        'desc'  => __( 'The top header navigation typography.', 'gp_lang' ),
                        'output'    => array( '#top-header .menu > li' ),
                        'google'    => true,
                        'text-align' => false,
                        'line-height' => false,
                        'default'   => array(
                            'font-size'   => '12px',
                            'font-family' => 'Open Sans',
                            'font-weight' => '400',
                            'subsets'     => 'latin',
                            'color'       => '#fff',
                        ),
                    ),

                    array(
                        'id'        => 'top_header_nav_link',
                        'type'      => 'link_color',
                        'title'     => __( 'Navigation Link Colors', 'gp_lang' ),
                        'desc'  => __( 'The top header navigation link colors.', 'gp_lang' ),
                        'output'    => array( '#left-top-nav .menu > li > a' ),
                        'default'   => array(
                            'regular'         => '#fff',
                            'hover'     => '#f84103',
                            'active' => false,
                        ),
                    ),

                    array(
                        'id'        => 'top_header_social_icons_size',
                        'type'      => 'typography',
                        'title'     => __( 'Social Icons Size', 'gp_lang' ),
                        'desc'  => __( 'The social icon size.', 'gp_lang' ),
                        'output'    => array( '#top-header .social-icons a' ),
						'color'         => false,
						'font-family'   => false,
						'font-weight'   => false,
						'font-style' => false,
						'subsets'       => false,
						'text-align'    => false,
						'line-height'   => false, 
						'preview' => false,
                        'default'   => array(
                            'font-size'     => '14px',
                        ),
                    ), 
                    
                    array(
                        'id'        => 'top_header_social_icons_link',
                        'type'      => 'link_color',
                        'title'     => __( 'Social Icons Link Colors', 'gp_lang' ),
                        'desc'  => __( 'The social icon link colors.', 'gp_lang' ),
                        'output'    => array( '#top-header .social-icons a' ),
                        'default'   => array(
                            'regular'   => '#555555',
                            'hover'     => '#eeeeee',
                            'active' => false,
                        ),
                    ), 
                    
                    array(
                        'id'        => 'top_header_cart_link',
                        'type'      => 'link_color',
                        'title'     => __( 'Cart Link Colors', 'gp_lang' ),
                        'desc'  => __( 'The cart link colors.', 'gp_lang' ),
                        'output'    => array( '#top-header #cart-button' ),
                        'default'   => array(
                            'regular'   => '#fff',
                            'hover'     => '#f84103',
                            'active' => false,
                        ),
                    ),  
                    
                    array(
                        'id'        => 'top_header_login_menu_typography',
                        'type'      => 'typography',
                        'title'     => __( 'Login Menu Typography', 'gp_lang' ),
                        'desc'  => __( 'The login and register link typography.', 'gp_lang' ),
                        'output'    => array( '.login-menu a' ),
						'color'         => false,
						'text-align'    => false, 
						'line-height' => false,
						'preview' => false,
                        'default'   => array(
                            'font-size'     => '12px',
                            'font-family'   => 'Open Sans',
                            'font-weight'   => '400',
                            'subsets'       => 'latin',
                        ),
                    ), 
                    
                    array(
                        'id'        => 'top_header_login_menu_link',
                        'type'      => 'link_color',
                        'title'     => __( 'Login Menu Link Colors', 'gp_lang' ),
                        'desc'  => __( 'The profile, login and register link colors.', 'gp_lang' ),
                        'output'    => array( '.login-menu a' ),
                        'default'   => array(
                            'regular'         => '#f84103',
                            'hover'     => '#fff',
                            'active' => false,
                        ),
                    ), 
                                        
				),
			);
			
			$this->sections[] = array(
                'title'     => __( 'Main Header', 'gp_lang'),
				'subsection' => true,
				'icon' => 'el-icon-website',
                'fields'    => array(                                          
                                
                    array(
                        'id'        => 'main_header_large_bg',
                        'type'      => 'background',
                        'title'     => __( 'Large Background', 'gp_lang' ),
                        'desc'  => __( 'The large main header background.', 'gp_lang' ),
                        'output'    => array( '#main-header' ),
                        'default'   => array(
                            'background-color' => 'transparent',
                        ),
                    ),

                    array(
                        'id'        => 'main_header_small_bg',
                        'type'      => 'background',
                        'title'     => __( 'Small Background', 'gp_lang' ),
                        'desc'  => __( 'The small main header background.', 'gp_lang' ),
                        'output'    => array( '.gp-desktop #main-header.header-small', '.gp-desktop.gp-header-noresize #main-header.header-large', '.gp-no-large-title #main-header' ),
                        'default'   => array(
                            'background-color' => '#1c1c1c',
                        ),
                    ),
                                        
                    array(
                        'id'        => 'main_header_border',
                        'type'      => 'border',
                        'title'     => __( 'Border', 'gp_lang' ),
                        'desc'  => __( 'The main header border.', 'gp_lang' ),
                        'output'    => array( '#main-header' ),
						'left'     => false,
						'right' => false,
						'top' => false,
                        'default'   => array(
                        	'border-color' => '',
                        	'border-bottom' => '',
                        	'border-style' => '',
                        ),
                    ),

                    array(
                        'id'        => 'main_header_height',
                        'type'      => 'dimensions',
                        'title'     => __( 'Height', 'gp_lang' ),
                        'desc'  => __( 'The main header height.', 'gp_lang' ),
                        'output'    => array( '#main-header' ),
						'units' => 'px',
						'width' => false,
                        'default'   => array(
                            'height'   => '125',
                        ),
                    ),
                                        
                    array(
                        'id'        => 'main_header_typography',
                        'type'      => 'typography',
                        'title'     => __( 'Navigation Typography', 'gp_lang' ),
                        'desc'  => __( 'The main header navigation typography.', 'gp_lang' ),
                        'output'    => array( '#main-nav .menu > li' ),
                        'google'    => true,
                        'text-align' => false,
                        'line-height' => false,
                        'default'   => array(
                            'font-size'     => '14px',
                            'font-family'   => 'Open Sans',
                            'font-weight'   => '400',
                            'subsets'       => 'latin',
                            'color' => '#fff',
                        ),
                    ),

                    array(
                        'id'        => 'main_header_nav_link',
                        'type'      => 'link_color',
                        'title'     => __( 'Navigation Link Colors', 'gp_lang' ),
                        'desc'  => __( 'The main header navigation link colors.', 'gp_lang' ),
                        'output'    => array( '#main-nav .menu > li > a' ),
                        'default'   => array(
                            'regular'         => '#fff',
                            'hover'     => '#f84103',
                            'active' => false,
                        ),
                    ),

                    array(
                        'id'        => 'main_header_dropdown_bg',
                        'type'      => 'background',
                        'title'     => __( 'Dropdown Menu Background Color', 'gp_lang' ),
                        'desc'  => __( 'The dropdown menu background color.', 'gp_lang' ),
                        'output'    => array( '.nav .sub-menu', '.nav .menu li .menu-tabs li:hover, .nav .menu li .menu-tabs li.selected' ),
                        'background-repeat' => false,
                        'background-attachment' => false,
                        'background-position' => false,
                        'background-image' => false,
                        'background-size' => false,
                        'preview' => false,
                        'default'   => array(
                            'background-color' => '#f1f1f1',
                        ),
                    ),

                    array(
                        'id'        => 'main_header_dropdown_pointer',
                        'type'      => 'color',                        
                        'title'     => __( 'Dropdown Menu Pointer', 'gp_lang' ),
                        'desc'  => __( 'The dropdown menu pointer color.', 'gp_lang' ),
                        'output'    => array( '.nav .menu > li.menu-item-has-children > a:hover:after', '.nav .menu > li.menu-item-has-children:hover > a:after', '.nav .menu > li.tab-content-menu > a:hover:after', '.nav .menu > li.tab-content-menu:hover > a:after', '.nav .menu > li.content-menu > a:hover:after', '.nav .menu > li.content-menu:hover > a:after' ),
                        'default'  => '#f1f1f1',
                    ),
                    
                    array(
                        'id'        => 'main_header_dropdown_bg_hover',
                        'type'      => 'background',
                        'title'     => __( 'Dropdown Menu Background Hover Color', 'gp_lang' ),
                        'desc'  => __( 'The dropdown menu background hover color.', 'gp_lang' ),
                        'output'    => array( '.nav .sub-menu li a:hover' ),
                        'background-repeat' => false,
                        'background-attachment' => false,
                        'background-position' => false,
                        'background-image' => false,
                        'background-size' => false,
                        'preview' => false,
                        'default'   => array(
                            'background-color' => '#f1f1f1',
                        ),
                    ),
                    
                    array(
                        'id'        => 'main_header_dropdown_border',
                        'type'      => 'border',
                        'title'     => __( 'Dropdown Menu Border', 'gp_lang' ),
                        'desc'  => __( 'The dropdown menu border.', 'gp_lang' ),
                        'output'    => array( '.nav .sub-menu li' ),
                        'left' => false,
                        'right' => false,
                        'bottom' => false,
                        'default'   => array(
                        	'border-top' => '1px',
                        	'border-color' => '#dddddd',
                        	'border-style' => 'solid',
                        ),
                    ),

                    array(
                        'id'        => 'main_header_dropdown_typography',
                        'type'      => 'typography',
                        'title'     => __( 'Dropdown Menu Typography', 'gp_lang' ),
                        'desc'  => __( 'The dropdown menu typography.', 'gp_lang' ),
                        'output'    => array( '.nav .sub-menu li' ),
                        'google'    => true,
                        'text-align' => false,
                        'line-height' => false,
                        'default'   => array(
                            'font-size'     => '14px',
                            'font-family'   => 'Open Sans',
                            'font-weight'   => '400',
                            'subsets'       => 'latin',
                            'color' => '#000',
                        ),
                    ),

                    array(
                        'id'        => 'main_header_dropdown_link',
                        'type'      => 'link_color',
                        'title'     => __( 'Dropdown Link Colors', 'gp_lang' ),
                        'desc'  => __( 'The dropdown menu link colors.', 'gp_lang' ),
                        'output'    => array( '.nav .sub-menu li a' ),
                        'default'   => array(
                            'regular'         => '#000',
                            'hover'     => '#f84103',
                            'active' => false,
                        ),
                    ),

                    array(
                        'id'        => 'main_header_megamenu_header',
                        'type'      => 'color',                        
                        'title'     => __( 'Mega Menu Header Color', 'gp_lang' ),
                        'desc'  => __( 'The mega menu header color.', 'gp_lang' ),
                        'output'    => array( '.nav .megamenu > .sub-menu > li > a' ),
                        'transparent' => false,
                        'default'  => '#f84103',
                    ),

                    array(
                        'id'        => 'main_header_megamenu_border',
                        'type'      => 'border',
                        'title'     => __( 'Mega Menu Border', 'gp_lang' ),
                        'desc'  => __( 'The mega menu border.', 'gp_lang' ),
                        'output'    => array( '.nav .megamenu > .sub-menu > li' ),
                        'top' => false,
                        'right' => false,
                        'bottom' => false,
                        'default'   => array(
                        	'border-left' => '1px',
                        	'border-color' => '#dddddd',
                        	'border-style' => 'solid',
                        ),
                    ),
                                                                                                                                 
                    array(
                        'id'        => 'main_header_dropdown_icon',
                        'type'      => 'color',
                        'title'     => __( 'Dropdown Icon Color', 'gp_lang' ),
                        'desc'  => __( 'The dropdown icon color.', 'gp_lang' ),
                        'output'    => array( '.nav .dropdown-icon' ),
                        'transparent' => false,
                        'default'   => '#f84103',
                    ),
                    
                    array(
                        'id'        => 'menu_tabs',
                        'type'      => 'background',
                        'title'     => __( 'Menu Tabs Background Color', 'gp_lang' ),
                        'desc'  => __( 'The menu tabs background color.', 'gp_lang' ),
                        'output'    => array( '.menu-tabs' ),
                        'background-repeat' => false,
                        'background-attachment' => false,
                        'background-position' => false,
                        'background-image' => false,
                        'background-size' => false,
                        'preview' => false,
                        'default'   => array(
                            'background-color' => '#333',
                        ),
                    ),

                    array(
                        'id'        => 'menu_tabs_link',
                        'type'      => 'color',
                        'title'     => __( 'Menu Tabs Link Color', 'gp_lang' ),
                        'desc'  => __( 'The menu tabs link color.', 'gp_lang' ),
                        'output'    => array( '.nav .menu li .menu-tabs li' ),
                        'default'    => '#fff',
                    ),
 
                     array(
                        'id'        => 'menu_tabs_link_hover',
                        'type'      => 'color',
                        'title'     => __( 'Menu Tabs Link Hover/Selected Color', 'gp_lang' ),
                        'desc'  => __( 'The menu tabs link hover/selected color.', 'gp_lang' ),
                        'output'    => array( '.nav .menu li .menu-tabs li:hover,.nav .menu li .menu-tabs li.selected' ),
                        'default'    => '#333',
                    ),
                                        
                                         
                     array(
                        'id'        => 'main_header_search_input_bg',
                        'type'      => 'background',
                        'title'     => __( 'Search Input Background Color', 'gp_lang' ),
                        'desc'  => __( 'The search input background color.', 'gp_lang' ),
                        'output'    => array( '#main-header .s' ),                        
                        'background-repeat' => false,
                        'background-attachment' => false,
                        'background-position' => false,
                        'background-image' => false,
                        'background-size' => false,
                        'preview' => false,
                        'default'   => array(
                            'background-color' => '#eee',
                        ),
                    ),
                    
                    array(
                        'id'        => 'main_header_search_input_border',
                        'type'      => 'border',
                        'title'     => __( 'Search Input Border', 'gp_lang' ),
                        'desc'  => __( 'The search input border.', 'gp_lang' ),
                        'output'    => array( '#main-header .s' ),      
                        'default'   => array(
                        	'border-color' => '#fff',
                        	'border-width' => '1px',
                        	'border-style' => 'solid',
                        ),
                    ),
                                        
                    array(
                        'id'        => 'main_header_search_input_typography',
                        'type'      => 'typography',
                        'title'     => __( 'Search Input Typography', 'gp_lang' ),
                        'desc'  => __( 'The search input typography.', 'gp_lang' ),
                        'output'    => array( '#main-header .s' ),
                        'text-align' => false,
                        'line-height' => false,
                        'subsets' => false,
                        'font-weight' => false,
                        'font-style' => false,
                        'font-family' => false,
                        'default'   => array(
                            'font-size'   => '12px',
                            'color'       => '#000',
                        ),
                    ),

                    array(
                        'id'        => 'main_header_search_button_bg',
                        'type'      => 'background',
                        'title'     => __( 'Search Button Background Color', 'gp_lang' ),
                        'desc'  => __( 'The search button background color.', 'gp_lang' ),
                        'output'    => array( '#main-header .searchsubmit' ),                        
                        'background-repeat' => false,
                        'background-attachment' => false,
                        'background-position' => false,
                        'background-image' => false,
                        'background-size' => false,
                        'preview' => false,
                        'default'   => array(
                            'background-color' => 'transparent',
                        ),
                    ),
 
                     array(
                        'id'        => 'main_header_search_button_bg_hover',
                        'type'      => 'background',
                        'title'     => __( 'Search Button Background Hover Color', 'gp_lang' ),
                        'desc'  => __( 'The search button background hover color.', 'gp_lang' ),
                        'output'    => array( '#main-header .searchsubmit:hover' ),                        
                        'background-repeat' => false,
                        'background-attachment' => false,
                        'background-position' => false,
                        'background-image' => false,
                        'background-size' => false,
                        'preview' => false,
                        'default'   => array(
                            'background-color' => 'transparent',
                        ),
                    ),
                                       
                    array(
                        'id'        => 'main_header_search_button_border',
                        'type'      => 'border',
                        'title'     => __( 'Search Button Border', 'gp_lang' ),
                        'desc'  => __( 'The search button border.', 'gp_lang' ),
                        'output'    => array( '#main-header .searchsubmit' ),    
                        'default'   => array(
                        	'border-color' => '',
                        	'border-width' => '',
                        	'border-style' => 'solid',
                        ),
                    ),
                                        
                    array(
                        'id'        => 'main_header_search_button_typography',
                        'type'      => 'typography',
                        'title'     => __( 'Search Button Typography', 'gp_lang' ),
                        'desc'  => __( 'The button typography.', 'gp_lang' ),
                        'output'    => array( '#main-header .searchsubmit' ),
                        'text-align' => false,
                        'line-height' => false,
                        'subsets' => false,
                        'font-weight' => false,
                        'font-style' => false,
                        'font-family' => false,
                        'default'   => array(
                            'font-size'   => '12px',
                            'color'       => '#f84103',
                        ),
                    ),

                    array(
                        'id'        => 'main_header_search_button_typography_hover',
                        'type'      => 'color',
                        'title'     => __( 'Search Button Typography Hover Color', 'gp_lang' ),
                        'desc'  => __( 'The button typography hover color.', 'gp_lang' ),
                        'output'    => array( '#main-header .searchsubmit:hover' ),
                        'default' => '#f84103',
                    ),
                                       
                )
            );

			$this->sections[] = array(
                'title'     => __( 'Mobile Navigation', 'gp_lang'),
				'subsection' => true,
				'icon' => 'el-icon-lines',
                'fields'    => array(                                          
                                                                                                             
                    array(
                        'id'        => 'mobile_nav_button',
                        'type'      => 'color',
                        'title'     => __( 'Button', 'gp_lang' ),
                        'desc'  => __( 'The mobile navigation button color.', 'gp_lang' ),
                        'output'    => array( '#header-mobile-nav-button' ),
                        'transparent' => false,
                        'default'   => '#f84103',
                    ),
                                                    
                    array(
                        'id'        => 'mobile_nav_bg',
                        'type'      => 'background',
                        'title'     => __( 'Container Background Color', 'gp_lang' ),
                        'desc'  => __( 'The mobile navigation background color.', 'gp_lang' ),
                        'output'    => array( '#mobile-nav' ),
					   'background-repeat' => false,
                        'background-attachment' => false,
                        'background-position' => false,
                        'background-image' => false,
                        'background-size' => false,
                        'preview' => false,
                        'default'   => array(
                            'background-color' => '#000',
                        ),
                    ),

                    array(
                        'id'        => 'mobile_nav_text_color',
                        'type'      => 'color',
                        'title'     => __( 'Text Color', 'gp_lang' ),
                        'desc'  => __( 'The dropdown menu text color.', 'gp_lang' ),
                        'output'    => array( '#mobile-nav li' ),
                        'default' => '#fff',
                    ),

                    array(
                        'id'        => 'mobile_nav_top_level_link',
                        'type'      => 'link_color',
                        'title'     => __( 'Top Level Link Colors', 'gp_lang' ),
                        'desc'  => __( 'The dropdown menu link colors.', 'gp_lang' ),
                        'output'    => array( '#mobile-nav .menu > li > a' ),
                        'default'   => array(
                            'regular'         => '#f84103',
                            'hover'     => '#fff',
                            'active' => false,
                        ),
                    ),

                    array(
                        'id'        => 'mobile_nav_submenu_link',
                        'type'      => 'link_color',
                        'title'     => __( 'Submenu Link Colors', 'gp_lang' ),
                        'desc'  => __( 'The dropdown menu link.', 'gp_lang' ),
                        'output'    => array( '#mobile-nav .sub-menu li a' ),
                        'default'   => array(
                            'regular'         => '#fff',
                            'hover'     => '#f84103',
                            'active' => false,
                        ),
                    ),
                    
                    array(
                        'id'        => 'mobile_nav_megamenu_header',
                        'type'      => 'color',                        
                        'title'     => __( 'Mega Menu Header Color', 'gp_lang' ),
                        'desc'  => __( 'The mega menu header color.', 'gp_lang' ),
                        'output'    => array( '#mobile-nav .megamenu > .sub-menu > li > a' ),
                        'transparent' => false,
                        'default'  => '#f84103',
                    ),

                    array(
                        'id'        => 'mobile_nav_bg_hover',
                        'type'      => 'background',
                        'title'     => __( 'Link Background Hover Color', 'gp_lang' ),
                        'desc'  => __( 'The dropdown menu background hover color.', 'gp_lang' ),
                        'output'    => array( '#mobile-nav li a:hover' ),
                        'background-repeat' => false,
                        'background-attachment' => false,
                        'background-position' => false,
                        'background-image' => false,
                        'background-size' => false,
                        'preview' => false,
                        'default'   => array(
                            'background-color' => '#000',
                        ),
                    ),
                    
                    array(
                        'id'        => 'mobile_nav_border',
                        'type'      => 'border',
                        'title'     => __( 'Link Border', 'gp_lang' ),
                        'desc'  => __( 'The dropdown menu border.', 'gp_lang' ),
                        'output'    => array( '#mobile-nav li' ),
                        'left' => false,
                        'right' => false,
                        'bottom' => false,
                        'default'   => array(
                        	'border-top' => '1px',
                        	'border-color' => '#333333',
                        	'border-style' => 'solid',
                        ),
                    ),

                    array(
                        'id'        => 'mobile_nav_dropdown_button_bg',
                        'type'      => 'background',
                        'title'     => __( 'Dropdown Button Background Color', 'gp_lang' ),
                        'desc'  => __( 'The dropdown button background color.', 'gp_lang' ),
                        'output'    => array( '.mobile-dropdown-icon' ),
                        'background-repeat' => false,
                        'background-attachment' => false,
                        'background-position' => false,
                        'background-image' => false,
                        'background-size' => false,
                        'preview' => false,
                        'default'   => array(
                            'background-color' => '#1d1d1d',
                        ),
                    ),

                    array(
                        'id'        => 'mobile_nav_dropdown_button_bg_selected',
                        'type'      => 'background',
                        'title'     => __( 'Dropdown Button Selected Background Color', 'gp_lang' ),
                        'desc'  => __( 'The dropdown button selected background color.', 'gp_lang' ),
                        'output'    => array( 'li.gp-active > .mobile-dropdown-icon' ),
                        'background-repeat' => false,
                        'background-attachment' => false,
                        'background-position' => false,
                        'background-image' => false,
                        'background-size' => false,
                        'preview' => false,
                        'default'   => array(
                            'background-color' => '#333',
                        ),
                    ),
                                                             
                     array(
                        'id'        => 'mobile_nav_search_input_bg',
                        'type'      => 'background',
                        'title'     => __( 'Search Input Background Color', 'gp_lang' ),
                        'desc'  => __( 'The search input background color.', 'gp_lang' ),
                        'output'    => array( '#mobile-nav .s' ),                        
                        'background-repeat' => false,
                        'background-attachment' => false,
                        'background-position' => false,
                        'background-image' => false,
                        'background-size' => false,
                        'preview' => false,
                        'default'   => array(
                            'background-color' => '#eee',
                        ),
                    ),
                    
                    array(
                        'id'        => 'mobile_nav_search_input_border',
                        'type'      => 'border',
                        'title'     => __( 'Search Input Border', 'gp_lang' ),
                        'desc'  => __( 'The search input border.', 'gp_lang' ),
                        'output'    => array( '#mobile-nav .s' ),      
                        'default'   => array(
                        	'border-color' => '#fff',
                        	'border-width' => '1px',
                        	'border-style' => 'solid',
                        ),
                    ),
                                        
                    array(
                        'id'        => 'mobile_nav_search_input_typography',
                        'type'      => 'typography',
                        'title'     => __( 'Search Input Typography', 'gp_lang' ),
                        'desc'  => __( 'The search input typography.', 'gp_lang' ),
                        'output'    => array( '#mobile-nav .s' ),
                     'text-align' => false,
                        'line-height' => false,
                        'subsets' => false,
                        'font-weight' => false,
                        'font-style' => false,
                        'font-family' => false,
                        'default'   => array(
                            'font-size'   => '13px',
                            'color'       => '#000',
                        ),
                    ),

                    array(
                        'id'        => 'mobile_nav_search_button_bg',
                        'type'      => 'background',
                        'title'     => __( 'Search Button Background Color', 'gp_lang' ),
                        'desc'  => __( 'The search button background color.', 'gp_lang' ),
                        'output'    => array( '#mobile-nav .searchsubmit' ),                        
                        'background-repeat' => false,
                        'background-attachment' => false,
                        'background-position' => false,
                        'background-image' => false,
                        'background-size' => false,
                        'preview' => false,
                        'default'   => array(
                            'background-color' => 'transparent',
                        ),
                    ),
 
                     array(
                        'id'        => 'mobile_nav_search_button_bg_hover',
                        'type'      => 'background',
                        'title'     => __( 'Search Button Background Hover Color', 'gp_lang' ),
                        'desc'  => __( 'The search button background hover color.', 'gp_lang' ),
                        'output'    => array( '#mobile-nav .searchsubmit:hover' ),                        
                        'background-repeat' => false,
                        'background-attachment' => false,
                        'background-position' => false,
                        'background-image' => false,
                        'background-size' => false,
                        'preview' => false,
                        'default'   => array(
                            'background-color' => 'transparent',
                        ),
                    ),
                                       
                    array(
                        'id'        => 'mobile_nav_search_button_border',
                        'type'      => 'border',
                        'title'     => __( 'Search Button Border', 'gp_lang' ),
                        'desc'  => __( 'The search button border.', 'gp_lang' ),
                        'output'    => array( '#mobile-nav .searchsubmit' ),    
                        'default'   => array(
                        	'border-color' => '',
                        	'border-width' => '',
                        	'border-style' => 'solid',
                        ),
                    ),
                                        
                    array(
                        'id'        => 'mobile_nav_search_button_typography',
                        'type'      => 'typography',
                        'title'     => __( 'Search Button Typography', 'gp_lang' ),
                        'desc'  => __( 'The button typography.', 'gp_lang' ),
                        'output'    => array( '#mobile-nav .searchsubmit' ),
                        'google'    => true,
                        'text-align' => false,
                        'line-height' => false,
                        'subsets' => false,
                        'font-weight' => false,
                        'font-style' => false,
                        'font-family' => false,
                        'default'   => array(
                            'font-size'   => '13px',
                            'color'       => '#f84103',
                        ),
                    ),

                    array(
                        'id'        => 'mobile_nav_search_button_typography_hover',
                        'type'      => 'color',
                        'title'     => __( 'Search Button Typography Hover Color', 'gp_lang' ),
                        'desc'  => __( 'The button typography hover color.', 'gp_lang' ),
                        'output'    => array( '#mobile-nav .searchsubmit:hover' ),
                        'default' => '#f84103',
                    ),
                                 
                )
            );      
            
            $this->sections[] = array(
                'title'     => __( 'Posts', 'gp_lang'),
				'subsection' => true,
				'icon' => 'el-icon-pencil',
                'fields'    => array(

                    array(
                        'id'        => 'post_title_typography',
                        'type'      => 'typography',
                        'title'     => __( 'Title Header Typography', 'gp_lang' ),
                        'desc'  => __( 'The title header typography.', 'gp_lang' ),
                        'output'    => array( '.small-header .entry-title' ),
                        'google'    => true,
                        'text-align' => false,
						'font-family' => false,
						'font-weight' => false,
						'font-style' => false,
						'subsets'     => false,
                        'default'   => array(
                            'font-size'   => '36px',
                            'line-height' => '48px',
                            'color' => '#000',
                        ),
                    ),

                    array(
                        'id'        => 'post_subtitle_typography',
                        'type'      => 'typography',
                        'title'     => __( 'Subtitle Typography', 'gp_lang' ),
                        'desc'  => __( 'The subtitle typography.', 'gp_lang' ),
                        'output'    => array( '.small-header .subtitle' ),
                        'text-align' => false,
						'font-family' => false,
						'font-weight' => false,
						'font-style' => false,
						'subsets'     => false,
                        'default'   => array(
                            'font-size'   => '20px',
                            'line-height' => '32px',
                            'color' => '#888',
                        ),
                    ),

                    array(
                        'id'        => 'post_secondary_title_color',
                        'type'      => 'color',
                        'title'     => __( 'Secondary Title Color', 'gp_lang' ),
                        'desc'  => __( 'The secondary title color (related posts and comments) .', 'gp_lang' ),
                        'output'    => array( '.post-section-header h3' ),
                        'transparent' => false,
                        'default'   => '#000',
                    ),
                                                                                
                    array(
                        'id'        => 'post_meta_color',
                        'type'      => 'color',
                        'title'     => __( 'Post Meta Text Color', 'gp_lang' ),
                        'desc'  => __( 'The post meta text color.', 'gp_lang' ),
                        'output'    => array( '.single-post .entry-meta', '.single-post .entry-meta a', '.wp-caption-text', '#breadcrumbs', '#breadcrumbs a' ),
                        'transparent' => false,
                        'default'   => '#B3B3B1',
                    ),
                    
                    array(
                        'id'        => 'post_tags_color',
                        'type'      => 'color',
                        'title'     => __( 'Post Tags Text Color', 'gp_lang' ),
                        'desc'  => __( 'The post tags text color.', 'gp_lang' ),
                        'output'    => array( '.single-post .meta-tags', '.single-post .meta-tags a' ),
                        'transparent' => false,
                        'default'   => '#B3B3B1',
                    ),                          

                    array(
                        'id'        => 'author_info_bg',
                        'type'      => 'background',
                        'title'     => __( 'Author Info Background Color', 'gp_lang' ),
                        'desc'  => __( 'The author info background color.', 'gp_lang' ),
                        'output'    => array( '.author-info' ),                        
                        'background-repeat' => false,
                        'background-attachment' => false,
                        'background-position' => false,
                        'background-image' => false,
                        'background-size' => false,
                        'preview' => false,
                        'default'   => array(
                            'background-color' => '#f8f8f8',
                        ),
                    ),

                    array(
                        'id'        => 'author_info_color',
                        'type'      => 'color',
                        'title'     => __( 'Author Info Text Color', 'gp_lang' ),
                        'desc'  => __( 'The author info text color.', 'gp_lang' ),
                        'output'    => array( '.author-info' ),
                        'transparent' => false,
                        'default'   => '#000',
                    ),
                                        
                    array(
                        'id'        => 'author_info_border',
                        'type'      => 'border',
                        'title'     => __( 'Author Info Border', 'gp_lang' ),
                        'desc'  => __( 'The author info border.', 'gp_lang' ),
                        'output'    => array( '.author-info' ), 
                        'all' => false,
                        'left'     => false,
						'right' => false,
						'top' => false,        
                        'default'   => array(
                        	'border-color' => '#eee',
                        	'border-bottom' => '1px',
                        	'border-style' => 'solid',
                        ),
                    ),

                    array(
                        'id'        => 'related_posts_placeholder_bg',
                        'type'      => 'background',
                        'title'     => __( 'Related Posts Placeholder Background Color', 'gp_lang' ),
                        'desc'  => __( 'The related posts placeholder background color.', 'gp_lang' ),
                        'output'    => array( '.related-wrapper .no-thumbnail' ),                        
                        'background-repeat' => false,
                        'background-attachment' => false,
                        'background-position' => false,
                        'background-image' => false,
                        'background-size' => false,
                        'preview' => false,
                        'default'   => array(
                            'background-color' => '#eee',
                        ),
                    ),

                    array(
                        'id'        => 'related_posts_icon_color',
                        'type'      => 'color',
                        'title'     => __( 'Related Posts Icon Color', 'gp_lang' ),
                        'desc'  => __( 'The related posts icon color.', 'gp_lang' ),
                        'output'    => array( '.related-wrapper .thumbnail-icon' ),
                        'transparent' => false,
                        'default'   => '#B3B3B1',
                    ),

                    array(
                        'id'        => 'related_post_title_typography',
                        'type'      => 'typography',
                        'title'     => __( 'Related Post Title Typography', 'gp_lang' ),
                        'desc'  => __( 'The related post title typography.', 'gp_lang' ),
                        'output'    => array( '.related-wrapper .loop-title' ),
                        'google'    => true,
                        'text-align' => false,
                        'color' => false,
						'font-family' => false,
						'font-weight' => false,
						'font-style' => false,
						'subsets'     => false,
                        'default'   => array(
                            'font-size'   => '16px',
                            'line-height' => '22px',
                        ),
                    ),

                    array(
                        'id'        => 'related_post_meta_color',
                        'type'      => 'color',
                        'title'     => __( 'Related Post Meta Text Color', 'gp_lang' ),
                        'desc'  => __( 'The related post meta text color.', 'gp_lang' ),
                        'output'    => array( '.related-wrapper .entry-meta', '.related-wrapper .entry-meta a' ),
                        'transparent' => false,
                        'default'  => '#B3B3B1',
                    ), 
					
                )
            );                

			$this->sections[] = array(
                'title'     => __( 'Categories', 'gp_lang'),
				'subsection' => true,
				'icon' => 'el-icon-folder-open',
                'fields'    => array(

                    array(
                        'id'        => 'cat_standard_post_title_typography',
                        'type'      => 'typography',
                        'title'     => __( 'Standard Post Title Typography', 'gp_lang' ),
                        'desc'  => __( 'The standard post title typography.', 'gp_lang' ),
                        'output'    => array( '.blog-standard-size .loop-title' ),
                        'google'    => true,
                        'text-align' => false,
                        'color' => false,
						'font-family' => false,
						'font-weight' => false,
						'font-style' => false,
						'subsets'     => false,
                        'default'   => array(
                            'font-size'   => '18px',
                            'line-height' => '26px',
                        ),
                    ),
                    
                    array(
                        'id'        => 'cat_small_post_title_typography',
                        'type'      => 'typography',
                        'title'     => __( 'Small Post Title Typography', 'gp_lang' ),
                        'desc'  => __( 'The small post title typography.', 'gp_lang' ),
                        'output'    => array( '.blog-small-size .loop-title' ),
                        'google'    => true,
                        'text-align' => false,
                        'color' => false,
						'font-family' => false,
						'font-weight' => false,
						'font-style' => false,
						'subsets'     => false,
                        'default'   => array(
                            'font-size'   => '14px',
                            'line-height' => '18px',
                        ),
                    ),

                    array(
                        'id'        => 'cat_large_post_title_typography',
                        'type'      => 'typography',
                        'title'     => __( 'Large Post Title Typography', 'gp_lang' ),
                        'desc'  => __( 'The large post title typography.', 'gp_lang' ),
                        'output'    => array( '.blog-large-size .loop-title' ),
                        'google'    => true,
                        'text-align' => false,
                        'color' => false,
						'font-family' => false,
						'font-weight' => false,
						'font-style' => false,
						'subsets'     => false,
                        'default'   => array(
                            'font-size'   => '30px',
                            'line-height' => '42px',
                        ),
                    ),
                
                    array(
                        'id'        => 'cat_standard_post_title_link_color',
                        'type'      => 'link_color',
                        'title'     => __( 'Standard Post Title Link Colors', 'gp_lang' ),
                        'desc'  => __( 'The standard post title link colors.', 'gp_lang' ),
                        'output'    => array( '.loop-title a', '.edit-review-form button', '.delete-review-form button' ),
                        'default'   => array(
                            'regular'       => '#f84103',
                            'hover'       => '#000',
                            'active'       => false,
                        ),
                    ),
                    
                    array(
                        'id'        => 'cat_standard_post_meta_color',
                        'type'      => 'color',
                        'title'     => __( 'Standard Post Meta Color', 'gp_lang' ),
                        'desc'  => __( 'The standard post meta color.', 'gp_lang' ),
                        'output'    => array( '.entry-meta', '.entry-meta a' ),
                        'transparent' => false,
                        'default'  => '#B3B3B1',
                    ),
                    
                    array(
                        'id'        => 'cat_standard_post_tags_color',
                        'type'      => 'color',
                        'title'     => __( 'Standard Post Tags Color', 'gp_lang' ),
                        'desc'  => __( 'The standard post tags color.', 'gp_lang' ),
                        'output'    => array( '.meta-tags', '.meta-tags a' ),
                        'transparent' => false,
                        'default' => '#B3B3B1',
                    ),

                    array(
                        'id'        => 'cat_masonry_post_bg',
                        'type'      => 'background',
                        'title'     => __( 'Masonry Background Color', 'gp_lang' ),
                        'desc'  => __( 'The masonry background color.', 'gp_lang' ),
                        'output'    => array( '.blog-masonry .post-item' ),                        
                        'background-repeat' => false,
                        'background-attachment' => false,
                        'background-position' => false,
                        'background-image' => false,
                        'background-size' => false,
                        'preview' => false,
                        'default'   => array(
                            'background-color' => '#1c1c1c',
                        ),
                    ),

                    array(
                        'id'        => 'cat_masonry_post_title_link_color',
                        'type'      => 'link_color',
                        'title'     => __( 'Masonry Post Title Link Colors', 'gp_lang' ),
                        'desc'  => __( 'The masonry post title link colors.', 'gp_lang' ),
                        'output'    => array( '.blog-masonry .loop-title a' ),
                        'default'   => array(
                            'regular'       => '#f84103',
                            'hover'       => '#fff',
                            'active'       => false,
                        ),
                    ),
                    
                    array(
                        'id'        => 'cat_masonry_post_text_color',
                        'type'      => 'color',
                        'title'     => __( 'Masonry Post Text Color', 'gp_lang' ),
                        'desc'  => __( 'The masonry post text color.', 'gp_lang' ),
                        'output'    => array( '.blog-masonry .entry-content' ),
                        'transparent' => false,
                        'default' => '#fff',
                    ),
                    
                    array(
                        'id'        => 'cat_masonry_post_meta_color',
                        'type'      => 'color',
                        'title'     => __( 'Masonry Post Meta Color', 'gp_lang' ),
                        'desc'  => __( 'The post meta color.', 'gp_lang' ),
                        'output'    => array( '.blog-masonry .entry-meta', '.blog-masonry .entry-meta a' ),
                        'transparent' => false,
                        'default' => '#B3B3B1',
                    ),
                    
                    array(
                        'id'        => 'cat_masonry_post_tags_color',
                        'type'      => 'color',
                        'title'     => __( 'Masonry Post Tags Color', 'gp_lang' ),
                        'desc'  => __( 'The post tags color.', 'gp_lang' ),
                        'output'    => array( '.blog-masonry .meta-tags', '.blog-masonry .meta-tags a' ),
                        'transparent' => false,
                        'default'   => '#B3B3B1',
                    ),
                    
                    array(
                        'id'        => 'cat_masonry_post_format_bg',
                        'type'      => 'background',
                        'title'     => __( 'Masonry Post Format Background Color', 'gp_lang' ),
                        'desc'  => __( 'The masonry post format background color.', 'gp_lang' ),
                        'output'    => array( '.post-item:before', '.post-thumbnail:before' ),               
                        'background-repeat' => false,
                        'background-attachment' => false,
                        'background-position' => false,
                        'background-image' => false,
                        'background-size' => false,
                        'preview' => false,
                        'default'   => array(
                            'background-color' => '#1c1c1c',
                        ),
                    ),

                    array(
                        'id'        => 'cat_masonry_post_format_color',
                        'type'      => 'color',
                        'title'     => __( 'Masonry Post Format Color', 'gp_lang' ),
                        'desc'  => __( 'The masonry post format color.', 'gp_lang' ),
                        'output'    => array( '.post-item:before', '.post-thumbnail:before' ),
                        'transparent' => false,
                        'default' => '#fff',
                    ),
                    
                    array(
                        'id'        => 'cat_title_over_thumbnail_typography',
                        'type'      => 'typography',
                        'title'     => __( 'Title Over Thumbnail Typography', 'gp_lang' ),
                        'desc'  => __( 'The title over thumbnail typography.', 'gp_lang' ),
                        'output'    => array( '.thumbnail-header .loop-title' ),
                        'google'    => true,
                        'text-align' => false,
                        'color' => false,
						'font-family' => false,
						'font-weight' => false,
						'font-style' => false,
						'subsets'     => false,
                        'default'   => array(
                            'font-size'   => '16px',
                            'line-height' => '26px',
                        ),
                    ),
                                        
                    array(
                        'id'        => 'cat_title_over_thumbnail_link_color',
                        'type'      => 'link_color',
                        'title'     => __( 'Title Over Thumbnail Link Colors', 'gp_lang' ),
                        'desc'  => __( 'The title over thumbnail link colors.', 'gp_lang' ),
                        'output'    => array( '.thumbnail-header .loop-title', '.ranking-wrapper .loop-title a' ),
         				'default'   => array(
                            'regular'       => '#fff',
                            'hover'       => '#fff',
                            'active'       => false,
                        ),
                    ),

                    array(
                        'id'        => 'hub_award_bg',
                        'type'      => 'background',
                        'title'     => __( 'Hub Award Background Color', 'gp_lang' ),
                        'desc'  => __( 'The hub award background color.', 'gp_lang' ),
                        'output'    => array( '.hub-award' ),                        
                        'background-repeat' => false,
                        'background-attachment' => false,
                        'background-position' => false,
                        'background-image' => false,
                        'background-size' => false,
                        'preview' => false,
                        'default'   => array(
                            'background-color' => '#f84103',
                        ),
                    ),
                                                            
                    array(
                        'id'        => 'pagination_bg',
                        'type'      => 'background',
                        'title'     => __( 'Pagination Background Color', 'gp_lang' ),
                        'desc'  => __( 'The pagination background color.', 'gp_lang' ),
                        'output'    => array( 'ul.page-numbers .page-numbers' ),                        'background-repeat' => false,
                        'background-attachment' => false,
                        'background-position' => false,
                        'background-image' => false,
                        'background-size' => false,
                        'preview' => false,
                        'default'   => array(
                            'background-color' => '#333333',
                        ),
                    ),

                    array(
                        'id'        => 'pagination_bg_hover',
                        'type'      => 'background',
                        'title'     => __( 'Pagination Hover/Selected Background Color', 'gp_lang' ),
                        'desc'  => __( 'The pagination hover/selected background color.', 'gp_lang' ),
                        'output'    => array( 'ul.page-numbers .page-numbers:hover', 'ul.page-numbers .page-numbers.current', 'ul.page-numbers > span.page-numbers' ),                        
                        'background-repeat' => false,
                        'background-attachment' => false,
                        'background-position' => false,
                        'background-image' => false,
                        'background-size' => false,
                        'preview' => false,
                        'default'   => array(
                            'background-color' => '#F84103',
                        ),
                    ),

                    array(
                        'id'        => 'pagination_text_color',
                        'type'      => 'color',
                        'title'     => __( 'Pagination Text Color', 'gp_lang' ),
                        'desc'  => __( 'The pagination text color.', 'gp_lang' ),
                        'output'    => array( 'ul.page-numbers .page-numbers' ),
                        'transparent' => false,
                        'default' => '#fff',
                    ),
                                                                        
            	),
            
            );        
            				
			$this->sections[] = array(
                'title'     => __( 'Hub Page Template', 'gp_lang'),
				'subsection' => true,
				'icon' => 'el-icon-globe',
                'fields'    => array(
                
					array(
						'id'        => 'hub_header_text_color',
						'type'      => 'color',
						'title'     => __( 'Hub Header Text Color', 'gp_lang' ),
						'desc'  => __( 'The hub header text color.', 'gp_lang' ),
						'output'    => array( '.hub-header', '.hub-header a' ),      
                        'transparent' => false,
						'default'   => '#fff',
					),
					
                    array(
                        'id'        => 'hub_tabs_bg',
                        'type'      => 'background',
                        'title'     => __( 'Hub Tabs Background Color', 'gp_lang' ),
                        'desc'  => __( 'The hub tabs background color.', 'gp_lang' ),
                        'output'    => array( '#hub-tabs' ),                        
                        'background-repeat' => false,
                        'background-attachment' => false,
                        'background-position' => false,
                        'background-image' => false,
                        'background-size' => false,
                        'preview' => false,
                        'default'   => array(
                            'background-color' => '#1c1c1c',
                        ),
                    ),
                    
					array(
						'id'        => 'hub_tabs_top_border',
						'type'      => 'border',
						'title'     => __( 'Hub Tabs Top Border', 'gp_lang' ),
						'desc'  => __( 'The hub tabs top border.', 'gp_lang' ),
						'output'    => array( '#hub-tabs' ), 
						'all' => false,
						'left'     => false,
						'right' => false,
						'bottom' => false,        
						'default'   => array(
							'border-color' => '#f84103',
							'border-top' => '2px',
							'border-style' => 'solid',
						),
					),

					array(
						'id'        => 'hub_tabs_link_border',
						'type'      => 'border',
						'title'     => __( 'Hub Tabs Link Border', 'gp_lang' ),
						'desc'  => __( 'The hub tabs link border.', 'gp_lang' ),
						'output'    => array( '#hub-tabs li' ),  
						'top' => false,    
						'default'   => array(
							'border-color' => '#323232',
							'border-width' => '1px',
							'border-style' => 'solid',
						),
					),
										
                    array(
                        'id'        => 'hub_tabs_link_typography',
                        'type'      => 'typography',
                        'title'     => __( 'Hub Tabs Link Typography', 'gp_lang' ),
                        'desc'  => __( 'The hub tab typography.', 'gp_lang' ),
                        'output'    => array( '#hub-tabs li a', '#hub-tabs-mobile-nav-button span' ),
                        'google'    => true,
                        'text-align' => false,
                        'default'   => array(
                            'font-size'   => '13px',
                            'line-height' => '21px',
                            'font-family' => 'Open Sans',
                            'font-weight' => '600',
                            'subsets'     => 'latin',
                            'color'       => '#fff',
                        ),
                    ),	

                    array(
                        'id'        => 'hub_tabs_link_bg',
                        'type'      => 'background',
                        'title'     => __( 'Hub Tabs Link Background Hover Color', 'gp_lang' ),
                        'desc'  => __( 'The hub tabs background hover color.', 'gp_lang' ),
                        'output'    => array( '#hub-tabs li a:hover', '#hub-tabs li.current_page_item a' ),                        
                        'background-repeat' => false,
                        'background-attachment' => false,
                        'background-position' => false,
                        'background-image' => false,
                        'background-size' => false,
                        'preview' => false,
                        'default'   => array(
                            'background-color' => '#f84103',
                        ),
                    ),

                    array(
                        'id'        => 'hub_details_bg',
                        'type'      => 'background',
                        'title'     => __( 'Hub Details Background Color', 'gp_lang' ),
                        'desc'  => __( 'The hub details background color.', 'gp_lang' ),
                        'output'    => array( '#hub-details' ),                        
                        'background-repeat' => false,
                        'background-attachment' => false,
                        'background-position' => false,
                        'background-image' => false,
                        'background-size' => false,
                        'preview' => false,
                        'default'   => array(
                            'background-color' => '#1c1c1c',
                        ),
                    ),
                    
					array(
						'id'        => 'hub_details_text_color',
						'type'      => 'color',
						'title'     => __( 'Hub Details Text Color', 'gp_lang' ),
						'desc'  => __( 'The hub details text color.', 'gp_lang' ),
						'output'    => array( '#hub-details, #hub-details a, #hub-details h2' ),      
                        'transparent' => false,
						'default'   => '#fff',
					),

                    array(
                        'id'        => 'hub_element_title_color',
                        'type'      => 'color',
                        'title'     => __( 'Element Title Color', 'gp_lang' ),
                        'desc'  => __( 'The element title color.', 'gp_lang' ),
                        'output'    => array( '.element-title h3' ),
                        'transparent' => false,
                        'default' => '#f84103',
                    ),
                    
                    array(
                        'id'        => 'hub_see_all_link',
                        'type'      => 'link_color',
                        'title'     => __( 'See All Link Colors', 'gp_lang' ),
                        'desc'  => __( 'The see all link colors.', 'gp_lang' ),
                        'output'    => array( '.see-all-link a' ),
                        'default'   => array(
                        	'regular' => '#000',
                        	'hover' => '#f84103',
                        	'active' => false,
                        ),
                    ),

                    array(
                        'id'        => 'hub_title_typography',
                        'type'      => 'typography',
                        'title'     => __( 'Child Title Header Typography', 'gp_lang' ),
                        'desc'  => __( 'The child title header typography.', 'gp_lang' ),
                        'output'    => array( '.gp-hub-child-page .small-header .entry-title' ),
                        'google'    => true,
                        'text-align' => false,
						'font-family' => false,
						'font-weight' => false,
						'font-style' => false,
						'subsets'     => false,
                        'default'   => array(
                            'font-size'   => '26px',
                            'line-height' => '38px',
                            'color' => '#000',
                        ),
                    ),
                                        					
                )
            );                       
				
			$this->sections[] = array(
                'title'     => __( 'Review Page Template', 'gp_lang'),
				'subsection' => true,
				'icon' => 'el-icon-star',
                'fields'    => array(
                
                    array(
                        'id'        => 'review_first_letter',
                        'type'      => 'typography',
                        'title'     => __( 'First Letter Typography', 'gp_lang' ),
                        'desc'  => __( 'The first letter of the review typography.', 'gp_lang' ),
						'required' => array( 'review_first_letter_styling', '=', 'enabled' ),
                        'output'    => array( '.page-template-review-template-php .review-first-letter .review-text > p:first-child::first-letter', '.page-template-review-template-php .review-first-letter .review-text > *:not(p):first-child + p::first-letter', '
.page-template-review-template-php .review-first-letter .review-text .vc_row:first-child .vc_column_container:first-child .wpb_wrapper:first-child .wpb_text_column:first-child .wpb_wrapper:first-child > p:first-child::first-letter' ),
                        'google'    => true,
                        'text-align' => false,
                        'default'   => array(
                            'font-size'   => '100px',
                            'line-height' => '100px',
                            'font-family' => 'Arvo',
                            'font-weight' => '400',
                            'subsets'     => 'latin',
                            'color'       => '#F84102',
                        ),
                    ),                    	

                    array(
                        'id'        => 'review_summary_bg',
                        'type'      => 'background',
                        'title'     => __( 'Review Summary Background Color', 'gp_lang' ),
                        'desc'  => __( 'The review summary background color.', 'gp_lang' ),
                        'output'    => array( '#review-summary' ),                        
                        'background-repeat' => false,
                        'background-attachment' => false,
                        'background-position' => false,
                        'background-image' => false,
                        'background-size' => false,
                        'preview' => false,
                        'default'   => array(
                            'background-color' => '#1c1c1c',
                        ),
                    ),
					                    
					array(
						'id'        => 'review_summary_text_color',
						'type'      => 'color',
						'title'     => __( 'Review Summary Text Color', 'gp_lang' ),
						'desc'  => __( 'The review summary text color.', 'gp_lang' ),
						'output'    => array( '#review-summary' ),    
                        'transparent' => false,  
						'default'   => '#fff',
					),

					array(
						'id'        => 'review_good_points_color',
						'type'      => 'color',
						'title'     => __( 'Good Points Color', 'gp_lang' ),
						'desc'  => __( 'The good points color.', 'gp_lang' ),
						'output'    => array( '.points-wrapper .good-points li i' ),
                        'transparent' => false,      
						'default'   => '#f84103',
					),

					array(
						'id'        => 'review_bad_points_color',
						'type'      => 'color',
						'title'     => __( 'Bad Points Color', 'gp_lang' ),
						'desc'  => __( 'The bad points color.', 'gp_lang' ),
						'output'    => array( '.points-wrapper .bad-points li i' ), 
                        'transparent' => false,     
						'default'   => '#5fa2a5',
					),

					array(
						'id'        => 'low_rating_gradient',
						'type'      => 'color_gradient',
						'title'     => __( 'Low Rating Gradient', 'gp_lang' ),
						'desc'  => __( 'The low rating gradient (1-5).', 'gp_lang' ),
						'validate' => 'color',
						'default'   => array(
							'from' => '#E67300',
							'to'   => '#e63900',
						),
					),

					array(
						'id'        => 'high_rating_gradient',
						'type'      => 'color_gradient',
						'title'     => __( 'High Rating Gradient', 'gp_lang' ),
						'desc'  => __( 'The high rating gradient (6-10).', 'gp_lang' ),
						'validate' => 'color',
						'default'   => array(
							'from' => '#e63900',
							'to'   => '#e60000', 
						),
					),
					

					array(
						'id'        => 'user_rating_text_light_color',
						'type'      => 'color',
						'title'     => __( 'User Rating Light Text Color', 'gp_lang' ),
						'desc'  => __( 'The user rating light text color (hub header, ranking element, review page etc.).', 'gp_lang' ),
						'output' => array( '#review-summary .rating-text', '#featured-wrapper .rating-text', '.hub-header .rating-text', '#homepage-slider .rating-text' ),
						'transparent' => false,
						'default'   => '#fff',
					),

					array(
						'id'        => 'user_rating_text_dark_color',
						'type'      => 'color',
						'title'     => __( 'User Rating Dark Text Color', 'gp_lang' ),
						'desc'  => __( 'The user rating dark text color (hub categories).', 'gp_lang' ),
						'output' => array( '.post-item .rating-text' ),
						'transparent' => false,
						'default'   => '#000',
					),

					array(
						'id'        => 'user_rating_box_text_color',
						'type'      => 'color',
						'title'     => __( 'User Rating Box Text Color', 'gp_lang' ),
						'desc'  => __( 'The user rating box text color.', 'gp_lang' ),
						'output' => array( '.your-rating-score', '.user-reviews-link:hover' ),
						'transparent' => false,
						'default'   => '#f84103',
					),
															
					array(
						'id'        => 'user_rating_text_bg',
						'type'      => 'background',
						'title'     => __( 'User Rating Text Background Color', 'gp_lang' ),
						'desc'  => __( 'The user rating Text background color.', 'gp_lang' ),
						'output' => array( '.post-item .average-rating' ),     
						'background-repeat' => false,
                        'background-attachment' => false,
                        'background-position' => false,
                        'background-image' => false,
                        'background-size' => false,
                        'preview' => false,
						'default'   => array(
							'background-color' => '#f84103',
						),	
					),
																																			                					                                                            			                                                                                	
            	),          	       
            );   

			$this->sections[] = array(
                'title'     => __( 'Portfolio Categories', 'gp_lang'),
				'subsection' => true,
				'icon' => 'el-icon-th',
                'fields'    => array(
                    
                    array(
                        'id'        => 'portfolio_cat_large_title_typography',
                        'type'      => 'typography',
                        'title'     => __( 'Portfolio Large Title Typography', 'gp_lang' ),
                        'desc'  => __( 'The portfolio category title typograpghy (portfolios with 1, 2, 3 and 4 columns).', 'gp_lang' ),
                        'output'    => array( '.portfolio-item .loop-title', '.portfolio-item .loop-title a' ),
                        'google'    => true,
                        'text-align' => false,
                        'color' => false,
						'font-family' => false,
						'font-weight' => false,
						'font-style' => false,
						'subsets'     => false,
                        'default'   => array(
                            'font-size'   => '20px',
                            'line-height' => '32px',
                        ),
                    ),                

                    array(
                        'id'        => 'portfolio_cat_small_title_typography',
                        'type'      => 'typography',
                        'title'     => __( 'Portfolio Small Title Typography', 'gp_lang' ),
                        'desc'  => __( 'The portfolio category title typograpghy (portfolios with 5 and 6 columns).', 'gp_lang' ),
                        'output'    => array( '.portfolio-columns-5 .portfolio-item .loop-title', '.portfolio-columns-5 .portfolio-item .loop-title a', '.portfolio-columns-6 .portfolio-item .loop-title', '.portfolio-columns-6 .portfolio-item .loop-title a' ),
                        'google'    => true,
                        'text-align' => false,
                        'color' => false,
						'font-family' => false,
						'font-weight' => false,
						'font-style' => false,
						'subsets'     => false,
                        'default'   => array(
                            'font-size'   => '16px',
                            'line-height' => '28px',
                        ),
                    ), 
                                                     
                )
            ); 
                                                                             
			$this->sections[] = array(
                'title'     => __( 'Fields & Buttons', 'gp_lang'),
				'subsection' => true,
				'icon' => 'el-icon-check',
                'fields'    => array(
                                
                    array(
                        'id'        => 'input_bg',
                        'type'      => 'background',
                        'title'     => __( 'Input Background Color', 'gp_lang' ),
                        'desc'  => __( 'The input background color.', 'gp_lang' ),
                        'output'    => array( 'input', 'textarea', 'select' ),                        
                        'background-repeat' => false,
                        'background-attachment' => false,
                        'background-position' => false,
                        'background-image' => false,
                        'background-size' => false,
                        'preview' => false,
                        'default'   => array(
                            'background-color' => '#fff',
                        ),
                    ),
                    
                    array(
                        'id'        => 'input_border',
                        'type'      => 'border',
                        'title'     => __( 'Input Border', 'gp_lang' ),
                        'desc'  => __( 'The input border.', 'gp_lang' ),
                        'output'    => array( 'input', 'textarea', 'select' ),      
                        'default'   => array(
                        	'border-color' => '#ddd',
                        	'border-width' => '1px',
                        	'border-style' => 'solid',
                        ),
                    ),
                                        
                    array(
                        'id'        => 'input_typography',
                        'type'      => 'typography',
                        'title'     => __( 'Input Typography', 'gp_lang' ),
                        'desc'  => __( 'The input typography.', 'gp_lang' ),
                        'output'    => array( 'input', 'textarea', 'select' ),
                        'google'    => true,
                        'text-align' => false,
                        'line-height' => false,
                        'default'   => array(
                            'font-size'   => '13px',
                            'font-family' => 'Open Sans',
                            'font-weight' => '400',
                            'subsets'     => 'latin',
                            'color'       => '#000',
                        ),
                    ),

                    array(
                        'id'        => 'button_bg',
                        'type'      => 'background',
                        'title'     => __( 'Button Background Color', 'gp_lang' ),
                        'desc'  => __( 'The button background color.', 'gp_lang' ),
                        'output'    => array( 'input[type="button"]', 'input[type="submit"]', 'input[type="reset"]', 'button', '.button' ),                        
                        'background-repeat' => false,
                        'background-attachment' => false,
                        'background-position' => false,
                        'background-image' => false,
                        'background-size' => false,
                        'preview' => false,
                        'default'   => array(
                            'background-color' => '#F84103',
                        ),
                    ),
 
                     array(
                        'id'        => 'button_bg_hover',
                        'type'      => 'background',
                        'title'     => __( 'Button Background Hover Color', 'gp_lang' ),
                        'desc'  => __( 'The button background hover color.', 'gp_lang' ),
                        'output'    => array( 'input[type="button"]:hover', 'input[type="submit"]:hover', 'input[type="reset"]:hover', 'button:hover', '.button:hover' ),                        
                        'background-repeat' => false,
                        'background-attachment' => false,
                        'background-position' => false,
                        'background-image' => false,
                        'background-size' => false,
                        'preview' => false,
                        'default'   => array(
                            'background-color' => '#5fa2a5',
                        ),
                    ),
                                       
                    array(
                        'id'        => 'button_border',
                        'type'      => 'border',
                        'title'     => __( 'Button Border', 'gp_lang' ),
                        'desc'  => __( 'The button border.', 'gp_lang' ),
                        'output'    => array( 'input[type="button"]', 'input[type="submit"]', 'input[type="reset"]', 'button', '.button' ),    
                        'default'   => array(
                        	'border-color' => '',
                        	'border-width' => '0',
                        	'border-style' => 'solid',
                        ),
                    ),
                                        
                    array(
                        'id'        => 'button_typography',
                        'type'      => 'typography',
                        'title'     => __( 'Button Typography', 'gp_lang' ),
                        'desc'  => __( 'The button typography.', 'gp_lang' ),
                        'output'    => array( 'input[type="button"]', 'input[type="submit"]', 'input[type="reset"]', 'button', '.button' ),
                        'google'    => true,
                        'text-align' => false,
                        'line-height' => false,
                        'default'   => array(
                            'font-size'   => '13px',
                            'font-family' => 'Open Sans',
                            'font-weight' => '600',
                            'subsets'     => 'latin',
                            'color'       => '#fff',
                        ),
                    ),

                    array(
                        'id'        => 'button_typography_hover',
                        'type'      => 'color',
                        'title'     => __( 'Button Typography Hover', 'gp_lang' ),
                        'desc'  => __( 'The button typography hover.', 'gp_lang' ),
                        'output'    => array( 'input[type="button"]:hover', 'input[type="submit"]:hover', 'input[type="reset"]:hover', 'button:hover', '.button:hover' ),
                        'transparent' => false,
                        'default'  => '#fff',
                    ),

                )
            );

			$this->sections[] = array(
                'title'     => __( 'Footer', 'gp_lang'),
				'subsection' => true,
				'icon' => 'el-icon-photo',
                'fields'    => array(
                                                    
                    array(
                        'id'        => 'footer_widget_bg',
                        'type'      => 'background',
                        'title'     => __( 'Footer Widget Background Color', 'gp_lang' ),
                        'desc'  => __( 'The footer widget background color.', 'gp_lang' ),
                        'output'    => array( '#footer-widgets' ),
					    'background-repeat' => false,
                        'background-attachment' => false,
                        'background-position' => false,
                        'background-image' => false,
                        'background-size' => false,
                        'preview' => false,
                        'default'   => array(
                            'background-color' => '#1c1c1c',
                        ),
                    ),

                    array(
                        'id'        => 'footer_widget_3d_bg',
                        'type'      => 'background',
                        'title'     => __( 'Footer Widget 3D Background Color', 'gp_lang' ),
                        'desc'  => __( 'The footer widget 3D background color.', 'gp_lang' ),
                        'output'    => array( '#footer-3d' ),
					    'background-repeat' => false,
                        'background-attachment' => false,
                        'background-position' => false,
                        'background-image' => false,
                        'background-size' => false,
                        'preview' => false,
                        'default'   => array(
                            'background-color' => '#333',
                        ),
                    ),
                    
                    array(
                        'id'        => 'footer_widget_title_typography',
                        'type'      => 'typography',
                        'title'     => __( 'Footer Widget Title Typography', 'gp_lang' ),
                        'desc'  => __( 'The footer widget title typography.', 'gp_lang' ),
                        'output'    => array( '.footer-widget .widgettitle' ),
                        'google'    => true,
                        'text-align' => false,
                        'default'   => array(
                            'font-size'   => '18px',
                            'line-height' => '22px',
                            'font-family' => 'Open Sans',
                            'font-weight' => '400',
                            'subsets'     => 'latin',
                            'color'       => '#fff',
                        ),
                    ),
                                        
                    array(
                        'id'        => 'footer_widget_typography',
                        'type'      => 'typography',
                        'title'     => __( 'Footer Widget Typography', 'gp_lang' ),
                        'desc'  => __( 'The footer widget typography.', 'gp_lang' ),
                        'output'    => array( '.footer-widget' ),
                        'google'    => true,
                        'text-align' => false,
                        'default'   => array(
                            'font-size'   => '15px',
                            'line-height' => '23px',
                            'font-family' => 'Open Sans',
                            'font-weight' => '400',
                            'subsets'     => 'latin',
                            'color'       => '#fff',
                        ),
                    ),

                    array(
                        'id'        => 'footer_widget_link',
                        'type'      => 'link_color',
                        'title'     => __( 'Footer Widget Link Colors', 'gp_lang' ),
                        'desc'  => __( 'The footer widget link colors.', 'gp_lang' ),
                        'output'    => array( '.footer-widget a' ),
                        'default'   => array(
                            'regular' => '#ddd',
                            'hover'   => '#f84103',
                            'active'  => false,
                        ),
                    ),
                    
                    array(
                        'id'        => 'footer_first_col_widget_bg',
                        'type'      => 'background',
                        'title'     => __( 'First Column Footer Widget Background Color', 'gp_lang' ),
                        'desc'  => __( 'The first column footer background color.', 'gp_lang' ),
                        'output'    => array( '.gp-footer-larger-first-col .footer-1' ),
						'required' => array( 'footer_widget_layout', '=', 'gp-footer-larger-first-col' ),
					    'background-repeat' => false,
                        'background-attachment' => false,
                        'background-position' => false,
                        'background-image' => false,
                        'background-size' => false,
                        'preview' => false,
                        'default'   => array(
                            'background-color' => '#f84103',
                        ),
                    ),

                    array(
                        'id'        => 'footer_first_col_widget_3d bg',
                        'type'      => 'background',
                        'title'     => __( 'First Column Footer Widget 3D Background Color', 'gp_lang' ),
                        'desc'  => __( 'The first column footer 3D background color.', 'gp_lang' ),
                        'output'    => array( '.first-widget-bend' ),
						'required' => array( 'footer_widget_layout', '=', 'gp-footer-larger-first-col' ),
					    'background-repeat' => false,
                        'background-attachment' => false,
                        'background-position' => false,
                        'background-image' => false,
                        'background-size' => false,
                        'preview' => false,
                        'default'   => array(
                            'background-color' => '#F5612E',
                        ),
                    ),
                    
                    array(
                        'id'        => 'footer_first_col_widget_title',
                        'type'      => 'typography',
                        'title'     => __( 'First Column Footer Widget Title Typography', 'gp_lang' ),
                        'desc'  => __( 'The first column footer widget title typography.', 'gp_lang' ),
                        'output'    => array( '.gp-footer-larger-first-col .footer-1 .widgettitle' ),
						'required' => array('footer_widget_layout', '=', 'gp-footer-larger-first-col'),
                        'google'    => true,
                        'text-align' => false,
                        'default'   => array(
                            'font-size'   => '18px',
                            'line-height' => '22px',
                            'font-family' => 'Open Sans',
                            'font-weight' => '400',
                            'subsets'     => 'latin',
                            'color'       => '#fff',
                        ),
                    ),
                                        
                    array(
                        'id'        => 'footer_first_col_widget_typography',
                        'type'      => 'typography',
                        'title'     => __( 'First Column Footer Widget Typography', 'gp_lang' ),
                        'desc'  => __( 'The first column footer widget typography.', 'gp_lang' ),
                        'output'    => array( '.gp-footer-larger-first-col .footer-1' ),
						'required' => array( 'footer_widget_layout', '=', 'gp-footer-larger-first-col' ),
                        'google'    => true,
                        'text-align' => false,
                        'default'   => array(
                            'font-size'   => '15px',
                            'line-height' => '23px',
                            'font-family' => 'Open Sans',
                            'font-weight' => '400',
                            'subsets'     => 'latin',
                            'color'       => '#fff',
                        ),
                    ),

                    array(
                        'id'        => 'footer_first_col_widget_link',
                        'type'      => 'link_color',
                        'title'     => __( 'First Column Footer Widget Link Colors', 'gp_lang' ),
                        'desc'  => __( 'The first column footer widget link colors.', 'gp_lang' ),
                        'output'    => array( '.gp-footer-larger-first-col .footer-1 a' ),
						'required' => array( 'footer_widget_layout', '=', 'gp-footer-larger-first-col' ),
                        'default'   => array(
                            'regular' => '#fff',
                            'hover'   => '#000',
                            'active'  => false,
                        ),
                    ),
                    
                    array(
                        'id'        => 'copyright_bg',
                        'type'      => 'background',
                        'title'     => __( 'Copyright Background Color', 'gp_lang' ),
                        'desc'  => __( 'The copyright background color.', 'gp_lang' ),
                        'output'    => array( '#copyright' ),
					    'background-repeat' => false,
                        'background-attachment' => false,
                        'background-position' => false,
                        'background-image' => false,
                        'background-size' => false,
                        'preview' => false,
                        'default'   => array(
                            'background-color' => '#000',
                        ),
                    ),
                    array(
                        'id'        => 'copyright_typography',
                        'type'      => 'typography',
                        'title'     => __( 'Copyright Typography', 'gp_lang' ),
                        'desc'  => __( 'The copyright typography.', 'gp_lang' ),
                        'output'    => array( '#copyright' ),
                        'google'    => true,
                        'text-align' => false,
                        'default'   => array(
                            'font-size'   => '11px',
                            'line-height' => '11px',
                            'font-family' => 'Open Sans',
                            'font-weight' => '400',
                            'subsets'     => 'latin',
                            'color'       => '#888',
                        ),
                    ),

                    array(
                        'id'        => 'copyright_link',
                        'type'      => 'link_color',
                        'title'     => __( 'Copyright Link Colors', 'gp_lang' ),
                        'desc'  => __( 'The copyright link colors.', 'gp_lang' ),
                        'output'    => array( '#copyright a' ),
                        'default'   => array(
                            'regular' => '#888',
                            'hover'   => '#ddd',
                            'active'  => false,
                        ),
                    ),
                                                                                                                                            
                    array(
                        'id'        => 'back_to_top_bg',
                        'type'      => 'background',
                        'title'     => __( 'Back To Top Background Color', 'gp_lang' ),
                        'desc'  => __( 'The back to top button background color.', 'gp_lang' ),
                        'output'    => array( '#toTop' ),
					    'background-repeat' => false,
                        'background-attachment' => false,
                        'background-position' => false,
                        'background-image' => false,
                        'background-size' => false,
                        'preview' => false,
                        'default'   => array(
                            'background-color' => '#000',
                        ),
                    ),
                                        
                    array(
                        'id'        => 'back_to_top_icon_color',
                        'type'      => 'color',
                        'title'     => __( 'Back To Top Icon Color', 'gp_lang' ),
                        'desc'  => __( 'The back to top icon color.', 'gp_lang' ),
                        'output'    => array( '#toTop' ),
                        'transparent' => false,
                        'default'   => '#fff',
                    ),
                                                                                                                                             
                )
            );                  

			$this->sections[] = array(
                'title'     => __( 'Theme Widths', 'gp_lang'),
				'subsection' => true,
				'icon' => 'el-icon-resize-horizontal',
                'fields'    => array(
                                                
                $fields = array(
				   'id' => 'section-start',
				   'type' => 'section',
				   'title' => __('Larger Desktop (above 1200px)', 'gp_lang'),
				   'indent' => true,
			   ),
       
					array(
						'id' => 'desktop_wide_container',
						'type' => 'dimensions',
						'units' => false,
						'title' => __('Container Width', 'gp_lang'),
						'required' => array('theme_layout', '=', 'gp-wide-layout'),
						'height' => false,
                        'default' => array(
                            'width'     => 1170, 
                        )
					),                     			                                

					array(
						'id' => 'desktop_wide_content',
						'type' => 'dimensions',
						'units' => false,
						'title' => __('Content Width', 'gp_lang'),
						'required' => array('theme_layout', '=', 'gp-wide-layout'),
						'height' => false,
                        'default' => array(
                            'width'     => 810, 
                        )
					),
					
					array(
						'id' => 'desktop_wide_sidebar',
						'type' => 'dimensions',
						'units' => false,
						'title' => __('Sidebar Width', 'gp_lang'),
						'required' => array('theme_layout', '=', 'gp-wide-layout'),
						'height' => false,
                        'default' => array(
                            'width'     => 330, 
                        )
					),
			   		
					array(
						'id' => 'desktop_boxed_page',
						'type' => 'dimensions',
						'units' => false,
						'title' => __('Page Width', 'gp_lang'),
						'required' => array('theme_layout', '=', 'gp-boxed-layout'),
						'height' => false,
                        'default' => array(
                            'width'     => 1170, 
                        )
					),                     			                                

					array(
						'id' => 'desktop_boxed_container',
						'type' => 'dimensions',
						'units' => false,
						'title' => __('Container Width', 'gp_lang'),
						'required' => array('theme_layout', '=', 'gp-boxed-layout'),
						'height' => false,
                        'default' => array(
                            'width'     => 1090, 
                        )
					),   
					
					array(
						'id' => 'desktop_boxed_content',
						'type' => 'dimensions',
						'units' => false,
						'title' => __('Content Width', 'gp_lang'),
						'required' => array('theme_layout', '=', 'gp-boxed-layout'),
						'height' => false,
                        'default' => array(
                            'width'     => 730, 
                        )
					),
					
					array(
						'id' => 'desktop_boxed_sidebar',
						'type' => 'dimensions',
						'units' => false,
						'title' => __('Sidebar Width', 'gp_lang'),
						'required' => array('theme_layout', '=', 'gp-boxed-layout'),
						'height' => false,
                        'default' => array(
                            'width'     => 330, 
                        )
					),
					
				array(
					'id'     => 'section-end',
					'type'   => 'section',
					'indent' => false,
				),
				
                $fields = array(
				   'id' => 'section-start',
				   'type' => 'section',
				   'title' => __('Smaller Desktop (1200px - 1082px)', 'gp_lang'),
				   'indent' => true,
			   ),
       
					array(
						'id' => 'sm_desktop_wide_container',
						'type' => 'dimensions',
						'units' => false,
						'title' => __('Container Width', 'gp_lang'),
						'required' => array('theme_layout', '=', 'gp-wide-layout'),
						'height' => false,
                        'default' => array(
                            'width'     => 1040, 
                        )
					),                     			                                

					array(
						'id' => 'sm_desktop_wide_content',
						'type' => 'dimensions',
						'units' => false,
						'title' => __('Content Width', 'gp_lang'),
						'required' => array('theme_layout', '=', 'gp-wide-layout'),
						'height' => false,
                        'default' => array(
                            'width'     => 680, 
                        )
					),
					
					array(
						'id' => 'sm_desktop_wide_sidebar',
						'type' => 'dimensions',
						'units' => false,
						'title' => __('Sidebar Width', 'gp_lang'),
						'required' => array('theme_layout', '=', 'gp-wide-layout'),
						'height' => false,
                        'default' => array(
                            'width'     => 330, 
                        )
					),
			   					
					array(
						'id' => 'sm_desktop_boxed_page',
						'type' => 'dimensions',
						'units' => false,
						'title' => __('Page Width', 'gp_lang'),
						'required' => array('theme_layout', '=', 'gp-boxed-layout'),
						'height' => false,
                        'default' => array(
                            'width'     => 1040, 
                        )
					),                     			                                

					array(
						'id' => 'sm_desktop_boxed_container',
						'type' => 'dimensions',
						'units' => false,
						'title' => __('Container Width', 'gp_lang'),
						'required' => array('theme_layout', '=', 'gp-boxed-layout'),
						'height' => false,
                        'default' => array(
                            'width'     => 960, 
                        )
					),   
					
					array(
						'id' => 'sm_desktop_boxed_content',
						'type' => 'dimensions',
						'units' => false,
						'title' => __('Content Width', 'gp_lang'),
						'required' => array('theme_layout', '=', 'gp-boxed-layout'),
						'height' => false,
                        'default' => array(
                            'width'     => 600, 
                        )
					),
					
					array(
						'id' => 'sm_desktop_boxed_sidebar',
						'type' => 'dimensions',
						'units' => false,
						'title' => __('Sidebar Width', 'gp_lang'),
						'required' => array('theme_layout', '=', 'gp-boxed-layout'),
						'height' => false,
                        'default' => array(
                            'width'     => 330, 
                        )
					),
				
				array(
					'id'     => 'section-end',
					'type'   => 'section',
					'indent' => false,
				),
									
                $fields = array(
				   'id' => 'section-start',
				   'type' => 'section',
				   'title' => __('Tablet (Landscape)', 'gp_lang'),
				   'indent' => true,
			   ),
       
					array(
						'id' => 'tablet_wide_container',
						'type' => 'dimensions',
						'units' => false,
						'title' => __('Container Width', 'gp_lang'),
						'required' => array('theme_layout', '=', 'gp-wide-layout'),
						'height' => false,
                        'default' => array(
                            'width'     => 980, 
                        )
					),                     			                                

					array(
						'id' => 'tablet_wide_content',
						'type' => 'dimensions',
						'units' => false,
						'title' => __('Content Width', 'gp_lang'),
						'required' => array('theme_layout', '=', 'gp-wide-layout'),
						'height' => false,
                        'default' => array(
                            'width'     => 630, 
                        )
					),
					
					array(
						'id' => 'tablet_wide_sidebar',
						'type' => 'dimensions',
						'units' => false,
						'title' => __('Sidebar Width', 'gp_lang'),
						'required' => array('theme_layout', '=', 'gp-wide-layout'),
						'height' => false,
                        'default' => array(
                            'width'     => 330, 
                        )
					),
							
					array(
						'id' => 'tablet_boxed_page',
						'type' => 'dimensions',
						'units' => false,
						'title' => __('Page Width', 'gp_lang'),
						'required' => array('theme_layout', '=', 'gp-boxed-layout'),
						'height' => false,
                        'default' => array(
                            'width'     => 980, 
                        )
					),                     			                                

					array(
						'id' => 'tablet_boxed_container',
						'type' => 'dimensions',
						'units' => false,
						'title' => __('Container Width', 'gp_lang'),
						'required' => array('theme_layout', '=', 'gp-boxed-layout'),
						'height' => false,
                        'default' => array(
                            'width'     => 900, 
                        )
					),   
					
					array(
						'id' => 'tablet_boxed_content',
						'type' => 'dimensions',
						'units' => false,
						'title' => __('Content Width', 'gp_lang'),
						'required' => array('theme_layout', '=', 'gp-boxed-layout'),
						'height' => false,
                        'default' => array(
                            'width'     => 550, 
                        )
					),
					
					array(
						'id' => 'tablet_boxed_sidebar',
						'type' => 'dimensions',
						'units' => false,
						'title' => __('Sidebar Width', 'gp_lang'),
						'required' => array('theme_layout', '=', 'gp-boxed-layout'),
						'height' => false,
                        'default' => array(
                            'width'     => 330, 
                        )
					),

				array(
					'id'     => 'section-end',
					'type'   => 'section',
					'indent' => false,
				),
														                                                                                                                                             
                )
            );  
            
            $theme_info  = '<div class="redux-framework-section-desc">';
            $theme_info .= '<p class="redux-framework-theme-data description theme-uri">' . __('<strong>Theme URL:</strong> ', 'gp_lang') . '<a href="' . $this->theme->get('ThemeURI') . '" target="_blank">' . $this->theme->get('ThemeURI') . '</a></p>';
            $theme_info .= '<p class="redux-framework-theme-data description theme-author">' . __('<strong>Author:</strong> ', 'gp_lang') . $this->theme->get('Author') . '</p>';
            $theme_info .= '<p class="redux-framework-theme-data description theme-version">' . __('<strong>Version:</strong> ', 'gp_lang') . $this->theme->get('Version') . '</p>';
            $theme_info .= '<p class="redux-framework-theme-data description theme-description">' . $this->theme->get('Description') . '</p>';
            $tabs = $this->theme->get('Tags');
            if (!empty($tabs)) {
                $theme_info .= '<p class="redux-framework-theme-data description theme-tags">' . __('<strong>Tags:</strong> ', 'gp_lang') . implode(', ', $tabs) . '</p>';
            }
            $theme_info .= '</div>';

            if (file_exists(dirname(__FILE__) . '/../README.md')) {
                $this->sections['theme_docs'] = array(
                    'icon'      => 'el-icon-list-alt',
                    'title'     => __('Documentation', 'gp_lang'),
                    'fields'    => array(
                        array(
                            'id'        => '17',
                            'type'      => 'raw',
                            'markdown'  => true,
                            'content'   => file_get_contents(dirname(__FILE__) . '/../README.md')
                        ),
                    ),
                );
            }

            $this->sections[] = array(
                'type' => 'divide',
            );
             
            $this->sections[] = array(
                'title'     => __('Import / Export', 'gp_lang'),
                'desc'      => __('Import and Export your theme options from file, text or URL.', 'gp_lang'),
                'icon'      => 'el-icon-refresh',
                'fields'    => array(
                    array(
                        'id'            => 'opt-import-export',
                        'type'          => 'import_export',
                        'title'         => 'Import Export',
                        'subtitle'      => 'Save and restore your Redux options',
                        'full_width'    => false,
                    ),
                ),
            );                     
                    
            $this->sections[] = array(
                'type' => 'divide',
            );

            $this->sections[] = array(
                'icon'      => 'el-icon-info-circle',
                'title'     => __('Theme Information', 'gp_lang'),
                'fields'    => array(
                    array(
                        'id'        => 'opt-raw-info',
                        'type'      => 'raw',
                        'content'   => $item_info,
                    )
                ),
            );

                if ( file_exists( trailingslashit( dirname( __FILE__ ) ) . 'README.html' ) ) {
                    $tabs['docs'] = array(
                        'icon'    => 'el-icon-book',
                        'title'   => __( 'Documentation', 'gp_lang' ),
                        'content' => nl2br( file_get_contents( trailingslashit( dirname( __FILE__ ) ) . 'README.html' ) )
                    );
                }
            }

        public function setHelpTabs() {

            // Custom page help tabs, displayed using the help API. Tabs are shown in order of definition. 
            $this->args['help_tabs'][] = array(
                'id'        => 'help-tab',
                'title'     => __('Help File', 'gp_lang'),
                'content'   => sprintf(__('<p>The help file explains how to install and set up the theme, use the main theme features and options and make basic theme customizations.</p><p>The help file comes with the full theme download or you can view the latest version of the help file online by clicking <a href="http://ghostpool.com/help/gauge/help.html" target="_blank">here</a>.</p>', 'gp_lang') )
            );

            $this->args['help_tabs'][] = array(
                'id'        => 'changelog-tab',
                'title'     => __('Changelog', 'gp_lang'),
                'content'   => sprintf(__('<p>The changelog is a record of changes made to theme including bug fixes, new features and tweaks.</p><p>The changelog comes with the full theme download or you can view the latest version of the changelog online by clicking <a href="http://ghostpool.com/help/gauge/changelog.html" target="_blank">here</a>.</p>', 'gp_lang') )
            );

            $this->args['help_tabs'][] = array(
                'id'        => 'support-tab',
                'title'     => __('Support', 'gp_lang'),
                'content'   => __('<p>If after reading the help file you still need help with the theme please post a support ticket by clicking <a href="http://ghostpool.ticksy.com" target="_blank">here</a>.</p>', 'gp_lang')
            );
            
            $this->args['help_tabs'][] = array(
                'id'        => 'developer-tab',
                'title'     => __('Premium Services', 'gp_lang'),
                'content'   => __('<p>If you need help making advanced customizations to the theme (beyond 1 or 2 lines of code) or want to hire us for a custom project fill out our form by clicking <a href="http://ourwebmedia.com/ghostpool.php?aff=002" target="_blank">here</a>.</p>', 'gp_lang')
            );
                        
            // Set the help sidebar
            $this->args['help_sidebar'] = __('<p>If you need any help using the theme then take a look at the tabs to the left.</p>', 'gp_lang');
        }

         /**
             * All the possible arguments for Redux.
             * For full documentation on arguments, please refer to: https://github.com/ReduxFramework/ReduxFramework/wiki/Arguments
             * */
            public function setArguments() {

                $theme = wp_get_theme(); // For use with some settings. Not necessary.

                $this->args = array(
                    // TYPICAL -> Change these values as you need/desire
                    'opt_name'             => 'gp',
                    // This is where your data is stored in the database and also becomes your global variable name.
                    'display_name'         => $theme->get( 'Name' ),
                    // Name that appears at the top of your panel
                    'display_version'      => $theme->get( 'Version' ),
                    // Version that appears at the top of your panel
                    'menu_type'            => 'menu',
                    //Specify if the admin menu should appear or not. Options: menu or submenu (Under appearance only)
                    'allow_sub_menu'       => true,
                    // Show the sections below the admin menu item or not
                    'menu_title'           => __( 'Theme Options', 'gp_lang' ),
                    'page_title'           => __( 'Theme Options', 'gp_lang' ),
                    // You will need to generate a Google API key to use this feature.
                    // Please visit: https://developers.google.com/fonts/docs/developer_api#Auth
                    'google_api_key'       => 'AIzaSyDipV4M7FL2ylBHtJ5OvW1CSBWTyKKrP6E',
                    // Set it you want google fonts to update weekly. A google_api_key value is required.
                    'google_update_weekly' => false,
                    // Must be defined to add google fonts to the typography module
                    'async_typography'     => true,
                    // Use a asynchronous font on the front end or font string
                    //'disable_google_fonts_link' => true,                    // Disable this in case you want to create your own google fonts loader
                    'admin_bar'            => true,
                    // Show the panel pages on the admin bar
                    'admin_bar_icon'     => 'dashicons-admin-generic',
                    // Choose an icon for the admin bar menu
                    'admin_bar_priority' => 50,
                    // Choose an priority for the admin bar menu
                    'global_variable'      => '',
                    // Set a different name for your global variable other than the opt_name
                    'dev_mode'             => false,
                    // Show the time the page took to load, etc
                    'update_notice'        => true,
                    // If dev_mode is enabled, will notify developer of updated versions available in the GitHub Repo
                    'customizer'           => false,
                    // Enable basic customizer support
                    //'open_expanded'     => true,                    // Allow you to start the panel in an expanded way initially.
                    //'disable_save_warn' => true,                    // Disable the save warning when a user changes a field

                    // OPTIONAL -> Give you extra features
                    'page_priority'        => null,
                    // Order where the menu appears in the admin area. If there is any conflict, something will not show. Warning.
                    'page_parent'          => 'themes.php',
                    // For a full list of options, visit: http://codex.wordpress.org/Function_Reference/add_submenu_page#Parameters
                    'page_permissions'     => 'manage_options',
                    // Permissions needed to access the options panel.
                    'menu_icon'            => '',
                    // Specify a custom URL to an icon
                    'last_tab'             => '',
                    // Force your panel to always open to a specific tab (by id)
                    'page_icon'            => 'icon-themes',
                    // Icon displayed in the admin panel next to your menu_title
                    'page_slug'            => '_options',
                    // Page slug used to denote the panel
                    'save_defaults'        => true,
                    // On load save the defaults to DB before user clicks save or not
                    'default_show'         => false,
                    // If true, shows the default value next to each field that is not the default value.
                    'default_mark'         => '',
                    // What to print by the field's title if the value shown is default. Suggested: *
                    'show_import_export'   => true,
                    // Shows the Import/Export panel when not used as a field.

                    // CAREFUL -> These options are for advanced use only
                    'transient_time'       => 60 * MINUTE_IN_SECONDS,
                    'output'               => true,
                    // Global shut-off for dynamic CSS output by the framework. Will also disable google fonts output
                    'output_tag'           => true,
                    // Allows dynamic CSS to be generated for customizer and google fonts, but stops the dynamic CSS from going to the head
                    // 'footer_credit'     => '',                   // Disable the footer credit of Redux. Please leave if you can help it.

                    // FUTURE -> Not in use yet, but reserved or partially implemented. Use at your own risk.
                    'database'             => '',
                    // possible: options, theme_mods, theme_mods_expanded, transient. Not fully functional, warning!
                    'system_info'          => false,
                    // REMOVE

                    // HINTS
                    'hints'                => array(
                        'icon'          => 'icon-question-sign',
                        'icon_position' => 'right',
                        'icon_color'    => 'lightgray',
                        'icon_size'     => 'normal',
                        'tip_style'     => array(
                            'color'   => 'light',
                            'shadow'  => true,
                            'rounded' => false,
                            'style'   => '',
                        ),
                        'tip_position'  => array(
                            'my' => 'top left',
                            'at' => 'bottom right',
                        ),
                        'tip_effect'    => array(
                            'show' => array(
                                'effect'   => 'slide',
                                'duration' => '500',
                                'event'    => 'mouseover',
                            ),
                            'hide' => array(
                                'effect'   => 'slide',
                                'duration' => '500',
                                'event'    => 'click mouseleave',
                            ),
                        ),
                    )
                );

                // ADMIN BAR LINKS -> Setup custom links in the admin bar menu as external items.
                $this->args['admin_bar_links'][] = array(
                    'id'    => 'gp-help',
                    'href'   => 'http://ghostpool.com/help/gauge/help.html',
                    'title' => __( 'Help File', 'gp_lang' ),
                );

                $this->args['admin_bar_links'][] = array(
                    'id'    => 'gp-changelog',
                    'href'   => 'http://ghostpool.com/help/gauge/changelog.html',
                    'title' => __( 'Changelog', 'gp_lang' ),
                );

                $this->args['admin_bar_links'][] = array(
                    'id'    => 'gp-support',
                    'href'   => 'http://ghostpool.ticksy.com',
                    'title' => __( 'Support', 'gp_lang' ),
                );

                // SOCIAL ICONS -> Setup custom links in the footer for quick links in your panel footer icons.
                $this->args['share_icons'][] = array(
                    'url'   => 'http://twitter.com/ghostpool',
					'title' => __( 'Follow us on Twitter', 'gp_lang' ),
					'icon'  => 'el el-icon-twitter'
                );

                // Panel Intro text -> before the form
                /*if ( ! isset( $this->args['global_variable'] ) || $this->args['global_variable'] !== false ) {
                    if ( ! empty( $this->args['global_variable'] ) ) {
                        $v = $this->args['global_variable'];
                    } else {
                        $v = str_replace( '-', '_', $this->args['opt_name'] );
                    }
                    $this->args['intro_text'] = sprintf( __( '<p>Did you know that Redux sets a global variable for you? To access any of your saved options from within your code you can use your global variable: <strong>$%1$s</strong></p>', 'redux-framework-demo' ), $v );
                } else {
                    $this->args['intro_text'] = __( '<p>This text is displayed above the options panel. It isn\'t required, but more info is always better! The intro_text field accepts all HTML.</p>', 'redux-framework-demo' );
                }

                // Add content after the form.
                $this->args['footer_text'] = __( '<p>This text is displayed below the options panel. It isn\'t required, but more info is always better! The footer_text field accepts all HTML.</p>', 'redux-framework-demo' );*/
            }

            public function validate_callback_function( $field, $value, $existing_value ) {
                $error = true;
                $value = 'just testing';

                /*
              do your validation

              if(something) {
                $value = $value;
              } elseif(something else) {
                $error = true;
                $value = $existing_value;
                
              }
             */

                $return['value'] = $value;
                $field['msg']    = 'your custom error message';
                if ( $error == true ) {
                    $return['error'] = $field;
                }

                return $return;
            }

            public function class_field_callback( $field, $value ) {
                print_r( $field );
                echo '<br/>CLASS CALLBACK';
                print_r( $value );
            }

        }

        global $reduxConfig;
        $reduxConfig = new Redux_Framework_sample_config();
    } else {
        echo "The class named Redux_Framework_sample_config has already been called. <strong>Developers, you need to prefix this class with your company name or you'll run into problems!</strong>";
    }

    /**
     * Custom function for the callback referenced above
     */
    if ( ! function_exists( 'redux_my_custom_field' ) ):
        function redux_my_custom_field( $field, $value ) {
            print_r( $field );
            echo '<br/>';
            print_r( $value );
        }
    endif;

    /**
     * Custom function for the callback validation referenced above
     * */
    if ( ! function_exists( 'redux_validate_callback_function' ) ):
        function redux_validate_callback_function( $field, $value, $existing_value ) {
            $error = true;
            $value = 'just testing';

            /*
          do your validation

          if(something) {
            $value = $value;
          } elseif(something else) {
            $error = true;
            $value = $existing_value;
            
          }
         */

            $return['value'] = $value;
            $field['msg']    = 'your custom error message';
            if ( $error == true ) {
                $return['error'] = $field;
            }

            return $return;
        }
    endif;
