/* <-----------------[ Normalize ]-----------------> */
* {padding: 0;	margin: 0;}
ol,ul {list-style: none;}
*,*:before,*:after {-webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;}
hr {background-color: #eaeaea; background-color: rgba(51, 51, 51, 0.1);	border: 0; height: 1px;	margin-bottom: 1.6em;}
.clear:before,
.clear:after {content: " "; display: table;}
.clear:after {clear: both;}
h1,h2,h3,h4,h5,h6 {clear: both;}
b,strong {font-weight: bold;}
html {-ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%;}
body {margin: 0;}
article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary {display: block;}
a {background-color: transparent;}
a:active,a:hover {outline: 0;}
table {border-collapse: collapse; border-spacing: 0;}
td,th {padding: 0;}
a img {border: 0;}

/* <-----------------[ GLOBAL ]-----------------> */

html, body {height: 100%;}
html {font-size: 62.5%;}
body {
	font-family: Tahoma, Arial, Times;
	color: #222;
	background: linear-gradient(to bottom, #404040 15px, #E7F1FA 15px, #D1E2EA 115px, #C6C5C1 115px, #f1f1f1 116px) no-repeat;
	background-color: #f1f1f1;
}

a {
	color: #29487A;
	text-decoration: none;
}
a:active {color: #ee0000;}
a:hover,
a.current {text-decoration: underline;}

p {
	margin: 8px 15px;
	font: 1.4rem Roboto, sans-serif;
	line-height: 1.4em;
	color: #353535;
}

hr {
	margin: 0 15px;
	border: 0px;	
	border-top: 1px solid #9fa4c4;
}

.pics img {
	max-width: 100%;
	min-width: 100px;
}
.pics,
.vids {text-align: center;}
.vids object {
	display: block;
	margin: 10px auto;
}

h1 {
	padding: 3px 15px;
	font: 1.8rem/1.5 Roboto, sans-serif;
	color: #383838;
}
h2,h3 {
	margin: 0 15px;
	color: #383838;
}
h2 {font: 1.8rem/1.333 Roboto, sans-serif;}
h3 {font: 1.6rem/1.333 Roboto, sans-serif;}

/* AdSense */

.ad-sidebar {
	width: 85%;
	height: auto;
	margin: 20px auto 0;
}
.ad-content-top,
.ad-content-bottom {
	max-width: 100%;
	height: auto;
	margin: 15px;
}


.container {
	max-width: 1000px;
/* Footer к низу */
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 auto -60px;
}

/* <-----------------[ HEADER ]-----------------> */

.header {
	position: relative;
	height: 115px;
}

.logo {
	position: absolute;
	top: 34px;
	left: 5px;
	background: url(/img/logo.png) no-repeat;
}
.logo,
.logo a {
	display: block;
	width: 195px;
	height: 44px;
}

.main-menu {
	position: absolute;
	top: 44px;
	right: 15px;
	width: 74%;
	text-align: right;	
}

.main-menu li {
	display: inline-block;
	margin-right: 20px;
	line-height: 1.8em;
}

.main-menu li a {
	font: 1.5rem Roboto, sans-serif;
	color: #404040;
	text-decoration: none;
}
.main-menu li a:hover {text-decoration: underline;}

/* <-----------------[ MAIN-AREA ]-----------------> */

.main-area {
	margin-top: -20px;
	padding: 15px 0 0;
	background: linear-gradient(to bottom, #DBE3E8 , #fff 40px, #fff);
	background-color: #fff;
	border-top: 1px solid #ccc;
	box-shadow: 0px 2px 4px;
	border-radius: 10px 10px 0 0;
}
.main-area:before,
.main-area:after {
	content: " "; 
	display: table; 
}
.main-area:after {
	clear: both;
}

/* <-----------------[ SIDEBAR ]-----------------> */

.drop-button, 
.toggle-button {display: none;}

.sidebar {
	float: left;
	width: 28%;
}

.sidebar h3 {
	font: bold 1.5rem/1.6em Roboto, sans-serif;
	margin: 0 24px 10px;
	text-align: center;
	color: #264157;
	border: 1px solid #5b8eb9;
	background: linear-gradient(to bottom, #acc6db, #8bafcd);
	border-radius: 5px;
	text-shadow: 0px 1px 0 #ccc;
}

.sidebar-menu ul {
	margin: 0 auto;
	padding: 3px 0;
	width: 85%;
	border: 1px solid #e0e0e0;
	background: #ededed;
	border-radius: 10px;
}
.sidebar-menu li {
	margin: 0 15px;
	padding: 5px 0;
	border-bottom: 1px solid #dbdbdb;
	box-shadow: 0 1px 0 #fff;
} 
.sidebar-menu li:last-child {
	border-bottom: none;
	box-shadow: none;
} 
.sidebar-menu li a {
	font: 1.4rem/1.5em Roboto, sans-serif;
	color: #4c555b;

} 

/* <-----------------[ CONTENT ]-----------------> */

.content {
	float: right;
	width: 71%;
	margin-right: 1%;
	border: 1px solid #dedede;
	border-radius: 10px 10px 0 0;
}

.content h1 {
	background: #E3EDF2;
	border-radius: 10px 10px 0 0;
}

/* <-----------------[ FOOTER ]-----------------> */

.footer {
	width: 100%;
	margin: 0 auto;
	padding-top: 22px;
	font: 1.1rem Roboto, sans-serif;	
	color: #3978A6;
	text-align: center;		
	border-top: 1px solid #6BA3CB;
	background: #afcde3;
	text-shadow: 0px 1px 0 #e0e0e0;
}

.footer a {color: #3978A6;}

.footer, .push {
	height: 60px;
	clear: both;
}

/* /--------------------------------------------\ */
/* <-----------------[ @MEDIA ]-----------------> */  
/* \--------------------------------------------/ */


@media screen and (max-width: 900px) {
	.main-menu {
		width: 60%;
		top: 28px;
		text-align: right;	
	}
	.main-menu li {
		display: inline-block;
		margin-right: 10px;
		line-height: 2.4em;
	}
}

@media screen and (max-width: 640px) {
	.sidebar {
		float: none;
		width: 100%;
	}
	.content {
		float: none;
		width: 100%;
	}
	
	.sidebar h3 {display: none;}
	
	.toggle-button {
		display: inline-block;
		font: bold 1.5rem/2.2em Roboto, sans-serif;
		margin: 0 0 10px 15px;
		padding: 0 3em;
		color: #264157;
		border: 1px solid #5b8eb9;
		background: linear-gradient(to bottom, #acc6db, #8bafcd);
		border-radius: 5px;
		text-shadow: 0px 1px 0 #ccc;
	}
	
	.sidebar-menu ul {
		margin-top: 10px;
		width: 100%;
		background: #404040;
		border: 0;
		border-radius: 0;
	}	
	.sidebar-menu li {
		margin: 0;
		border-bottom: 1px solid #202020;
		box-shadow: none;
	}
	.sidebar-menu li a {
		display: block;
		padding-left: 10px;
		font: bold 1.3rem/3em Roboto, sans-serif;
		color: #f1f1f1;
	}
	.sidebar-menu li a:hover {
		color: #404040;
		text-decoration: none;
		background: #bbd0e1;
	}		

	#menu {
		background: #404040;
		z-index:1;
	}
	
	.slideout-menu {
		position: fixed;
		left: 0;
		top: 0;
		bottom: 0;
		right: 0;
		z-index: 0;
		width: 180px;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		display: none;
	}
	.slideout-panel {
		position:relative;
		z-index: 1;
	}
	.slideout-open,
	.slideout-open body,
	.slideout-open .slideout-panel {overflow: hidden;}
	.slideout-open .slideout-menu {display: block;}
}

@media screen and (max-width: 500px) {
	.container {
		max-width: 500px;
	}
	
	p {
		margin: 5px 10px;
		font: 1.4rem Roboto, sans-serif;
		line-height: 1.4em;
	}
	
	hr {margin: 0 10px;}
	
	h2,h3 {margin: 0 10px;}
	h1 {font: 1.8rem/1.333 Roboto, sans-serif;}
	h2 {font: 1.6rem/1.333 Roboto, sans-serif;}
	h3 {font: 1.2rem/1.333 Roboto, sans-serif;}
	
	.ad-content-top,
	.ad-content-bottom {
		margin: 10px 10px 0;
	}
		
	.toggle-button {
		margin-left: 10px;
	}

	.main-menu {
		width: 135px;
		top: 40px;
		right: 25px;
		text-align: left;		
		z-index: 2;
	}
	.main-menu:hover .drop-down {
		display: block;
		background: #404040;
	}		
	
	.drop-button {
		display: inline-block;
		font: bold 1.5rem/2.2em Roboto, sans-serif;
		padding: 0 .5em;
		color: #264157;
		border: 1px solid #5b8eb9;
		background: linear-gradient(to bottom, #acc6db, #8bafcd);
		text-shadow: 0px 1px 0 #ccc;
	}
	.drop-down {
		display: none;
		width: 126px;
	}
	.drop-down li {
		display: block;
		margin: 0;
		border-bottom: 1px solid #202020;
		white-space: nowrap;
	}
	.drop-down li a {
		display: block;
		padding-left: 10px;
		font: bold 1.3rem/3em Roboto, sans-serif;
		color: #f1f1f1;
	}
	.drop-down li a:hover {
		color: #404040;
		background: #bbd0e1;
		text-decoration: none;
	}			
}

@media screen and (max-width: 360px) {
	body {background: linear-gradient(to bottom, #404040 10px, #E7F1FA 10px, #D1E2EA 90px, #C6C5C1 90px, #f1f1f1 91px) no-repeat;}
	
	.container {
		max-width: 360px;
		min-width: 316px;
	}
	
	.ad-content-top { margin: 15px 0; }		
	.ad-content-top ins {
		width: 320px;
		height: 100px;
	}
	
	h1 {font: 1.6rem/1.333 Roboto, sans-serif;}
	h2 {font: 1.4rem/1.333 Roboto, sans-serif;}
	h3 {font: 1rem/1.333 Roboto, sans-serif;}
	
	.header {height: 90px;}
	
	.logo {
	position: absolute;
	top: 24px;
	left: 10px;
	background: url(/img/logo-m.png) no-repeat;
	}
	.logo,
	.logo a {
		display: block;
		width: 155px;
		height: 35px;
	}

	.main-menu {
		top: 22px;
		right: 0px;
	}
}
/*
     */
/*
*/