/*#############################################################
Name: Beautiful Day
Date: 2006-11-12
Description: A soft and bright two-column template.
Author: Viktor Persson
URL: http://templates.arcsin.se

Feel free to use and modify but please provide credits.
#############################################################*/

/* standard elements */
* {
	margin: 0;
	padding: 0;
}
.w-lg-229{
	width: 229px;
}
a {color: #963;}
a:hover {color: #C60;}

body {
	background: #CCD8E0 url(../images/bg.jpg) repeat-x left bottom;
	color: #444;
	font: normal 62.5% Tahoma,sans-serif;
}

p,code,ul {padding-bottom: 1.2em;}

li {list-style: none;}

h1 {
	font: normal 1.4em Tahoma,sans-serif;
	margin-bottom: 10px;
}

code {
	background: #FFF;
	border: 1px solid #EEE;
	border-left: 6px solid #C1CAD3;
	color: #666;
	display: block;
	font: normal 1em Tahoma,sans-serif;
	line-height: 1.6em;
	margin-bottom: 12px;
	padding: 8px 10px;
	white-space: pre;
}

blockquote {
	background: url(../images/quote.gif) no-repeat;
	display: block;
	font-weight: bold;
	padding-left: 28px;
}

h1,h2,h3 {padding-top: 6px;}

/* misc */
.clearer {clear: both;}

.left {float: left;}

.right {float: right;}

/* structure */
.container {
	background: #FFF;
	font-size: 1.2em;
	margin: 0 auto;
	padding: 0 15px 10px;
	width: 922px;
}

/* header */
.top {
	margin: 50px 10px 0;
	height: 185px;
}

/* title */
.header {
	background: #FFF;
	font-size: 1.2em;
	height: 182px;
	margin: 0 auto;
	padding: 10px 15px 5px;
	width: 922px;
}
.header .left, .header .right {
	background: #A4A4A0;
	color: #FFF;
	height: 150px;
}
.header .left {
	background: #B3C2C7 url(../images/header.jpg) no-repeat;
	font: normal 2.8em "Trebuchet MS",sans-serif;
	line-height: 150px;
	text-align: center;
	/*width: 564px;*/
}
.header .right {
	overflow: auto;
	width: 212px;
}
.header .right p,.header .right h2 {padding: 0 16px;}
.header .right h2 {padding-top: 16px; font: normal 1.6em "Trebuchet MS",sans-serif;}

/* navigation */
.navigation {
	background: #D9E1E5 url(../images/nav.gif);
	border: 1px solid #DFEEF7;
	border-color: #DFEEF7 #CFDEE7;
	height: 41px;
	font-size: 13px;
}
.navigation a {
	background: #D9E1E5 url(../images/nav.gif);
	border-right: 1px solid #AFBEC7;
	color: #456;
	display: block;
	float: left;
	font: bold 1.1em sans-serif;
	line-height: 30px;
margin-top: 10px;
	text-decoration: none;
}
.navigation a.last {
	border-right: none;
}
.navigation a:hover {background-position: left bottom; color: #234;}

/* main */
.main {
	border-top: 4px solid #FFF;
	background: url(../images/bgmain.gif) repeat-y;
}

.entry {
	width: 628px;
	padding: 0 13px;
}
iframe {
	width: 100% !important;
}

/* sub navigation */
.sidenav {
	float: right;
	width: 262px;
}
.sidenav.last-posts {
	float: left;
	width: 655px;
	background:#B3C2C7;
}
.sidenav h2 {
	color: #5A5A43;
	font-size: 14px;
	line-height: 30px;
	margin: 0;
	padding-left: 10px;
}
.sidenav ul {
	padding: 0;
	border-top: 1px solid #EAEADA;
}
.sidenav li {border-bottom: 1px solid #EAEADA;}
.sidenav li a {
	font-size: 1.1em;
	color: #554;
	display: block;
	padding: 8px 0 8px 5%;
	text-decoration: none;
	width: 95%;
}
.sidenav li a:hover {
	background: #F0F0EB;
	color: #654;
}

/* content */
.content {
	float: left;
	margin: 10px 0;
	padding: 0 2px; /*0 16px*/
	width: 531px;
	font-size: 14px;
	line-height: 21px;
}
.content .descr {
	color: #664;
	font-size: 0.9em;
	margin-bottom: 6px;
}
.content li {
	margin-bottom: 10px;
	display: inline;
}
.content li.active {
	background-color: #a4a4a0;
	padding: 1px 4px;
}
.content li small {
	font-size: 0.7em;
	color: gray;
}
.content p {font-family: sans-serif;}

/* footer */
.footer {
	background: url(../images/bgfooter.gif) repeat-x;
	color: #FFF;
	font: bold 1em sans-serif;
	line-height: 39px;
	text-align: center;
}
.footer a,.footer a:hover {color: #FFF;}

.header.last-posts {
	padding: 10px 0;
}

div.mn_left{display:inline-block;margin-right:5px; height:159px; width:136px;margin-bottom:5px;}
div.mn_left a{display:block;padding: 130px 0 10px 0;text-align:center;}

div.img01{background:url(/images/Army-and-Navy.jpg) no-repeat;}
div.img02{background:url(/images/Orthodoxy.jpg) no-repeat;}
div.img03{background:url(/images/icon_kino.jpg) no-repeat;}
div.img04{background:url(/images/Events.jpg) no-repeat;}
div.img05{background:url(/images/Collaborative-Projects1.jpg) no-repeat;}
div.img06{background:url(/images/Sports.jpg) no-repeat;}
div.img07{background:url(/images/Patronage.jpg) no-repeat;}
div.img08{background:url(/images/raznoe.jpg) no-repeat;}

#searchform	{
	float: right;
	margin-right: 7px;
	margin-top: 1px;
}
#searchform .search-text {
	height: 27px;
	margin-top: 6px;
	padding-left: 5px;
	box-sizing: border-box;
	margin-right: -5px;
	width: 194px;
}
#searchform .search-btn	{
	height: 27px;
	padding: 0px 10px;
	box-sizing: border-box;
	margin-right: -2px;
}

.slidenav ul li{
	display: flex;
}
.sidenav li a {
	padding: 8px 0 8px 10px;
}
.sidenav.last-posts {
	margin-bottom: 5px
}
.sidenav li a {
	width: auto;
}

.footer {
	border-top: 3px solid #abbeca;
	background: #b7c7d1;
	color: #554;
	line-height: normal;
	text-align: left;
	padding: 15px 10px;
}
.footer__copy {
	margin-bottom: 15px;
	font-size: 14px;
}
.footer__text {
	margin-bottom: 0;
	font-size: 12px;
	line-height: normal;
	color: #554;
	font-weight: normal;
	font-size: 12px;
	margin-bottom: 15px;
	line-height: 1.3;
}
.footer__age {
	font-size: 16px;
	color: #fff;
	padding: 5px 8px;
	opacity: .5;
	background-color: #554;
	display: inline-block;
}
.baseHdr{
	font-weight: bold;
	color: #5A5A43;
	font-size: 14px;
	line-height: 30px;
	margin: 0;
	padding-left: 10px;
}
.list-category{
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	align-content: stretch;
	justify-content: space-around;
	align-items: stretch;
}
/* =============================================== */
/* MOBILE VERSION - МОБИЛЬНАЯ ВЕРСИЯ */
/* =============================================== */

@media screen and (max-width: 768px) {

	/* Структура */
	.container {
		width: 100%;
		padding: 0 10px 0 7px;
	}

	/* Хедер */
	.header {
		width: 100%;
		height: auto;
		padding: 5px;
	}
	.navigation a {
		background: #D9E1E5 url(../images/nav.gif);
		border-right: 1px solid #AFBEC7;
		color: #456;
		display: block;
		float: left;
		font: bold 1.1em sans-serif;
		line-height: 30px;
		margin-top: 0;
		padding-top: 10px;
		text-decoration: none;
	}

	.header .left,
	.header .right {
		float: none;
		width: 100% !important;
		margin-bottom: 10px;
	}
	.h-sm-130{
		height: 130px !important;
	}

	.header .left {
		line-height: 120px;
		height: 120px;
		font-size: 2em;
	}

	/* Навигация */
	.navigation {
		height: auto;
	}

	.navigation a {
		float: none;
		display: block;
		width: 100%;
		text-align: center;
		border-right: none;
		border-bottom: 1px solid #AFBEC7;
	}

	.navigation a.last {
		border-bottom: none;
	}

	/* Основной контент */
	.main {
		background: none;
	}

	.content,
	.sidenav {
		float: none;
		width: 100% !important;
		margin: 10px 0;
	}

	.sidenav.last-posts {
		float: none;
		width: 100% !important;
	}

	.entry {
		width: 100%;
		padding: 0 5px;
	}

	/* Блоки контента */
	.content {
		padding: 0 5px;
		font-size: 16px;
		line-height: 1.5;
	}

	/* Поисковая форма */
	#searchform {
		float: none;
		width: 100%;
		margin: 10px 0;
		text-align: center;
	}

	#searchform .search-text {
		width: 70%;
		margin-right: 0;
	}

	/* Изображения меню */
	div.mn_left {
		width: calc(50% - 10px);
		height: 120px;
		margin: 5px;
	}

	div.mn_left a {
		padding: 100px 0 10px 0;
		font-size: 0.9em;
	}

	/* Списки категорий */
	.list-category {
		flex-direction: column;
	}

	.slidenav ul li {
		flex-direction: column;
	}

	/* Футер */
	.footer {
		text-align: center;
		padding: 10px;
	}

	.footer__copy,
	.footer__text {
		text-align: center;
	}
}

