<?php
/**
 * The header for our theme.
 *
 * Displays all of the <head> section and everything up till <div id="content">
 *
 * @package raze
 */
?><!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="profile" href="http://gmpg.org/xfn/11">
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">

<?php wp_head(); ?>
</head>

<body <?php body_class(); ?>>
<div id="page" class="hfeed site">
	<a class="skip-link screen-reader-text" href="#content"><?php _e( 'Skip to content', 'raze' ); ?></a>
	
	<div id="slickmenu"></div>

	<nav id="site-navigation" class="main-navigation title-font" role="navigation">
        <?php if ( has_custom_logo() ) : ?>
            <div id="site-logo">
                <?php the_custom_logo(); ?>
            </div>
        <?php endif; ?>
		<div class="nav">
			<?php
				// Get the Appropriate Walker First.
				$walker = has_nav_menu('primary') ? new Raze_Menu_With_Icon : '';
				    //Display the Menu.							
			    wp_nav_menu( array( 'theme_location' => 'primary', 'walker' => $walker ) ); ?>
		</div>
        <div id="mobile-menu">
            <?php wp_nav_menu( array( 'theme_location' => 'mobile' ) ); ?>
        </div>
	</nav><!-- #site-navigation -->
	
	<header id="masthead" class="site-header" role="banner">
			<div class="header-content container">
				<div class="site-branding">
					<div id="text-title-desc">
					<h1 class="site-title title-font"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
					<h2 class="site-description"><?php bloginfo( 'description' ); ?></h2>
					</div>
				</div>
				
				<div id="social-icons">
					<?php get_template_part('social', 'fa'); ?>
				</div>
			</div>

	</header><!-- #masthead -->

    <?php get_template_part('slider', 'swiper'); ?>

    <?php do_action('raze-before_content'); ?>

    <div class="mega-container">

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