<?php
/**
 * Customizer settings: site header
 *
 * @package Multi
 */

if ( ! defined( 'ABSPATH' ) ) {
	die;
}

/**
 * Customizer settings for site header
 */
class Multimagazine_Customize_Header {

	/**
	 * Returns multi icons.
	 *
	 * @return array
	 */
	private static function get_multi_icons() {
		return array(
			'\f061' => 'arrow-right',
			'\f060' => 'arrow-left',
			'\f062' => 'arrow-up',
			'\f063' => 'arrow-down',
			'\e002' => 'arrow-med-right',
			'\e004' => 'arrow-med-left',
			'\e001' => 'arrow-med-up',
			'\e003' => 'arrow-med-down',
			'\f178' => 'long-arrow-right',
			'\f177' => 'long-arrow-left',
			'\f176' => 'long-arrow-up',
			'\f175' => 'long-arrow-down',
			'\f0a9' => 'arrow-circle-right',
			'\f0a8' => 'arrow-circle-left',
			'\f0aa' => 'arrow-circle-up',
			'\f0ab' => 'arrow-circle-down',
			'\f054' => 'chevron-right',
			'\f053' => 'chevron-left',
			'\f077' => 'chevron-up',
			'\f078' => 'chevron-down',
			'\f138' => 'chevron-circle-right',
			'\f137' => 'chevron-circle-left',
			'\f139' => 'chevron-circle-up',
			'\f13a' => 'chevron-circle-down',
			'\f068' => 'minus',
			'\f067' => 'plus',
			'\f073' => 'calendar',
			'\f030' => 'camera',
			'\f08d' => 'thumb-tack',
			'\f0f6' => 'file',
			'\f115' => 'folder',
			'\f00e' => 'search-plus',
			'\f10d' => 'quote',
			'\f110' => 'spinner',
			'\f009' => 'th-large',
			'\f07a' => 'cart',
			'\f0c1' => 'link',
			'\f00c' => 'check',
			'\f0eb' => 'idea',
			'\f002' => 'search',
			'\f1e0' => 'share',
			'\f086' => 'comment',
			'\f164' => 'thumbs-up',
			'\f00d' => 'close',
			'\f0c9' => 'nav',
			'\f005' => 'star',
			'\f058' => 'check2',
			'\f05d' => 'check3',
			'\f013' => 'cog',
			'\f06a' => 'notice',
			'\f05a' => 'info',
			'\f071' => 'error',
			'\f02c' => 'tag',
			'\f017' => 'clock',
			'\f003' => 'envelope',
			'\f099' => 'twitter',
			'\f09a' => 'facebook',
			'\f09b' => 'github',
			'\f09e' => 'rss',
			'\f0e1' => 'linkedin',
			'\f167' => 'youtube',
			'\f16d' => 'instagram',
			'\f16e' => 'flickr',
			'\f173' => 'tumblr',
			'\f17d' => 'dribbble',
			'\f17e' => 'skype',
			'\f1a4' => 'stumbleupon',
			'\f1b4' => 'behance',
			'\f202' => 'lastfm',
			'\f231' => 'pinterest',
			'\f262' => 'tripadvisor',
			'\f27d' => 'vimeo',
			'\f2ac' => 'snapchat',
			'\f232' => 'whatsapp',
			'\f'    => 'discord',
			'\f'    => 'threads',
			'\f'    => 'producthunt',
		);
	}

	/**
	 * Returns multi icon names.
	 *
	 * @return array
	 */
	private static function get_multi_icon_names() {
		return array(
			'arrow-right'          => __( 'arrow-right', 'multimagazine' ),
			'arrow-left'           => __( 'arrow-left', 'multimagazine' ),
			'arrow-up'             => __( 'arrow-up', 'multimagazine' ),
			'arrow-down'           => __( 'arrow-down', 'multimagazine' ),
			'arrow-med-right'      => __( 'arrow-med-right', 'multimagazine' ),
			'arrow-med-left'       => __( 'arrow-med-left', 'multimagazine' ),
			'arrow-med-up'         => __( 'arrow-med-up', 'multimagazine' ),
			'arrow-med-down'       => __( 'arrow-med-down', 'multimagazine' ),
			'long-arrow-right'     => __( 'long-arrow-right', 'multimagazine' ),
			'long-arrow-left'      => __( 'long-arrow-left', 'multimagazine' ),
			'long-arrow-up'        => __( 'long-arrow-up', 'multimagazine' ),
			'long-arrow-down'      => __( 'long-arrow-down', 'multimagazine' ),
			'arrow-circle-right'   => __( 'arrow-circle-right', 'multimagazine' ),
			'arrow-circle-left'    => __( 'arrow-circle-left', 'multimagazine' ),
			'arrow-circle-up'      => __( 'arrow-circle-up', 'multimagazine' ),
			'arrow-circle-down'    => __( 'arrow-circle-down', 'multimagazine' ),
			'chevron-right'        => __( 'chevron-right', 'multimagazine' ),
			'chevron-left'         => __( 'chevron-left', 'multimagazine' ),
			'chevron-up'           => __( 'chevron-up', 'multimagazine' ),
			'chevron-down'         => __( 'chevron-down', 'multimagazine' ),
			'chevron-circle-right' => __( 'chevron-circle-right', 'multimagazine' ),
			'chevron-circle-left'  => __( 'chevron-circle-left', 'multimagazine' ),
			'chevron-circle-up'    => __( 'chevron-circle-up', 'multimagazine' ),
			'chevron-circle-down'  => __( 'chevron-circle-down', 'multimagazine' ),
			'minus'                => __( 'minus', 'multimagazine' ),
			'plus'                 => __( 'plus', 'multimagazine' ),
			'calendar'             => __( 'calendar', 'multimagazine' ),
			'camera'               => __( 'camera', 'multimagazine' ),
			'thumb-tack'           => __( 'thumb-tack', 'multimagazine' ),
			'file'                 => __( 'file', 'multimagazine' ),
			'folder'               => __( 'folder', 'multimagazine' ),
			'search-plus'          => __( 'search-plus', 'multimagazine' ),
			'quote'                => __( 'quote', 'multimagazine' ),
			'spinner'              => __( 'spinner', 'multimagazine' ),
			'th-large'             => __( 'th-large', 'multimagazine' ),
			'cart'                 => __( 'cart', 'multimagazine' ),
			'link'                 => __( 'link', 'multimagazine' ),
			'check'                => __( 'check', 'multimagazine' ),
			'idea'                 => __( 'idea', 'multimagazine' ),
			'search'               => __( 'search', 'multimagazine' ),
			'share'                => __( 'share', 'multimagazine' ),
			'comment'              => __( 'comment', 'multimagazine' ),
			'thumbs-up'            => __( 'thumbs-up', 'multimagazine' ),
			'close'                => __( 'close', 'multimagazine' ),
			'nav'                  => __( 'nav', 'multimagazine' ),
			'star'                 => __( 'star', 'multimagazine' ),
			'check2'               => __( 'check2', 'multimagazine' ),
			'check3'               => __( 'check3', 'multimagazine' ),
			'cog'                  => __( 'cog', 'multimagazine' ),
			'notice'               => __( 'notice', 'multimagazine' ),
			'info'                 => __( 'info', 'multimagazine' ),
			'error'                => __( 'error', 'multimagazine' ),
			'tag'                  => __( 'tag', 'multimagazine' ),
			'clock'                => __( 'clock', 'multimagazine' ),
			'envelope'             => __( 'envelope', 'multimagazine' ),
			'twitter'              => __( 'twitter', 'multimagazine' ),
			'facebook'             => __( 'facebook', 'multimagazine' ),
			'github'               => __( 'github', 'multimagazine' ),
			'rss'                  => __( 'rss', 'multimagazine' ),
			'linkedin'             => __( 'linkedin', 'multimagazine' ),
			'youtube'              => __( 'youtube', 'multimagazine' ),
			'instagram'            => __( 'instagram', 'multimagazine' ),
			'flickr'               => __( 'flickr', 'multimagazine' ),
			'tumblr'               => __( 'tumblr', 'multimagazine' ),
			'dribbble'             => __( 'dribbble', 'multimagazine' ),
			'skype'                => __( 'skype', 'multimagazine' ),
			'stumbleupon'          => __( 'stumbleupon', 'multimagazine' ),
			'behance'              => __( 'behance', 'multimagazine' ),
			'lastfm'               => __( 'lastfm', 'multimagazine' ),
			'pinterest'            => __( 'pinterest', 'multimagazine' ),
			'tripadvisor'          => __( 'tripadvisor', 'multimagazine' ),
			'vimeo'                => __( 'vimeo', 'multimagazine' ),
			'snapchat'             => __( 'snapchat', 'multimagazine' ),
			'whatsapp'             => __( 'whatsapp', 'multimagazine' ),
			'discord'              => __( 'discord', 'multimagazine' ),
			'threads'              => __( 'threads', 'multimagazine' ),
			'producthunt'          => __( 'producthunt', 'multimagazine' ),
		);
	}

	/**
	 * Returns header position choices.
	 *
	 * @return array
	 */
	private static function header_position_choices() {
		return array(
			'off'           => __( "Don't show", 'multimagazine' ),
			'left top'      => __( 'Left top', 'multimagazine' ),
			'left bottom'   => __( 'Left bottom', 'multimagazine' ),
			'center top'    => __( 'Center top', 'multimagazine' ),
			'center bottom' => __( 'Center bottom', 'multimagazine' ),
			'right top'     => __( 'Right top', 'multimagazine' ),
			'right bottom'  => __( 'Right bottom', 'multimagazine' ),
		);
	}

