h1 {
	font:normal 1.7em Arial;
	border-bottom:1px dotted #bbb;
	padding-bottom:2px;
	margin-bottom:2px;
}

#zpm
{
width: 97% !important;
}

#zpm td
{
padding: 0.5em;
}

#zpm td.zbbcodeq
{
padding: 0.5em 0.5em 0em 0.5em;
}

#zpm td.zbbcodew
{
padding: 0em 0.5em 0.5em 0.5em;
}

#zpm h3
{
font-size: 1.9em;
border-bottom: dotted 1px #E1E1E1;
}

#zpm h2
{
font-size: 1.4em;
border-bottom: dotted 1px #E1E1E1;
}

#zpm h4
{
font-size: 1.2em;
border-bottom: dotted 1px #E1E1E1;
margin-bottom: 0.7em;
}

#zpm .ztxt
{
font-size: 1.2em;
padding: 10px 0px 10px 0px;
line-height: 1.7em;
}

#zpm .zrat
{
width: 170px !important;
}

#zvote
{
display:inline;
}

td.zx
{
width: 150px !important;
vertical-align:top;
}

td.zxa
{
width: 220px !important;
vertical-align:top;
}

td.zxb
{
width: 150px !important;
vertical-align:top;
text-align:center;
}

.zinput {
border: 1px solid #E6E6E6;
background: #ffffff;
}

.zinput:hover, .zinput:focus
{
border: 1px solid #CCCCCC;
}

.zarea
{
height:1.5em;
margin:0 0px 0 0;
padding:0px;
vertical-align:middle;
border: 1px solid #E6E6E6;
background: #F3F3F3;
font-family: "trebuchet ms", helvetica, sans-serif;
}

.bbcodes, .zbutton {
font-size:0.8em;
border: 2px solid #FAECEC;
padding: 1px 8px;
background: #9D9D9D;
color: #FFFFFF;
}

html:root .zbutton{padding:0px 0px 3px 0px;} /* to FF */


div.zslogin
{
font-size:9px;
text-align:right;
}

table.zzcomm
{
padding-top:20px;
width: 97% !important;
}

#zcomm
{
width: 97% !important;
}

td.tcomm
{
font-size:12px;
text-align:left;
vertical-align:top;
width: 100%;
}

td.lcomm
{
font-size:9px;
letter-spacing:1px;
text-align:center;
vertical-align:top;
width: 100px !important;
padding:10px;
}

td.rcomm
{
font-size:11px;
text-align:left;
vertical-align:top;
width: 100%;
padding:10px;
}

td.bcomm
{
font-size:9px;
text-align:right;
vertical-align:top;
width: 100%;
}


/*------------------------------------------------------------------*/
/* Стили используемые в                 		            */
/*------------------------------------------------------------------*/

form {  PADDING-RIGHT: 0px; 
	PADDING-LEFT: 0px; 
	PADDING-BOTTOM: 0px; 
	MARGIN: 0px; 
	PADDING-TOP: 0px;
}

/* 
 * ========================================
 * Вывод архива 
 * ========================================
 */
.archives {
	vertical-align: top;
	font-family: "trebuchet ms", helvetica, sans-serif;
	font-size:11px;
	margin-top:6px;
	margin-left:20px;
	margin-bottom:10px;
}
.archives a {
	font-family: "trebuchet ms", helvetica, sans-serif;
	font-size:11px;
	color:#43637E;
}
/* 
 * ========================================
 * Цитата и скрытый текст
 * ========================================
 */
.title_quote {
	background: #EFD3DE;
	border: 1px dotted #D17A80;
	border-bottom: 0;
	color: #222;
	font-weight: bold;
	font-size: 10px;
	margin: 8px auto 0 auto;
	padding: 3px;
}

 .quote {
	color: #000000;
	FONT: 9pt "trebuchet ms", helvetica, sans-serif; 
	text-align:left;
	background-color:#FAF2F5;
	border-width:1px; 
	border-color:#D17A80; 
	border-style:dotted;
	padding: 5px;
	}
