<?php
if ( ! class_exists( 'Redux' ) ) {
	return;
}

// This is your option name where all the Redux data is stored.
$opt_name = 'bestel_opt';

$theme       = wp_get_theme(); // For use with some settings. Not necessary.
$opt_prefix  = 'bestel';
$opt_prefix2 = 'bestel-core';

$args = array(
	// TYPICAL -> Change these values as you need/desire
	'opt_name'                  => $opt_name,
	// This is where your data is stored in the database and also becomes your global variable name.
	'display_name'              => $theme->get( 'Name' ),
	// Name that appears at the top of your panel
	'display_version'           => $theme->get( 'Version' ),
	// Version that appears at the top of your panel
	'menu_type'                 => 'menu',
	// Specify if the admin menu should appear or not. Options: menu or submenu (Under appearance only)
	'allow_sub_menu'            => true,
	// Show the sections below the admin menu item or not
	'menu_title'                => esc_html__( 'Best Hotel Options', 'bestel' ),
	'page_title'                => esc_html__( 'Best Hotel Options', 'bestel' ),
	// You will need to generate a Google API key to use this feature.
	// Please visit: https://developers.google.com/fonts/docs/developer_api#Auth
	'google_api_key'            => '',
	// Set it you want google fonts to update weekly. A google_api_key value is required.
	'google_update_weekly'      => false,
	// Must be defined to add google fonts to the typography module
	'disable_google_fonts_link' => true,
	'async_typography'          => false,
	// Use a asynchronous font on the front end or font string
	'admin_bar'                 => true,
	// Show the panel pages on the admin bar
	'admin_bar_icon'            => 'dashicons-portfolio',
	// Choose an icon for the admin bar menu
	'admin_bar_priority'        => 50,
	// Choose an priority for the admin bar menu
	'global_variable'           => '',
	// Set a different name for your global variable other than the opt_name
	'dev_mode'                  => false,
	// Show the time the page took to load, etc
	'update_notice'             => true,
	// If dev_mode is enabled, will notify developer of updated versions available in the GitHub Repo
	'customizer'                => false,
	// OPTIONAL -> Give you extra features
	'page_priority'             => null,
	// Order where the menu appears in the admin area. If there is any conflict, something will not show. Warning.
	'page_parent'               => 'themes.php',
	// For a full list of options, visit: http://codex.wordpress.org/Function_Reference/add_submenu_page#Parameters
	'page_permissions'          => 'manage_options',
	// Permissions needed to access the options panel.
	'menu_icon'                 => '',
	// Specify a custom URL to an icon
	'last_tab'                  => '',
	// Force your panel to always open to a specific tab (by id)
	'page_icon'                 => 'icon-themes',
	// Icon displayed in the admin panel next to your menu_title
	'page_slug'                 => '',
	// Page slug used to denote the panel, will be based off page title then menu title then opt_name if not provided
	'save_defaults'             => true,
	// On load save the defaults to DB before user clicks save or not
	'default_show'              => false,
	// If true, shows the default value next to each field that is not the default value.
	'default_mark'              => '',
	// What to print by the field's title if the value shown is default. Suggested: *
	'show_import_export'        => true,
	// Shows the Import/Export panel when not used as a field.
	// CAREFUL -> These options are for advanced use only
	'transient_time'            => 60 * MINUTE_IN_SECONDS,
	'output'                    => true,
	// Global shut-off for dynamic CSS output by the framework. Will also disable google fonts output
	'output_tag'                => true,
	// Allows dynamic CSS to be generated for customizer and google fonts, but stops the dynamic CSS from going to the head
	// FUTURE -> Not in use yet, but reserved or partially implemented. Use at your own risk.
	'database'                  => '',
	// possible: options, theme_mods, theme_mods_expanded, transient. Not fully functional, warning!
	'use_cdn'                   => true,
	// If you prefer not to use the CDN for Select2, Ace Editor, and others, you may download the Redux Vendor Support plugin yourself and run locally or embed it in your code.
	// HINTS
	'hints'                     => array(
		'icon'          => 'el el-question-sign',
		'icon_position' => 'right',
		'icon_color'    => 'lightgray',
		'icon_size'     => 'normal',
		'tip_style'     => array(
			'color'   => 'red',
			'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',
			),
		),
	),
);


Redux::setArgs( $opt_name, $args );

Redux::setSection(
	$opt_name,
	array(
		'title'            => esc_html__( 'Search Settings', 'bestel-core' ),
		'id'               => 'search_modal_settings',
		'desc'             => esc_html__( 'These are Offer fields!', 'bestel-core' ),
		'customizer_width' => '400px',
		'icon'             => 'el el-share',
		'fields'           => array(
			array(
				'id'     => 'search_shortcode_header',
				'type'   => 'section',
				'title'  => esc_html__( 'Shortcode search setting', 'bestel-core' ),
				'indent' => true, // Indent all options below until the next 'section' option is set.
			),
			array(
				'id'       => $opt_prefix2 . '-search_shortcode_url',
				'type'     => 'text',
				'title'    => esc_html__( 'Search Url Or Slug', 'bestel-core' ),
				'subtitle' => esc_html__( 'Search template url', 'bestel-core' ),
				'default'  => 'searched-room',
			),
			array(
				'id'     => 'search_modal_header',
				'type'   => 'section',
				'title'  => esc_html__( 'Modal search setting', 'bestel-core' ),
				'indent' => true, // Indent all options below until the next 'section' option is set.
			),
			array(
				'id'       => $opt_prefix2 . '-search_modal_main_title',
				'type'     => 'text',
				'title'    => esc_html__( 'Main Title', 'bestel-core' ),
				'subtitle' => esc_html__( 'Change Bastel Main Search Title', 'bestel-core' ),
				'default'  => 'Filters',
			),
			array(
				'id'       => $opt_prefix2 . '-search_modal_rate_switch',
				'type'     => 'switch',
				'title'    => esc_html__( 'Display Rate Search', 'bestel-core' ),
				'subtitle' => esc_html__( 'Enable or Disable Rate Search', 'bestel-core' ),
				'default'  => true,
				'on'       => esc_html__( 'Enable', 'bestel-core' ),
				'off'      => esc_html__( 'Disable', 'bestel-core' ),
			),
			array(
				'id'       => $opt_prefix2 . '-search_modal_rate_title',
				'type'     => 'text',
				'title'    => esc_html__( 'Rate Title', 'bestel-core' ),
				'subtitle' => esc_html__( 'Change Bastel Rate Title', 'bestel-core' ),
				'default'  => 'Rate',
			),

			array(
				'id'       => $opt_prefix2 . '-search_modal_rate_start_min',
				'type'     => 'text',
				'title'    => esc_html__( 'Rate Start Value (Min)', 'bestel-core' ),
				'subtitle' => esc_html__( 'Change Bastel Min Start Value', 'bestel-core' ),
				'default'  => 100,
			),
			array(
				'id'       => $opt_prefix2 . '-search_modal_rate_start_max',
				'type'     => 'text',
				'title'    => esc_html__( 'Rate Start Value (Max)', 'bestel-core' ),
				'subtitle' => esc_html__( 'Change Bastel Max Start Value', 'bestel-core' ),
				'default'  => 2000,
			),
			array(
				'id'       => $opt_prefix2 . '-search_modal_range_min',
				'type'     => 'text',
				'title'    => esc_html__( 'Rate Range (Min)', 'bestel-core' ),
				'subtitle' => esc_html__( 'Change Bastel Max Range', 'bestel-core' ),
				'default'  => 0,
			),
			array(
				'id'       => $opt_prefix2 . '-search_modal_range_max',
				'type'     => 'text',
				'title'    => esc_html__( 'Rate Range (Max)', 'bestel-core' ),
				'subtitle' => esc_html__( 'Change Bastel Min Range', 'bestel-core' ),
				'default'  => 3100,
			),
			array(
				'id'       => $opt_prefix2 . '-search_modal_range_step',
				'type'     => 'text',
				'title'    => esc_html__( 'Rate Range Step', 'bestel-core' ),
				'subtitle' => esc_html__( 'Change Bastel Rate Step Value', 'bestel-core' ),
				'default'  => 50,
			),



			array(
				'id'       => $opt_prefix2 . '-search_modal_size_switch',
				'type'     => 'switch',
				'title'    => esc_html__( 'Display Rate Search', 'bestel-core' ),
				'subtitle' => esc_html__( 'Enable or Disable Rate Search', 'bestel-core' ),
				'default'  => true,
				'on'       => esc_html__( 'Enable', 'bestel-core' ),
				'off'      => esc_html__( 'Disable', 'bestel-core' ),
			),
			array(
				'id'       => $opt_prefix2 . '-search_modal_size_title',
				'type'     => 'text',
				'title'    => esc_html__( 'Size Link', 'bestel-core' ),
				'subtitle' => esc_html__( 'Change Bastel Rate Url', 'bestel-core' ),
				'default'  => 'Room Size',
			),
			array(
				'id'       => $opt_prefix2 . '-search_modal_size_start_min',
				'type'     => 'text',
				'title'    => esc_html__( 'Size Start Value (Min)', 'bestel-core' ),
				'subtitle' => esc_html__( 'Change Bastel Min Start Value', 'bestel-core' ),
				'default'  => 0,
			),
			array(
				'id'       => $opt_prefix2 . '-search_modal_size_start_max',
				'type'     => 'text',
				'title'    => esc_html__( 'Size Start Value (Max)', 'bestel-core' ),
				'subtitle' => esc_html__( 'Change Bastel Max Start Value', 'bestel-core' ),
				'default'  => 120,
			),
			array(
				'id'       => $opt_prefix2 . '-search_modal_size_min',
				'type'     => 'text',
				'title'    => esc_html__( 'Size Range (Max)', 'bestel-core' ),
				'subtitle' => esc_html__( 'Change Bastel Min Range', 'bestel-core' ),
				'default'  => 0,
			),
			array(
				'id'       => $opt_prefix2 . '-search_modal_size_max',
				'type'     => 'text',
				'title'    => esc_html__( 'Size Range (Min)', 'bestel-core' ),
				'subtitle' => esc_html__( 'Change Bastel Max Range', 'bestel-core' ),
				'default'  => 310,
			),
			array(
				'id'       => $opt_prefix2 . '-search_modal_size_step',
				'type'     => 'text',
				'title'    => esc_html__( 'Size Range Step', 'bestel-core' ),
				'subtitle' => esc_html__( 'Change Bastel Size Step Value', 'bestel-core' ),
				'default'  => 10,
			),
		),
	)
);


