<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet"
        integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css"
        integrity="sha512-SzlrxWUlpfuzQ+pcUCosxcglQRNAq/DZjVsC0lE40xsADsfeQoEypE+enwcOiGjk/bSuGGKHEyjSoQ1zVisanQ=="
        crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
</html>
<?php

Beruco_Options::$beruco_options = get_post_meta( get_the_ID(), 'beruco_post_meta', true );

// General
Beruco_Options::beruco_set_section( array(
	'title'      => esc_html__( 'General', 'beruco-addon' ),
	'id'         => 'general-tab'
) );

Beruco_Options::beruco_set_sub_section( array(
	'title'      => esc_html__( 'Site General', 'beruco-addon' ),
	'id'         => 'site-general',
	'fields'	 => array(
		array(
			'id'			=> 'general-chk',
			'type'			=> 'select',
			'title'			=> esc_html__( 'Site General Settings', 'beruco-addon' ),
			'description'	=> esc_html__( 'Choose custom to edit site general settings options.', 'beruco-addon' ),
			'choices'		=> array(
				'default'	=> esc_html__( 'Default', 'beruco-addon' ),
				'custom'	=> esc_html__( 'Custom', 'beruco-addon' )
			),
			'default'		=> 'default'
		),
		array(
			'id'			=> 'site-layout',
			'type'			=> 'radioimage',
			'title'			=> esc_html__( 'Site Layout', 'beruco-addon' ),
			'description'	=> esc_html__( 'Choose site layout either wide or boxed.', 'beruco-addon' ),
			'items'		=> array(
				'wide' => array(
					'title' => esc_html__( 'Wide', 'beruco-addon' ),
					'url' => BERUCO_ADDON_URL . 'admin/extension/theme-options/assets/images/header/header-wide.png'
				),
				'boxed' => array(
					'title' => esc_html__( 'Boxed', 'beruco-addon' ),
					'url' => BERUCO_ADDON_URL . 'admin/extension/theme-options/assets/images/header/header-boxed.png'
				),
				'wider' => array(
					'title' => esc_html__( 'Wider', 'beruco-addon' ),
					'url' => BERUCO_ADDON_URL . 'admin/extension/theme-options/assets/images/header/header-wider.png'
				)
			),
			'default' => 'wide',
			'required'		=> array( 'general-chk', '=', array( 'custom' ) )
		),
		array(
			'id'			=> 'content-padding',
			'type'			=> 'dimension',
			'title'			=> esc_html__( 'Content Padding', 'beruco-addon' ),
			'description'	=> esc_html__( 'Assign content padding. If need no padding means just leave this empty. Example 10 10 10 10', 'beruco-addon' ),
			'default'		=> '',
			'required'		=> array( 'general-chk', '=', array( 'custom' ) )
		),
		array(
			'id'			=> 'header-slider',
			'type'			=> 'textarea',
			'title'			=> esc_html__( 'Header Slider', 'beruco-addon' ),
			'description'	=> esc_html__( 'Enter shortcode for header slider.', 'beruco-addon' ),
			'default'		=> '',
		)		
	)
) );
Beruco_Options::beruco_set_sub_section( array(
	'title'      => esc_html__( 'Logo Settings', 'beruco-addon' ),
	'id'         => 'site-logo',
	'fields'	 => array(
		array(
			'id'			=> 'logo-chk',
			'type'			=> 'select',
			'title'			=> esc_html__( 'Site General Settings', 'beruco-addon' ),
			'description'	=> esc_html__( 'Choose custom to edit site logo settings options.', 'beruco-addon' ),
			'choices'		=> array(
				'default'	=> esc_html__( 'Default', 'beruco-addon' ),
				'custom'	=> esc_html__( 'Custom', 'beruco-addon' )
			),
			'default'		=> 'default'
		),
		array(
			'id'			=> 'logo-settings',
			'type'			=> 'label',
			'title'			=> esc_html__( 'Logo Settings', 'beruco-addon' ),
			'description'	=> esc_html__( 'This is settings for site logo.', 'beruco-addon' ),
			'seperator'		=> 'after',
			'required'		=> array( 'logo-chk', '=', array( 'custom' ) )
		),
		array(
			'id'			=> 'site-logo',
			'type'			=> 'image',
			'title'			=> esc_html__( 'Default Logo', 'beruco-addon' ),
			'description'	=> esc_html__( 'Choose site logo image.', 'beruco-addon' ),
			'default'		=> '',
			'required'		=> array( 'logo-chk', '=', array( 'custom' ) )
		),
		array(
			'id'			=> 'site-logo-width',
			'type'			=> 'hw',
			'title'			=> esc_html__( 'Site Logo Maximum Width', 'beruco-addon' ),
			'description'	=> esc_html__( 'This is maximum width of logo. if you want original width leave this field empty.', 'beruco-addon' ),
			'only_dimension' => 'width',
			'required'		=> array( 'logo-chk', '=', array( 'custom' ) )
		),
		array(
			'id'			=> 'site-logo-desc',
			'type'			=> 'toggle',
			'title'			=> esc_html__( 'Enable Site Logo Description', 'beruco-addon' ),
			'description'	=> esc_html__( 'This is logo description options for this site. You can enable or disable.', 'beruco-addon' ),
			'required'		=> array( 'logo-chk', '=', array( 'custom' ) )
		),
		array(
			'id'			=> 'sticky-logo',
			'type'			=> 'image',
			'title'			=> esc_html__( 'Sticky Logo', 'beruco-addon' ),
			'description'	=> esc_html__( 'Choose site sticky logo image.', 'beruco-addon' ),
			'default'		=> '',
			'required'		=> array( 'logo-chk', '=', array( 'custom' ) )
		),
		array(
			'id'			=> 'sticky-logo-width',
			'type'			=> 'hw',
			'title'			=> esc_html__( 'Sticky Logo Maximum Width', 'beruco-addon' ),
			'description'	=> esc_html__( 'This is maximum width of sticky logo. if you want original width leave this field empty.', 'beruco-addon' ),
			'only_dimension' => 'width',
			'required'		=> array( 'logo-chk', '=', array( 'custom' ) )
		),
		array(
			'id'			=> 'mobile-logo',
			'type'			=> 'image',
			'title'			=> esc_html__( 'Mobile Logo', 'beruco-addon' ),
			'description'	=> esc_html__( 'Choose site mobile logo image.', 'beruco-addon' ),
			'default'		=> '',
			'required'		=> array( 'logo-chk', '=', array( 'custom' ) )
		),
		array(
			'id'			=> 'mobile-logo-width',
			'type'			=> 'hw',
			'title'			=> esc_html__( 'Mobile Logo Maximum Width', 'beruco-addon' ),
			'description'	=> esc_html__( 'This is maximum width of mobile logo. if you want original width leave this field empty.', 'beruco-addon' ),
			'only_dimension' => 'width',
			'required'		=> array( 'logo-chk', '=', array( 'custom' ) )
		),
	)
) );

Beruco_Options::beruco_set_end_section( array(
	'id'		=> 'general-tab-end'	
));

$beruco_menus = get_terms( 'nav_menu', array( 'hide_empty' => true ) );
$beruco_nav_menus = array( "none" => esc_html__( "None", "beruco-addon" ) );
foreach( $beruco_menus as $menu ){
	$beruco_nav_menus[$menu->slug] = $menu->name;
}

