.selectmass input { float: right; margin-left: 6px; }
.mass_comments_action { text-align: right; }

/*---�������������� ���� �������� AJAX---*/
#loading-layer { display: none; font-size: 11px; background: #2e83d7; padding: 10px; text-align: center; color: #fff; }

/*---������ � ������� �����---*/
.scriptcode, .title_quote,
.quote, .title_spoiler, .text_spoiler { padding: 5px; background: #f9fafa; border: 1px solid #dce7e7; }
.title_quote, .title_spoiler { background: #f9fafa; }

.title_quote { border-bottom: 0; font-weight: bold; }
.scriptcode { color: #004e8d; text-align: left; font-family: "Courier New"; }
.title_spoiler { font-weight: bold; }
.text_spoiler { border-top: 0; text-align: justify; }

.hide { background-color: #e8f3fa; padding: 5px; color: #3a78a5; margin: 0 0 1em; }
.hide a { text-decoration: underline; } .hide a:hover { text-decoration: none }
.inhide { border: 1px solid #d1e3ef; padding: 5px; background-color: #fff; margin-bottom: 5px; }

/*---���������---*/
.calendar { width: 100%; color:#8a8a8a; font-size:12px; }
.calendar td, .calendar th { padding: 4px 0; vertical-align: middle; font-weight:normal; text-align: center; }
.weekday-active-v, .day-active-v, .weekday-active, .day-active {  }
.weekday { color: #37aee9; }

.day-current { background-color: #9fc846; color: #fff; }
.day-current a { color: #fff; }

/*---������ ������������---*/
.userstop td, .pm td.pm_list, .pm td.pm_head { border: 1px solid #d8d8d8; padding: 2px; background-color: #fff; }
.userstop thead td, .pm td.pm_head { font-size: 0.9em; background: #fff url("../images/bbcodes.png") repeat-x 0 100%; height: 22px; padding: 0; font-weight: bold; text-align: center; color: #4e4e4e; }

/*---�������---*/
.rating { width: 85px; height: 17px; font-size: 0.9em; }

.unit-rating { list-style: none; margin: 0; padding: 0; width: 85px; height: 17px; position: relative; background: url("../dleimages/rating.png") repeat-x; }
.unit-rating li { text-indent: -90000px; padding: 0; margin: 0; float: left; }
.unit-rating li a { display: block; width: 17px; height: 17px; text-decoration: none; text-indent: -9000px; z-index: 17; position: absolute; padding: 0; }
.unit-rating li a:hover { background: url("../dleimages/rating.png") 0 -17px; z-index: 2; left: 0; }

.unit-rating a.r1-unit {left: 0;}		.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.png") 0 -34px; position: absolute; height: 17px; display: block; text-indent: -9000px; z-index: 1; }

/*---BB ����---*/
 /* �������� bbcodes � bbcodes_poll ������������� � ����� ������ */
/* ����� bbcodes ���������� � ������ ������������ ��������� (pm.tpl)  � �� ��������� � ������ ��������� ���������*/
.bbcodes, .bbcodes_poll, .fbutton  {
	background:url(../images/bottoms.png) repeat-x;
	border: 0px;
	color: #fff;
	padding: 2px 9px 2px 9px;
	font-size: 12px;
	margin-bottom: 2px !important;
	height: 25px;
	cursor: pointer;
}
.main_botoms {
	background:url(../images/main_botoms.png) no-repeat;
	height: 25px;
	padding: 2px 9px 2px 9px;
	cursor: pointer;
	border: 0px;
	color:#fff;
	font-weight:normal;
}
	.main_botoms:hover {
		background:url(../images/main_botoms.png) no-repeat 0px -25px ;
	}
.bbcodes:hover, .bbcodes_poll:hover, .fbutton:hover { background-position: 0px -25px ; }
.bbcodes_poll { width: 100px; }

.editor textarea {  }
.editor input[type="text"] {}
.editor_button {
	float: left;
	cursor: pointer;
	padding-left: 0;
	padding-right: 0;
	
}
.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; display: none; }
.editor_button select { font-size: 11px; }

.editor_button img { margin: 0; padding: 0; }

.editbclose img { margin: 0; padding: 0; }
.editor_button_brk img { margin: 0; padding: 0; }

/*---�������������� ����---*/
.xfields textarea, .xprofile textarea { width: 98%; height: 86px;background-color: #f4f4f4;
	border: 0px; }
.xfields input, .xprofile input { width: 250px; height: 14px; padding: 2px; }
.xfields_table td { vertical-align: top; }

/*---������������ ���������---*/ 
.pm_head {font-weight: bold;}

/*---���������� ���� ������ �������������---*/
#dropmenudiv {
	border: 1px solid #cbdfe8;
	background-color: #fbfdfe;
	font-size: 11px;
	line-height: 20px;
	margin: 2px 0;
	padding: 5px;
	opacity:0.9; -moz-opacity:0.9; filter:alpha(opacity=90);
}

#dropmenudiv a { display: block; text-indent: 3px; text-decoration: none; color: #3f4b51; padding: 1px 0; width: 100%;}
#dropmenudiv a:hover { color: #2d8edd; }

/*---������ �� ���������� �������������� �����---*/
.attachment { color: #808080; }

/*---����� ����������� ����� ������ �� �����---*/
fieldset { border: 1px solid #bfced6; padding: 5px; text-align: left; }

/*---����� ������������ �������� ����������� �� ���� �� ����������� �����---*/
.highslide-wrapper, .highslide-outline { background: #FFFFFF; }
.highslide-image { border: 2px solid #FFFFFF; }
.highslide-active-anchor { visibility: hidden; } 
.highslide-active-anchor img { visibility: hidden; }
.highslide-dimming { background-color: black; }
.highslide-html { background-color: white; }
.highslide-loading {
    display: block;
	color: white;
	font-size: 9px;
	font-weight: bold;
    text-decoration: none;
	padding: 3px;
	border: 1px solid white;
    background-color: black;
}
a.highslide-full-expand {
	background: url("../dleimages/fullexpand.gif") no-repeat;
	display: block;
	margin: 0 10px 10px 0;
	width: 34px; height: 34px;
}
.highslide-display-block { display: block; }
.highslide-display-none { display: none; }
.highslide-caption { display: none; padding: 5px; background: white; }
.highslide-controls {
    width: 195px;
    height: 40px;
    background: url("../../../engine/classes/highslide/graphics/controlbar-black-border.gif") no-repeat 0 -90px;
    margin-right: 15px;
    margin-bottom: 10px;
    margin-top: 10px;
}
.highslide-controls ul {
	position: relative;
	left: 15px;
    height: 40px;
    list-style: none;
    margin: 0; padding: 0;
    background: url("../../../engine/classes/highslide/graphics/controlbar-black-border.gif") no-repeat 100% -90px;
}
.highslide-controls li { float: left; padding: 5px 0; }
.highslide-controls a {
    background: url("../../../engine/classes/highslide/graphics/controlbar-black-border.gif");
    display: block;
    float: left;
    height: 30px; width: 30px;
    outline: none;
}
.highslide-controls a.disabled { cursor: default; }
.highslide-controls a span { display: none; }
 
/*---The CSS sprites for the controlbar---*/
.highslide-controls .highslide-previous a { background-position: 0 0; }
.highslide-controls .highslide-previous a:hover { background-position: 0 -30px; }
.highslide-controls .highslide-previous a.disabled { background-position: 0 -60px !important; }
.highslide-controls .highslide-play a { background-position: -30px 0; }
.highslide-controls .highslide-play a:hover { background-position: -30px -30px; }
.highslide-controls .highslide-play a.disabled { background-position: -30px -60px !important; }
.highslide-controls .highslide-pause a { background-position: -60px 0; }
.highslide-controls .highslide-pause a:hover { background-position: -60px -30px; }
.highslide-controls .highslide-next a { background-position: -90px 0; }
.highslide-controls .highslide-next a:hover { background-position: -90px -30px; }
.highslide-controls .highslide-next a.disabled { background-position: -90px -60px !important; }
.highslide-controls .highslide-move a { background-position: -120px 0; }
.highslide-controls .highslide-move a:hover { background-position: -120px -30px; }
.highslide-controls .highslide-full-expand a { background-position: -150px 0; }
.highslide-controls .highslide-full-expand a:hover { background-position: -150px -30px; }
.highslide-controls .highslide-full-expand a.disabled { background-position: -150px -60px !important; }
.highslide-controls .highslide-close a { background-position: -180px 0; }
.highslide-controls .highslide-close a:hover { background-position: -180px -30px; }

/*---������ �����---*/
.clouds_xsmall { font-size: 1em; }
.clouds_small { font-size: 1.1em; }
.clouds_medium { font-size: 1.2em; font-weight: bold; }
.clouds_large { font-size: 1.5em; }
.clouds_xlarge { font-size: 1.7em; }

/*---������� ����� �� �����---*/
#searchsuggestions { width:450px; background-color:#3eb1ea; font-size:12px; line-height:14px; }
#searchsuggestions a { padding:5px;display:block; background-color:#fff; clear:left; height:75px; text-decoration:none; }
#searchsuggestions a:hover { background-color:#9fc846; color:#fff; }
#searchsuggestions a span.searchheading { background: #3eb1ea; display:block; font-weight:bold; padding:5px; color:#fff; }
#searchsuggestions a:hover span.searchheading { color:#fff;  }
#searchsuggestions a span {color:#555; }
#searchsuggestions a:hover span { color:#fff; }
#searchsuggestions span.seperator { float:right; padding-right:15px; margin-right:5px;}
#searchsuggestions span.seperator a { background-color:transparent; display:block; height:auto; color:#fff; }
#searchsuggestions span.notfound { padding:5px; background-color:#fff; display:block; height:auto; color:#000; }

/*---���������� � ����������� ���� jQuery UI---*/
.ui-helper-clearfix:after { clear: both; content: "."; display: block; height: 0; visibility: hidden; }
.ui-helper-clearfix { display: inline-block; }
* html .ui-helper-clearfix { height: 1%; }
.ui-helper-clearfix { display: block; }
.ui-icon { background-repeat: no-repeat; display: block; overflow: hidden; text-indent: -99999px; }
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button, .ui-widget { font-size: 11px; }
.ui-widget-content { background: #fff 50% bottom repeat-x; border: 1px solid #dedede; color: #222; }
.ui-widget-header {
	background: #3bb0ea;
	color: #fff;
	font-weight: bold;
}
.ui-widget-header a { color: #fff; }
.ui-state-default, .ui-widget-content .ui-state-default {
	background-color: #3bb0ea;
	border: 0px;
	color: #fff;

}
.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #2e6e9e; text-decoration: none; }
.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus {
	background: #9fc846;
	color: #fff;

}
.ui-state-hover a, .ui-state-hover a:hover { color: #1d5987; text-decoration: none; }
.ui-state-active, .ui-widget-content .ui-state-active {
	background-color: #3bb0ea;
	border: 0px;
	color: #fff;
}
.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #e17009; text-decoration: none; }

.ui-state-error {
	background: #fef1ec 50% 50% repeat-x;
	border: 1px solid #dedede;
	color: #cd0a0a;
}
.ui-widget-header .ui-icon { background-image: url(../images/ui-icons.png); }
.ui-state-hover .ui-icon, .ui-state-focus .ui-icon { background-image: url(../images/ui-icons_h.png); }
.ui-icon-close { background-position: -80px -128px; }
.ui-icon-closethick { background-position: -96px -128px; }
.ui-button .ui-button-text { display: block; line-height: 1.4em; }
.ui-button-text-only .ui-button-text { padding: .4em .8em; }
input.ui-button { padding: .4em 1em; }
.ui-button-set { margin-right: 7px; }
.ui-button-set .ui-button { margin-left: 0; margin-right: -.3em; }
button.ui-button::-moz-focus-inner { border: 0; padding: 0; }
.ui-dialog {
	overflow: hidden;
	padding: .2em;
	position: absolute;
	width: 300px;

}
.ui-dialog .ui-dialog-titlebar { padding: .5em 1em .3em; position: relative; }
.ui-dialog .ui-dialog-title { float: left; margin: .1em 16px .2em 0; }
.ui-dialog .ui-dialog-titlebar-close {
	height: 18px;
	margin: -10px 0 0 0;
	padding: 1px;
	position: absolute;
	right: .3em;
	top: 50%;
	width: 19px;
}
.ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; }
.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; }
.ui-dialog .ui-dialog-content {
	background: none;
	border: 0;
	overflow: hidden;
	padding: .5em 1em;
	position: relative;
	zoom: 1;
}
.ui-dialog .ui-dialog-buttonpane {
	background-image: none;
	border-width: 1px 0 0 0;
	margin: .5em 0 0 0;
	padding: .3em 1em .5em .4em;
	text-align: left;
}
.ui-dialog .ui-dialog-buttonpane button {
	cursor: pointer;
	float: right;
	line-height: 1.4em;
	margin: .5em .4em .5em 0;
	overflow: visible;
	padding: .2em .6em .3em .6em;
	width: auto;
}
.ui-dialog .ui-resizable-se { bottom: 3px; height: 14px; right: 3px; width: 14px; }
.ui-draggable .ui-dialog-titlebar { cursor: move; }

/* ==================== �������������� ������ ����� */
.ui-autocomplete { position: absolute; cursor: default; }

* html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */

.ui-menu {
	list-style:none;
	padding: 2px;
	margin: 0;
	display:block;
	float: left;
}
.ui-menu .ui-menu {
	margin-top: -3px;
}
.ui-menu .ui-menu-item {
	margin:0;
	padding: 0;
	zoom: 1;
	float: left;
	clear: left;
	width: 100%;
}
.ui-menu .ui-menu-item a {
	text-decoration:none;
	display:block;
	padding:.2em .4em;
	line-height:1.5;
	zoom:1;
}
.ui-menu .ui-menu-item a.ui-state-hover,
.ui-menu .ui-menu-item a.ui-state-active {
	font-weight: normal;
	margin: -1px;
}
/*---��������� ���� � ���� [code]---*/
pre code {
  display: block; padding: 0.5em;
  background: #f9fafa; 
  border: 1px solid #dce7e7;
  overflow:auto;
  white-space: pre;
}

pre .comment,
pre .template_comment,
pre .diff .header,
pre .doctype,
pre .lisp .string,
pre .javadoc {
  color: #93a1a1;
  font-style: italic;
}

pre .keyword,
pre .css .rule .keyword,
pre .winutils,
pre .javascript .title,
pre .method,
pre .addition,
pre .css .tag,
pre .lisp .title {
  color: #859900;
}

pre .number,
pre .command,
pre .string,
pre .tag .value,
pre .phpdoc,
pre .tex .formula,
pre .regexp,
pre .hexcolor {
  color: #2aa198;
}

pre .title,
pre .localvars,
pre .function .title,
pre .chunk,
pre .decorator,
pre .builtin,
pre .built_in,
pre .lisp .title,
pre .identifier,
pre .title .keymethods,
pre .id {
  color: #268bd2;
}

pre .tag .title,
pre .rules .property,
pre .django .tag .keyword {
  font-weight: bold;
}

pre .attribute,
pre .variable,
pre .instancevar,
pre .lisp .body,
pre .smalltalk .number,
pre .constant,
pre .class .title,
pre .parent,
pre .haskell .label {
  color: #b58900;
}

pre .preprocessor,
pre .pi,
pre .shebang,
pre .symbol,
pre .diff .change,
pre .special,
pre .keymethods,
pre .attr_selector,
pre .important,
pre .subst,
pre .cdata {
  color: #cb4b16;
}

pre .deletion {
  color: #dc322f;
}

pre .tex .formula {
  background: #eee8d5;
}
/*---�������� ��� ������������� ������������ ���������---*/
.pm_progress_bar {
	border: 1px solid #d8d8d8;
	padding: 1px;
	margin-top: 10px;
	margin-bottom: 10px;
}

.pm_progress_bar span {
	background: #000000;
	font-size: 0em;
	text-indent: -2000em;
	height: 10px;
	display: block;
	overflow: hidden;
}

/* ---- news ---- */
.sshort{float:left; width:324px; padding-left:15px; padding-top:15px;}
	.sshort .sheading{width:100%; height:85px;}	
		.sshort .sheading .dbg, .sshort .sheading .dleft, .sshort .sheading .dright{width:100%; height:100%;}
		.sshort .sheading .dbg{background:url(../images/sshortbg.png) repeat-x;}	
		.sshort .sheading .dleft{background:url(../images/ssheadl.png) no-repeat;}
		.sshort .sheading .dright{background:url(../images/ssheadr.png) no-repeat 100% 100%;}
	.sshort .dcont{padding:0 10px 10px 10px; background:#ebeef0; margin-left:17px;}
	.sshort .dtitle{height:42px; display:block; overflow:hidden; line-height:42px; padding:0 10px 0 58px; font-size:1.4em; overflow:hidden;}
		.sshort .dtitle a{color:#4a5254; text-decoration:none;}
			.sshort .dtitle a:hover{color:#80aa41; text-decoration:none;}
.sscat{height:43px; line-height:43px; padding:0 10px 0 30px; overflow:hidden;}
.poster{width:250px; height:140px; overflow:hidden; margin-bottom:10px;}
	.poster img{width:250px;}
.ssbtm{height:49px; margin-left:17px;}
	.ssbtm .dbg, .ssbtm .dleft, .ssbtm .dright{width:100%; height:100%;}
	.ssbtm .dbg{background:url(../images/ssbtm.png) repeat-x;}	
	.ssbtm .dleft{background:url(../images/ssbtml.png) no-repeat 0 100%;}
	.ssbtm .dright{background:url(../images/ssbtmr.png) no-repeat 100% 100%;}
	
	.sstext{ height:52px; overflow:hidden;}
	
.slang{float:left; height:26px; background:url(../images/lang.png) no-repeat 100% -26px; padding-right:11px; margin-left:10px; line-height:26px;}
	.slang span{display:block; float:left; height:26px; background:url(../images/lang.png) no-repeat; padding-left:11px; color:#fff; padding-right:3px;}
.scomm{float:left; height:26px; background:url(../images/scomm.png) no-repeat 100% -26px; padding-right:11px; margin-left:-11px; line-height:26px;} 
	.scomm span{display:block; float:left; height:26px; background:url(../images/scomm.png) no-repeat; padding-left:21px;padding-right:3px;}
	.scomm img{position:relative; top:3px;}
	
.story{padding-top:15px; background:url(../images/ssep.png) repeat-x bottom; padding-bottom:20px; clear:both; line-height:19px;}
	.story .sheading{height:85px; padding:0 15px;}
		.story .sheading .dbg, .story .sheading .dleft, .story .sheading .dright{width:100%; height:100%; background:url(../images/storyhead.png) no-repeat;}
		.story .sheading .dbg{background-repeat:repeat-x; background-position:0 -85px;}
		.story .sheading .dright{background-position:100% -170px;}
	.story .dtitle{height:42px; display:block; overflow:hidden; line-height:42px; padding:0 10px 0 58px; font-size:1.4em; overflow:hidden;}
		.story .dtitle a{color:#4a5254; text-decoration:none;}
			.story .dtitle a:hover{color:#80aa41; text-decoration:none;}
.scat{height:43px; line-height:43px; padding:0 10px 0 30px; overflow:hidden;}
	.scat .blue{color:#2179c2;}
.storycomm{float:right;}
	.storycomm img{position:relative; top:3px;}
	.story .dcont{padding:15px 15px;}
		.story .dcont img{margin:5px;}
.sbtm{padding:0 15px 15px 15px; height:26px;}
	a .fullbtn{background:url(../images/fullbtn.png) no-repeat; width:94px; height:26px; float:right;}
		a:hover .fullbtn{background-position:0 -26px;}