	/**
	 * Registers the section and fires the extension hook.
	 *
	 * @param WP_Customize_Manager $wp_customize Customizer manager instance.
	 */
	public static function register_section( $wp_customize ) {
		$wp_customize->add_panel(
			'header',
			array(
				'title'    => __( 'Header', 'multimagazine' ),
				'priority' => 36,
			)
		);

		$wp_customize->add_section(
			'header_layout',
			array(
				'title' => __( 'Layout', 'multimagazine' ),
				'panel' => 'header',
			)
		);
		do_action( 'multimagazine_customize_header_layout', $wp_customize );

		$wp_customize->add_section(
			'header_appearance',
			array(
				'title' => __( 'Appearance', 'multimagazine' ),
				'panel' => 'header',
			)
		);
		do_action( 'multimagazine_customize_header_appearance', $wp_customize );

		$wp_customize->add_section(
			'header_sticky',
			array(
				'title' => __( 'Sticky header settings', 'multimagazine' ),
				'panel' => 'header',
			)
		);
		do_action( 'multimagazine_customize_header_sticky', $wp_customize );

		$wp_customize->add_section(
			'header_menu',
			array(
				'title' => __( 'Menu settings', 'multimagazine' ),
				'panel' => 'header',
			)
		);
		do_action( 'multimagazine_customize_header_menu', $wp_customize );

		$wp_customize->add_section(
			'header_menu_toggle',
			array(
				'title' => __( 'Hamburger icon', 'multimagazine' ),
				'panel' => 'header',
			)
		);
		do_action( 'multimagazine_customize_header_menu_toggle', $wp_customize );

		$wp_customize->add_section(
			'header_mobile',
			array(
				'title' => __( 'Mobile settings', 'multimagazine' ),
				'panel' => 'header',
			)
		);
		do_action( 'multimagazine_customize_header_mobile', $wp_customize );

		$wp_customize->add_section(
			'header_button',
			array(
				'title' => __( 'Button', 'multimagazine' ),
				'panel' => 'header',
			)
		);
		do_action( 'multimagazine_customize_header_button', $wp_customize );
	}

	/* Layout section */

	/**
	 * Registers the fullwidth header setting.
	 */
	public static function register_fullwidth_header() {
		multimagazine_register_checkbox_setting( 'multi_fullwidth_header', MULTIMAGAZINE_FULLWIDTH_HEADER, __( 'Enable full width header', 'multimagazine' ), 'header_layout' );
	}

	/**
	 * Registers the header mobile breakpoint setting.
	 */
	public static function register_header_mobile_breakpoint() {
		multimagazine_register_range_setting( 'header_layout', 'multi_header_mobile_breakpoint', __( 'Header mobile breakpoint', 'multimagazine' ), MULTIMAGAZINE_HEADER_MOBILE_BREAKPOINT, 800, 1800, __( 'Number of pixels', 'multimagazine' ) );
	}

	/**
	 * Registers the show menus setting.
	 */
	public static function register_show_menus() {
		global $multimagazine_customize;
		$multimagazine_customize->select_setting(
			'multi_show_menus',
			'header_layout',
			array(
				'show-menus'    => __( 'Standard (default)', 'multimagazine' ),
				'hidden-menus'  => __( 'Hidden with toggle button', 'multimagazine' ),
				'overlay-menus' => __( 'Overlay', 'multimagazine' ),
				'diagonal-menu' => __( 'Menu with diagonal background', 'multimagazine' ),
			),
			__( 'Menu style on desktop', 'multimagazine' )
		);
	}

	/**
	 * Registers the header height top setting.
	 */
	public static function register_header_height_top() {
		multimagazine_register_range_setting( 'header_layout', 'multi_header_height_top', __( 'Header height (top part - main)', 'multimagazine' ), MULTIMAGAZINE_HEADER_HEIGHT_TOP, 20, 150, __( 'Number of pixels.', 'multimagazine' ), 1, 'postMessage' );
	}

	/**
	 * Registers the header height bottom setting.
	 */
	public static function register_header_height_bottom() {
		multimagazine_register_range_setting( 'header_layout', 'multi_header_height_bottom', __( 'Header bottom part height (additional)', 'multimagazine' ), MULTIMAGAZINE_HEADER_HEIGHT_BOTTOM, 20, 150, __( 'Number of pixels.', 'multimagazine' ), 1, 'postMessage' );
	}

	/**
	 * Registers the search in menu setting.
	 */
	public static function register_search_in_menu() {
		global $multimagazine_customize;
		$multimagazine_customize->select_setting(
			'multi_search_in_menu',
			'header_layout',
			self::header_position_choices(),
			__( 'Search in menu', 'multimagazine' )
		);
	}

	/**
	 * Registers the cart in menu setting.
	 */
	public static function register_cart_in_menu() {
		if ( ! class_exists( 'Woocommerce' ) ) {
			return;
		}
		global $multimagazine_customize;
		$multimagazine_customize->select_setting(
			'multi_cart_in_menu',
			'header_layout',
			self::header_position_choices(),
			__( 'Cart link in menu', 'multimagazine' )
		);
	}

	/**
	 * Registers the header logo position setting.
	 */
	public static function register_header_logo_position() {
		global $multimagazine_customize;
		$multimagazine_customize->select_setting(
			'multi_header_logo_position',
			'header_layout',
			array(
				'left top'      => __( 'Left top (default)', 'multimagazine' ),
				'left bottom'   => __( 'Left bottom', 'multimagazine' ),
				'center top'    => __( 'Center top', 'multimagazine' ),
				'center bottom' => __( 'Center bottom', 'multimagazine' ),
				'right top'     => __( 'Right top', 'multimagazine' ),
				'right bottom'  => __( 'Right bottom', 'multimagazine' ),
			),
			__( 'Logo position in header', 'multimagazine' )
		);
	}

	/**
	 * Registers the header elements centered setting.
	 */
	public static function register_header_elements_centered() {
		multimagazine_register_checkbox_setting( 'multi_header_elements_centered', MULTIMAGAZINE_HEADER_ELEMENTS_CENTERED, __( 'Move header elements towards centered logo', 'multimagazine' ), 'header_layout' );
	}

	/**
	 * Registers the mainmenu position setting.
	 */
	public static function register_mainmenu_position() {
		global $multimagazine_customize;
		$multimagazine_customize->select_setting(
			'multi_mainmenu_position',
			'header_layout',
			self::header_position_choices(),
			__( 'Main menu position', 'multimagazine' ),
			__( 'Applies only to standard (default) way of showing menus', 'multimagazine' )
		);
	}

	/**
	 * Registers the additional menu position setting.
	 */
	public static function register_additional_menu_position() {
		global $multimagazine_customize;
		$multimagazine_customize->select_setting(
			'multi_additional_menu_position',
			'header_layout',
			self::header_position_choices(),
			__( 'Header additional menu position', 'multimagazine' ),
			__( 'Applies only to standard (default) way of showing menus', 'multimagazine' )
		);
	}

	/**
	 * Registers the social in header setting.
	 */
	public static function register_social_in_header() {
		global $multimagazine_customize;
		$multimagazine_customize->select_setting(
			'multi_social_in_header',
			'header_layout',
			self::header_position_choices(),
			__( 'Header social links position', 'multimagazine' )
		);
	}

	/**
	 * Registers the ad in header setting.
	 */
	public static function register_ad_in_header() {
		global $multimagazine_customize;
		$multimagazine_customize->select_setting(
			'multi_ad_in_header',
			'header_layout',
			array(
				'off'           => __( "Don't show", 'multimagazine' ),
				'left top'      => __( 'Left top', 'multimagazine' ),
				'left bottom'   => __( 'Left bottom', 'multimagazine' ),
				'center top'    => __( 'Center top', 'multimagazine' ),
				'center bottom' => __( 'Center bottom', 'multimagazine' ),
				'right top'     => __( 'Right top', 'multimagazine' ),
				'right bottom'  => __( 'Right bottom', 'multimagazine' ),
				'topbar'        => __( 'Top bar', 'multimagazine' ),
			),
			__( 'Ad position in header', 'multimagazine' )
		);
	}

	/* Appearance section */

	/**
	 * Registers the header shadow setting.
	 */
	public static function register_header_shadow() {
		multimagazine_register_checkbox_setting( 'multi_header_shadow', MULTIMAGAZINE_HEADER_SHADOW, __( 'Show header shadow', 'multimagazine' ), 'header_appearance' );
	}

	/**
	 * Registers the header border top width setting.
	 */
	public static function register_header_border_top_width() {
		multimagazine_register_range_setting( 'header_appearance', 'multi_header_border_top_width', __( 'Header border top width', 'multimagazine' ), MULTIMAGAZINE_HEADER_BORDER_TOP_WIDTH, 0, 10, __( 'Number of pixels.', 'multimagazine' ), 1, 'postMessage' );
	}

	/**
	 * Registers the header border bottom width setting.
	 */
	public static function register_header_border_bottom_width() {
		multimagazine_register_range_setting( 'header_appearance', 'multi_header_border_bottom_width', __( 'Header border bottom width', 'multimagazine' ), MULTIMAGAZINE_HEADER_BORDER_BOTTOM_WIDTH, 0, 10, __( 'Number of pixels.', 'multimagazine' ), 1, 'postMessage' );
	}

	/**
	 * Registers the header bg color setting.
	 */
	public static function register_header_bg_color() {
		global $multimagazine_customize;
		$multimagazine_customize->color_setting( 'multi_header_bg_color', 'header_appearance', __( 'Header background color', 'multimagazine' ), '', 'postMessage' );
	}