// Header
Beruco_Options::beruco_set_section( array(
	'title'      => esc_html__( 'Header', 'beruco-addon' ),
	'id'         => 'header-tab'
) );
Beruco_Options::beruco_set_sub_section( array(
	'title'      => esc_html__( 'General', 'beruco-addon' ),
	'id'         => 'header-general',
	'fields'	 => array(
		array(
			'id'			=> 'header-chk',
			'type'			=> 'select',
			'title'			=> esc_html__( 'Header Settings', 'beruco-addon' ),
			'description'	=> esc_html__( 'Choose custom to edit header settings options.', 'beruco-addon' ),
			'choices'		=> array(
				'default'	=> esc_html__( 'Default', 'beruco-addon' ),
				'custom'	=> esc_html__( 'Custom', 'beruco-addon' )
			),
			'default'		=> 'default'
		),
		array(
			'id'			=> 'header-one-page-menu',
			'type'			=> 'select',
			'title'			=> esc_html__( 'One Page Menu', 'beruco-addon' ),
			'description'	=> esc_html__( 'Choose custom to edit header settings options.', 'beruco-addon' ),
			'choices'		=> $beruco_nav_menus,
			'default'		=> 'none'
		),
		array(
			'id'			=> 'header-layout',
			'type'			=> 'radioimage',
			'title'			=> esc_html__( 'Header Layout', 'beruco-addon' ),
			'description'	=> esc_html__( 'Choose header layout either wide or boxed.', 'beruco-addon' ),
			'items'		=> array(
				'wide' => array(
					'title' => esc_html__( 'Wide', 'beruco-addon' ),
					'url' => BERUCO_ADDON_URL . 'admin/extension/theme-options/assets/images/header/header-wide.png'
				),
				'wider' => array(
					'title' => esc_html__( 'Wider', 'beruco-addon' ),
					'url' => BERUCO_ADDON_URL . 'admin/extension/theme-options/assets/images/header/header-wider.png'
				),
				'boxed' => array(
					'title' => esc_html__( 'Boxed', 'beruco-addon' ),
					'url' => BERUCO_ADDON_URL . 'admin/extension/theme-options/assets/images/header/header-boxed.png'
				)
			),
			'default' => 'wide',
			'required'		=> array( 'header-chk', '=', array( 'custom' ) )
		),
		array(
			'id'			=> 'header-items',
			'type'			=> 'dragdrop',
			'title'			=> esc_html__( 'Header Bars', 'beruco-addon' ),
			'description'	=> esc_html__( 'These are header items. Drag which items you want to display normal and sticky.', 'beruco-addon' ),
			'default'		=> array(
				'normal' => array(
					'topbar' => esc_html__( 'Topbar', 'beruco-addon' ),
					'logobar' => esc_html__( 'Logo bar', 'beruco-addon' )
				),
				'sticky' => array(
					'navbar' => esc_html__( 'Navbar', 'beruco-addon' )
				),
				'disabled' => array(
				)
			),
			'required'		=> array( 'header-chk', '=', array( 'custom' ) )
		),
		array(
			'id'			=> 'header-absolute',
			'type'			=> 'toggle',
			'title'			=> esc_html__( 'Header Absolute', 'beruco-addon' ),
			'description'	=> esc_html__( 'Enable/Disable header absolute. Like floating on slider', 'beruco-addon' ),
			'default'		=> false,
			'required'		=> array( 'header-chk', '=', array( 'custom' ) )
		),
		array(
			'id'			=> 'search-type',
			'type'			=> 'select',
			'title'			=> esc_html__( 'Search Toggle Modal', 'beruco-addon' ),
			'description'	=> esc_html__( 'Slect search box type', 'beruco-addon' ),
			'choices'		=> array(
				'1'	=> esc_html__( 'Full Screen Search', 'beruco-addon' ),
				'2' => esc_html__( 'Text Box Toggle Search', 'beruco-addon' ),
				'3' => esc_html__( 'Full Bar Toggle Search', 'beruco-addon' ),
				'4' => esc_html__( 'Bottom Seach Box Toggle', 'beruco-addon' )
			),
			'default'		=> '1',
			'required'		=> array( 'header-chk', '=', array( 'custom' ) )
		),
		array(
			'id'			=> 'header-style-label-field',
			'type'			=> 'label',
			'title'			=> esc_html__( 'Styles', 'beruco-addon' ),
			'description'	=> esc_html__( 'Here you can set all the type of header styles.', 'beruco-addon' ),
			'seperator'		=> 'before'
		),
		array(
			'id'			=> 'header-style-chk',
			'type'			=> 'select',
			'title'			=> esc_html__( 'Header Style Settings', 'beruco-addon' ),
			'description'	=> esc_html__( 'Choose custom to edit header style settings options.', 'beruco-addon' ),
			'choices'		=> array(
				'default'	=> esc_html__( 'Default', 'beruco-addon' ),
				'custom'	=> esc_html__( 'Custom', 'beruco-addon' )
			),
			'default'		=> 'default'
		),
		array(
			'id'			=> 'header-links-color',
			'type'			=> 'link',
			'title'			=> esc_html__( 'Header Link Color', 'beruco-addon' ),
			'description'	=> esc_html__( 'This is link color setting for header', 'beruco-addon' ),
			'default'		=> '',
			'required'		=> array( 'header-style-chk', '=', array( 'custom' ) )
		),
		array(
			'id'			=> 'header-background',
			'type'			=> 'background',
			'title'			=> esc_html__( 'Header Background Color', 'beruco-addon' ),
			'description'	=> esc_html__( 'This is background setting for header', 'beruco-addon' ),
			'default'		=> '',
			'required'		=> array( 'header-style-chk', '=', array( 'custom' ) )
		),
		array(
			'id'			=> 'header-border',
			'type'			=> 'border',
			'title'			=> esc_html__( 'Header Border', 'beruco-addon' ),
			'description'	=> esc_html__( 'This is border setting for header', 'beruco-addon' ),
			'default'		=> '',
			'required'		=> array( 'header-style-chk', '=', array( 'custom' ) )
		),
		array(
			'id'			=> 'header-padding',
			'type'			=> 'dimension',
			'title'			=> esc_html__( 'Header padding', 'beruco-addon' ),
			'description'	=> esc_html__( 'This is padding setting for header', 'beruco-addon' ),
			'default'		=> '',
			'required'		=> array( 'header-style-chk', '=', array( 'custom' ) )
		),
		array(
			'id'			=> 'header-margin',
			'type'			=> 'dimension',
			'title'			=> esc_html__( 'Header margin', 'beruco-addon' ),
			'description'	=> esc_html__( 'This is margin setting for header', 'beruco-addon' ),
			'default'		=> '',
			'required'		=> array( 'header-style-chk', '=', array( 'custom' ) )
		)
	)
) );
Beruco_Options::beruco_set_sub_section( array(
	'title'      => esc_html__( 'Topbar', 'beruco-addon' ),
	'id'         => 'header-topbar',
	'fields'	 => array(
		array(
			'id'			=> 'header-topbar-chk',
			'type'			=> 'select',
			'title'			=> esc_html__( 'Header Topbar Settings', 'beruco-addon' ),
			'description'	=> esc_html__( 'Choose custom to edit header topbar settings.', 'beruco-addon' ),
			'choices'		=> array(
				'default'	=> esc_html__( 'Default', 'beruco-addon' ),
				'custom'	=> esc_html__( 'Custom', 'beruco-addon' )
			),
			'default'		=> 'default'
		),
		array(
			'id'			=> 'topbar-custom-text-1',
			'type'			=> 'textarea',
			'title'			=> esc_html__( 'Topbar Custom Text 1', 'beruco-addon' ),
			'description'	=> esc_html__( 'This is topbar custom text field. Here you can place shortcodes too', 'beruco-addon' ),
			'default'		=> '',
			'required'		=> array( 'header-topbar-chk', '=', array( 'custom' ) )
		),
		array(
			'id'			=> 'topbar-custom-text-2',
			'type'			=> 'textarea',
			'title'			=> esc_html__( 'Topbar Custom Text 2', 'beruco-addon' ),
			'description'	=> esc_html__( 'This is topbar custom text field. Here you can place shortcodes too', 'beruco-addon' ),
			'default'		=> '',
			'required'		=> array( 'header-topbar-chk', '=', array( 'custom' ) )
		),
		array(
			'id'			=> 'topbar-items',
			'type'			=> 'dragdrop',
			'title'			=> esc_html__( 'Topbar Items', 'beruco-addon' ),
			'description'	=> esc_html__( 'These all are topbar items. You can make your own layout by drag and drop', 'beruco-addon' ),
			'default'		=> array(
				'left' => array(
					'custom-text-1' => esc_html__( 'Custom Text 1', 'beruco-addon' )
				),
				'center' => array(					
				),
				'right' => array(
					'social' => esc_html__( 'Social', 'beruco-addon' )
				),
				'disabled' => array(
					'address' => esc_html__( 'Address', 'beruco-addon' ),
					'email' => esc_html__( 'Email', 'beruco-addon' ),
					'search' => esc_html__( 'Search', 'beruco-addon' ),
					'top-menu' => esc_html__( 'Top Menu', 'beruco-addon' ),
					'custom-text-2' => esc_html__( 'Custom Text 2', 'beruco-addon' )
				)
			),
			'required'		=> array( 'header-topbar-chk', '=', array( 'custom' ) )
		),
		array(
			'id'			=> 'header-topbar-style-label-field',
			'type'			=> 'label',
			'title'			=> esc_html__( 'Topbar Styles', 'beruco-addon' ),
			'description'	=> esc_html__( 'Here you can set all the type of header topbar styles.', 'beruco-addon' ),
			'seperator'		=> 'before'
		),
		array(
			'id'			=> 'header-topbar-style-chk',
			'type'			=> 'select',
			'title'			=> esc_html__( 'Topbar Style Settings', 'beruco-addon' ),
			'description'	=> esc_html__( 'Choose custom to edit header topbar style settings.', 'beruco-addon' ),
			'choices'		=> array(
				'default'	=> esc_html__( 'Default', 'beruco-addon' ),
				'custom'	=> esc_html__( 'Custom', 'beruco-addon' )
			),
			'default'		=> 'default'
		),
		array(
			'id'			=> 'header-topbar-height',
			'type'			=> 'hw',
			'title'			=> esc_html__( 'Header Topbar Height', 'beruco-addon' ),
			'description'	=> esc_html__( 'This is height property of header topbar.', 'beruco-addon' ),
			'only_dimension' => 'height',
			'required'		=> array( 'header-topbar-style-chk', '=', array( 'custom' ) )
		),
		array(
			'id'			=> 'header-topbar-sticky-height',
			'type'			=> 'hw',
			'title'			=> esc_html__( 'Header Topbar Sticky Height', 'beruco-addon' ),
			'description'	=> esc_html__( 'This is height property of header sticky topbar.', 'beruco-addon' ),
			'only_dimension' => 'height'
		),
		array(
			'id'			=> 'header-topbar-links-color',
			'type'			=> 'link',
			'title'			=> esc_html__( 'Topbar Link Color', 'beruco-addon' ),
			'description'	=> esc_html__( 'This is link color setting for header topbar', 'beruco-addon' ),
			'default'		=> '',
			'required'		=> array( 'header-topbar-style-chk', '=', array( 'custom' ) )
		),
		array(
			'id'			=> 'header-topbar-background',
			'type'			=> 'background',
			'title'			=> esc_html__( 'Topbar Background Color', 'beruco-addon' ),
			'description'	=> esc_html__( 'This is background setting for header topbar', 'beruco-addon' ),
			'default'		=> '',
			'required'		=> array( 'header-topbar-style-chk', '=', array( 'custom' ) )
		),
		array(
			'id'			=> 'header-topbar-border',
			'type'			=> 'border',
			'title'			=> esc_html__( 'Topbar Border', 'beruco-addon' ),
			'description'	=> esc_html__( 'This is border setting for header topbar', 'beruco-addon' ),
			'default'		=> '',
			'required'		=> array( 'header-topbar-style-chk', '=', array( 'custom' ) )
		),
		array(
			'id'			=> 'header-topbar-padding',
			'type'			=> 'dimension',
			'title'			=> esc_html__( 'Topbar padding', 'beruco-addon' ),
			'description'	=> esc_html__( 'This is padding setting for header topbar', 'beruco-addon' ),
			'default'		=> '',
			'required'		=> array( 'header-topbar-style-chk', '=', array( 'custom' ) )
		),
		array(
			'id'			=> 'header-topbar-margin',
			'type'			=> 'dimension',
			'title'			=> esc_html__( 'Topbar margin', 'beruco-addon' ),
			'description'	=> esc_html__( 'This is margin setting for header topbar', 'beruco-addon' ),
			'default'		=> '',
			'required'		=> array( 'header-topbar-style-chk', '=', array( 'custom' ) )
		),	
		array(
			'id'			=> 'header-topbar-sticky-style-label-field',
			'type'			=> 'label',
			'title'			=> esc_html__( 'Topbar Sticky Styles', 'beruco-addon' ),
			'description'	=> esc_html__( 'Here you can set all the type of header topbar sticky styles.', 'beruco-addon' ),
			'seperator'		=> 'before',
			'required'		=> array( 'header-topbar-style-chk', '=', array( 'custom' ) )
		),
		array(
			'id'			=> 'header-topbar-sticky-links-color',
			'type'			=> 'link',
			'title'			=> esc_html__( 'Topbar Sticky Link Color', 'beruco-addon' ),
			'description'	=> esc_html__( 'This is link color setting for header topbar on sticky', 'beruco-addon' ),
			'default'		=> '',
			'required'		=> array( 'header-topbar-style-chk', '=', array( 'custom' ) )
		),
		array(
			'id'			=> 'header-topbar-sticky-background',
			'type'			=> 'background',
			'title'			=> esc_html__( 'Topbar Sticky Background Color', 'beruco-addon' ),
			'description'	=> esc_html__( 'This is background setting for header topbar on sticky', 'beruco-addon' ),
			'default'		=> '',
			'required'		=> array( 'header-topbar-style-chk', '=', array( 'custom' ) )
		),	
	)
) );
Beruco_Options::beruco_set_sub_section( array(
	'title'      => esc_html__( 'Logo bar', 'beruco-addon' ),
	'id'         => 'header-logobar',
	'fields'	 => array(
		array(
			'id'			=> 'header-logobar-chk',
			'type'			=> 'select',
			'title'			=> esc_html__( 'Header Logo bar Settings', 'beruco-addon' ),
			'description'	=> esc_html__( 'Choose custom to edit header logo bar settings.', 'beruco-addon' ),
			'choices'		=> array(
				'default'	=> esc_html__( 'Default', 'beruco-addon' ),
				'custom'	=> esc_html__( 'Custom', 'beruco-addon' )
			),
			'default'		=> 'default'
		),
		array(
			'id'			=> 'logobar-custom-text-1',
			'type'			=> 'textarea',
			'title'			=> esc_html__( 'Logobar Custom Text1', 'beruco-addon' ),
			'description'	=> esc_html__( 'This is logo custom text field. Here you can place shortcodes too', 'beruco-addon' ),
			'default'		=> '',
			'required'		=> array( 'header-logobar-chk', '=', array( 'custom' ) )
		),
		array(
			'id'			=> 'logobar-custom-text-2',
			'type'			=> 'textarea',
			'title'			=> esc_html__( 'Logobar Custom Text2', 'beruco-addon' ),
			'description'	=> esc_html__( 'This is logo custom text field. Here you can place shortcodes too', 'beruco-addon' ),
			'default'		=> '',
			'required'		=> array( 'header-logobar-chk', '=', array( 'custom' ) )
		),
		array(
			'id'			=> 'logobar-items',
			'type'			=> 'dragdrop',
			'title'			=> esc_html__( 'Logo bar Items', 'beruco-addon' ),
			'description'	=> esc_html__( 'These all are logobar items. You can make your own layout by drag and drop', 'beruco-addon' ),
			'default'		=> array(
				'left' => array(
				),
				'center' => array(
					'logo' => esc_html__( 'Logo', 'beruco-addon' )
				),
				'right' => array(					
				),
				'disabled' => array(
					'social' => esc_html__( 'Social', 'beruco-addon' ),
					'address' => esc_html__( 'Address', 'beruco-addon' ),
					'email' => esc_html__( 'Email', 'beruco-addon' ),
					'search' => esc_html__( 'Search', 'beruco-addon' ),
					'primary-menu' => esc_html__( 'Primary Menu', 'beruco-addon' ),
					'secondary-bar' => esc_html__( 'Secondary Bar', 'beruco-addon' ),
					'signin' => esc_html__( 'Signin/Register', 'beruco-addon' ),
					'custom-text-2' => esc_html__( 'Custom Text 2', 'beruco-addon' ),
					'custom-text-1' => esc_html__( 'Custom Text 1', 'beruco-addon' ),
				)
			),
			'required'		=> array( 'header-logobar-chk', '=', array( 'custom' ) )
		),
		array(
			'id'			=> 'header-logobar-style-label-field',
			'type'			=> 'label',
			'title'			=> esc_html__( 'Logo bar Styles', 'beruco-addon' ),
			'description'	=> esc_html__( 'Here you can set all the type of header logobar styles.', 'beruco-addon' ),
			'seperator'		=> 'before'
		),
		array(
			'id'			=> 'header-logobar-style-chk',
			'type'			=> 'select',
			'title'			=> esc_html__( 'Logo bar Style Settings', 'beruco-addon' ),
			'description'	=> esc_html__( 'Choose custom to edit header logo bar style settings.', 'beruco-addon' ),
			'choices'		=> array(
				'default'	=> esc_html__( 'Default', 'beruco-addon' ),
				'custom'	=> esc_html__( 'Custom', 'beruco-addon' )
			),
			'default'		=> 'default'
		),
		array(
			'id'			=> 'header-logobar-height',
			'type'			=> 'hw',
			'title'			=> esc_html__( 'Header Logo bar Height', 'beruco-addon' ),
			'description'	=> esc_html__( 'This is height property of header logobar.', 'beruco-addon' ),
			'only_dimension' => 'height',
			'required'		=> array( 'header-logobar-style-chk', '=', array( 'custom' ) )
		),
		array(
			'id'			=> 'header-logobar-sticky-height',
			'type'			=> 'hw',
			'title'			=> esc_html__( 'Header Logo bar Sticky Height', 'beruco-addon' ),
			'description'	=> esc_html__( 'This is height property of header sticky logobar.', 'beruco-addon' ),
			'only_dimension' => 'height'
		),
		array(
			'id'			=> 'header-logobar-links-color',
			'type'			=> 'link',
			'title'			=> esc_html__( 'Logo bar Link Color', 'beruco-addon' ),
			'description'	=> esc_html__( 'This is link color setting for header logobar', 'beruco-addon' ),
			'default'		=> '',
			'required'		=> array( 'header-logobar-style-chk', '=', array( 'custom' ) )
		),
		array(
			'id'			=> 'header-logobar-background',
			'type'			=> 'background',
			'title'			=> esc_html__( 'Header Background Color', 'beruco-addon' ),
			'description'	=> esc_html__( 'This is background setting for header logobar', 'beruco-addon' ),
			'default'		=> '',
			'required'		=> array( 'header-logobar-style-chk', '=', array( 'custom' ) )
		),
		array(
			'id'			=> 'header-logobar-border',
			'type'			=> 'border',
			'title'			=> esc_html__( 'Logo bar Border', 'beruco-addon' ),
			'description'	=> esc_html__( 'This is border setting for header logobar', 'beruco-addon' ),
			'default'		=> '',
			'required'		=> array( 'header-logobar-style-chk', '=', array( 'custom' ) )
		),
		array(
			'id'			=> 'header-logobar-padding',
			'type'			=> 'dimension',
			'title'			=> esc_html__( 'Logo bar padding', 'beruco-addon' ),
			'description'	=> esc_html__( 'This is padding setting for header logobar', 'beruco-addon' ),
			'default'		=> '',
			'required'		=> array( 'header-logobar-style-chk', '=', array( 'custom' ) )
		),
		array(
			'id'			=> 'header-logobar-margin',
			'type'			=> 'dimension',
			'title'			=> esc_html__( 'Logo bar margin', 'beruco-addon' ),
			'description'	=> esc_html__( 'This is margin setting for header logobar', 'beruco-addon' ),
			'default'		=> '',
			'required'		=> array( 'header-logobar-style-chk', '=', array( 'custom' ) )
		),	
		array(
			'id'			=> 'header-logobar-sticky-style-label-field',
			'type'			=> 'label',
			'title'			=> esc_html__( 'Logobar Sticky Styles', 'beruco-addon' ),
			'description'	=> esc_html__( 'Here you can set all the type of header logobar sticky styles.', 'beruco-addon' ),
			'seperator'		=> 'before',
			'required'		=> array( 'header-logobar-style-chk', '=', array( 'custom' ) )
		),
		array(
			'id'			=> 'header-logobar-sticky-links-color',
			'type'			=> 'link',
			'title'			=> esc_html__( 'Logobar Sticky Link Color', 'beruco-addon' ),
			'description'	=> esc_html__( 'This is link color setting for header logobar on sticky', 'beruco-addon' ),
			'default'		=> '',
			'required'		=> array( 'header-logobar-style-chk', '=', array( 'custom' ) )
		),
		array(
			'id'			=> 'header-logobar-sticky-background',
			'type'			=> 'background',
			'title'			=> esc_html__( 'Logobar Sticky Background Color', 'beruco-addon' ),
			'description'	=> esc_html__( 'This is background setting for header logobar on sticky', 'beruco-addon' ),
			'default'		=> '',
			'required'		=> array( 'header-logobar-style-chk', '=', array( 'custom' ) )
		),
	)
) );
Beruco_Options::beruco_set_sub_section( array(
	'title'      => esc_html__( 'Navbar', 'beruco-addon' ),
	'id'         => 'header-navbar',
	'fields'	 => array(
		array(
			'id'			=> 'header-navbar-chk',
			'type'			=> 'select',
			'title'			=> esc_html__( 'Header Navbar Settings', 'beruco-addon' ),
			'description'	=> esc_html__( 'Choose custom to edit header navbar settings.', 'beruco-addon' ),
			'choices'		=> array(
				'default'	=> esc_html__( 'Default', 'beruco-addon' ),
				'custom'	=> esc_html__( 'Custom', 'beruco-addon' )
			),
			'default'		=> 'default'
		),
		array(
			'id'			=> 'navbar-custom-text-1',
			'type'			=> 'textarea',
			'title'			=> esc_html__( 'Navbar Custom Text 1', 'beruco-addon' ),
			'description'	=> esc_html__( 'This is nav custom text field. Here you can place shortcodes too', 'beruco-addon' ),
			'default'		=> '',
			'required'		=> array( 'header-navbar-chk', '=', array( 'custom' ) )
		),
		array(
			'id'			=> 'navbar-custom-text-2',
			'type'			=> 'textarea',
			'title'			=> esc_html__( 'Navbar Custom Text 2', 'beruco-addon' ),
			'description'	=> esc_html__( 'This is nav custom text field. Here you can place shortcodes too', 'beruco-addon' ),
			'default'		=> '',
			'required'		=> array( 'header-navbar-chk', '=', array( 'custom' ) )
		),
		array(
			'id'			=> 'navbar-items',
			'type'			=> 'dragdrop',
			'title'			=> esc_html__( 'Nav bar Items', 'beruco-addon' ),
			'description'	=> esc_html__( 'These all are navbar items. You can make your own layout by drag and drop', 'beruco-addon' ),
			'default'		=> array(
				'left' => array(	
					'logo' => esc_html__( 'Logo', 'beruco-addon' ),
					'primary-menu' => esc_html__( 'Primary Menu', 'beruco-addon' )
				),
				'center' => array(					
				),
				'right' => array(	
					'search' => esc_html__( 'Search', 'beruco-addon' ),
				),
				'disabled' => array(
					'social' => esc_html__( 'Social', 'beruco-addon' ),
					'address' => esc_html__( 'Address', 'beruco-addon' ),
					'email' => esc_html__( 'Email', 'beruco-addon' ),
					'secondary-bar' => esc_html__( 'Secondary Bar', 'beruco-addon' ),
					'signin' => esc_html__( 'Signin/Register', 'beruco-addon' ),
					'custom-text-2' => esc_html__( 'Custom Text 2', 'beruco-addon' ),
					'custom-text-1' => esc_html__( 'Custom Text 1', 'beruco-addon' ),
				)
			),
			'required'		=> array( 'header-navbar-chk', '=', array( 'custom' ) )
		),
		array(
			'id'			=> 'header-navbar-style-label-field',
			'type'			=> 'label',
			'title'			=> esc_html__( 'Navbar Styles', 'beruco-addon' ),
			'description'	=> esc_html__( 'Here you can set all the type of header navbar styles.', 'beruco-addon' ),
			'seperator'		=> 'before'
		),
		array(
			'id'			=> 'header-navbar-style-chk',
			'type'			=> 'select',
			'title'			=> esc_html__( 'Navbar Style Settings', 'beruco-addon' ),
			'description'	=> esc_html__( 'Choose custom to edit header logo bar style settings.', 'beruco-addon' ),
			'choices'		=> array(
				'default'	=> esc_html__( 'Default', 'beruco-addon' ),
				'custom'	=> esc_html__( 'Custom', 'beruco-addon' )
			),
			'default'		=> 'default'
		),
		array(
			'id'			=> 'header-navbar-height',
			'type'			=> 'hw',
			'title'			=> esc_html__( 'Header Navbar Height', 'beruco-addon' ),
			'description'	=> esc_html__( 'This is height property of header navbar.', 'beruco-addon' ),
			'only_dimension' => 'height',
			'required'		=> array( 'header-navbar-style-chk', '=', array( 'custom' ) )
		),
		array(
			'id'			=> 'header-navbar-sticky-height',
			'type'			=> 'hw',
			'title'			=> esc_html__( 'Header Navbar Sticky Height', 'beruco-addon' ),
			'description'	=> esc_html__( 'This is height property of header sticky navbar.', 'beruco-addon' ),
			'only_dimension' => 'height'
		),
		array(
			'id'			=> 'header-navbar-links-color',
			'type'			=> 'link',
			'title'			=> esc_html__( 'Navbar Link Color', 'beruco-addon' ),
			'description'	=> esc_html__( 'This is link color setting for header navbar', 'beruco-addon' ),
			'default'		=> '',
			'required'		=> array( 'header-navbar-style-chk', '=', array( 'custom' ) )
		),
		array(
			'id'			=> 'header-navbar-background',
			'type'			=> 'background',
			'title'			=> esc_html__( 'Header Background Color', 'beruco-addon' ),
			'description'	=> esc_html__( 'This is background setting for header navbar', 'beruco-addon' ),
			'default'		=> '',
			'required'		=> array( 'header-navbar-style-chk', '=', array( 'custom' ) )
		),
		array(
			'id'			=> 'header-navbar-border',
			'type'			=> 'border',
			'title'			=> esc_html__( 'Navbar Border', 'beruco-addon' ),
			'description'	=> esc_html__( 'This is border setting for header navbar', 'beruco-addon' ),
			'default'		=> '',
			'required'		=> array( 'header-navbar-style-chk', '=', array( 'custom' ) )
		),
		array(
			'id'			=> 'header-navbar-padding',
			'type'			=> 'dimension',
			'title'			=> esc_html__( 'Navbar padding', 'beruco-addon' ),
			'description'	=> esc_html__( 'This is padding setting for header navbar', 'beruco-addon' ),
			'default'		=> '',
			'required'		=> array( 'header-navbar-style-chk', '=', array( 'custom' ) )
		),
		array(
			'id'			=> 'header-navbar-margin',
			'type'			=> 'dimension',
			'title'			=> esc_html__( 'Navbar margin', 'beruco-addon' ),
			'description'	=> esc_html__( 'This is margin setting for header navbar', 'beruco-addon' ),
			'default'		=> '',
			'required'		=> array( 'header-navbar-style-chk', '=', array( 'custom' ) )
		),	
		array(
			'id'			=> 'header-navbar-sticky-style-label-field',
			'type'			=> 'label',
			'title'			=> esc_html__( 'Navbar Sticky Styles', 'beruco-addon' ),
			'description'	=> esc_html__( 'Here you can set all the type of header navbar sticky styles.', 'beruco-addon' ),
			'seperator'		=> 'before',
			'required'		=> array( 'header-navbar-style-chk', '=', array( 'custom' ) )
		),
		array(
			'id'			=> 'header-navbar-sticky-links-color',
			'type'			=> 'link',
			'title'			=> esc_html__( 'Navbar Sticky Link Color', 'beruco-addon' ),
			'description'	=> esc_html__( 'This is link color setting for header navbar on sticky', 'beruco-addon' ),
			'default'		=> '',
			'required'		=> array( 'header-navbar-style-chk', '=', array( 'custom' ) )
		),
		array(
			'id'			=> 'header-navbar-sticky-background',
			'type'			=> 'background',
			'title'			=> esc_html__( 'Navbar Sticky Background Color', 'beruco-addon' ),
			'description'	=> esc_html__( 'This is background setting for header navbar on sticky', 'beruco-addon' ),
			'default'		=> '',
			'required'		=> array( 'header-navbar-style-chk', '=', array( 'custom' ) )
		),
	)
) );
Beruco_Options::beruco_set_end_section( array(
	'id'		=> 'header-tab-end'	
));

