<?php
/**
 * The header for our theme
 *
 * Displays all of the <head> section and everything up till <div id="content">
 *
 * @package poster
 */

// Exit if accessed directly.
defined( 'ABSPATH' ) || exit;

$navbar_type = get_theme_mod( 'poster_navbar_type', 'collapse' );
?>
	<a class="skip-link <?php echo poster_get_screen_reader_class( true ); ?>" href="#content">
			<?php esc_html_e( 'Skip to content', 'poster' ); ?>
		</a>
		
	<div class="container stylefive">
		<div class="row g-0 overflow-hidden flex-md-row mt-1 mb-1 position-relative">
		<div class="col d-flex flex-column position-static justify-content-center">
		 <?php 
		  // Action before header left sidebar 
		  do_action( 'header_left_stylefive' );
		 get_template_part( 'sidebar-templates/sidebar', 'header-left' ); ?>
		</div>
			<div class="col-auto d-lg-block logo text-center">
				<?php get_template_part( 'global-templates/navbar','branding' ); ?>
			</div>
		 <div class="col d-flex flex-column position-static mobilescr">

		 <?php 
		 // Action before header right sidebar 
		 do_action( 'header_right_stylefive' );
		 get_template_part( 'sidebar-templates/sidebar', 'header' ); ?>
		</div>
		</div>
	</div>
		<div id="wrapper-navbar">

		<a class="skip-link <?php echo poster_get_screen_reader_class( true ); ?>" href="#content">
			<?php esc_html_e( 'Skip to content', 'poster' ); ?>
		</a>
		<?php get_template_part( 'global-templates/header/navbar', $navbar_type . '-' . 'bootstrap5-master' ); ?>

	</div><!-- #wrapper-navbar -->
	<?php do_action( 'below_stylefour_header' ); ?>