	/**
	 * Registers the transparent header bg color setting.
	 */
	public static function register_transparent_header_bg_color() {
		global $multimagazine_customize;
		$multimagazine_customize->color_alpha_setting( 'multi_transparent_header_bg_color', 'header_appearance', __( 'Transparent header background color', 'multimagazine' ), '', 'postMessage' );
	}

	/**
	 * Registers the header border color top setting.
	 */
	public static function register_header_border_color_top() {
		global $multimagazine_customize;
		$multimagazine_customize->color_setting( 'multi_header_border_color_top', 'header_appearance', __( 'Header top border color', 'multimagazine' ), '', 'postMessage' );
	}

	/**
	 * Registers the header border color bottom setting.
	 */
	public static function register_header_border_color_bottom() {
		global $multimagazine_customize;
		$multimagazine_customize->color_setting( 'multi_header_border_color_bottom', 'header_appearance', __( 'Header bottom border color', 'multimagazine' ), '', 'postMessage' );
	}

	/**
	 * Registers the header separator width setting.
	 */
	public static function register_header_separator_width() {
		multimagazine_register_range_setting( 'header_appearance', 'multi_header_separator_width', __( 'Header separator width', 'multimagazine' ), MULTIMAGAZINE_HEADER_SEPARATOR_WIDTH, 0, 10, __( 'Number of pixels.', 'multimagazine' ), 1, 'postMessage' );
	}

	/**
	 * Registers the header separator color setting.
	 */
	public static function register_header_separator_color() {
		global $multimagazine_customize;
		$multimagazine_customize->color_setting( 'multi_header_separator_color', 'header_appearance', __( 'Header separator color', 'multimagazine' ), '', 'postMessage' );
	}

	/* Sticky header section */

	/**
	 * Registers the sticky header setting.
	 */
	public static function register_sticky_header() {
		global $multimagazine_customize;
		$multimagazine_customize->select_setting(
			'multi_sticky_header',
			'header_sticky',
			array(
				'sticky-static'              => __( 'Static', 'multimagazine' ),
				'sticky-animate-scroll-down' => __( 'Animate when scrolling down', 'multimagazine' ),
				'sticky-animate-scroll-up'   => __( 'Animate when scrolling up', 'multimagazine' ),
				'off'                        => __( 'Disabled', 'multimagazine' ),
			),
			__( 'Sticky header', 'multimagazine' )
		);
	}

	/**
	 * Registers the sticky header rows setting.
	 */
	public static function register_sticky_header_rows() {
		global $multimagazine_customize;
		$multimagazine_customize->select_setting(
			'multi_sticky_header_rows',
			'header_sticky',
			array(
				'both'   => __( 'Both (default)', 'multimagazine' ),
				'top'    => __( 'Top header row', 'multimagazine' ),
				'bottom' => __( 'Bottom header row', 'multimagazine' ),
			),
			__( 'Rows to show in sticky header', 'multimagazine' )
		);
	}

	/**
	 * Registers the sticky header background color setting.
	 */
	public static function register_sticky_header_background_color() {
		global $multimagazine_customize;
		$multimagazine_customize->color_alpha_setting( 'multi_sticky_header_background_color', 'header_sticky', __( 'Sticky header background color', 'multimagazine' ), '', 'postMessage' );
	}

	/**
	 * Registers the sticky header height top setting.
	 */
	public static function register_sticky_header_height_top() {
		multimagazine_register_range_setting( 'header_sticky', 'multi_sticky_header_height_top', __( 'Sticky header height (top part - main)', 'multimagazine' ), MULTIMAGAZINE_STICKY_HEADER_HEIGHT_TOP, 20, 150, __( 'Number of pixels.', 'multimagazine' ), 1, 'postMessage' );
	}

	/**
	 * Registers the sticky header height bottom setting.
	 */
	public static function register_sticky_header_height_bottom() {
		multimagazine_register_range_setting( 'header_sticky', 'multi_sticky_header_height_bottom', __( 'Sticky header bottom part height (additional)', 'multimagazine' ), MULTIMAGAZINE_STICKY_HEADER_HEIGHT_BOTTOM, 20, 150, __( 'Number of pixels.', 'multimagazine' ), 1, 'postMessage' );
	}

	/**
	 * Registers the sticky header logo height setting.
	 */
	public static function register_sticky_header_logo_height() {
		multimagazine_register_range_setting( 'header_sticky', 'multi_sticky_header_logo_height', __( 'Logo in sticky header max height', 'multimagazine' ), MULTIMAGAZINE_STICKY_HEADER_LOGO_HEIGHT, 0, 150, __( 'Number of pixels', 'multimagazine' ), 1, 'postMessage' );
	}

	/**
	 * Registers the sticky header shadow setting.
	 */
	public static function register_sticky_header_shadow() {
		multimagazine_register_checkbox_setting( 'multi_sticky_header_shadow', MULTIMAGAZINE_STICKY_HEADER_SHADOW, __( 'Show sticky header shadow', 'multimagazine' ), 'header_sticky' );
	}

	/**
	 * Registers the sticky header menu link color setting.
	 */
	public static function register_sticky_header_menu_link_color() {
		global $multimagazine_customize;
		$multimagazine_customize->color_setting( 'multi_sticky_header_menu_link_color', 'header_sticky', __( 'Sticky header menu link color', 'multimagazine' ), '', 'postMessage' );
	}

	/**
	 * Registers the sticky header menu link hover color setting.
	 */
	public static function register_sticky_header_menu_link_hover_color() {
		global $multimagazine_customize;
		$multimagazine_customize->color_setting( 'multi_sticky_header_menu_link_hover_color', 'header_sticky', __( 'Sticky header menu link hover color', 'multimagazine' ), '', 'postMessage' );
	}

	/**
	 * Registers the sticky header menu link border color setting.
	 */
	public static function register_sticky_header_menu_link_border_color() {
		global $multimagazine_customize;
		$multimagazine_customize->color_setting( 'multi_sticky_header_menu_link_border_color', 'header_sticky', __( 'Sticky header menu link border color', 'multimagazine' ), '', 'postMessage' );
	}

	/**
	 * Registers the sticky header menu link bg color setting.
	 */
	public static function register_sticky_header_menu_link_bg_color() {
		global $multimagazine_customize;
		$multimagazine_customize->color_setting( 'multi_sticky_header_menu_link_bg_color', 'header_sticky', __( 'Sticky header menu link background color', 'multimagazine' ), '', 'postMessage' );
	}

	/**
	 * Registers the sticky header menu link hover bg color setting.
	 */
	public static function register_sticky_header_menu_link_hover_bg_color() {
		global $multimagazine_customize;
		$multimagazine_customize->color_setting( 'multi_sticky_header_menu_link_hover_bg_color', 'header_sticky', __( 'Sticky header menu link background hover color', 'multimagazine' ), '', 'postMessage' );
	}

	/**
	 * Registers the sticky header menu pull down icon color setting.
	 */
	public static function register_sticky_header_menu_pull_down_icon_color() {
		global $multimagazine_customize;
		$multimagazine_customize->color_setting( 'multi_sticky_header_menu_pull_down_icon_color', 'header_sticky', __( 'Sticky header menu pull down icon color', 'multimagazine' ), '', 'postMessage' );
	}

	/**
	 * Registers the sticky header menu pull down icon hover color setting.
	 */
	public static function register_sticky_header_menu_pull_down_icon_hover_color() {
		global $multimagazine_customize;
		$multimagazine_customize->color_setting( 'multi_sticky_header_menu_pull_down_icon_hover_color', 'header_sticky', __( 'Sticky header menu pull down icon hover color', 'multimagazine' ), '', 'postMessage' );
	}

	/**
	 * Registers the sticky header logo setting.
	 */
	public static function register_sticky_header_logo() {
		global $multimagazine_customize;
		$multimagazine_customize->cropped_image_setting( 'multi_sticky_header_logo', 'header_sticky', __( 'Logo in sticky header', 'multimagazine' ) );
	}

	/**
	 * Registers the sticky logo width setting.
	 */
	public static function register_sticky_logo_width() {
		global $multimagazine_customize;
		$multimagazine_customize->number_setting( 'multi_sticky_logo_width', 'header_sticky', __( 'Sticky header logo width: ', 'multimagazine' ) );
	}

	/**
	 * Registers the sticky logo height setting.
	 */
	public static function register_sticky_logo_height() {
		global $multimagazine_customize;
		$multimagazine_customize->number_setting( 'multi_sticky_logo_height', 'header_sticky', __( 'Sticky header logo height: ', 'multimagazine' ) );
	}

	/* Header menu section */

	/**
	 * Registers the header animation setting.
	 */
	public static function register_header_animation() {
		global $multimagazine_customize;
		$multimagazine_customize->select_setting(
			'multi_header_animation',
			'header_menu',
			array(
				'animation-grow-mb'     => __( 'Grow from middle and bottom (default)', 'multimagazine' ),
				'animation-grow-mt'     => __( 'Grow from middle and top', 'multimagazine' ),
				'animation-grow-m'      => __( 'Grow from middle', 'multimagazine' ),
				'animation-fade'        => __( 'Fade', 'multimagazine' ),
				'animation-grow-top'    => __( 'Grow from top', 'multimagazine' ),
				'animation-grow-bottom' => __( 'Grow from bottom', 'multimagazine' ),
				'animation-grow-l'      => __( 'Grow from left', 'multimagazine' ),
				'animation-grow-l2'     => __( 'Grow from left 2', 'multimagazine' ),
				'animation-grow-r'      => __( 'Grow from right', 'multimagazine' ),
				'animation-grow-r2'     => __( 'Grow from right 2', 'multimagazine' ),
				'animation-grow-lr'     => __( 'Grow from left and right', 'multimagazine' ),
				'animation-drop-in'     => __( 'Drop in', 'multimagazine' ),
				'animation-drop-out'    => __( 'Drop out', 'multimagazine' ),
			),
			__( 'Mouse hover animation', 'multimagazine' ),
			__( 'Applies to headers with border', 'multimagazine' ),
			'postMessage'
		);
	}