Redux::setSection(
	$opt_name,
	array(
		'title'            => esc_html__( 'SMTP Mail Settings', 'bestel-core' ),
		'id'               => 'smtp_mail_settings',
		'desc'             => esc_html__( 'This for SMTP Mail setting!', 'bestel-core' ),
		'customizer_width' => '400px',
		'icon'             => 'el el-share',
		'fields'           => array(
			array(
				'id'       => $opt_prefix2 . '-useing_smtpMail',
				'type'     => 'switch',
				'title'    => esc_html__( 'Using SMTP Mail', 'bestel-core' ),
				'subtitle' => esc_html__( 'Enable or Disable SMTP Mail', 'bestel-core' ),
				'default'  => false,
				'on'       => esc_html__( 'Enable', 'bestel-core' ),
				'off'      => esc_html__( 'Disable', 'bestel-core' ),
			),
			array(
				'id'       => $opt_prefix2 . '-smtp_host',
				'type'     => 'text',
				'title'    => esc_html__( 'SMTP Host Name', 'bestel-core' ),
				'subtitle' => esc_html__( 'The hostname of the mail server', 'bestel-core' ),
				'default'  => '',
			),
			array(
				'id'       => $opt_prefix2 . '-smtp_Username',
				'type'     => 'text',
				'title'    => esc_html__( 'SMTP User Name', 'bestel-core' ),
				'subtitle' => esc_html__( 'Username to use for SMTP authentication', 'bestel-core' ),
				'default'  => '',
			),
			array(
				'id'       => $opt_prefix2 . '-smtp_Password',
				'type'     => 'text',
				'title'    => esc_html__( 'SMTP Password', 'bestel-core' ),
				'subtitle' => esc_html__( 'Password to use for SMTP authentication', 'bestel-core' ),
				'default'  => '',
			),
			array(
				'id'       => $opt_prefix2 . '-smtp_Port',
				'type'     => 'text',
				'title'    => esc_html__( 'SMTP Port Number', 'bestel-core' ),
				'subtitle' => esc_html__( 'SMTP port number - likely to be 25, 465 or 587', 'bestel-core' ),
				'default'  => '',
			),
			array(
				'id'       => $opt_prefix2 . '-smtp_From',
				'type'     => 'text',
				'title'    => esc_html__( 'SMTP Form', 'bestel-core' ),
				'subtitle' => esc_html__( 'SMTP From email address', 'bestel-core' ),
				'default'  => '',
			),
			array(
				'id'       => $opt_prefix2 . '-smtp_FromName',
				'type'     => 'text',
				'title'    => esc_html__( 'SMTP From Name', 'bestel-core' ),
				'subtitle' => esc_html__( 'SMTP From name', 'bestel-core' ),
				'default'  => '',
			),
			array(
				'id'       => $opt_prefix2 . '-smtp_SMTPSecure',
				'type'     => 'text',
				'title'    => esc_html__( 'SMTP Encryption system', 'bestel-core' ),
				'subtitle' => esc_html__( 'Encryption system to use - ssl or tls', 'bestel-core' ),
				'default'  => '',
			),
			array(
				'id'       => $opt_prefix2 . '-useing_smtp_auth',
				'type'     => 'switch',
				'title'    => esc_html__( 'SMTP authentication', 'bestel-core' ),
				'subtitle' => esc_html__( 'Enable or Disable SMTP authentication', 'bestel-core' ),
				'default'  => true,
				'on'       => esc_html__( 'True', 'bestel-core' ),
				'off'      => esc_html__( 'False', 'bestel-core' ),
			),
			array(
				'id'       => $opt_prefix2 . '-smtp_SMTPDEbug',
				'type'     => 'text',
				'title'    => esc_html__( 'SMTP Debug', 'bestel-core' ),
				'subtitle' => esc_html__( 'Only for developer, Please dont change this.', 'bestel-core' ),
				'default'  => '0',
			),

		),
	)
);

Redux::setSection(
	$opt_name,
	array(
		'title'            => esc_html__( 'Top Bar Settings', 'bestel' ),
		'id'               => 'weather_settins_lat_lon',
		'desc'             => esc_html__( 'Weather Settings', 'bestel' ),
		'customizer_width' => '400px',
		'icon'             => 'el el-website',
		'fields'           => array(
			array(
				'id'       => $opt_prefix . '_weather_lat',
				'type'     => 'text',
				'title'    => esc_html__( 'Weather Latidue', 'bestel' ),
				'subtitle' => esc_html__( 'No validation can be done on this field type', 'bestel' ),
				'desc'     => esc_html__( 'This is the description field, again good for additional info.', 'bestel' ),
				'default'  => '23.758869',
			),
			array(
				'id'       => $opt_prefix . '_weather_longitude',
				'type'     => 'text',
				'title'    => esc_html__( 'Weather longitude', 'bestel' ),
				'subtitle' => esc_html__( 'No validation can be done on this field type', 'bestel' ),
				'desc'     => esc_html__( 'This is the description field, again good for additional info.', 'bestel' ),
				'default'  => '90.392653',
			),
			array(
				'id'       => $opt_prefix . '_timezone_string',
				'type'     => 'text',
				'title'    => esc_html__( 'Enter Timezone String', 'bestel' ),
				'subtitle' => esc_html__( 'No validation can be done on this field type', 'bestel' ),
				'desc'     => esc_html__( 'This is the description field, again good for additional info.', 'bestel' ),
				'default'  => 'America/Anguilla',
			),
			array(
				'id'       => $opt_prefix . '_language_switcher',
				'type'     => 'switch',
				'title'    => esc_html__( 'Display Language Option', 'bestel' ),
				'subtitle' => esc_html__( 'Enable or Disable Language Option', 'bestel' ),
				'default'  => 'off',
				'on'       => esc_html__( 'Enable', 'bestel' ),
				'off'      => esc_html__( 'Disable', 'bestel' ),
			),
		),
	)
);


