/* ... общие настройки, лучше не менять ... */
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:10px;}
	img.reImageRight{margin-left:10px;}
	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;}
table.admin td{border: 1px solid #fff}
/* ----------------------------------------- */
/* ... горизонтальный разделитель ... */
	hr{
		clear:both;
		margin:0 0 10px 0;
		height:1px;
		width:100%;
		font-size:1px;
		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:#000;
	color:#fff;
}
body.page{
	margin:0;
	padding:0;
	background:#000;
	color:#b2b2b2;
}
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:Tahoma,Verdana,Arial,sans-serif;}
body,td{font-size:12px;}
td#content, td#content p, td#content td, td#content a{
	font-size:14px;
}
/* ... ссылки ... */
	a{color:#fff;text-decoration:underline;}	 
	a:hover,a.current,a.current:hover{color:#fff;text-decoration:underline;}
/* ----------------------------------------- */
/* ... мелкий шрифт ... */
	.small,.small td,small{font-size:11px;font-weight:normal;}
	p.small{margin:3px 5px;}
/* ----------------------------------------- */
/* ... формы ... */
	iframe,textarea,input{border-color:#808080;}
	textarea,input,select{color:#000000;background:#FFFFFF;font-size:11px;}
	input.submit{
		font-weight:bold;
		color:#ffffff;
		background:#920000;
		font-size:10px;
		height:18px;
		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:#808080 !important;}
	/* ... обязательное поле + ошибка заполнения ... */
		.require{color:#920000 !important;}
		.errorfield{border:1px solid #920000 !important;}
		.nowrap{white-space:nowrap;} 
/* ----------------------------------------- */
/* ... таблицы в ричэдите ... */
	table.reTable,table.reTable td{border-color:#fff;}
/* ----------------------------------------- */
/* ... названия полей ... */
	.label, table.reTable .label{
		color:#808080;
		font-size:11px;
	}
	td.label, table.reTable td.label{
		/*vertical-align:middle !important;	*/
	}
	div.add_fields{margin-bottom:15px;}
	p.add_field{margin-bottom:3px;}
	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 #808080;
	}		
/* ----------------------------------------- */
/* ... горизонтальный разделитель ... */
	hr{
		background-color:#D1D1D1;
		border-color:#D1D1D1;
		_background:none;
		_border:none;
		_color:#D1D1D1;
	}
/* ----------------------------------------- */
/* ... строка навигации ... */
	p.navigation{font-size:10px;color:#808080;line-height:25px;}
		p.navigation a{text-decoration:underline;}
		p.navigation a:hover{text-decoration:underline;}
/* ----------------------------------------- */
/* ... вывод сообщений ... */
	P.alert{background:#920000;color:#FFFFFF;border:none;}
/* ----------------------------------------- */
/* ... блок навигации по страницам ... */
	p.pages{clear:both;font-size:10px;line-height:13px;border-color:#D1D1D1;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:#950000;}

/* ----------------------------------------- */
/* ... 6 уровней заголовков ... */
	h1 { 
		font-size:17px;font-weight:normal;color:#920000;margin:0 0px 15px 0px;
		line-height:19px;padding-bottom:3px;text-transform:uppercase;;
	}

	h2 {
		padding:0 5px;
		font-size:19px;
		font-weight:bold;
		color:#ffffff;
		margin:20px 0;
		color:#920000;
	}
	h3 { font-size: 15px; font-weight: bold; color: #656565; margin:0 0px 10px 0px;}
		h3.news {margin-bottom:0;}
	h4 { font-size: 13px; font-weight: bold; color: #950000; margin:0 0px 2px 0px;}
		h4.news {margin-bottom:0;}
		h4 a {color: #950000;}
		h4 a:hover {color: #656565;}
	h5 { font-size: 13px; font-weight: bold; color: #656565; margin:0px 10px 0 0px;}
		h5.news {margin-bottom:0;}
	h6 { font-size:9px; font-weight: normal; color: #950000;  margin:10px 0px 10px 0px;text-transform:uppercase;}
/* ----------------------------------------- */

table.page{
	min-width:990px;
	width:expression(document.body.clientWidth < 970? "970px": "100%" );
}
.header{
	height: 191px;
}
td#left_col{
	padding:0;
	width: 196px;
	background: url(../../img/design/nav_bg.gif) repeat-y;
}
td#right_col{
	width: 200px;
	padding-bottom:175px;
	/*position: relative;*/
}
div#counters{
	position: absolute;
	margin-top:-50px;
	right: 150px;
	
}
.sub_header{
	background: url(../../img/design/header_wrap.gif) repeat-x;
	height:31px;
}
.sub_header .sub_header{
	background: url(../../img/design/header_left.gif) no-repeat left;
}
.sub_header .sub_header .sub_header{
	background: url(../../img/design/header_right.gif) no-repeat right;
	text-align: center;
	font-size: 16px;
	color:#fff;
	line-height:28px;
	text-transform: none;
	white-space: nowrap;
}
#left_col ul.menu{
	margin:0;
	/*margin-top:-4px;
	_margin-top:0;*/
	padding:0;
	width: 193px;
	padding-top: 22px;
	background: url(../../img/design/nav_top.gif) no-repeat top left;
}

#left_col ul.menu ul.menu{
	margin:0;
	/*margin-top:-4px;
	_margin-top:0;*/
	padding:0;
	width: 193px;
	padding-top: 6px;
	background: none;
	_margin-bottom:-15px;
}

#left_col ul.menu ul.menu a{
	background: none;
	font-size: 12px;
	padding-left:20px;
	font-weight: normal;
	padding-right:15px;
	text-decoration: underline;
}

#left_col ul.menu li{
	background: none;
	padding-left: 8px;
	margin-bottom:13px;
}
#left_col ul.menu li a{
	background: url(../../img/design/nav_bullet.gif) no-repeat;
	padding-left: 24px;
	display: block;
	min-height:20px;
	height: auto !important;
	height: 20px;
	
	text-decoration: none;
	font-weight: bold;
}
td#content{
	background: url(../../img/design/bottom.jpg) no-repeat left bottom;
	padding-left: 37px;
	padding-bottom:175px;
	padding-right:15px;
}
ul.menu_right{
	margin:0;
	padding:0;
	}
ul.menu_right li{
	height: 144px;
	width: 157px;
	_width: 172px;
	_margin-right:-5px;
	margin-bottom: 33px;
	float: right;
	background: url(../../img/design/right_side.jpg) no-repeat;
}
ul.menu_right li a{
	font-weight: bold;
	text-decoration: none;
	background: none;
	display: block;
	padding: 5px 10px 10px 10px;
	height: 129px;
	width: 157px;
	_height: 144px;
	_width: 172px;
}
ul.menu_right li#menur_1{
	background-position: 0 0;
}
ul.menu_right li#menur_2{
	background-position: 0 -179px;
}
ul.menu_right li#menur_3{
	background-position: 0 -354px;
}
ul.menu_right li#menur_4{
	background-position: 0 -531px;
}
ul.menu_right li#menur_5{
	background-position: 0 -711px;
}
table#toptbl{
	width: 100%;
	height: 191px;
	position: absolute;
}
table#toptbl td{
	width:33%;
	text-align: center;
	
}
table.news{
	width: 98%;
	margin-bottom:20px;
	border-bottom: 1px solid #646464;
}
table.news td{
	padding-bottom: 10px;
	padding-right:10px;
}
table.news td *{
	color:#fff;
}

