html {height: 100%}
body {
	font: 14px/18px Tahoma, Verdana, sans-serif;
	height: 100%;
	background: #fcfcfc; 
	color: #000;
}
a {
	color: #000;
	outline: none;
	text-decoration: underline;
}
a:hover {
	color: #d33b3d;
	text-decoration: none;
}
p {margin: 0 0 10px}
img {
	border: none;
}
input {vertical-align: middle}
#wrapper {
	width: 100%;
	min-width: 990px;
	min-height: 100%;
	height: auto !important;
	height: 100%;
}
.tooltip {
    z-index:999;
    left:-9999px;
    background:#fff;
    border:1px solid #444; 
    font-size:11px;
    color:#323232;
    padding:4px 8px;
    position:absolute;
}
.tooltip p {
	margin: 0px;
	padding: 0px;
}
.clear {
	clear: both;
	height: 0px;
	overflow: hidden;
}

/*textarea, input, button, select, etc...
---------------------------------------------*/
.tetxtarea {
	font: normal 12px/16px Tahoma, sans-serif;
	border: solid 2px #eaeaea;
	padding: 5px;
	width: 449px;
	height: 140px;
}
.input {
	font: normal 12px/18px Tahoma, sans-serif;
	border: solid 2px #eaeaea;
	padding: 0 5px;
}
.button {
	background: #f4f4f4;
	border: solid 2px #d5d5d5;
	font: bold 14px/14px Tahoma, sans-serif;
	padding: 3px 5px;
	color: #d33b3d;
	width: 128px;
	text-decoration: none;
	text-align: center;
	margin: 5px 0;
	text-shadow: 1px 1px 0 #fff;
}
.select {
	font: normal 12px/18px Tahoma, sans-serif;
	border: solid 2px #eaeaea;
	padding: 0 5px;
}

/* Header
-----------------------------------------------------------------------------*/
#header {
	height: 190px;
}
.rss-but{
	display: block;
	width: 125px;
	height: 59px;
}

.top-navi-left, .top-navi-right, .top-navi a, .top-navi {
	background: url(../images/bg-navi-header.png);
}
.top-navi {
	margin: -59px 20px 28px 145px;
	height: 31px;
	display: block;
	background-position: 0 -31px;
	background-repeat: repeat-x;
}
.top-navi-left {
	background-position: 0 0;
	width: 8px;
	height: 31px;
	display: block;
	float: left;
}
.top-navi a {
	text-decoration: none;
	font: normal 12px/31px verdana, sans-serif;
	background-position: 0 -31px;
	display: block;
	float: left;
	padding-left: 5px;
	padding-right: 5px;
}
.top-navi a:hover {
	background-position: 0 -62px;
	background-color: #d33b3d;
	color: #fff;
}
.top-navi-right {
	background-position: 0 -93px;
	width: 8px;
	height: 31px;
	display: block;
	float: right;
}
.logo {
	display: block;
	width: 436px;
	height: 80px;
	float: left;
}
.search-header {
	background: url(../images/bg-search-onhead.png) no-repeat right top;
	height: 71px;
	padding-top: 23px;
	padding-right: 10px;
	margin-right: 10px;
	float: right;
}
.search-header input[type="text"] {
	background: url(../images/bg-search-field.gif) no-repeat left top;
	border: none;
	font: normal 14px/30px tahoma, sans-serif;
	color: #bcbdbc;
	padding-left: 10px;
	padding-right: 5px;
	width: 215px;
	height: 30px;
	margin: 0;
}
.head-links {
	margin: 0 60px 20px;
	position: relative;
}
.head-links a {
	text-decoration: none;
	font: italic normal 14px Arial, Verdana, sans-serif;
	color: #d33b3d;
	border-bottom: dashed 2px #424242;
	margin-right: 10px;
}
.head-links a:hover {
	text-decoration: none;
	color: #424242;
	border-bottom: solid 2px #d33b3d;
}