Redux::setSection(
	$opt_name,
	array(
		'title'            => esc_html__( 'Header Settings', 'bestel' ),
		'id'               => 'header_settings',
		'desc'             => esc_html__( 'All header settings', 'bestel' ),
		'customizer_width' => '400px',
		'icon'             => 'el el-website',
		'fields'           => array(
			array(
				'id'      => $opt_prefix . '_header_style',
				'type'    => 'select',
				'title'   => esc_html__( 'Header style', 'bestel' ),
				'options' => array(
					'1' => esc_html__( 'Header style one', 'bestel' ),
					'2' => esc_html__( 'Header style two', 'bestel' ),
				),
				'default' => '1',
			),
			array(
				'id'       => $opt_prefix . '_is_sticky_header',
				'type'     => 'switch',
				'title'    => esc_html__( 'Display Header Sticky', 'bestel' ),
				'subtitle' => esc_html__( 'Enable or Disable Header Sticky', 'bestel' ),
				'default'  => 'off',
				'on'       => esc_html__( 'Enable', 'bestel' ),
				'off'      => esc_html__( 'Disable', 'bestel' ),
			),
			array(
				'id'       => $opt_prefix . '-logo',
				'type'     => 'media',
				'url'      => true,
				'compiler' => 'true',
				'desc'     => esc_html__( 'Basic media uploader with disabled URL input field.', 'bestel' ),
				'subtitle' => esc_html__( 'Add/Upload logo using the WordPress native uploader', 'bestel' ),
				'title'    => esc_html__( 'Site Logo', 'bestel' ),
				'default'  => array(
					'url' => esc_url( BESTEL_IMG_URL . 'logo.png' ),
				),
			),
			array(
				'id'       => $opt_prefix . '-site-favicon',
				'type'     => 'media',
				'url'      => true,
				'title'    => esc_html__( 'Favicon URL', 'bestel' ),
				'compiler' => 'true',
				'desc'     => esc_html__( 'Set favicon for your theme', 'bestel' ),
				'subtitle' => esc_html__( 'Upload favicon for the theme', 'bestel' ),
				'default'  => array(
					'url' => esc_url( BESTEL_IMG_URL . 'favicon.png' ),
				),
			),
			array(
				'id'       => 'Header',
				'type'     => 'section',
				'title'    => esc_html__( 'Header Content', 'bestel' ),
				'subtitle' => esc_html__( 'With the "section" field you can create indented option sections.', 'bestel' ),
				'indent'   => true, // Indent all options below until the next 'section' option is set.
			),

			array(
				'id'       => $opt_prefix . '-page-header-topline',
				'type'     => 'switch',
				'title'    => esc_html__( 'Display Header Top Line', 'bestel' ),
				'subtitle' => esc_html__( 'Enable or disable header Top Line', 'bestel' ),
				'default'  => 'off',
				'on'       => esc_html__( 'Enable', 'bestel' ),
				'off'      => esc_html__( 'Disable', 'bestel' ),
			),


			array(
				'id'       => $opt_prefix . '-page-header-mobile',
				'type'     => 'switch',
				'title'    => esc_html__( 'Display Header Top Mobile', 'bestel' ),
				'subtitle' => esc_html__( 'Enable or disable header mobile content', 'bestel' ),
				'default'  => 'off',
				'on'       => esc_html__( 'Enable', 'bestel' ),
				'off'      => esc_html__( 'Disable', 'bestel' ),
			),
			array(
				'id'      => $opt_prefix . '-page-header-mobile-skype',
				'type'    => 'text',
				'title'   => esc_html__( 'Page Header Skype ID', 'bestel' ),
				'default' => 'besthotel',
			),
			array(
				'id'      => $opt_prefix . '-page-header-mobile-viber',
				'type'    => 'text',
				'title'   => esc_html__( 'Page Header Viber Number', 'bestel' ),
				'default' => '+0-800-502-309',
			),
			array(
				'id'      => $opt_prefix . '-page-header-mobile-telegram',
				'type'    => 'text',
				'title'   => esc_html__( 'Page Header Telegram', 'bestel' ),
				'default' => '#besthotel',
			),
			array(
				'id'      => $opt_prefix . '-page-header-mobile-email',
				'type'    => 'text',
				'title'   => esc_html__( 'Page Header Email', 'bestel' ),
				'default' => 'info@besthotel-email.com',
			),
			array(
				'id'       => $opt_prefix . '-page-header-catalog',
				'type'     => 'switch',
				'title'    => esc_html__( 'Display Header Catalog', 'bestel' ),
				'subtitle' => esc_html__( 'Enable or disable header catalog content', 'bestel' ),
				'default'  => 'off',
				'on'       => esc_html__( 'Enable', 'bestel' ),
				'off'      => esc_html__( 'Disable', 'bestel' ),
			),
			array(
				'id'       => $opt_prefix . '-page-header-contact',
				'type'     => 'switch',
				'title'    => esc_html__( 'Display Header Contact', 'bestel' ),
				'subtitle' => esc_html__( 'Enable or disable header contact content', 'bestel' ),
				'default'  => 'off',
				'on'       => esc_html__( 'Enable', 'bestel' ),
				'off'      => esc_html__( 'Disable', 'bestel' ),
			),
			array(
				'id'       => $opt_prefix . '-page-header-widget-booking',
				'type'     => 'switch',
				'title'    => esc_html__( 'Display Header Widget Booking', 'bestel' ),
				'subtitle' => esc_html__( 'Enable or disable header Widget Booking', 'bestel' ),
				'default'  => 'off',
				'on'       => esc_html__( 'Enable', 'bestel' ),
				'off'      => esc_html__( 'Disable', 'bestel' ),
			),



			array(
				'id'          => $opt_prefix . '-opt-widgets',
				'type'        => 'slides',
				'title'       => esc_html__( 'Add widget', 'bestel' ),
				'subtitle'    => esc_html__( 'Add Third partywidget.', 'bestel' ),
				'placeholder' => array(
					'title'       => esc_html__( 'This Field Not Working', 'bestel' ),
					'url'         => esc_html__( 'This Field Not Working', 'bestel' ),
					'image'       => esc_html__( 'This Field Not Working', 'bestel' ),
					'thumb'       => esc_html__( 'This Field Not Working', 'bestel' ),
					'description' => esc_html__( 'widget code paste Here', 'bestel' ),
				),
			),

			array(
				'id'       => $opt_prefix . '-opt-custom-html-switch',
				'type'     => 'switch',
				'title'    => esc_html__( 'Display Custom Html', 'bestel' ),
				'subtitle' => esc_html__( 'Display Custom Html', 'bestel' ),
				'default'  => 'off',
				'on'       => esc_html__( 'Enable', 'bestel' ),
				'off'      => esc_html__( 'Disable', 'bestel' ),
			),
			array(
				'id'          => $opt_prefix . '-opt-custom-html',
				'type'        => 'slides',
				'title'       => esc_html__( 'Add widget Custom Html', 'bestel' ),
				'subtitle'    => esc_html__( 'Add Custom Html for widget.', 'bestel' ),
				'placeholder' => array(
					'title'       => esc_html__( 'This Field Not Working', 'bestel' ),
					'url'         => esc_html__( 'This Field Not Working', 'bestel' ),
					'image'       => esc_html__( 'This Field Not Working', 'bestel' ),
					'thumb'       => esc_html__( 'This Field Not Working', 'bestel' ),
					'description' => esc_html__( 'widget code paste Here', 'bestel' ),
				),
			),

			array(
				'id'    => $opt_prefix . '-opt-custom-html-mobile',
				'type'  => 'textarea',
				'title' => esc_html__( 'Custom Html for mobile widget', 'bestel' ),
			),

			array(
				'id'      => $opt_prefix . '-page-header-location-1',
				'type'    => 'text',
				'title'   => esc_html__( 'Page Header location p1', 'bestel' ),
				'default' => 'Envato Level 13, 2 Elizabeth, St. Melbourne, Victoria 3000',
			),
			array(
				'id'      => $opt_prefix . '-page-header-location-2',
				'type'    => 'text',
				'title'   => esc_html__( 'Page Header location p2', 'bestel' ),
				'default' => '<span>5,6 km</span> from Sydney Airport...',
			),
			array(
				'id'      => $opt_prefix . '-page-header-phone',
				'type'    => 'text',
				'title'   => esc_html__( 'Page Header Phone', 'bestel' ),
				'default' => '+0-800-502-309',
			),
			array(
				'id'      => $opt_prefix . '-page-header-email',
				'type'    => 'text',
				'title'   => esc_html__( 'Page Header Email', 'bestel' ),
				'default' => 'info@besthotel-email.com',
			),
			array(
				'id'      => $opt_prefix . '-header-google-plus',
				'type'    => 'text',
				'title'   => esc_html__( 'Google Plus URL', 'bestel' ),
				'default' => esc_url( '#' ),
			),
			array(
				'id'      => $opt_prefix . '-header-facebook',
				'type'    => 'text',
				'title'   => esc_html__( 'Facebook URL', 'bestel' ),
				'default' => esc_url( '#' ),
			),
			array(
				'id'      => $opt_prefix . '-header-twitter',
				'type'    => 'text',
				'title'   => esc_html__( 'Twitter URL', 'bestel' ),
				'default' => esc_url( '#' ),
			),
			array(
				'id'      => $opt_prefix . '-header-instagram',
				'type'    => 'text',
				'title'   => esc_html__( 'Instagram URL', 'bestel' ),
				'default' => esc_url( '#' ),
			),
			array(
				'id'   => 'section-info',
				'type' => 'info',
				'desc' => esc_html__( 'And now you can add more fields below and outside of the indent.', 'bestel' ),
			),
			array(
				'id'   => 'section-info',
				'type' => 'info',
				'desc' => esc_html__( 'Header Mobile Map Setting', 'bestel' ),
			),
			array(
				'id'       => $opt_prefix . '-heder_enable_map_style',
				'type'     => 'switch',
				'title'    => esc_html__( 'Customize Map Style', 'bestel' ),
				'subtitle' => esc_html__( 'Enable if you like to customize the style of Google Map', 'bestel' ),
				'default'  => 'off',
				'on'       => esc_html__( 'Enable', 'bestel' ),
				'off'      => esc_html__( 'Disable', 'bestel' ),
			),
			array(
				'id'       => $opt_prefix . '_header_map_style',
				'required' => array( $opt_prefix . '-heder_enable_map_style', '=', '1' ),
				'type'     => 'textarea',
				'title'    => esc_html__( 'Map Style', 'bestel' ),
				'subtitle' => esc_html__( 'Please visit snazzymaps.com for more styles', 'bestel' ),
				'default'  => '[{"featureType":"water","elementType":"geometry","stylers":[{"color":"#e9e9e9"},{"lightness":17}]},{"featureType":"landscape","elementType":"geometry","stylers":[{"color":"#f5f5f5"},{"lightness":20}]},{"featureType":"road.highway","elementType":"geometry.fill","stylers":[{"color":"#ffffff"},{"lightness":17}]},{"featureType":"road.highway","elementType":"geometry.stroke","stylers":[{"color":"#ffffff"},{"lightness":29},{"weight":0.2}]},{"featureType":"road.arterial","elementType":"geometry","stylers":[{"color":"#ffffff"},{"lightness":18}]},{"featureType":"road.local","elementType":"geometry","stylers":[{"color":"#ffffff"},{"lightness":16}]},{"featureType":"poi","elementType":"geometry","stylers":[{"color":"#f5f5f5"},{"lightness":21}]},{"featureType":"poi.park","elementType":"geometry","stylers":[{"color":"#dedede"},{"lightness":21}]},{"elementType":"labels.text.stroke","stylers":[{"visibility":"on"},{"color":"#ffffff"},{"lightness":16}]},{"elementType":"labels.text.fill","stylers":[{"saturation":36},{"color":"#333333"},{"lightness":40}]},{"elementType":"labels.icon","stylers":[{"visibility":"off"}]},{"featureType":"transit","elementType":"geometry","stylers":[{"color":"#f2f2f2"},{"lightness":19}]},{"featureType":"administrative","elementType":"geometry.fill","stylers":[{"color":"#fefefe"},{"lightness":20}]},{"featureType":"administrative","elementType":"geometry.stroke","stylers":[{"color":"#fefefe"},{"lightness":17},{"weight":1.2}]}]',
			),
			array(
				'id'       => $opt_prefix . '-header_gmap_api_key',
				'type'     => 'text',
				'title'    => esc_html__( 'Google Map Api Key', 'bestel' ),
				'subtitle' => esc_html__( 'Set Google Map Api Key', 'bestel' ),
				'default'  => 'AIzaSyD8w9b7Y1DWWaKWMQQXZcITywkxdCqjqHU',
			),
			array(
				'id'       => $opt_prefix . '-header_gmap_zoom',
				'type'     => 'text',
				'title'    => esc_html__( 'Zoom', 'bestel' ),
				'subtitle' => esc_html__( 'Zoom of the map ', 'bestel' ),
				'default'  => 7,
			),
			array(
				'id'       => $opt_prefix . '_header_gmap_latitude',
				'type'     => 'text',
				'title'    => esc_html__( 'Center Latitude', 'bestel' ),
				'subtitle' => esc_html__( 'Center Latitude', 'bestel' ),
				'default'  => '59.3',
			),
			array(
				'id'       => $opt_prefix . '_header_gmap_longitude',
				'type'     => 'text',
				'title'    => esc_html__( 'Center Longitude', 'bestel' ),
				'subtitle' => esc_html__( 'Center Latitude', 'bestel' ),
				'default'  => '18.0941403',
			),
			array(
				'id'      => $opt_prefix . 'header_map_places',
				'type'    => 'text',
				'title'   => esc_html__( 'Places One', 'bestel' ),
				'default' => 'Object number one',
			),
			array(
				'id'       => $opt_prefix . '_header_gmap_marker',
				'type'     => 'media',
				'url'      => true,
				'compiler' => 'true',
				'desc'     => esc_html__( 'Google Map Marker.', 'bestel' ),
				'subtitle' => esc_html__( 'Add/Upload mobile logo using the WordPress native uploader', 'bestel' ),
				'title'    => esc_html__( 'Map Marker', 'bestel' ),
				'default'  => array(
					'url' => esc_url( BESTEL_IMG_URL . 'map-marker-1.png' ),
				),
			),


		),
	)
);

