body {  background: url("../img/bg.jpg") #000021 center repeat; }

/* Logotype */

#logo { background: url("../img/bg-header-footer.png") 0 -220px no-repeat; }
	#logo div {
		background: url("../img/bg-header-footer.png") 100% -220px no-repeat; 
		height:55px; padding:0 0 0 5px; margin:0; text-align:center;
	}

/* Header */
#header { background: url("../img/bg-header-footer.png") 100% 0 no-repeat; }
	#h_ { 
		background: url("../img/bg-header-footer.png") 0 -110px no-repeat; 
		font: normal 9px/11px Verdana,sans-serif; text-align:right; height:55px; position:relative; 
	}
	#title { position:absolute; top:12px; left:66px; color:#7B7D7B; }
	#permission_level { position:absolute; top:39px; left:112px; width:30px; font-weight:bold; text-align:center; color:#BDBA31; }
	#login { position:absolute; right:8px; top:7px; width:195px; }
	
/*permission_level*/
INPUT.header { 
	background:#636163; border:1px solid #000; border-bottom:1px solid #949694; border-right:1px solid #949694;
	width:100px; font: normal 9px/9px Verdana,sans-serif; color:black; width:75px; margin:0;
}

/*главное окно*/
#m_outer { background: url("../img/bg-main-right.png") right bottom repeat-y; position:relative; }
	#m_content { }
	#main { padding:8px 16px; background: url("../img/bg-main-left.png") 0 0 repeat-y; }

	#banners { position:absolute; bottom:0; left:0; width:20%; }

/*менюшные штучки*/
	#menu { margin-bottom:150px; }
		#m_ { background: url("../img/bg-menu.png") 0 100% no-repeat; }
		#m__ { background: url("../img/bg-menu-.png") 100% 100% no-repeat; padding:0 8px 50px; overflow:hidden; }

/*ссылки в menu*/
A.menu0, A.menu1, A.menu2 {
	display:block; text-align:left;
	padding:1px 8px; margin:1px 0; font: bold 11px/11px Verdana,sans-serif;
	}
A.menu1 { padding:1px 8px 1px 16px; font-size:10px;}
A.menu2 { padding:1px 8px 1px 24px; font-size:10px; font-weight:normal;}
A.menu0:hover, A.menu1:hover, A.menu2:hover {background-color:#414041;}
#sel {background-color:#414041;}

#sitenews { 
	z-index:10; float:right; position:relative; width:205px; margin:0px 0 8px 8px;
	background: url('../img/sitenews-header.gif') left top no-repeat;
	*margin-top:-80px;
}
	#s_ {z-index:10; margin:10px 7px 7px 7px; padding:8px; background-color:#313031; }

/*баннерs*/
TABLE.banner {background: url("../img/bg-banner-right.gif") right top repeat-y;}
TD.banner { background: url("../img/bg-banner-left.gif") left top repeat-y; margin:0 7px 0 0; padding:8px 0 0 0; text-align:center; }
DIV.banner1 { background: url("../img/banner-corner1.gif") left bottom no-repeat; height:49px; width:100%;}
DIV.banner2 { background: url("../img/banner-corner2.gif") right bottom no-repeat; margin:0; padding:0 49px 0 8px; height:49px;}

DIV.banner3 { background: url("../img/banner1-corner1.gif") left bottom no-repeat; margin:8px 0; padding:0; height:15px; width:100%;}
DIV.banner4 { background: url("../img/banner1-corner2.gif") right bottom no-repeat; margin:0; padding:0 119px 0 8px; height:15px;}

/*низ*/
#m_footer { }
	#footer { background: url("../img/bg-header-footer.png") 100% -55px no-repeat; margin-left:20%; }
	#copyright { background: url("../img/bg-header-footer.png") 0 -165px no-repeat; height:55px; }
		#copyright .p { font: normal 9px/11px Verdana,sans-serif; height:26px; vertical-align:middle; padding:24px 0 0 40px; }
	#counters {  }
		#counters .p { padding:16px 28px 4px 0; text-align:right; }

DIV.footer1 { background: url("../img/bottom-left-corner1.gif") left bottom no-repeat; height:55px; width:100%;}
DIV.footer2 { background: url("../img/bottom-left-corner2.gif") right bottom no-repeat; height:55px; text-align:center;}
TD.foot1 { background: url("../img/bg-bottom-left.gif") left bottom repeat-x; }

/*таблица*/
TABLE.table {border:1px solid #636563; }
TABLE.table CAPTION{ font-size: 11pt; font-weight:bold; margin:0; padding:5pt 0; }
TABLE.table TH {border:1px solid #636563; padding:2px 5px; color: #e4e4e4; font-weight:bold;}
TABLE.table TR {vertical-align: text-top;}
TABLE.table TD {border:1px solid #636563; padding:2px 5px;}
TABLE.table THEAD TD, TABLE.table TFOOT TD {text-align:center; font-weight:bold;}
TABLE.table TD.history {border:none; padding:12px 5px 5px 5px;}

TABLE.field { border:none; margin:5px 0 0 0; padding:0; }
TABLE.field TD.left { border:none; text-align:left; font: normal 7.5pt/10pt Verdana,sans-serif; }
TABLE.field TD.right { border:none; text-align:right; font: normal 7.5pt/10pt Verdana,sans-serif; }
TABLE.field TD.field { border:none; }

/*блоги*/
H5.gb {background-color: #434543; border-top:1px solid #636563; border-left:1px solid #636563; padding:1pt 15pt 2pt 30pt; margin:0 6pt 0 0}
H6.gb {margin:-15pt 11pt 0 0; text-align:right; font-weight:normal; padding:0;}
P.hotnews_head {font-size: 7pt; text-align:left; font-weight:bold;}
P.hotnews {font-size: 7pt; text-align:left; font-weight:normal; padding:0; margin:0 0 5pt 0;}