	/**
	 * Registers the header menu text animation setting.
	 */
	public static function register_header_menu_text_animation() {
		multimagazine_register_checkbox_setting( 'multi_header_menu_text_animation', MULTIMAGAZINE_HEADER_MENU_TEXT_ANIMATION, __( 'Animate also link text color', 'multimagazine' ), 'header_menu' );
	}

	/**
	 * Registers the header follow mouse mode setting.
	 */
	public static function register_header_follow_mouse_mode() {
		global $multimagazine_customize;
		$multimagazine_customize->select_setting(
			'multi_header_follow_mouse_mode',
			'header_menu',
			array(
				'off'           => __( 'Off (default)', 'multimagazine' ),
				'move'          => __( 'Move', 'multimagazine' ),
				'move-and-stay' => __( 'Move and stay on current link', 'multimagazine' ),
				'stretch'       => __( 'Stretch', 'multimagazine' ),
			),
			__( 'Follow mouse cursor effect', 'multimagazine' )
		);
	}

	/**
	 * Registers the header menu link animation time setting.
	 */
	public static function register_header_menu_link_animation_time() {
		global $multimagazine_customize;
		$multimagazine_customize->number_setting( 'multi_header_menu_link_animation_time', 'header_menu', __( 'Menu link animation time (milliseconds)', 'multimagazine' ) );
	}

	/**
	 * Registers the header line thickness setting.
	 */
	public static function register_header_line_thickness() {
		multimagazine_register_range_setting( 'header_menu', 'multi_header_line_thickness', __( 'Link line thickness', 'multimagazine' ), MULTIMAGAZINE_HEADER_LINE_THICKNESS, 0, 10, __( 'Number of pixels.', 'multimagazine' ), 1, 'postMessage' );
	}

	/**
	 * Registers the header line length setting.
	 */
	public static function register_header_line_length() {
		multimagazine_register_range_setting( 'header_menu', 'multi_header_line_length', __( 'Link line length', 'multimagazine' ), MULTIMAGAZINE_HEADER_LINE_LENGTH, 0, 150, __( 'Number of pixels. Set to 0 for default length.', 'multimagazine' ), 1, 'postMessage' );
	}

	/**
	 * Registers the header line vpos setting.
	 */
	public static function register_header_line_vpos() {
		global $multimagazine_customize;
		$multimagazine_customize->select_setting(
			'multi_header_line_vpos',
			'header_menu',
			array(
				'top'    => __( 'Top', 'multimagazine' ),
				'middle' => __( 'Middle', 'multimagazine' ),
				'bottom' => __( 'Bottom (default)', 'multimagazine' ),
			),
			__( 'Link line vertical position', 'multimagazine' ),
			'',
			'postMessage'
		);
	}

	/**
	 * Registers the header line v offset setting.
	 */
	public static function register_header_line_v_offset() {
		multimagazine_register_range_setting( 'header_menu', 'multi_header_line_v_offset', __( 'Link line vertical offset', 'multimagazine' ), MULTIMAGAZINE_HEADER_LINE_V_OFFSET, -150, 150, __( 'Number of pixels. Enter negative value to offset link line up, positive to offset it down.', 'multimagazine' ), 1, 'postMessage' );
	}

	/**
	 * Registers the header line hpos setting.
	 */
	public static function register_header_line_hpos() {
		global $multimagazine_customize;
		$multimagazine_customize->select_setting(
			'multi_header_line_hpos',
			'header_menu',
			array(
				'left'   => __( 'Left', 'multimagazine' ),
				'center' => __( 'Center (default)', 'multimagazine' ),
				'right'  => __( 'Right', 'multimagazine' ),
			),
			__( 'Link line horizontal position', 'multimagazine' ),
			'',
			'postMessage'
		);
	}

	/**
	 * Registers the header menu link color setting.
	 */
	public static function register_header_menu_link_color() {
		global $multimagazine_customize;
		$multimagazine_customize->color_setting( 'multi_header_menu_link_color', 'header_menu', __( 'Header menu link color', 'multimagazine' ), '', 'postMessage' );
	}

	/**
	 * Registers the header menu link hover color setting.
	 */
	public static function register_header_menu_link_hover_color() {
		global $multimagazine_customize;
		$multimagazine_customize->color_setting( 'multi_header_menu_link_hover_color', 'header_menu', __( 'Header menu link hover color', 'multimagazine' ), '', 'postMessage' );
	}

	/**
	 * Registers the header menu link border color setting.
	 */
	public static function register_header_menu_link_border_color() {
		global $multimagazine_customize;
		$multimagazine_customize->color_setting( 'multi_header_menu_link_border_color', 'header_menu', __( 'Header menu link border color', 'multimagazine' ), '', 'postMessage' );
	}

	/**
	 * Registers the header menu link bg color setting.
	 */
	public static function register_header_menu_link_bg_color() {
		global $multimagazine_customize;
		$multimagazine_customize->color_setting( 'multi_header_menu_link_bg_color', 'header_menu', __( 'Header menu link background color', 'multimagazine' ), '', 'postMessage' );
	}

	/**
	 * Registers the header menu link hover bg color setting.
	 */
	public static function register_header_menu_link_hover_bg_color() {
		global $multimagazine_customize;
		$multimagazine_customize->color_setting( 'multi_header_menu_link_hover_bg_color', 'header_menu', __( 'Header menu link background hover color', 'multimagazine' ), '', 'postMessage' );
	}

	/**
	 * Registers the header menu pulldown closed setting.
	 */
	public static function register_header_menu_pulldown_closed() {
		global $multimagazine_customize;
		$multimagazine_customize->select_setting(
			'multi_header_menu_pulldown_closed',
			'header_menu',
			self::get_multi_icons(),
			__( 'Pull down icon in menus - default', 'multimagazine' )
		);
	}

	/**
	 * Registers the header menu pulldown expanded setting.
	 */
	public static function register_header_menu_pulldown_expanded() {
		global $multimagazine_customize;
		$multimagazine_customize->select_setting(
			'multi_header_menu_pulldown_expanded',
			'header_menu',
			array_merge(
				array(
					''       => __( 'Same as above', 'multimagazine' ),
					'rotate' => __( 'Rotate default icon (left 180 )', 'multimagazine' ),
				),
				self::get_multi_icons()
			),
			__( 'Pull down icon in menus - expanded', 'multimagazine' )
		);
	}

	/**
	 * Registers the header menu pull down icon color setting.
	 */
	public static function register_header_menu_pull_down_icon_color() {
		global $multimagazine_customize;
		$multimagazine_customize->color_setting( 'multi_header_menu_pull_down_icon_color', 'header_menu', __( 'Header menu pull down icon color', 'multimagazine' ), '', 'postMessage' );
	}

	/**
	 * Registers the header menu pull down icon hover color setting.
	 */
	public static function register_header_menu_pull_down_icon_hover_color() {
		global $multimagazine_customize;
		$multimagazine_customize->color_setting( 'multi_header_menu_pull_down_icon_hover_color', 'header_menu', __( 'Header menu pull down icon hover color', 'multimagazine' ), '', 'postMessage' );
	}

	/**
	 * Registers the mobile menu pull down icon color setting.
	 */
	public static function register_mobile_menu_pull_down_icon_color() {
		global $multimagazine_customize;
		$multimagazine_customize->color_setting( 'multi_mobile_menu_pull_down_icon_color', 'header_menu', __( 'Mobile menu pull down icon color', 'multimagazine' ), '', 'postMessage' );
	}

	/**
	 * Registers the header menu item spacing setting.
	 */
	public static function register_header_menu_item_spacing() {
		multimagazine_register_range_setting( 'header_menu', 'multi_header_menu_item_spacing', __( 'Menu item spacing', 'multimagazine' ), MULTIMAGAZINE_HEADER_MENU_ITEM_SPACING, 0, 80, __( 'Number of pixels.', 'multimagazine' ), 1, 'postMessage' );
	}

	/**
	 * Registers the header menu item padding setting.
	 */
	public static function register_header_menu_item_padding() {
		multimagazine_register_range_setting( 'header_menu', 'multi_header_menu_item_padding', __( 'Menu item padding', 'multimagazine' ), MULTIMAGAZINE_HEADER_MENU_ITEM_PADDING, 0, 80, __( 'Number of pixels.', 'multimagazine' ), 1, 'postMessage' );
	}

	/**
	 * Registers the header menu separators setting.
	 */
	public static function register_header_menu_separators() {
		global $multimagazine_customize;
		$multimagazine_customize->select_setting(
			'multi_header_menu_separators',
			'header_menu',
			array(
				''       => __( "Don't show", 'multimagazine' ),
				'top'    => __( 'In top header row', 'multimagazine' ),
				'bottom' => __( 'In bottom header row', 'multimagazine' ),
				'both'   => __( 'In both header rows', 'multimagazine' ),
			),
			__( 'Show header menu separators', 'multimagazine' ),
			'',
			'postMessage'
		);
	}

