<?php 
$postid = kk_postid();
?>

<?php if ( get_option('toppic_theme_menu_style') == 'kk-menu-default-hidden' ) { ?>

	<div class="icons-wrapper">
	<div class="kk-menu-trigger">
			<span></span>
	</div>

	<!-- start search icon -->
	<?php if ( get_option('toppic_theme_search_button') == 'true' ) { ?>
	
	<div class="kk-search search-trigger">
		<i class="kk-icon-search"></i>
	</div>			
	
	<?php } ?>
	<!-- end search icon -->
	
	<!-- start album icon -->
	<div class="kk-info-trigger">
		<i class="kk-icon-info"></i>
	</div>			
	<!-- end album icon -->
	
	<!-- start thumbs icon -->
		<div class="kk-thumbs-trigger">
			<i class="kk-icon-th-large-outline"></i>
		</div>			
	<!-- end thumbs icon -->
	</div>

	<!-- start search form -->
	<?php if ( get_option('toppic_theme_search_button') == 'true' ) { ?>
	
	<div class="search-fs-form">
			<!-- start search close icon -->
			<div class="kk-search-close">
					<span></span>
			</div>
			<!-- end search close icon -->
		<?php get_search_form(  ); ?>
	</div>
	
	<?php } ?>
	<!-- end search form -->
		
	<div class="menu-helper"></div>

<?php } else if (get_option('toppic_theme_menu_style') == 'kk-menu-default') { ?>
	
	<!-- start icons wrapper -->
	<div class="kk-icons-wrapper">
		<!-- start album icon -->
		<div class="kk-info-trigger">
			<i class="kk-icon-info"></i>
		</div>			
		<!-- end album icon -->
		
		<!-- start thumbs icon -->
		<div class="kk-thumbs-trigger">
			<i class="kk-icon-th-large-outline"></i>
		</div>			
		<!-- end thumbs icon -->
		
	</div>
	<!-- end icons wrapper -->
	
<?php } ?>
	
<aside id="menu-wrapper" class="menu-wrapper">

	<!-- start logo -->
	<div class="logo">
		<?php kktfwp_the_custom_logo(); ?>
	</div>
	<!-- end logo -->	
		
	<!-- start mobile menu trigger -->
	<div class="kk-mobile-trigger">
		<span></span>	
	</div>
	<!-- end mobile menu trigger -->
		
	<!-- start navigation -->
	<nav class="main-nav">
		<?php wp_nav_menu(array('container'=>'','theme_location'=>'main-menu','depth'=>0,'fallback_cb'=>false ,'walker'=>''))?>	
	</nav>
	<!-- end navigation -->
	
	<!-- start footer -->	
	<footer class="footer">
							
		<!-- start social -->
		<?php echo kk_social_profiles (); ?>
		<!-- end social -->
		
		<!-- start copyright -->
		<div class="copyright">
			<?php echo stripslashes(get_option('toppic_theme_copyrights')); ?>
		</div>
		<!-- end copyright -->
		
	</footer>
	<!-- end footer -->	
			
</aside>