ul.subnav {
	list-style: none;
	position: absolute; /*--Important - Keeps subnav from affecting main navigation flow--*/
	left: 468px; top: 16px;
	margin: 0; padding: 0;
	display: none;
	float: left;
	width: 170px;
	border: solid 1px #c9c9c9;
	}
	ul.subnav li {
		margin: 0; padding: 0;
		clear: both;
		width: 170px;
		}
		ul.subnav li a {
			float: left;
			width: 170px;
			background-image: none;
			background-color: #fff;
			font: normal 12px/24px Verdana, sans-serif;
			color: #323232;
			text-indent: 10px;
			text-shadow: 1px 1px 0 #fff;
			border-bottom: solid 1px #ccc;
			}
			ul.subnav li a.last {
				border: none;
				}
			ul.subnav li a:hover {
				background-color: #eaeaea;
				color: #d33b3d;
				border-bottom: solid 1px #c9c9c9;
				}
				ul.subnav li a.last:hover {
					border: none;
					}




/* Middle
-----------------------------------------------------------------------------*/
#middle {
	width: 100%;
	padding: 0 0 85px;
	height: 1%;
}
#middle:after {
	content: '.';
	display: block;
	clear: both;
	visibility: hidden;
	height: 0;
}
#container {
	width: 100%;
	float: left;
	overflow: hidden;
}
#content {
	padding: 0 0 0 278px;
}

/*NEWS
-----------------------------------------------------------------------------*/
.news {
	border: solid 2px #ededed;
	margin: 2px 15px 20px 2px;
}
.rb {
	background: url(../images/bg-news-r-b.png) no-repeat bottom right ;
	margin: -2px -15px -16px -2px;	
	padding: 0 13px 14px 0;
}
.rt {
	background: url(../images/bg-news-r-t.png) no-repeat top right;
}
.lt {
	background: url(../images/bg-news-l-t.png) no-repeat top left;
}
.lb {
	background: url(../images/bg-news-l-b.png) no-repeat bottom left;
	padding: 10px;
}
.news h1 {
	float: left;
	color: #4b71b7;
}
.news h1 span.arr {
	background: url(../images/rarr.png) no-repeat top right;
	padding-right: 22px;
	margin-right: 5px;
}
.news h1 a {
	font: normal 20px/20px Arial, Sans-serif;
	text-decoration: none;
	color: #4b71b7;
	padding-bottom: 2px;
}
.news h1 a:hover {
	color: #000;
	border-bottom: dashed 1px #4b71b7;
}
.news h1 b {
	font: normal 20px/20px Arial, Sans-serif;
	text-decoration: none;
	color: #777;
}
.news h1 b a {
	font: normal 20px/20px Arial, Sans-serif;
	text-decoration: none;
	color: #777;
	padding-bottom: 2px;
}
.addfav {
	float: right;
}
.newstags, .newsdate, .newsauthor a, .newsviews, .newscomm a{
	background: url(../images/icon-news.gif) no-repeat;
	padding-left: 25px;
	height: 16px;
	color: #c9c9c9;
}
.newstags {
	background-position: 0 0;
	margin-top: 8px;
	margin-bottom: 10px;
}
.newstags a {
	text-decoration: underline;
	color: #c9c9c9;
}
.newstags a:hover {
	text-decoration: none;
	color: #d33b3d;
}
.newsdate {
	background-position: -22px -16px;
	font: normal italic 12px/12px Georgia, Verdana, sans-serif;
	padding-top: 1px;
}
.newsauthor a {
	background-position: -39px -32px;
	font: bold 12px/12px  Verdana, sans-serif;
	padding-top: 1px;
}
.newsviews {
	background-position: -64px -48px;
	font: normal italic 12px/12px Georgia, Verdana, sans-serif;
	padding-top: 1px;
}
.newscomm a {
	background-position: -83px -64px;
	font: normal italic 12px/12px Georgia, Verdana, sans-serif;
	padding-top: 1px;
}
.fulnewslink a {
	font: bold italic 14px Verdana, sans-srtif;
	text-decoration: none;
	color: #4b71b7;
}
.fulnewslink a:hover {
	text-decoration: underline;
	color: #474747;
}
.relatednews {
	margin: 10px -10px;
	padding: 10px 20px;
	border-top: solid 2px #ededed;
	border-bottom: solid 1px #ededed;
}
.relatednews strong {
	color: #d33b3d;
}

