html, body {
	height: 100%;
	margin: 0;
	padding: 0;
}

body {
	width: 100%;
	position:relative;
}

html>body #container {
	height: auto;
	min-height: 100%;
}

img {
	border: none;
}

a, input {
	outline: none;
}

ul, li, input, form, p, img, table, tr, td {
	margin: 0px;
	padding: 0px;
}

.clear , .clear-right, .clear-both {
	line-height: 0px;
	height: 0px;
	padding: 0px;
	margin: 0px;
	border: 0px;
	font-size: 0px;
}

.clear {
	clear: left;
}

.clear-right {
	clear: right;
}

.clear-both {
	clear: both;
}

/*-------------�������� ��������� ��� �������-------------*/
#container { 
	position: relative;
	height: 100%;
	min-width: 1004px;
	width: expression(document.body.clientWidth > 1004 ? "100%" : "1004px")
}

/*****************************************/
/*---------------------�����-------------------*/
/*****************************************/
#header { 
	height: 158px;
	background: url(../images/header_back.jpg) repeat-x left top;
}

#header-left {
	height: 158px;
	background: url(../images/header_left_back2.jpg) no-repeat left top;
}

#header-right {
	height: 158px;
	background: url(../images/header_right_back.jpg) no-repeat right top;
}

#header #header-left #logo{ 
	height: 158px;
	width: 214px;
	float: left;
}

#header #header-left #logo img {
	position: relative;
	left: 54px;
	top: 6px;
	height: 152px;
	width: 160px;
}

*html #header #header-left #logo img {
	position: relative;
	left: 58px;
	top: 6px;
	filter:expression(PNG(this));
}

#menu-wrap { 
	padding-top: 91px;
	margin-left: 214px;
}

#menu { 
	height: 41px;
	background: url(../images/menu_back_2.png) no-repeat 0 0;
	filter:expression(PNG(this));
}

#header #menu ul {
	list-style-type: none;
	z-index: 500;
}

#header #menu ul li {
	float: left;
}

#header #menu ul li a {
	float: left;
	text-decoration: none;
	font: bold 12px Arial, Verdana !important;
	color: #343b3e !important;
}

#header #menu ul li a:hover {
	color: #FFF !important;
}

/*#header #menu ul li a.a1 {
	display: block;
	width: 80px;
	padding: 14px 0px 0px 11px;
	height: 27px;
	background: url(../images/a1_back.jpg) no-repeat 0px 0px;
}

#header #menu ul li a.a1:hover {
	background: url(../images/a1_back_hover.jpg) no-repeat 0px 0px;
}*/

a.a1, a.a2, a.a3, a.a4, a.a5, a.a6, a.a7 {
	position: relative;
	top: 6px;
	display: block;
	padding: 8px 10px 0px 10px;
	height: 27px;
}

a.a7 {
	display: block;
	padding: 8px 10px 0px 10px;
	height: 27px;
}

a.a1:hover, a.a2:hover, a.a3:hover, a.a4:hover, a.a5:hover, a.a6:hover, a.a7:hover {
	background-color: #3d352f;
}

/*****************************************/
/*------------------�������-------------------*/
/*****************************************/
#content h1 {
	padding: 0px;
	margin: 0px;
	margin-bottom: 9px;
	font: 21px Times New Roman, Verdana, Arial !important;
	color: #5c1919 !important;
}

#content h2 {
	padding: 0px;
	margin: 0px 0px 5px 13px;
	font: 24px Times New Roman, Verdana, Arial !important;
	color: #5c1919;
}

/*------------------����� �����-------------------*/
#left {
	width: 265px;
	float: left;
	margin-left:-100%;
	background: url(../images/left_back.jpg) no-repeat right top;
}

.banner {
	margin-bottom: 10px;
}

#photo-gallery {
	padding: 46px 16px 0px 72px;
	text-align: center;
	width: 177px;
}

#other-left {
	padding: 0px 16px 0px 72px;
	text-align: center;
	width: 177px;
	min-height: 636px;
	background: url(../images/other_left_back.jpg) no-repeat right 216px;
}

*html #other-left {
	height: 636px;
}

#necrolog {
	width: 160px;
	margin: 32px 0px 0px 8px;
}

#necrolog-date {
	font: bold 11px Arial, Verdana !important;
	color: #000;
	width: 160px;
	padding: 3px 0px 3px 0px;
	text-align: center;
	background-color: #cdcdcd;
}

#necrolog img{
	margin-bottom: 6px;
}

#necrolog a#necrolog-header {
	font: bold 12px Arial, Verdana !important;
	color: #000;
	text-decoration: underline;
}

#necrolog a#necrolog-header:hover {
	text-decoration: none;
}

#necrolog p {
	padding: 10px 0px 10px 0px;
	font: 12px Arial, Verdana !important;
	color: #7f7f7f;
}

#necrolog a#necrolog-comment {
	font: 12px Arial, Verdana !important;
	color: #5c1919;
	text-decoration: underline;
}

#necrolog a#necrolog-comment:hover {
	text-decoration: none;
}

/*-----------------������ �����-------------------*/
#right {
	padding: 6px 55px 0px 4px;
	width: 177px;
	float: right;
	margin-left:-236px;
	background: #FFF url(/images/right_back.gif) no-repeat left top;
}

/*-----------------����������� �����-------------------*/