/* 
 * ========================================
 * Teг CODE
 * ========================================
 */
 .scriptcode {
	color: #000000;
	FONT: 9pt "trebuchet ms", helvetica, sans-serif; 
	text-align:left;
	background-color:#FAF2F5; 
	border-width:1px; 
	border-color:#D17A80; 
	border-style:dotted;
	padding: 5px;
	}
/* 
 * ========================================
 * Календарь 
 * ========================================
 */

.weekday-active-v {
	color:#FC8C06;
}

.day-active-v {
	color:#0076A3;
}

#calendar-layer{
	text-align:center;
}

.calendar {
	margin:0 auto;	 
}

.calendar td, th {
	padding:0px 1px;
}

.calendar th {
	padding-bottom:2px;
}

.weekday {
	color:#348B65;
}

.weekday-active {
	font-weight:bold;
}

.day-active {
	font-weight:bold;
}

.monthlink {
	text-decoration:none;
}

/* 
 * ========================================
 * Рейтинг 
 * ========================================
 */

.rating {
		color: #666666;
		font-family: "trebuchet ms", helvetica, sans-serif;
		font-size: 10px; 
		width: 85px;
		height: 10px;
	}
	.unit-rating{
		list-style:none;
		margin: 0px;
		padding:0px;
		width: 85px;
		height: 16px;
		position: relative;
		background: url('../dleimages/rating.gif') top left repeat-x;
	}
	
	.unit-rating li{
	    text-indent: -90000px;
		padding:0px;
		margin:0px;
		float: left;
	}
	.unit-rating li a{
		display:block;
		width:17px;
		height: 16px;
		text-decoration: none;
		text-indent: -9000px;
		z-index: 17;
		position: absolute;
		padding: 0px;
	}
	.unit-rating li a:hover{
		background: url('../dleimages/rating.gif') left center;
		z-index: 2;
		left: 0px;
	}
	.unit-rating a.r1-unit{left: 0px;}
	.unit-rating a.r1-unit:hover{width:17px;}
	.unit-rating a.r2-unit{left:17px;}
	.unit-rating a.r2-unit:hover{width: 34px;}
	.unit-rating a.r3-unit{left: 34px;}
	.unit-rating a.r3-unit:hover{width: 51px;}
	.unit-rating a.r4-unit{left: 51px;}	
	.unit-rating a.r4-unit:hover{width: 68px;}
	.unit-rating a.r5-unit{left: 68px;}
	.unit-rating a.r5-unit:hover{width: 85px;}
	.unit-rating li.current-rating{
		background: url('../dleimages/rating.gif') left bottom;
		position: absolute;
		height: 16px;
		display: block;
		text-indent: -9000px;
		z-index: 1;
}

/* 
 * ========================================
 * BB коды
 * ========================================
 */ 

.editor_button {
	float:left;
	cursor:pointer;
	padding-left: 2px;
	padding-right: 2px;
}
.editor_buttoncl {
	float:left;
	cursor:pointer;
	padding-left: 1px;
	padding-right: 1px;
	border-left: 1px solid #BBB;
	border-right: 1px solid #BBB;
}
.editbclose {
	float:right;
	cursor:pointer;
}

/* 
 * ========================================
 * Дополнительные поля новостей
 * ========================================
 */ 

.xfields textarea {
width:500px; height:90px; font-family:"trebuchet ms", helvetica, sans-serif; font-size:11px; border:1px solid #E0E0E0;
}
.xfields input {
width:250px; height:18px; font-family:"trebuchet ms", helvetica, sans-serif; font-size:11px; border:1px solid #E0E0E0;
}
.xfields select {
height:18px; font-family:"trebuchet ms", helvetica, sans-serif; font-size:11px; border:1px solid #E0E0E0;
}

/* 
 * ========================================
 * Дополнительные поля профиля пользователей
 * ========================================
 */ 

.xprofile textarea {
width:499px; height:90px; font-family:"trebuchet ms", helvetica, sans-serif; font-size:11px; border:1px solid #E0E0E0;
}
.xprofile input {
width:250px; height:18px; font-family:"trebuchet ms", helvetica, sans-serif; font-size:11px; border:1px solid #E0E0E0;
}


/* 
 * ========================================
 * Персональные сообщения
 * ========================================
 */ 