/*ADDNEWS and etc...
-----------------------------------------------------------------------------*/
.addnews {
	margin-right: 20px;
}
.addnews h3 {
	font: normal 16px/24px Verdana, Sans-serif;
	color: #d33b3d;
}
.addnews label {
	display: block;
	padding: 5px 10px 10px 10px;
	color: #474747;
}
.addnews label a {
	font: bold 16px/26px Tahoma, sans-serif;
	text-decoration: none;
	color: #d33b3d;
	padding-left: 5px;
	cursor: help;
}
.addnews label a:hover {
	color: #ccc;
}
.addnews input[type="text"], .addnews input[type="password"], .addnews input[type="file"], .addnews textarea {  
	padding: 3px 5px; 
	border: 1px solid #ccc; 
	background: #fff;
}
.addnews input[type="text"], .addnews input[type="password"], .addnews input[type="file"] {
	width: 400px;
}
.addnews input[type="button"], .addnews input[type="submit"], .addnews input[type="reset"]  {
	width: 240px;
	background: #d33b3d;
	color: #fff;
	font: bold 12px/20px Tahoma, sans-serif;
	text-align: center;
	border: none;
	padding: 5px;
}
.addnews textarea {
	width: 400px;
	height: 150px;
}
.addnews fieldset {
	border: dashed 1px #ccc;
	color: #ccc;
}
.addnews input:focus, .addnews textarea:focus, .addnews select:focus {
	border-color: #000;
}
.addnews select {
	border: 1px solid #ccc; 
	background: #fff;
	font: normal 12px/18px Tahoma, sans-serif;
	height: 20px;
}
.over {
	background-color: #f7f7f7;
}



/*COMMENTS
---------------------------------------------*/
.addcomment {
	margin-left: 10px;
}
.addcomment h2 {
	font: normal 16px/22px Verdana, Sans-serif;
	color: #d33b3d;
	display: block;
	margin-bottom: 5px;
}

.comment {
	margin: 10px 20px 0 10px;
	border: dashed 2px #ededed;
	padding: 3px;
	background: #fff;
}
.left-col {
	width: 130px;
	float: left;
	text-align: center;
}
.com-id {
	font: italic bold 16px Georgia, tahoma, sans-serif;
	color: #dfdfdf;
	float: left;
	margin: 0 20px 5px 10px;
}
.comm-date {
	font: italic 12px Georgia, tahoma, sans-serif;
	text-align: left;
	margin-bottom: 10px;
	color: #777;
}
.comm-ip {
	font: normal 12px tahoma, sans-serif;
	margin-bottom: 10px;
	padding-left: 20px;
	color: #777;
}
.comm-foto {
	display: block;
}
.comm-author {
	text-align: center;
	margin: 5px 0 3px 0;
}
.comm-author a {
	font: bold 12px Tahoma, sans-serif;
	text-decoration: none;
	color: #666; 
}

.comm-author a:hover {
	text-decoration: underline;
	color: #000;
}
.right-col {
	padding: 5px;
	margin-left: 135px;
}
.com-fut {
	clear: both;
	padding: 0px;
}
.com-fut a {
	padding: 1px 5px;
	text-decoration: none;
	background: #f4f4f4;
	border: solid 1px #d5d5d5;
	color: #d33b3d;
}
.com-fut a:hover {
	border-color: #474747;
	background: #d33b3d;
	color: #fff;
}
.com-group {
	font: normal 11px/14px Tahoma, serif;
	}