Redux::setSection(
	$opt_name,
	array(
		'title'            => esc_html__( 'Currency Settings', 'bestel' ),
		'id'               => 'currency_header_settings',
		'desc'             => esc_html__( 'Select Currency', 'bestel' ),
		'customizer_width' => '400px',
		'icon'             => 'el el-website',
		'fields'           => array(
			array(
				'id'       => $opt_prefix . '_currency_select',
				'type'     => 'select',
				'title'    => esc_html__( 'Select Currency', 'bestel' ),
				'subtitle' => esc_html__( 'Select currency icon', 'bestel' ),
				'desc'     => esc_html__( 'This is the currency icon field, you can select icon from here.', 'bestel' ),
				'options'  => array(
					'1' => 'USD',
					'2' => 'EUR',
					'3' => 'RUB',
					'4' => 'MYR',
					'5' => 'lei',
				),
				'default'  => '1',
			),
		),
	)
);


Redux::setSection(
	$opt_name,
	array(
		'title'            => esc_html__( 'Email Settings', 'bestel' ),
		'id'               => 'destination_email',
		'desc'             => esc_html__( 'Email Settings', 'bestel' ),
		'customizer_width' => '400px',
		'icon'             => 'el el-website',
		'fields'           => array(
			array(
				'id'      => $opt_prefix . '-des_email',
				'type'    => 'text',
				'title'   => esc_html__( 'Destinaiton Email', 'bestel' ),
				'default' => 'info@best.com',
			),
			array(
				'id'      => $opt_prefix . '-email_subject',
				'type'    => 'text',
				'title'   => esc_html__( 'Email Subject', 'bestel' ),
				'default' => 'Hotel Reservation',
			),
			array(
				'id'       => $opt_prefix . '-email_message',
				'type'     => 'textarea',
				'title'    => esc_html__( 'Email Message', 'bestel' ),
				'subtitle' => esc_html__( 'Token List: {name} {email} {phone} {check_in} {check_out} {room_type} {room} {adult} {child} {night}.', 'bestel' ),
			),


			array(
				'id'       => $opt_prefix . '-email_subject_user',
				'type'     => 'text',
				'title'    => esc_html__( 'Email Subject', 'bestel' ),
				'subtitle' => esc_html__( 'Email Subject for Booking User', 'bestel' ),
				'default'  => 'Booking Confirmation',
			),
			array(
				'id'       => $opt_prefix . '-email_message_user',
				'type'     => 'textarea',
				'title'    => esc_html__( 'Email Message', 'bestel' ),
				'subtitle' => esc_html__( 'Massage for Booking User', 'bestel' ),
				'default'  => esc_html__( 'Your reservation is sent, we will in touch with you shortly!', 'bestel' ),

			),


		),
	)
);