	/**
	 * Registers the header menu separator width setting.
	 */
	public static function register_header_menu_separator_width() {
		multimagazine_register_range_setting( 'header_menu', 'multi_header_menu_separator_width', __( 'Header menu item separator width', 'multimagazine' ), MULTIMAGAZINE_HEADER_MENU_SEPARATOR_WIDTH, 0, 10, __( 'Number of pixels.', 'multimagazine' ), 1, 'postMessage' );
	}

	/**
	 * Registers the header menu separator height setting.
	 */
	public static function register_header_menu_separator_height() {
		multimagazine_register_range_setting( 'header_menu', 'multi_header_menu_separator_height', __( 'Header menu item separator height', 'multimagazine' ), MULTIMAGAZINE_HEADER_MENU_SEPARATOR_HEIGHT, 0, 100, __( 'Number of pixels.', 'multimagazine' ), 1, 'postMessage' );
	}

	/**
	 * Registers the header menu separator color setting.
	 */
	public static function register_header_menu_separator_color() {
		global $multimagazine_customize;
		$multimagazine_customize->color_setting( 'multi_header_menu_separator_color', 'header_menu', __( 'Header menu item separator color', 'multimagazine' ), '', 'postMessage' );
	}

	/**
	 * Registers the header submenu animation setting.
	 */
	public static function register_header_submenu_animation() {
		global $multimagazine_customize;
		$multimagazine_customize->select_setting(
			'multi_header_submenu_animation',
			'header_menu',
			array(
				'submenu-animation-fade'      => __( 'Fade (default)', 'multimagazine' ),
				'submenu-animation-fade-move' => __( 'Fade and move up/down', 'multimagazine' ),
				''                            => __( 'None', 'multimagazine' ),
			),
			__( 'Drop-down menu animation', 'multimagazine' )
		);
	}

	/**
	 * Registers the submenu link color setting.
	 */
	public static function register_submenu_link_color() {
		global $multimagazine_customize;
		$multimagazine_customize->color_setting( 'multi_submenu_link_color', 'header_menu', __( 'Mobile menu/Drop-down/Overlayer link color', 'multimagazine' ), '', 'postMessage' );
	}

	/**
	 * Registers the submenu link hover color setting.
	 */
	public static function register_submenu_link_hover_color() {
		global $multimagazine_customize;
		$multimagazine_customize->color_setting( 'multi_submenu_link_hover_color', 'header_menu', __( 'Mobile menu/Drop-down/Overlayer link hover color', 'multimagazine' ), '', 'postMessage' );
	}

	/**
	 * Registers the submenu link background color setting.
	 */
	public static function register_submenu_link_background_color() {
		global $multimagazine_customize;
		$multimagazine_customize->color_setting( 'multi_submenu_link_background_color', 'header_menu', __( 'Mobile menu/Drop-down/Overlayer link background color', 'multimagazine' ), '', 'postMessage' );
	}

	/**
	 * Registers the submenu link background hover color setting.
	 */
	public static function register_submenu_link_background_hover_color() {
		global $multimagazine_customize;
		$multimagazine_customize->color_setting( 'multi_submenu_link_background_hover_color', 'header_menu', __( 'Mobile menu/Drop-down/Overlayer link background hover color', 'multimagazine' ), '', 'postMessage' );
	}

	/**
	 * Registers the submenu background color setting.
	 */
	public static function register_submenu_background_color() {
		global $multimagazine_customize;
		$multimagazine_customize->color_alpha_setting( 'multi_submenu_background_color', 'header_menu', __( 'Mobile menu/Drop-down/Overlayer background color', 'multimagazine' ), '', 'postMessage' );
	}

	/**
	 * Registers the submenu border color setting.
	 */
	public static function register_submenu_border_color() {
		global $multimagazine_customize;
		$multimagazine_customize->color_setting( 'multi_submenu_border_color', 'header_menu', __( 'Mobile menu/Drop-down/Overlayer border color', 'multimagazine' ), '', 'postMessage' );
	}

	/* Hamburger icon section */

	/**
	 * Registers the hamburger icon color setting.
	 */
	public static function register_hamburger_icon_color() {
		global $multimagazine_customize;
		$multimagazine_customize->color_setting( 'multi_hamburger_icon_color', 'header_menu_toggle', __( 'Hamburger icon color', 'multimagazine' ), '', 'postMessage' );
	}

	/**
	 * Registers the hamburger icon hover color setting.
	 */
	public static function register_hamburger_icon_hover_color() {
		global $multimagazine_customize;
		$multimagazine_customize->color_setting( 'multi_hamburger_icon_hover_color', 'header_menu_toggle', __( 'Hamburger icon hover and expanded color', 'multimagazine' ), '', 'postMessage' );
	}

	/**
	 * Registers the hamburger icon bg color setting.
	 */
	public static function register_hamburger_icon_bg_color() {
		global $multimagazine_customize;
		$multimagazine_customize->color_setting( 'multi_hamburger_icon_bg_color', 'header_menu_toggle', __( 'Hamburger icon background color', 'multimagazine' ), '', 'postMessage' );
	}

	/**
	 * Registers the hamburger icon bg hover color setting.
	 */
	public static function register_hamburger_icon_bg_hover_color() {
		global $multimagazine_customize;
		$multimagazine_customize->color_setting( 'multi_hamburger_icon_bg_hover_color', 'header_menu_toggle', __( 'Hamburger icon hover and expanded background color', 'multimagazine' ), '', 'postMessage' );
	}

	/* Mobile settings section */

	/**
	 * Registers the header menu text align setting.
	 */
	public static function register_header_menu_text_align() {
		global $multimagazine_customize;
		$multimagazine_customize->select_setting(
			'multi_header_menu_text_align',
			'header_mobile',
			array(
				''       => __( 'Left (default)', 'multimagazine' ),
				'center' => __( 'Center', 'multimagazine' ),
				'right'  => __( 'Right', 'multimagazine' ),
			),
			__( 'Menu items alignment on mobile', 'multimagazine' )
		);
	}

	/**
	 * Registers the sticky header mobile setting.
	 */
	public static function register_sticky_header_mobile() {
		multimagazine_register_checkbox_setting( 'multi_sticky_header_mobile', MULTIMAGAZINE_STICKY_HEADER_MOBILE, __( 'Sticky header on small screens', 'multimagazine' ), 'header_mobile' );
	}

	/**
	 * Registers the mobile menu animate icon setting.
	 */
	public static function register_mobile_menu_animate_icon() {
		multimagazine_register_checkbox_setting( 'multi_mobile_menu_animate_icon', MULTIMAGAZINE_MOBILE_MENU_ANIMATE_ICON, __( 'Animate menu icon on mobile', 'multimagazine' ), 'header_mobile' );
	}

	/**
	 * Registers the close menu on fragment link setting.
	 */
	public static function register_close_menu_on_fragment_link() {
		multimagazine_register_checkbox_setting( 'multi_close_menu_on_fragment_link', MULTIMAGAZINE_CLOSE_MENU_ON_FRAGMENT_LINK, __( 'Close menu when link to page part clicked', 'multimagazine' ), 'header_mobile' );
	}

	/**
	 * Registers the header height mobile setting.
	 */
	public static function register_header_height_mobile() {
		multimagazine_register_range_setting( 'header_mobile', 'multi_header_height_mobile', __( 'Header height on mobile', 'multimagazine' ), MULTIMAGAZINE_HEADER_HEIGHT_MOBILE, 30, 120, __( 'Number of pixels.', 'multimagazine' ), 1, 'postMessage' );
	}

	/**
	 * Registers the sticky header height mobile setting.
	 */
	public static function register_sticky_header_height_mobile() {
		multimagazine_register_range_setting( 'header_mobile', 'multi_sticky_header_height_mobile', __( 'Sticky header height on mobile', 'multimagazine' ), MULTIMAGAZINE_STICKY_HEADER_HEIGHT_MOBILE, 30, 120, __( 'Number of pixels.', 'multimagazine' ), 1, 'postMessage' );
	}

	/**
	 * Registers the logo height mobile setting.
	 */
	public static function register_logo_height_mobile() {
		multimagazine_register_range_setting( 'header_mobile', 'multi_logo_height_mobile', __( 'Logo max height on mobile', 'multimagazine' ), MULTIMAGAZINE_LOGO_HEIGHT_MOBILE, 0, 150, __( 'Number of pixels.', 'multimagazine' ), 1, 'postMessage' );
	}

	/**
	 * Registers the sticky header logo height mobile setting.
	 */
	public static function register_sticky_header_logo_height_mobile() {
		multimagazine_register_range_setting( 'header_mobile', 'multi_sticky_header_logo_height_mobile', __( 'Sticky header: logo height on mobile', 'multimagazine' ), MULTIMAGAZINE_STICKY_HEADER_LOGO_HEIGHT_MOBILE, 0, 150, __( 'Number of pixels.', 'multimagazine' ), 1, 'postMessage' );
	}

	/**
	 * Registers the header mobile logo position setting.
	 */
	public static function register_header_mobile_logo_position() {
		global $multimagazine_customize;
		$multimagazine_customize->select_setting(
			'multi_header_mobile_logo_position',
			'header_mobile',
			array(
				'left'   => __( 'Left', 'multimagazine' ),
				'center' => __( 'Center', 'multimagazine' ),
				'right'  => __( 'Right', 'multimagazine' ),
			),
			__( 'Logo position on mobile', 'multimagazine' )
		);
	}