/* Sidebar Left
-----------------------------------------------------------------------------*/
.sl {
	float: left;
	width: 266px;
	margin-left: -100%;
	position: relative;
	padding-left: 12px;
}
.block {
	background: url(../images/bg-sl-bottomshad.png) no-repeat right bottom;
	width: 250px;
	padding: 0 16px 17px 0; 
	margin-bottom: 3px;
}
.block div, .block div div {
	background: url(../images/bg-sl-round.png) no-repeat;
}
.block div {
	width: 250px;
	background-position: 0 0;
	background-color: #f5f5f5;
}
.block div div {
	background-position: -250px bottom;
	width: 250px;
}
.bg-login, .block div div div.bg-navi, .block div div div.bg-tags, .block div div div.bg-arhives, .block div div div.bg-calendar, .block div div div.bg-forum, .block div div div.bg-stat  {
	background: url(../images/bg-sl-icons.png) no-repeat;
	width: 230px;
	padding: 10px ;
}
.bg-login {	background-position: 0 0;}
.block div div div.bg-navi {background-position: -250px -250px;}
.block div div div.bg-tags {background-position: -500px -500px;}
.block div div div.bg-arhives {background-position: -750px -750px;}
.block div div div.bg-calendar {background-position: -1000px -1000px;}
.block div div div.bg-forum {background-position: -1250px -1250px;}
.block div div div.bg-stat {background-position: -1500px -1500px;}

.block div div div.bg-navi h2, .block div div div.bg-tags h2, .block div div div.bg-arhives h2, .block div div div.bg-calendar h2, .block div div div.bg-forum h2, .block div div div.bg-stat h2, .login-top h2 {
	background: url(../images/arrow-h2.gif) no-repeat 0 0;
	font: bold 18px/18px Arial, sans-serif;
	color: #464646;
	padding-left: 15px;
	text-shadow: 1px 1px 0 #fff;
	margin-bottom: 10px;
}
.login-top, .login-container, .login-bottom {
	background: url(../images/bg-login.png) no-repeat;
	width: 250px;
}
.login-top {
	background-position: 0 0;
	width: 240px;
	height: 20px;
	padding-top: 8px;
	padding-left: 10px;
}

.login-container {
	background-repeat: repeat-y;
	background-position: -250px 0;
	width: 250px;
}
.login-bottom {
	background-position: -500px bottom;
	width: 250px;
	height: 12px;
	margin-bottom: 20px;
}
.login_foto img {
	background: #fff;
	padding: 2px;
	border: solid 1px #ccc;
	clear: both;
	margin: 5px auto;
	}
	.iflogin a {
		display: block;
		width: 50%;
		float: left;
		}
.navi li {
}
.navi ul li a {
	font: normal 14px/14px Verdana, Tahoma, sans-serif;
	color:#424242;
	display:block;
	width: 220px;
	text-decoration:none;
	padding: 3px 0px 5px 10px;
	background: url(../images/menu-border.gif) repeat-x 0 -8px;
	margin-left: -1px;
	text-indent: 15px;
	text-shadow: 1px 1px 0 #fff;
}

.navi ul li a:hover {
	color: #d33b3d;
	background: url(../images/menu-border.gif) repeat-x 0 -38px;
}

/* Footer
-----------------------------------------------------------------------------*/
#footer {
	margin: -85px auto 0;
	min-width: 980px;
	height: 65px;
	padding: 20px 0 0 0;
}
.foot-left, .foot-right, .foot {
	background: url(../images/bg-footer.png) no-repeat;
}
.foot {
	margin: 0 28px;
	background-position: 0 -65px;
	background-repeat: repeat-x;
	height: 65px;
}
.foot-left {
	background-position: 0 0;
	width: 8px;
	height: 65px;
	margin-left: -8px;
}

