<?php
/**
 * The template for displaying the header.
 *
 * @package Sunset
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}

?><!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
	<meta charset="<?php bloginfo( 'charset' ); ?>">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

	<link rel="profile" href="https://gmpg.org/xfn/11">
	<?php wp_head(); ?>
</head>

<body <?php body_class(sunset_get_classes('body')); ?>>
	<?php wp_body_open(); ?>

	<?php
	/**
	 * sunset_before_header hook.
	 *
	 * @hooked sunset_preloader - 1
	 * @hooked sunset_skip_to_content_link - 3
	 */
	do_action( 'sunset_before_header' );
	?>
	
	<header class="<?php echo sunset_get_classes('header'); ?>">

		<?php
		/**
		 * sunset_header hook.
		 *
		 * @hooked sunset_construct_top_bar - 5
		 * @hooked sunset_construct_header - 10
		 */
		do_action( 'sunset_header' );
		?>

	</header>

	<?php

	/**
	 * sunset_after_header hook.
	 *
	 */
	do_action( 'sunset_after_header' );
	?>

	<?php
	/**
	 * sunset_before_content hook.
	 * 
	 */
	do_action( 'sunset_before_content' );
	?>
		