//Layout Settings
Beruco_Options::beruco_set_section( array(
	'title'      => esc_html__( 'Layout', 'beruco-addon' ),
	'id'         => 'post-layout'
) );
Beruco_Options::beruco_set_sub_section( array(
	'title'      => esc_html__( 'Page Title', 'beruco-addon' ),
	'id'         => 'page-title-options',
	'fields'	 => array(
		array(
			'id'			=> 'page-title-chk',
			'type'			=> 'select',
			'title'			=> esc_html__( 'Page Title', 'beruco-addon' ),
			'description'	=> esc_html__( 'Choose custom to edit page title options.', 'beruco-addon' ),
			'choices'		=> array(
				'default'	=> esc_html__( 'Default', 'beruco-addon' ),
				'custom'	=> esc_html__( 'Custom', 'beruco-addon' )
			),
			'default'		=> 'default'
		),
		array(
			'id'			=> 'page-title',
			'type'			=> 'toggle',
			'title'			=> esc_html__( 'Enable/Disable Page Title', 'beruco-addon' ),
			'description'	=> esc_html__( 'Enable or disable blog page title section', 'beruco-addon' ),
			'default'		=> true,
			'required'		=> array( 'page-title-chk', '=', array( 'custom' ) )
		),
		array(
			'id'			=> 'page-title-items',
			'type'			=> 'dragdrop',
			'title'			=> esc_html__( 'Blog Page Title Elements', 'beruco-addon' ),
			'description'	=> esc_html__( 'These are blog page title elements. Drag which items you want to display left, center and right part.', 'beruco-addon' ),
			'default'		=> array(
				'left' => array(
				),
				'center' => array(
					'title' => esc_html__( 'Title', 'beruco-addon' ),
					'breadcrumb' => esc_html__( 'Breadcrumb', 'beruco-addon' )
				),
				'right' => array(
				),
				'disabled' => array(
					'description' => esc_html__( 'Description', 'beruco-addon' )
				)
			),
			'required'		=> array( 'page-title', '=', array( 'true' ) )
		),
		array(
			'id'			=> 'page-title-bg',
			'type'			=> 'background',
			'title'			=> esc_html__( 'Page Title Background', 'beruco-addon' ),
			'description'	=> esc_html__( 'This is background settings of page title.', 'beruco-addon' ),
			'required'		=> array( 'page-title', '=', array( 'true' ) )
		),
		array(
			'id'			=> 'page-title-custom-class',
			'type'			=> 'text',
			'title'			=> esc_html__( 'Page Title Custom Class', 'beruco-addon' ),
			'description'	=> esc_html__( 'This is setting for add custom class name to page title wrapper.', 'beruco-addon' ),
			'required'		=> array( 'page-title', '=', array( 'true' ) )
		),
	)
) );
Beruco_Options::beruco_set_sub_section( array(
	'title'      => esc_html__( 'Sidebar Layout', 'beruco-addon' ),
	'id'         => 'sidebar-layout-options',
	'fields'	 => array(
		array(
			'id'			=> 'sidebar-chk',
			'type'			=> 'select',
			'title'			=> esc_html__( 'Sidebar', 'beruco-addon' ),
			'description'	=> esc_html__( 'Choose custom to edit sidebar layout options.', 'beruco-addon' ),
			'choices'		=> array(
				'default'	=> esc_html__( 'Default', 'beruco-addon' ),
				'custom'	=> esc_html__( 'Custom', 'beruco-addon' )
			),
			'default'		=> 'default'
		),
		array(
			'id'			=> 'sidebar-layout',
			'type'			=> 'radioimage',
			'title'			=> esc_html__( 'Sidebar Layout', 'beruco-addon' ),
			'description'	=> esc_html__( 'Choose sidebar layout.', 'beruco-addon' ),
			'items'		=> array(
				'right-sidebar' => array(
					'title' => esc_html__( 'Right Sidebar', 'beruco-addon' ),
					'url' => BERUCO_ADDON_URL . 'admin/extension/theme-options/assets/images/sidebars/sidebar-right.png'
				),
				'left-sidebar' => array(
					'title' => esc_html__( 'Left Sidebar', 'beruco-addon' ),
					'url' => BERUCO_ADDON_URL . 'admin/extension/theme-options/assets/images/sidebars/sidebar-left.png'
				),
				'both-sidebar' => array(
					'title' => esc_html__( 'Both Sidebar', 'beruco-addon' ),
					'url' => BERUCO_ADDON_URL . 'admin/extension/theme-options/assets/images/sidebars/sidebar-both.png'
				),
				'no-sidebar' => array(
					'title' => esc_html__( 'No Sidebar', 'beruco-addon' ),
					'url' => BERUCO_ADDON_URL . 'admin/extension/theme-options/assets/images/sidebars/no-sidebar.png'
				)
			),
			'default' => 'right-sidebar',
			'required'		=> array( 'sidebar-chk', '=', array( 'custom' ) )
		),
		array(
			'id'			=> 'right-sidebar',
			'type'			=> 'sidebars',
			'title'			=> esc_html__( 'Right Widgets Area', 'beruco-addon' ),
			'description'	=> esc_html__( 'Choose widget for right widget area', 'beruco-addon' ),
			'default'		=> '',
			'required'		=> array( 'sidebar-layout', '=', array( 'right-sidebar', 'both-sidebar' ) )
		),
		array(
			'id'			=> 'left-sidebar',
			'type'			=> 'sidebars',
			'title'			=> esc_html__( 'Left Widgets Area', 'beruco-addon' ),
			'description'	=> esc_html__( 'Choose widget for left widget area', 'beruco-addon' ),
			'default'		=> '',
			'required'		=> array( 'sidebar-layout', '=', array( 'left-sidebar', 'both-sidebar' ) )
		)
	)
) );
Beruco_Options::beruco_set_end_section( array(
	'id'		=> 'post-layout-end'	
));