.pm_head {
	font: 10pt "trebuchet ms", helvetica, sans-serif; 
}
.pm_list {
	color: #888888;
	font-size: 11px;
	font-family: "trebuchet ms",
	}
.pm_list a {
	color: #9F0018;
	font-size: 11px;
	font-family: "trebuchet ms",
}

/* 
 * ========================================
 * Выпадающее меню
 * ========================================
 */ 

#dropmenudiv{
border:1px solid white;
border-bottom-width: 0;
font:normal 10px "trebuchet ms", helvetica, sans-serif;
background-color: #A82424;
line-height:14px;
margin:2px;
filter: alpha(opacity=95, enabled=1) progid:DXImageTransform.Microsoft.Shadow(color=#CACACA,direction=135,strength=3);
}

#dropmenudiv a{
display: block;
text-indent: 3px;
border: 1px solid white;
padding: 1px 0;
MARGIN: 1px;
color: #FFF;
text-decoration: none;
font-weight: bold;
}

#dropmenudiv a:hover{ /*hover background color*/
background-color: #D23131;
color: #FFF;
}

/* 
 * ========================================
 * Опрос
 * ========================================
 */

.vote  {
	color: #717171;
	font-size: 12px;
	font-family: "trebuchet ms", helvetica, sans-serif;
	text-align: left;
}

/* 
 * ========================================
 * Уведомление о получении новых PM
 * ========================================
 */

#newpm {
	position:absolute;
	height:250px;
	width:400px;
	padding:4px;
	background-color:#FDFDFD;
	border:1px solid #BBB;
	font-family: "trebuchet ms", helvetica, sans-serif;
	font-size: 11px;
	line-height: 135%;
	filter: progid:DXImageTransform.Microsoft.Shadow(color=#CACACA,direction=135,strength=4);
	}

#newpmheader {
	padding-left:5px;
	padding-right:5px;
	padding-top:2px;
	height:20px;
	color: #000;
	font-weight: bold;
	background-color:#E3C0C0;
	font-family: "trebuchet ms", helvetica, sans-serif;
	font-size:11px;
	cursor:move;
	}

#newpm a{
	background: transparent;
	color: #4D6A8A;
	text-decoration: none;
}

#newpm a:hover{
	background: transparent;
	color: #4D6A8A;
	text-decoration: underline;
}
/* 
 * ========================================
 * Ссылка на скачивание прикрепленного файла
 * ========================================
 */
#attachment {
	color: gray;
	}

/* 
 * ========================================
 * Поиск по сайту и результаты поиска
 * ========================================
 */

.search {
	font-family: "trebuchet ms", helvetica, sans-serif;font-size: 11px;
	color:#53646F;
	text-decoration: none;
	padding:2px;
	}

.textin {
	font-family: "trebuchet ms", helvetica, sans-serif;font-size: 11px;
	color:#00002C;
	text-decoration: none;
	}

.sresult  {
	text-align: justify;
	font-family:"trebuchet ms", helvetica, sans-serif;
    FONT-WEIGHT: normal;
    LINE-HEIGHT: 16px;
	font-size:12px;
	color:#606D77;
}

/* Navigation */

.navigation {
	color:#666;
	padding:0 0 5px;
}

	.navigation a {
		text-decoration:none;
		color:#636363;
		background:#F9F9F9;
		border:1px solid #999;
		padding:0px 4px;
		font-size:11px
	}

	.navigation a:hover {
		background:#767676;
		color:#fff;
		border-color:#999;
	}

	.navigation span {
		text-decoration:none;
		background:#fff;
		padding:0px 4px;
		border:1px solid #999;
		color:#999;
		font-size:11px;
	}

#login {background:#FFFFFF; padding-bottom:5px; padding-top:5px; padding-right:5px;}
#td {padding-left:15px; width:100%;}
*:first-child+html #td {margin-left:30px; width:97%;}
#login .login {width:80px; height:15px; font-size:11px; font-family:tahoma; color:#999; border:0px; padding-left:23px; padding-top:1px; margin-left:3%; margin-right:5%; border: 1px #dadada solid;}

