<?php if( breek_lite_get_option('enable_notice') == '1' && breek_lite_get_option('notice_text') ): ?>
    <div class="notice text underline-effect">
        <div class="grid-container">
            <div class="info">
                <i class="fa fa-bell"></i>
                <?php echo wpautop( do_shortcode( breek_lite_get_option('notice_text') ) ); ?>
            </div>
        </div>
    </div>
<?php endif; ?>

<!-- start: #header -->
<header id="header">

    <?php if( has_nav_menu('breek_lite_header') ): ?>                  
        <button class="menu-mobile">
            <i class="remixicon remixicon-menu-line"></i>
        </button>
    <?php endif; ?>

	<!-- start: .menu-wrapper -->
	<div class="menu-wrapper">
		<div class="grid-container">

            <?php get_template_part('partials/header/site-logo'); ?>
            
			<!-- start: .main-nav -->
			<nav class="main-nav gradient-effect" tabindex="-1" aria-label="<?php esc_attr_e('Main navigation', 'breek-lite'); ?>">
				<?php
				if( has_nav_menu('breek_lite_header') ){
					wp_nav_menu(
                        array(
                            'theme_location' => 'breek_lite_header',
                            'container' => false
                        )
                    );
                } 
				?>
			</nav>
            <!-- end: .main-nav -->

            <?php if( breek_lite_get_option('enable_search_header') == '1' ): ?>
                <a href="#search-lightbox" class="lightbox epcl-search-button mfp-inline hide-on-desktop"><i class="remixicon remixicon-search-line"></i></a>
            <?php endif; ?>

            <div class="clear"></div>
            <div class="border hide-on-tablet hide-on-mobile"></div>
		</div>
		<div class="clear"></div>
	</div>
	<!-- end: .menu-wrapper -->

	<div class="clear"></div>
</header>
<!-- end: #header -->

<?php if( breek_lite_get_option('enable_search_header', 1) == '1' ): ?>
    <div class="hide-on-mobile hide-on-tablet hide-on-desktop">
        <div id="search-lightbox" class="mfp-hide grid-container grid-small grid-parent">
            <h4 class="title small white textcenter fw-normal hide-on-mobile hide-on-tablet"><?php printf( esc_html__( 'Press %s to close', 'breek-lite' ), '<span>ESC</span>' ); ?></h4>
            <div class="search-wrapper section">                
                <?php get_search_form(); ?>
            </div>
        </div>
    </div>
<?php endif; ?>