Redux::setSection(
	$opt_name,
	array(
		'title'            => esc_html__( 'Blog Settings', 'bestel' ),
		'id'               => 'blog_header_settings',
		'desc'             => esc_html__( 'All Blog settings', 'bestel' ),
		'customizer_width' => '400px',
		'icon'             => 'el el-website',
		'fields'           => array(
			array(
				'id'       => $opt_prefix . '-show-breadcrumb',
				'type'     => 'switch',
				'title'    => esc_html__( 'Show Breadcrumb in Blog Page', 'bestel' ),
				'subtitle' => esc_html__( 'Enable or Disable Breadcrumb in Blog Page', 'bestel' ),
				'default'  => 'off',
				'on'       => esc_html__( 'Enable', 'bestel' ),
				'off'      => esc_html__( 'Disable', 'bestel' ),
			),
			array(
				'id'       => $opt_prefix . '-show-social-inblog',
				'type'     => 'switch',
				'title'    => esc_html__( 'Show Social Icon in Blog Page', 'bestel' ),
				'subtitle' => esc_html__( 'Enable or Disable Social Icon in Blog Page', 'bestel' ),
				'default'  => 'off',
				'on'       => esc_html__( 'Enable', 'bestel' ),
				'off'      => esc_html__( 'Disable', 'bestel' ),
			),


			array(
				'id'       => $opt_prefix . '-show-social-inblog-facebook-icons',
				'type'     => 'switch',
				'title'    => esc_html__( 'Show Facebook Icon in Blog Page', 'bestel' ),
				'subtitle' => esc_html__( 'Enable or Disable Facebook Icon in Blog Page', 'bestel' ),
				'default'  => '1',
				'on'       => esc_html__( 'Enable', 'bestel' ),
				'off'      => esc_html__( 'Disable', 'bestel' ),
				'required' => array(
					array( $opt_prefix . '-show-social-inblog', 'equals', '1' ),
				),

			),
			array(
				'id'       => $opt_prefix . '-show-social-inblog-twitter-icons',
				'type'     => 'switch',
				'title'    => esc_html__( 'Show Twitter Icon in Blog Page', 'bestel' ),
				'subtitle' => esc_html__( 'Enable or Disable Twitter Icon in Blog Page', 'bestel' ),
				'default'  => '1',
				'on'       => esc_html__( 'Enable', 'bestel' ),
				'off'      => esc_html__( 'Disable', 'bestel' ),
				'required' => array(
					array( $opt_prefix . '-show-social-inblog', 'equals', '1' ),
				),
			),
			array(
				'id'       => $opt_prefix . '-show-social-inblog-google-icons',
				'type'     => 'switch',
				'title'    => esc_html__( 'Show Google Plus Icon in Blog Page', 'bestel' ),
				'subtitle' => esc_html__( 'Enable or Disable Google Plus in Blog Page', 'bestel' ),
				'default'  => '1',
				'on'       => esc_html__( 'Enable', 'bestel' ),
				'off'      => esc_html__( 'Disable', 'bestel' ),
				'required' => array(
					array( $opt_prefix . '-show-social-inblog', 'equals', '1' ),
				),
			),


		),
	)
);

Redux::setSection(
	$opt_name,
	array(
		'title'            => esc_html__( 'Typography', 'bestel' ),
		'id'               => 'fonts_settings',
		'desc'             => esc_html__( 'Typography', 'bestel' ),
		'customizer_width' => '400px',
		'icon'             => 'el el-font',
		'fields'           => array(
			array(
				'id'         => $opt_prefix . '-body_typography',
				'type'       => 'typography',
				'title'      => esc_html__( 'Body Typography', 'bestel' ),
				'subtitle'   => esc_html__( 'Select body font family, size, line height, color and weight.', 'bestel' ),
				'text-align' => false,
				'subsets'    => false,
				'default'    => array(
					'font-family' => 'Open Sans',
					'google'      => true,
					'font-size'   => '16px',
					'line-height' => '28px',
				),
			),
			array(
				'id'         => $opt_prefix . '-heading-1-typography',
				'type'       => 'typography',
				'title'      => esc_html__( 'H1 Font', 'bestel' ),
				'subtitle'   => esc_html__( 'Select heading font family and weight.', 'bestel' ),
				'google'     => true,
				'text-align' => false,
				'default'    => array(
					'font-size'   => '50px',
					'font-family' => 'Open Sans',
					'font-weight' => '600',
					'line-height' => '60px',
				),
			),
			array(
				'id'         => $opt_prefix . '-heading-2-typography',
				'type'       => 'typography',
				'title'      => esc_html__( 'H2 Font', 'bestel' ),
				'subtitle'   => esc_html__( 'Select heading font family and weight.', 'bestel' ),
				'google'     => true,
				'text-align' => false,
				'default'    => array(
					'font-size'   => '36px',
					'font-family' => 'Open Sans',
					'font-weight' => '600',
					'line-height' => '40px',
				),
			),
			array(
				'id'         => $opt_prefix . '-heading-3-typography',
				'type'       => 'typography',
				'title'      => esc_html__( 'H3 Font', 'bestel' ),
				'subtitle'   => esc_html__( 'Select heading font family and weight.', 'bestel' ),
				'google'     => true,
				'text-align' => false,
				'default'    => array(
					'font-size'   => '24px',
					'font-family' => 'Open Sans',
					'font-weight' => '600',
					'line-height' => '1.2em',
				),
			),
			array(
				'id'         => $opt_prefix . '-heading-4-typography',
				'type'       => 'typography',
				'title'      => esc_html__( 'H4 Font', 'bestel' ),
				'subtitle'   => esc_html__( 'Select heading font family and weight.', 'bestel' ),
				'google'     => true,
				'text-align' => false,
				'default'    => array(
					'font-size'   => '22px',
					'font-family' => 'Open Sans',
					'font-weight' => '600',
					'line-height' => '28px',
				),
			),
			array(
				'id'         => $opt_prefix . '-heading-5-typography',
				'type'       => 'typography',
				'title'      => esc_html__( 'H5 Font', 'bestel' ),
				'subtitle'   => esc_html__( 'Select heading font family and weight.', 'bestel' ),
				'google'     => true,
				'text-align' => false,
				'default'    => array(
					'font-size'   => '20px',
					'font-family' => 'Open Sans',
					'font-weight' => '600',
					'line-height' => '28px',
				),
			),
			array(
				'id'         => $opt_prefix . '-heading-6-typography',
				'type'       => 'typography',
				'title'      => esc_html__( 'H6 Font', 'bestel' ),
				'subtitle'   => esc_html__( 'Select heading font family and weight.', 'bestel' ),
				'google'     => true,
				'text-align' => false,
				'default'    => array(
					'font-size'   => '16px',
					'font-family' => 'Open Sans',
					'font-weight' => '600',
					'line-height' => '28px',
				),
			),
			array(
				'id'          => $opt_prefix . '-widget_title_typography',
				'type'        => 'typography',
				'title'       => esc_html__( 'Widget Title', 'bestel' ),
				'subtitle'    => esc_html__( 'Widget title typography settings', 'bestel' ),
				'text-align'  => false,
				'line-height' => false,
				'subsets'     => false,
				'default'     => array(
					'color'       => '#000',
					'font-weight' => '400',
					'font-family' => 'Open Sans',
					'google'      => true,
					'font-size'   => '24px',
				),
			),
		),
	)
);