.foot-center {
	margin-top: -65px;
	padding: 15px 2px 10px;
	height: 40px;
	text-align: center;
}
.foot-right {
	background-position: 0 -130px;
	width: 8px;
	height: 65px;
	margin-right: -8px;
	margin-top: -65px;
	float: right;
}

.grey-border {
	border: dashed 2px #ededed;
	padding: 10px;
	margin: 20px 20px 0 0;
}
.grey-border h1 a {
	font: normal 18px/18px Arial, Sans-serif;
	text-decoration: none;
	color: #d33b3d;
	padding-bottom: 2px;
	border-bottom: dotted 2px #d33b3d;
}
.grey-border h1 a:hover {
	color: #000;
	border-bottom: solid 2px #d33b3d;
}
.search-id {
	font-family: Georgia; font-size: 22px;
	color: #777;
}

/*Pagenavigation
----------------------------------------*/
.pagenavigation {
	color: #555555; 
	border: 0px;
}

.pagenavigation a:link,
.pagenavigation a:visited,
.pagenavigation a:active {
	text-decoration: none;
	color: #323232;
	background-color: #fff;
	border: 2px solid #eaeaea;
	padding: 3px 6px;
	font: normal 12px tahoma, sans-serif;
	margin-bottom: 5px;
}

.pagenavigation a:hover {
	background: #f7f7f7;
	color: #d33b3d;
	border-color: #d33b3d;
}

.pagenavigation span {
	text-decoration: none;
	color: #ccc;
	background-color: #fff;
	border: 2px solid #eaeaea;
	padding: 3px 6px;
	font: normal 12px tahoma, sans-serif;
	margin-bottom: 5px;
}
/*Signature and under avatar
----------------------------------------*/
.sig { padding-top: 1px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px;

	color: #717171;

	font-size: 11px;

	font-family: tahoma;

}

.savatar { padding-bottom: 7px; padding-top: 10px;text-align: center; vertical-align: top;

	font-size: 11px;

	font-family: tahoma;

}

/* ==================== Автозаполнение облака тегов */
.autocomplete-w1 { position:absolute; top:0px; left:0px; margin:8px 0 0 6px; /* IE6 fix: */ _background:none; _margin:0; }
.autocomplete { border:1px solid #999; background:#FFF; cursor:default; text-align:left; max-height:350px; overflow:auto; margin:-6px 6px 6px -6px; /* IE6 specific: */ _height:350px;  _margin:0; _overflow-x:hidden; }
.autocomplete .selected { background:#F0F0F0; }
.autocomplete div { font-size: 11px;font-family: verdana;padding:2px 5px; white-space:nowrap; }
.autocomplete strong { font-weight:normal; color:#3399FF; }

/* ==================== Быстрый поиск на сайте */
#searchsuggestions { border: solid 1px #eaeaea; background-color:#ffffff; font-size:10px; line-height:14px; margin-left: -15px; }
#searchsuggestions a { padding:5px;display:block; background-color:#ffffff; clear:left; height:70px; text-decoration:none; }
#searchsuggestions a:hover { background-color: #f4f4f4; color: #444444; }
#searchsuggestions a span.searchheading { background: #bcbdbc; display:block; font-weight:bold; padding:5px; color:#ffffff; }
#searchsuggestions a:hover span.searchheading { color: #323232; }
#searchsuggestions a span {color: #323232; }
#searchsuggestions a:hover span { color:#0000; }
#searchsuggestions span.seperator { float:right; padding-right:15px; margin-right:5px;}
#searchsuggestions span.seperator a {display:block; height:auto; color: #323232; }
#searchsuggestions span.notfound {  padding:5px;background-color:#ffffff; display:block; height:auto; color:#00000; }

#loading-layer {
	background: #d33b3d;
	padding: 15px;
	color: #fff;
	text-align: center;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	}