// Footer
Beruco_Options::beruco_set_section( array(
	'title'      => esc_html__( 'Footer', 'beruco-addon' ),
	'id'         => 'footer-tab'
) );
Beruco_Options::beruco_set_sub_section( array(
	'title'      => esc_html__( 'General', 'beruco-addon' ),
	'id'         => 'footer-general',
	'fields'	 => array(
		array(
			'id'			=> 'footer-chk',
			'type'			=> 'select',
			'title'			=> esc_html__( 'Footer Settings', 'beruco-addon' ),
			'description'	=> esc_html__( 'Choose custom to edit footer settings options.', 'beruco-addon' ),
			'choices'		=> array(
				'default'	=> esc_html__( 'Default', 'beruco-addon' ),
				'custom'	=> esc_html__( 'Custom', 'beruco-addon' )
			),
			'default'		=> 'default'
		),
		array(
			'id'			=> 'footer-layout',
			'type'			=> 'radioimage',
			'title'			=> esc_html__( 'Footer Layout', 'beruco-addon' ),
			'description'	=> esc_html__( 'Choose footer layout either wide or boxed.', 'beruco-addon' ),
			'items'		=> array(
				'wide' => array(
					'title' => esc_html__( 'Wide', 'beruco-addon' ),
					'url' => BERUCO_ADDON_URL . 'admin/extension/theme-options/assets/images/footer/footer-wide.png'
				),
				'boxed' => array(
					'title' => esc_html__( 'Boxed', 'beruco-addon' ),
					'url' => BERUCO_ADDON_URL . 'admin/extension/theme-options/assets/images/footer/footer-boxed.png'
				)
			),
			'default' => 'wide',
			'required'		=> array( 'footer-chk', '=', array( 'custom' ) )
		),
		array(
			'id'			=> 'footer-items',
			'type'			=> 'dragdrop',
			'title'			=> esc_html__( 'Footer Items', 'beruco-addon' ),
			'description'	=> esc_html__( 'These are footer items. Drag which items you want to display Enabled and Disabled.', 'beruco-addon' ),
			'default'		=> array(
				'enabled' => array(
					'footer-middle' => esc_html__( 'Footer Widgets', 'beruco-addon' ),
					'footer-bottom' => esc_html__( 'Copyright Section', 'beruco-addon' )
				),
				'disabled' => array(
					'footer-top' => esc_html__( 'Footer Top', 'beruco-addon' ),
				)
			),
			'required'		=> array( 'footer-chk', '=', array( 'custom' ) )
		),
	)
) );
Beruco_Options::beruco_set_sub_section( array(
	'title'      => esc_html__( 'Footer Top', 'beruco-addon' ),
	'id'         => 'footer-insta',
	'fields'	 => array(
		array(
			'id'			=> 'insta-footer-chk',
			'type'			=> 'select',
			'title'			=> esc_html__( 'Footer Top Settings', 'beruco-addon' ),
			'description'	=> esc_html__( 'Choose custom to edit insta footer settings options.', 'beruco-addon' ),
			'choices'		=> array(
				'default'	=> esc_html__( 'Default', 'beruco-addon' ),
				'custom'	=> esc_html__( 'Custom', 'beruco-addon' )
			),
			'default'		=> 'default'
		),
		array(
			'id'			=> 'insta-footer-layout',
			'type'			=> 'radioimage',
			'title'			=> esc_html__( 'Footer Top Layout', 'beruco-addon' ),
			'description'	=> esc_html__( 'Choose insta footer layout either wide or boxed.', 'beruco-addon' ),
			'items'		=> array(
				'wide' => array(
					'title' => esc_html__( 'Wide', 'beruco-addon' ),
					'url' => BERUCO_ADDON_URL . 'admin/extension/theme-options/assets/images/footer/footer-wide.png'
				),
				'boxed' => array(
					'title' => esc_html__( 'Boxed', 'beruco-addon' ),
					'url' => BERUCO_ADDON_URL . 'admin/extension/theme-options/assets/images/footer/footer-boxed.png'
				)
			),
			'default' => 'wide',
			'required'		=> array( 'insta-footer-chk', '=', array( 'custom' ) )
		),
	)
) );
Beruco_Options::beruco_set_sub_section( array(
	'title'      => esc_html__( 'Footer Widgets', 'beruco-addon' ),
	'id'         => 'footer-widgets',
	'fields'	 => array(
		array(
			'id'			=> 'footer-middle-chk',
			'type'			=> 'select',
			'title'			=> esc_html__( 'Footer Widgets Settings', 'beruco-addon' ),
			'description'	=> esc_html__( 'Choose custom to edit footer middle settings options.', 'beruco-addon' ),
			'choices'		=> array(
				'default'	=> esc_html__( 'Default', 'beruco-addon' ),
				'custom'	=> esc_html__( 'Custom', 'beruco-addon' )
			),
			'default'		=> 'default'
		),
		array(
			'id'			=> 'widgets-footer-layout',
			'type'			=> 'radioimage',
			'title'			=> esc_html__( 'Widgets Footer Layout', 'beruco-addon' ),
			'description'	=> esc_html__( 'Choose widgets footer layout either wide or boxed.', 'beruco-addon' ),
			'items'		=> array(
				'wide' => array(
					'title' => esc_html__( 'Wide', 'beruco-addon' ),
					'url' => BERUCO_ADDON_URL . 'admin/extension/theme-options/assets/images/footer/footer-wide.png'
				),
				'boxed' => array(
					'title' => esc_html__( 'Boxed', 'beruco-addon' ),
					'url' => BERUCO_ADDON_URL . 'admin/extension/theme-options/assets/images/footer/footer-boxed.png'
				)
			),
			'default' => 'boxed',
			'required'		=> array( 'footer-middle-chk', '=', array( 'custom' ) )
		),
		array(
			'id'			=> 'footer-widgets-layout',
			'type'			=> 'radioimage',
			'title'			=> esc_html__( 'Footer Widgets Layout', 'beruco-addon' ),
			'description'	=> esc_html__( 'Choose footer widgets layout.', 'beruco-addon' ),
			'items'		=> array(
				'3-3-3-3' => array(
					'title' => esc_html__( 'Column 3/3/3/3', 'beruco-addon' ),
					'url' => BERUCO_ADDON_URL . 'admin/extension/theme-options/assets/images/footer/widget-3-3-3-3.png'
				),
				'3-3-6' => array(
					'title' => esc_html__( 'Column 3/3/6', 'beruco-addon' ),
					'url' => BERUCO_ADDON_URL . 'admin/extension/theme-options/assets/images/footer/widget-3-3-6.png'
				),
				'12' => array(
					'title' => esc_html__( 'Column 12', 'beruco-addon' ),
					'url' => BERUCO_ADDON_URL . 'admin/extension/theme-options/assets/images/footer/widget-12.png'
				),
				'4-4-4' => array(
					'title' => esc_html__( 'Column 4/4/4', 'beruco-addon' ),
					'url' => BERUCO_ADDON_URL . 'admin/extension/theme-options/assets/images/footer/widget-4-4-4.png'
				),
				'4-8' => array(
					'title' => esc_html__( 'Column4/8', 'beruco-addon' ),
					'url' => BERUCO_ADDON_URL . 'admin/extension/theme-options/assets/images/footer/widget-4-8.png'
				),
				'6-3-3' => array(
					'title' => esc_html__( 'Column 6/3/3', 'beruco-addon' ),
					'url' => BERUCO_ADDON_URL . 'admin/extension/theme-options/assets/images/footer/widget-6-3-3.png'
				),
				'8-4' => array(
					'title' => esc_html__( 'Column 8/4', 'beruco-addon' ),
					'url' => BERUCO_ADDON_URL . 'admin/extension/theme-options/assets/images/footer/widget-8-4.png'
				)
			),
			'default' => '12',
			'required'		=> array( 'footer-middle-chk', '=', array( 'custom' ) )
		),
		array(
			'id'			=> 'footer-widget-1',
			'type'			=> 'sidebars',
			'title'			=> esc_html__( 'Footer Widgets Area 1', 'beruco-addon' ),
			'description'	=> esc_html__( 'Choose widget for footer widget area 1', 'beruco-addon' ),
			'default'		=> '',
			'required'		=> array( 'footer-middle-chk', '=', array( 'custom' ) )
		),
		array(
			'id'			=> 'footer-widget-2',
			'type'			=> 'sidebars',
			'title'			=> esc_html__( 'Footer Widgets Area 2', 'beruco-addon' ),
			'description'	=> esc_html__( 'Choose widget for footer widget area 2', 'beruco-addon' ),
			'default'		=> '',
			'required'		=> array( 'footer-widgets-layout', '!=', array( '12' ) )
		),
		array(
			'id'			=> 'footer-widget-3',
			'type'			=> 'sidebars',
			'title'			=> esc_html__( 'Footer Widgets Area 3', 'beruco-addon' ),
			'description'	=> esc_html__( 'Choose widget for footer widget area 3', 'beruco-addon' ),
			'default'		=> '',
			'required'		=> array( 'footer-widgets-layout', '=', array( '3-3-3-3', '3-3-6', '4-4-4', '6-3-3' ) )
		),
		array(
			'id'			=> 'footer-widget-4',
			'type'			=> 'sidebars',
			'title'			=> esc_html__( 'Footer Widgets Area 4', 'beruco-addon' ),
			'description'	=> esc_html__( 'Choose widget for footer widget area 4', 'beruco-addon' ),
			'default'		=> '',
			'required'		=> array( 'footer-widgets-layout', '=', array( '3-3-3-3' ) )
		),
	)
) );
Beruco_Options::beruco_set_sub_section( array(
	'title'      => esc_html__( 'Copyright Section', 'beruco-addon' ),
	'id'         => 'copyright-section',
	'fields'	 => array(
		array(
			'id'			=> 'footer-bottom-chk',
			'type'			=> 'select',
			'title'			=> esc_html__( 'Footer Widgets Settings', 'beruco-addon' ),
			'description'	=> esc_html__( 'Choose custom to edit footer middle settings options.', 'beruco-addon' ),
			'choices'		=> array(
				'default'	=> esc_html__( 'Default', 'beruco-addon' ),
				'custom'	=> esc_html__( 'Custom', 'beruco-addon' )
			),
			'default'		=> 'default'
		),
		array(
			'id'			=> 'footer-bottom-layout',
			'type'			=> 'radioimage',
			'title'			=> esc_html__( 'Footer Bottom Layout', 'beruco-addon' ),
			'description'	=> esc_html__( 'Choose footer bottom layout either wide or boxed.', 'beruco-addon' ),
			'items'		=> array(
				'wide' => array(
					'title' => esc_html__( 'Wide', 'beruco-addon' ),
					'url' => BERUCO_ADDON_URL . 'admin/extension/theme-options/assets/images/footer/footer-wide.png'
				),
				'boxed' => array(
					'title' => esc_html__( 'Boxed', 'beruco-addon' ),
					'url' => BERUCO_ADDON_URL . 'admin/extension/theme-options/assets/images/footer/footer-boxed.png'
				)
			),
			'default' => 'boxed',
			'required'		=> array( 'footer-bottom-chk', '=', array( 'custom' ) )
		),
	)
) );
Beruco_Options::beruco_set_end_section( array(
	'id'		=> 'footer-end'	
));


