.reset{ margin: 0; padding: 0; border: none }
table.reset{ border-collapse: collapse; }
ul.reset{ list-style-type: none; }
.clear{clear: both;}
.hide{display: none;}
.audio{padding-left: 100px;}


/* Теги */
html, body{
	height: 100%;
	width: 100%;
	min-width: 1000px;
	background: #d5d5d5 url(/images/light.png) top right no-repeat;
}

body, p, a{
	font-family: 'Times New Roman';
	color: #777;
	font-size: 16px;
}

p.h1{
	margin-left: 40px;
	margin-top: 10px;
	font-size: 30px;
	color: #4C4C4C;
}

h1{
	color: #4C4C4C;
	font-size: 30px;
	margin: 20px 0;
	padding: 0;
	font-weight: normal;
}
h2{
	color: #808080;
	font-size: 22px;
	margin: 15px 0;
	padding: 0;
}
h3{
	display: block;
	font-size: 1.17em;
	margin: 1em 0;
	padding: 0;
	font-weight: bold;
}
	h3 a{font-size: 1em;}

a{color: #777; }
a:hover{color: #999;}

input, textarea{
	border: none;
	border-radius: 7px;
	background: #E5E5E5;
	padding: 1px;
	margin: 0;
}
input[type='text']{
	width: 230px;
}
input[type='submit']{
	padding: 3px 6px;
	cursor: pointer;
}
	input[type='submit']:hover{background: #999;}
/* end - Теги */



/* Плавающие элементы */
/* тень на главной*/
#shadowmain{
	position: absolute;
	top: 100px;
	left: 50%;
	margin-left: -500px;
	width: 1000px;
	height: 80px;
	background: url(/images/shadow.png) center center no-repeat;
	z-index: 9;
}
#social{
	position: absolute;
	top: 50px;
	left: 60%;
	z-index: 50;
}
	#social ul{list-style-type: none;}
		#social li{display: inline-block; margin: 0 15px;}
		#social a{display: block; width: 19px; height: 19px;}
		#social .fb{background: url(/images/social.png) 0 0 no-repeat;}
			#social .fb:hover{background-position: 0 -19px;}
		#social .sk{background: url(/images/social.png) -19px 0 no-repeat;}
			#social .sk:hover{background-position: -19px -19px;}
		#social .mr{background: url(/images/social.png) -38px 0 no-repeat;}
			#social .mr:hover{background-position: -38px -19px;}
		#social .vk{background: url(/images/social.png) -57px 0 no-repeat;}
			#social .vk:hover{background-position: -57px -19px;}
		#social .tw{background: url(/images/social.png) -76px 0 no-repeat;}
			#social .tw:hover{background-position: -76px -19px;}
		#social .lj{background: url(/images/social.png) -95px 0 no-repeat;}
			#social .lj:hover{background-position: -95px -19px;}

/* ветка на главной */
#left-tree{
	position: absolute;
	top: 0;
	left: 0;
	width: 793px;
	height: 256px;
	z-index: 10;
}
/* ветка на внутренних */
#inner-tree{
	position: absolute;
	top: 0;
	right: 0;
	width: 545px;
	height: 303px;
	z-index: 10;
}
/* цитата на главной */
#citata{
	position: absolute;
	top: 20px;
	right: 20px;
	z-index: 10;
}
/* книги в углу на внутренних */
#inner-books{
	position: absolute;
	top: 0;
	right: 0;
	width: 286px;
	height: 94px;
	background: #A4A4A1;
	z-index: 50;
}
	#inner-books .left{
		position: absolute;
		top: 0;
		left: -145px;
		width: 145px;
		height: 94px;
		background: url(/images/inner-books-menu-left.png);
	}
	#inner-books .bottom{
		position: absolute;
		top: 94px;
		right: 0;
		width: 286px;
		height: 41px;
		background: url(/images/inner-books-menu-bottom.png);
	}
	#inner-books .item{ position: relative; }
	#inner-books a{color: #fff; text-decoration: underline;}
		#inner-books a:hover{text-decoration: none;}
	#inner-books .head{
		margin: 5px 0 5px 10px;
		padding-bottom: 11px;
		background: url(/images/book-ornament-small.png) bottom left no-repeat;
		color: #fff;
	}
	#inner-books .name{margin: 5px 0 5px 10px; color: #fff;}
		#inner-books .name a{font-size: 18px;}
/* end - Плавающие элементы */



/* Структура страниц */
#topblock{min-height: 100%;}

#header{min-width: 1000px; position: relative; z-index: 40;}

#workarea-main{
	max-width: 700px;
	margin: 0 auto;
	padding: 0 0 30px 0;
	position: relative;
	z-index: 30;
}

#workarea{
	min-width: 600px;
	padding: 0 300px 30px 100px;
	position: relative;
	z-index: 30;
}
	#workarea.min{min-width: 850px; padding: 0 50px 30px 100px;}
	#workbottom{height: 180px;} /*блок внизу workarea высота футера*/
	#workarea p{
		line-height: 1.3;
		padding: 5px 0;
		color: #808080;
		/*color: #4C4C4C;*/
	}
	#workarea pre{padding: 10px 0;}
	#workarea a{color: #777; text-decoration: underline;}
		#workarea a:hover{color: #4c4c4c;}