#center {
	float:left;
	width:100%;
	background: url(../images/center_back.jpg) repeat-x left top;
}

#center-left {
	margin: 0px 236px 0px 265px;
	background: url(../images/center_left_back.jpg) no-repeat left top;
}

#center-right {
	min-height: 341px;
	padding: 17px 31px 0px 37px;
	background: url(../images/center_right_back.jpg) no-repeat right top;
}

*html #center-right {
	height: 341px;
}

#center-right #agent {
	padding: 0px 0px 0px 16px;
	line-height: 12px;
	margin-bottom: 8px;
	font: 12px Arial, Verdana !important;
	color: #807f7f !important;
}

#center-right #agent a {
	float: right;
	font: 11px Arial, Verdana !important;
	color: #5c1919 !important;
	text-decoration: underline;
}

#center-right #agent a:hover {
	text-decoration: none;
}

#center-right #sovet {
	padding: 8px 0px 10px 0px;
	text-align: center;
	margin-bottom: 8px;
	background-color: #4798d3;
}

#center-right #sovet a {
	font: bold 16px Times New Roman, Verdana, Arial !important;
	color: #FFF !important;
	text-decoration: underline;
}

#center-right #sovet a:hover {
	text-decoration: none;
}

#center-right #articles {
	padding: 0px 0px 0px 6px;
	margin-bottom: 8px;
}

#center-right .article {
	padding-bottom: 12px;
}

#center-right .article img {
	float: left;
	margin-right: 15px;
}

#center-right .article .article-date {
	font: 13px Arial, Verdana !important;
	color: #010000 !important;
	margin-bottom: 2px;
}

#center-right .article .article-name {
	margin-bottom: 3px;
}

#center-right .article .article-name a {
	font: 13px Arial, Verdana !important;
	color: #010000 !important;
	text-decoration: underline;
}

#center-right .article .article-name a:hover {
	text-decoration: none;
}

#center-right .article p {
	font: 12px Arial, Verdana !important;
	color: #807f7f !important;
}

#center-right #questions {
	padding: 11px 13px 13px 13px;
	background-color: #f0e5e5;
}

#center-right #questions .question {
	padding-left: 19px;
	margin-bottom: 8px;
}

#center-right #questions .question .question-date {
	font: bold 12px Arial, Verdana !important;
	color: #807f7f !important;
}

#center-right #questions .question p {
	font: 12px Arial, Verdana !important;
	color: #010000 !important;
}

#center-right #question-all {
	text-align: right;
}

#center-right #question-all a {
	font: bold 12px Arial, Verdana !important;
	color: #5c1919 !important;
	text-decoration: underline;
}

#center-right #question-all a:hover {
	text-decoration: none;
}

#center-right #post-question {
	padding: 11px 13px 13px 13px;
	background-color: #f5f5f5;
}

#center-right #post-question .field-name {
	width: 48px;
	padding-left: 19px;
	float: left;
	background-color: #f5f5f5;
	font: bold 12px Arial, Verdana !important;
	color: #807f7f !important;
}

#center-right #post-question input {
	width: 163px;
	height: 16px;
	padding: 0px 3px;
	margin-bottom: 5px;
	border: 1px solid #807f7f;
	font: 12px Arial, Verdana !important;
	color: #807f7f !important;
}

#center-right #post-question textarea {
	width: 341px;
	height: 69px;
	overflow: auto;
	padding: 0px 3px;
	margin-bottom: 5px;
	border: 1px solid #807f7f;
	font: 12px Arial, Verdana !important;
	color: #807f7f !important;
}

#center-right #post-question input#question-submit {
	width: 93px;
	height: 20px;
	padding-bottom: 3px;
	margin-left: 66px;
	text-align: center;
	border: none;
	font: bold 12px Arial, Verdana !important;
	color: #807f7f !important;
	background-color: #cdcdcd;
	cursor: pointer;
}

#center-right #post-question input#question-reset {
	width: 93px;
	height: 20px;
	padding-bottom: 3px;
	text-align: center;
	margin-left: 5px;
	border: none;
	font: bold 12px Arial, Verdana !important;
	color: #807f7f !important;
	background-color: #cdcdcd;
	cursor: pointer;
}

/*****************************************/
/*--------------------�����---------------------*/
/*****************************************/
#page-empty {
	height: 78px;
}

#footer {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 65px;
	background: url(../images/footer_back.gif) repeat-x left bottom;
}

#footer #copy {
	padding: 30px 0px 0px 54px;
	height: 35px;
	text-align: left;
	float: left;
	font: 12px Arial, Verdana !important;
	color: #a09b98 !important;
}

#footer #logo2be {
	padding: 16px 54px 0px 0px;
	height: 49px;
	text-align: right;
	float: right;
}


/*****************************************/
/*----------Статичные страницы-----------*/
/*****************************************/

#center-right #static {
	padding: 0px 0px 0px 16px;
	line-height: 12px;
	margin-bottom: 8px;
	font: 13px Arial, Verdana !important;
	color: #404040 !important;
}

#center-right #static a {
	float: none;
	font: 12px Arial, Verdana !important;
	color: #5c1919 !important;
	text-decoration: underline;
}

#center-right #static a:hover {
	text-decoration: none;
}


#center-right #static p {
	margin-bottom: 15px;
}

