<?php
if ( get_header_image() ) : ?>
	<a href="<?php echo esc_url( home_url( '/' ) ); ?>" class="custom-header" id="custom-header" rel="home">
		<img src="<?php echo esc_url(get_header_image()); ?>" width="<?php echo esc_attr( get_custom_header()->width ); ?>" height="<?php echo esc_attr( get_custom_header()->height ); ?>" alt="<?php echo esc_attr(get_bloginfo( 'title' )); ?>">
	</a>
<?php endif; ?>

<header id="header" class="header header-one">
	<div id="above-header" class="above-header">
	   <div class="header-widget header-dark">
			<div class="container">
				<?php do_action('hotel26_above_header'); ?>
			</div>
	   </div>
	</div>

	<div class="navigator-wrapper">
		<div class="navbar-area <?php echo esc_attr(hotel_26_sticky_menu()); ?>">
			<div class="container">
				<div class="row position-relative min-h-50">
					<div class="col-6 col-lg-2 col-md-3">
						<div class="logo">
							<?php do_action('hotel_26_logo_content'); ?>
						</div>
					</div>
					<?php $hotel26_rtl = !is_rtl() ? 's' : 'e'; ?>
					<div class="col-6 col-lg-10 col-md-9 my-auto p<?php echo esc_attr($hotel26_rtl); ?>-0">
						<div class="theme-menu">
							<nav class="menubar main-navbar" id="stMenu">
								<div class="logo d-lg-none">
									<?php do_action('hotel_26_logo_content'); ?>
								</div>
									<?php do_action('hotel26_primary_navigation'); ?>
								<div class="d-lg-none mt-4 mb-4 text-center">
									<?php do_action('hotel26_navigation_button'); ?>
								</div>
								<a href="javascript:void(0)" class="menu-close d-lg-none"><i class="fa fa-times"></i></a>
							</nav>
							<div class="menu-right">
								<ul class="menu-right-list">
									<?php do_action('hotel26_navigation_search'); ?>
									<?php do_action('hotel26_navigation_cart'); ?>
									<li class="d-none d-lg-block">
										<?php do_action('hotel26_navigation_button'); ?>
									</li>
									<?php menu_toggle_bar(); ?>
								</ul>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>  
	</div>
</header>
	

<?php
	if ( !is_page_template( 'templates/template-homepage.php' ) ) {
		hotel_26_breadcrumbs_style();  
	}	
?>