<!DOCTYPE html>
<html lang="ru">
	<head>
		<title><?php 
			global $page, $paged;
			wp_title( '|', true, 'right' );
			bloginfo( 'name' );
			$site_description = get_bloginfo( 'description', 'display' );
			if ( $site_description && ( is_home() || is_front_page() ) )
				echo " | $site_description";
			if ( $paged >= 2 || $page >= 2 )
				echo ' | ' . sprintf( __( 'Page %s', 'twentyten' ), max( $paged, $page ) );
		?></title>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta name=description content="" />
		<meta name=keywords content="" />
		<meta name="viewport" content="width=device-width, initial-scale=1" />
		<link href="<?php bloginfo('template_url'); ?>/favicon.ico" rel="shortcut icon" type="image/x-icon" />
		<!-- style -->
		<link href="<?php bloginfo('template_url'); ?>/css/bootstrap-theme.min.css" rel="stylesheet" type="text/css" />
		<link href="<?php bloginfo('template_url'); ?>/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
		<link href="<?php bloginfo('template_url'); ?>/style.css" rel="stylesheet" type="text/css" />
		<link rel="stylesheet" type="text/css" media="print" href="<?php bloginfo('template_url'); ?>/print.css" />
		<?php wp_head(); ?>
	</head>
	<body>
	<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-76786741-1', 'auto');
  ga('send', 'pageview');

</script>
		<?php if( is_front_page() ) {?>
  	 		<style>.hero_image {height: 300px;}</style>
  	 	<?php }; ?>
		<div class="hero_image">
			<div class="container">
				<div class="row">
  	 			
					<div class="logo">
						<h1><a href="<?php echo home_url(); ?>"><?php bloginfo('name'); ?></a></h1>
						<?php bloginfo('description'); ?>
					</div>	
				</div>			
			</div>
		</div>
						<div class="menu_top">
							<nav class="container" id="nav">
							  <div class="navbar-header visible-xs">
							    <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
							      <span class="sr-only">Toggle navigation</span>
							      <span class="icon-bar"></span>
							      <span class="icon-bar"></span>
							      <span class="icon-bar"></span>
							    </button>
							    <a class="navbar-brand" href="<?php echo home_url(); ?>"><?php bloginfo('name'); ?></a>
							  </div>
							 
							  <div class="collapse navbar-collapse navbar-ex1-collapse">	
									<div class="navbar" role="navigation">
										<?php wp_nav_menu( array( 
										'menu_class' => 'role="navigation',
										'menu_id' => 'navigation',
										) ); ?>
									</div>
							  </div>
							</nav>
						</div>
						<div class="box_shadow"></div>
					<div class="container">
					<div class="row">
						<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
						<!-- TopAd -->
						<ins class="adsbygoogle"
						 	style="display:block"
						 	data-ad-client="ca-pub-7105617870736530"
						 	data-ad-slot="2953342319"
						 	data-ad-format="auto"></ins>
						<script>
						(adsbygoogle = window.adsbygoogle || []).push({});
						</script>
					</div>	
					</div>