<?php

/* GLOBAL DESIGN OPTIONS */
/*------------------------------------------------------------------*/
add_action( 'init', 'bizz_theme_options' );
function bizz_theme_options() {
	global $shortname, $bizz_package, $alt_stylesheets, $options, $design;

	$design[] = array(	'type' => 'maintabletop');

		////// General Styling

		$design[] = array(	'name' => __('General Styling', 'bizzthemes'),
							'type' => 'heading');
						
			$design[] = array(	'name' => __('Layout Control', 'bizzthemes'),
								'toggle' => 'true',
								'type' => 'subheadingtop');
								
				$design[] = array(	'name' => __('Predefined Skins', 'bizzthemes'),
									'desc' => __('Please select the CSS skin for your website here. CSS skin files are located in your theme skins folder.', 'bizzthemes'),
									'id' => $shortname.'_alt_stylesheet',
									'std' => array(
										'value' => '', 
										'css' => ''
									),
									'type' => 'select',
									'show_option_none' => true,
									'options' => $alt_stylesheets);
									
				$design[] = array(	'name' => __('Hide custom.css', 'bizzthemes'),
									'label' => __('Hide Custom Stylesheet', 'bizzthemes'),
									'desc' => sprintf(__('Custom.css file allows you to make custom design changes using CSS. You have option to create your own css skin in skins folder or to simply enable and <a href="%s/wp-admin/theme-editor.php">edit custom.css file</a>.<span class="important">Check this option to disable custom.css file output.</span>', 'bizzthemes'), site_url()),
									'id' => $shortname.'_custom_css',
									'std' => array(
										'value' => false, 
										'css' => ''
									),
									'type' => 'checkbox');	
									
				$design[] = array(	'name' => __('Hide layout.css', 'bizzthemes'),
									'label' => __('Hide Design Control Tweaks', 'bizzthemes'),
									'desc' => __('If you want to hide all CSS design tweaks you&#8217;ve created using theme design control panel, check this option.', 'bizzthemes'),
									'id' => $shortname.'_layout_css',
									'std' => array(
										'value' => false, 
										'css' => ''
									),
									'type' => 'checkbox');
						
			$design[] = array(	'type' => 'subheadingbottom');	

			$design[] = array(	'name' => __('Body Background', 'bizzthemes'),
								'toggle' => 'true',
								'type' => 'subheadingtop');
									
				$design[] = array(  'name' => __('<code>body</code> background', 'bizzthemes'),
									'desc' => __('Specify <code>body</code> background properties. <span class="important">Uploading image is optional, so you may only choose background color if you like.</span>', 'bizzthemes'),
									'id' => $shortname.'_body_img_prop',
									'std' => array(
										'background-image' => '',
										'background-color' => '',
										'background-repeat' => '', 
										'background-position' => '', 
										'css' => 'body'
									),
									'type' => 'bgproperties');
						
			$design[] = array(	'type' => 'subheadingbottom');
			
			$design[] = array(	'name' => __('Body Links', 'bizzthemes'),
								'toggle' => 'true',
								'type' => 'subheadingtop');
									
				$design[] = array(  'name' => __('<code>a</code> link text color', 'bizzthemes'),
									'desc' => __('Pick a custom link color to be applied to <code>body</code> text links.', 'bizzthemes'),
									'id' => $shortname.'_c_links',
									'std' => array(
										'color' => '', 
										'css' => 'a'
									),
									'type' => 'color');
									
				$design[] = array(  'name' => __('<code>a:hover</code> link text color', 'bizzthemes'),
									'desc' => __('Pick a custom onhover link color to be applied to <code>body</code> text links.', 'bizzthemes'),
									'id' => $shortname.'_c_links_onhover',
									'std' => array(
										'color' => '', 
										'css' => 'a:hover'
									),
									'type' => 'color');
						
			$design[] = array(	'type' => 'subheadingbottom');
			
			$design[] = array(	'name' => __('Body Text', 'bizzthemes'),
								'toggle' => 'true',
								'type' => 'subheadingtop');
									
				$design[] = array(  'name' => __('<code>body</code> fonts (all)', 'bizzthemes'),
									'desc' => __('Select the typography you want for all of your texts. <span class="important">* Web-safe font.<br/>G Google font.</span>', 'bizzthemes'),
									'id' => $shortname.'_f_general',
									'std' => array(
										'font-size' => '', 
										'font-family' => '', 
										'font-style' => '', 
										'font-variant' => '',
										'font-weight' => '',
										'color' => '',
										'css' => 'body'
									),
									'type' => 'typography');
									
				$design[] = array(  'name' => __('<code>H1</code> fonts', 'bizzthemes'),
									'desc' => __('Select the typography you want for your text, displayed inside <code>H1</code> tags. <span class="important">* Web-safe font.<br/>G Google font.</span>', 'bizzthemes'),
									'id' => $shortname.'_f_h1',
									'std' => array(
										'font-size' => '', 
										'font-family' => '', 
										'font-style' => '', 
										'font-variant' => '',
										'font-weight' => '', 
										'color' => '',
										'css' => 'h1'
									),
									'type' => 'typography');
									
				$design[] = array(  'name' => __('<code>H2</code> fonts', 'bizzthemes'),
									'desc' => __('Select the typography you want for your text, displayed inside <code>H2</code> tags. <span class="important">* Web-safe font.<br/>G Google font.</span>', 'bizzthemes'),
									'id' => $shortname.'_f_h2',
									'std' => array(
										'font-size' => '', 
										'font-family' => '', 
										'font-style' => '', 
										'font-variant' => '',
										'font-weight' => '', 
										'color' => '',
										'css' => 'h2'
									),
									'type' => 'typography');
									
				$design[] = array(  'name' => __('<code>H3</code> fonts', 'bizzthemes'),
									'desc' => __('Select the typography you want for your text, displayed inside <code>H3</code> tags. <span class="important">* Web-safe font.<br/>G Google font.</span>', 'bizzthemes'),
									'id' => $shortname.'_f_h3',
									'std' => array(
										'font-size' => '', 
										'font-family' => '', 
										'font-style' => '', 
										'font-variant' => '',
										'font-weight' => '', 
										'color' => '',
										'css' => 'h3'
									),
									'type' => 'typography');
									
				$design[] = array(  'name' => __('<code>H4</code> fonts', 'bizzthemes'),
									'desc' => __('Select the typography you want for your text, displayed inside <code>H4</code> tags. <span class="important">* Web-safe font.<br/>G Google font.</span>', 'bizzthemes'),
									'id' => $shortname.'_f_h4',
									'std' => array(
										'font-size' => '', 
										'font-family' => '', 
										'font-style' => '', 
										'font-variant' => '',
										'font-weight' => '', 
										'color' => '',
										'css' => 'h4'
									),
									'type' => 'typography');
									
				$design[] = array(  'name' => __('<code>H5</code> fonts', 'bizzthemes'),
									'desc' => __('Select the typography you want for your text, displayed inside <code>H5</code> tags. <span class="important">* Web-safe font.<br/>G Google font.</span>', 'bizzthemes'),
									'id' => $shortname.'_f_h5',
									'std' => array(
										'font-size' => '', 
										'font-family' => '', 
										'font-style' => '', 
										'font-variant' => '',
										'font-weight' => '', 
										'color' => '',
										'css' => 'h5'
									),
									'type' => 'typography');
									
				$design[] = array(  'name' => __('<code>H6</code> fonts', 'bizzthemes'),
									'desc' => __('Select the typography you want for your text, displayed inside <code>H6</code> tags. <span class="important">* Web-safe font.<br/>G Google font.</span>', 'bizzthemes'),
									'id' => $shortname.'_f_h6',
									'std' => array(
										'font-size' => '', 
										'font-family' => '', 
										'font-style' => '', 
										'font-variant' => '',
										'font-weight' => '', 
										'color' => '',
										'css' => 'h6'
									),
									'type' => 'typography');
						
			$design[] = array(	'type' => 'subheadingbottom');
			
			$design[] = array(	'name' => __('Body Input Fields', 'bizzthemes'),
								'toggle' => 'true',
								'type' => 'subheadingtop');
									
				$design[] = array(  'name' => __('Inputs fonts', 'bizzthemes'),
									'desc' => __('Select the typography you want for your <code>input, textarea</code> tags. <span class="important">* Web-safe font.<br/>G Google font.</span>', 'bizzthemes'),
									'id' => $shortname.'_f_inputs',
									'std' => array(
										'font-size' => '', 
										'font-family' => '', 
										'font-style' => '', 
										'font-variant' => '',
										'font-weight' => '', 
										'color' => '',
										'css' => 'input, textarea'
									),
									'type' => 'typography');
									
				$design[] = array(  'name' => __('Inputs background color', 'bizzthemes'),
									'desc' => __('Specify <code>input, textarea</code> background color.', 'bizzthemes'),
									'id' => $shortname.'_bg_inputs',
									'std' => array(
										'background-color' => '', 
										'css' => 'input, textarea'
									),
									'type' => 'background-color');
									
				$design[] = array(  'name' => __('Inputs border', 'bizzthemes'),
									'desc' => __('Specify border properties to be applied to <code>input, textarea</code> tags.', 'bizzthemes'),
									'id' => $shortname.'_b_inputs',
									'std' => array(
										'border-position' => 'border',
										'border-width' => '', 
										'border-style' => '', 
										'border-color' => '',
										'css' => 'input, textarea'
									),
									'type' => 'border');
									
				$design[] = array(  'name' => __('Inputs <code>:focus</code> background color', 'bizzthemes'),
									'desc' => __('Specify <code>input:focus, textarea:focus</code> background color.', 'bizzthemes'),
									'id' => $shortname.'_bg_inputs_focus',
									'std' => array(
										'background-color' => '', 
										'css' => 'input:focus, textarea:focus'
									),
									'type' => 'background-color');
									
				$design[] = array(  'name' => __('Inputs <code>:focus</code> border', 'bizzthemes'),
									'desc' => __('Specify border properties to be applied to <code>input:focus, textarea:focus</code> tags.', 'bizzthemes'),
									'id' => $shortname.'_b_inputs_focus',
									'std' => array(
										'border-position' => 'border',
										'border-width' => '', 
										'border-style' => '', 
										'border-color' => '',
										'css' => 'input:focus, textarea:focus'
									),
									'type' => 'border');
									
				$design[] = array(  'name' => __('Submit button fonts', 'bizzthemes'),
									'desc' => __('Select the typography you want for your <code>input[type=&#34;submit&#34;], a.button</code> tags. <span class="important">* Web-safe font.<br/>G Google font.</span>', 'bizzthemes'),
									'id' => $shortname.'_f_inputs_submit',
									'std' => array(
										'font-size' => '', 
										'font-family' => '', 
										'font-style' => '', 
										'font-variant' => '',
										'font-weight' => '', 
										'color' => '',
										'css' => 'input[type=&#34;submit&#34;], a.button'
									),
									'type' => 'typography');
									
				$design[] = array(  'name' => __('Submit button background', 'bizzthemes'),
									'desc' => __('Specify <code>input[type=&#34;submit&#34;], a.button</code> background color.', 'bizzthemes'),
									'id' => $shortname.'_bg_inputs_submit',
									'std' => array(
										'background-color' => '', 
										'css' => 'input[type=&#34;submit&#34;], a.button'
									),
									'type' => 'background-color');
									
				$design[] = array(  'name' => __('Submit button <code>:hover</code> fonts', 'bizzthemes'),
									'desc' => __('Select the typography you want for your <code>input[type=&#34;submit&#34;]:hover, a.button:hover</code> tags. <span class="important">* Web-safe font.<br/>G Google font.</span>', 'bizzthemes'),
									'id' => $shortname.'_f_inputs_submit_hover',
									'std' => array(
										'font-size' => '', 
										'font-family' => '', 
										'font-style' => '', 
										'font-variant' => '',
										'font-weight' => '', 
										'color' => '',
										'css' => 'input[type=&#34;submit&#34;]:hover, a.button:hover'
									),
									'type' => 'typography');
									
				$design[] = array(  'name' => __('Submit button <code>:hover</code> background', 'bizzthemes'),
									'desc' => __('Specify <code>input[type=&#34;submit&#34;]:hover, a.button:hover</code> background color.', 'bizzthemes'),
									'id' => $shortname.'_bg_inputs_submit_hover',
									'std' => array(
										'background-color' => '', 
										'css' => 'input[type=&#34;submit&#34;]:hover, a.button:hover'
									),
									'type' => 'background-color');
						
			$design[] = array(	'type' => 'subheadingbottom');
			
			$design[] = array(	'name' => __('Body Images', 'bizzthemes'),
								'toggle' => 'true',
								'type' => 'subheadingtop');
									
				$design[] = array(  'name' => __('Image caption fonts', 'bizzthemes'),
									'desc' => __('Select the typography you want for your <code>.wp-caption</code> tags. <span class="important">* Web-safe font.<br/>G Google font.</span>', 'bizzthemes'),
									'id' => $shortname.'_f_imgcaption',
									'std' => array(
										'font-size' => '', 
										'font-family' => '', 
										'font-style' => '', 
										'font-variant' => '',
										'font-weight' => '', 
										'color' => '',
										'css' => '.wp-caption'
									),
									'type' => 'typography');
									
				$design[] = array(  'name' => __('Image caption background color', 'bizzthemes'),
									'desc' => __('Specify <code>.wp-caption</code> background color.', 'bizzthemes'),
									'id' => $shortname.'_bg_imgcaption',
									'std' => array(
										'background-color' => '', 
										'css' => '.wp-caption'
									),
									'type' => 'background-color');
									
				$design[] = array(  'name' => __('Image caption border', 'bizzthemes'),
									'desc' => __('Specify border properties to be applied to <code>.wp-caption</code> tags.', 'bizzthemes'),
									'id' => $shortname.'_b_imgcaption',
									'std' => array(
										'border-position' => 'border',
										'border-width' => '', 
										'border-style' => '', 
										'border-color' => '',
										'css' => '.wp-caption'
									),
									'type' => 'border');
						
			$design[] = array(	'type' => 'subheadingbottom');
								
		$design[] = array(	'type' => 'maintablebreak');
		
		////// Specific Widget Styling

		$design[] = array(	'name' => __('Content &amp; Comments', 'bizzthemes'),
							'type' => 'heading');
									
			$design[] = array(	'name' => __('Typography', 'bizzthemes'),
								'toggle' => 'true',
								'type' => 'subheadingtop');
									
				if ($bizz_package != 'ZnJlZQ=='){
				
				$design[] = array(  'name' => __('Main post headline', 'bizzthemes'),
									'desc' => __('Select the typography you want for your <code>.headline_area h1, .headline_area h2</code> tags. <span class="important">* Web-safe font.<br/>G Google font.</span>', 'bizzthemes'),
									'id' => $shortname.'_f_content_title',
									'std' => array(
										'font-size' => '', 
										'font-family' => '', 
										'font-style' => '', 
										'font-variant' => '',
										'font-weight' => '', 
										'color' => '',
										'css' => '.headline_area h1, .headline_area h2'
									),
									'type' => 'typography');
									
				$design[] = array(  'name' => __('Archive post headline', 'bizzthemes'),
									'desc' => __('Select the typography you want for your <code>.headline_area h1 a, .headline_area h2 a</code> tags. <span class="important">* Web-safe font.<br/>G Google font.</span>', 'bizzthemes'),
									'id' => $shortname.'_f_content_title_a',
									'std' => array(
										'font-size' => '', 
										'font-family' => '', 
										'font-style' => '', 
										'font-variant' => '',
										'font-weight' => '', 
										'color' => '',
										'css' => '.headline_area h1 a, .headline_area h2 a'
									),
									'type' => 'typography');
									
				$design[] = array(  'name' => __('Post meta', 'bizzthemes'),
									'desc' => __('Select the typography you want for your <code>.headline_meta a</code> tags. <span class="important">* Web-safe font.<br/>G Google font.</span>', 'bizzthemes'),
									'id' => $shortname.'_f_post_meta',
									'std' => array(
										'font-size' => '', 
										'font-family' => '', 
										'font-style' => '', 
										'font-variant' => '',
										'font-weight' => '', 
										'color' => '',
										'css' => '.headline_meta a'
									),
									'type' => 'typography');
									
				$design[] = array(  'name' => __('Post content', 'bizzthemes'),
									'desc' => __('Select the typography you want for your <code>.format_text</code> tags. <span class="important">* Web-safe font.<br/>G Google font.</span>', 'bizzthemes'),
									'id' => $shortname.'_f_post_text',
									'std' => array(
										'font-size' => '', 
										'font-family' => '', 
										'font-style' => '', 
										'font-variant' => '',
										'font-weight' => '', 
										'color' => '',
										'css' => '.format_text'
									),
									'type' => 'typography');
									
				$design[] = array(  'name' => __('Post content links', 'bizzthemes'),
									'desc' => __('Select the typography you want for your <code>.format_text a</code> tags. <span class="important">* Web-safe font.<br/>G Google font.</span>', 'bizzthemes'),
									'id' => $shortname.'_f_post_text_a',
									'std' => array(
										'font-size' => '', 
										'font-family' => '', 
										'font-style' => '', 
										'font-variant' => '',
										'font-weight' => '', 
										'color' => '',
										'css' => '.format_text a'
									),
									'type' => 'typography');
									
				} else {
				
				$design[] = array(	"name" => sprintf(__('To use these options, please <a href="%s/wp-admin/admin.php?page=bizz-license">Upgrade to Standard or Agency Theme Package</a>.', 'bizzthemes'), site_url()),
									"type" => "help");
				
				}
						
			$design[] = array(	'type' => 'subheadingbottom');
			
			$design[] = array(	'name' => __('Continue Reading', 'bizzthemes'),
								'toggle' => 'true',
								'type' => 'subheadingtop');
									
				if ($bizz_package != 'ZnJlZQ=='){
				
				$design[] = array(  'name' => __('Font', 'bizzthemes'),
									'desc' => __('Select the typography you want for your <code>span.read-more a</code> tags. <span class="important">* Web-safe font.<br/>G Google font.</span>', 'bizzthemes'),
									'id' => $shortname.'_f_rmore_a',
									'std' => array(
										'font-size' => '', 
										'font-family' => '', 
										'font-style' => '', 
										'font-variant' => '',
										'font-weight' => '', 
										'color' => '',
										'css' => 'span.read-more a'
									),
									'type' => 'typography');
									
				$design[] = array(  'name' => __('Background color', 'bizzthemes'),
									'desc' => __('Specify <code>span.read-more a</code> background color.', 'bizzthemes'),
									'id' => $shortname.'_bg_rmore',
									'std' => array(
										'background-color' => '', 
										'css' => 'span.read-more a'
									),
									'type' => 'background-color');
									
				$design[] = array(  'name' => __('Background <code>:hover</code> color', 'bizzthemes'),
									'desc' => __('Specify <code>span.read-more a:hover</code> background color.', 'bizzthemes'),
									'id' => $shortname.'_bg_rmore_hover',
									'std' => array(
										'background-color' => '', 
										'css' => 'span.read-more a:hover'
									),
									'type' => 'background-color');
									
				} else {
				
				$design[] = array(	"name" => sprintf(__('To use these options, please <a href="%s/wp-admin/admin.php?page=bizz-license">Upgrade to Standard or Agency Theme Package</a>.', 'bizzthemes'), site_url()),
									"type" => "help");
				
				}
						
			$design[] = array(	'type' => 'subheadingbottom');
			
			$design[] = array(	'name' => __('Pagination', 'bizzthemes'),
								'toggle' => 'true',
								'type' => 'subheadingtop');
									
				if ($bizz_package != 'ZnJlZQ=='){
									
				$design[] = array(  'name' => __('Font', 'bizzthemes'),
									'desc' => __('Select the typography you want for your <code>ul.lpag li a, .loopedSlider ul.pagination li a</code> tags. <span class="important">* Web-safe font.<br/>G Google font.</span>', 'bizzthemes'),
									'id' => $shortname.'_f_pagination_a',
									'std' => array(
										'font-size' => '', 
										'font-family' => '', 
										'font-style' => '', 
										'font-variant' => '',
										'font-weight' => '', 
										'color' => '',
										'css' => 'ul.lpag li a, .loopedSlider ul.pagination li a'
									),
									'type' => 'typography');
									
				$design[] = array(  'name' => __('Active background color', 'bizzthemes'),
									'desc' => __('Specify <code>ul.lpag li.active a, ul.lpag li.current span, .loopedSlider ul.pagination li.current a</code> background color.', 'bizzthemes'),
									'id' => $shortname.'_bg_pagination_active',
									'std' => array(
										'background-color' => '', 
										'css' => 'ul.lpag li.active a, ul.lpag li.current span, .loopedSlider ul.pagination li.current a'
									),
									'type' => 'background-color');
									
				$design[] = array(  'name' => __('Active background font', 'bizzthemes'),
									'desc' => __('Select the typography you want for your <code>ul.lpag li.active a, ul.lpag li.current span</code> tags. <span class="important">* Web-safe font.<br/>G Google font.</span>', 'bizzthemes'),
									'id' => $shortname.'_f_pagination_active',
									'std' => array(
										'font-size' => '', 
										'font-family' => '', 
										'font-style' => '', 
										'font-variant' => '',
										'font-weight' => '', 
										'color' => '',
										'css' => 'ul.lpag li.active a, ul.lpag li.current span, .loopedSlider ul.pagination li.current a'
									),
									'type' => 'typography');
									
				$design[] = array(  'name' => __('Link <code>:hover</code> background color', 'bizzthemes'),
									'desc' => __('Specify <code>ul.lpag li a:hover, .loopedSlider ul.pagination li a:hover</code> background color.', 'bizzthemes'),
									'id' => $shortname.'_bg_pagination_a_hover',
									'std' => array(
										'background-color' => '', 
										'css' => 'ul.lpag li a:hover, .loopedSlider ul.pagination li a:hover'
									),
									'type' => 'background-color');
									
				} else {
				
				$design[] = array(	"name" => sprintf(__('To use these options, please <a href="%s/wp-admin/admin.php?page=bizz-license">Upgrade to Standard or Agency Theme Package</a>.', 'bizzthemes'), site_url()),
									"type" => "help");
				
				}
						
			$design[] = array(	'type' => 'subheadingbottom');
			
			$design[] = array(	'name' => __('Comments', 'bizzthemes'),
								'toggle' => 'true',
								'type' => 'subheadingtop');
									
				if ($bizz_package != 'ZnJlZQ=='){
				
				$design[] = array(  'name' => __('Comment header meta font', 'bizzthemes'),
									'desc' => __('Select the typography you want for your <code>#comments .comment .text-right .comm-reply, #comments .comment .text-right .comm-reply a</code> tags. <span class="important">* Web-safe font.<br/>G Google font.</span>', 'bizzthemes'),
									'id' => $shortname.'_f_comment_meta',
									'std' => array(
										'font-size' => '', 
										'font-family' => '', 
										'font-style' => '', 
										'font-variant' => '',
										'font-weight' => '', 
										'color' => '',
										'css' => '#comments .comment .text-right .comm-reply, #comments .comment .text-right .comm-reply a'
									),
									'type' => 'typography');
									
				$design[] = array(  'name' => __('Comment content font', 'bizzthemes'),
									'desc' => __('Select the typography you want for your <code>#comments .comment .text-right .comment-entry</code> tags. <span class="important">* Web-safe font.<br/>G Google font.</span>', 'bizzthemes'),
									'id' => $shortname.'_f_comment_content',
									'std' => array(
										'font-size' => '', 
										'font-family' => '', 
										'font-style' => '', 
										'font-variant' => '',
										'font-weight' => '', 
										'color' => '',
										'css' => '#comments .comment .text-right .comment-entry'
									),
									'type' => 'typography');
									
				$design[] = array(  'name' => __('Author reply border', 'bizzthemes'),
									'desc' => __('Specify border properties to be applied to <code>#comments .comment.bypostauthor .text-right .comm-reply</code> tags.', 'bizzthemes'),
									'id' => $shortname.'_b_comment_author',
									'std' => array(
										'border-position' => 'border',
										'border-width' => '', 
										'border-style' => '', 
										'border-color' => '',
										'css' => '#comments .comment.bypostauthor .text-right .comm-reply'
									),
									'type' => 'border');
									
				} else {
				
				$design[] = array(	"name" => sprintf(__('To use these options, please <a href="%s/wp-admin/admin.php?page=bizz-license">Upgrade to Standard or Agency Theme Package</a>.', 'bizzthemes'), site_url()),
									"type" => "help");
				
				}
						
			$design[] = array(	'type' => 'subheadingbottom');
														
		$design[] = array(	'type' => 'maintablebreak');
								
	$design[] = array(	'type' => 'maintablebottom');
		
	$design[] = array(	'type' => 'maintabletop');
		
		////// Area Styling

		$design[] = array(	'name' => __('Area Styling', 'bizzthemes'),
							'type' => 'heading');
									
			$design[] = array(	'name' => __('Header Area', 'bizzthemes'),
								'toggle' => 'true',
								'type' => 'subheadingtop');
									
				if ($bizz_package != 'ZnJlZQ=='){
				
				$design[] = array(  'name' => __('Area background', 'bizzthemes'),
									'desc' => __('Specify <code>#header_area</code> background properties. <span class="important">Uploading image is optional, so you may only choose background color if you like.</span>', 'bizzthemes'),
									'id' => $shortname.'_bg_header_area',
									'std' => array(
										'background-image' => '',
										'background-color' => '',
										'background-repeat' => '', 
										'background-position' => '', 
										'css' => '#header_area'
									),
									'type' => 'bgproperties');
									
				$design[] = array(  'name' => __('Column 1 background', 'bizzthemes'),
									'desc' => __('Specify <code>#header_area .header_one</code> background properties. <span class="important">Uploading image is optional, so you may only choose background color if you like.</span>', 'bizzthemes'),
									'id' => $shortname.'_bg_header_one',
									'std' => array(
										'background-image' => '',
										'background-color' => '',
										'background-repeat' => '', 
										'background-position' => '', 
										'css' => '#header_area .header_one'
									),
									'type' => 'bgproperties');
									
				$design[] = array(  'name' => __('Column 2 background', 'bizzthemes'),
									'desc' => __('Specify <code>#header_area .header_two</code> background properties. <span class="important">Uploading image is optional, so you may only choose background color if you like.</span>', 'bizzthemes'),
									'id' => $shortname.'_bg_header_two',
									'std' => array(
										'background-image' => '',
										'background-color' => '',
										'background-repeat' => '', 
										'background-position' => '', 
										'css' => '#header_area .header_two'
									),
									'type' => 'bgproperties');
									
				$design[] = array(  'name' => __('Area font', 'bizzthemes'),
									'desc' => __('Select the typography you want for your <code>#header_area .widget</code> tags. <span class="important">* Web-safe font.<br/>G Google font.</span>', 'bizzthemes'),
									'id' => $shortname.'_f_header_area',
									'std' => array(
										'font-size' => '', 
										'font-family' => '', 
										'font-style' => '', 
										'font-variant' => '',
										'font-weight' => '', 
										'color' => '',
										'css' => '#header_area .widget'
									),
									'type' => 'typography');
									
				$design[] = array(  'name' => __('Area widget title', 'bizzthemes'),
									'desc' => __('Select the typography you want for your <code>#header_area .widget h3</code> tags. <span class="important">* Web-safe font.<br/>G Google font.</span>', 'bizzthemes'),
									'id' => $shortname.'_f_header_area_title',
									'std' => array(
										'font-size' => '', 
										'font-family' => '', 
										'font-style' => '', 
										'font-variant' => '',
										'font-weight' => '', 
										'color' => '',
										'css' => '#header_area .widget h3'
									),
									'type' => 'typography');
									
				} else {
				
				$design[] = array(	"name" => sprintf(__('To use these options, please <a href="%s/wp-admin/admin.php?page=bizz-license">Upgrade to Standard or Agency Theme Package</a>.', 'bizzthemes'), site_url()),
									"type" => "help");
				
				}

			$design[] = array(	'type' => 'subheadingbottom');
			
			$design[] = array(	'name' => __('Navigation Area', 'bizzthemes'),
								'toggle' => 'true',
								'type' => 'subheadingtop');
									
				if ($bizz_package != 'ZnJlZQ=='){
				
				$design[] = array(  'name' => __('Area background', 'bizzthemes'),
									'desc' => __('Specify <code>#navigation_area</code> background properties. <span class="important">Uploading image is optional, so you may only choose background color if you like.</span>', 'bizzthemes'),
									'id' => $shortname.'_bg_navigation_area',
									'std' => array(
										'background-image' => '',
										'background-color' => '',
										'background-repeat' => '', 
										'background-position' => '', 
										'css' => '#navigation_area'
									),
									'type' => 'bgproperties');
									
				$design[] = array(  'name' => __('Inline Area background', 'bizzthemes'),
									'desc' => __('Specify <code>#navigation_area .navigation_full</code> background properties. <span class="important">Uploading image is optional, so you may only choose background color if you like.</span>', 'bizzthemes'),
									'id' => $shortname.'_bg_navigation_area_inline',
									'std' => array(
										'background-image' => '',
										'background-color' => '',
										'background-repeat' => '', 
										'background-position' => '', 
										'css' => '#navigation_area .navigation_full'
									),
									'type' => 'bgproperties');
									
				$design[] = array(  'name' => __('Area font', 'bizzthemes'),
									'desc' => __('Select the typography you want for your <code>#navigation_area .widget</code> tags. <span class="important">* Web-safe font.<br/>G Google font.</span>', 'bizzthemes'),
									'id' => $shortname.'_f_navigation_area',
									'std' => array(
										'font-size' => '', 
										'font-family' => '', 
										'font-style' => '', 
										'font-variant' => '',
										'font-weight' => '', 
										'color' => '',
										'css' => '#navigation_area .widget'
									),
									'type' => 'typography');
									
				$design[] = array(  'name' => __('Area widget title', 'bizzthemes'),
									'desc' => __('Select the typography you want for your <code>#navigation_area .widget h3</code> tags. <span class="important">* Web-safe font.<br/>G Google font.</span>', 'bizzthemes'),
									'id' => $shortname.'_f_navigation_area_title',
									'std' => array(
										'font-size' => '', 
										'font-family' => '', 
										'font-style' => '', 
										'font-variant' => '',
										'font-weight' => '', 
										'color' => '',
										'css' => '#navigation_area .widget h3'
									),
									'type' => 'typography');
									
				} else {
				
				$design[] = array(	"name" => sprintf(__('To use these options, please <a href="%s/wp-admin/admin.php?page=bizz-license">Upgrade to Standard or Agency Theme Package</a>.', 'bizzthemes'), site_url()),
									"type" => "help");
				
				}

			$design[] = array(	'type' => 'subheadingbottom');
			
			$design[] = array(	'name' => __('Featured Area', 'bizzthemes'),
								'toggle' => 'true',
								'type' => 'subheadingtop');
									
				if ($bizz_package != 'ZnJlZQ=='){
				
				$design[] = array(  'name' => __('Area background', 'bizzthemes'),
									'desc' => __('Specify <code>#featured_area</code> background properties. <span class="important">Uploading image is optional, so you may only choose background color if you like.</span>', 'bizzthemes'),
									'id' => $shortname.'_bg_featured_area',
									'std' => array(
										'background-image' => '',
										'background-color' => '',
										'background-repeat' => '', 
										'background-position' => '', 
										'css' => '#featured_area'
									),
									'type' => 'bgproperties');
									
				$design[] = array(  'name' => __('Inline Area background', 'bizzthemes'),
									'desc' => __('Specify <code>#featured_area .featured_full</code> background properties. <span class="important">Uploading image is optional, so you may only choose background color if you like.</span>', 'bizzthemes'),
									'id' => $shortname.'_bg_featured_area_inline',
									'std' => array(
										'background-image' => '',
										'background-color' => '',
										'background-repeat' => '', 
										'background-position' => '', 
										'css' => '#featured_area .featured_full'
									),
									'type' => 'bgproperties');
									
				$design[] = array(  'name' => __('Area font', 'bizzthemes'),
									'desc' => __('Select the typography you want for your <code>#featured_area .widget</code> tags. <span class="important">* Web-safe font.<br/>G Google font.</span>', 'bizzthemes'),
									'id' => $shortname.'_f_featured_area',
									'std' => array(
										'font-size' => '', 
										'font-family' => '', 
										'font-style' => '', 
										'font-variant' => '',
										'font-weight' => '', 
										'color' => '',
										'css' => '#featured_area .widget'
									),
									'type' => 'typography');
									
				$design[] = array(  'name' => __('Area widget title', 'bizzthemes'),
									'desc' => __('Select the typography you want for your <code>#featured_area .widget h3</code> tags. <span class="important">* Web-safe font.<br/>G Google font.</span>', 'bizzthemes'),
									'id' => $shortname.'_f_featured_area_title',
									'std' => array(
										'font-size' => '', 
										'font-family' => '', 
										'font-style' => '', 
										'font-variant' => '',
										'font-weight' => '', 
										'color' => '',
										'css' => '#featured_area .widget h3'
									),
									'type' => 'typography');
									
				} else {
				
				$design[] = array(	"name" => sprintf(__('To use these options, please <a href="%s/wp-admin/admin.php?page=bizz-license">Upgrade to Standard or Agency Theme Package</a>.', 'bizzthemes'), site_url()),
									"type" => "help");
				
				}

			$design[] = array(	'type' => 'subheadingbottom');
									
			$design[] = array(	'name' => __('Main Area', 'bizzthemes'),
								'toggle' => 'true',
								'type' => 'subheadingtop');
									
				if ($bizz_package != 'ZnJlZQ=='){
				
				$design[] = array(  'name' => __('Area background', 'bizzthemes'),
									'desc' => __('Specify <code>#main_area</code> background properties. <span class="important">Uploading image is optional, so you may only choose background color if you like.</span>', 'bizzthemes'),
									'id' => $shortname.'_bg_main_area',
									'std' => array(
										'background-image' => '',
										'background-color' => '',
										'background-repeat' => '', 
										'background-position' => '', 
										'css' => '#main_area'
									),
									'type' => 'bgproperties');
									
				$design[] = array(  'name' => __('Column 1 background', 'bizzthemes'),
									'desc' => __('Specify <code>#main_area .main_one</code> background properties. <span class="important">Uploading image is optional, so you may only choose background color if you like.</span>', 'bizzthemes'),
									'id' => $shortname.'_bg_main_one',
									'std' => array(
										'background-image' => '',
										'background-color' => '',
										'background-repeat' => '', 
										'background-position' => '', 
										'css' => '#main_area .main_one'
									),
									'type' => 'bgproperties');
									
				$design[] = array(  'name' => __('Column 2 background', 'bizzthemes'),
									'desc' => __('Specify <code>#main_area .main_two</code> background properties. <span class="important">Uploading image is optional, so you may only choose background color if you like.</span>', 'bizzthemes'),
									'id' => $shortname.'_bg_main_two',
									'std' => array(
										'background-image' => '',
										'background-color' => '',
										'background-repeat' => '', 
										'background-position' => '', 
										'css' => '#main_area .main_two'
									),
									'type' => 'bgproperties');
									
				$design[] = array(  'name' => __('Area font', 'bizzthemes'),
									'desc' => __('Select the typography you want for your <code>#main_area .widget</code> tags. <span class="important">* Web-safe font.<br/>G Google font.</span>', 'bizzthemes'),
									'id' => $shortname.'_f_main_area',
									'std' => array(
										'font-size' => '', 
										'font-family' => '', 
										'font-style' => '', 
										'font-variant' => '',
										'font-weight' => '', 
										'color' => '',
										'css' => '#main_area .widget'
									),
									'type' => 'typography');
									
				$design[] = array(  'name' => __('Area widget title', 'bizzthemes'),
									'desc' => __('Select the typography you want for your <code>#main_area .widget h3</code> tags. <span class="important">* Web-safe font.<br/>G Google font.</span>', 'bizzthemes'),
									'id' => $shortname.'_f_main_area_title',
									'std' => array(
										'font-size' => '', 
										'font-family' => '', 
										'font-style' => '', 
										'font-variant' => '',
										'font-weight' => '', 
										'color' => '',
										'css' => '#main_area .widget h3'
									),
									'type' => 'typography');

				} else {
				
				$design[] = array(	"name" => sprintf(__('To use these options, please <a href="%s/wp-admin/admin.php?page=bizz-license">Upgrade to Standard or Agency Theme Package</a>.', 'bizzthemes'), site_url()),
									"type" => "help");
				
				}

			$design[] = array(	'type' => 'subheadingbottom');
									
			$design[] = array(	'name' => __('Footer Area', 'bizzthemes'),
								'toggle' => 'true',
								'type' => 'subheadingtop');
									
				if ($bizz_package != 'ZnJlZQ=='){
				
				$design[] = array(  'name' => __('Area background', 'bizzthemes'),
									'desc' => __('Specify <code>#footer_area</code> background properties. <span class="important">Uploading image is optional, so you may only choose background color if you like.</span>', 'bizzthemes'),
									'id' => $shortname.'_bg_footer_area',
									'std' => array(
										'background-image' => '',
										'background-color' => '',
										'background-repeat' => '', 
										'background-position' => '', 
										'css' => '#footer_area'
									),
									'type' => 'bgproperties');
									
				$design[] = array(  'name' => __('Column 1 background', 'bizzthemes'),
									'desc' => __('Specify <code>#footer_area .footer_one</code> background properties. <span class="important">Uploading image is optional, so you may only choose background color if you like.</span>', 'bizzthemes'),
									'id' => $shortname.'_bg_footer_one',
									'std' => array(
										'background-image' => '',
										'background-color' => '',
										'background-repeat' => '', 
										'background-position' => '', 
										'css' => '#footer_area .footer_one'
									),
									'type' => 'bgproperties');
									
				$design[] = array(  'name' => __('Column 2 background', 'bizzthemes'),
									'desc' => __('Specify <code>#footer_area .footer_two</code> background properties. <span class="important">Uploading image is optional, so you may only choose background color if you like.</span>', 'bizzthemes'),
									'id' => $shortname.'_bg_footer_two',
									'std' => array(
										'background-image' => '',
										'background-color' => '',
										'background-repeat' => '', 
										'background-position' => '', 
										'css' => '#footer_area .footer_two'
									),
									'type' => 'bgproperties');
									
				$design[] = array(  'name' => __('Column 3 background', 'bizzthemes'),
									'desc' => __('Specify <code>#footer_area .footer_three</code> background properties. <span class="important">Uploading image is optional, so you may only choose background color if you like.</span>', 'bizzthemes'),
									'id' => $shortname.'_bg_footer_three',
									'std' => array(
										'background-image' => '',
										'background-color' => '',
										'background-repeat' => '', 
										'background-position' => '', 
										'css' => '#footer_area .footer_three'
									),
									'type' => 'bgproperties');
									
				$design[] = array(  'name' => __('Area font', 'bizzthemes'),
									'desc' => __('Select the typography you want for your <code>#footer_area .widget</code> tags. <span class="important">* Web-safe font.<br/>G Google font.</span>', 'bizzthemes'),
									'id' => $shortname.'_f_footer_area',
									'std' => array(
										'font-size' => '', 
										'font-family' => '', 
										'font-style' => '', 
										'font-variant' => '',
										'font-weight' => '', 
										'color' => '',
										'css' => '#footer_area .widget'
									),
									'type' => 'typography');
									
				$design[] = array(  'name' => __('Area widget title', 'bizzthemes'),
									'desc' => __('Select the typography you want for your <code>#footer_area .widget h3</code> tags. <span class="important">* Web-safe font.<br/>G Google font.</span>', 'bizzthemes'),
									'id' => $shortname.'_f_footer_area_title',
									'std' => array(
										'font-size' => '', 
										'font-family' => '', 
										'font-style' => '', 
										'font-variant' => '',
										'font-weight' => '', 
										'color' => '',
										'css' => '#footer_area .widget h3'
									),
									'type' => 'typography');
									
				$design[] = array(  'name' => __('Area widget <code>a</code> link text color', 'bizzthemes'),
									'desc' => __('Pick a custom link color to be applied to <code>#footer_area a</code> text links.', 'bizzthemes'),
									'id' => $shortname.'_c_footer_area_a',
									'std' => array(
										'color' => '', 
										'css' => '#footer_area a'
									),
									'type' => 'color');
									
				} else {
				
				$design[] = array(	"name" => sprintf(__('To use these options, please <a href="%s/wp-admin/admin.php?page=bizz-license">Upgrade to Standard or Agency Theme Package</a>.', 'bizzthemes'), site_url()),
									"type" => "help");
				
				}
															
			$design[] = array(	'type' => 'subheadingbottom');
																	
		$design[] = array(	'type' => 'maintablebreak');
		
		////// Special widgets Styling

		$design[] = array(	'name' => __('Special Widgets', 'bizzthemes'),
							'type' => 'heading');
									
			$design[] = array(	'name' => __('Navigation Menu widget', 'bizzthemes'),
								'toggle' => 'true',
								'type' => 'subheadingtop');
									
				if ($bizz_package != 'ZnJlZQ=='){
				
				$design[] = array(  'name' => __('Widget font', 'bizzthemes'),
									'desc' => __('Select the typography you want for your <code>.widget .nav-menu a</code> tags. <span class="important">* Web-safe font.<br/>G Google font.</span>', 'bizzthemes'),
									'id' => $shortname.'_f_navigation_menu_widget',
									'std' => array(
										'font-size' => '', 
										'font-family' => '', 
										'font-style' => '', 
										'font-variant' => '',
										'font-weight' => '', 
										'color' => '',
										'css' => '.widget .nav-menu a'
									),
									'type' => 'typography');
									
				$design[] = array(  'name' => __('Item <code>a:hover</code> background color', 'bizzthemes'),
									'desc' => __('Pick a custom link color to be applied to <code>.widget .nav-menu li:hover</code> text links.', 'bizzthemes'),
									'id' => $shortname.'_bg_header_area_menu_a_hover',
									'std' => array(
										'background-color' => '', 
										'css' => '.widget .nav-menu li:hover'
									),
									'type' => 'background-color');
									
				$design[] = array(  'name' => __('Active item <code>a</code> background color', 'bizzthemes'),
									'desc' => __('Pick a custom link color to be applied to <code>.widget .nav-menu li.current-menu-item a</code> text links.', 'bizzthemes'),
									'id' => $shortname.'_bg_header_area_menu_active',
									'std' => array(
										'background-color' => '', 
										'css' => '.widget .nav-menu li.current-menu-item a'
									),
									'type' => 'background-color');
									
				$design[] = array(  'name' => __('Dropdown <code>a</code> link text color', 'bizzthemes'),
									'desc' => __('Pick a custom link color to be applied to <code>.widget .nav-menu li ul li a, .widget .nav-menu li ul li.current-menu-item li a</code> text links.', 'bizzthemes'),
									'id' => $shortname.'_c_header_area_menu_dropdown_a',
									'std' => array(
										'color' => '', 
										'css' => '.widget .nav-menu li ul li a, .widget .nav-menu li ul li.current-menu-item li a'
									),
									'type' => 'color');
									
				$design[] = array(  'name' => __('Dropdown Item <code>a:hover</code> background color', 'bizzthemes'),
									'desc' => __('Pick a custom link color to be applied to <code>.widget .nav-menu li ul li:hover</code> text links.', 'bizzthemes'),
									'id' => $shortname.'_bg_header_area_menu_a_hover_dropdown',
									'std' => array(
										'background-color' => '', 
										'css' => '.widget .nav-menu li ul li:hover'
									),
									'type' => 'background-color');
									
				} else {
				
				$design[] = array(	"name" => sprintf(__('To use these options, please <a href="%s/wp-admin/admin.php?page=bizz-license">Upgrade to Standard or Agency Theme Package</a>.', 'bizzthemes'), site_url()),
									"type" => "help");
				
				}
															
			$design[] = array(	'type' => 'subheadingbottom');
																	
		$design[] = array(	'type' => 'maintablebreak');
								
	$design[] = array(	'type' => 'maintablebottom');

	/* GLOBAL THEME OPTIONS */
	/*------------------------------------------------------------------*/
				
	do_action( 'bizz_add_options' );

}
