<?php
$options = _WSH()->option();
$lower = buildark_set( $options, 'show_lower_header1' );
$search = buildark_set( $options, 'search_area1' );
?>

<!--Header Lower-->
<div class="header-lower">

	<div class="auto-container">
		<div class="nav-outer clearfix">
			<!-- Main Menu -->
			<nav class="main-menu">
				<div class="navbar-header">
					<!-- Toggle Button -->    	
					<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
					</button>
				</div>

				<div class="navbar-collapse collapse clearfix">
					<ul class="navigation clearfix">
						<?php wp_nav_menu( array( 'theme_location' => 'main_menu', 'container_id' => 'navbar-collapse-1',
									'container_class'=>'navbar-collapse collapse navbar-right',
									'menu_class'=>'nav navbar-nav',
									'fallback_cb'=>false, 
									'items_wrap' => '%3$s', 
									'depth' => 3,
									'container'=>false,
									'walker'=> new Bunch_Bootstrap_walker()
						) ); ?>
					</ul>
				</div>
			</nav>
			<!-- Main Menu End-->
			
			<?php if ( $search ) :  ?>
			
				<div class="outer-box">
					<!--Search Box-->
					<div class="search-box-outer">
						<div class="dropdown">
							<button class="search-box-btn dropdown-toggle" type="button" id="dropdownMenu3" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><span class="fa fa-search"></span></button>
							<ul class="dropdown-menu pull-right search-panel" aria-labelledby="dropdownMenu3">
								<li class="panel-outer">
									<div class="form-container">
									<?php get_template_part('searchform3')?>	
									</div>
								</li>
							</ul>
						</div>
					</div>
				</div>
			
			<?php endif; ?>
			
		</div>
	</div>
</div>
<!--End Header Lower-->