<?php
/**
 * Main Header template
 * @author jason.xie@victheme.com
 */
?>
<!DOCTYPE html>

<!--[if IEMobile 7 ]> <html <?php language_attributes(); ?>class="no-js iem7"> <![endif]-->
<!--[if lt IE 7 ]> <html <?php language_attributes(); ?> class="no-js ie6"> <![endif]-->
<!--[if IE 7 ]>    <html <?php language_attributes(); ?> class="no-js ie7"> <![endif]-->
<!--[if IE 8 ]>    <html <?php language_attributes(); ?> class="no-js ie8"> <![endif]-->
<!--[if IE 9 ]>    <html <?php language_attributes(); ?> class="no-js ie9"> <![endif]-->
<!--[if (gte IE 9)|(gt IEMobile 7)|!(IEMobile)|!(IE)]><!--><html <?php language_attributes(); ?> class="no-js"><!--<![endif]-->

<head>
	<meta charset="<?php bloginfo( 'charset' ); ?>">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<link rel="profile" href="http://gmpg.org/xfn/11">
	<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
	<link rel="shortcut icon" href="<?php echo VTCore_Zeus_Utility::getFavicon(); ?>" />


	<!-- media-queries.js (fallback) -->
	<!--[if lt IE 9]>
		<script src="http://css3-mediaqueries-js.googlecode.com/svn/trunk/css3-mediaqueries.js"></script>
	<![endif]-->

	<!-- html5.js -->
	<!--[if lt IE 9]>
		<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
	<![endif]-->

  <!-- Remove the no-js quickly if javascript is enabled -->
  <script>
    document.documentElement.className = document.documentElement.className.replace("no-js","js");
  </script>

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

<body <?php body_class('template-' . str_replace('.php', '',VTCORE_WORDPRESS_CUSTOM_TEMPLATE_FILE)); ?>>
<div id="page"
     class="clearfix
            <?php echo VTCore_Zeus_Utility::getOption('page', 'maxwidth');?>
            <?php echo VTCore_Zeus_Utility::getOption('page', 'style');?>
            <?php echo VTCore_Zeus_Utility::getOption('page', 'responsive');?>
            <?php if (VTCore_Zeus_Utility::getOption('animsition', 'enable')) : ?> animsition<?php endif; ?>"
     data-animsition-loading-text="<?php echo VTCore_Zeus_Utility::getOption('animsition', 'loading_text'); ?>"
     data-animsition-in-class="<?php echo VTCore_Zeus_Utility::getOption('animsition', 'animation_in'); ?>"
     data-animsition-in-duration="<?php echo VTCore_Zeus_Utility::getOption('animsition', 'in_duration'); ?>"
     data-animsition-out-class="<?php echo VTCore_Zeus_Utility::getOption('animsition', 'animation_out'); ?>"
     data-animsition-out-duration="<?php echo VTCore_Zeus_Utility::getOption('animsition', 'out_duration'); ?>"
>

  <?php
    // In case user disabled slicknav, give special class to reformat the header
    $slicknav = ' without-slicknav';
    if (VTCore_Zeus_Utility::getOption('menu', 'enable_slick')) {
      $slicknav = ' with-slicknav';
    }

    // Enable or disable sticky header
    $sticky = ' without-sticky';
    if (VTCore_Zeus_Utility::getOption('menu', 'enable_sticky')) {
      $sticky = ' with-sticky';
    }
  ?>

  <header id="header" class="area vertical-center <?php echo $slicknav; ?> <?php echo $sticky;?>">
  <div class="container-fluid">
    <div class="row mainheader">
      <?php get_sidebar('logo'); ?>
      <?php get_sidebar('navigation');?>
    </div>
  </div>
  </header>

  <?php get_template_part('headline');?>
  <?php get_sidebar('slider'); ?>