/*
//All Fields
Beruco_Options::beruco_set_section( array(
	'title'      => esc_html__( 'All Fields', 'beruco-addon' ),
	'id'         => 'all-fields'
) );
Beruco_Options::beruco_set_sub_section( array(
	'title'      => esc_html__( 'Fields', 'beruco-addon' ),
	'id'         => 'un-fields-tab',
	'fields'	 => array(
		array(
			'id'			=> 'test_text_field',
			'type'			=> 'text',
			'title'			=> esc_html__( 'Text Field', 'beruco-addon' ),
			'description'	=> esc_html__( 'This is text field', 'beruco-addon' ),
			'default'		=> ''
		),
		array(
			'id'			=> 'test_textarea_field',
			'type'			=> 'textarea',
			'title'			=> esc_html__( 'Textarea Field', 'beruco-addon' ),
			'description'	=> esc_html__( 'This is textarea field', 'beruco-addon' ),
			'default'		=> ''
		),
		array(
			'id'			=> 'test_select_field',
			'type'			=> 'select',
			'title'			=> esc_html__( 'Select Field', 'beruco-addon' ),
			'description'	=> esc_html__( 'This is select field', 'beruco-addon' ),
			'choices'		=> array(
				'1'	=> 'One',
				'2'	=> 'Two',
				'3'	=> 'Three'
			),
			'default'		=> '2'
		),
		array(
			'id'			=> 'test_color_field',
			'type'			=> 'color',
			'title'			=> esc_html__( 'Color Field', 'beruco-addon' ),
			'description'	=> esc_html__( 'This is color field', 'beruco-addon' ),
			'alpha'			=> false,
			'default'		=> '#111111'
		),
		array(
			'id'			=> 'test_link_field',
			'type'			=> 'link',
			'title'			=> esc_html__( 'Link Field', 'beruco-addon' ),
			'description'	=> esc_html__( 'This is link field', 'beruco-addon' ),
			'default'		=> ''
		),
		array(
			'id'			=> 'ajax-trigger-fonts-test',
			'type'			=> 'fonts',
			'title'			=> esc_html__( 'Google Fonts Field', 'beruco-addon' ),
			'description'	=> esc_html__( 'This is fonts field', 'beruco-addon' ),
			'default'		=> ''
		),
		array(
			'id'			=> 'background_test',
			'type'			=> 'background',
			'title'			=> esc_html__( 'Background Field', 'beruco-addon' ),
			'description'	=> esc_html__( 'This is background field', 'beruco-addon' ),
			'default'		=> ''
		),
		array(
			'id'			=> 'image_test',
			'type'			=> 'image',
			'title'			=> esc_html__( 'Image Field', 'beruco-addon' ),
			'description'	=> esc_html__( 'This is image field', 'beruco-addon' ),
			'default'		=> ''
		),
		array(
			'id'			=> 'border_test',
			'type'			=> 'border',
			'title'			=> esc_html__( 'Border Field', 'beruco-addon' ),
			'description'	=> esc_html__( 'This is border field', 'beruco-addon' ),
			'default'		=> ''
		),
		array(
			'id'			=> 'dimension_test',
			'type'			=> 'dimension',
			'title'			=> esc_html__( 'Dimension Field', 'beruco-addon' ),
			'description'	=> esc_html__( 'This is dimension field', 'beruco-addon' ),
			'default'		=> ''
		),
		array(
			'id'			=> 'hw_test',
			'type'			=> 'hw',
			'title'			=> esc_html__( 'Width/Height Field', 'beruco-addon' ),
			'description'	=> esc_html__( 'This is width height field', 'beruco-addon' ),
			'only_dimension' => 'both'
		),
		array(
			'id'			=> 'toggle_test',
			'type'			=> 'toggle',
			'title'			=> esc_html__( 'Toggle Field', 'beruco-addon' ),
			'description'	=> esc_html__( 'This is toggle field', 'beruco-addon' )
		),
		array(
			'id'			=> 'sidebars_test',
			'type'			=> 'sidebars',
			'title'			=> esc_html__( 'Sidebars Field', 'beruco-addon' ),
			'description'	=> esc_html__( 'This is sidebars field', 'beruco-addon' ),
			'default'		=> ''
		),
		array(
			'id'			=> 'pages_test',
			'type'			=> 'pages',
			'title'			=> esc_html__( 'Pages Field', 'beruco-addon' ),
			'description'	=> esc_html__( 'This is pages field', 'beruco-addon' ),
			'default'		=> ''
		),
		array(
			'id'			=> 'multicheck_test',
			'type'			=> 'multicheck',
			'title'			=> esc_html__( 'Multi Check Field', 'beruco-addon' ),
			'description'	=> esc_html__( 'This is multi check box field', 'beruco-addon' ),
			'items'		=> array(
				'one' => esc_html__( 'One', 'beruco-addon' ),
				'two' => esc_html__( 'Two', 'beruco-addon' ),
				'three' => esc_html__( 'Three', 'beruco-addon' ),
				'four' => esc_html__( 'Four', 'beruco-addon' ),
				'five' => esc_html__( 'Five', 'beruco-addon' )
			)
		),
		array(
			'id'			=> 'radioimage_test',
			'type'			=> 'radioimage',
			'title'			=> esc_html__( 'Radio Image Field', 'beruco-addon' ),
			'description'	=> esc_html__( 'This is radio image field', 'beruco-addon' ),
			'items'		=> array(
				'right-sidebar' => array(
					'title' => esc_html__( 'Right Sidebar', 'beruco-addon' ),
					'url' => BERUCO_ADDON_URL . 'admin/extension/theme-options/assets/images/sidebars/sidebar-right.png'
				),
				'left-sidebar' => array(
					'title' => esc_html__( 'Left Sidebar', 'beruco-addon' ),
					'url' => BERUCO_ADDON_URL . 'admin/extension/theme-options/assets/images/sidebars/sidebar-left.png'
				),
				'both-sidebar' => array(
					'title' => esc_html__( 'Both Sidebar', 'beruco-addon' ),
					'url' => BERUCO_ADDON_URL . 'admin/extension/theme-options/assets/images/sidebars/sidebar-both.png'
				),
				'no-sidebar' => array(
					'title' => esc_html__( 'No Sidebar', 'beruco-addon' ),
					'url' => BERUCO_ADDON_URL . 'admin/extension/theme-options/assets/images/sidebars/no-sidebar.png'
				)
			),
			'default' => 'left-sidebar'
		),
		array(
			'id'			=> 'dragdrop_test',
			'type'			=> 'dragdrop',
			'title'			=> esc_html__( 'Drag Drop Field', 'beruco-addon' ),
			'description'	=> esc_html__( 'This is drag and drop field', 'beruco-addon' ),
			'default'		=> array(
				'enabled' => array(
					'one' => esc_html__( 'One', 'beruco-addon' ),
					'two' => esc_html__( 'Two', 'beruco-addon' )
				),
				'disabled' => array(
					'three' => esc_html__( 'Three', 'beruco-addon' ),
					'four' => esc_html__( 'Four', 'beruco-addon' ),
					'five' => esc_html__( 'Five', 'beruco-addon' )
				)
			)
		),
		array(
			'id'			=> 'test_label_field',
			'type'			=> 'label',
			'title'			=> esc_html__( 'Label Field', 'beruco-addon' ),
			'description'	=> esc_html__( 'This is label field', 'beruco-addon' ),
			'seperator'		=> 'after'
		),
	)
) );
Beruco_Options::beruco_set_end_section( array(
	'id'		=> 'all-fields-end'	
));*/