<?php global $pixomi_data; ?>
<?php get_template_part('functions/headers/header-topbar'); ?>
<div id="header" class="header header-v4">
    <div class="logo-block">
		<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 class="info">
						<?php if($pixomi_data['header_phone'] != "") { ?>
							<div class="info-box">
			                    <div class="info-box-icon">
			                        <i class="droplet-old-telephone"></i>
			                    </div>
			                    <div class="info-box-content">
			                        <h6><?php esc_html_e( 'Telefone', 'pixomi' ); ?></h6>
			                        <p><?php echo wp_kses_post($pixomi_data['header_phone']); ?></p>
			                    </div>
			                </div>
			            <?php } ?>
						<?php if($pixomi_data['header_email'] != "") { ?>
							<div class="info-box">
			                    <div class="info-box-icon">
			                        <i class="droplet-email"></i>
			                    </div>
			                    <div class="info-box-content">
			                        <h6><?php esc_html_e( 'E-mail', 'pixomi' ); ?></h6>
			                        <p><?php echo wp_kses_post($pixomi_data['header_email']); ?></p>
			                    </div>
			                </div>
			            <?php } ?>
						<?php if($pixomi_data['header_address'] != "") { ?>
							<div class="info-box">
			                    <div class="info-box-icon">
			                        <i class="droplet-map-location"></i>
			                    </div>
			                    <div class="info-box-content">
			                        <h6><?php esc_html_e( 'Address', 'pixomi' ); ?></h6>
			                        <p><?php echo wp_kses_post($pixomi_data['header_address']); ?></p>
			                    </div>
			                </div>
			            <?php } ?>
					</div>
        		</div>
    		</div>
        </div>
    </div>
	<div class="nav-block">
		<div class="container">
	        <div class="row">
	            <div class="col-md-12">
					<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>
</div>
<?php get_template_part('functions/headers/mobile-header'); ?>
