<?php global $pixomi_data; ?>
<?php get_template_part('functions/headers/header-topbar'); ?>
<div id="header" class="header header-v2">
	<div class="container">
        <div class="row">
            <div class="col-md-12">                            
		        <div id="logo" class="logo">
		            <?php if(isset($pixomi_data['theme_logo']['url']) && ($pixomi_data['theme_logo']['url'] != "")) { ?>
		                <a href="<?php echo esc_url( home_url( '/' ) ); ?>"><img src="<?php echo esc_url($pixomi_data['theme_logo']['url']); ?>" alt="<?php echo esc_attr(bloginfo('name')); ?>" ></a>
		            <?php } else { ?>
		                <a href="<?php echo esc_url( home_url( '/' ) ); ?>"><h2><?php esc_html(bloginfo('name')); ?></h2></a>
		            <?php } ?>
		        </div>				
				<div id="navigation">
					<?php if(has_nav_menu('pixomi-primary_menu')) {
						wp_nav_menu( array(
							'theme_location' => 'pixomi-primary_menu',
							'container' 	 => false,
							'menu_class'	 => 'sf-menu main-menu',
							'depth'			 => 0,
						) ); 
					} ?> 
				</div>				   
        	</div>
        </div>        
    </div>     
</div> 
<?php get_template_part('functions/headers/mobile-header'); ?>