table.news td img{
	float: left;
	margin: 0 10px 10px 0;
}
table.news td div.ndate{
	font-style: oblique;
	font-size:10px;
}
table.news td a{
	font-weight: bold;
	display: block;
	margin-bottom:10px;
}
td.left_b{
	border-left:1px solid #646464;
	
}
table.news td div.nname{
	color:#fff;
}
/* ====================================== */

/* ====================================== */
/* bottomRow */

/* ====================================== */
 /* ... Контакты и прочие формы ... */
 table.form{width:400px;}
	 table.form .text_field{width:100%;}
	 table.form .select_field{width:300px;}
	 table.form .file_field{width:300px;}
/* ====================================== */

div.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;}


/* ====================================== */
h1{
	clear: both;
}
/* ====================================== */
ul.linklist {list-style-type: none;} 
ul.linklist li{float: left; background: none;}
ul.linklist li.icon-home {margin-right: 30px;  } 
ul.linklist li.icon-home a{ font-weight: bold; font-size: 14px; text-decoration: none;} 

p.myfirsttr {text-align: center; color: #646464;}

.headerspace {clear: both !important;  margin: 20px 0 10px 0 !important;  }

div#myforumdiv h3 { font-weight: normal; background: url(../../forum/img/design/forumline.jpg) no-repeat left bottom; padding: 0 0 10px 0;}
div#myforumdiv h3 a {text-decoration: none;}

.forcontent {padding: 0 20px 0 20px;}

.forabg {
	background: #898989 none repeat-x 0 0;
	padding: 0 5px;
	clear: both; margin: 0 0 15px 0; border: 1px solid #000000;
}

.forabg ul {list-style-type: none; margin:0; padding:0;  }
.forabg ul li {margin:0; padding:0; background:none;}
.forabg ul li table {width: 100%; }
.forabg ul li table td, .forabg ul li table td a {color: #000000; }

.inner { clear: both; }
.inner .fields1 {border: 1px solid #000000; padding: 10px; color: #000000; background-color: #ffffff;}
.submit-buttons {border: 1px solid #000000;}

.inner img {border: none;}

#fomaintable {background-color: #a3a2a2; width: 100%; clear: both; border-collapse: collapse; border: 1px solid #000000; }
#fomaintable  td {border-collapse: collapse; border: 1px solid #000000;}
#fomaintable  td, #fomaintable  td a {color: #000000;}

#fomaintable  tr.fomaintr td {font-weight: bold;}

#search-box fieldset {border: 1px solid #000000;}


img						{ border: 0px; }
#phpbb li.header		{ height: 50px; }
#phpbb dl.icon			{ background-position: right top; }
#phpbb ul				{ margin-bottom: 0px; float: top; }
#phpbb li				{ margin-bottom: 0px; float: top; }

#langs{
	position: absolute;
	_position: relative;
	margin-top:-30px;
	
	margin-left: 140px;
}
#langs a{
	display: block;
	width:49px;
	height:15px;
	background: url(../../img/design/langs.gif) no-repeat;
	float: left;
}
	/*a.cur:hover{
		background-position: 0px -15px!important;
	}*/
	a.other{
		background-position: -49px 0!important;
	}
	a.other:hover{
		background-position: -49px -15px!important;
	}
	