	/**
	 * Registers the header mobile menu position setting.
	 */
	public static function register_header_mobile_menu_position() {
		global $multimagazine_customize;
		$multimagazine_customize->select_setting(
			'multi_header_mobile_menu_position',
			'header_mobile',
			array(
				'left'  => __( 'Left', 'multimagazine' ),
				'right' => __( 'Right', 'multimagazine' ),
			),
			__( 'Menu toggle position on mobile', 'multimagazine' )
		);
	}

	/**
	 * Registers the mobile menu caption setting.
	 */
	public static function register_mobile_menu_caption() {
		multimagazine_register_checkbox_setting( 'multi_mobile_menu_caption', MULTIMAGAZINE_MOBILE_MENU_CAPTION, __( 'Show menu toggle caption on mobile', 'multimagazine' ), 'header_mobile' );
	}

	/**
	 * Registers the header mobile cart position setting.
	 */
	public static function register_header_mobile_cart_position() {
		global $multimagazine_customize;
		$multimagazine_customize->select_setting(
			'multi_header_mobile_cart_position',
			'header_mobile',
			array(
				'left'  => __( 'Left', 'multimagazine' ),
				'right' => __( 'Right', 'multimagazine' ),
				'off'   => __( 'Off', 'multimagazine' ),
			),
			__( 'Shopping cart link position on mobile', 'multimagazine' )
		);
	}

	/**
	 * Registers the menu pulldown closed setting.
	 */
	public static function register_menu_pulldown_closed() {
		global $multimagazine_customize;
		$multimagazine_customize->select_setting(
			'multi_menu_pulldown_closed',
			'header_mobile',
			self::get_multi_icon_names(),
			__( 'Pull down icon in menus - default', 'multimagazine' )
		);
	}

	/**
	 * Registers the menu pulldown expanded setting.
	 */
	public static function register_menu_pulldown_expanded() {
		global $multimagazine_customize;
		$multimagazine_customize->select_setting(
			'multi_menu_pulldown_expanded',
			'header_mobile',
			self::get_multi_icon_names(),
			__( 'Pull down icon in menus - expanded', 'multimagazine' )
		);
	}

	/* Button section */

	/**
	 * Registers the header button position setting.
	 */
	public static function register_header_button_position() {
		global $multimagazine_customize;
		$multimagazine_customize->select_setting(
			'multi_header_button_position',
			'header_button',
			self::header_position_choices(),
			__( 'Button position in header', 'multimagazine' )
		);
	}

	/**
	 * Registers the header button text setting.
	 */
	public static function register_header_button_text() {
		global $multimagazine_customize;
		$multimagazine_customize->text_setting( 'multi_header_button_text', 'header_button', __( 'Button text', 'multimagazine' ) );
	}

	/**
	 * Registers the header button link setting.
	 */
	public static function register_header_button_link() {
		global $multimagazine_customize;
		$multimagazine_customize->text_setting( 'multi_header_button_link', 'header_button', __( 'Button link', 'multimagazine' ) );
	}

	/**
	 * Registers the header button rel setting.
	 */
	public static function register_header_button_rel() {
		global $multimagazine_customize;
		$multimagazine_customize->text_setting( 'multi_header_button_rel', 'header_button', __( 'Button rel parameter', 'multimagazine' ) );
	}

	/**
	 * Registers the header button class setting.
	 */
	public static function register_header_button_class() {
		global $multimagazine_customize;
		$multimagazine_customize->text_setting( 'multi_header_button_class', 'header_button', __( 'Button class', 'multimagazine' ) );
	}

	/**
	 * Registers the header button custom attributes setting.
	 */
	public static function register_header_button_custom_attributes() {
		global $multimagazine_customize;
		$multimagazine_customize->textarea_setting( 'multi_header_button_custom_attributes', 'header_button', __( 'Button custom attributes', 'multimagazine' ), __( 'key:value pairs, one pair per line', 'multimagazine' ), 'wp_slash' );
	}

	/**
	 * Registers the header button new tab setting.
	 */
	public static function register_header_button_new_tab() {
		multimagazine_register_checkbox_setting( 'multi_header_button_new_tab', MULTIMAGAZINE_HEADER_BUTTON_NEW_TAB, __( 'Open in new window/tab', 'multimagazine' ), 'header_button' );
	}

	/**
	 * Registers the header button size setting.
	 */
	public static function register_header_button_size() {
		global $multimagazine_customize;
		$multimagazine_customize->select_setting(
			'multi_header_button_size',
			'header_button',
			array(
				''         => __( 'As set in Theme Customizer', 'multimagazine' ),
				'small'    => __( 'Small', 'multimagazine' ),
				'normal'   => __( 'Normal (default)', 'multimagazine' ),
				'large'    => __( 'Large', 'multimagazine' ),
				'x-large'  => __( 'X-Large', 'multimagazine' ),
				'xx-large' => __( 'XX-Large', 'multimagazine' ),
			),
			__( 'Button size', 'multimagazine' ),
			'',
			'postMessage'
		);
	}

	/**
	 * Registers the header button fullheight setting.
	 */
	public static function register_header_button_fullheight() {
		multimagazine_register_checkbox_setting( 'multi_header_button_fullheight', MULTIMAGAZINE_HEADER_BUTTON_FULLHEIGHT, __( 'Stretch the button vertically', 'multimagazine' ), 'header_button' );
	}

	/**
	 * Registers the header button type setting.
	 */
	public static function register_header_button_type() {
		global $multimagazine_customize;
		$multimagazine_customize->select_setting(
			'multi_header_button_type',
			'header_button',
			array(
				''         => __( 'As set in Theme Customizer', 'multimagazine' ),
				'flat'     => __( 'Flat (default)', 'multimagazine' ),
				'vista'    => __( 'Vista', 'multimagazine' ),
				'gradient' => __( 'Gradient', 'multimagazine' ),
			),
			__( 'Button type', 'multimagazine' ),
			'',
			'postMessage'
		);
	}

	/**
	 * Registers the header button color setting.
	 */
	public static function register_header_button_color() {
		global $multimagazine_customize;
		$multimagazine_customize->color_setting( 'multi_header_button_color', 'header_button', __( 'Button background color', 'multimagazine' ), '', 'postMessage' );
	}

	/**
	 * Registers the header button color hover setting.
	 */
	public static function register_header_button_color_hover() {
		global $multimagazine_customize;
		$multimagazine_customize->color_setting( 'multi_header_button_color_hover', 'header_button', __( 'Button background color on hover', 'multimagazine' ), '', 'postMessage' );
	}

	/**
	 * Registers the header button color2 setting.
	 */
	public static function register_header_button_color2() {
		global $multimagazine_customize;
		$multimagazine_customize->color_setting( 'multi_header_button_color2', 'header_button', __( 'Button gradient color', 'multimagazine' ), '', 'postMessage' );
	}

	/**
	 * Registers the header button color2 hover setting.
	 */
	public static function register_header_button_color2_hover() {
		global $multimagazine_customize;
		$multimagazine_customize->color_setting( 'multi_header_button_color2_hover', 'header_button', __( 'Button gradient color on hover', 'multimagazine' ), '', 'postMessage' );
	}

	/**
	 * Registers the header button text color setting.
	 */
	public static function register_header_button_text_color() {
		global $multimagazine_customize;
		$multimagazine_customize->color_setting( 'multi_header_button_text_color', 'header_button', __( 'Button text color', 'multimagazine' ), '', 'postMessage' );
	}

	/**
	 * Registers the header button text hover color setting.
	 */
	public static function register_header_button_text_hover_color() {
		global $multimagazine_customize;
		$multimagazine_customize->color_setting( 'multi_header_button_text_hover_color', 'header_button', __( 'Button text color on hover', 'multimagazine' ), '', 'postMessage' );
	}

	/**
	 * Registers the header button border color setting.
	 */
	public static function register_header_button_border_color() {
		global $multimagazine_customize;
		$multimagazine_customize->color_setting( 'multi_header_button_border_color', 'header_button', __( 'Button border color', 'multimagazine' ), '', 'postMessage' );
	}

	/**
	 * Registers the header button border color hover setting.
	 */
	public static function register_header_button_border_color_hover() {
		global $multimagazine_customize;
		$multimagazine_customize->color_setting( 'multi_header_button_border_color_hover', 'header_button', __( 'Button border color on hover', 'multimagazine' ), '', 'postMessage' );
	}

	/**
	 * Registers the header button border top width setting.
	 */
	public static function register_header_button_border_top_width() {
		multimagazine_register_range_setting( 'header_button', 'multi_header_button_border_top_width', __( 'Button top border width', 'multimagazine' ), MULTIMAGAZINE_HEADER_BUTTON_BORDER_TOP_WIDTH, 0, 10, __( 'Number of pixels.', 'multimagazine' ), 1, 'postMessage' );
	}

	/**
	 * Registers the header button border right width setting.
	 */
	public static function register_header_button_border_right_width() {
		multimagazine_register_range_setting( 'header_button', 'multi_header_button_border_right_width', __( 'Button right border width', 'multimagazine' ), MULTIMAGAZINE_HEADER_BUTTON_BORDER_RIGHT_WIDTH, 0, 10, __( 'Number of pixels.', 'multimagazine' ), 1, 'postMessage' );
	}

	/**
	 * Registers the header button border bottom width setting.
	 */
	public static function register_header_button_border_bottom_width() {
		multimagazine_register_range_setting( 'header_button', 'multi_header_button_border_bottom_width', __( 'Button bottom border width', 'multimagazine' ), MULTIMAGAZINE_HEADER_BUTTON_BORDER_BOTTOM_WIDTH, 0, 10, __( 'Number of pixels.', 'multimagazine' ), 1, 'postMessage' );
	}

