/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/
/* сss сброс */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* общее */
body {
	background-color: #f2f5f6;
	max-width: 915px;
	
	font-family: 'Open Sans', sans-serif;
	font-size: 14px;
	font-weight: 400;

	margin-left: auto;
	margin-right: auto;
	-webkit-box-shadow: 0 0 15px 2px rgba(0,0,0,0.41);
	-moz-box-shadow: 0 0 15px 2px rgba(0,0,0,0.41);
	box-shadow: 0 0 15px 2px rgba(0,0,0,0.41);
}
@media screen and (min-width: 1281px) {
	body {
		max-width: 1000px;
	}
}
@media screen and (min-width: 960px) {
	body {
		background: url('/img/bg2.png') repeat-y fixed center #f2f5f6;
	}
}
a {
	text-decoration: underline;
    color: #4d55a1;
}
a:hover {
    text-decoration: none;
}
b, strong, h1, h2, .bold, th, nav a {
	font-weight: 600;
}
h1, h2 {
	font-size: 15px;
}
i {
	font-style: italic;
}
header {
	position: relative;
	background: url("/img/header.jpg") no-repeat center top #222;
}
div#logo > img {
	vertical-align: middle;
}
div#logo {
	display: block;
	padding: 20px 0;
	text-align: center;
}
div#title {
	display: inline-block;
	vertical-align: middle;
	margin-left: 20px;
}
header p {
	color: #fff;
	font-size: 28px;
	text-transform: uppercase;
	text-shadow: 1px 1px 0 #222, 0 0 20px #000;
}
#vk {
	position: absolute;
	right: 14px;
	top: 10px;
}
/* меню */
nav {
	border-top: 3px solid #a7d307;
	width: 100%;
}
nav ul {
	background: rgba(0, 0, 0, .8);
	padding: 2px 0;
	text-align: center;
}
nav li {
	display: inline-block;
}
nav a {
	display: inline-block;
	color: #fff;
	text-decoration: none;
	border: 1px solid transparent;
	padding: 8px 10px;
}
nav a:hover, .a_active {
	background: rgba(84, 84, 84, .64);
	border-color: #a0c70d;
}
section#content {
	background-color: #fff;
	padding: 2px 15px;
}
/* новостной блок */
section.page_news article {
	padding: 16px 0;
	border-bottom: 3px solid #a7d307;
}
section.page_news article:nth-child(2n) {
	background-color: #f2f5f6;
}
section.page_news article h1 {
	padding-left: 24px;
	background: url("/images/0011_kps.gif") 0 center no-repeat;
	color: #36c;
}
section.page_news article h2 {
	color: #444;
}
section.page_news article span.date {
	color: #f00;
	margin-right: 0.4em;
}
article p {
	margin-top: 1em;
	line-height: 160%;
}
article p.header {
	margin-top: 0;
}
.group div {
	margin: 0.8em 5px 0 5px;
	padding: 6px;
	border: 1px solid #a7d307;
	border-radius: 5px;
	background-color: #FDFEF8;
}
.logo.group div {
	overflow: auto;
}
/* новостная секция, где требуется обтекать картинку */
article.logo::before,
article.logo::after {
	content: "";
	display: table;
}
article.logo::after {
	clear: both;
}
article.logo {
	clear: both;
	*zoom: 1;
}
article.logo > img, article.logo > a > img, article.logo .logo {
	margin: 6px 0 0 8px;
	float: right;
	text-align: right;
}
/* низ страницы */
footer {
	position: relative;
	background: url('/img/header.jpg') no-repeat center bottom #222;
	color: #fff;
	border-top: 3px solid #a7d307;
	padding: 4px 12px;
	text-shadow: 1px 1px 0 #222;
	line-height: 150%;
	text-align: right;
}
footer > p:first-child {
	float: left;
}
footer > p:last-child {
	clear: left;
}
img#counter {
	vertical-align: top;
	margin-left: 10px;
}
a.mail {
	color: #fff;
	margin-left: 4px;
	padding-left: 30px;
	background: url('/img/mail.png') 0 center no-repeat;
}
/* навигация по годам */
.archive {
	padding: 13px 8px;
	color: #222;
}
.archive_top {
	border-bottom: 3px solid #a7d307;
}
.archive a {
	display: inline-block;
	min-width: 24px;
	text-align: center;
	text-decoration: none;
	padding: 4px 12px 5px 12px;
	margin: 3px 4px;
	border: 1px solid #a7d307;
	background-color: #FDFEF8;
}
.archive a:hover {
	color: #36c;
	text-decoration: underline;
}
.archive_active {
	color: #36c;
	font-weight: 600;
}
/* блок: Получаем данные... */
div.msg {
	padding: 100px 10px;
	text-align: center;
	font-size: 16px;
}
/* блок: Не удалось загрузить */
.msg_error {
	color: #f00;
}
/* Результаты */
section.page_result article {
	margin: 16px 5px;
	padding: 6px;
	border: 1px solid #a7d307;
	border-radius: 5px;
	background-color: #FDFEF8;
}
section.page_result h1 {
	background: url("/img/marker.png") 0 center no-repeat;
	color: #444;
	padding-top: 1px; /* размер маркера 16х16, а размер шрифта 15 */
	padding-left: 22px;
}
section.page_result h1 span.date {
	margin-right: 0.4em;
	color: #777;
}
section.page_photo div {
	padding: 12px 20px;
	line-height: 200%;
}
section.page_calendar p {
	margin-bottom: 16px;
}
section.page_calendar h1 {
	text-align: center;
	color: #222;
	padding: 16px;
}
section.page_calendar table {
	background-color: #fff;
	border-collapse: collapse;
	width: 100%;
	text-align: center;
	margin: 16px 0;
}
section.page_calendar tr:nth-child(2n+1) {
	background: #f2f5f6;
}
section.page_calendar td, th {
	padding: 8px 10px;
	vertical-align: middle;
	border: 2px solid #c3c3c3;
	line-height: 140%;
}
section.page_calendar th {
	border: 2px solid #a7d307;
	background-color: #FDFEF8;
}
section.page_materials h1 {
	padding-top: 16px;
	padding-bottom: 8px;
	margin-bottom: 12px;
	color: #36c;
	border-bottom: 3px solid #a7d307;
}
section.page_materials p {
	padding-bottom: 12px;
	line-height: 190%;
}