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

.mass_comments_action {
    text-align: right;
}

/*---Информационное окно загрузки AJAX---*/
#loading-layer {
    display:none;
    background:#000;
	background:rgba(0,0,0,0.7);
    color:#fff;
    text-align:center;
    border-radius:2px;
    padding:10px 10px;
	box-shadow:0px 1px 3px rgba(0,0,0,0.3);
}


.archives, .archives:visited {
    font-size:12px;
    color:#fff;
}

.archives:hover {
    color:#3abae7;
}

/*---Цитата и скрытый текст---*/
.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:#fff;
}

.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: #999;
}

.monthselect {
    font-size: 1.15em;
}

.day-current {
    background: #3abae7;
    border-radius:3px;
    color: #fff;
}

.calendar a {
    color: #fff;
}

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

/*---Лучшие пользователи---*/
.userstop td, .pm td.pm_list, .pm td.pm_head {
    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_poll {
    background: #fff url("../images/bbcodes.png") repeat-x 0 100%;
    text-shadow: 0 1px 0 #fff;
    border: 1px solid #b3b3b3;
    color: #383838;
    padding: 2px 9px 5px 9px;
    margin-bottom: 2px !important;
    height: 24px;
    font-weight: bold;
    cursor: pointer;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    -moz-box-shadow: 0 1px 4px -3px black;
    -webkit-box-shadow: 0 1px 4px -3px black;
    box-shadow: 0 1px 4px -3px black;
}

.bbcodes_poll:hover {
    background-position: 0 10px;
}

.bbcodes_poll {
    width: 100px;
}

.editor textarea {
    font-family: Verdana;
    word-spacing: 0.1em;
    letter-spacing: 0;
    font-size: 11px;
    color:#000;
    background: #fff url("../images/fields.png") repeat-x;
    border: 0 none;
}

.editor input[type="text"] {
    padding: 2px;
    background: #fff url("../images/fields.png") repeat-x;
    border: 1px solid #bcc0c2;
}

.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: 97%;
    height: 186px;
}

.xfields input, .xprofile input {
    width:300px;
}

.xfields_table td {
    vertical-align: top;
}

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

/*---Выпадающее меню кнопки редактировать---*/
#dropmenudiv {
    background:rgba(0,0,0,0.8);
    color:#fff;
    float:left;
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.7);
    border-radius:3px;
    z-index: 999;
    padding: 4px;  
}

#dropmenudiv a { display: block; text-indent: 4px; text-decoration: none; color: #fff; padding: 5px 0; width: 100%;}
#dropmenudiv a:hover {background-color:rgba(255,255,255,0.15); color:#fff; border-radius:3px; -moz-border-radius:3px; -webkit-border-radius:3px;}


/*---Ссылка на скачивание прикрепленного файла---*/
.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 {
background:rgba(0,0,0,0.8);
color:#fff;
float:left;
box-shadow: 0 2px 7px rgba(0, 0, 0, 0.7);
padding: 5px;
border-radius:3px;
width:310px;
    z-index:9999;
}
#searchsuggestions a { padding:5px;display:block; color:#fff; clear:left; height:75px; text-decoration:none; }
#searchsuggestions a:hover { background-color:rgba(255,255,255,0.15); color:#fff; border-radius:3px; -moz-border-radius:3px; -webkit-border-radius:3px;}
#searchsuggestions a span.searchheading {display:block; font-weight:bold; padding:5px 0px; color:#3abae7; }
#searchsuggestions a:hover span.searchheading { color:#fff; }
#searchsuggestions a span {color:#fff; }
#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.seperator a:hover {text-shadow:0px 0px 5px #fff;}
#searchsuggestions span.notfound { padding:5px; background-color:#fff; display:block; height:auto;color:#000; }


/*---Диалоговые и всплывающие окна jQuery UI---*/
.ui-icon {
  background-repeat: no-repeat;
  display: block;
  overflow: hidden;
  text-indent: -99999px;
}
.ui-widget {
  font-family: Tahoma, Lucida Sans, sans-serif;
  font-size: 11px;
}
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button {
  font-family: tahoma, sans-serif;
  font-size: 11px;
}
.ui-widget-content {
  background: #000;
  background: rgba(0, 0, 0, 0.7);
  border: 0px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.6);
  -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.6);
  -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.6);
  padding:0px 7px 7px 7px;
}


.ui-dialog-content {
background:#fff !important;
border-radius:2px;
-moz-border-radius:2px;
-webkit-border-radius:2px;
border:0px;
padding:4px;
box-shadow: 0 0 3px #000;
-moz-box-shadow: 0 0 3px #000;
-webkit-box-shadow: 0 0 3px #000;
}

.ui-dialog-content input[type="text"], .ui-dialog-content textarea {
background:#fff; 
color:#000; 
border:1px solid #DDDDDD; 
box-shadow:none;
-moz-box-shadow:none;
-webkit-box-shadow:none;
}


.ui-widget-header {
  background: none;
  border: 0px;
  color: #fff;
  font-weight: bold;
  font-size:8pt;
  font-family:Tahoma, arial;
  padding:7px 0px 7px 0px !important;
}



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

.ui-dialog-titlebar-close {
  display:block;
  position:absolute;
  top:6px;
  right:0px;
  width:15px !important;
  height:15px !important;
  padding:0px;
  border:0px;
  background:url('../images/dialog-close.png') no-repeat center center;
-moz-transition:all 0.2s ease;
-webkit-transition:all 0.2s ease;
transition:all 0.2s ease;
opacity:0.4;
}

.ui-dialog-titlebar-close:hover {
opacity:1.0;
}

.ui-button {
    border-radius: 2px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
    border-style: solid;
    border-width: 1px;
    cursor: pointer;
    font-size: 10px !important;
    font-weight: bold;
    overflow: hidden;
    padding: 4px 8px;
    text-decoration: none;
  float:right;
  background: url("../images/highlight_faint.png") repeat-x #323232;
    border: 1px solid #212121;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.43);
  -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.43);
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.43);
    color: #FFFFFF;
    text-shadow: 0 -1px 0 #000;
  margin-left:5px;
  min-width:80px;
  text-align:center;
-moz-transition:all 0.3s ease;
-webkit-transition:all 0.3s ease;
transition:all 0.3s ease;
outline:none !important;
}

.ui-button:hover {color:#fff; background: url("../images/highlight_faint.png") repeat-x #555555;}
.ui-button:active {color:#989898; background: url("../images/highlight_faint.png") repeat-x #242424;}

.ui-dialog {
  overflow: hidden;
  border-radius:5px;
  -moz-border-radius:5px;
  -webkit-border-radius:5px;
  position: absolute;
  width: 300px;
}
.ui-dialog .ui-dialog-titlebar {
  position: relative;
}


.ui-dialog .ui-dialog-content {
  background:none;
  border:0;
  overflow:hidden;
  position:relative;
}

.ui-dialog .ui-dialog-buttonpane {
border: 0px;
margin: 0px;
border:0px;
padding:7px 0px 0px 0px;
float:right;
box-shadow:none;
-moz-box-shadow:none;
-webkit-box-shadow:none;
background:none;
}

.ui-dialog .ui-resizable-se {
  bottom: 3px;
  height: 14px;
  right: 3px;
  width: 14px;
}

.ui-widget-overlay {
position:absolute;
top:0px;
left:0px;
background:rgba(0,0,0,0.5);
width:100% !important;
height:100% !important;
}

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