@media screen and (max-width: 480px) {

	/* Еще более мелкие экраны */
	.header .left {
		font-size: 1.5em;
		line-height: 100px;
		height: 100px;
	}

	.header .right h2 {
		font-size: 1.2em;
		padding-top: 10px;
	}

	.content {
		font-size: 14px;
	}

	div.mn_left {
		width: 100%;
		margin: 5px 0;
	}

	#searchform .search-text {
		width: 60%;
	}

	.navigation a {
		font-size: 1em;
		line-height: 35px;
	}

	.sidenav h2,
	.baseHdr {
		font-size: 16px;
		line-height: 24px;
		padding-left: 5px;
	}

	.sidenav li a {
		padding: 10px 5px;
		font-size: 14px;
	}
}

/* Для очень высоких мобильных устройств */
@media screen and (max-width: 768px) and (orientation: landscape) {
	.header .left {
		height: 80px;
		line-height: 80px;
		font-size: 1.8em;
	}
}

/* Адаптивные изображения */
img {
	max-width: 100%;
	height: auto;
}

/* Улучшение читаемости на мобильных */
@media screen and (max-width: 768px) {
	body {
		font-size: 16px;
		line-height: 1.4;
	}

	p, code, ul {
		padding-bottom: 1em;
	}

	h1 {
		font-size: 1.6em;
		margin-bottom: 15px;
	}

	code {
		font-size: 0.9em;
		padding: 6px 8px;
		overflow-x: auto;
	}
}