/*---
Design by: CSKenT.Ru
--------------------------------
Author: AnToha
--------------------------------
Code: Misterio
--------------------------------
Web-site: http://cskent.ru/
--------------------------------
Date: 31 December 2012
---*/

/*---Информационное оконо загрузки AJAX---*/
#loading-layer { display: none; font-size: 11px; background: #000; 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; 0; }
.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%; }
.calendar td, .calendar th { padding: 5px 0; vertical-align: middle; text-align: center; }
.weekday-active-v, .day-active-v, .weekday-active, .day-active { font-weight: bold; }
.weekday { color: #b270ce; }
th.workday, th.weekday { background-color: #f4f8fa; }
.monthselect { font-size: 1.15em; }

.day-current { background-color: #3f4b51; color: #fff; }
.day-current a { color: #fff; }

/*---usertop---*/
.userstop td, .pm td.pm_list, .pm td.pm_head {height:27px; padding:0 2px; background-color: #e2e2e2; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; color:#242424;}
.userstop thead td, .pm td.pm_head {font-size:12px; background: #242424; height: 27px; padding: 0; font-weight: bold; text-align: center; color: #fff; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px;}

/*---Рейтинг---*/
.rating { width: 80px; overflow:hidden; margin:7px 0 0 7px; height: 16px; font-size: 0.9em; }

.unit-rating { list-style: none; margin: 0; padding: 0; width: 80px; height: 16px; 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: 16px; height: 16px; text-decoration: none; text-indent: -9000px; z-index: 16; position: absolute; padding: 0; }
.unit-rating li a:hover { background: url('../dleimages/rating.png') 0 -16px; z-index: 2; left: 0; }

.unit-rating a.r1-unit {left: 0;}		.unit-rating a.r1-unit:hover {width:16px;}
.unit-rating a.r2-unit {left: 16px;}	.unit-rating a.r2-unit:hover {width: 32px;}
.unit-rating a.r3-unit {left: 32px;}	.unit-rating a.r3-unit:hover {width: 48px;}
.unit-rating a.r4-unit {left: 48px;}	.unit-rating a.r4-unit:hover {width: 64px;}
.unit-rating a.r5-unit {left: 64px;}	.unit-rating a.r5-unit:hover {width: 80px;}

.unit-rating li.current-rating { background: url('../dleimages/rating.png') 0 -32px; position: absolute; height: 16px; display: block; text-indent: -9000px; z-index: 1; }

/*---BB коды---*/
 /* различие bbcodes и bbcodes_poll исключительно в длине кнопки */
/* класс bbcodes используем в списке персональных сообщений (pm.tpl)  и по умолчанию в модуле редактора сообщений*/
.bbcodes, .bbcodes_poll {
	background: #fff url('../images/bbcodes.gif') repeat-x;
	text-shadow: 0 0 1px #b9b8b8;
	color:#272727;
	padding: 1px 20px 3px 20px;
	margin-bottom: 2px !important;
	height:24px;
	cursor: pointer;
	border:2px solid #171717;
	-moz-box-shadow: 0 1px 5px -2px black;
	-webkit-box-shadow: 0 1px 5px -2px black;
	box-shadow: 0 1px 5px -2px black;
	-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;
	font:14px/12px Calibri, Arial, Helvetica, sans-serif;
}
.bbcodes:hover, .bbcodes_poll:hover {background-position:0 -20px;color:#fff;text-shadow: 0 0 1px #313131;}
.bbcodes_poll {width:100px;}

/*---bb_codes_by_dcorearts.com---*/
.editor { width: 398px !important; background-color: #fff; border: 1px solid #eaeaea; -webkit-border-radius: 6px; -moz-border-radius: 6px; border-radius: 6px;}
.editor .bbeditor { border-width: 0 0 1px 0; }
.taedit { background-color: #f9fafa; border: 1px solid #d4dfe8; }
.editor textarea, .taedit textarea { width: 100% !important; background: url('../images/bb_bg2.png') repeat-x center top; border: 0 none;  }

.bbeditor {height:30px; background:url('../images/bb_bg.png') repeat-x; overflow:hidden;}
.bbeditor ul {margin:3px 0 0 3px;}
.bbeditor ul li {float:left; margin:0 0 0 -1px; width:24px; height:24px; background:url('../images/bbcode.png') no-repeat;}
.bbeditor ul li.bbspacer {width:2px; margin:0 2px 0 1px; height:23px; background:url('../images/brkspace.png') no-repeat;}
.bbeditor ul li.b_b {background-position:0 0;}
.bbeditor ul li.b_b:hover {background-position:0 -24px;}
.bbeditor ul li.b_i {background-position:-24px 0;}
.bbeditor ul li.b_i:hover {background-position:-24px -24px;}
.bbeditor ul li.b_u {background-position:-48px 0;}
.bbeditor ul li.b_u:hover {background-position:-48px -24px;}
.bbeditor ul li.b_s {background-position:-72px 0;}
.bbeditor ul li.b_s:hover {background-position:-72px -24px;}
.bbeditor ul li.b_l {background-position:-96px 0;}
.bbeditor ul li.b_l:hover {background-position:-96px -24px;}
.bbeditor ul li.b_c {background-position:-120px 0;}
.bbeditor ul li.b_c:hover {background-position:-120px -24px;}
.bbeditor ul li.b_r {background-position:-144px 0;}
.bbeditor ul li.b_r:hover {background-position:-144px -24px;}
.bbeditor ul li.b_emo {background-position:-168px 0;}
.bbeditor ul li.b_emo:hover {background-position:-168px -24px;}
.bbeditor ul li.b_img {background-position:-192px 0;}
.bbeditor ul li.b_img:hover {background-position:-192px -24px;}
.bbeditor ul li.b_color {background-position:-216px 0;}
.bbeditor ul li.b_color:hover {background-position:-216px -24px;}
.bbeditor ul li.b_hide {background-position:-240px 0;}
.bbeditor ul li.b_hide:hover {background-position:-240px -24px;}
.bbeditor ul li.b_quote {background-position:-264px 0;}
.bbeditor ul li.b_quote:hover {background-position:-264px -24px;}
.bbeditor ul li.b_translit {background-position:-288px 0;}
.bbeditor ul li.b_translit:hover {background-position:-288px -24px;}
.bbeditor ul li.b_spoiler {background-position:-312px 0;}
.bbeditor ul li.b_spoiler:hover {background-position:-312px -24px;}
.bbeditor ul li.b_url {background-position:-336px 0;}
.bbeditor ul li.b_url:hover {background-position:-336px -24px;}
.bbeditor ul li.b_leech {background-position:-360px 0;}
.bbeditor ul li.b_leech:hover {background-position:-360px -24px;}

.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; margin: 0px 1px 0px 0px;padding: 0px; }
.xfields input, .xprofile input { width: 250px; padding: 2px; }
.xfields_table td { vertical-align: top; }

/*---Персональные сообщения---*/ 
.pm_head {font-weight: bold;}

/*---Выпадающее меню кнопки редактировать---*/
#dropmenudiv {
	background-color: #b4760d;
	font:12px/11px Calibri, Arial, Helvetica, sans-serif;
	line-height: 20px;
	margin: 2px 0;
	padding: 5px;
	opacity:0.9; -moz-opacity:0.9; filter:alpha(opacity=90);
	-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;
}

#dropmenudiv a { display: block; text-decoration: none; color: #fff; padding: 1px 4px 0 6px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;}
#dropmenudiv a:hover { background-color: #e49510; }

/*---Ссылка на скачивание прикрепленного файла---*/
.attachment { color: #808080; }

/*---Рамка расширенной формы поиска по сайту---*/
fieldset { border: 1px solid #fff; 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 { z-index: 998; border: 1px solid #000; width:300px; background-color: #fff; font-size: 0.9em; }
#searchsuggestions a, #searchsuggestions span.notfound { padding: 10px; display: block; text-decoration: none; }
#searchsuggestions a { color: #2c2c2c; border-bottom: 1px solid #f4f4f4; }
#searchsuggestions a:hover { background-color: #f4f4f4; }
	#searchsuggestions span.searchheading { display: block; font-weight: bold; color: #154b5e; }
	#searchsuggestions span.seperator { display: block; background-color: #7d4a03; }
	#searchsuggestions span.seperator a { padding: 5px 10px; text-align: right; border: 0 none; background-color: transparent; color: #fff; }
	#searchsuggestions span.notfound { padding: 10px; display: block; }
		#searchsuggestions .break { display: none; }

/*---Диалоговые и всплывающие окна jQuery UI---*/
.ui-widget-overlay { background: #000; opacity:0.4; -moz-opacity:0.4; filter:alpha(opacity=40); left: 0; position: absolute; top: 0; }
.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-header {
	height:21px;
	font:14px/12px Calibri, Arial, Helvetica, sans-serif;
	color:#fff;
	line-height:14px;
	text-shadow:0px 0px 1px #184268;
	background:#000 url('../images/ui-bg_gloss-waveb.png') no-repeat;
	border:2px solid #000;
	-webkit-border-radius:6px;
	-moz-border-radius:6px;
	border-radius:6px;
}
.ui-widget-header a { color: #fff; }

.ui-widget-header .ui-icon { background-image: url("../images/ui-icons.png"); }
.ui-state-hover .ui-icon, .ui-state-focus .ui-icon { background-color: #db143d; }
.ui-icon-close, .ui-icon-closethick {height:22px; width:21px; background: url('../images/ui_close.png') no-repeat 50% 1px !important;}
.ui-dialog { background:#000;background:rgba(0,0,0,0.85); overflow: hidden; padding: 5px; position: absolute; width: 300px; -webkit-border-radius: 6px; -moz-border-radius: 6px; border-radius: 6px;}

.ui-widget input, .ui-widget textarea {
	background: #fff url("../images/fields.png") repeat-x; border: 1px solid #bcc0c2;
}

.ui-dialog .ui-dialog-titlebar { padding: .5em 1em .3em; position: relative; }
.ui-dialog .ui-dialog-title { float: left; margin: .1em 13px .3em 0; }
.ui-dialog .ui-dialog-titlebar-close {
	height: 22px;
	margin: -14px 0 0 0;
	padding: 1px;
	position: absolute;
	right: .3em;
	top: 50%;
	width: 21px;
}
.ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; }
.ui-dialog .ui-dialog-content {
	background: none;
	color:#fff;
	border: 0;
	overflow: hidden;
	opacity:1.0;
	padding: 13px 13px 0 13px;
	position: relative;
	zoom: 1;
}
.ui-dialog .ui-dialog-buttonpane { background: url("../images/ussep.png") no-repeat 50% 0; padding: 12px 6px 6px 6px; text-align: left; }
.ui-dialog .ui-dialog-buttonpane button {
	cursor: pointer;
	line-height: 1.4em;
	margin: 0 1px;
	overflow: visible;
	width: auto;
}

.ui-button{
	background:url('../images/ui_button_bg.png') no-repeat;
	text-align:center;
	min-width:80px;
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#8E8E8E', endColorstr='#545454');
	background: -webkit-gradient(linear, left top, left bottom, from(#8E8E8E), to(#545454));
	background: -moz-linear-gradient(top,  #8E8E8E,  #545454);
	border:1px solid #000;
	color:#a4a4a4;
	text-shadow:0px -1px 0px #111111;
	padding:4px 15px 4px 15px !important;
	font-size:11px;
	border-radius:6px;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	-moz-box-shadow:0px 0px 1px #fff inset;
	box-shadow:0px 0px 1px #fff inset;
	-webkit-box-shadow:0px 0px 1px #fff inset;
	cursor:pointer;
}
.ui-button:hover{
	color:#195d98;
	text-shadow:0px -1px 0px #000;
}
.ui-button:active{
	background:#be3d36;
	color:#fff;
	text-shadow:0px 0px 0px #be3d36;
}
button.ui-button::-moz-focus-inner{border:0;padding:0;}
.ui-dialog-buttonset {text-align:center; border-top:1px solid #353535; padding:5px 0 0 0;}
.ui-dialog .ui-resizable-se { bottom: 3px; height: 14px; right: 3px; width: 14px; }
.ui-draggable .ui-dialog-titlebar { cursor: move; }

.ui-state-error { background: #fef1ec 50% 50% repeat-x !important; border: 1px solid #cd0a0a; color: #cd0a0a; }

/* ==================== Автозаполнение облака тегов */
.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;
	background: #fff 50% bottom repeat-x; border: 1px solid #dedede; color: #222;
}
.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;
	border: 1px solid #a7a7a7;
	color: #4e4e4e;
	font-weight: bold;
}
/*---Подсветка кода в теге [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;
}