#footer{
	position: relative;
	z-index: 30;
	height: 180px;
	min-width: 1000px;
	margin-top: -180px;
	background: #A4A4A1;
}
	#footer .left{
		position: absolute;
		top: -11px;
		left: 0;
		width: 315px;
		height: 11px;
		background: url(/images/footer-bg-left.png) center center no-repeat;
	}
	#footer .right{
		position: absolute;
		top: -11px;
		right: 0;
		width: 278px;
		height: 11px;
		background: url(/images/footer-bg-right.png) center center no-repeat;
	}
	#footer .ornament{
		position: absolute;
		top: -6px;
		left: 50%;
		margin-left: -164px;
		width: 328px;
		height: 11px;
		background: url(/images/footer-ornament.png) center center no-repeat;
	}
	#footer .text{ padding-top: 25px; }
	#footer p{
		padding-bottom: 20px;
		color: #fff;
		font-size: 14px;
		text-align: center;
	}
	#footer a{color: #fff; font-size: 14px; text-decoration: underline;}
		#footer a:hover{color: #999;}
/* end - Структура страниц */


/* LOGO */

#logo-main{
	padding-top: 255px;
	padding-bottom: 10px;
	text-align: center;
}
#logo-inner{padding-top: 7px; padding-left: 30px;}

/* end - LOGO */

/* MENU */
.simplemenu{list-style-type: none;}
	.simplemenu li{padding: 10px 0;}

#menu{text-align: left; padding-top: 4px;}
	#menu.main{text-align: center; margin-bottom: 30px;}
	#menu.inner{padding-left: 19px;}
	
	#menu ul{position: relative;}
	#menu li{display: inline-block; vertical-align: middle; text-align: left;}
	#menu a{display: block; font-family: Georgia; text-decoration: underline;}
		#menu.main a{padding: 3px 3px;}
		#menu.inner a{padding: 12px 5px;}
		#menu a.selected{color: #fff; text-decoration: none;}

	#menu .sub{
		display: none;
		position: absolute;
		min-width: 170px;
		background: #fff;
		margin-top: 8px;
 		background: rgba(119, 119, 119, 0.7);
	}
		#menu .sub li{display: block; padding: 0 5px; opacity: 1;}
			#menu .sub a{color: #fff; padding: 10px 5px; text-decoration: none; border-bottom: 1px dotted #fff;}
			#menu .sub a:hover{text-decoration: underline;}
/* end - MENU */


#breadcrumb{list-style-type: none;}
	#breadcrumb li{display: inline-block; font-size: 14px; }
		#breadcrumb a{font-size: 14px;}


.main-block{margin-bottom: 40px;}
	.main-block a{text-decoration: underline;}
		.main-block a:hover{text-decoration: none;}
	.main-block .head{text-align: center;}
	.main-block .head a{
		font-size: 20px;
		color: #4d4d4d;
		padding-bottom: 17px;
		background: url(/images/book-ornament.png) bottom center no-repeat;
	}
		.main-block .head a:hover{text-decoration: underline;}

	.main-block .item{background: url(/images/main-ornament.png) center bottom no-repeat; padding: 20px 0;}
		.main-block .item .img{float: left; width: 27%;}
		.main-block .item .body{float: left;}
			.main-block .item .date{font-size: 12px; margin-bottom: 10px;}
			.main-block .item .name{margin-bottom: 10px;}
			.main-block .item .name a{font-size: 18px; text-decoration: underline;}
				.main-block .item .name a:hover{text-decoration: none;}
			.main-block .item p{font-size: 14px; line-height: 1.3; margin: 5px 0;}
			.main-block .more{text-align: right;}
			.main-block .more a{font-size: 12px;}
				.main-block .more a:hover{text-decoration: none;}
			.main-block .item .prop-head{
				font-style: italic;
				font-size: 16px;
			}

.feedback{width: 480px; background: url(/images/contact_ramka.png) center right no-repeat;}
	.feedback div{padding: 5px 0;}
	.feedback label{display: block; width: 85px; float: left;}
	.feedback textarea{margin-top: 5px; width: 425px; height: 95px;}

.items-list .hidetext{display: none;}
	.items-list .item{
		margin-bottom: 20px;
		padding-bottom: 20px;
		background: url(/images/footer-ornament.png) left bottom no-repeat;
	}

.verse-list p{text-align: center;}

.books{width: 100%;}
	.books td{width: 50%;}

#books-detail{width: 100%;}
	#books-detail td{vertical-align: top;}
	#books-detail .img{width: 350px;}
	#books-detail .body{}
		#books-detail .props{}
		#books-detail .props p{
			color: #4e4e4e;
			margin: 3px 0;
			padding: 0;
		}
			#books-detail .props td{padding: 2px 3px 2px 0; font-style: italic;}
		#books-detail a{color: #4e4e4e;}
			#books-detail a:hover{color: #fff; border-color: #fff;}
		
		.props .toggle{}
			.props .toggle:hover{}

		.props .toggleblock{
			display: none;
			border-left: 1px solid #808080;
			margin-top: 10px;
			padding-left: 10px;
		}
		#books-detail .prop-head{
			font-style: italic;
			font-size: 16px;
			color: #4e4e4e;
		}

.kritika .item{
	margin-bottom: 20px;
	padding-bottom: 20px;
	background: url(/images/footer-ornament.png) center bottom no-repeat;
}

#gallery .item{
	float: left;
	margin: 0 5px 10px 5px;
}
	#gallery .prev{
		border: 1px solid #808080;
		width: 250px;
		height: 250px;
		margin: 10px;

		overflow: hidden;
		position: relative;
	}
		#gallery .ic{position: absolute; left: 50%; top: 50%; width: 3000px; height: 3000px; margin-left: -1500px; margin-top: -1500px;}
			#gallery .ic img{margin: auto; position: absolute; top: 0; left: 0; bottom: 0; right: 0;}
	
	#gallery .name{display: block; font-weight: bold; text-align: center;}