Redux::setSection(
	$opt_name,
	array(
		'title'            => esc_html__( 'Footer Settings', 'bestel' ),
		'id'               => 'footer_settings',
		'desc'             => esc_html__( 'These are really basic fields!', 'bestel' ),
		'customizer_width' => '400px',
		'icon'             => 'el el-share',
		'fields'           => array(
			array(
				'id'      => $opt_prefix . '_footer_style',
				'type'    => 'select',
				'title'   => esc_html__( 'Footer style', 'bestel' ),
				'options' => array(
					'1' => esc_html__( 'Footer style one', 'bestel' ),
					'2' => esc_html__( 'Footer style two', 'bestel' ),
				),
				'default' => '1',
			),
			array(
				'required' => array( 'bestel_footer_style', '=', '2' ),
				'id'       => $opt_prefix . '-footer_logo',
				'type'     => 'media',
				'url'      => true,
				'compiler' => 'true',
				'desc'     => esc_html__( 'Basic media uploader with disabled URL input field.', 'bestel' ),
				'subtitle' => esc_html__( 'Add/Upload logo using the WordPress native uploader', 'bestel' ),
				'title'    => esc_html__( 'Site Footer Logo', 'bestel' ),
				'default'  => array(
					'url' => esc_url( BESTEL_IMG_URL . 'logo.png' ),
				),
			),
			array(
				'required' => array( 'bestel_footer_style', '=', '2' ),
				'id'       => $opt_prefix . '-footer_content',
				'type'     => 'textarea',
				'title'    => esc_html__( 'Footer Content', 'bestel' ),
				'default'  => esc_html__( 'A family-run hotel offers comfortable rooms and great rates. Great location, affordable rates, comfortable rooms, complimentary breakfast, friendly and helpful staff, Bestel hotel has it all!', 'bestel' ),
			),
			array(
				'id'       => $opt_prefix . '-footer-contact-info',
				'type'     => 'switch',
				'title'    => esc_html__( 'Display Footer Info', 'bestel' ),
				'subtitle' => esc_html__( 'Enable or disable Footer Content', 'bestel' ),
				'default'  => 'off',
				'on'       => esc_html__( 'Enable', 'bestel' ),
				'off'      => esc_html__( 'Disable', 'bestel' ),
			),
			array(
				'id'       => $opt_prefix . '-footer-catelog',
				'type'     => 'switch',
				'title'    => esc_html__( 'Display Footer Map', 'bestel' ),
				'subtitle' => esc_html__( 'Enable or disable Footer Map', 'bestel' ),
				'default'  => 'off',
				'on'       => esc_html__( 'Enable', 'bestel' ),
				'off'      => esc_html__( 'Disable', 'bestel' ),
			),

			array(
				'id'      => $opt_prefix . '-page-footer-title',
				'type'    => 'text',
				'title'   => esc_html__( 'Contact Us', 'bestel' ),
				'default' => 'Connect With Us',
			),
			array(
				'id'      => $opt_prefix . '-phone-caption',
				'type'    => 'editor',
				'title'   => esc_html__( 'Phone Caption', 'bestel' ),
				'default' => 'Envato Level 13, 2 Elizabeth,<br>St. Melbourne, Victoria 3000',
			),
			array(
				'id'      => $opt_prefix . '-phone-number',
				'type'    => 'text',
				'title'   => esc_html__( 'Phone Number', 'bestel' ),
				'default' => '+0-800-502-309',
			),
			array(
				'id'      => $opt_prefix . '-page-email-text',
				'type'    => 'text',
				'title'   => esc_html__( 'Business Email', 'bestel' ),
				'default' => 'info@besthotel-email.com',
			),
			array(
				'id'       => $opt_prefix . '-footer_copyright',
				'type'     => 'text',
				'title'    => esc_html__( 'Copyright', 'bestel' ),
				'subtitle' => esc_html__( 'Copyright Text', 'bestel' ),
				'default'  => esc_html__( '&copy; 2018 The Best Hotel.', 'bestel' ),
			),
			array(
				'id'       => $opt_prefix . '_footer_term_condition_enable',
				'type'     => 'switch',
				'title'    => esc_html__( 'Display Footer Terms and Condition', 'bestel' ),
				'subtitle' => esc_html__( 'Enable or disable Footer Terms and Condition', 'bestel' ),
				'default'  => 'off',
				'on'       => esc_html__( 'Enable', 'bestel' ),
				'off'      => esc_html__( 'Disable', 'bestel' ),
			),
			array(
				'id'           => $opt_prefix . '_footer_copyright_conditions',
				'type'         => 'textarea',
				'title'        => esc_html__( 'Copyright', 'bestel' ),
				'subtitle'     => esc_html__( 'Terms & Conditions', 'bestel' ),
				'validate'     => 'html_custom',
				'default'      => '',
				'allowed_html' => array(
					'a'      => array(
						'href'  => array(),
						'title' => array(),
					),
					'br'     => array(),
					'em'     => array(),
					'strong' => array(),
					'span'   => array(),
				),
			),

			array(
				'id'       => $opt_prefix . '-footer-social-info',
				'type'     => 'switch',
				'title'    => esc_html__( 'Display Footer Social', 'bestel' ),
				'subtitle' => esc_html__( 'Enable or disable Footer Social', 'bestel' ),
				'default'  => 'off',
				'on'       => esc_html__( 'Enable', 'bestel' ),
				'off'      => esc_html__( 'Disable', 'bestel' ),
			),



			array(
				'id'      => $opt_prefix . '-footer-facebook',
				'type'    => 'text',
				'title'   => esc_html__( 'Facebook URL', 'bestel' ),
				'default' => esc_url( '#' ),
			),
			array(
				'id'      => $opt_prefix . '-footer-twitter',
				'type'    => 'text',
				'title'   => esc_html__( 'Twitter URL', 'bestel' ),
				'default' => esc_url( '#' ),
			),
			array(
				'id'      => $opt_prefix . '-footer-google-plus',
				'type'    => 'text',
				'title'   => esc_html__( 'Google Plus URL', 'bestel' ),
				'default' => esc_url( '#' ),
			),
			array(
				'id'      => $opt_prefix . '-footer-instagram',
				'type'    => 'text',
				'title'   => esc_html__( 'Instagram URL', 'bestel' ),
				'default' => esc_url( '#' ),
			),
			array(
				'id'       => $opt_prefix . '-footer-backTotop',
				'type'     => 'switch',
				'title'    => esc_html__( 'Display Back To Top', 'bestel' ),
				'subtitle' => esc_html__( 'Enable or Disable Back to Top', 'bestel' ),
				'default'  => 'off',
				'on'       => esc_html__( 'Enable', 'bestel' ),
				'off'      => esc_html__( 'Disable', 'bestel' ),
			),
		),
	)
);