	/**
	 * Registers the header button border left width setting.
	 */
	public static function register_header_button_border_left_width() {
		multimagazine_register_range_setting( 'header_button', 'multi_header_button_border_left_width', __( 'Button left border width', 'multimagazine' ), MULTIMAGAZINE_HEADER_BUTTON_BORDER_LEFT_WIDTH, 0, 10, __( 'Number of pixels.', 'multimagazine' ), 1, 'postMessage' );
	}

	/**
	 * Registers the header button padding top setting.
	 */
	public static function register_header_button_padding_top() {
		global $multimagazine_customize;
		$multimagazine_customize->text_setting( 'multi_header_button_padding_top', 'header_button', __( 'Button top padding', 'multimagazine' ), __( 'Any CSS-compatible padding value', 'multimagazine' ) );
	}

	/**
	 * Registers the header button padding right setting.
	 */
	public static function register_header_button_padding_right() {
		global $multimagazine_customize;
		$multimagazine_customize->text_setting( 'multi_header_button_padding_right', 'header_button', __( 'Button right padding', 'multimagazine' ), __( 'Any CSS-compatible padding value', 'multimagazine' ) );
	}

	/**
	 * Registers the header button padding bottom setting.
	 */
	public static function register_header_button_padding_bottom() {
		global $multimagazine_customize;
		$multimagazine_customize->text_setting( 'multi_header_button_padding_bottom', 'header_button', __( 'Button bottom padding', 'multimagazine' ), __( 'Any CSS-compatible padding value', 'multimagazine' ) );
	}

	/**
	 * Registers the header button padding left setting.
	 */
	public static function register_header_button_padding_left() {
		global $multimagazine_customize;
		$multimagazine_customize->text_setting( 'multi_header_button_padding_left', 'header_button', __( 'Button left padding', 'multimagazine' ), __( 'Any CSS-compatible padding value', 'multimagazine' ) );
	}
}

