<?php
$options = _WSH()->option();
$res_logo = buildark_set( $options, 'responsive_logo_2' );
$res_logo = ( $res_logo ) ? $res_logo : get_template_directory_uri() . '/assets/images/logo.svg';
?>
<!--Sticky Header-->
<div class="sticky-header">
	<div class="auto-container clearfix">
		<!--Logo-->
		<div class="pull-left logo">
			<?php if($res_logo):?>
            <div class="logo"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" class="img-responsive"><img src="<?php echo esc_url( $res_logo );  ?>" alt="<?php esc_attr_e('Awesome Image', 'buildark'); ?>"></a></div>
            <?php else:?>
            <div class="logo"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" class="img-responsive"><img src="<?php echo esc_url(get_template_directory_uri()). '/assets/images/logo.svg';  ?>" alt="<?php esc_attr_e('Awesome Image', 'buildark'); ?>"></a></div>
            <?php endif;?>
        </div>

		<!--Right Col-->
		<div class="right-col pull-right">
			<!-- 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><!-- Main Menu End-->
		</div>

	</div>
</div>
<!--End Sticky Header-->