<!doctype html>
<!--[if IE 8]>
<html {languageAttributes}  class="lang-{$currentLang->locale} {$options->layout->custom->pageHtmlClass} ie ie8">
<![endif]-->
<!--[if !(IE 7) | !(IE 8)]><!-->
<html {languageAttributes} class="lang-{$currentLang->locale} {$options->layout->custom->pageHtmlClass}">
<!--<![endif]-->
<head>
	<meta charset="{$wp->charset}">
	<meta name="viewport" content="width=device-width">
	<link rel="profile" href="http://gmpg.org/xfn/11">
	<link rel="pingback" href="{$wp->pingbackUrl}">

	{if $options->theme->general->favicon != ""}
		<link href="{$options->theme->general->favicon}" rel="icon" type="image/x-icon" />
	{/if}

	{includePart parts/seo}

	{googleAnalytics $options->theme->google->analyticsTrackingId, $options->theme->google->anonymizeIp}


	{!$options->theme->header->customJsCode}

	<!--[if lt IE 9]>
	<script>
	document.createElement('header');
	document.createElement('nav');
	document.createElement('section');
	document.createElement('article');
	document.createElement('aside');
	document.createElement('footer');
	document.createElement('hgroup');
	</script>
	<![endif]-->

	{wpHead} {* alias for wp_head() *}
</head>
<body {!$wp->bodyHtmlClass}>
	{* usefull for inline scripts like facebook social plugins scripts, etc... *}
	{doAction ait-html-body-begin}
	<div class="page-header">
		{if ($wp->isAuthor and $author->meta('user-metabox', 'authorBackground') != '')}
			{var backgroundUrl = $author->meta('user-metabox', 'authorBackground')}
		{elseif aitPostHasBackground()}
			{var backgroundUrl = $post->meta('post-background-metabox')->postBackground}
		{else}
			{var backgroundUrl = $options->theme->header->headbg->image}
		{/if}
		<div class="header-background" style="background-image: url('{$backgroundUrl|noescape}');"></div>
		<header id="masthead" class="site-header" role="banner">
			<div class="header-container grid-main">
				<div class="site-logo">
					{if $options->theme->header->logo}
					<a href="{$homeUrl}" title="{$wp->name}" rel="home"><img src="{$options->theme->header->logo}" alt="logo"></a>
					{else}
					<div class="site-title"><a href="{$homeUrl}" title="{$wp->name}" rel="home">{$wp->name}</a></div>
					{/if}
				</div>

				<div class="site-tools">

					<div class="menu-container">
						<nav class="main-nav" role="navigation">
							<div class="main-nav-wrap">
								<h3 class="menu-toggle">{__ 'Menu'}</h3>
								{menu main}
							</div>
						</nav>
					</div>

					{includePart parts/languages-switcher}

					{includePart parts/woocommerce-cart}

					{includePart parts/social-icons}

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

		{if $elements->unsortable[revolution-slider]->display}
		{includeElement $elements->unsortable[revolution-slider]}
		{/if}

		<div class="sticky-menu menu-container" >
			<div class="grid-main">
				<div class="site-logo">
					{if $options->theme->header->logo}
					<a href="{$homeUrl}" title="{$wp->name}" rel="home"><img src="{$options->theme->header->logo}" alt="logo"></a>
					{else}
					<div class="site-title"><a href="{$homeUrl}" title="{$wp->name}" rel="home">{$wp->name}</a></div>
					{/if}
				</div>
				<nav class="main-nav">
					<!-- wp menu here -->
				</nav>
			</div>
		</div>

	</div>

	<div id="page" class="hfeed page-container">

{if $pagenow == 'wp-activate.php'}
<div id="main" class="elements">
    <div class="grid-main">
        <div class="activate-form">
{/if}