<?php
/**
 * @package Krown
 * @subpackage Krown
 * @since Krown 1.0
 */
?>
<!-- #Navigation -->
<nav id="navigation" class="style-2">
<!-- <nav id="navigation" class="style-1"> -->
	<div class="container">
		<div class="row">
			<div class="col-sm-12 no-margin">
				<div class="inner clearfix">


					<!-- .logo-->
					<div class="logo">
						<div class="tb">
							<div class="tb-cell">
								<a href="<?php echo esc_url( home_url( '/' ) ); ?>">
									<?php 
										global $tlazya_krwn; 
										if (isset($tlazya_krwn['logo_url']['url']) && $tlazya_krwn['logo_url']['url'] != '' ) { ?>
										<img src="<?php echo esc_url($tlazya_krwn['logo_url']['url']); ?>" alt="logo" />
										<?php 
										} 
										else { ?>
											<img alt="" src="<?php echo get_template_directory_uri(); ?>/assets/images/logo-2.png">
										<?php
										} 
									?>
								</a>
							</div>
						</div>
					</div>
					<!-- / .logo -->


					<div class="menu-container">
						<?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'visible-md visible-lg' ) ); ?>

						<div id="mobile-menu-button" class="hidden-md hidden-lg">  
							<i class="fa fa-bars"></i>
						</div> 

					</div>
					<?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_id' =>'mobile-menu', 'menu_class' => 'hidden-lg hidden-md' ) ); ?>						

				</div>

			</div>
		</div>
	</div>
</nav>
<!-- / #Navigation -->