#login #name {background: url(../img/name.png) #fff no-repeat left;}
#login #pass {background: url(../img/pass.png) #fff no-repeat left;}
#login #button {background: url(../img/go1.png) no-repeat; vertical-align:middle; border:0px; width:55px; height:19px; padding:0px;}

#login .va {vertical-align:middle; text-align:center}
#login .nm {padding-left:5px;}
#login .lpad {padding:3px 0px 0px 0px;}

#login #login-panel img {margin-right:3px; margin-bottom:1px; vertical-align:text-bottom;}
#login #go {padding-left:15px; padding-right:10px;}
#login #cb {padding-right:4px;}
#login .rp {border-left:1px solid #c5c5c5; text-align:center; padding-right:17px; padding-left:20px;}
#login .rp a {font-size:10px; color:#7b7b7b; line-height:10px;}

.title-footer {
		overflow:hidden;
		color:#959595;
		padding-bottom:8px;
	}

		.title-footer a {
			color:#959595;
			text-decoration:none;
		}

		.title-footer a:hover {
			text-decoration:underline;
		}

		.title-footer img {
			vertical-align:top;
		}

		.rating {
			float:right;
		}

	.news {
		border-bottom:1px dotted #bbb;
		overflow:hidden;
                vertical-align:top;
	}

		.news img {
			margin:0 0px;
		}

	.post-footer {
		padding:3px 0;
		margin-bottom:20px;
		overflow:hidden;
		text-align:right;
		color:#C0C0C0;
	}

		.info {
			float:left;font-size:10px;color:#999999;
		}

			.info a {
				color:#999999;font-size:11px;
			}

		.post-footer span {
			padding-left:19px;
			margin-right:5px;
		}

		.user {background:url("../images/user.png") no-repeat left;}
		.user a {
			color:#C0C0C0;
			text-decoration:none;
}
		.date {background:url("../images/date.png") no-repeat left;}
		.view {background:url("../images/view.png") no-repeat left;}
		.download {background:url("../images/download.png") no-repeat left;}
		.download a {
			color:#3399FF;
			text-decoration:none;
			}
		.comments {background:url("../images/comments.png") no-repeat left;}
				.comments a {
			color:#3399FF;
			text-decoration:none;
			}
/* Add comments */

.addcomment {
	width:462px;
	vertical-align:top;
	text-align:left;
}

	.addcom {
		width:462px;
		margin-left:auto;
		margin-right:auto;
		padding:2px;
		border:2px solid #ddd;
		margin-bottom:10px;
	}

		.addcomment textarea {
			width:100%;
			border:none;
			height:100px;
		}

	.commentform {
		line-height:25px;
		width:24%;
	}

/* Comments styles */

.comment-block.odd {
	background:#EFFAFE;
	margin-bottom:10px;
}

.comment-head {
	color:#333;
	padding:5px 15px;
	overflow:hidden;
	zoom:1;
}

	.comment-head h3 {
		margin:0;
	}

	.comment-head a {
		color:#F26D7D;
	}
	
	.icq img {
		margin-bottom:-5px;
	}
	
	.right {
		float:right;
	}
	
.comment {
	overflow:hidden;
	padding-bottom:7px;
	background:url("../images/comment-bg.gif") repeat-y left;
	zoom:1;
}

	.author-info {
		float:left;
		width:160px;
		padding:6px;
	}
	
	.comment-body {
		display:table;
		padding:6px;
	}
	
		.quote {
			margin:5px 0;
			background:#E1F0FF;
			border:1px dotted #999;
		}
	
.comment-footer {
	padding:5px 15px;
	color:#333;
}

	.comment-footer a {
		color:#333;
	}

.next1 {
	color:#666; 
}

.next1 a:link,
.next1 a:visited,
.next1 a:hover,
.next1 a:active {
	text-decoration:none;
	color: #FFFFFF;
	background:#999999;
	padding:0px 6px;
	font-size:11px
}

.next1 a:hover {
	background:#EC0294;
	color:#FFFFFF;
}

.next1 span {
	text-decoration:none;
	background:#fff;
	padding:3px 6px;
	color:#ccc;
	font-size:10px;
}