/* ... общие настройки, лучше не менять ... */
body{margin:5px;}
body,html{height:100%;}
/* ... настройки таблиц ... */
	table.all,td.all,input.all,textarea.all{width:100%;}
	table.all,tr.all{height:100%;}
	td{vertical-align:top;}
/* ----------------------------------------- */
/* ... ссылки ... */
	a.current,a.current:hover{cursor:default;}
/* ----------------------------------------- */
/* ... формы ... */
	form{margin:10px 0;padding:0;}
		input{margin:0;}
		iframe,input,textarea{border:solid 1px;}
		input.file{border:none;_border:1px solid;}
		input,textarea{padding-left:3px;padding-right:3px;}
			input.radio{border:none;background:none;}
/* ----------------------------------------- */
/* ... таблицы в ричэдите и названия полей ... */
	table.reTable td,td.label{padding:2px 5px 2px 0;vertical-align:top;}
	table.reCellBordered td{padding:5px;vertical-align:middle;}
	img.reImageLeft{margin-right:15px;}
	img.reImageRight{margin-left:15px;}
	table.reCellBordered img.reImageLeft, table.reCellBordered img.reImageRight{margin:0;}
		table.reTable P,table.reTable h2,table.reTable h3,table.reTable h4,table.reTable h5,table.reTable h6{
			margin:5px 0 !important;padding:0 !important;
		}
		td.label{white-space:nowrap;}
/* ----------------------------------------- */
/* ... горизонтальный разделитель ... */
	hr{
		clear:both;
		margin:0 0 10px 0;
		height:1px;
		width:100%;
		border: 0px solid;
		_background:none;
		_border:none;
	}
/* ----------------------------------------- */
/* ... строка навигации ... */
/* ----------------------------------------- */
/* ... вывод сообщений ... */
	P.alert{
		padding:5px 0 5px 10px;
		margin-bottom:10px;
		font-weight:bold;
	}
/* ----------------------------------------- */
/* ... блок навигации по страницам ... */
	p.pages{padding-top:5px;margin-top:20px;border-top:solid 1px;border-top:solid 1px;}
		p.pages a{padding-left:3px;padding-right:2px;}
/* ----------------------------------------- */
/* ... списки ... */
	ul{margin:10px 0;padding:0;}
	ol{margin-top:0;margin-bottom:15px;}
		ul li, ol li{margin:4px 0px 5px 0;padding:0px;}
		ul li{list-style:none;padding-left:10px;background:url(../../img/bullet.1.gif) no-repeat 0 6px;}
			ul li p, ol li p{padding:0;margin:0;}
				ul ul li{background-image:url(../../img/bullet.2.gif);}
				ul ul ul li{background-image:url(../../img/bullet.3.gif);}
