@charset "utf-8";

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

/*---Quote---*/
.scriptcode,
.quote {padding:6px 8px 6px 8px; color:#403e3e; margin:0 0 0 0; background: #ecebeb; border:1px solid #d2d2d2;}
.quote a {color:#403e3e;}
.title_quote {
	text-shadow:0 0 1px #797979; 
	padding:4px 0 4px 6px; 
	color:#fff; 
	font-size:12px; 
	margin:0 0 1px 0; 
	background: #474747 url('../images/title_quote_bg.png') repeat-x; 
	border-bottom:1px solid #4d4d4d; 
	border-left:1px solid #434343; 
	border-right:1px solid #434343; 
	border-top:1px solid #757575; 
}
.title_quote a {color:#1a1a1a;}

.title_spoiler {
	padding:3px 0 3px 1px; 
	font-size:12px; 
	margin:0 0 1px 0; 
	background: #474747 url('../images/title_spoiler_bg.gif') repeat-x; 
	border-bottom:1px solid #3f5d69; 
	border-left:1px solid #5b8595; 
	border-right:1px solid #5b8595; 
	border-top:1px solid #6897aa; 
}
.title_spoiler a:link, .title_spoiler a, .title_spoiler a:visited {color:#fff; text-decoration:none; text-shadow:0 1px 1px #4f7281;}
.title_spoiler a:hover {color:#fff; text-decoration:underline;}
.text_spoiler {border:1px solid #a9c6d2; color:#403e3e; background:#daebf2;text-align:justify;padding:6px 8px 6px 8px;}
.title_spoiler img { margin:0 2px -1px 0;}

.scriptcode { color: #076fb1; font-size:11px; text-align: left; font-family: "Courier New"; }

.hide { background-color: #e9f0f2; border:1px solid #cfdee3; padding:6px 8px 6px 8px; 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; }

.clr { 
clear: both;
}
.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;}
.bbeditor {padding:0 0 2px 0; background:url('../bbcodes/bg.png') repeat-x center bottom; }
.bbeditor span, .bbeditor span img, .bbeditor .bbspacer, .bbeditor .bbselect { float: left; }
.bbeditor .bbselect { height: 21px; padding: 4px 3px 0 3px; }
.bbeditor .bbselect select { font-size: 11px; }
.bbeditor span { cursor: pointer; background: url('../bbcodes/buttons.png') no-repeat; }
.bbeditor span:hover { background-position: -22px 0; }

.editor {
	background-color: #FFFFFF;
    background-image: -moz-linear-gradient(center bottom , white 85%, #EEEEEE 99%);
    border: 1px solid #AAAAAA;
    cursor: text;
    height: auto !important;
    margin: 0;
    overflow: hidden;
    padding: 0;
    position: relative;
}
.editor .bbeditor { border-width: 0 0 1px 0; }
.taedit { background-color: #f9fafa; border: 1px solid #d4dfe8; }
.editor textarea, .taedit textarea { width: 100% !important; background: none; border: 0 none; background-color: #F9FAFA; }
.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; }


/*---Лучшие пользователи---*/
.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; }

/*---Дополнительные поля---*/
.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; }

a.downloadfile, a.downloadfile:visited {display: inline-block; line-height:14px; width:202px; height:50px; background:url('/engine/skins/images/download_plus.png') no-repeat #2e6d95; color:#fff; margin-top: 5px; position:relative; border-radius:3px; -moz-border-radius:3px; -webkit-border-radius:3px; text-decoration: none;}
a.downloadfile:hover {background-position:0px -100px; color:#fff;}
a.downloadfile:active {background-position:0px -50px; color:#fff;}

#demo-but{display:inline-block;width:166px;height:50px;background:url('../images/demo_plus.png') no-repeat #2E6D95;-webkit-border-top-left-radius:3px;-webkit-border-bottom-left-radius:3px;-moz-border-radius-topleft:3px;-moz-border-radius-bottomleft:3px;border-top-left-radius:3px;border-bottom-left-radius:3px; margin-top: 10px;}
#demo-but:hover{background-position:0px -50px}
#demo-but:active{background-position:0px -100px}
#demo-but_blank{display:inline-block;width:35px;height:50px;background:url('../images/demo_plus.png') no-repeat #2E6D95; margin-left: -4px; background-position:-166px 0px;-webkit-border-top-right-radius:3px;-webkit-border-bottom-right-radius:3px;-moz-border-radius-topright:3px;-moz-border-radius-bottomright:3px;border-top-right-radius:3px;border-bottom-right-radius:3px}
#demo-but_blank:hover{background-position:-166px -50px}
#demo-but_blank:active{background-position:-166px -100px}

/*---Рамка расширенной формы поиска по сайту---*/
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:11px;
	color:#fff;
	line-height:14px;
	text-shadow:0px 1px 1px #2c668b;
	background:#000 url('../images/ui-bg_gloss-waveb.png') no-repeat;
	border:2px solid #b9d5df;
	-webkit-border-radius:9px;
	-moz-border-radius:9px;
	border-radius:9px;
}
.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:#f6f6f6;
		 box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.80);
    -moz-box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.80);
    -webkit-box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.80);
	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 {
	overflow: auto; 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:#000;
	border: 0;
	overflow: hidden;
	opacity:1.0;
	padding: 13px 13px 0 13px;
	position: relative;
	zoom: 1;
}
.ui-dialog .ui-dialog-buttonpane { background: url("../images/ui_sep.png") no-repeat 50% 0; padding: 12px 6px 6px 6px; text-align: left; }
.ui-dialog .ui-dialog-buttonpane button {
	cursor: pointer;
	float: right;
	line-height: 1.4em;
	margin: 0 1px;
	overflow: visible;
	width: auto;
}

.ui-dialog-buttonset {height:25px; margin:0 -10px; text-align:center; padding:10px 10px 0 0; background:url('../images/ui_sep.png') repeat-x center top;}
.ui-button  span, .ui-button {display:block; border:none; height:28px; background:url('../images/chat_btn.png') no-repeat 100% 0;}
.ui-button {display:block; color:#347aa8; text-shadow:0 1px 1px #fff;  padding: 0 7px 0 0;}
.ui-button  span {display:block; float:left; background-position:0 -28px; line-height:24px; padding:0 2px 0 8px;}
.ui-button:hover {color:#5f5f5f; text-shadow:0 1px 1px #fff; text-decoration:none;}
.ui-dialog .ui-resizable-se { bottom: 3px; height: 14px; right: 3px; width: 14px; }
.ui-draggable .ui-dialog-titlebar { cursor: move; }

.ui-state-error { background: #E7F0F5 50% 50% repeat-x !important; border: 1px solid #6599BC; color: #6599BC; font-size: 10px; text-align:center; }

/* ==================== Автозаполнение облака тегов */
.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;
}

.polled { height: 6px; }
.voted { height: 6px; }
.progress { position: relative; display: block; padding:2px 2px 0 2px; margin:4px 0; background: #8db3c2;

    background: #8db3c2; /* Цвет фона */
    -moz-box-shadow: 0 1px 1px #65808a inset; /* Для Firefox */
    -webkit-box-shadow: 0 1px 1px #65808a inset; /* Для Safari и Chrome */
    box-shadow: 0 1px 1px #65808a inset; /* Параметры тени */

    -khtml-border-radius: 6px; /* KHTML */
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
}

.polled span { height:8px; }
.voted span { height: 4px; }
.progress span { display: block; margin: 0; padding: 0; text-align:center; width:0;
    
    -moz-box-shadow:inset 0 1px 0 rgba(255,255,255,0.3);
    -webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.3);
    box-shadow:inset 0 1px 0 rgba(255,255,255,0.3);
	-khtml-border-radius: 6px; /* KHTML */
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
}
.progress span b { color:#fff; line-height:8px; padding-left:2px; text-shadow:0 1px 1px rgba(0, 0, 0, 0.5); }

.progress-1 span {
    background-color: #ffffff;
    background: -moz-linear-gradient(top, color-stop(0.1, #65808a), #ffffff 90%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.1, #ffffff), color-stop(0.9, #e8e8e8));
    filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e8e8e8');
}

.progress-2 span {
    background-color: #ffffff;
    background: -moz-linear-gradient(top, color-stop(0.1, #65808a), #ffffff 90%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.1, #ffffff), color-stop(0.9, #e8e8e8));
    filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e8e8e8');
}
.progress-3 span {
    background-color: #ffffff;
    background: -moz-linear-gradient(top, color-stop(0.1, #65808a), #ffffff 90%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.1, #ffffff), color-stop(0.9, #e8e8e8));
    filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e8e8e8');
}
.progress-4 span {
    background-color: #ffffff;
    background: -moz-linear-gradient(top, color-stop(0.1, #65808a), #ffffff 90%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.1, #ffffff), color-stop(0.9, #e8e8e8));
    filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e8e8e8');
}
.progress-5 span {
    background-color: #ffffff;
    background: -moz-linear-gradient(top, color-stop(0.1, #65808a), #ffffff 90%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.1, #ffffff), color-stop(0.9, #e8e8e8));
    filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e8e8e8');
}

.rating_info{ background-color:#000; position:absolute; margin-top:38px; margin-left:16px; padding:5px 10px; display:none; color:#fff; text-shadow:1px 1px 0px #000; z-index:100;}
.rating_info a{ color:#fff; text-shadow:1px 1px 0px #000; text-decoration:underline; font-size:11px;}
.rating_info a:hover{ text-decoration:none;}
.rating_info_close{ float:right; color:#fff; background:  #2D2D2D; margin:0px -5px 0px 5px; }

.story_rate {float:left; margin:0 2px 0 0;}
.story_rate_l {float:left; background:url('../images/story_rate_l.png') no-repeat; width:50px; height:27px; overflow:hidden;}
.story_rate_l span {display:block; margin:3px 0 0 6px;}
.story_rate_l a {width:17px; height:17px; display:block; background:url('../images/rate_btn.png') no-repeat; float:left; margin:0 4px 0 0;}
.story_rate_l a.rate_up {background-position:0 0;}
.story_rate_l a.rate_up:hover {background-position:0 -17px;}
.story_rate_l a.rate_down {background-position:-17px 0;}
.story_rate_l a.rate_down:hover {background-position:-17px -17px;}

.story_rate_r {float:left; margin:-1px 0 0 0; width:54px; color:#fff; text-shadow:0 1px 1px #98A812; height:27px; text-align:center; position:relative;}
.story_rate_r span {width:38px; margin:1px 0 0 8px; height:23px; line-height:23px; display:block; position:absolute;}
.story_rate_r a {color:#fff; text-shadow:0 1px 1px #98A812;}

.story_rate_z {background:url('../images/rate_l.png') no-repeat;}
.story_rate_b {background:url('../images/rate_b.png') no-repeat;}
.story_rate_y {background:url('../images/rate_r.png') no-repeat;}

.dropDownList { z-index: 999; position: relative; display: none; }
.dropDownWrapper {
	font-family: Arial, Helvetica, sans-serif;
	position: absolute;
	left: 0;
	top: 32px;
	padding: 8px;
	width: 260px;
	background: #656565;
	border-radius: 3px;
	box-shadow: 0 0 9px #999;
	-moz-box-shadow: 0 0 9px #999;
	-webkit-box-shadow: 0 0 9px #999;
	-khtml-box-shadow: 0 0 9px #999;
}

.dropDownArrow { position: absolute; top: 20px; left: 65px; width: 30px; height: 16px; background: url(../images/arrow.png) no-repeat 0 0 transparent; }

.dropDownHeader {
	background: #f4f5f5;
	height: 38px;
	line-height: 38px;
	padding: 0 10px;
	position: relative;
	border-bottom: 1px solid #dce7e7;
}

.dropDownHeader h1 {
	font-family: Arial, Helvetica, sans-serif;
	position: absolute;
	left: 10px;
	top: 0;
	font-weight: normal;
	font-size: 16px;
	color: #000;
}

.dropDownHeader .dropDownCloseLink {
	display: block;
	position: absolute;
	right: 10px;
	top: 13px;
	width: 13px;
	height: 13px;
	text-indent: -100000px;
	background: url(../images/rating_close.png) no-repeat 0 0 transparent;
}

.dropDownErr { background: #fff; padding: 10px; list-style: none; max-height: 357px; }

.dropDownUl {
	background: #fff;
	padding: 10px;
	list-style: none;
	max-height: 357px;
	overflow: auto;
	overflow-x: hidden;
}

.dropDownUl li { list-style: none; height: 20px; line-height: 20px; }
.dropDownUl li .dropDownNickname { float: left; text-indent: 22px; display: block; height: 19px; line-height: 19px; color: #5b91d3; font-size: 11px; text-decoration: none; }
.dropDownUl li .dropDownLiNickname:hover { text-decoration: underline; }
.dropDownUl li .dropDonwnLiDate { margin: 0 0 0 3px; color: #777; font-size: 11px; float: left; }

.PostRating_UP { background: url(../images/popup_rep_up.png) no-repeat 0 0 transparent; }
.PostRating_DW { background: url(../images/popup_rep_dw.png) no-repeat 0 0 transparent; }
