MOON
Server: Apache
System: Linux server.netcommlabs.in 3.10.0-1160.83.1.el7.x86_64 #1 SMP Wed Jan 25 16:41:43 UTC 2023 x86_64
User: dermova (1051)
PHP: 5.4.45
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/dermova/www/india/wp-content/plugins/rit-core/inc/theme-option/theme-option.php
<?php
include (RIT_PLUGIN_PATH.'vendor/redux-framework/redux-framework.php');
include ('theme-option-function.php');
/**
 * RIT Settings Options
 */

if (!class_exists('Redux_Framework_RIT_Options')) {

    class Redux_Framework_RIT_Options {

        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() {

            $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;
            }

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

        public function compiler_action($options, $css, $changed_values) {

        }

        public function dynamic_section($sections) {

            return $sections;
        }

        public function change_arguments($args) {

            return $args;
        }

        public function change_defaults($defaults) {

            return $defaults;
        }

        public function remove_demo() {

        }

        public function setSections() {

            $page_layouts = rit_options_layouts();
            $sidebars = rit_options_sidebars();
            $body_wrapper = rit_options_body_wrapper();
            $banner_wrapper = rit_options_banner_wrapper();
            $wrapper = rit_options_wrapper();

            $rit_demo_type = rit_demo_types();

            $rit_banner_pos = rit_ct_banner_pos();
            $rit_footer_view = rit_ct_footer_view();
            $rit_banner_type = rit_ct_banner_type();

            $rit_post_archive_layouts = rit_ct_post_archive_layouts();
            $rit_post_single_layouts = rit_ct_post_single_layouts();

            $rit_portfolio_archive_layouts = rit_ct_portfolio_archive_layouts();
            $rit_portfolio_single_layouts = rit_ct_portfolio_single_layouts();

            $rit_header_type = rit_options_header_types();
            $rit_footer_type = rit_options_footer_types();

            // General Settings
            $this->sections[] = array(
                'icon' => 'el-icon-dashboard',
                'icon_class' => 'icon',
                'title' => __('General', RIT_TEXT_DOMAIN),
                'fields' => array(
                    array(
                        'id'=>'wrapper',
                        'type' => 'image_select',
                        'title' => __('Body Wrapper', RIT_TEXT_DOMAIN),
                        'options' => $body_wrapper,
                        'default' => 'full'
                    ),

                    array(
                        'id'=>'layout',
                        'type' => 'image_select',
                        'title' => __('Page Layout', RIT_TEXT_DOMAIN),
                        'options' => $page_layouts,
                        'default' => 'right-sidebar'
                    ),

                    array(
                        'id'=>'sidebar',
                        'type' => 'select',
                        'title' => __('Select Sidebar', RIT_TEXT_DOMAIN),
                        'required' => array('layout','equals',$sidebars),
                        'data' => 'sidebars',
                        'default' => 'blog-sidebar'
                    ),

                    array(
                        'id'=>'show-breadcrumbs',
                        'type' => 'switch',
                        'title' => __('Show Breadcrumbs', RIT_TEXT_DOMAIN),
                        'default' => true,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'show-pagetitle',
                        'type' => 'switch',
                        'title' => __('Show Page Title', RIT_TEXT_DOMAIN),
                        'default' => true,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'header-wrapper',
                        'type' => 'image_select',
                        'title' => __('Header Wrapper', RIT_TEXT_DOMAIN),
                        'required' => array('wrapper','equals',array('full', 'wide')),
                        'options' => $wrapper,
                        'default' => 'full'
                    ),

                    array(
                        'id'=>'banner-wrapper',
                        'type' => 'image_select',
                        'title' => __('Banner Wrapper', RIT_TEXT_DOMAIN),
                        'required' => array('wrapper','equals',array('full', 'wide')),
                        'options' => $banner_wrapper,
                        'default' => 'wide'
                    ),

                    array(
                        'id'=>'breadcrumbs-wrapper',
                        'type' => 'image_select',
                        'title' => __('Breadcrumbs Wrapper', RIT_TEXT_DOMAIN),
                        'required' => array('wrapper','equals',array('full', 'wide')),
                        'options' => $wrapper,
                        'default' => 'full'
                    ),

                    array(
                        'id'=>'footer-wrapper',
                        'type' => 'image_select',
                        'title' => __('Footer Wrapper', RIT_TEXT_DOMAIN),
                        'required' => array('wrapper','equals',array('full', 'wide')),
                        'options' => $wrapper,
                        'default' => 'full'
                    ),

                    array(
                        'id'=>'show-content-type-skin',
                        'type' => 'switch',
                        'title' => __('Show Content Type Skin Options', RIT_TEXT_DOMAIN),
                        'desc' => __('Show skin options when edit post, page, product, portfolio, member.', RIT_TEXT_DOMAIN),
                        'default' => true,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'show-category-skin',
                        'type' => 'switch',
                        'title' => __('Show Category Skin Options', RIT_TEXT_DOMAIN),
                        'desc' => __('Show skin options when edit the category of post, product, portfolio, member.', RIT_TEXT_DOMAIN),
                        'default' => true,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),
                )
            );

            $this->sections[] = array(
                'icon_class' => 'icon',
                'subsection' => true,
                'title' => __('Theme Layout', RIT_TEXT_DOMAIN),
                'fields' => array(
                    array(
                        'id'        => '1',
                        'type'      => 'raw',
                        'content'   => '<img style="max-width: 100%;" src="'.RIT_PLUGIN_URL . 'assets/images/layouts/theme_layout.jpg"/>'
                    ),
                )
            );

            $this->sections[] = array(
                'icon_class' => 'icon',
                'subsection' => true,
                'title' => __('Logo, Icons', RIT_TEXT_DOMAIN),
                'fields' => array(
                    array(
                        'id'=>'logo',
                        'type' => 'media',
                        'url'=> true,
                        'readonly' => false,
                        'title' => __('Logo', RIT_TEXT_DOMAIN),
                        'default' => array(
                            'url' => RIT_PLUGIN_URL . 'assets/images/logo/logo.png'
                        )
                    ),

                    array(
                        'id'=>'logo-width',
                        'type' => 'text',
                        'title' => __('Logo Max Width', RIT_TEXT_DOMAIN),
                        'desc' => __('unit: px', RIT_TEXT_DOMAIN),
                        'default' => '170'
                    ),

                    array(
                        'id'=>'logo-width-wide',
                        'type' => 'text',
                        'title' => __('Logo Max Width on Wide Screen', RIT_TEXT_DOMAIN),
                        'default' => '250'
                    ),

                    array(
                        'id'=>'logo-width-tablet',
                        'type' => 'text',
                        'title' => __('Logo Max Width on Tablet', RIT_TEXT_DOMAIN),
                        'default' => '110'
                    ),

                    array(
                        'id'=>'logo-width-mobile',
                        'type' => 'text',
                        'title' => __('Logo Max Width on Mobile', RIT_TEXT_DOMAIN),
                        'default' => '110'
                    ),

                    array(
                        'id'=>'logo-width-sticky',
                        'type' => 'text',
                        'title' => __('Logo Max Width in Sticky Header', RIT_TEXT_DOMAIN),
                        'default' => '80'
                    ),

                    array(
                        'id'=>'favicon',
                        'type' => 'media',
                        'url'=> true,
                        'readonly' => false,
                        'title' => __('Favicon', RIT_TEXT_DOMAIN),
                        'default' => array(
                            'url' => RIT_PLUGIN_URL . 'assets/images/logo/favicon.ico'
                        )
                    ),

                    array(
                        'id'=>'icon-iphone',
                        'type' => 'media',
                        'url'=> true,
                        'readonly' => false,
                        'title' => __('Apple iPhone Icon', RIT_TEXT_DOMAIN),
                        'desc' => __('Icon for Apple iPhone (57px X 57px)', RIT_TEXT_DOMAIN),
                        'default' => array(
                            'url' => RIT_PLUGIN_URL . 'assets/images/logo/apple-touch-icon.png'
                        )
                    ),

                    array(
                        'id'=>'icon-iphone-retina',
                        'type' => 'media',
                        'url'=> true,
                        'readonly' => false,
                        'title' => __('Apple iPhone Retina Icon', RIT_TEXT_DOMAIN),
                        'desc' => __('Icon for Apple iPhone Retina (114px X 114px)', RIT_TEXT_DOMAIN),
                        'default' => array(
                            'url' => RIT_PLUGIN_URL . 'assets/images/logo/apple-touch-icon_114x114.png'
                        )
                    ),

                    array(
                        'id'=>'icon-ipad',
                        'type' => 'media',
                        'url'=> true,
                        'readonly' => false,
                        'title' => __('Apple iPad Icon', RIT_TEXT_DOMAIN),
                        'desc' => __('Icon for Apple iPad (72px X 72px)', RIT_TEXT_DOMAIN),
                        'default' => array(
                            'url' => RIT_PLUGIN_URL . 'assets/images/logo/apple-touch-icon_72x72.png'
                        )
                    ),

                    array(
                        'id'=>'icon-ipad-retina',
                        'type' => 'media',
                        'url'=> true,
                        'readonly' => false,
                        'title' => __('Apple iPad Retina Icon', RIT_TEXT_DOMAIN),
                        'desc' => __('Icon for Apple iPad Retina (144px X 144px)', RIT_TEXT_DOMAIN),
                        'default' => array(
                            'url' => RIT_PLUGIN_URL . 'assets/images/logo/apple-touch-icon_144x144.png'
                        )
                    ),
                )
            );

            $this->sections[] = array(
                'icon_class' => 'icon',
                'subsection' => true,
                'title' => __('Custom Javascript Code', RIT_TEXT_DOMAIN),
                'fields' => array(
                    array(
                        'id'=>'js-code',
                        'type' => 'ace_editor',
                        'title' => __('JS Code', RIT_TEXT_DOMAIN),
                        'subtitle' => __('Paste your JS code here.', RIT_TEXT_DOMAIN),
                        'mode' => 'javascript',
                        'theme' => 'chrome',
                        'default' => "jQuery(document).ready(function(){});"
                    )
                )
            );

            $this->sections[] = array(
                'icon' => 'el-icon-download-alt',
                'icon_class' => 'icon',
                'title' => __('Import Demo', RIT_TEXT_DOMAIN),
                'fields' => array(

                    array(
                        'id'=>'1',
                        'type' => 'info',
                        'title' => __('Import Dummy Content', RIT_TEXT_DOMAIN),
                        'desc' => '<br/><strong>'.__('If import failed, please check your site and click again "Import".', RIT_TEXT_DOMAIN) . '</strong>',
                        'notice' => false
                    ),

                    array(
                        'id'        => '1',
                        'type'      => 'raw',
                        'content'   => (isset($_GET['import_success'])?'<strong>' . __('Successfully Imported!', RIT_TEXT_DOMAIN) . '</strong><br/><br/>':'').'<a href="'.admin_url('admin.php?page=rit_settings').'&import_sample_content=true" class="button button-primary">' . __('Import', RIT_TEXT_DOMAIN) . '</a>'
                    ),

                    array(
                        'id'=>'1',
                        'type' => 'info',
                        'title' => __('Import Widgets', RIT_TEXT_DOMAIN),
                        'notice' => false
                    ),

                    array(
                        'id'        => '1',
                        'type'      => 'raw',
                        'content'   => (isset($_GET['import_widget_success'])?'<strong>' . __('Successfully Imported Widgets!', RIT_TEXT_DOMAIN) . '</strong><br/><br/>':'').'<a href="'.admin_url('admin.php?page=rit_settings').'&import_widget=true" class="button button-primary">' . __('Import', RIT_TEXT_DOMAIN) . '</a><br/><br/>'
                    ),

                    array(
                        'id'=>'1',
                        'type' => 'info',
                        'title' => __('Import Master Sliders', RIT_TEXT_DOMAIN),
                        'notice' => false
                    ),

                    array(
                        'id'        => '1',
                        'type'      => 'raw',
                        'content'   => (isset($_GET['import_masterslider_success'])?'<strong>' . __('Successfully Imported Master Sliders!', RIT_TEXT_DOMAIN) . '</strong><br/><br/>':'').'<a href="'.admin_url('admin.php?page=rit_settings').'&import_masterslider=true" class="button button-primary">' . __('Import', RIT_TEXT_DOMAIN) . '</a><br/><br/>'
                    ),

                    array(
                        'id'=>'1',
                        'type' => 'info',
                        'title' => '<strong style="font-size:20px;">'.__('Import Demo', RIT_TEXT_DOMAIN).'</strong>',
                        'desc' => '<br><strong>'.__('Before import, you should import dummy content, widgets and master sliders.<br/>When import demo, you should wait a few minutes.<br/>Will be change theme options, theme css, plugins css, front end page and blog page.', RIT_TEXT_DOMAIN).'</strong>',
                        'style' => 'success'
                    ),

                    array(
                        'id'        => '1',
                        'type'      => 'raw',
                        'content'   => (isset($_GET['import_options_success'])?'<strong>' . __('Successfully Imported Demo!', RIT_TEXT_DOMAIN) . '</strong><br/><br/>':'')
                    ),

                    array(
                        'id'=>'theme-type',
                        'type' => 'image_select',
                        'title' => __('Select Demo', RIT_TEXT_DOMAIN),
                        'full_width' => true,
                        'options' => $rit_demo_type,
                        'default' => ''
                    ),
                )
            );

            // Skin
            $this->sections[] = array(
                'icon' => 'el-icon-broom',
                'icon_class' => 'icon',
                'title' => __('Skin', RIT_TEXT_DOMAIN),
                'fields' => array(

                    array(
                        'id'        => '1',
                        'type'      => 'info',
                        'title' => __('After save the changes, will be regenerate the css files (skin_' . get_current_blog_id() . '.css, skin_rtl_' . get_current_blog_id() . '.css) in ', RIT_TEXT_DOMAIN) . '<strong>' . RIT_PLUGIN_PATH . '/css</strong>.',
                        'style' => 'info'
                    ),

                    array(
                        'id'=>'body-font',
                        'type' => 'typography',
                        'title' => __('Body Font', RIT_TEXT_DOMAIN),
                        'google' => true,
                        'subsets' => false,
                        'font-style' => false,
                        'text-align' => false,
                        'default'=> array(
                            'color'=>"#777777",
                            'google'=>true,
                            'font-weight'=>'400',
                            'font-family'=>'Open Sans',
                            'font-size'=>'14px',
                            'line-height' => '22px'
                        ),
                    ),

                    array(
                        'id'=>'alt-font',
                        'type' => 'typography',
                        'title' => __('Alternative Font', RIT_TEXT_DOMAIN),
                        'google' => true,
                        'subsets' => false,
                        'font-style' => false,
                        'font-size' => false,
                        'text-align' => false,
                        'color' => false,
                        'line-height' => false,
                        'desc' => __('You can use css class name "alternative-font" when edit html element.', RIT_TEXT_DOMAIN),
                        'default'=> array(
                            'google'=>true,
                            'font-weight'=>'400',
                            'font-family'=>'Shadows Into Light',
                        ),
                    ),

                    array(
                        'id'=>'skin-color',
                        'type' => 'color',
                        'title' => __('Default Color', RIT_TEXT_DOMAIN),
                        'default' => '#0088cc',
                        'validate' => 'color',
                    ),
                )
            );

            $this->sections[] = array(
                'icon_class' => 'icon',
                'subsection' => true,
                'title' => __('Compile Default CSS', RIT_TEXT_DOMAIN),
                'fields' => array(
                    array(
                        'id'        => '1',
                        'type'      => 'info',
                        'notice' => false,
                        'style' => 'info',
                        'title' => '<strong style="font-size:20px;">' . __('Compile CSS Files', RIT_TEXT_DOMAIN) . '</strong>',
                        'desc' => '<br/>' . (isset($_GET['compile_theme_success'])?'<strong style="font-size: 15px; color: #000;">' . __('Theme CSS compiled successfully!', RIT_TEXT_DOMAIN) . '</strong><br/><br/>':'')
                            . (isset($_GET['compile_theme_rtl_success'])?'<strong style="font-size: 15px; color: #000;">' . __('Theme RTL CSS compiled successfully!', RIT_TEXT_DOMAIN) . '</strong><br/><br/>':'')
                            . (isset($_GET['compile_plugins_success'])?'<strong style="font-size: 15px; color: #000;">' . __('Plugins CSS compiled successfully!', RIT_TEXT_DOMAIN) . '</strong><br/><br/>':'')
                            . (isset($_GET['compile_plugins_rtl_success'])?'<strong style="font-size: 15px; color: #000;">' . __('Plugins RTL CSS compiled successfully!', RIT_TEXT_DOMAIN) . '</strong><br/><br/>':'')
                            . '<a href="'.admin_url('admin.php?page=rit_settings').'&compile_theme=true" class="button button-primary">' . __('Theme CSS', RIT_TEXT_DOMAIN) . '</a> '
                            . '<a href="'.admin_url('admin.php?page=rit_settings').'&compile_theme_rtl=true" class="button button-primary">' . __('Theme RTL CSS', RIT_TEXT_DOMAIN) . '</a> '
                            . '<a href="'.admin_url('admin.php?page=rit_settings').'&compile_plugins=true" class="button button-primary">' . __('Plugins CSS', RIT_TEXT_DOMAIN) . '</a> '
                            . '<a href="'.admin_url('admin.php?page=rit_settings').'&compile_plugins_rtl=true" class="button button-primary">' . __('Plugins RTL CSS', RIT_TEXT_DOMAIN) . '</a> '
                            . '<br/><br/><span style="color: red;">' . __('<strong>Before compile</strong>, you should configure <strong>below options</strong> and click <strong>"Save Changes"</strong>.', RIT_TEXT_DOMAIN) . '</span>'
                            . '<br/><span style="color: black;">'
                            . __('After compile, will be regenerate the css files (theme_' . get_current_blog_id() . '.css, theme_rtl_' . get_current_blog_id() . '.css, plugins_' . get_current_blog_id() . '.css, plugins_rtl_' . get_current_blog_id() . '.css in ', RIT_TEXT_DOMAIN) . '<strong>' . RIT_PLUGIN_PATH . '/css</strong>.</span>',
                    ),

                    array(
                        'id'=>'css-type',
                        'type' => 'button_set',
                        'title' => __('Background Type', RIT_TEXT_DOMAIN),
                        'options' => array(
                            '' => __('Light', RIT_TEXT_DOMAIN),
                            'dark' => __('Dark', RIT_TEXT_DOMAIN)
                        ),
                        'default' => ''
                    ),

                    array(
                        'id'=>'color-dark',
                        'type' => 'color',
                        'required' => array('css-type','equals','dark'),
                        'title' => __('Basic Background Color', RIT_TEXT_DOMAIN),
                        'default' => '#1d2127',
                        'validate' => 'color',
                    ),

                    array(
                        'id'=>'container-width',
                        'type' => 'button_set',
                        'title' => __('Container Max Width', RIT_TEXT_DOMAIN),
                        'options' => array(
                            '1024' => '1024px',
                            '1170' => '1170px',
                            '1280' => '1280px'
                        ),
                        'default' => '1170'
                    ),

                    array(
                        'id'=>'grid-gutter-width',
                        'type' => 'button_set',
                        'title' => __('Grid Gutter Width', RIT_TEXT_DOMAIN),
                        'options' => array(
                            '16' => '16px',
                            '20' => '20px',
                            '30' => '30px'
                        ),
                        'default' => '20'
                    ),

                    array(
                        'id'=>'border-radius',
                        'type' => 'switch',
                        'title' => __('Border Radius', RIT_TEXT_DOMAIN),
                        'default' => true
                    ),

                    array(
                        'id'=>'thumb-padding',
                        'type' => 'switch',
                        'title' => __('Thumbnail Padding', RIT_TEXT_DOMAIN),
                        'default' => true
                    ),
                )
            );

            $this->sections[] = array(
                'icon_class' => 'icon',
                'subsection' => true,
                'title' => __('Body, Page', RIT_TEXT_DOMAIN),
                'fields' => array(
                    array(
                        'id'=>'body-bg',
                        'type' => 'background',
                        'title' => __('Body Background', RIT_TEXT_DOMAIN)
                    ),

                    array(
                        'id'=>'body-bg-gradient',
                        'type' => 'switch',
                        'title' => __('Body Background Gradient', RIT_TEXT_DOMAIN),
                        'default' => false,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'body-bg-gcolor',
                        'type' => 'color_gradient',
                        'title' => __('Body Background Gradient Color', RIT_TEXT_DOMAIN),
                        'required' => array('body-bg-gradient','equals',true),
                        'default' => array(
                            'from' => '',
                            'to' => ''
                        )
                    ),

                    array(
                        'id'=>'content-bg',
                        'type' => 'background',
                        'title' => __('Page Background', RIT_TEXT_DOMAIN)
                    ),

                    array(
                        'id'=>'content-bg-gradient',
                        'type' => 'switch',
                        'title' => __('Page Background Gradient', RIT_TEXT_DOMAIN),
                        'default' => false,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'content-bg-gcolor',
                        'type' => 'color_gradient',
                        'title' => __('Page Background Gradient Color', RIT_TEXT_DOMAIN),
                        'required' => array('content-bg-gradient','equals',true),
                        'default' => array(
                            'from' => '',
                            'to' => ''
                        )
                    ),
                )
            );

            $this->sections[] = array(
                'icon_class' => 'icon',
                'subsection' => true,
                'title' => __('Header', RIT_TEXT_DOMAIN),
                'fields' => array(

                    array(
                        'id'=>'header-bg',
                        'type' => 'background',
                        'title' => __('Background', RIT_TEXT_DOMAIN),
                        'default' => array(
                            'background-color' => '#ffffff'
                        )
                    ),

                    array(
                        'id'=>'header-bg-gradient',
                        'type' => 'switch',
                        'title' => __('Background Gradient', RIT_TEXT_DOMAIN),
                        'default' => false,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'header-bg-gcolor',
                        'type' => 'color_gradient',
                        'title' => __('Background Gradient Color', RIT_TEXT_DOMAIN),
                        'required' => array('header-bg-gradient','equals',true),
                        'default' => array(
                            'from' => '',
                            'to' => ''
                        )
                    ),

                    array(
                        'id'=>'sticky-header-bg',
                        'type' => 'background',
                        'title' => __('Sticky Header Background', RIT_TEXT_DOMAIN),
                        'default' => array(
                            'background-color' => '#ffffff'
                        )
                    ),

                    array(
                        'id'=>'sticky-header-bg-gradient',
                        'type' => 'switch',
                        'title' => __('Sticky Header Background Gradient', RIT_TEXT_DOMAIN),
                        'default' => false,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'sticky-header-bg-gcolor',
                        'type' => 'color_gradient',
                        'title' => __('Sticky Header Background Gradient Color', RIT_TEXT_DOMAIN),
                        'required' => array('sticky-header-bg-gradient','equals',true),
                        'default' => array(
                            'from' => '',
                            'to' => ''
                        )
                    ),

                    array(
                        'id'=>'header-text-color',
                        'type' => 'color',
                        'title' => __('Text Color', RIT_TEXT_DOMAIN),
                        'default' => '#777777',
                        'validate' => 'color',
                    ),

                    array(
                        'id'=>'header-link-color',
                        'type' => 'link_color',
                        'active' => false,
                        'title' => __('Link Color', RIT_TEXT_DOMAIN),
                        'default' => array(
                            'regular' => '#0088cc',
                            'hover' => '#0099e6',
                        )
                    ),

                    array(
                        'id'=>'header-top-border',
                        'type' => 'border',
                        'all' => true,
                        'style' => false,
                        'title' => __('Top Border', RIT_TEXT_DOMAIN),
                        'default' => array('border-color' => '#0088cc', 'border-top' => '4px')
                    ),

                    array(
                        'id'=>'1',
                        'type' => 'info',
                        'title' => __('Background Opacity when banner show below header', RIT_TEXT_DOMAIN),
                        'notice' => false
                    ),

                    array(
                        'id'=>'header-opacity',
                        'type' => 'text',
                        'title' => __('Header Opacity', RIT_TEXT_DOMAIN),
                        'default' => '80%'
                    ),

                    array(
                        'id'=>'searchform-opacity',
                        'type' => 'text',
                        'title' => __('Search Form Opacity', RIT_TEXT_DOMAIN),
                        'default' => '50%'
                    ),

                    array(
                        'id'=>'menuwrap-opacity',
                        'type' => 'text',
                        'title' => __('Menu Wrap Opacity', RIT_TEXT_DOMAIN),
                        'default' => '30%'
                    ),

                    array(
                        'id'=>'menu-opacity',
                        'type' => 'text',
                        'title' => __('Menu Opacity', RIT_TEXT_DOMAIN),
                        'default' => '30%'
                    ),

                    array(
                        'id'=>'1',
                        'type' => 'info',
                        'title' => __('Header Top', RIT_TEXT_DOMAIN),
                        'notice' => false
                    ),

                    array(
                        'id'=>'header-top-bg-color',
                        'type' => 'color',
                        'title' => __('Background Color', RIT_TEXT_DOMAIN),
                        'default' => '#f0f0ed',
                        'validate' => 'color',
                    ),

                    array(
                        'id'=>'header-top-bottom-border',
                        'type' => 'border',
                        'all' => true,
                        'style' => false,
                        'title' => __('Bottom Border', RIT_TEXT_DOMAIN),
                        'default' => array('border-color' => '#f0f0ed', 'border-top' => '0')
                    ),

                    array(
                        'id'=>'header-top-text-color',
                        'type' => 'color',
                        'title' => __('Text Color', RIT_TEXT_DOMAIN),
                        'default' => '#777777',
                        'validate' => 'color',
                    ),

                    array(
                        'id'=>'header-top-link-color',
                        'type' => 'link_color',
                        'active' => false,
                        'title' => __('Link Color', RIT_TEXT_DOMAIN),
                        'default' => array(
                            'regular' => '#0088cc',
                            'hover' => '#0099e6',
                        )
                    ),

                    array(
                        'id'=>'1',
                        'type' => 'info',
                        'title' => __('Side Navigation', RIT_TEXT_DOMAIN),
                        'notice' => false
                    ),

                    array(
                        'id'=>'side-social-bg-color',
                        'type' => 'color',
                        'title' => __('Social Link Background Color', RIT_TEXT_DOMAIN),
                        'default' => '#9e9e9e',
                        'validate' => 'color',
                    ),

                    array(
                        'id'=>'side-social-color',
                        'type' => 'color',
                        'title' => __('Social Link Color', RIT_TEXT_DOMAIN),
                        'default' => '#ffffff',
                        'validate' => 'color',
                    ),

                    array(
                        'id'=>'side-copyright-color',
                        'type' => 'color',
                        'title' => __('Copyright Text Color', RIT_TEXT_DOMAIN),
                        'default' => '#777777',
                        'validate' => 'color',
                    ),
                )
            );

            $this->sections[] = array(
                'icon_class' => 'icon',
                'subsection' => true,
                'title' => __('Main Menu', RIT_TEXT_DOMAIN),
                'fields' => array(

                    array(
                        'id'=>'mainmenu-wrap-bg-color',
                        'type' => 'color',
                        'title' => __('Wrapper Background Color', RIT_TEXT_DOMAIN),
                        'default' => '#ffffff',
                        'validate' => 'color',
                    ),

                    array(
                        'id'=>'mainmenu-wrap-padding',
                        'type' => 'spacing',
                        'mode' => 'padding',
                        'title' => __('Wrapper Padding', RIT_TEXT_DOMAIN),
                        'default' => array('padding-top' => 0, 'padding-bottom' => 15, 'padding-left' => 0, 'padding-right' => 0)
                    ),

                    array(
                        'id'=>'mainmenu-bg-color',
                        'type' => 'color',
                        'title' => __('Background Color', RIT_TEXT_DOMAIN),
                        'default' => '#f0f0ed',
                        'validate' => 'color',
                    ),

                    array(
                        'id'=>'1',
                        'type' => 'info',
                        'title' => __('Top Level Menu Item', RIT_TEXT_DOMAIN),
                        'notice' => false
                    ),

                    array(
                        'id'=>'mainmenu-toplevel-link-color',
                        'type' => 'link_color',
                        'active' => false,
                        'title' => __('Link Color', RIT_TEXT_DOMAIN),
                        'default' => array(
                            'regular' => '#0088cc',
                            'hover' => '#ffffff',
                        )
                    ),

                    array(
                        'id'=>'mainmenu-toplevel-hbg-color',
                        'type' => 'color',
                        'title' => __('Hover Background Color', RIT_TEXT_DOMAIN),
                        'default' => '#0088cc',
                        'validate' => 'color',
                    ),

                    array(
                        'id'=>'mainmenu-toplevel-padding1',
                        'type' => 'spacing',
                        'mode' => 'padding',
                        'title' => __('Padding on Desktop', RIT_TEXT_DOMAIN),
                        'desc' => __('if header type is like type 1 or type 4', RIT_TEXT_DOMAIN),
                        'default' => array('padding-top' => 11, 'padding-bottom' => 9, 'padding-left' => 13, 'padding-right' => 13)
                    ),

                    array(
                        'id'=>'mainmenu-toplevel-padding2',
                        'type' => 'spacing',
                        'mode' => 'padding',
                        'title' => __('Padding on Desktop (width > 991px)', RIT_TEXT_DOMAIN),
                        'desc' => __('if header type is like type 1 or type 4', RIT_TEXT_DOMAIN),
                        'default' => array('padding-top' => 9, 'padding-bottom' => 7, 'padding-left' => 10, 'padding-right' => 10)
                    ),

                    array(
                        'id'=>'1',
                        'type' => 'info',
                        'title' => __('Menu Popup', RIT_TEXT_DOMAIN),
                        'notice' => false
                    ),

                    array(
                        'id'=>'mainmenu-popup-border',
                        'type' => 'switch',
                        'title' => __('Show Border', RIT_TEXT_DOMAIN),
                        'default' => true,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'mainmenu-popup-border-color',
                        'type' => 'color',
                        'title' => __('Border Color', RIT_TEXT_DOMAIN),
                        'required' => array('mainmenu-popup-border','equals',true),
                        'default' => '#0088cc',
                        'validate' => 'color',
                    ),

                    array(
                        'id'=>'mainmenu-popup-bg-color',
                        'type' => 'color',
                        'title' => __('Background Color', RIT_TEXT_DOMAIN),
                        'default' => '#ffffff',
                        'validate' => 'color',
                    ),

                    array(
                        'id'=>'mainmenu-popup-heading-color',
                        'type' => 'color',
                        'title' => __('Heading Color', RIT_TEXT_DOMAIN),
                        'default' => '#333333',
                        'validate' => 'color',
                    ),

                    array(
                        'id'=>'mainmenu-popup-text-color',
                        'type' => 'link_color',
                        'active' => false,
                        'title' => __('Link Color', RIT_TEXT_DOMAIN),
                        'default' => array(
                            'regular' => '#777777',
                            'hover' => '#777777',
                        )
                    ),

                    array(
                        'id'=>'mainmenu-popup-text-hbg-color',
                        'type' => 'color',
                        'title' => __('Link Hover Background Color', RIT_TEXT_DOMAIN),
                        'default' => '#f4f4f4',
                        'validate' => 'color',
                    ),

                    array(
                        'id'=>'mainmenu-popup-narrow-type',
                        'type' => 'button_set',
                        'title' => __('Narrow Menu Style', RIT_TEXT_DOMAIN),
                        'desc' => __('if narrow menu style is "Style 2", you should select "Top Level Menu Item / Hover Background Color".', RIT_TEXT_DOMAIN),
                        'options' => array(
                            '' => 'Style 1',
                            '1' => 'Style 2'
                        ),
                        'default' => ''
                    ),

                    array(
                        'id'=>'1',
                        'type' => 'info',
                        'title' => __('Tip', RIT_TEXT_DOMAIN),
                        'notice' => false
                    ),

                    array(
                        'id'=>'mainmenu-tip-bg-color',
                        'type' => 'color',
                        'title' => __('Tip Background Color', RIT_TEXT_DOMAIN),
                        'default' => '#0cc485',
                        'validate' => 'color',
                    ),

                    array(
                        'id'=>'1',
                        'type' => 'info',
                        'title' => __('Menu Custom Content in header type 1, 4, 9', RIT_TEXT_DOMAIN),
                        'notice' => false
                    ),

                    array(
                        'id'=>'menu-custom-text-color',
                        'type' => 'color',
                        'title' => __('Text Color', RIT_TEXT_DOMAIN),
                        'default' => '#777777',
                        'validate' => 'color',
                    ),

                    array(
                        'id'=>'menu-custom-link',
                        'type' => 'link_color',
                        'title' => __('Link Color', RIT_TEXT_DOMAIN),
                        'active' => false,
                        'default' => array(
                            'regular' => '#0088cc',
                            'hover' => '#006fa4',
                        )
                    ),
                )
            );

            $this->sections[] = array(
                'icon_class' => 'icon',
                'subsection' => true,
                'title' => __('Footer', RIT_TEXT_DOMAIN),
                'fields' => array(

                    array(
                        'id'=>'footer-bg',
                        'type' => 'background',
                        'title' => __('Background', RIT_TEXT_DOMAIN),
                        'default' => array(
                            'background-color' => '#0e0e0e'
                        )
                    ),

                    array(
                        'id'=>'footer-bg-gradient',
                        'type' => 'switch',
                        'title' => __('Background Gradient', RIT_TEXT_DOMAIN),
                        'default' => false,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'footer-bg-gcolor',
                        'type' => 'color_gradient',
                        'title' => __('Background Gradient Color', RIT_TEXT_DOMAIN),
                        'required' => array('footer-bg-gradient','equals',true),
                        'default' => array(
                            'from' => '',
                            'to' => ''
                        )
                    ),

                    array(
                        'id'=>'footer-heading-color',
                        'type' => 'color',
                        'title' => __('Heading Color', RIT_TEXT_DOMAIN),
                        'default' => '#ffffff',
                        'validate' => 'color',
                    ),

                    array(
                        'id'=>'footer-text-color',
                        'type' => 'color',
                        'title' => __('Text Color', RIT_TEXT_DOMAIN),
                        'default' => '#777777',
                        'validate' => 'color',
                    ),

                    array(
                        'id'=>'footer-link-color',
                        'type'=>'link_color',
                        'active' => false,
                        'title' => __('Link Color', RIT_TEXT_DOMAIN),
                        'default' => array(
                            'regular' => '#ffffff',
                            'hover' => '#ffffff',
                        )
                    ),

                    array(
                        'id'=>'1',
                        'type' => 'info',
                        'title' => __('Footer Bottom', RIT_TEXT_DOMAIN),
                        'notice' => false
                    ),

                    array(
                        'id'=>'footer-bottom-bg',
                        'type' => 'background',
                        'title' => __('Background', RIT_TEXT_DOMAIN),
                        'default' => array(
                            'background-color' => '#060606'
                        )
                    ),

                    array(
                        'id'=>'footer-bottom-bg-gradient',
                        'type' => 'switch',
                        'title' => __('Background Gradient', RIT_TEXT_DOMAIN),
                        'default' => false,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'footer-bottom-bg-gcolor',
                        'type' => 'color_gradient',
                        'title' => __('Background Gradient Color', RIT_TEXT_DOMAIN),
                        'required' => array('footer-bottom-bg-gradient','equals',true),
                        'default' => array(
                            'from' => '',
                            'to' => ''
                        )
                    ),

                    array(
                        'id'=>'footer-bottom-text-color',
                        'type' => 'color',
                        'title' => __('Text Color', RIT_TEXT_DOMAIN),
                        'default' => '#555555',
                        'validate' => 'color',
                    ),

                    array(
                        'id'=>'footer-bottom-link-color',
                        'type'=>'link_color',
                        'active' => false,
                        'title' => __('Link Color', RIT_TEXT_DOMAIN),
                        'default' => array(
                            'regular' => '#ffffff',
                            'hover' => '#ffffff',
                        )
                    ),

                    array(
                        'id'=>'1',
                        'type' => 'info',
                        'title' => __('Background Opacity when footer show in fixed position', RIT_TEXT_DOMAIN),
                        'notice' => false
                    ),

                    array(
                        'id'=>'footer-opacity',
                        'type' => 'text',
                        'title' => __('Footer Opacity', RIT_TEXT_DOMAIN),
                        'default' => '80%'
                    ),

                    array(
                        'id'=>'1',
                        'type' => 'info',
                        'title' => __('Follow Us Widget', RIT_TEXT_DOMAIN),
                        'notice' => false
                    ),

                    array(
                        'id'=>'footer-social-bg-color',
                        'type' => 'color',
                        'title' => __('Background Color', RIT_TEXT_DOMAIN),
                        'default' => '#9e9e9e',
                        'validate' => 'color',
                    ),

                    array(
                        'id'=>'footer-social-link-color',
                        'type' => 'color',
                        'title' => __('Link Color', RIT_TEXT_DOMAIN),
                        'default' => '#ffffff',
                        'validate' => 'color',
                    ),
                )
            );

            $this->sections[] = array(
                'icon_class' => 'icon',
                'subsection' => true,
                'title' => __('Breadcrumbs', RIT_TEXT_DOMAIN),
                'fields' => array(

                    array(
                        'id'=>'breadcrumbs-bg',
                        'type' => 'background',
                        'title' => __('Background', RIT_TEXT_DOMAIN),
                        'default' => array(
                            'background-color' => '#171717'
                        )
                    ),

                    array(
                        'id'=>'breadcrumbs-bg-gradient',
                        'type' => 'switch',
                        'title' => __('Background Gradient', RIT_TEXT_DOMAIN),
                        'default' => false,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'breadcrumbs-bg-gcolor',
                        'type' => 'color_gradient',
                        'title' => __('Background Gradient Color', RIT_TEXT_DOMAIN),
                        'required' => array('breadcrumbs-bg-gradient','equals',true),
                        'default' => array(
                            'from' => '',
                            'to' => ''
                        )
                    ),

                    array(
                        'id'=>'breadcrumbs-top-border',
                        'type' => 'border',
                        'all' => true,
                        'style' => false,
                        'title' => __('Top Border', RIT_TEXT_DOMAIN),
                        'default' => array('border-color' => 'transparent', 'border-top' => '0')
                    ),

                    array(
                        'id'=>'breadcrumbs-bottom-border',
                        'type' => 'border',
                        'all' => true,
                        'style' => false,
                        'title' => __('Bottom Border', RIT_TEXT_DOMAIN),
                        'default' => array('border-color' => 'transparent', 'border-top' => '0')
                    ),

                    array(
                        'id'=>'breadcrumbs-padding',
                        'type' => 'spacing',
                        'mode' => 'padding',
                        'title' => __('Content Padding', RIT_TEXT_DOMAIN),
                        'description' => __('default: 0 15 0 15', RIT_TEXT_DOMAIN),
                        'default' => array('padding-top' => 0, 'padding-bottom' => 0, 'padding-left' => 15, 'padding-right' => 15)
                    ),

                    array(
                        'id'=>'breadcrumbs-text-color',
                        'type' => 'color',
                        'title' => __('Text Color', RIT_TEXT_DOMAIN),
                        'default' => '#ffffff',
                        'validate' => 'color',
                    ),

                    array(
                        'id'=>'breadcrumbs-link-color',
                        'type' => 'color',
                        'title' => __('Link Color', RIT_TEXT_DOMAIN),
                        'default' => '#ffffff',
                        'validate' => 'color',
                    ),

                    array(
                        'id'=>'breadcrumbs-title-color',
                        'type' => 'color',
                        'title' => __('Page Title Color', RIT_TEXT_DOMAIN),
                        'default' => '#ffffff',
                        'validate' => 'color',
                    ),
                )
            );

            $this->sections[] = array(
                'icon_class' => 'icon',
                'subsection' => true,
                'title' => __('Mobile Panel', RIT_TEXT_DOMAIN),
                'fields' => array(

                    array(
                        'id'=>'panel-bg-color',
                        'type' => 'color',
                        'title' => __('Background Color', RIT_TEXT_DOMAIN),
                        'default' => '#1d2127',
                        'validate' => 'color',
                    ),

                    array(
                        'id'=>'panel-text-color',
                        'type' => 'color',
                        'title' => __('Text Color', RIT_TEXT_DOMAIN),
                        'default' => '#ffffff',
                        'validate' => 'color',
                    ),

                    array(
                        'id'=>'panel-link-color',
                        'type'=>'link_color',
                        'active' => false,
                        'title' => __('Link Color', RIT_TEXT_DOMAIN),
                        'default' => array(
                            'regular' => '#ffffff',
                            'hover' => '#ffffff',
                        )
                    ),
                )
            );

            $this->sections[] = array(
                'icon_class' => 'icon',
                'subsection' => true,
                'title' => __('View, Currency Switcher', RIT_TEXT_DOMAIN),
                'fields' => array(

                    array(
                        'id'=>'switcher-bg-color',
                        'type' => 'color',
                        'title' => __('Background Color', RIT_TEXT_DOMAIN),
                        'default' => 'transparent',
                        'validate' => 'color',
                    ),

                    array(
                        'id'=>'switcher-hbg-color',
                        'type' => 'color',
                        'title' => __('Hover Background Color', RIT_TEXT_DOMAIN),
                        'default' => '#0088cc',
                        'validate' => 'color',
                    ),

                    array(
                        'id'=>'switcher-link-color',
                        'type' => 'link_color',
                        'active' => false,
                        'title' => __('Link Color', RIT_TEXT_DOMAIN),
                        'default' => array(
                            'regular' => '#777777',
                            'hover' => '#ffffff',
                        )
                    ),
                )
            );

            $this->sections[] = array(
                'icon_class' => 'icon',
                'subsection' => true,
                'title' => __('Search Form', RIT_TEXT_DOMAIN),
                'fields' => array(

                    array(
                        'id'=>'searchform-bg-color',
                        'type' => 'color',
                        'title' => __('Background Color', RIT_TEXT_DOMAIN),
                        'default' => '#ffffff',
                        'validate' => 'color',
                    ),

                    array(
                        'id'=>'searchform-border-color',
                        'type' => 'color',
                        'title' => __('Border Color', RIT_TEXT_DOMAIN),
                        'default' => '#cccccc',
                        'validate' => 'color',
                    ),

                    array(
                        'id'=>'searchform-popup-border-color',
                        'type' => 'color',
                        'title' => __('Popup Border Color', RIT_TEXT_DOMAIN),
                        'default' => '#cccccc',
                        'validate' => 'color',
                    ),

                    array(
                        'id'=>'searchform-text-color',
                        'type' => 'color',
                        'title' => __('Text Color', RIT_TEXT_DOMAIN),
                        'default' => '#777777',
                        'validate' => 'color',
                    ),

                    array(
                        'id'=>'searchform-hover-color',
                        'type' => 'color',
                        'title' => __('Hover Color', RIT_TEXT_DOMAIN),
                        'default' => '#0088cc',
                        'validate' => 'color',
                    ),
                )
            );

            $this->sections[] = array(
                'icon_class' => 'icon',
                'subsection' => true,
                'title' => __('Mini Cart', RIT_TEXT_DOMAIN),
                'fields' => array(

                    array(
                        'id'=>'minicart-icon-color',
                        'type' => 'color',
                        'title' => __('Icon Color', RIT_TEXT_DOMAIN),
                        'default' => '#0088cc',
                        'validate' => 'color',
                    ),

                    array(
                        'id'=>'minicart-item-color',
                        'type' => 'color',
                        'title' => __('Item Color', RIT_TEXT_DOMAIN),
                        'default' => '#ffffff',
                        'validate' => 'color',
                    ),

                    array(
                        'id'=>'minicart-border-color',
                        'type' => 'color',
                        'title' => __('Border Color', RIT_TEXT_DOMAIN),
                        'desc' => __('When mini cart type is 2, please configure this option.', RIT_TEXT_DOMAIN),
                        'default' => '#ffffff',
                        'validate' => 'color',
                    ),

                    array(
                        'id'=>'minicart-bg-color',
                        'type' => 'color',
                        'title' => __('Background Color', RIT_TEXT_DOMAIN),
                        'desc' => __('When mini cart type is 2, please configure this option.', RIT_TEXT_DOMAIN),
                        'default' => '#ffffff',
                        'validate' => 'color',
                    ),

                    array(
                        'id'=>'minicart-popup-border-color',
                        'type' => 'color',
                        'title' => __('Popup Border Color', RIT_TEXT_DOMAIN),
                        'default' => '#0088cc',
                        'validate' => 'color',
                    ),
                )
            );

            $this->sections[] = array(
                'icon_class' => 'icon',
                'subsection' => true,
                'title' => __('Custom CSS', RIT_TEXT_DOMAIN),
                'fields' => array(
                    array(
                        'id'=>'css-code',
                        'type' => 'ace_editor',
                        'title' => __('CSS Code', RIT_TEXT_DOMAIN),
                        'subtitle' => __('Paste your CSS code here.', RIT_TEXT_DOMAIN),
                        'mode' => 'css',
                        'theme' => 'monokai',
                        'default' => ""
                    ),
                )
            );

            // Header Settings
            $this->sections[] = array(
                'icon' => 'el-icon-website',
                'icon_class' => 'icon',
                'title' => __('Header', RIT_TEXT_DOMAIN),
                'fields' => array(

                    array(
                        'id'=>'show-header-top',
                        'type' => 'switch',
                        'title' => __('Show Header Top', RIT_TEXT_DOMAIN),
                        'default' => true,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'wpml-switcher',
                        'type' => 'switch',
                        'title' => __('Show WPML Language Switcher', RIT_TEXT_DOMAIN),
                        'desc' => __('Show wpml language switcher instead of view switcher menu.', RIT_TEXT_DOMAIN),
                        'default' => false,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'wcml-switcher',
                        'type' => 'switch',
                        'title' => __('Show WPML Currency Switcher', RIT_TEXT_DOMAIN),
                        'desc' => __('Show wpml currency switcher instead of currency switcher menu.', RIT_TEXT_DOMAIN),
                        'default' => false,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'welcome-msg',
                        'type' => 'text',
                        'title' => __('Welcome Message', RIT_TEXT_DOMAIN),
                        'default' => __('WELCOME TO PORTO WORDPRESS', RIT_TEXT_DOMAIN)
                    ),

                    array(
                        'id'=>'header-contact-info',
                        'type' => 'textarea',
                        'title' => __('Header Contact Info', RIT_TEXT_DOMAIN),
                        'default' => "<i class='fa fa-phone'></i> +(404) 158 14 25 78 <span class='gap'>|</span><a href='#'>CONTACT US</a>"
                    ),

                    array(
                        'id'=>'header-copyright',
                        'type' => 'textarea',
                        'title' => __('Side Navigation Copyright (Header Type: Side)', RIT_TEXT_DOMAIN),
                        'default' => __('&copy; Copyright 2015. All Rights Reserved.', RIT_TEXT_DOMAIN)
                    ),
                )
            );

            $this->sections[] = array(
                'icon_class' => 'icon',
                'subsection' => true,
                'title' => __('Header Type', RIT_TEXT_DOMAIN),
                'fields' => array(
                    array(
                        'id'=>'header-type',
                        'type' => 'image_select',
                        'full_width' => true,
                        'title' => __('Header Type', RIT_TEXT_DOMAIN),
                        'options' => $rit_header_type,
                        'default' => '1'
                    ),
                )
            );

            $this->sections[] = array(
                'icon_class' => 'icon',
                'subsection' => true,
                'title' => __('Social Links', RIT_TEXT_DOMAIN),
                'fields' => array(
                    array(
                        'id'=>'show-header-socials',
                        'type' => 'switch',
                        'title' => __('Show Social Links', RIT_TEXT_DOMAIN),
                        'default' => false,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id' => "header-social-facebook",
                        'type' => 'text',
                        'title' => __('Facebook', RIT_TEXT_DOMAIN),
                        'required' => array('show-header-socials','equals',true)
                    ),

                    array(
                        'id' => "header-social-twitter",
                        'type' => 'text',
                        'title' => __('Twitter', RIT_TEXT_DOMAIN),
                        'required' => array('show-header-socials','equals',true)
                    ),

                    array(
                        'id' => "header-social-rss",
                        'type' => 'text',
                        'title' => __('RSS', RIT_TEXT_DOMAIN),
                        'required' => array('show-header-socials','equals',true)
                    ),

                    array(
                        'id' => "header-social-pinterest",
                        'type' => 'text',
                        'title' => __('Pinterest', RIT_TEXT_DOMAIN),
                        'required' => array('show-header-socials','equals',true)
                    ),

                    array(
                        'id' => "header-social-youtube",
                        'type' => 'text',
                        'title' => __('Youtube', RIT_TEXT_DOMAIN),
                        'required' => array('show-header-socials','equals',true)
                    ),

                    array(
                        'id' => "header-social-instagram",
                        'type' => 'text',
                        'title' => __('Instagram', RIT_TEXT_DOMAIN),
                        'required' => array('show-header-socials','equals',true)
                    ),

                    array(
                        'id' => "header-social-skype",
                        'type' => 'text',
                        'title' => __('Skype', RIT_TEXT_DOMAIN),
                        'required' => array('show-header-socials','equals',true)
                    ),

                    array(
                        'id' => "header-social-linkedin",
                        'type' => 'text',
                        'title' => __('LinkedIn', RIT_TEXT_DOMAIN),
                        'required' => array('show-header-socials','equals',true)
                    ),

                    array(
                        'id' => "header-social-googleplus",
                        'type' => 'text',
                        'title' => __('Google Plus', RIT_TEXT_DOMAIN),
                        'required' => array('show-header-socials','equals',true)
                    ),
                )
            );

            $this->sections[] = array(
                'icon_class' => 'icon',
                'subsection' => true,
                'title' => __('Mini Cart', RIT_TEXT_DOMAIN),
                'fields' => array(
                    array(
                        'id'=>'show-minicart',
                        'type' => 'switch',
                        'title' => __('Show Mini Cart', RIT_TEXT_DOMAIN),
                        'default' => true,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'minicart-type',
                        'type' => 'image_select',
                        'title' => __('Minicart Type', RIT_TEXT_DOMAIN),
                        'required' => array('show-minicart','equals',true),
                        'options' => array(
                            '' => array('alt' => __('Minicart Type 1', RIT_TEXT_DOMAIN), 'img' => RIT_PLUGIN_URL . 'assets/images/minicarts/minicart_01.png'),
                            'minicart-box' => array('alt' => __('Minicart Type 2', RIT_TEXT_DOMAIN), 'img' => RIT_PLUGIN_URL . 'assets/images/minicarts/minicart_02.png'),
                            'minicart-inline' => array('alt' => __('Minicart Type 3', RIT_TEXT_DOMAIN), 'img' => RIT_PLUGIN_URL . 'assets/images/minicarts/minicart_03.png'),
                        ),
                        'default' => ''
                    ),
                )
            );

            $this->sections[] = array(
                'icon_class' => 'icon',
                'subsection' => true,
                'title' => __('Search Form', RIT_TEXT_DOMAIN),
                'fields' => array(
                    array(
                        'id'=>'show-searchform',
                        'type' => 'switch',
                        'title' => __('Show Search Form', RIT_TEXT_DOMAIN),
                        'default' => true,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'search-size',
                        'type' => 'button_set',
                        'title' => __('Search Form Size', RIT_TEXT_DOMAIN),
                        'required' => array('show-searchform','equals',true),
                        'options' => array('' => __('Large', RIT_TEXT_DOMAIN), 'search-md' => __('Medium', RIT_TEXT_DOMAIN), 'search-sm' => __('Small', RIT_TEXT_DOMAIN)),
                        'default' => ''
                    ),

                    array(
                        'id'=>'search-type',
                        'type' => 'button_set',
                        'title' => __('Search Content Type', RIT_TEXT_DOMAIN),
                        'required' => array('show-searchform','equals',true),
                        'options' => array('all' => __('All', RIT_TEXT_DOMAIN), 'post' => __('Post', RIT_TEXT_DOMAIN), 'product' => __('Product', RIT_TEXT_DOMAIN), 'portfolio' => __('Portfolio', RIT_TEXT_DOMAIN)),
                        'default' => 'all'
                    ),

                    array(
                        'id'=>'search-cats',
                        'type' => 'switch',
                        'title' => __('Show Categories', RIT_TEXT_DOMAIN),
                        'required' => array('search-type','equals',array('post', 'product')),
                        'default' => false,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),
                )
            );

            $this->sections[] = array(
                'icon_class' => 'icon',
                'subsection' => true,
                'title' => __('Sticky Header', RIT_TEXT_DOMAIN),
                'fields' => array(
                    array(
                        'id'=>'enable-sticky-header',
                        'type' => 'switch',
                        'title' => __('Enable Sticky Header', RIT_TEXT_DOMAIN),
                        'default' => true,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'enable-sticky-header-tablet',
                        'type' => 'switch',
                        'title' => __('Enable on Tablet (width < 992px)', RIT_TEXT_DOMAIN),
                        'required' => array('enable-sticky-header','equals',true),
                        'default' => true,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'enable-sticky-header-mobile',
                        'type' => 'switch',
                        'title' => __('Enable on Mobile (width <= 480)', RIT_TEXT_DOMAIN),
                        'required' => array('enable-sticky-header-tablet','equals',true),
                        'default' => true,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    )
                )
            );

            // Menu Settings
            $this->sections[] = array(
                'icon' => 'el-icon-website',
                'icon_class' => 'icon',
                'title' => __('Menu', RIT_TEXT_DOMAIN),
                'fields' => array(

                    array(
                        'id'=>'menu-arrow',
                        'type' => 'switch',
                        'title' => __('Show Menu Arrow', RIT_TEXT_DOMAIN),
                        'desc' => __('If menu item have sub menus, show menu arrow.', RIT_TEXT_DOMAIN),
                        'default' => true,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id' => "menu-sidebar-title",
                        'type' => 'text',
                        'title' => __('Sidebar Menu Title', RIT_TEXT_DOMAIN),
                        'default' => __('All Department', RIT_TEXT_DOMAIN)
                    ),

                    array(
                        'id' => "menu-sidebar-toggle",
                        'type' => 'switch',
                        'title' => __('Toggle Sidebar Menu', RIT_TEXT_DOMAIN),
                        'required' => array('menu-sidebar','equals',true),
                        'default' => false,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id' => "menu-login-pos",
                        'type' => 'button_set',
                        'title' => __('Display Login/Logout Link', RIT_TEXT_DOMAIN),
                        'options' => array(
                            '' => __('None', RIT_TEXT_DOMAIN),
                            'top_nav' => __('In Top Navigation', RIT_TEXT_DOMAIN),
                            'main_menu' => __('In Main Menu', RIT_TEXT_DOMAIN)
                        ),
                        'default' => ''
                    ),

                    array(
                        'id'=>'1',
                        'type' => 'info',
                        'title' => __('If header type is 1 or 4, 13', RIT_TEXT_DOMAIN),
                        'notice' => false
                    ),

                    array(
                        'id'=>'menu-align',
                        'type' => 'button_set',
                        'title' => __('Main Menu Align', RIT_TEXT_DOMAIN),
                        'options' => array(
                            '' => __('Left', RIT_TEXT_DOMAIN),
                            'centered' => __('Center', RIT_TEXT_DOMAIN)
                        ),
                        'default' => ''
                    ),

                    array(
                        'id'=>'menu-sidebar',
                        'type' => 'switch',
                        'title' => __('Show Main Menu in Sidebar', RIT_TEXT_DOMAIN),
                        'desc' => __('If the layout of a page is left sidebar or right sidebar, the main menu shows in the sidebar.', RIT_TEXT_DOMAIN),
                        'default' => '0',
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id' => "menu-sidebar-home",
                        'type' => 'switch',
                        'title' => __('Show Main Menu in Sidebar only on Home', RIT_TEXT_DOMAIN),
                        'required' => array('menu-sidebar','equals',true),
                        'default' => true,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'1',
                        'type' => 'info',
                        'title' => __('If header type is 9', RIT_TEXT_DOMAIN),
                        'notice' => false
                    ),

                    array(
                        'id' => "menu-title",
                        'type' => 'text',
                        'title' => __('Main Menu Title', RIT_TEXT_DOMAIN),
                        'default' => __('All Department', RIT_TEXT_DOMAIN)
                    ),

                    array(
                        'id' => "menu-toggle-onhome",
                        'type' => 'switch',
                        'title' => __('Toggle on home page', RIT_TEXT_DOMAIN),
                        'default' => false,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'1',
                        'type' => 'info',
                        'title' => __('If header type is 1 or 4, 9, 13', RIT_TEXT_DOMAIN),
                        'notice' => false
                    ),

                    array(
                        'id'=>'menu-block',
                        'type' => 'textarea',
                        'title' => __('Menu Custom Content', RIT_TEXT_DOMAIN),
                        'desc' => __('example: &lt;span&gt;Custom Message&lt;/span&gt;&lt;a href="#"&gt;Special Offer!&lt;/a&gt;&lt;a href="#"&gt;Buy this Theme!&lt;em class="tip hot"&gt;HOT&lt;i class="tip-arrow"&gt;&lt;/i&gt;&lt;/em&gt;&lt;/a&gt;', RIT_TEXT_DOMAIN),
                        'default' => '<a href="#">Special Offer!</a><a href="#">Buy this Theme!<em class="tip hot">HOT<i class="tip-arrow"></i></em></a>'
                    ),
                )
            );

            // Footer Settings
            $this->sections[] = array(
                'icon' => 'el-icon-website',
                'icon_class' => 'icon',
                'title' => __('Footer', RIT_TEXT_DOMAIN),
                'fields' => array(

                    array(
                        'id'=>'footer-logo',
                        'type' => 'media',
                        'url'=> true,
                        'readonly' => false,
                        'title' => __('Footer Logo', RIT_TEXT_DOMAIN),
                        'default' => array(
                            'url' => RIT_PLUGIN_URL . 'assets/images/logo/logo_footer.png'
                        )
                    ),

                    array(
                        'id' => "footer-ribbon",
                        'type' => 'text',
                        'title' => __('Ribbon Text', RIT_TEXT_DOMAIN),
                        'default' => '<a href="#">Get in Touch!</a>'
                    ),

                    array(
                        'id' => "footer-copyright",
                        'type' => 'textarea',
                        'title' => __('Copyright', RIT_TEXT_DOMAIN),
                        'default' => __('&copy; Copyright 2015. All Rights Reserved.', RIT_TEXT_DOMAIN)
                    ),

                    array(
                        'id' => "footer-copyright-pos",
                        'type' => 'button_set',
                        'title' => __('Copyright Position', RIT_TEXT_DOMAIN),
                        'options' => array(
                            'left' => __('Left', RIT_TEXT_DOMAIN),
                            'right' => __('Right', RIT_TEXT_DOMAIN)
                        ),
                        'default' => 'right'
                    ),

                    array(
                        'id'=>'footer-payments',
                        'type' => 'switch',
                        'title' => __('Show Payments Logos', RIT_TEXT_DOMAIN),
                        'default' => '1',
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'footer-payments-image',
                        'type' => 'media',
                        'url'=> true,
                        'readonly' => false,
                        'title' => __('Payments Image', RIT_TEXT_DOMAIN),
                        'required' => array('footer-payments','equals','1'),
                        'default' => array(
                            'url' => RIT_PLUGIN_URL . 'assets/images/payments.png'
                        )
                    ),

                    array(
                        'id'=>'footer-payments-link',
                        'type' => 'text',
                        'title' => __('Payments Link URL', RIT_TEXT_DOMAIN),
                        'required' => array('footer-payments','equals','1'),
                        'default' => ''
                    ),
                )
            );

            $this->sections[] = array(
                'icon_class' => 'icon',
                'subsection' => true,
                'title' => __('Footer Type', RIT_TEXT_DOMAIN),
                'fields' => array(
                    array(
                        'id'=>'footer-type',
                        'type' => 'image_select',
                        'full_width' => true,
                        'title' => __('Footer Type', RIT_TEXT_DOMAIN),
                        'options' => $rit_footer_type,
                        'default' => '1'
                    ),
                )
            );

            // Page
            $this->sections[] = array(
                'icon' => 'el-icon-bookmark',
                'icon_class' => 'icon',
                'title' => __('Page', RIT_TEXT_DOMAIN),
                'fields' => array(

                    array(
                        'id'=>'page-comment',
                        'type' => 'switch',
                        'title' => __('Show Comments', RIT_TEXT_DOMAIN),
                        'default' => '0',
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'page-zoom',
                        'type' => 'switch',
                        'title' => __('Slideshow Zoom Effect', RIT_TEXT_DOMAIN),
                        'default' => true,
                        'on' => __('Enable', RIT_TEXT_DOMAIN),
                        'off' => __('Disable', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'page-share',
                        'type' => 'switch',
                        'title' => __('Show Social Share Links', RIT_TEXT_DOMAIN),
                        'default' => false,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),
                )
            );

            // Blog
            $this->sections[] = array(
                'icon' => 'el-icon-file',
                'icon_class' => 'icon',
                'title' => __('Post', RIT_TEXT_DOMAIN),
                'fields' => array(

                    array(
                        'id'=>'post-format',
                        'type' => 'switch',
                        'title' => __('Show Post Format', RIT_TEXT_DOMAIN),
                        'default' => true,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'post-zoom',
                        'type' => 'switch',
                        'title' => __('Slideshow Zoom Effect', RIT_TEXT_DOMAIN),
                        'default' => true,
                        'on' => __('Enable', RIT_TEXT_DOMAIN),
                        'off' => __('Disable', RIT_TEXT_DOMAIN),
                    ),
                )
            );

            $this->sections[] = array(
                'icon_class' => 'icon',
                'subsection' => true,
                'title' => __('Blog & Post Archive', RIT_TEXT_DOMAIN),
                'fields' => array(
                    array(
                        'id'=>'post-archive-layout',
                        'type' => 'image_select',
                        'title' => __('Page Layout', RIT_TEXT_DOMAIN),
                        'options' => $page_layouts,
                        'default' => 'right-sidebar'
                    ),

                    array(
                        'id'=>'post-layout',
                        'type' => 'button_set',
                        'title' => __('Post Layout', RIT_TEXT_DOMAIN),
                        'options' => $rit_post_archive_layouts,
                        'default' => 'large'
                    ),

                    array(
                        'id'=>'grid-columns',
                        'type' => 'button_set',
                        'title' => __('Grid Columns', RIT_TEXT_DOMAIN),
                        'required' => array('post-layout','equals','grid'),
                        'options' => array(
                            '2' => '2',
                            '3' => '3',
                            '4' => '4'
                        ),
                        'default' => '3'
                    ),

                    array(
                        'id'=>'blog-infinite',
                        'type' => 'switch',
                        'title' => __('Enable Infinite Scroll', RIT_TEXT_DOMAIN),
                        'default' => false,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'blog-excerpt',
                        'type' => 'switch',
                        'title' => __('Show Excerpt', RIT_TEXT_DOMAIN),
                        'default' => false,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'blog-excerpt-length',
                        'type' => 'text',
                        'required' => array('blog-excerpt','equals',true),
                        'title' => __('Excerpt Length', RIT_TEXT_DOMAIN),
                        'desc' => __('The number of words', RIT_TEXT_DOMAIN),
                        'default' => '80',
                    ),

                    array(
                        'id'=>'blog-excerpt-type',
                        'type' => 'button_set',
                        'required' => array('blog-excerpt','equals',true),
                        'title' => __('Excerpt Type', RIT_TEXT_DOMAIN),
                        'options' => array('text' => __('Text', RIT_TEXT_DOMAIN),'html' => __('HTML', RIT_TEXT_DOMAIN)),
                        'default' => 'text'
                    ),
                )
            );

            $this->sections[] = array(
                'icon_class' => 'icon',
                'subsection' => true,
                'title' => __('Blog', RIT_TEXT_DOMAIN),
                'fields' => array(
                    array(
                        'id'=>'blog-title',
                        'type' => 'text',
                        'title' => __('Page Title', RIT_TEXT_DOMAIN),
                        'default' => 'Blog'
                    ),

                    array(
                        'id'=>'blog-banner_pos',
                        'type' => 'select',
                        'title' => __('Blog Banner Position', RIT_TEXT_DOMAIN),
                        'options' => $rit_banner_pos,
                        'default' => ""
                    ),

                    array(
                        'id'=>'blog-footer_view',
                        'type' => 'select',
                        'title' => __('Blog Footer View', RIT_TEXT_DOMAIN),
                        'options' => $rit_footer_view,
                        'default' => ""
                    ),

                    array(
                        'id'=>'blog-banner_type',
                        'type' => 'select',
                        'title' => __('Blog Banner Type', RIT_TEXT_DOMAIN),
                        'options' => $rit_banner_type,
                        'default' => 0
                    ),

                    array(
                        'id'=>'blog-banner_block',
                        'type' => 'editor',
                        'required' => array('blog-banner_type','equals','banner'),
                        'title' => __('Banner Block', RIT_TEXT_DOMAIN),
                        'desc' => __('You should input block slug name. You can create a block in <strong>Blocks/Add New</strong>.', RIT_TEXT_DOMAIN)
                    ),

                    array(
                        'id'=>'blog-content_top',
                        'type' => 'text',
                        'title' => __('Content Top', RIT_TEXT_DOMAIN),
                        'desc' => __('You should input block slug name. You can create a block in <strong>Blocks/Add New</strong>.', RIT_TEXT_DOMAIN)
                    ),

                    array(
                        'id'=>'blog-content_inner_top',
                        'type' => 'text',
                        'title' => __('Content Inner Top', RIT_TEXT_DOMAIN),
                        'desc' => __('You should input block slug name. You can create a block in <strong>Blocks/Add New</strong>.', RIT_TEXT_DOMAIN)
                    ),

                    array(
                        'id'=>'blog-content_inner_bottom',
                        'type' => 'text',
                        'title' => __('Content Inner Bottom', RIT_TEXT_DOMAIN),
                        'desc' => __('You should input block slug name. You can create a block in <strong>Blocks/Add New</strong>.', RIT_TEXT_DOMAIN)
                    ),

                    array(
                        'id'=>'blog-content_bottom',
                        'type' => 'text',
                        'title' => __('Content Bottom', RIT_TEXT_DOMAIN),
                        'desc' => __('You should input block slug name. You can create a block in <strong>Blocks/Add New</strong>.', RIT_TEXT_DOMAIN)
                    ),
                )
            );

            $this->sections[] = array(
                'icon_class' => 'icon',
                'subsection' => true,
                'title' => __('Single Post', RIT_TEXT_DOMAIN),
                'fields' => array(
                    array(
                        'id'=>'post-single-layout',
                        'type' => 'image_select',
                        'title' => __('Page Layout', RIT_TEXT_DOMAIN),
                        'options' => $page_layouts,
                        'default' => 'right-sidebar'
                    ),

                    array(
                        'id'=>'post-content-layout',
                        'type' => 'button_set',
                        'title' => __('Post Layout', RIT_TEXT_DOMAIN),
                        'options' => $rit_post_single_layouts,
                        'default' => 'large'
                    ),

                    array(
                        'id'=>'post-share',
                        'type' => 'switch',
                        'title' => __('Show Social Share Links', RIT_TEXT_DOMAIN),
                        'default' => true,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'post-author',
                        'type' => 'switch',
                        'title' => __('Show Author Info', RIT_TEXT_DOMAIN),
                        'default' => true,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'post-comments',
                        'type' => 'switch',
                        'title' => __('Show Comments', RIT_TEXT_DOMAIN),
                        'default' => true,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'post-related',
                        'type' => 'switch',
                        'title' => __('Show Related Posts', RIT_TEXT_DOMAIN),
                        'default' => true,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'post-related-count',
                        'type' => 'text',
                        'required' => array('post-related','equals',true),
                        'title' => __('Related Posts Count', RIT_TEXT_DOMAIN),
                        'desc' => __('If you want to show all the related posts, you should input "-1".', RIT_TEXT_DOMAIN),
                        'default' => '10'
                    ),

                    array(
                        'id'=>'post-related-orderby',
                        'type' => 'button_set',
                        'required' => array('post-related','equals',true),
                        'title' => __('Related Posts Order by', RIT_TEXT_DOMAIN),
                        'options' => array(
                            'none' => __('None', RIT_TEXT_DOMAIN),
                            'rand' => __('Random', RIT_TEXT_DOMAIN),
                            'date' => __('Date', RIT_TEXT_DOMAIN),
                            'ID' => __('ID', RIT_TEXT_DOMAIN),
                            'modified' => __('Modified Date', RIT_TEXT_DOMAIN),
                            'comment_count' => __('Comment Count', RIT_TEXT_DOMAIN)
                        ),
                        'default' => 'rand'
                    )
                )
            );

            // Portfolio
            $this->sections[] = array(
                'icon' => 'el-icon-picture',
                'icon_class' => 'icon',
                'title' => __('Portfolio', RIT_TEXT_DOMAIN),
                'fields' => array(

                    array(
                        'id'=>'portfolio-zoom',
                        'type' => 'switch',
                        'title' => __('Slideshow Zoom Effect', RIT_TEXT_DOMAIN),
                        'default' => true,
                        'on' => __('Enable', RIT_TEXT_DOMAIN),
                        'off' => __('Disable', RIT_TEXT_DOMAIN),
                    ),
                )
            );

            $this->sections[] = array(
                'icon_class' => 'icon',
                'subsection' => true,
                'title' => __('Portfolio Archive', RIT_TEXT_DOMAIN),
                'fields' => array(
                    array(
                        'id'=>'portfolio-title',
                        'type' => 'text',
                        'title' => __('Page Title', RIT_TEXT_DOMAIN),
                        'default' => 'Our <strong>Projects</strong>'
                    ),

                    array(
                        'id'=>'portfolio-archive-layout',
                        'type' => 'image_select',
                        'title' => __('Page Layout', RIT_TEXT_DOMAIN),
                        'options' => $page_layouts,
                        'default' => 'fullwidth'
                    ),

                    array(
                        'id'=>'portfolio-archive-sidebar',
                        'type' => 'select',
                        'title' => __('Select Sidebar', RIT_TEXT_DOMAIN),
                        'required' => array('portfolio-archive-layout','equals',$sidebars),
                        'data' => 'sidebars'
                    ),

                    array(
                        'id'=>'portfolio-infinite',
                        'type' => 'switch',
                        'title' => __('Enable Infinite Scroll', RIT_TEXT_DOMAIN),
                        'default' => true,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'portfolio-layout',
                        'type' => 'button_set',
                        'title' => __('Portfolio Layout', RIT_TEXT_DOMAIN),
                        'options' => $rit_portfolio_archive_layouts,
                        'default' => 'grid'
                    ),
                    array(
                        'id'=>'portfolio-grid-columns',
                        'type' => 'button_set',
                        'title' => __('Grid Columns', RIT_TEXT_DOMAIN),
                        'required' => array('portfolio-layout','equals','grid'),
                        "desc" => __("Select the columns in <strong>grid mode</strong>.", RIT_TEXT_DOMAIN),
                        'options' => array(
                            "2" => __("2 Columns", RIT_TEXT_DOMAIN),
                            "3" => __("3 Columns", RIT_TEXT_DOMAIN),
                            "4" => __("4 Columns", RIT_TEXT_DOMAIN),
                            "5" => __("5 Columns", RIT_TEXT_DOMAIN),
                            "6" => __("6 Columns", RIT_TEXT_DOMAIN),
                        ),
                        'default' => '4'
                    ),
                    array(
                        'id'=>'portfolio-grid-view',
                        'type' => 'button_set',
                        "title" => __("Grid View Type", RIT_TEXT_DOMAIN),
                        'required' => array('portfolio-layout','equals','grid'),
                        "desc" => __("Select the view type in <strong>grid mode</strong>.", RIT_TEXT_DOMAIN),
                        'options' => array(
                            "default" => __("Default", RIT_TEXT_DOMAIN),
                            "full" => __("Full Width", RIT_TEXT_DOMAIN)
                        ),
                        'default' => 'default'
                    ),

                    array(
                        'id'=>'portfolio-excerpt',
                        'type' => 'switch',
                        'title' => __('Show Excerpt', RIT_TEXT_DOMAIN),
                        'desc' => __('If yes, will be show the excerpt. If no, will be show the content.', RIT_TEXT_DOMAIN),
                        'default' => true,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'portfolio-excerpt-length',
                        'type' => 'text',
                        'required' => array('portfolio-excerpt','equals',true),
                        'title' => __('Excerpt Length', RIT_TEXT_DOMAIN),
                        'desc' => __('The number of words', RIT_TEXT_DOMAIN),
                        'default' => '80',
                    ),
                )
            );

            $this->sections[] = array(
                'icon_class' => 'icon',
                'subsection' => true,
                'title' => __('Single Portfolio', RIT_TEXT_DOMAIN),
                'fields' => array(
                    array(
                        'id'=>'portfolio-single-layout',
                        'type' => 'image_select',
                        'title' => __('Page Layout', RIT_TEXT_DOMAIN),
                        'options' => $page_layouts,
                        'default' => 'fullwidth'
                    ),

                    array(
                        'id'=>'portfolio-single-sidebar',
                        'type' => 'select',
                        'title' => __('Select Sidebar', RIT_TEXT_DOMAIN),
                        'required' => array('portfolio-single-layout','equals',$sidebars),
                        'data' => 'sidebars'
                    ),

                    array(
                        'id'=>'portfolio-page-nav',
                        'type' => 'switch',
                        'title' => __('Show List & Prev/Next Navigation', RIT_TEXT_DOMAIN),
                        'default' => true,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'portfolio-content-layout',
                        'type' => 'button_set',
                        'title' => __('Portfolio Layout', RIT_TEXT_DOMAIN),
                        'options' => $rit_portfolio_single_layouts,
                        'default' => 'medium'
                    ),

                    array(
                        'id'=>'portfolio-share',
                        'type' => 'switch',
                        'title' => __('Show Social Share Links', RIT_TEXT_DOMAIN),
                        'default' => true,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'portfolio-author',
                        'type' => 'switch',
                        'title' => __('Show Author Info', RIT_TEXT_DOMAIN),
                        'default' => '0',
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'portfolio-comments',
                        'type' => 'switch',
                        'title' => __('Show Comments', RIT_TEXT_DOMAIN),
                        'default' => '0',
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'portfolio-related',
                        'type' => 'switch',
                        'title' => __('Show Related Portfolios', RIT_TEXT_DOMAIN),
                        'default' => true,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'portfolio-related-count',
                        'type' => 'text',
                        'required' => array('portfolio-related','equals',true),
                        'title' => __('Related Portfolios Count', RIT_TEXT_DOMAIN),
                        'desc' => __('If you want to show all the related portfolios, you should input "-1".', RIT_TEXT_DOMAIN),
                        'default' => '10'
                    ),

                    array(
                        'id'=>'portfolio-related-orderby',
                        'type' => 'button_set',
                        'required' => array('portfolio-related','equals',true),
                        'title' => __('Related Portfolios Order by', RIT_TEXT_DOMAIN),
                        'options' => array(
                            'none' => __('None', RIT_TEXT_DOMAIN),
                            'rand' => __('Random', RIT_TEXT_DOMAIN),
                            'date' => __('Date', RIT_TEXT_DOMAIN),
                            'ID' => __('ID', RIT_TEXT_DOMAIN),
                            'modified' => __('Modified Date', RIT_TEXT_DOMAIN),
                            'comment_count' => __('Comment Count', RIT_TEXT_DOMAIN)
                        ),
                        'default' => 'rand'
                    ),
                )
            );

            // Member
            $this->sections[] = array(
                'icon' => 'el-icon-user',
                'icon_class' => 'icon',
                'title' => __('Member', RIT_TEXT_DOMAIN),
                'fields' => array(

                    array(
                        'id'=>'member-zoom',
                        'type' => 'switch',
                        'title' => __('Slideshow Zoom Effect', RIT_TEXT_DOMAIN),
                        'default' => true,
                        'on' => __('Enable', RIT_TEXT_DOMAIN),
                        'off' => __('Disable', RIT_TEXT_DOMAIN),
                    ),
                )
            );

            $this->sections[] = array(
                'icon_class' => 'icon',
                'subsection' => true,
                'title' => __('Member Archive', RIT_TEXT_DOMAIN),
                'fields' => array(
                    array(
                        'id'=>'member-title',
                        'type' => 'text',
                        'title' => __('Page Title', RIT_TEXT_DOMAIN),
                        'default' => 'Meet the <strong>Team</strong>'
                    ),

                    array(
                        'id'=>'member-archive-layout',
                        'type' => 'image_select',
                        'title' => __('Page Layout', RIT_TEXT_DOMAIN),
                        'options' => $page_layouts,
                        'default' => 'fullwidth'
                    ),

                    array(
                        'id'=>'member-archive-sidebar',
                        'type' => 'select',
                        'title' => __('Select Sidebar', RIT_TEXT_DOMAIN),
                        'required' => array('member-archive-layout','equals',$sidebars),
                        'data' => 'sidebars'
                    ),

                    array(
                        'id'=>'member-infinite',
                        'type' => 'switch',
                        'title' => __('Enable Infinite Scroll', RIT_TEXT_DOMAIN),
                        'default' => true,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'member-excerpt',
                        'type' => 'switch',
                        'title' => __('Show Overview Excerpt', RIT_TEXT_DOMAIN),
                        'default' => true,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'member-excerpt-length',
                        'type' => 'text',
                        'required' => array('member-excerpt','equals',true),
                        'title' => __('Excerpt Length', RIT_TEXT_DOMAIN),
                        'desc' => __('The number of words', RIT_TEXT_DOMAIN),
                        'default' => '80',
                    ),
                )
            );

            $this->sections[] = array(
                'icon_class' => 'icon',
                'subsection' => true,
                'title' => __('Single Member', RIT_TEXT_DOMAIN),
                'fields' => array(
                    array(
                        'id'=>'member-single-layout',
                        'type' => 'image_select',
                        'title' => __('Page Layout', RIT_TEXT_DOMAIN),
                        'options' => $page_layouts,
                        'default' => 'fullwidth'
                    ),

                    array(
                        'id'=>'member-single-sidebar',
                        'type' => 'select',
                        'title' => __('Select Sidebar', RIT_TEXT_DOMAIN),
                        'required' => array('member-single-layout','equals',$sidebars),
                        'data' => 'sidebars'
                    ),

                    array(
                        'id'=>'member-related',
                        'type' => 'switch',
                        'title' => __('Show Related Members', RIT_TEXT_DOMAIN),
                        'default' => true,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'member-related-count',
                        'type' => 'text',
                        'required' => array('member-related','equals',true),
                        'title' => __('Related Members Count', RIT_TEXT_DOMAIN),
                        'desc' => __('If you want to show all the related members, you should input "-1".', RIT_TEXT_DOMAIN),
                        'default' => '10'
                    ),

                    array(
                        'id'=>'member-related-orderby',
                        'type' => 'button_set',
                        'required' => array('member-related','equals',true),
                        'title' => __('Related Members Order by', RIT_TEXT_DOMAIN),
                        'options' => array(
                            'none' => __('None', RIT_TEXT_DOMAIN),
                            'rand' => __('Random', RIT_TEXT_DOMAIN),
                            'date' => __('Date', RIT_TEXT_DOMAIN),
                            'ID' => __('ID', RIT_TEXT_DOMAIN),
                            'modified' => __('Modified Date', RIT_TEXT_DOMAIN)
                        ),
                        'default' => 'rand'
                    ),
                )
            );

            // FAQ
            $this->sections[] = array(
                'icon' => 'el-icon-question',
                'icon_class' => 'icon',
                'title' => __('FAQ', RIT_TEXT_DOMAIN),
                'fields' => array(
                    array(
                        'id'=>'faq-title',
                        'type' => 'text',
                        'title' => __('Page Title', RIT_TEXT_DOMAIN),
                        'default' => 'Frequently Asked <strong>Questions</strong>'
                    ),

                    array(
                        'id'=>'faq-archive-layout',
                        'type' => 'image_select',
                        'title' => __('Page Layout', RIT_TEXT_DOMAIN),
                        'options' => $page_layouts,
                        'default' => 'fullwidth'
                    ),

                    array(
                        'id'=>'faq-archive-sidebar',
                        'type' => 'select',
                        'title' => __('Select Sidebar', RIT_TEXT_DOMAIN),
                        'required' => array('faq-archive-layout','equals',$sidebars),
                        'data' => 'sidebars'
                    ),

                    array(
                        'id'=>'faq-infinite',
                        'type' => 'switch',
                        'title' => __('Enable Infinite Scroll', RIT_TEXT_DOMAIN),
                        'default' => true,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),
                )
            );

            // 404
            $this->sections[] = array(
                'icon' => 'el-icon-error',
                'icon_class' => 'icon',
                'title' => __('404 Error', RIT_TEXT_DOMAIN),
                'fields' => array(
                    array(
                        'id'=>'error-block',
                        'type' => 'text',
                        'title' => __('404 Error Links Block', RIT_TEXT_DOMAIN),
                        'desc' => __('Input static block slug name', RIT_TEXT_DOMAIN),
                        'default' => 'error-404'
                    ),
                )
            );

            // Woocommerce
            $this->sections[] = array(
                'icon' => 'el-icon-shopping-cart',
                'icon_class' => 'icon',
                'title' => __('Woocommerce', RIT_TEXT_DOMAIN),
                'fields' => array(
                    array(
                        'id'=>'woo-show-rating',
                        'type' => 'switch',
                        'title' => __('Show Rating in Woocommerce Products Widget', RIT_TEXT_DOMAIN),
                        'default' => true,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),
                )
            );

            $this->sections[] = array(
                'icon_class' => 'icon',
                'subsection' => true,
                'title' => __('Product Archive', RIT_TEXT_DOMAIN),
                'fields' => array(
                    array(
                        'id'=>'product-archive-layout',
                        'type' => 'image_select',
                        'title' => __('Page Layout', RIT_TEXT_DOMAIN),
                        'options' => $page_layouts,
                        'default' => 'left-sidebar'
                    ),

                    array(
                        'id'=>'category-item',
                        'type' => 'text',
                        'title' => __('Products per Page', RIT_TEXT_DOMAIN),
                        'desc' => __('Comma separated list of product counts.', RIT_TEXT_DOMAIN),
                        'default' => '12,24,36'
                    ),

                    array(
                        'id'=>'category-view-mode',
                        'type' => 'button_set',
                        'title' => __('View Mode', RIT_TEXT_DOMAIN),
                        'options' => rit_ct_category_view_mode(),
                        'default' => '',
                    ),

                    array(
                        'id'=>'shop-product-cols',
                        'type' => 'button_set',
                        'title' => __('Shop Page Product Columns', RIT_TEXT_DOMAIN),
                        'options' => rit_ct_product_columns(),
                        'default' => '3',
                    ),

                    array(
                        'id'=>'product-cols',
                        'type' => 'button_set',
                        'title' => __('Category Product Columns', RIT_TEXT_DOMAIN),
                        'options' => rit_ct_product_columns(),
                        'default' => '4',
                    ),

                    array(
                        'id'=>'category-image-hover',
                        'type' => 'switch',
                        'title' => __('Enable Image Hover Effect', RIT_TEXT_DOMAIN),
                        'default' => true,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'category-addlinks-pos',
                        'type' => 'button_set',
                        'title' => __('Add Links Position', RIT_TEXT_DOMAIN),
                        'desc' => __('Select position of add to cart, add to wishlist, quickview.', RIT_TEXT_DOMAIN),
                        'options' => array('outimage' => __('Out of Image', RIT_TEXT_DOMAIN),'onimage' => __('On Image', RIT_TEXT_DOMAIN)),
                        'default' => 'outimage'
                    ),

                    array(
                        'id'=>'category-hover',
                        'type' => 'switch',
                        'title' => __('Enable Hover Effect', RIT_TEXT_DOMAIN),
                        'default' => true,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'product-wishlist',
                        'type' => 'switch',
                        'title' => __('Show Wishlist', RIT_TEXT_DOMAIN),
                        'default' => true,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'product-quickview',
                        'type' => 'switch',
                        'title' => __('Show Quick View', RIT_TEXT_DOMAIN),
                        'default' => true,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN)
                    ),
                )
            );

            $this->sections[] = array(
                'icon_class' => 'icon',
                'subsection' => true,
                'title' => __('Single Product', RIT_TEXT_DOMAIN),
                'fields' => array(
                    array(
                        'id'=>'product-single-layout',
                        'type' => 'image_select',
                        'title' => __('Page Layout', RIT_TEXT_DOMAIN),
                        'options' => $page_layouts,
                        'default' => 'right-sidebar'
                    ),

                    array(
                        'id'=>'product-nav',
                        'type' => 'switch',
                        'title' => __('Show Prev/Next Product', RIT_TEXT_DOMAIN),
                        'desc' => __('Will be show in breadcrumbs', RIT_TEXT_DOMAIN),
                        'default' => true,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'product-short-desc',
                        'type' => 'switch',
                        'title' => __('Show Short Description', RIT_TEXT_DOMAIN),
                        'default' => true,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'product-tabs',
                        'type' => 'button_set',
                        'title' => __('Tabs Type', RIT_TEXT_DOMAIN),
                        'options' => array('default' => __('Horizontal', RIT_TEXT_DOMAIN), 'vertical' => __('Vertical', RIT_TEXT_DOMAIN), 'accordion' => __('Accordion', RIT_TEXT_DOMAIN)),
                        'default' => 'default'
                    ),

                    array(
                        'id'=>'product-tabs-pos',
                        'type' => 'button_set',
                        'title' => __('Tabs Position', RIT_TEXT_DOMAIN),
                        'options' => array('' => __('Default', RIT_TEXT_DOMAIN), 'below' => __('Below Price & Short Description', RIT_TEXT_DOMAIN)),
                        'default' => ''
                    ),

                    array(
                        'id' => "product-tab-title",
                        'type' => 'text',
                        'title' => __('Global Product Custom Tab Title', RIT_TEXT_DOMAIN),
                        'default' => ''
                    ),

                    array(
                        'id' => "product-tab-block",
                        'type' => 'text',
                        'title' => __('Global Product Custom Tab Block', RIT_TEXT_DOMAIN),
                        'desc' => __('Input block slug name', RIT_TEXT_DOMAIN),
                        'default' => ''
                    ),

                    array(
                        'id'=>'product-related',
                        'type' => 'switch',
                        'title' => __('Show Related Products', RIT_TEXT_DOMAIN),
                        'default' => true,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'product-related-count',
                        'type' => 'text',
                        'required' => array('product-related','equals',true),
                        'title' => __('Related Products Count', RIT_TEXT_DOMAIN),
                        'default' => '10'
                    ),

                    array(
                        'id'=>'product-upsells',
                        'type' => 'switch',
                        'title' => __('Show Up Sells', RIT_TEXT_DOMAIN),
                        'default' => true,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'product-upsells-count',
                        'type' => 'text',
                        'required' => array('product-upsells','equals',true),
                        'title' => __('Up Sells Count', RIT_TEXT_DOMAIN),
                        'default' => '10'
                    ),

                    array(
                        'id'=>'product-hot',
                        'type' => 'switch',
                        'title' => __('Show "Hot" Label', RIT_TEXT_DOMAIN),
                        'desc' => __('Will be show in the featured product.', RIT_TEXT_DOMAIN),
                        'default' => true,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'product-sale',
                        'type' => 'switch',
                        'title' => __('Show "Sale" Label', RIT_TEXT_DOMAIN),
                        'default' => true,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'product-sale-percent',
                        'type' => 'switch',
                        'title' => __('Show Saved Sale Price Percentage', RIT_TEXT_DOMAIN),
                        'default' => true,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'product-stock',
                        'type' => 'switch',
                        'title' => __('Show "Out of stock" Status', RIT_TEXT_DOMAIN),
                        'default' => true,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'product-share',
                        'type' => 'switch',
                        'title' => __('Show Social Share Links', RIT_TEXT_DOMAIN),
                        'default' => true,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),
                )
            );

            $this->sections[] = array(
                'icon_class' => 'icon',
                'subsection' => true,
                'title' => __('Product Image & Zoom', RIT_TEXT_DOMAIN),
                'fields' => array(
                    array(
                        'id'=>'product-thumbs',
                        'type' => 'switch',
                        'title' => __('Show Thumbnails', RIT_TEXT_DOMAIN),
                        'default' => true,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'product-zoom',
                        'type' => 'switch',
                        'title' => __('Enable Image Zoom', RIT_TEXT_DOMAIN),
                        'default' => true,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'product-image-popup',
                        'type' => 'switch',
                        'title' => __('Enable Image Popup', RIT_TEXT_DOMAIN),
                        'default' => true,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'zoom-type',
                        'type' => 'button_set',
                        'title' => __('Zoom Type', RIT_TEXT_DOMAIN),
                        'options' => array('inner' => __('Inner', RIT_TEXT_DOMAIN), 'lens' => __('Lens', RIT_TEXT_DOMAIN)),
                        'default' => 'inner'
                    ),

                    array(
                        'id'=>'zoom-scroll',
                        'type' => 'switch',
                        'required' => array('zoom-type','equals',array('lens')),
                        'title' => __('Scroll Zoom', RIT_TEXT_DOMAIN),
                        'default' => true,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'zoom-lens-size',
                        'type' => 'text',
                        'required' => array('zoom-type','equals',array('lens')),
                        'title' => __('Lens Size', RIT_TEXT_DOMAIN),
                        'default' => '200'
                    ),

                    array(
                        'id'=>'zoom-lens-shape',
                        'type' => 'button_set',
                        'required' => array('zoom-type','equals',array('lens')),
                        'title' => __('Lens Shape', RIT_TEXT_DOMAIN),
                        'options' => array('round' => __('Round', RIT_TEXT_DOMAIN), 'square' => __('Square', RIT_TEXT_DOMAIN)),
                        'default' => 'square'
                    ),

                    array(
                        'id'=>'zoom-contain-lens',
                        'type' => 'switch',
                        'required' => array('zoom-type','equals',array('lens')),
                        'title' => __('Contain Lens Zoom', RIT_TEXT_DOMAIN),
                        'default' => true,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'zoom-lens-border',
                        'type' => 'text',
                        'required' => array('zoom-type','equals',array('lens')),
                        'title' => __('Lens Border', RIT_TEXT_DOMAIN),
                        'default' => true
                    ),

                    array(
                        'id'=>'zoom-border',
                        'type' => 'text',
                        'required' => array('zoom-type','equals',array('lens')),
                        'title' => __('Border Size', RIT_TEXT_DOMAIN),
                        'default' => '4'
                    ),

                    array(
                        'id'=>'zoom-border-color',
                        'type' => 'color',
                        'required' => array('zoom-type','equals',array('lens')),
                        'title' => __('Border Color', RIT_TEXT_DOMAIN),
                        'default' => '#888888'
                    ),
                )
            );

            $this->sections[] = array(
                'icon_class' => 'icon',
                'subsection' => true,
                'title' => __('Cart Page', RIT_TEXT_DOMAIN),
                'fields' => array(
                    array(
                        'id'=>'product-crosssell',
                        'type' => 'switch',
                        'title' => __('Show Cross Sells', RIT_TEXT_DOMAIN),
                        'default' => true,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'product-crosssell-count',
                        'type' => 'text',
                        'required' => array('product-crosssell','equals',true),
                        'title' => __('Cross Sells Count', RIT_TEXT_DOMAIN),
                        'default' => '8'
                    ),
                )
            );

            $this->sections[] = array(
                'icon_class' => 'icon',
                'subsection' => true,
                'title' => __('Catalog Mode', RIT_TEXT_DOMAIN),
                'fields' => array(
                    array(
                        'id'=>'catalog-enable',
                        'type' => 'switch',
                        'title' => __('Enable Catalog Mode', RIT_TEXT_DOMAIN),
                        'default' => false,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'catalog-price',
                        'type' => 'switch',
                        'title' => __('Show Price', RIT_TEXT_DOMAIN),
                        'default' => false,
                        'required' => array('catalog-enable','equals',true),
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'catalog-cart',
                        'type' => 'switch',
                        'title' => __('Show Add Cart Button', RIT_TEXT_DOMAIN),
                        'default' => false,
                        'required' => array('catalog-enable','equals',true),
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'catalog-review',
                        'type' => 'switch',
                        'title' => __('Show Reviews', RIT_TEXT_DOMAIN),
                        'default' => false,
                        'required' => array('catalog-enable','equals',true),
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'catalog-admin',
                        'type' => 'switch',
                        'title' => __('Enable also for administrators', RIT_TEXT_DOMAIN),
                        'default' => true,
                        'required' => array('catalog-enable','equals',true),
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    )
                )
            );

            // Social Share
            $this->sections[] = array(
                'icon' => 'el-icon-share-alt',
                'icon_class' => 'icon',
                'title' => __('Social Share', RIT_TEXT_DOMAIN),
                'fields' => array(
                    array(
                        'id'=>'share-enable',
                        'type' => 'switch',
                        'title' => __('Show social links', RIT_TEXT_DOMAIN),
                        'desc' => __('Show social links in post and product pages', RIT_TEXT_DOMAIN),
                        'default' => true,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'share-nofollow',
                        'type' => 'switch',
                        'title' => __('Add rel="nofollow" to social links', RIT_TEXT_DOMAIN),
                        'required' => array('share-enable','equals',true),
                        'default' => true,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'share-facebook',
                        'type' => 'switch',
                        'title' => __('Enable Facebook Share', RIT_TEXT_DOMAIN),
                        'required' => array('share-enable','equals',true),
                        'default' => true,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'share-twitter',
                        'type' => 'switch',
                        'title' => __('Enable Twitter Share', RIT_TEXT_DOMAIN),
                        'required' => array('share-enable','equals',true),
                        'default' => true,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'share-linkedin',
                        'type' => 'switch',
                        'title' => __('Enable LinkedIn Share', RIT_TEXT_DOMAIN),
                        'required' => array('share-enable','equals',true),
                        'default' => true,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'share-googleplus',
                        'type' => 'switch',
                        'title' => __('Enable Google + Share', RIT_TEXT_DOMAIN),
                        'required' => array('share-enable','equals',true),
                        'default' => true,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'share-pinterest',
                        'type' => 'switch',
                        'title' => __('Enable Pinterest Share', RIT_TEXT_DOMAIN),
                        'required' => array('share-enable','equals',true),
                        'default' => '0',
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'share-email',
                        'type' => 'switch',
                        'title' => __('Enable Email Share', RIT_TEXT_DOMAIN),
                        'required' => array('share-enable','equals',true),
                        'default' => true,
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'share-vk',
                        'type' => 'switch',
                        'title' => __('Enable VK Share', RIT_TEXT_DOMAIN),
                        'required' => array('share-enable','equals',true),
                        'default' => '0',
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'share-xing',
                        'type' => 'switch',
                        'title' => __('Enable Xing Share', RIT_TEXT_DOMAIN),
                        'required' => array('share-enable','equals',true),
                        'default' => '0',
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'share-tumblr',
                        'type' => 'switch',
                        'title' => __('Enable Tumblr Share', RIT_TEXT_DOMAIN),
                        'required' => array('share-enable','equals',true),
                        'default' => '0',
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),

                    array(
                        'id'=>'share-reddit',
                        'type' => 'switch',
                        'title' => __('Enable Reddit Share', RIT_TEXT_DOMAIN),
                        'required' => array('share-enable','equals',true),
                        'default' => '0',
                        'on' => __('Yes', RIT_TEXT_DOMAIN),
                        'off' => __('No', RIT_TEXT_DOMAIN),
                    ),
                )
            );
        }

        public function setHelpTabs() {

        }

        public function setArguments() {

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

            $this->args = array(
                'opt_name'          => 'rit_settings',
                'display_name'      => $theme->get('Name') . ' ' . __('Settings', RIT_TEXT_DOMAIN),
                'display_version'   => $theme->get('Version'),
                'menu_type'         => 'menu',
                'allow_sub_menu'    => true,
                'menu_title'        => __('Theme Options', RIT_TEXT_DOMAIN),
                'page_title'        => __('Theme Options', RIT_TEXT_DOMAIN),
                'footer_credit'     => __('Theme Options', RIT_TEXT_DOMAIN),

                'google_api_key' => 'AIzaSyAX_2L_UzCDPEnAHTG7zhESRVpMPS4ssII',
                'disable_google_fonts_link' => true,

                'async_typography'  => false,
                'admin_bar'         => true,
                'admin_bar_icon'       => 'dashicons-admin-generic',
                'admin_bar_priority'   => 50,
                'global_variable'   => '',
                'dev_mode'          => false,
                'customizer'        => true,

                'page_priority'     => null,
                'page_parent'       => 'themes.php',
                'page_permissions'  => 'manage_options',
                'menu_icon'         => '',
                'last_tab'          => '',
                'page_icon'         => 'icon-themes',
                'page_slug'         => 'rit_settings',
                'save_defaults'     => true,
                'default_show'      => false,
                'default_mark'      => '',
                'show_import_export' => true,

                'transient_time'    => 60 * MINUTE_IN_SECONDS,
                'output'            => true,
                'output_tag'        => true,

                'database'              => '',
                'system_info'           => false,

                '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',
                        ),
                    ),
                ),
                'ajax_save'                 => false,
            );


            // 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 RIT sets a global variable for you? To access any of your saved options from within your code you can use your global variable: ', RIT_TEXT_DOMAIN).'<strong>$%1$s</strong></p>', $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.', RIT_TEXT_DOMAIN).'</p>';
            }
        }

    }

    global $reduxRITOptions;
    $reduxRITOptions = new Redux_Framework_RIT_Options();
}