/* ----------------------------------------- */
/* ... пнг ... */
	img.png{filter:progid:DXImageTransform.Microsoft.Alpha(opacity=0);}
	div.png{
		display:inline;
		filter:expression("progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+this.firstChild.src+"')");
		width:expression(this.firstChild.width); 
		height:expression(this.firstChild.height);
	} 
/* ----------------------------------------- */
/* ... текстовый блок ... */
	div.text{margin:0 0 20px 0;padding:0;}
	div.all{margin:0 0 0 0;padding:0;border:1px solid red;}
/* ----------------------------------------- */
/* ... распорочка ... */
	div.blank{width:1px;height:1px;margin:0;padding:0;}
/* ----------------------------------------- */
/* ... картинки с нижним выравниванием ... */
	img.bottom {vertical-align:text-bottom !important;}
/* ----------------------------------------- */
/*=================== НАСТРОЙКИ САЙТА ============================*/
body{
	background:#FFFFFF;
	color:#000000;
}
body.page{
	margin:0;
	padding:0;
}
p,h1,h2,h3,h4,h5,h6{padding:0;margin: 0px 0px 15px 0px;}
body,td,th,input,select,textarea,h1,h2,h3,h4,h5,h6{font-family:Arial,Tahoma,Verdana,sans-serif;}
body,td{font-size:12px;}

/* ... ссылки ... */
	a{color:#777777;text-decoration:underline;}	 
	a:hover,a.current,a.current:hover{color:#000000;text-decoration:underline;}
/* ----------------------------------------- */
/* ... мелкий шрифт ... */
	.small,.small td,small{font-size:10px;font-weight:normal;}
	p.small{margin:3px 0;}
/* ----------------------------------------- */
/* ... формы ... */
	iframe,textarea,input{border-color:#777777;}
	textarea,input,select{color:#000000;background:#FFFFFF;font-size:11px;}
	input.submit{
		font-weight:bold;
		color:#000000;
		background:#e0dfde;
		font-size:11px;
		height:22px;
		letter-spacing:1px;
		border:none;
		padding-left:10px;
		padding-right:10px;
		_padding-left:2px;
		_padding-right:1px;
		margin:0 0 0px 0px !important;
	}
	.grey{color:#777777 !important;}
	/* ... обязательное поле + ошибка заполнения ... */
		.require{color:#920000 !important;}
		.errorfield{border:1px solid #920000 !important;}
		.nowrap{white-space:nowrap;} 
/* ----------------------------------------- */
/* ... таблицы в ричэдите ... */
	table.reTable,table.reTable td{border-color:#777777;}
/* ----------------------------------------- */
/* ... названия полей ... */
	.label, table.reTable .label{
		color:#777777;
		font-size:11px;
	}
	td.label, table.reTable td.label{
		/*vertical-align:middle !important;	*/
	}
	div.add_fields{margin-bottom:5px;}
	p.add_field{margin-bottom:3px;font-size:10px;}
	div.division{margin-bottom:0px !important;color:#656565;}
	div.division p{color:#656565;font-size:11px;margin-bottom:5px;}
/* ----------------------------------------- */
/* ... раскраска таблиц ... */
	tr.color_0 td{background:#F5F5F5 !important;/*border-width:0;*/}	
	tr.color_1 td{/*border-width:0;*/}

	tr.color_2 td{
		padding:2px 5px !important;
		font-weight:bold;
		background:#F5F5F5;
		color:#950000 !important;
		border-bottom:1px solid #777777;
	}		
/* ----------------------------------------- */
/* ... горизонтальный разделитель ... */
	hr{
		background-color:#777777;
		border-color:#777777;
		_background:none;
		_border:none;
		_color:#777777;
	}
/* ----------------------------------------- */
/* ... строка навигации ... */
	p.navigation{font-size:10px;color:#777777;line-height:22px;}
		p.navigation a{text-decoration:underline;color:#777777;}
		p.navigation a:hover{text-decoration:underline;color:#000000;}
/* ----------------------------------------- */
/* ... вывод сообщений ... */
	P.alert{background:#920000;color:#FFFFFF;border:none;}
/* ----------------------------------------- */
/* ... блок навигации по страницам ... */
	p.pages{clear:both;font-size:10px;line-height:13px;border-color:#777777;;color:#7D7D7D;}
	p.pages a.number,p.pages a.numbercurrent{text-decoration:none;padding:0 6px;}
	p.pages a.number:hover,p.pages a.numbercurrent:hover{text-decoration:none;}
	p.pages a.numbercurrent,p.pages a.numbercurrent:hover{font-weight:bold !important;color:#ffffff;background:#027a03;}

/* ----------------------------------------- */
/* ... 6 уровней заголовков ... */
h1{ font-size: 13px; color: #027a03; font-weight: bold; margin-bottom: 25px; text-transform: uppercase;}
h2{ font-size: 12px; color: #000000; font-weight: bold; margin-bottom: 10px;  text-transform: uppercase;}
h3{ font-size: 14px; color: #777777; font-weight: bold; margin-bottom: 10px; }
h4{ font-size: 12px; color: #000000; font-weight: bold; margin-bottom: 10px; }
h5{ font-size: 12px; color: #777777; font-weight: bold; margin-bottom: 10px; }
h6{ font-size: 10px; color: #027a03; font-weight: bold; margin-bottom: 10px;  text-transform: uppercase;}
/* ----------------------------------------- */

table.page{width:100%;border:2px solid white;}

#topRow{
	height:28px;
}
	#topCenter{
		background:#4c9be7 url(../../img/design/fon_3.jpg) no-repeat top right;
	}
#middleRow{
	height:100%;
}
	#middleTop{
		background:#489ae6 url(../../img/design/fon_7.jpg) no-repeat bottom left;
	}
	#middleCenter{
		width:100%;
	}
	#middleBottom{
		background:#489be6 url(../../img/design/fon_8.jpg) no-repeat bottom right;
	}
#bottomRow{
	height:36px;
}
	#bottomCenter{
		background:#436085 url(../../img/design/fon_11.jpg) no-repeat top right;
	}

#topLine{
	height:30px;
}
#topBlank{
	background:#027a03;
	border-right:2px solid white;
}
#topMenu{
	background:#67c61a;
	font-size: 13px; 
	font-weight: bold;
	border-bottom:2px solid white;
	vertical-align: middle;
}
	#topMenu a{
		display:block;
		line-height:30px;
		color: white;
		text-decoration: none;
		float: left; 
		margin-left: 20px;
		padding-left:20px;
		background:url(../../img/design/sp_w.gif) no-repeat center left;
		_background-image:expression("url("+base+"img/"+(previousSibling?"design/sp_w":"null")+".gif)"); 
		_padding-left:expression(previousSibling?"20px":"0"); 
	}
		#topMenu a:first-child{
			padding-left:0px;
			background:none;
		}
	#topMenu a:hover,#topMenu a.active{
		color: black;
		background:url(../../img/design/sp_b.gif) no-repeat center left;
		_background-image:expression("url("+base+"img/"+(previousSibling?"design/sp_b":"null")+".gif)"); 
	}
	#topMenu a:first-child:hover,#topMenu a.active:first-child{
		background:none;
	}

#topPicture{
	/*height:152px;*/
}
#topLogo{
	background-color: #027a03; vertical-align: middle; text-align: center;
	border-bottom:2px solid white;
	border-right:2px solid white;
}
#topFoto{
	border-bottom:2px solid white;
	background:#027a03 url(../../img/design/top.jpg) repeat-x 0 0;
}
	#topFoto IMG{
		float:left;
		margin:0;
		_margin-left:-3px !important;
	}
	#topFoto div#topText{
		color:white;
		text-align:right;
		margin:125px 10px 0 0px;
		font-size: 13px;
		position: relative;
		top: -30px;
		_top: -160px;
		margin-bottom:-140px;
		padding:0;
		clear: left;
		
	}

#footerRow					{ height: 71px; }
#r52{background-color:027a03;font-size: 10px;vertical-align: middle;text-align: center;border-right:2px solid white;}
	#r52 a{color:#d9d8d2;text-decoration:none;}
	#r52 a:hover{color:#000000;text-decoration:none;}
		#r52 a img{background:#d9d8d2;margin-bottom:3px;_margin-bottom:0px;}
		#r52 a:hover img{background:#000000;}

tr.header{ height: 184px; }
tr.contline{ height: 100%; }
td.fot_l{ background-color: #027a03; }
td.fot_r{ background-color: #67c61a; }


td.lside{border-right:2px solid white;}

img.hidden{ display: none; }

td.firma{width: 100px; font-family: Tahoma; font-size: 10px; color: white; vertical-align: middle; padding-left: 20px; }	
td.addr{font-size: 12px; vertical-align: middle; color: #211f20; padding-left: 5px; }
td.counter{ vertical-align: middle; text-align: right; padding-right: 20px; }



#leftMenu{font-size: 12px; width:300px; }
#leftMenu{
	margin:0;
	padding:0;
	border-right:2px solid white;
}
#leftMenu li{
	margin:0;
	padding:0;
}
#leftMenu li a{
	display: block; 
	font-size: 12px;
	font-weight:bold;
	line-height: 30px;
	text-decoration: none; 
	color: #000000; 
	border-bottom:2px solid white;
	background: #e0dfde url(../../img/design/sp_b.gif) no-repeat 23px 12px;
	padding-left:43px;
}
#leftMenu li a:hover,#leftMenu li a.active{
	color: #000000; 
	background: #67c61a url(../../img/design/sp_w.gif) no-repeat 23px 12px;
}
#leftMenu li li a{
	line-height: 20px;
	color: #000000; 
	background: white url(../../img/null.gif) no-repeat 15px 4px;
	font-weight:normal;
}
#leftMenu li li a:hover,#leftMenu li li a.active{
	color: #67c61a; 
	background: white url(../../img/design/sp_ws.gif) no-repeat 32px 8px;
}

#leftMenu div.l0 a				{ background-color: #e0dfde; line-height: 30px; color: black; font-weight: bold; }
#leftMenu div.l0 a img			{ float: left; width: 10px; height: 10px; margin-top: 12px; margin-right: 10px; margin-left: 10px; }
#leftMenu div.l0 a span			{ float: left; }
#leftMenu div.l0 a.active		{ background-color: #67c61a; }
#leftMenu div.l0 a img			{ background-image: url(../../img/design/sp_b.gif); background-position: center middle; background-repeat: no-repeat; }
#leftMenu div.l0 a.active img	{ background-image: url(../../img/design/sp_w.gif); background-position: center middle; background-repeat: no-repeat; }

#leftMenu div.l1 a				{ height: 20px; line-height: 20px; color: black; font-weight: normal; }
#leftMenu div.l1 a img			{ float: left; width: 10px; height: 5px; margin-top: 8px; margin-right: 5px; margin-left: 15px; }
#leftMenu div.l1 a.active		{ color: #67c61a; }
#leftMenu div.l1 a.active img	{ background-image: url(../../img/design/sp_ws.gif); background-position: center middle; background-repeat: no-repeat; }


td.content				{ padding:3px 20px 20px 30px;}

.text					{ font-size: 12px; color: #211f20; }
.text a					{ color: #211f20; }

#lside_content			{ margin-top: 60px; width:300px; overflow: hidden; }

table.topblock			{ width: 100%; height: 100%; }
td.photobox				{ background-image: url(../../img/design/photobox.jpg); color: white; vertical-align: bottom; text-align: right; padding: 10px;  }

/*


a.menu{display:block;width:283px;height:29px;float:right;margin-top:127px;cursor:hand;}
a.menu1{
	margin-left:0;
	background:url(../../img/design/1.png) no-repeat 0 0;
	_background-image:none;
	filter:expression("progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+base+"img/design/1.png',sizingMethod='crop')");
}
	a.menu1:hover{
		background:url(../../img/design/1_a.png) no-repeat 0 0;
		_background-image:none;
		filter:expression("progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+base+"img/design/1_a.png',sizingMethod='crop')");
	}

a.menu2{
	margin-left:30px;
	background:url(../../img/design/2.png) no-repeat 0 0;
	_background-image:none;
	filter:expression("progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+base+"img/design/2.png',sizingMethod='crop')");
}
	a.menu2:hover{
		background:url(../../img/design/2_a.png) no-repeat 0 0;
		_background-image:none;
		filter:expression("progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+base+"img/design/2_a.png',sizingMethod='crop')");
	}

a.menu3{
	margin-left:56px;
	background:url(../../img/design/3.png) no-repeat 0 0;
	_background-image:none;
	filter:expression("progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+base+"img/design/3.png',sizingMethod='crop')");
}
	a.menu3:hover{
		background:url(../../img/design/3_a.png) no-repeat 0 0;
		_background-image:none;
		filter:expression("progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+base+"img/design/3_a.png',sizingMethod='crop')");
	}


div.menu{
	background:url(../../img/design/meni.div.bg.gif) repeat-y 0 0;
	width:200px;

}
ul.menu{
	margin:0;padding:0;
	border-top:1px dotted #b9b9ae;
}
ul.menu ul.menu{margin:0 !important;padding:0 !important;	}

	ul.menu li{
		margin:0;
		padding:0;
		border-bottom:1px dotted #b9b9ae;
		border-left:1px dotted #b9b9ae;
		border-right:1px dotted #b9b9ae;
		background:none;
	}

	ul.menu a{
		display:block;
		margin:1px;
		font-size:11px;
		text-transform:uppercase;
		text-decoration:none;
		color:#777777;
		background:#b2b2b2 url(../../img/design/menua.bg.gif) repeat-y 0 0;
		padding-left:12px;
		line-height:31px;
	}
	ul.menu a:hover,ul.menu a.current{
		text-decoration:none;
		color:#e3e3def;
		background:#bb5d01;
		/*
		padding-left:11px;
		line-height:29px;
		border-top:1px solid #4e2700;
		border-left:1px solid #763b01;
		border-bottom:1px solid #d8a26d;
		border-right:1px solid #c97f37;
	}
	ul.menu ul.menu a{
		line-height:21px;
		padding-left:13px;
		font-size:8px;
		margin-left:13px;
	}

		#contentTd{
			border-top:16px solid #717171;
			background: url(../../img/design/content.bg.gif) repeat-x 0 0;
		}
		#contentTable{
			background: url(../../img/design/contentIn.bg.gif) repeat-x left bottom;
		}
		#contentLeft{
			padding:30px 20px;
		}
			#contentLeft div.blank{width:200px;}

		#content{
			background-color:#FFFFFF;
			width:100%;
			padding:30px 25px;
		}
			#content div.blank{width:450px;}
		
		#contentRight{
			padding:30px 18px;
			background: url(../../img/design/contentRight.bg.gif) no-repeat right bottom;
		}
			#contentRight div.blank{width:200px;}


#bottomRow1{height:75px;}
	#bottomTd{background:#737373 url(../../img/design/bottom.bg.gif) repeat-x left bottom;}
	#bottomTd td{font-size:10px;vertical-align:middle;color:#d9d8d2;padding:15px 30px 5px 30px;}
		#bottomTd td p{margin:5px 0;}
		#bottomTd td a{color:#d9d8d2;text-decoration:none;}
		#bottomTd td a:hover{color:#000000;text-decoration:none;}
			#bottomTd a img{background:#d9d8d2;margin-bottom:1px;_margin-bottom:-1px;}
			#bottomTd a:hover img{background:#000000;}
	#bottomLeft{}
	#bottomRight{text-align:right;}
 table.form{width:400px;}
	 table.form .text_field{width:100%;}
	 table.form .select_field{width:300px;}
	 table.form .file_field{width:300px;}

.note{font-size:10px;margin:5px 0 5px 10px;color:#aaaaaa;}

 div.photo{
	float:left;
	margin:0 10px 10px 0;
 }
 div.photo p{text-align:center;}
 div.guest_otvet {margin:0 0 20px 20px;}
 .nomargin{margin:0;}
	p.discuss {color:#333333;font-size:11px;}


tr.catalogue_show td{vertical-align:middle;}
		div.catalogue{
			width:245px;
			height:155px;
			float:left;
			margin:0 10px 10px 0;
			border:1px solid #D1D1D1;
		}
		input.catalogue_number{width:45px;margin-right:3px;}
		div.catalogue div.cat_overflow{
			overflow:hidden;
			width:135px;
			height:120px;
			margin:0;
		}
		div.catalogue table{
			width:240px;
			height:150px;
			table-layout:fixed;
			margin:2px 0 0 5px;
		}
		div.catalogue td{
			font-size:11px;
		}
		div.catalogue td p{
			margin-bottom:10px;
		}
		div.catalogue td.cat_pic{width:95px;}
		div.catalogue td.cat_pic img{margin:0;}
		div.catalogue td.cat_text{}
		tr.middle td{vertical-align:middle;}
		table.clear{clear:both;}
		*/
.reTable h1{
	margin:0;
	padding:0;
}
table#main_tbl{
	min-width:990px;
	width:expression(document.body.clientWidth < 1000? "1000px": "100%" );
}
