<?php
$options = _WSH()->option();
$lower_area = buildark_set( $options, 'show_lower_header2' );
$search = buildark_set( $options, 'search_area_2' );

if ( $lower_area ) :
?>


<!--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', 
									'container'=>false,
								    'walker'=> new Bunch_Bootstrap_walker()
						) ); ?>
						
					</ul>
				</div>
			</nav>
			
			
			<?php  if ( $search ) :  ?>
			
				<!-- Main Menu End-->
				<div class="outer-box">
					<!-- Search -->
					<div class="search-box">
					<?php get_template_part('searchform4')?>	
					</div>
				</div>
			
			<?php endif; ?>
			
		</div>
	</div>
</div>
<!--End Header Lower-->


<?php endif; ?>