<?php
/**
 * Name:  Header style 04
 **/
?>
<?php
$slide = ocolus_theme_option_meta(
	'_custom_metabox_theme_options',
	'header_slide',
	'metabox_header_slide'
);
?>
<header id="header" class="header style-04 megamenu-wrap ocolus-dropdown overlay">
	<?php if ( $slide ) : ?>
        <div class="header-top">
			<?php echo ocolus_do_shortcode( 'rev_slider', array( 'alias' => $slide ) ) ?>
        </div>
	<?php endif; ?>
    <div class="header-mid">
        <div class="header-left">
            <div class="block-canvas-bar">
                <a href="javascript:void(0)" class="canvas-open" data-ocolus="ocolus-dropdown">
                    <span class="icon"><span></span><span></span><span></span></span>
                </a>
            </div>
            <div class="mobile-block block-menu-bar">
                <a href="#" class="menu-bar menu-toggle">
                    <span class="icon"><span></span><span></span><span></span></span>
                </a>
            </div>
        </div>
        <div class="header-center">
            <div class="logo"><?php ocolus_get_logo(); ?></div>
        </div>
        <div class="header-right">
			<?php
			ocolus_user_link();
			if ( function_exists( 'ocolus_header_mini_cart' ) )
				ocolus_header_mini_cart();
			ocolus_get_header_menu( 'header_top_menu' );
			?>
            <div class="mobile-block block-menu-bar">
                <a href="#" class="menu-bar menu-toggle">
                    <span class="icon"><span></span><span></span><span></span></span>
                </a>
            </div>
        </div>
    </div>
    <div class="header-bot">
        <div class="header-inner">
            <div class="container">
				<?php ocolus_header_search(); ?>
            </div>
        </div>
    </div>
	<?php ocolus_header_canvas(); ?>
</header>