<?php
/**
 * Header file for the Solar Energy Engine WordPress theme.
 * @package Solar Energy Engine
 * @since 1.0.0
 */
?><!DOCTYPE html>
<html class="no-js" <?php language_attributes(); ?>>
  <?php if( get_theme_mod('solar_energy_engine_theme_loader',false) == 1 ) { ?>
    <div class="preloader">
      <div class="loader">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
    </div>
  <?php }?>
<head>
    <meta charset="<?php bloginfo('charset'); ?>">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <link rel="profile" href="https://gmpg.org/xfn/11">
    <?php wp_head(); ?>
</head>

<body <?php body_class(); ?>>

<?php
if( function_exists('wp_body_open') ){
    wp_body_open();
}
$solar_energy_engine_default = solar_energy_engine_get_default_theme_options(); ?>

<div id="solar-energy-engine-page" class="solar-energy-engine-hfeed solar-energy-engine-site">
<a class="skip-link screen-reader-text" href="#site-content"><?php esc_html_e('Skip to the content', 'solar-energy-engine'); ?></a>

<?php
$solar_energy_engine_header_top_ed = get_theme_mod( 'solar_energy_engine_header_top_ed', $solar_energy_engine_default['solar_energy_engine_header_top_ed'] );
if( $solar_energy_engine_header_top_ed ){
    get_template_part( 'template-parts/header/header', 'top' );
}
    get_template_part( 'template-parts/header/header', 'layout' );
?>

<div id="content" class="site-content">