add_action( 'customize_register', array( 'Multimagazine_Customize_Header', 'register_section' ) );
/* header_layout */
add_action( 'multimagazine_customize_header_layout', array( 'Multimagazine_Customize_Header', 'register_fullwidth_header' ), 10 );
add_action( 'multimagazine_customize_header_layout', array( 'Multimagazine_Customize_Header', 'register_header_mobile_breakpoint' ), 15 );
add_action( 'multimagazine_customize_header_layout', array( 'Multimagazine_Customize_Header', 'register_show_menus' ), 20 );
add_action( 'multimagazine_customize_header_layout', array( 'Multimagazine_Customize_Header', 'register_header_height_top' ), 25 );
add_action( 'multimagazine_customize_header_layout', array( 'Multimagazine_Customize_Header', 'register_header_height_bottom' ), 30 );
add_action( 'multimagazine_customize_header_layout', array( 'Multimagazine_Customize_Header', 'register_search_in_menu' ), 35 );
add_action( 'multimagazine_customize_header_layout', array( 'Multimagazine_Customize_Header', 'register_cart_in_menu' ), 40 );
add_action( 'multimagazine_customize_header_layout', array( 'Multimagazine_Customize_Header', 'register_header_logo_position' ), 45 );
add_action( 'multimagazine_customize_header_layout', array( 'Multimagazine_Customize_Header', 'register_header_elements_centered' ), 50 );
add_action( 'multimagazine_customize_header_layout', array( 'Multimagazine_Customize_Header', 'register_mainmenu_position' ), 55 );
add_action( 'multimagazine_customize_header_layout', array( 'Multimagazine_Customize_Header', 'register_additional_menu_position' ), 60 );
add_action( 'multimagazine_customize_header_layout', array( 'Multimagazine_Customize_Header', 'register_social_in_header' ), 65 );
add_action( 'multimagazine_customize_header_layout', array( 'Multimagazine_Customize_Header', 'register_ad_in_header' ), 70 );
/* header_appearance */
add_action( 'multimagazine_customize_header_appearance', array( 'Multimagazine_Customize_Header', 'register_header_shadow' ), 10 );
add_action( 'multimagazine_customize_header_appearance', array( 'Multimagazine_Customize_Header', 'register_header_border_top_width' ), 15 );
add_action( 'multimagazine_customize_header_appearance', array( 'Multimagazine_Customize_Header', 'register_header_border_bottom_width' ), 20 );
add_action( 'multimagazine_customize_header_appearance', array( 'Multimagazine_Customize_Header', 'register_header_bg_color' ), 25 );
add_action( 'multimagazine_customize_header_appearance', array( 'Multimagazine_Customize_Header', 'register_transparent_header_bg_color' ), 30 );
add_action( 'multimagazine_customize_header_appearance', array( 'Multimagazine_Customize_Header', 'register_header_border_color_top' ), 35 );
add_action( 'multimagazine_customize_header_appearance', array( 'Multimagazine_Customize_Header', 'register_header_border_color_bottom' ), 40 );
add_action( 'multimagazine_customize_header_appearance', array( 'Multimagazine_Customize_Header', 'register_header_separator_width' ), 45 );
add_action( 'multimagazine_customize_header_appearance', array( 'Multimagazine_Customize_Header', 'register_header_separator_color' ), 50 );
/* header_sticky */
add_action( 'multimagazine_customize_header_sticky', array( 'Multimagazine_Customize_Header', 'register_sticky_header' ), 10 );
add_action( 'multimagazine_customize_header_sticky', array( 'Multimagazine_Customize_Header', 'register_sticky_header_rows' ), 15 );
add_action( 'multimagazine_customize_header_sticky', array( 'Multimagazine_Customize_Header', 'register_sticky_header_background_color' ), 20 );
add_action( 'multimagazine_customize_header_sticky', array( 'Multimagazine_Customize_Header', 'register_sticky_header_height_top' ), 25 );
add_action( 'multimagazine_customize_header_sticky', array( 'Multimagazine_Customize_Header', 'register_sticky_header_height_bottom' ), 30 );
add_action( 'multimagazine_customize_header_sticky', array( 'Multimagazine_Customize_Header', 'register_sticky_header_logo_height' ), 35 );
add_action( 'multimagazine_customize_header_sticky', array( 'Multimagazine_Customize_Header', 'register_sticky_header_shadow' ), 40 );
add_action( 'multimagazine_customize_header_sticky', array( 'Multimagazine_Customize_Header', 'register_sticky_header_menu_link_color' ), 45 );
add_action( 'multimagazine_customize_header_sticky', array( 'Multimagazine_Customize_Header', 'register_sticky_header_menu_link_hover_color' ), 50 );
add_action( 'multimagazine_customize_header_sticky', array( 'Multimagazine_Customize_Header', 'register_sticky_header_menu_link_border_color' ), 55 );
add_action( 'multimagazine_customize_header_sticky', array( 'Multimagazine_Customize_Header', 'register_sticky_header_menu_link_bg_color' ), 60 );
add_action( 'multimagazine_customize_header_sticky', array( 'Multimagazine_Customize_Header', 'register_sticky_header_menu_link_hover_bg_color' ), 65 );
add_action( 'multimagazine_customize_header_sticky', array( 'Multimagazine_Customize_Header', 'register_sticky_header_menu_pull_down_icon_color' ), 70 );
add_action( 'multimagazine_customize_header_sticky', array( 'Multimagazine_Customize_Header', 'register_sticky_header_menu_pull_down_icon_hover_color' ), 75 );
add_action( 'multimagazine_customize_header_sticky', array( 'Multimagazine_Customize_Header', 'register_sticky_header_logo' ), 80 );
add_action( 'multimagazine_customize_header_sticky', array( 'Multimagazine_Customize_Header', 'register_sticky_logo_width' ), 85 );
add_action( 'multimagazine_customize_header_sticky', array( 'Multimagazine_Customize_Header', 'register_sticky_logo_height' ), 90 );
/* header_menu */
add_action( 'multimagazine_customize_header_menu', array( 'Multimagazine_Customize_Header', 'register_header_animation' ), 10 );
add_action( 'multimagazine_customize_header_menu', array( 'Multimagazine_Customize_Header', 'register_header_menu_text_animation' ), 15 );
add_action( 'multimagazine_customize_header_menu', array( 'Multimagazine_Customize_Header', 'register_header_follow_mouse_mode' ), 20 );
add_action( 'multimagazine_customize_header_menu', array( 'Multimagazine_Customize_Header', 'register_header_menu_link_animation_time' ), 25 );
add_action( 'multimagazine_customize_header_menu', array( 'Multimagazine_Customize_Header', 'register_header_line_thickness' ), 30 );
add_action( 'multimagazine_customize_header_menu', array( 'Multimagazine_Customize_Header', 'register_header_line_length' ), 35 );
add_action( 'multimagazine_customize_header_menu', array( 'Multimagazine_Customize_Header', 'register_header_line_vpos' ), 40 );
add_action( 'multimagazine_customize_header_menu', array( 'Multimagazine_Customize_Header', 'register_header_line_v_offset' ), 45 );
add_action( 'multimagazine_customize_header_menu', array( 'Multimagazine_Customize_Header', 'register_header_line_hpos' ), 50 );
add_action( 'multimagazine_customize_header_menu', array( 'Multimagazine_Customize_Header', 'register_header_menu_link_color' ), 55 );
add_action( 'multimagazine_customize_header_menu', array( 'Multimagazine_Customize_Header', 'register_header_menu_link_hover_color' ), 60 );
add_action( 'multimagazine_customize_header_menu', array( 'Multimagazine_Customize_Header', 'register_header_menu_link_border_color' ), 65 );
add_action( 'multimagazine_customize_header_menu', array( 'Multimagazine_Customize_Header', 'register_header_menu_link_bg_color' ), 70 );
add_action( 'multimagazine_customize_header_menu', array( 'Multimagazine_Customize_Header', 'register_header_menu_link_hover_bg_color' ), 75 );
add_action( 'multimagazine_customize_header_menu', array( 'Multimagazine_Customize_Header', 'register_header_menu_pulldown_closed' ), 80 );
add_action( 'multimagazine_customize_header_menu', array( 'Multimagazine_Customize_Header', 'register_header_menu_pulldown_expanded' ), 85 );
add_action( 'multimagazine_customize_header_menu', array( 'Multimagazine_Customize_Header', 'register_header_menu_pull_down_icon_color' ), 90 );
add_action( 'multimagazine_customize_header_menu', array( 'Multimagazine_Customize_Header', 'register_header_menu_pull_down_icon_hover_color' ), 95 );
add_action( 'multimagazine_customize_header_menu', array( 'Multimagazine_Customize_Header', 'register_mobile_menu_pull_down_icon_color' ), 100 );
add_action( 'multimagazine_customize_header_menu', array( 'Multimagazine_Customize_Header', 'register_header_menu_item_spacing' ), 105 );
add_action( 'multimagazine_customize_header_menu', array( 'Multimagazine_Customize_Header', 'register_header_menu_item_padding' ), 110 );
add_action( 'multimagazine_customize_header_menu', array( 'Multimagazine_Customize_Header', 'register_header_menu_separators' ), 115 );
add_action( 'multimagazine_customize_header_menu', array( 'Multimagazine_Customize_Header', 'register_header_menu_separator_width' ), 120 );
add_action( 'multimagazine_customize_header_menu', array( 'Multimagazine_Customize_Header', 'register_header_menu_separator_height' ), 125 );
add_action( 'multimagazine_customize_header_menu', array( 'Multimagazine_Customize_Header', 'register_header_menu_separator_color' ), 130 );
add_action( 'multimagazine_customize_header_menu', array( 'Multimagazine_Customize_Header', 'register_header_submenu_animation' ), 135 );
add_action( 'multimagazine_customize_header_menu', array( 'Multimagazine_Customize_Header', 'register_submenu_link_color' ), 140 );
add_action( 'multimagazine_customize_header_menu', array( 'Multimagazine_Customize_Header', 'register_submenu_link_hover_color' ), 145 );
add_action( 'multimagazine_customize_header_menu', array( 'Multimagazine_Customize_Header', 'register_submenu_link_background_color' ), 150 );
add_action( 'multimagazine_customize_header_menu', array( 'Multimagazine_Customize_Header', 'register_submenu_link_background_hover_color' ), 155 );
add_action( 'multimagazine_customize_header_menu', array( 'Multimagazine_Customize_Header', 'register_submenu_background_color' ), 160 );
add_action( 'multimagazine_customize_header_menu', array( 'Multimagazine_Customize_Header', 'register_submenu_border_color' ), 165 );
/* header_menu_toggle */
add_action( 'multimagazine_customize_header_menu_toggle', array( 'Multimagazine_Customize_Header', 'register_hamburger_icon_color' ), 10 );
add_action( 'multimagazine_customize_header_menu_toggle', array( 'Multimagazine_Customize_Header', 'register_hamburger_icon_hover_color' ), 15 );
add_action( 'multimagazine_customize_header_menu_toggle', array( 'Multimagazine_Customize_Header', 'register_hamburger_icon_bg_color' ), 20 );
add_action( 'multimagazine_customize_header_menu_toggle', array( 'Multimagazine_Customize_Header', 'register_hamburger_icon_bg_hover_color' ), 25 );
/* header_mobile */
add_action( 'multimagazine_customize_header_mobile', array( 'Multimagazine_Customize_Header', 'register_header_menu_text_align' ), 10 );
add_action( 'multimagazine_customize_header_mobile', array( 'Multimagazine_Customize_Header', 'register_sticky_header_mobile' ), 15 );
add_action( 'multimagazine_customize_header_mobile', array( 'Multimagazine_Customize_Header', 'register_mobile_menu_animate_icon' ), 20 );
add_action( 'multimagazine_customize_header_mobile', array( 'Multimagazine_Customize_Header', 'register_close_menu_on_fragment_link' ), 25 );
add_action( 'multimagazine_customize_header_mobile', array( 'Multimagazine_Customize_Header', 'register_header_height_mobile' ), 30 );
add_action( 'multimagazine_customize_header_mobile', array( 'Multimagazine_Customize_Header', 'register_sticky_header_height_mobile' ), 35 );
add_action( 'multimagazine_customize_header_mobile', array( 'Multimagazine_Customize_Header', 'register_logo_height_mobile' ), 40 );
add_action( 'multimagazine_customize_header_mobile', array( 'Multimagazine_Customize_Header', 'register_sticky_header_logo_height_mobile' ), 45 );
add_action( 'multimagazine_customize_header_mobile', array( 'Multimagazine_Customize_Header', 'register_header_mobile_logo_position' ), 50 );
add_action( 'multimagazine_customize_header_mobile', array( 'Multimagazine_Customize_Header', 'register_header_mobile_menu_position' ), 55 );
add_action( 'multimagazine_customize_header_mobile', array( 'Multimagazine_Customize_Header', 'register_mobile_menu_caption' ), 60 );
add_action( 'multimagazine_customize_header_mobile', array( 'Multimagazine_Customize_Header', 'register_header_mobile_cart_position' ), 65 );
add_action( 'multimagazine_customize_header_mobile', array( 'Multimagazine_Customize_Header', 'register_menu_pulldown_closed' ), 70 );
add_action( 'multimagazine_customize_header_mobile', array( 'Multimagazine_Customize_Header', 'register_menu_pulldown_expanded' ), 75 );
/* header_button */
add_action( 'multimagazine_customize_header_button', array( 'Multimagazine_Customize_Header', 'register_header_button_position' ), 10 );
add_action( 'multimagazine_customize_header_button', array( 'Multimagazine_Customize_Header', 'register_header_button_text' ), 15 );
add_action( 'multimagazine_customize_header_button', array( 'Multimagazine_Customize_Header', 'register_header_button_link' ), 20 );
add_action( 'multimagazine_customize_header_button', array( 'Multimagazine_Customize_Header', 'register_header_button_rel' ), 25 );
add_action( 'multimagazine_customize_header_button', array( 'Multimagazine_Customize_Header', 'register_header_button_class' ), 30 );
add_action( 'multimagazine_customize_header_button', array( 'Multimagazine_Customize_Header', 'register_header_button_custom_attributes' ), 35 );
add_action( 'multimagazine_customize_header_button', array( 'Multimagazine_Customize_Header', 'register_header_button_new_tab' ), 40 );
add_action( 'multimagazine_customize_header_button', array( 'Multimagazine_Customize_Header', 'register_header_button_size' ), 45 );
add_action( 'multimagazine_customize_header_button', array( 'Multimagazine_Customize_Header', 'register_header_button_fullheight' ), 50 );
add_action( 'multimagazine_customize_header_button', array( 'Multimagazine_Customize_Header', 'register_header_button_type' ), 55 );
add_action( 'multimagazine_customize_header_button', array( 'Multimagazine_Customize_Header', 'register_header_button_color' ), 60 );
add_action( 'multimagazine_customize_header_button', array( 'Multimagazine_Customize_Header', 'register_header_button_color_hover' ), 65 );
add_action( 'multimagazine_customize_header_button', array( 'Multimagazine_Customize_Header', 'register_header_button_color2' ), 70 );
add_action( 'multimagazine_customize_header_button', array( 'Multimagazine_Customize_Header', 'register_header_button_color2_hover' ), 75 );
add_action( 'multimagazine_customize_header_button', array( 'Multimagazine_Customize_Header', 'register_header_button_text_color' ), 80 );
add_action( 'multimagazine_customize_header_button', array( 'Multimagazine_Customize_Header', 'register_header_button_text_hover_color' ), 85 );
add_action( 'multimagazine_customize_header_button', array( 'Multimagazine_Customize_Header', 'register_header_button_border_color' ), 90 );
add_action( 'multimagazine_customize_header_button', array( 'Multimagazine_Customize_Header', 'register_header_button_border_color_hover' ), 95 );
add_action( 'multimagazine_customize_header_button', array( 'Multimagazine_Customize_Header', 'register_header_button_border_top_width' ), 100 );
add_action( 'multimagazine_customize_header_button', array( 'Multimagazine_Customize_Header', 'register_header_button_border_right_width' ), 105 );
add_action( 'multimagazine_customize_header_button', array( 'Multimagazine_Customize_Header', 'register_header_button_border_bottom_width' ), 110 );
add_action( 'multimagazine_customize_header_button', array( 'Multimagazine_Customize_Header', 'register_header_button_border_left_width' ), 115 );
add_action( 'multimagazine_customize_header_button', array( 'Multimagazine_Customize_Header', 'register_header_button_padding_top' ), 120 );
add_action( 'multimagazine_customize_header_button', array( 'Multimagazine_Customize_Header', 'register_header_button_padding_right' ), 125 );
add_action( 'multimagazine_customize_header_button', array( 'Multimagazine_Customize_Header', 'register_header_button_padding_bottom' ), 130 );
add_action( 'multimagazine_customize_header_button', array( 'Multimagazine_Customize_Header', 'register_header_button_padding_left' ), 135 );