Redux::setSection(
	$opt_name,
	array(
		'title'            => esc_html__( 'Footer Map Settings', 'bestel' ),
		'id'               => 'footer_map_settings',
		'desc'             => esc_html__( 'These are really basic fields!', 'bestel' ),
		'customizer_width' => '400px',
		'icon'             => 'el el-share',
		'fields'           => array(
			array(
				'id'       => $opt_prefix . '-enable_map_style',
				'type'     => 'switch',
				'title'    => esc_html__( 'Customize Map Style', 'bestel' ),
				'subtitle' => esc_html__( 'Enable if you like to customize the style of Google Map', 'bestel' ),
				'default'  => 'off',
				'on'       => esc_html__( 'Enable', 'bestel' ),
				'off'      => esc_html__( 'Disable', 'bestel' ),
			),
			array(
				'id'       => $opt_prefix . '_map_style',
				'required' => array( $opt_prefix . '-enable_map_style', '=', '1' ),
				'type'     => 'textarea',
				'title'    => esc_html__( 'Map Style', 'bestel' ),
				'subtitle' => esc_html__( 'Please visit snazzymaps.com for more styles', 'bestel' ),
				'default'  => '[{"featureType":"water","elementType":"geometry","stylers":[{"color":"#e9e9e9"},{"lightness":17}]},{"featureType":"landscape","elementType":"geometry","stylers":[{"color":"#f5f5f5"},{"lightness":20}]},{"featureType":"road.highway","elementType":"geometry.fill","stylers":[{"color":"#ffffff"},{"lightness":17}]},{"featureType":"road.highway","elementType":"geometry.stroke","stylers":[{"color":"#ffffff"},{"lightness":29},{"weight":0.2}]},{"featureType":"road.arterial","elementType":"geometry","stylers":[{"color":"#ffffff"},{"lightness":18}]},{"featureType":"road.local","elementType":"geometry","stylers":[{"color":"#ffffff"},{"lightness":16}]},{"featureType":"poi","elementType":"geometry","stylers":[{"color":"#f5f5f5"},{"lightness":21}]},{"featureType":"poi.park","elementType":"geometry","stylers":[{"color":"#dedede"},{"lightness":21}]},{"elementType":"labels.text.stroke","stylers":[{"visibility":"on"},{"color":"#ffffff"},{"lightness":16}]},{"elementType":"labels.text.fill","stylers":[{"saturation":36},{"color":"#333333"},{"lightness":40}]},{"elementType":"labels.icon","stylers":[{"visibility":"off"}]},{"featureType":"transit","elementType":"geometry","stylers":[{"color":"#f2f2f2"},{"lightness":19}]},{"featureType":"administrative","elementType":"geometry.fill","stylers":[{"color":"#fefefe"},{"lightness":20}]},{"featureType":"administrative","elementType":"geometry.stroke","stylers":[{"color":"#fefefe"},{"lightness":17},{"weight":1.2}]}]',
			),
			array(
				'id'       => $opt_prefix . '_gmap_title',
				'type'     => 'text',
				'title'    => esc_html__( 'Google Map Title', 'bestel' ),
				'subtitle' => esc_html__( 'Google Map Title', 'bestel' ),
				'default'  => 'How to Get Us',
			),
			array(
				'id'       => $opt_prefix . '_gmap_short_desc',
				'type'     => 'textarea',
				'title'    => esc_html__( 'Google Map Short Desc', 'bestel' ),
				'subtitle' => esc_html__( 'Google Map Short Desc', 'bestel' ),
				'default'  => 'The hotel is located in the center of the old town, close to the City Airport, the Area#1 and the Area#2.',
			),
			array(
				'id'       => $opt_prefix . '-gmap_api_key',
				'type'     => 'text',
				'title'    => esc_html__( 'Google Map Api Key', 'bestel' ),
				'subtitle' => esc_html__( 'Set Google Map Api Key', 'bestel' ),
				'default'  => 'AIzaSyD8w9b7Y1DWWaKWMQQXZcITywkxdCqjqHU',
			),
			array(
				'id'       => $opt_prefix . '-gmap_zoom',
				'type'     => 'text',
				'title'    => esc_html__( 'Zoom', 'bestel' ),
				'subtitle' => esc_html__( 'Zoom of the map ', 'bestel' ),
				'default'  => 14,
			),
			array(
				'id'       => $opt_prefix . '_gmap_latitude',
				'type'     => 'text',
				'title'    => esc_html__( 'Center Latitude', 'bestel' ),
				'subtitle' => esc_html__( 'Center Latitude', 'bestel' ),
				'default'  => '59.3',
			),
			array(
				'id'       => $opt_prefix . '_gmap_longitude',
				'type'     => 'text',
				'title'    => esc_html__( 'Center Longitude', 'bestel' ),
				'subtitle' => esc_html__( 'Center Latitude', 'bestel' ),
				'default'  => '18.0941403',
			),
			array(
				'id'       => $opt_prefix . '_gmap_open_button',
				'type'     => 'text',
				'title'    => esc_html__( 'Button Text', 'bestel' ),
				'subtitle' => esc_html__( 'Button Text when map close', 'bestel' ),
				'default'  => 'View on Map',
			),
			array(
				'id'       => $opt_prefix . '_gmap_close_button',
				'type'     => 'text',
				'title'    => esc_html__( 'Button Text', 'bestel' ),
				'subtitle' => esc_html__( 'Button Text when map open', 'bestel' ),
				'default'  => 'Close Map',
			),

			array(
				'id'       => $opt_prefix . '_gmap_near_by_title',
				'type'     => 'text',
				'title'    => esc_html__( 'Title', 'bestel' ),
				'subtitle' => esc_html__( 'Title', 'bestel' ),
				'default'  => 'Local Places',
			),
			array(
				'id'     => 'header_1',
				'type'   => 'section',
				'title'  => esc_html__( 'Place One Content', 'bestel' ),
				'indent' => true, // Indent all options below until the next 'section' option is set.
			),
			array(
				'id'      => $opt_prefix . '_places_1',
				'type'    => 'text',
				'title'   => esc_html__( 'Places One', 'bestel' ),
				'default' => 'Object number one',
			),
			array(
				'id'      => $opt_prefix . '_places_1_distance',
				'type'    => 'text',
				'title'   => esc_html__( 'Places distance', 'bestel' ),
				'default' => '3.2 km',
			),
			array(
				'id'       => $opt_prefix . '_gmap_latitude_1',
				'type'     => 'text',
				'title'    => esc_html__( 'latitude', 'bestel' ),
				'subtitle' => esc_html__( 'The latitude  to center the map ', 'bestel' ),
				'default'  => '59.291129',
			),
			array(
				'id'       => $opt_prefix . '_gmap_longitude_1',
				'type'     => 'text',
				'title'    => esc_html__( 'longitude', 'bestel' ),
				'subtitle' => esc_html__( 'The longitude  to center the map ', 'bestel' ),
				'default'  => '18.0931024',
			),
			array(
				'id'       => $opt_prefix . '_gmap_marker_1',
				'type'     => 'media',
				'url'      => true,
				'compiler' => 'true',
				'desc'     => esc_html__( 'Google Map Marker.', 'bestel' ),
				'subtitle' => esc_html__( 'Add/Upload mobile logo using the WordPress native uploader', 'bestel' ),
				'title'    => esc_html__( 'Map Marker', 'bestel' ),
				'default'  => array(
					'url' => esc_url( BESTEL_IMG_URL . 'map-marker-1.png' ),
				),
			),
			array(
				'id'     => 'header_2',
				'type'   => 'section',
				'title'  => esc_html__( 'Place Two Content', 'bestel' ),
				'indent' => true, // Indent all options below until the next 'section' option is set.
			),
			array(
				'id'      => $opt_prefix . '_places_2',
				'type'    => 'text',
				'title'   => esc_html__( 'Places Two', 'bestel' ),
				'default' => 'Object number Two',
			),
			array(
				'id'      => $opt_prefix . '_places_2_distance',
				'type'    => 'text',
				'title'   => esc_html__( 'Places distance', 'bestel' ),
				'default' => '5.6 km',
			),
			array(
				'id'       => $opt_prefix . '_gmap_latitude_2',
				'type'     => 'text',
				'title'    => esc_html__( 'latitude', 'bestel' ),
				'subtitle' => esc_html__( 'The latitude  to center the map', 'bestel' ),
				'default'  => '59.29383',
			),
			array(
				'id'       => $opt_prefix . '_gmap_longitude_2',
				'type'     => 'text',
				'title'    => esc_html__( 'longitude', 'bestel' ),
				'subtitle' => esc_html__( 'The longitude  to center the map', 'bestel' ),
				'default'  => '18.0814213',
			),
			array(
				'id'       => $opt_prefix . '_gmap_marker_2',
				'type'     => 'media',
				'url'      => true,
				'compiler' => 'true',
				'desc'     => esc_html__( 'Google Map Marker.', 'bestel' ),
				'subtitle' => esc_html__( 'Add/Upload mobile logo using the WordPress native uploader', 'bestel' ),
				'title'    => esc_html__( 'Map Marker', 'bestel' ),
				'default'  => array(
					'url' => esc_url( BESTEL_IMG_URL . 'map-marker-2.png' ),
				),
			),
			array(
				'id'     => 'header_3',
				'type'   => 'section',
				'title'  => esc_html__( 'Place Three Content', 'bestel' ),
				'indent' => true, // Indent all options below until the next 'section' option is set.
			),
			array(
				'id'      => $opt_prefix . '_places_3',
				'type'    => 'text',
				'title'   => esc_html__( 'Places Three', 'bestel' ),
				'default' => 'Object number Three',
			),
			array(
				'id'      => $opt_prefix . '_places_3_distance',
				'type'    => 'text',
				'title'   => esc_html__( 'Places distance', 'bestel' ),
				'default' => '6.0 km',
			),
			array(
				'id'       => $opt_prefix . '_gmap_latitude_3',
				'type'     => 'text',
				'title'    => esc_html__( 'latitude', 'bestel' ),
				'subtitle' => esc_html__( 'The latitude  to center the map', 'bestel' ),
				'default'  => '59.305004',
			),
			array(
				'id'       => $opt_prefix . '_gmap_longitude_3',
				'type'     => 'text',
				'title'    => esc_html__( 'longitude', 'bestel' ),
				'subtitle' => esc_html__( 'The longitude  to center the map', 'bestel' ),
				'default'  => '18.0733833',
			),
			array(
				'id'       => $opt_prefix . '_gmap_marker_3',
				'type'     => 'media',
				'url'      => true,
				'compiler' => 'true',
				'desc'     => esc_html__( 'Google Map Marker.', 'bestel' ),
				'subtitle' => esc_html__( 'Add/Upload mobile logo using the WordPress native uploader', 'bestel' ),
				'title'    => esc_html__( 'Map Marker', 'bestel' ),
				'default'  => array(
					'url' => esc_url( BESTEL_IMG_URL . 'map-marker-3.png' ),
				),
			),
			array(
				'id'     => 'header_4',
				'type'   => 'section',
				'title'  => esc_html__( 'Place Four Content', 'bestel' ),
				'indent' => true, // Indent all options below until the next 'section' option is set.
			),
			array(
				'id'      => $opt_prefix . '_places_4',
				'type'    => 'text',
				'title'   => esc_html__( 'Places Four', 'bestel' ),
				'default' => 'Object number Four',
			),
			array(
				'id'      => $opt_prefix . '_places_4_distance',
				'type'    => 'text',
				'title'   => esc_html__( 'Places distance', 'bestel' ),
				'default' => '8.5 km',
			),
			array(
				'id'       => $opt_prefix . '_gmap_latitude_4',
				'type'     => 'text',
				'title'    => esc_html__( 'latitude', 'bestel' ),
				'subtitle' => esc_html__( 'The latitude  to center the map', 'bestel' ),
				'default'  => '59.302627',
			),
			array(
				'id'       => $opt_prefix . '_gmap_longitude_4',
				'type'     => 'text',
				'title'    => esc_html__( 'longitude', 'bestel' ),
				'subtitle' => esc_html__( 'The longitude  to center the map', 'bestel' ),
				'default'  => '18.1073223',
			),
			array(
				'id'       => $opt_prefix . '_gmap_marker_4',
				'type'     => 'media',
				'url'      => true,
				'compiler' => 'true',
				'desc'     => esc_html__( 'Google Map Marker.', 'bestel' ),
				'subtitle' => esc_html__( 'Add/Upload mobile logo using the WordPress native uploader', 'bestel' ),
				'title'    => esc_html__( 'Map Marker', 'bestel' ),
				'default'  => array(
					'url' => esc_url( BESTEL_IMG_URL . 'map-marker-4.png' ),
				),
			),
		),
	)
);



