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

/*loading*/
#loading-layer { line-height: 14px; }

/* ==================== Облако тегов */
.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; }

/* ==================== Цитата и скрытый текст */
.scriptcode, .title_quote,
.quote, .title_spoiler, .text_spoiler { padding: 5px; background: #f9fafa url("../images/quote.png") repeat-x; border: 1px solid #dce7e7; }
.title_quote, .title_spoiler { background: #f9fafa url("../images/title_quote.png") repeat-x 0 100%;}

.title_quote { border-bottom: 0; font-weight: bold; }
.scriptcode { color: #256292; 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: 1px 0; border-bottom: 1px solid #e3e7e9; vertical-align: middle; text-align: center; }
.calendar th.monthselect { padding-bottom: 5px; font-size: 1.1em; }
.weekday-active-v, .day-active-v, .weekday-active, .day-active { font-weight: bold; }
.weekday { color: #de3123; }

.day-current { background-color: #91b513; color: #fff; }
.day-current a { color: #fff !important; }
/*=====Лучшие пользователи*/
.userstop td, .pm td.pm_list, .pm td.pm_head { font-size: 0.9em; border: 1px solid #dce7e7; padding: 2px; background-color: #fff; }
.userstop thead td, .pm td.pm_head { background-color: #f9fafa; height: 22px; padding: 0; font-weight: bold; text-align: center; color: #81ac15; }
/* ==================== Рейтинг */
.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 {
	background: #f2f2f2 url("../images/bbcodes.png") repeat-x;
	border: 1px solid #c5c5c5;
	color: #3479a7;
	padding: 2px 9px;
	font-weight: bold;
	cursor: pointer;
	-webkit-border-radius: 20px; -moz-border-radius: 20px; border-radius: 20px;
}
.bbcodes:hover { background: #fff none; }

/* BBEditor Centroarts.com */
.bbeditor { border: 1px solid #d4dfe8; background: #fff url("../bbcodes/bg.png") repeat; }
.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: -23px 0; }

.editor { width: 398px !important; background-color: #f9fafa; border: 1px solid #d4dfe8; }
.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;  }
.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; }

.bbcodes_poll {
	background-color: #ffffff;
	border: 1px solid #1434B0;
	color: #fff;
	width: 100px;
	height: 20px;
	font-weight: bold;
}

/* ==================== Дополнительные поля новостей */
.xfields textarea { width: 99%; height: 86px; }
.xfields input { width: 250px; height: 14px; padding: 2px; }
.xfields_table td { vertical-align: top; }


/* ==================== Дополнительные поля профиля пользователей */

.xprofile textarea { width: 316px; height: 86px; }
.xprofile input { width: 250px; }
.xprofile select { }
.xprofile  { padding-top: 5px; }

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

/* ==================== Выпадающее меню */

#dropmenudiv {
	border: 1px solid #0e4a77;
	background-color: #296898;
	font-size: 11px;
	font-weight: bold;
	line-height: 20px;
	margin: 2px;
	padding: 4px;
	opacity: 0.90;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=90) progid:DXImageTransform.Microsoft.Shadow(color=#cacaca, direction=135, strength=3)";
	filter: alpha(opacity=90, enabled=1) progid:DXImageTransform.Microsoft.Shadow(color=#cacaca, direction=135, strength=3);
	-webkit-border-radius: 6px; -moz-border-radius: 6px; border-radius: 6px;
	-moz-box-shadow: 0 1px 4px -2px black;
	-webkit-box-shadow: 0 1px 4px -2px black;
    box-shadow: 0 1px 4px -2px black;
}

#dropmenudiv a {
	display: block; text-indent: 3px; text-decoration: none; color: #fff; padding: 1px 0; width: 100%;
	-webkit-border-radius: 6px; -moz-border-radius: 6px; border-radius: 6px;
}
#dropmenudiv a:hover { background-color: #3881b8; color: #fff; }

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

/* ==================== Поиск по сайту и результаты поиска */
.search { text-decoration: none; }

/* ==================== Рамка расширенной формы поиска по сайту */
fieldset { border: 1px solid #c8c8c8; 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-html-content { display: none; }
.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-footer { height: 11px; }
.highslide-footer .highslide-resize {
	float: right;
	height: 12px; width: 11px;
	background: url("../dleimages/resize.gif");
}
.highslide-resize { cursor: nw-resize; }
.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; }

.download {display: block;padding: 6px 6px 6px 45px;margin: 1px 0;    }
.download {color: #57861A;border-top: 1px solid #d4dfe8;border-bottom: 1px solid #d4dfe8;background: #ffffff url("../images/download.png") 10px 50% no-repeat;}

/* ==================== Информационное оконо загрузки AJAX */
#loading-layer {display:none;font-family: Verdana;font-size: 11px;background:#000;padding:10px;text-align:center;border:1px solid #000;color: #FFF;border-radius: 5px; -webkit-border-radius: 5px; -moz-border-radius: 5px;}
/* ==================== Быстрый поиск на сайте */
#searchsuggestions { border-width:1px; border-color:#919191; border-style:solid; width:300px; background-color:#5c9ccc; font-size:10px; line-height:14px; }
#searchsuggestions a { padding:5px;display:block; background-color:#ffffff; clear:left; height:70px; text-decoration:none; }
#searchsuggestions a:hover { background-color:#fdd08b; color:#ffffff; }
#searchsuggestions a span.searchheading { background: #5c9ccc; display:block; font-weight:bold; padding:5px; color:#ffffff; }
#searchsuggestions a:hover span.searchheading { color:#ffffff; }
#searchsuggestions a span {color:#555555; }
#searchsuggestions a:hover span { color:#0000; }
#searchsuggestions span.seperator { float:right; padding-right:15px; margin-right:5px;}
#searchsuggestions span.seperator a { background-color:transparent; display:block; height:auto; color:#ffffff; }
#searchsuggestions span.notfound {  padding:5px;background-color:#ffffff; display:block; height:auto; color:#00000; }
/* ==================== Диалоговые и всплывающие окна 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 {font-family: Tahoma, Lucida Sans, Arial, sans-serif;font-size: 11px;}
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button {font-family: tahoma, Arial, sans-serif;font-size: 11px;}
.ui-widget-content {background: #fcfdfd 50% bottom repeat-x;border: 1px solid #a6c9e2;color: #222222;}
.ui-widget-content a {color: #222222;}
.ui-widget-header {background: #5c9ccc url("../images/ui-bg_gloss-wave.png") 50% 50% repeat-x;border: 1px solid #4297d7;color: #ffffff;font-weight: bold;}
.ui-widget-header a {color: #ffffff;}
.ui-state-default, .ui-widget-content .ui-state-default {background: #dfeffc url("../images/ui-bg_glass_85.png") 50% 50% repeat-x;border: 1px solid #c5dbec;color: #2e6e9e;font-weight: bold;}
.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: #d0e5f5 url("../images/ui-bg_glass_75.png") 50% 50% repeat-x;border: 1px solid #79b7e7;color: #1d5987;font-weight: bold;}
.ui-state-hover a, .ui-state-hover a:hover {color: #1d5987;text-decoration: none;}
.ui-state-active, .ui-widget-content .ui-state-active {background: #f5f8f9 50% 50% repeat-x;border: 1px solid #79b7e7;color: #e17009;font-weight: bold;}
.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited {color: #e17009;text-decoration: none;}
.ui-widget :active {outline: none;}
.ui-state-error {background: #fef1ec 50% 50% repeat-x;border: 1px solid #cd0a0a;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.4;}
.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 { -moz-box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3); -webkit-box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3); box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3); 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;}

/* Start ---- Modern Poll Style by http://e-div.com */
.polled { height: 22px; }
.voted { height: 11px; }
.progress { border: 1px solid #ccc; position: relative; display: block; padding: 0; margin:4px 0; background: #DEDEDE; background: -webkit-gradient(linear, left top, left bottom, from(#ccc), to(#e9e9e9)); background: -moz-linear-gradient(top, #ccc, #e9e9e9);
    filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#cccccc', endColorstr='#e9e9e9');

    -moz-box-shadow:0 1px 0 #fff;
    -webkit-box-shadow:0 1px 0 #fff;
    box-shadow:0 1px 0 #fff;

    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
}
.polled span { height:20px; }
.voted span { height: 9px; }
.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.5);
    -webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.5);
    box-shadow:inset 0 1px 0 rgba(255,255,255,0.5);

    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}
.progress span b { color:#fff; line-height:20px; padding-left:2px; text-shadow:0 1px 1px rgba(0, 0, 0, 0.5); }

.progress-1 span {
    border: 1px solid #0078a5; background-color: #5C9ADE;
    background: -moz-linear-gradient(top, #00adee 10%, #0078a5 90%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.1, #00adee), color-stop(0.9, #0078a5));
    filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#00adee', endColorstr='#0078a5');
}

.progress-2 span {
    border: 1px solid #5c9425;  background-color: #77AF3F;
    background: -moz-linear-gradient(top, #8fc857 10%, #5c9425 90%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.1, #8fc857), color-stop(0.9, #5c9425));
    filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#8fc857', endColorstr='#5c9425');
}
.progress-3 span {
    border: 1px solid #f47a20; background-color: #faa51a;
    background: -moz-linear-gradient(top, #faa51a 10%, #f47a20 90%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.1, #faa51a), color-stop(0.9, #f47a20));
    filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#faa51a', endColorstr='#f47a20');
}
.progress-4 span {
    border: 1px solid #A92C2C; background-color: #C44747;
    background: -moz-linear-gradient(top, #DD5F5F 10%, #A92C2C 90%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.1, #DD5F5F), color-stop(0.9, #A92C2C));
    filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#DD5F5F', endColorstr='#A92C2C');
}
.progress-5 span {
    border: 1px solid #8c2ca9; background-color: #C44747;
    background: -moz-linear-gradient(top, #bf5fdd 10%, #8c2ca9 90%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.1, #bf5fdd), color-stop(0.9, #8c2ca9));
    filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#bf5fdd', endColorstr='#8c2ca9');
}
/* End ---- Modern Poll Style by http://e-div.com */

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