.selectmass input{float:right;margin-left:6px}
.mass_comments_action{text-align:right;margin-bottom:20px;}
#loading-layer{display:none;font-size:11px;background:#000;text-align:center;color:#fff;padding:10px}
.scriptcode,.title_quote,.quote,.title_spoiler,.text_spoiler{font-size:11px;background:#5D5B49;color:#CECCB7;padding:7px 10px}
.title_spoiler{background:#dadada;color:#7e7e7e;font-weight:700}
.text_spoiler{background:#f0f0f0;color:#7e7e7e;border-top:1px solid #fff;text-align:justify}
.title_quote{border-bottom:0;font-weight:700}
.scriptcode{color:#076fb1;text-align:left;font-family:"Courier New"}
.hide{background-color:#e8f3fa;color:#3a78a5;margin:0 0 1em;padding:5px}
.hide a{text-decoration:underline}
.hide a:hover{text-decoration:none}
.calendar{width:100%}
.calendar td,.calendar th{vertical-align:middle;text-align:center; padding:5px 0}
.weekday{color:#000}
th.workday,th.weekday{background-color:#EDEDED; }
th.workday {color:#000;}
.calendar td a {
  color: #A83F3F;
}

.calendar td.day-current{background-color:#b94646;}
.calendar td.day-current a {

}
th.workday,th.weekday{background-color:#B4B4B4}
.day-current{background-color:#b94646;color:#fff}
.pm td.pm_list,.pm td.pm_head,.pm td,.userstop td{border:1px solid #dfdfdf;padding:7px 10px}
.userstop thead td,.pm td.pm_head{font-size:14px;font-weight:700;text-align:center;color:#c4d1da}
.pm td .bbcodes{margin-top:20px}
.pm_list a{color:#c4d1da}
.userstop td{font-size:11px;border:1px #CCC solid;padding-bottom:5px}
.rating{width:85px;height:17px;font-size:.9em}
.unit-rating{list-style:none;width:85px;height:17px;position:relative;background:url(../dleimages/rating.png) repeat-x;margin:0;padding:0}
.unit-rating li{text-indent:-90000px;float:left;margin:0;padding:0!important}
.unit-rating li a{display:block;width:17px !important;height:17px !important;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 !important}
.unit-rating a.r2-unit{left:17px}
.unit-rating a.r2-unit:hover{width:34px !important}
.unit-rating a.r3-unit{left:34px}
.unit-rating a.r3-unit:hover{width:51px !important}
.unit-rating a.r4-unit{left:51px}
.unit-rating a.r4-unit:hover{width:68px !important}
.unit-rating a.r5-unit{left:68px}
.unit-rating a.r5-unit:hover{width:85px !important}
.unit-rating li.current-rating{background:url(../dleimages/rating.png) 0 -34px;position:absolute;height:17px !important;display:block;text-indent:-9000px;z-index:1}
.bbcodes,.vote_bbcodes,.vote_bbcodes_dark{ background: #65ad6e; cursor: pointer; padding: 10px 0; color: #fff; font-size: 12px;border: 0;}
.bbcodes.bbcodes_dark {background: #3a5260;}
.bbcodes.bbcodes_dark:hover {
  background: #7494A7;
  color: #fff;
}
.bbcodes,.bbcodes_poll,.vote_bbcodes,.vote_bbcodes_dark{font-size: 14px;display:inline-block;height:43px; line-height: 25px; font-weight: bold;  cursor:pointer;padding:0 20px}
.bbcodes span.selection_index{clear:both;display:inline;line-height:normal;height:auto;background:transparent;padding:0}



.vote {
  padding: 15px 0;
}
.vote::after {
  content: '';
  display: block;
  clear: both;
}
.vote input {
  float: left;
  margin-right: 4px;
}
.vote_bbcodes,.vote_bbcodes_dark{width:110px;padding:0 5px}
.vote_bbcodes_dark{color:#5f5f5f;background:#b1b1b1}
.vote_title{margin-bottom:10px}
.bbcodes:hover {
	background: #52af67;
}
.bbcodes span.masha_index{height:auto;display:inline-block;line-height:normal;padding:0}
.xfields textarea,.xprofile textarea{width:98%;height:86px;margin:0 1px 0 0;padding:0}
.xfields input,.xprofile input{width:250px;padding:2px}
.xfields_table td{vertical-align:top}
#dropmenudiv{background-color:#bcd2ee;font-weight:700}
#dropmenudiv a{display:block;text-decoration:none;color:#2f2f2f;font-size:11px;width:150px;padding:6px 10px}
#dropmenudiv a:hover{background:#9ebade}
.attachment{color:gray}
fieldset{border:0;margin-right:10px;text-align:left;padding-bottom:20px}
legend{font-weight:700;display:block}
.highslide-wrapper,.highslide-outline{background:#FFF}
.highslide-image{border:2px solid #FFF}
.highslide-dimming{background-color:#000}
.highslide-html{background-color:#FFF}
.highslide-loading{display:block;color:#FFF;font-size:9px;font-weight:700;text-decoration:none;border:1px solid #FFF;background-color:#000;padding:3px}
a.highslide-full-expand{background:url(../dleimages/fullexpand.gif) no-repeat;display:block;width:34px;height:34px;margin:0 10px 10px 0}
.highslide-caption{display:none;background:#FFF;padding:5px}
.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;background:url(../../../engine/classes/highslide/graphics/controlbar-black-border.gif) no-repeat 100% -90px;margin:0;padding:0}
.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 .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: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_box a.clouds_xsmall{font-size:11px; background-color: #F3F3F3;}
.clouds_box a.clouds_xsmall span {font-size: 10px;}
.clouds_box a.clouds_small{font-size:14px;  background-color: #fff;}
.clouds_box a.clouds_small span {font-size: 13px;}
.clouds_box a.clouds_medium{font-size:16px;font-weight:700; background-color: #D86877;color: #fff; }
.clouds_box a.clouds_medium span {font-size: 15px;}
.clouds_box a.clouds_large{font-size:19px; background-color: #9E5790;color: #fff; }
.clouds_box a.clouds_large span {font-size:18px;}
.clouds_box a.clouds_xlarge{font-size:20px; background-color: #6DA560;color: #fff;}
.clouds_box a.clouds_xlarge span {font-size:19px; }
.search{}
#searchsuggestions{width:340px;z-index:11;font-size:13px;background:#23333c;color: #fff;line-height:14px}
#searchsuggestions a,#searchsuggestions span.notfound{display:block;background:#23333c;color: #fff; clear:left;height:120px;text-decoration:none;margin-bottom:5px;padding:5px}
#searchsuggestions a:hover{background-color:#354a56; color: #fff;}
#searchsuggestions span.searchheading{display:block;font-family: 'proxima_nova_rgbold';border-bottom:2px #5f5f5f solid;margin-bottom:5px;padding:5px 0 4px}
#searchsuggestions span.seperator{display:block;position:4px 10px;text-align:center;background-color:#a9a9a9}
#searchsuggestions span.seperator a{background-color:transparent;display:block;height:auto;color:#000}
#searchsuggestions span.notfound{background:#d98686;height:auto;display:block;color:#fff;padding:10px}
.ui-helper-clearfix:after{clear:both;content:".";display:block;height:0;visibility:hidden}
* html .ui-helper-clearfix{height:1%}
.ui-icon{background-repeat:no-repeat;display:block;overflow:hidden;text-indent:-99999px}
.ui-widget-content{border:1px solid #D7DBE4;background: #ECECEC; }
#dle-promt-text {background: #ECECEC url(../images/amgry.png) no-repeat center center;}
.ui-widget-header{background:#141D23;font-size:12px;font-family: 'proxima_nova_rgbold';color:#fff;position:relative;padding:7px 10px 10px 20px}
.ui-state-default,.ui-widget-content .ui-state-default{background:#54b762;background: #54b762; color: #fff; font-size: 12px;border: 0; border-bottom: 3px #3c7d45 solid; cursor: pointer;}
.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited{color:#2e6e9e;text-decoration:none}
.ui-state-hover a,.ui-state-hover a:hover{color:#1d5987;text-decoration:none}
.ui-state-active,.ui-widget-content .ui-state-active{color:#fff;font-weight:700}
.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#e17009;text-decoration:none}
.ui-state-error{background:#9C6060 50% 50% repeat-x;color:#fef1ec; font-size: 12px;}
.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:.5em .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;position:absolute;width:300px;border:3px #141D23 solid}
.ui-dialog .ui-dialog-titlebar{position:relative;padding:8px 10px}
.ui-dialog .ui-dialog-title{float:left;margin:.1em 16px .2em 0}
.ui-dialog .ui-dialog-titlebar-close{height:18px;position:absolute;right:.3em;top:50%;width:19px;margin:-10px 0 0;padding:1px}
.ui-dialog .ui-dialog-titlebar-close span{display:block;margin:1px}
.ui-dialog .ui-dialog-content{background:#202F38; border:0;overflow:hidden;position:relative;zoom:1;padding:1em}
.ui-dialog .ui-dialog-buttonpane{background: #141D23; text-align:left;border-width:0;padding:.5em 1em .5em .4em}
.ui-dialog .ui-dialog-buttonpane button{float:right;   margin-left: 5px; overflow:visible;width:auto; text-transform: uppercase; font-size:11px !important;color:#fff;border:0;height:35px !important;background:#35805e; cursor:pointer;font-weight:700;padding:0 5px !important;}
.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}
.ui-menu{list-style:none;display:block;float:left;background:#fff 50% bottom repeat-x;border:1px solid #dedede;color:#222;margin:0;padding:2px}
.ui-menu .ui-menu{margin-top:-3px}
.ui-menu .ui-menu-item{zoom:1;float:left;clear:left;width:100%;margin:0;padding:0}
.ui-menu .ui-menu-item a{text-decoration:none;display:block;line-height:1.5;zoom:1;padding:.2em .4em}
.ui-menu .ui-menu-item a.ui-state-hover,.ui-menu .ui-menu-item a.ui-state-active{border:1px solid #a7a7a7;color:#4e4e4e;font-weight:700;margin:-1px}
pre code{display:block;background:#475D6B;border-left:5px solid #82bb2a;overflow:auto;white-space:pre;padding:.5em}
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 .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{margin-top:10px;margin-bottom:10px;}
.pm_progress_bar span{background:#7ccfa9;font-size:0;text-indent:-2000em;height:10px;display:block;overflow:hidden;}
#dlevotespopupcontent legend {
  padding-bottom: 10px;
  font-size: 18px;
}

/*---Вывод результатов голосования на сайте---*/
.voteprogress {
  overflow: hidden;
  height: 15px;
  margin-bottom: 5px;
  background: #69bb50;
}

.voteprogress span {
  color: #ffffff;
  text-align: center;
  text-indent: -2000em;
  height: 15px;
  display: block;
  overflow: hidden;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
 background:#367223;
}

.voteprogress .vote2 {
 background:#367223;
}

.voteprogress .vote3 {
 background:#367223;
}

.voteprogress .vote4 {
 background:#367223;
}

.voteprogress .vote5 {
 background:#367223;
}

/*---Вывод результатов опросов в новостях---*/
.pollprogress {
  overflow: hidden;
  height: 18px;
  margin-bottom: 5px;
}

.pollprogress span {
  color: #ffffff;
  height: 18px;
  display: block;
  overflow: hidden;
  font-size: 12px;
  text-align: center;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
 background:#7ccfa9;
}

.pollprogress .poll2 {
 background-image:url(../dleimages/poll1.gif);
}

.pollprogress .poll3 {
   background-image:url(../dleimages/poll1.gif);
}

.pollprogress .poll4 {
  background-image:url(../dleimages/poll1.gif);
}

.pollprogress .poll5 {
  background-image:url(../dleimages/poll1.gif);
}



 

/*---BB Редактор---*/

.bb-pane {
  height: 1%; overflow: hidden;
  padding-bottom: 5px;
  padding-left: 5px;
  margin: 0;
  height: auto !important;
  text-decoration:none;
  background-image: -webkit-gradient(linear, left 0%, left 100%, from(#FBFBFB), to(#EAEAEA));
  background-image: -webkit-linear-gradient(top, #FBFBFB, 0%, #EAEAEA, 100%);
  background-image: -moz-linear-gradient(top, #FBFBFB 0%, #EAEAEA 100%);
  background-image: linear-gradient(to bottom, #FBFBFB 0%, #EAEAEA 100%);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FBFBFB', endColorstr='#EAEAEA', GradientType=0);
  border-radius: 3px 3px 3px 3px;
  -moz-border-radius-bottomright: 0px;
  -webkit-border-bottom-right-radius: 0px;
  -khtml-border-bottom-right-radius: 0px; 
  border-bottom-right-radius: 0px;
  -moz-border-radius-bottomleft: 0px;
  -webkit-border-bottom-left-radius: 0px;
  -khtml-border-bottom-left-radius: 0px;
  border-bottom-left-radius: 0px;
  border-top:1px solid #d7d7d7;
  border-left:1px solid #d7d7d7;
  border-right:1px solid #d7d7d7;
  box-shadow: none !important;
}

.bb-pane>b {
    margin-top: 5px;
    margin-left: 0;
  vertical-align: middle;
}
.bb-pane .bb-btn + .bb-btn,.bb-pane .bb-btn + .bb-pane,.bb-pane .bb-pane + .bb-btn,.bb-pane .bb-pane + .bb-pane {
    margin-left:-1px;
}
.bb-btn {
  display: inline-block; overflow: hidden; float: left;
  padding: 4px 10px;color:#000;
    border: 1px solid #d4d4d4;
    -webkit-box-shadow: inset 0 1px 2px white;
    -moz-box-shadow: inset 0 1px 2px white;
    box-shadow: inset 0 1px 2px white;
    background-repeat: repeat-x;
    background-image: -webkit-gradient(linear, left 0%, left 100%, color-stop(0%, #fdfdfd), color-stop(100%, #e9e9e9));
    background-image: -webkit-linear-gradient(top, #fdfdfd, 0%, #e9e9e9, 100%);
    background-image: -moz-linear-gradient(top, #fdfdfd, 0%, #e9e9e9, 100%);
    background-image: linear-gradient(to bottom, #fdfdfd 0%, #e9e9e9  100%);

}
 

.bb-btn:hover {
      background: #e6e6e6;
      background-repeat: repeat-x;
      background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #fdfdfd), color-stop(100%, #e6e6e6));
      background-image: -webkit-linear-gradient(top, #fdfdfd, 0%, #e6e6e6, 100%);
      background-image: -moz-linear-gradient(top, #fdfdfd, 0%, #e6e6e6, 100%);
      background-image: -o-linear-gradient(top, #fdfdfd, 0%, #e6e6e6, 100%);
      background-image: linear-gradient(to bottom, #fdfdfd 0%, #e6e6e6 100%);
      -webkit-transition: box-shadow 0.05s ease-in-out;
      -moz-transition: box-shadow 0.05s ease-in-out;
      -o-transition: box-shadow 0.05s ease-in-out;
      transition: box-shadow 0.05s ease-in-out;
}
    
.bb-btn:active {
      background: #f3f3f3;
      border-color: #cfcfcf;
      -webkit-box-shadow: 0 0 5px #f3f3f3 inset;
      -moz-box-shadow: 0 0 5px #f3f3f3 inset;
      box-shadow: 0 0 5px #f3f3f3 inset;
}

@font-face {
    font-family: 'bb-editor-font';
    src: url(data:application/x-font-ttf;charset=utf-8;base64,[encoded data, 13304 characters]) format('truetype'),
         url(data:application/font-woff;charset=utf-8;base64,[encoded data, 13404 characters]) format('woff');
    font-weight: normal;
    font-style: normal;
}

[class^="bb-btn"], [class*=" bb-btn"] {
    font-family: 'bb-editor-font';
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    font-size: 12px;
    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


.bb-sel { float: left; padding: 2px 2px 0 2px; }
.bb-sel select { font-size: 11px; }
.bb-sep { display: inline-block; float: left; width: 1px; padding: 2px; }
.bb-btn { cursor: pointer;  outline: 0; }

#b_font select { padding: 0px;}
#b_size select { padding: 0px;}

#b_b:before {content: "\f032";}
#b_i:before {content: "\f033";}
#b_u:before {content: "\f0cd";}
#b_s:before {content: "\f0cc";}
#b_img:before { content: "\f03e"; }
#b_up:before { content: "\e930"; }
#b_emo:before { content: "\f118"; }
#b_url:before { content: "\f0c1"; }
#b_leech:before { content: "\e98d"; }
#b_mail:before { content: "\f003"; }
#b_video:before { content: "\e913"; }
#b_audio:before { content: "\e911"; }
#b_hide:before { content: "\e9d1"; }
#b_quote:before { content: "\e977"; }
#b_code:before { content: "\f121"; }
#b_left:before { content: "\f036"; }
#b_center:before { content: "\f037"; }
#b_right:before { content: "\f038"; }
#b_color:before { content: "\e601"; }
#b_spoiler:before { content: "\e600"; }
#b_fla:before { content: "\ea8d"; }
#b_yt:before { content: "\f166"; }
#b_tf:before { content: "\ea61"; }
#b_list:before { content: "\f0ca"; }
#b_ol:before { content: "\f0cb"; }
#b_tnl:before { content: "\ea61"; }
#b_br:before { content: "\ea68"; }
#b_pl:before { content: "\ea72"; }
#b_size:before { content: "\f034"; }
#b_font:before { content: "\f031"; }
#b_header:before { content: "\f1dc"; }
#b_sub:before { content: "\f12c"; }
#b_sup:before { content: "\f12b"; }
#b_justify:before { content: "\f039"; }

.bb-pane h1 {
    font-size:36px;
    margin-top: 5px;
    margin-bottom: 5px;
}
.bb-pane h2 {
    font-size:30px;
    margin-top: 5px;
    margin-bottom: 5px;
}
.bb-pane h3 {
    font-size:24px;
    margin-top: 5px;
    margin-bottom: 5px;
}
.bb-pane h4 {
    font-size:18px;
    margin-top: 5px;
    margin-bottom: 5px;
}
.bb-pane h5 {
    font-size:14px;
    margin-top: 5px;
    margin-bottom: 5px;
}
.bb-pane h6 {
    font-size:12px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.bb-pane-dropdown {
    position:absolute;
    top:100%;
    left:0;
    z-index:1000;
    display:none;
    float:left;
    min-width:180px;
    padding:5px 0;
    margin:2px 0 0;
    list-style:none;
    font-size:11px;
    border:1px solid rgba(0, 0, 0, 0.15);
    border-radius:4px;
  background: white;
  -webkit-box-shadow: 0 1px 2px #dadada;
  -moz-box-shadow: 0 1px 2px #dadada;
  box-shadow: 0 1px 2px #dadada;
}

 .bb-pane-dropdown > li > a {
    display:block;
    padding:3px 10px;
    clear:both;
    font-weight:normal;
    line-height:1.42857;
    color:#333333;
    white-space:nowrap;
}
.bb-pane-dropdown > li > a:hover, .bb-pane-dropdown > li > a:focus {
    text-decoration:none;
    color:#262626;
    background-color:whitesmoke;
}

.bb-pane-dropdown .color-palette div .color-btn {
    width: 17px;
    height: 17px;
    padding: 0;
    margin: 0;
    border: 1px solid #fff;
  cursor: pointer;
}
.bb-pane-dropdown .color-palette{
    padding: 0px 5px;
}

.bb-editor textarea { 
    -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
    padding: 2px; border: 1px solid #d7d7d7; width: 100%; -webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition:border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
    transition:border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  margin-top: -1px;
}
.editorcomm .bb-editor { width: 565px;}
.editorcomm .bb-editor textarea { height: 200px; }

.clr {
    clear: both;
}

/*---Поля быстрого редактирования публикаций на сайте---*/
.quick-edit-text {
    padding: .4em;
  width: 350px;
}

.quick-edit-textarea {
  height: 250px;
  box-sizing: border-box;
    padding: 2px;
  border: 1px solid #d7d7d7;
  width: 100%;
    box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition:border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
    transition:border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}

/*---Дополнительные поля---*/
.xfields textarea, .xprofile textarea {
    width: 100%;
    height: 186px;
    margin: 0px 1px 0px 0px;
    padding: 0px;
}

.xfields input, .xprofile input {
    width: 250px;
    height: 14px;
    padding: 2px;
}

.xfields_table td {
    vertical-align: top;
}

/*---BB Редактор---*/

.bb-pane {
  height: 1%; overflow: hidden;
  margin: 0;
  height: auto !important;
  text-decoration:none;

  box-shadow: none !important;
}

.bb-pane>b {
    margin-top: 5px;
    margin-left: 0;
  vertical-align: middle;
}
.bb-pane .bb-btn + .bb-btn,.bb-pane .bb-btn + .bb-pane,.bb-pane .bb-pane + .bb-btn,.bb-pane .bb-pane + .bb-pane {
    margin-left:-1px;
}
.bb-btn {
  display: inline-block; overflow: hidden; float: left;
  padding: 4px 10px;
    background-repeat: repeat-x;

}
 

.bb-btn:hover {
      background: #e6e6e6;
      background-repeat: repeat-x;
      background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #fdfdfd), color-stop(100%, #e6e6e6));
      background-image: -webkit-linear-gradient(top, #fdfdfd, 0%, #e6e6e6, 100%);
      background-image: -moz-linear-gradient(top, #fdfdfd, 0%, #e6e6e6, 100%);
      background-image: -o-linear-gradient(top, #fdfdfd, 0%, #e6e6e6, 100%);
      background-image: linear-gradient(to bottom, #fdfdfd 0%, #e6e6e6 100%);
      -webkit-transition: box-shadow 0.05s ease-in-out;
      -moz-transition: box-shadow 0.05s ease-in-out;
      -o-transition: box-shadow 0.05s ease-in-out;
      transition: box-shadow 0.05s ease-in-out;
}
    
.bb-btn:active {
      background: #f3f3f3;
      border-color: #cfcfcf;
      -webkit-box-shadow: 0 0 5px #f3f3f3 inset;
      -moz-box-shadow: 0 0 5px #f3f3f3 inset;
      box-shadow: 0 0 5px #f3f3f3 inset;
}

@font-face {
    font-family: 'bb-editor-font';
    src: url(data:application/x-font-ttf;charset=utf-8;base64,[encoded data, 13304 characters]) format('truetype'),
         url(data:application/font-woff;charset=utf-8;base64,[encoded data, 13404 characters]) format('woff');
    font-weight: normal;
    font-style: normal;
}

[class^="bb-btn"], [class*=" bb-btn"] {
    font-family: 'bb-editor-font';
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    font-size: 12px;
    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


.bb-sel { float: left; padding: 2px 2px 0 2px; }
.bb-sel select { font-size: 11px; }
.bb-sep { display: inline-block; float: left; width: 1px; padding: 2px; }
.bb-btn { cursor: pointer;  }

#b_font select { padding: 0px;}
#b_size select { padding: 0px;}

#b_b:before {content: "\f032";}
#b_i:before {content: "\f033";}
#b_u:before {content: "\f0cd";}
#b_s:before {content: "\f0cc";}
#b_img:before { content: "\f03e"; }
#b_up:before { content: "\e930"; }
#b_emo:before { content: "\f118"; }
#b_url:before { content: "\f0c1"; }
#b_leech:before { content: "\e98d"; }
#b_mail:before { content: "\f003"; }
#b_video:before { content: "\e913"; }
#b_audio:before { content: "\e911"; }
#b_hide:before { content: "\e9d1"; }
#b_quote:before { content: "\e977"; }
#b_code:before { content: "\f121"; }
#b_left:before { content: "\f036"; }
#b_center:before { content: "\f037"; }
#b_right:before { content: "\f038"; }
#b_color:before { content: "\e601"; }
#b_spoiler:before { content: "\e600"; }
#b_fla:before { content: "\ea8d"; }
#b_yt:before { content: "\f166"; }
#b_tf:before { content: "\ea61"; }
#b_list:before { content: "\f0ca"; }
#b_ol:before { content: "\f0cb"; }
#b_tnl:before { content: "\ea61"; }
#b_br:before { content: "\ea68"; }
#b_pl:before { content: "\ea72"; }

.bb-editor textarea { 
    -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
    padding: 2px; border: 1px solid #d7d7d7; width: 100%; -webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition:border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
    transition:border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  margin-top: -1px;
}
.editorcomm .bb-editor { width: 565px;}
.editorcomm .bb-editor textarea { height: 200px; }

ul.tableform li.xfield{margin:15px 0}
.bb-editor textarea{border:2px #4A6473 solid;background-color:#fff;color:#E6E6E6;width:100%; padding:10px; -moz-box-sizing: border-box; /* Для Firefox */  
    box-sizing: border-box; /* Ширина блока с полями */height:150px;font-size:14px;font-family:Tahoma}
.editorcomm .bb-editor{width:465px}
.editorcomm .bb-editor textarea{height:156px}
.clr{clear:both}
#marker-bar,#txtselect_marker{display:block;visibility:hidden;position:absolute;z-index:1200;opacity:0;-webkit-transition:opacity .4s, visibility .1s linear .4s;-moz-transition:opacity .4s, visibility .1s linear .4s;-o-transition:opacity .4s, visibility .1s linear .4s;transition:opacity .4s, visibility .1s linear .4s}
#txtselect_marker{cursor:pointer;background:url(../dleimages/marker.png) 0 0 no-repeat}
#txtselect_marker:hover{background-position:0 -32px}
#marker-bar{border:1px solid #ccc;border-radius:15px;background:#fff;cursor:default;box-shadow:0 0 4px #ccc;padding:5px 10px}
#marker-bar.show{-webkit-transition:opacity .4s, visibility 0;-moz-transition:opacity .4s, visibility 0;-o-transition:opacity .4s, visibility 0;transition:opacity .4s, visibility 0;opacity:1;visibility:visible}
#txtselect_marker.show{visibility:visible;width:32px;height:32px;-webkit-transition:opacity .4s, visibility 0;-moz-transition:opacity .4s, visibility 0;-o-transition:opacity .4s, visibility 0;transition:opacity .4s, visibility 0;opacity:1}
#marker-bar .masha-social,#marker-bar .masha-marker{cursor:pointer;display:block;float:left;margin:0 5px}
#marker-bar .masha-marker{line-height:1em;color:#aaa;border-bottom:1px dotted #aaa;margin-right:10px}
#marker-bar .masha-marker:hover{color:#ea3e26;border-color:#ea3e26}
.user_selection,.user_selection_true{background:#2c2b2e;padding:2px 0}
.user_selection .closewrap,.user_selection_true .closewrap{position:relative}
.user_selection.hover a.txtsel_close,.user_selection_true.hover a.txtsel_close{display:inline-block;position:absolute;top:-7px;left:-5px;width:33px;height:33px;background:url(../dleimages/closemarker.png) 0 0 no-repeat}
.user_selection.hover a.txtsel_close:hover,.user_selection_true.hover a.txtsel_close:hover{background-position:0 -33px}
#share-popup{background:#fff;border:1px solid #aaa;border-radius:5px;box-shadow:0 0 5px rgba(0,0,0,0.5);position:absolute;width:414px;display:none;z-index:100;opacity:0;-webkit-transition:opacity .4s, visibility .1s linear .4s;-moz-transition:opacity .4s, visibility .1s linear .4s;-o-transition:opacity .4s, visibility .1s linear .4s;transition:opacity .4s, visibility .1s linear .4s;padding:10px 0}
#share-popup.show{display:block;-webkit-transition:opacity .4s, visibility 0;-moz-transition:opacity .4s, visibility 0;-o-transition:opacity .4s, visibility 0;transition:opacity .4s, visibility 0;opacity:1}
#share-popup .social{height:40px;padding:0 0 10px 17px}
#share-popup .social p{padding-bottom:10px;font-weight:700;margin:0}
#share-popup .social ul{list-style:none;margin:0;padding:0}
#share-popup .social ul li{float:left;margin-right:20px;padding-top:2px;position:relative}
#share-popup .social ul a{text-decoration:none;font-size:11px;display:inline-block;color:#aaa;padding-left:25px}
#share-popup .social ul a:hover{text-decoration:underline;color:#ea3e26}
#share-popup .social a span{cursor:pointer;width:20px;height:20px;background:url(../dleimages/social-icons.png) 20px 20px no-repeat;position:absolute;left:0;top:0}
#share-popup .social .tw span{background-position:0 -20px}
#share-popup .social .fb span{background-position:-20px -20px}
#share-popup .social .fb:hover span{background-position:-20px 0}
#share-popup .social .vk span{background-position:-40px -20px}
#share-popup .social .vk:hover span{background-position:-40px 0}
#share-popup .social .gp span{background-position:-60px -20px}
#share-popup .link{clear:both;border-top:1px solid #d9d9d9;line-height:1.2;overflow:hidden;margin:0 7px;padding:10px 5px 0 10px}
#share-popup .link p{font-weight:700;margin:0;padding:0 0 3px}
#share-popup .link span{color:#999;font-size:10px;display:block;padding-top:3px}
.weekday-active-v,.day-active-v,.weekday-active,.day-active,.pm_head,pre .tag .title,pre .rules .property,pre .django .tag .keyword{font-weight:700}
.day-current a,.ui-widget-header a{color:#fff}
.highslide-active-anchor,.highslide-active-anchor img{visibility:hidden}
.highslide-display-block,.ui-helper-clearfix,#share-popup .link a{display:block}
.highslide-display-none,.highslide-controls a span,.user_selection a.txtsel_close,.user_selection_true a.txtsel_close{display:none}
.highslide-controls .highslide-previous a,#share-popup .social .tw:hover span{background-position:0 0}
.highslide-controls .highslide-pause a,#share-popup .social .gp:hover span{background-position:-60px 0}
.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button,.ui-widget,.bb-sel select{font-size:11px}
.ui-dialog .ui-dialog-titlebar-close:hover,.ui-dialog .ui-dialog-titlebar-close:focus,#b_font select,#b_size select{}
.findrelated {width:99%;background: #ffc;border:1px solid #9E9E9E;padding: 5px;margin-top: 7px;margin-right: 10px;}