Redux::setSection(
	$opt_name,
	array(
		'title'            => esc_html__( 'Offer Settings', 'bestel' ),
		'id'               => 'offer_settings',
		'desc'             => esc_html__( 'These are Offer fields!', 'bestel' ),
		'customizer_width' => '400px',
		'icon'             => 'el el-share',
		'fields'           => array(
			array(
				'id'       => $opt_prefix . '_offer_title',
				'type'     => 'text',
				'title'    => esc_html__( 'Offer Page Title', 'bestel' ),
				'subtitle' => esc_html__( 'Change Bastel Offer page titile', 'bestel' ),
				'default'  => 'Special Offers',
			),
			array(
				'id'       => $opt_prefix . '_spcial_offer_title',
				'type'     => 'text',
				'title'    => esc_html__( 'More Offers for You', 'bestel' ),
				'subtitle' => esc_html__( 'Change Bastel More Offers for You', 'bestel' ),
				'default'  => 'More Offers for You',
			),
			array(
				'id'       => $opt_prefix . '-slug_offer_url',
				'type'     => 'text',
				'title'    => esc_html__( 'Offer Link', 'bestel' ),
				'subtitle' => esc_html__( 'Change Bastel Offer Url', 'bestel' ),
				'default'  => esc_url( '#' ),
			),
			array(
				'id'       => $opt_prefix . '-slug_offer_text',
				'type'     => 'text',
				'title'    => esc_html__( 'Button Title', 'bestel' ),
				'subtitle' => esc_html__( 'Change Bastel Offer Url', 'bestel' ),
				'default'  => 'VIEW ALL SPECIAL OFFERS',
			),
			array(
				'id'       => $opt_prefix . '_offer_per_page',
				'type'     => 'text',
				'title'    => esc_html__( 'Offer Per Page', 'bestel' ),
				'subtitle' => esc_html__( 'Change Bastel Offer per page titile', 'bestel' ),
				'default'  => '8',
			),
		),
	)
);


Redux::setSection(
	$opt_name,
	array(
		'title'  => esc_html__( 'Styling', 'bestel' ),
		'icon'   => 'el el-font',
		'fields' => array(
			array(
				'id'       => 'styling_general_info_start',
				'type'     => 'section',
				'title'    => esc_html__( 'General', 'bestel' ),
				'subtitle' => esc_html__( 'General Theme Style Settings', 'bestel' ),
				'indent'   => true,
			),

			array(
				'title'   => esc_html__( 'Use a predefined color scheme', 'bestel' ),
				'on'      => esc_html__( 'Yes', 'bestel' ),
				'off'     => esc_html__( 'No', 'bestel' ),
				'type'    => 'switch',
				'default' => 'off',
				'id'      => $opt_prefix . '_use_predefined_color',
			),

			array(
				'id'       => $opt_prefix . '_main_color',
				'title'    => esc_html__( 'Main Theme Color', 'bestel' ),
				'subtitle' => esc_html__( 'The main color of the site.', 'bestel' ),
				'type'     => 'select',
				'options'  => array(
					'color1' => esc_html__( 'color1', 'bestel' ),
					'color2' => esc_html__( 'color2', 'bestel' ),
					'color3' => esc_html__( 'color3', 'bestel' ),
					'color4' => esc_html__( 'color4', 'bestel' ),
					'color5' => esc_html__( 'color5', 'bestel' ),
					'color6' => esc_html__( 'color6', 'bestel' ),
					'color7' => esc_html__( 'color7', 'bestel' ),
					'color8' => esc_html__( 'color8', 'bestel' ),
					'color9' => esc_html__( 'color9', 'bestel' ),

				),
				'default'  => 'color1',
				'required' => array( $opt_prefix . '_use_predefined_color', 'equals', 1 ),
			),

			array(
				'id'          => $opt_prefix . '_custom_primary_color',
				'title'       => esc_html__( 'Custom Primary Color', 'bestel' ),
				'type'        => 'color',
				'transparent' => false,
				'default'     => '#af3c65',
				'required'    => array( $opt_prefix . '_use_predefined_color', 'equals', 0 ),
			),

			array(
				'id'     => 'styling_general_info_end',
				'type'   => 'section',
				'indent' => false,
			),
		),
	)
);

Redux::setSection(
	$opt_name,
	array(
		'title'            => esc_html__( 'Booking Settings', 'bestel' ),
		'id'               => 'booking_settings',
		'desc'             => esc_html__( 'Booking settings', 'bestel' ),
		'customizer_width' => '400px',
		'icon'             => 'el el-website',
		'fields'           => array(
			array(
				'id'       => $opt_prefix . '-booking-option',
				'type'     => 'switch',
				'title'    => esc_html__( 'Email Booking ON/OFF', 'bestel' ),
				'subtitle' => esc_html__( 'Enable or Disable Email Booking', 'bestel' ),
				'default'  => 'off',
				'on'       => esc_html__( 'Enable', 'bestel' ),
				'off'      => esc_html__( 'Disable', 'bestel' ),
			),

		),
	)
);
