
/* Navigation */
.pagi-nav {line-height:32px; margin:20px 0 40px 0; text-align:center; font-size:12px;}
.pagi-nav > span {display:inline-block;}
.pprev, .pnext {text-align:center; color:#444; width:70px; background-color:#fff; box-shadow:0px 1px 3px rgba(0, 0, 0, 0.13);}
.pnext a, .pprev a {color:#444; display:block;}
.navigation {text-align:center; padding:0 20px;}
.navigation a, .navigation span {display:inline-block; padding:0 5px; color:#444; 
min-width:32px; margin-bottom:5px; background-color:#fff; box-shadow:0px 1px 3px rgba(0, 0, 0, 0.13);}
.navigation span {color:#fff; background-color:#6fb4e3; box-shadow:none;}
.pagi-nav a:hover {color:#444; background-color:#f6f6f6;}
.navigation span.nav_ext {background: #fff; color:#444; box-shadow:0px 1px 3px rgba(0, 0, 0, 0.13);}
.dle-comments-navigation .pagi-nav {margin-bottom:0; padding-bottom:20px;}

/* errors */
.berrors {background: #fce5ba; color: #a76846; margin: 0 20px 20px 20px; padding: 10px 20px;}
.berrors a { color: #aa4e43; text-decoration:underline; }
.search-page .berrors, .article .berrors {margin:20px 0;}

/* Votes */
.vote-wrap {color:#5c5c5c;}
.vote-title { font-size:16px; line-height:18px;}
.vote-list {margin: 20px 0 0 0; line-height:normal; }
.vote {margin-bottom:10px;}
.vote:after {content: ""; display: table; clear: both;}
.vote input {margin:2px 8px 0 0; float:left; display:none;}
.vote label {position:relative;}
.vote label:before { content:""; float:left; margin:2px 8px 0 0; cursor:pointer; 
width:14px; height:14px; border-radius:8px; border:0px solid #e3e3e3; background-color:#e3e3e3;}
.vote input:checked + label:before {border-color:#94bee6; box-shadow:inset 0 0 0 2px #e3e3e3; background-color:#b40541;}
.vote label:hover { cursor:pointer; color:#eb7f73;}
.vcount {margin-top:10px;}

.vote-buts {padding:10px 0 0 0;}
.vote-buts button {height:30px; line-height:30px; float:left; padding:0; box-shadow:none !important;}
.votebuts button:hover {opacity:0.8;}
.vvote {border-radius:3px; text-align:center; width:100%;}
.vres, .vall {width:auto; background:transparent; float:right !important; margin-left:15px; color:#909090;}
.vres:hover, .vall:hover {background:transparent; color:#444;}

/* Content-other */
#pollbox { border-bottom: 1px dashed #E3E3E3; padding-bottom: 22px }
#dle-poll-list, #searchtable, .pm_status { padding: 15px; border-radius: 6px; background-color:#f6f6f6; }

/* forms */
#addcoment-dialog form { margin: 0 }
.tableform { width: 100%; }
.tableform td, .tableform th { border-top: 1px dotted #ebebeb; padding: 10px 0; text-align: left; }
.tableform tr:first-child td, .tableform tr:first-child th { border: 0 none; }
.tableform th, .tableform .label, .tableform .addnews { width: 25%; font-weight: normal; vertical-align: top; padding-right: 10px; padding-top: 8px; }
.imp::after { color: #e46950; content: "*"; font-weight: bold; }

.recipient select { width: 298px; }
.checkbox { color: #787878; padding: 4px 0; line-height: 1em; }
.checkbox input { margin-top: -2px; vertical-align: middle; }

textarea { resize: vertical; }
.f_textarea, textarea.ui-corner-all { width: 96.7%; }
.fieldtr select, .f_textarea, .f_input, .xfields textarea, .xprofile textarea, .tdfield select, .lfield input, 
.editor input[type="text"], #category, textarea.ui-corner-all, .pm select,
.xfields input, .xprofile input, .xfields select, .xprofile select, .mass_comments_action select, 
.bbeditor select, .textin, select.rating { padding: 4px; background: #f7f7f7; border:1px solid #ccc;}

.fieldtr select:focus, .pm select:focus, .textin:focus, .f_textarea:focus, .f_input:focus, .xfields textarea:focus, 
.xprofile textarea:focus, .editor input[type="text"]:focus, #category:focus, textarea.ui-corner-all:focus, 
.tdfield select:focus, .lfield input:focus, .xfields input:focus, .xprofile input:focus, .xfields select:focus, 
.xprofile select:focus, .mass_comments_action select:focus, .bbeditor select:focus {background: #fff;}

.form-wrap {}
.form-title {text-align:left; padding:0 15px 20px 15px;}
.form-title h1 { font-size:24px;}
.form-wrap > div {border-top:1px dashed #CCC;} 
.form-wrap > div:nth-child(2n) {background-color:#f6f6f6;}
.form-wrap select {border:1px solid #ccc; background-color:#fff;}
.sep-input {padding:10px 10px 10px 170px;}
.label {float:left; width:150px; margin-left:-160px;}
.input {float:right; width:100%; position:relative;}
.label label {display:block; height:40px; line-height:40px; font-weight:bold; font-size:14px;}
.impot {color:#E90206; margin-right:5px;}
.input input, .xfields input {display:block; width:100%; max-width:400px; height:38px; line-height:38px; padding:0 15px;
color:#000000; background-color:#fff; border:1px solid #ccc; border-radius:3px;}
.input input:focus {background-color:#ffffff; border-color:#04a2dc; box-shadow:0 0 10px 0 rgba(4,162,220,0.5);}
.input select {width:100%; max-width:400px; margin:10px 0 0 0;}
.sep-textarea, .sep-vote-rel, .sep-xfield, .sep-checks {padding:10px;}
.textarea-title {height:40px; line-height:40px; padding:0 20px; background-color:#1D3242; color:#FFF; font-size:16px;}
.sep-textarea textarea, .vote-textarea, #category {width:100% !important;}
.radio {height:25px; line-height:25px;}
.radio input {float:left; display:inline-block; margin-right:0px; width:25px; height:25px; line-height:25px;}
.sep-title {padding:0 20px; font-size:16px; background-color:#1D3242; color:#FFF; height:40px; line-height:40px;}
.add-findrel, .add-votebut {display:block !important; width:50%; height:40px !important; line-height:40px !important; 
padding:0 10px !important; text-align:center; border-radius:0 !important;
float:left; background-color:#fec007; color:#fff !important; font-size:16px !important;}
.findrelated {background: #ffc; border:1px solid #9E9E9E; padding: 5px; margin: 10px 0;}
.sep-xfield .addnews {vertical-align:middle;}
.sep-xfield input { display:inline-block; width:300px !important; height:38px !important; padding:0 15px !important;}
.sep-checks input#allow_main { margin-left:50px; }
.sep-checks label, #allow_subscribe + label { display:inline-block; line-height:30px; margin-left:10px; position:relative; top:1px;}
.sep-submit {padding:30px 10px;}
.secur .label label { background-color:#CF0003; position:relative; color:#fff; text-align:center; font-size:14px;}
.sec-label {margin-bottom:10px; font-weight:bold; font-size:14px;}
.secur .input input {margin-bottom:20px;}
.sec-capcha input {float:left; max-width:150px; margin-right:10px;}
#dle-captcha {display:inline-block;}
.register-check {position:absolute; right:0; top:0; width:120px !important; font-size:11px !important; padding:0 !important; text-align:center; 
border-radius:0 5px 5px 0 !important; height:38px !important; line-height:38px !important;}
.full-text.sep-textarea {margin:0; padding:10px !important;}

/* Userinfo */
.user-wr {background-color:#FFF; border:1px solid #e3e3e3; margin:0 auto 20px auto; max-width:1000px;}
.user-inner {padding-left:200px; position:relative;}
.user-inner:before {width:200px; height:100%; box-shadow:10px 0 10px -10px rgba(0,0,0,0.2); 
content:""; position:absolute; left:0; top:0; z-index:5;}
.user-left {width:200px; margin-left:-200px; float:left; padding:20px; position:relative; z-index:10;}
.user-right {width:100%; float:right; padding:20px 30px;}
.user-avatar {width:100px; margin:10px auto; box-shadow:0 0 0 10px #f5f5f5;}
.user-avatar img {width:100%; display:block;}
.user-status {margin:20px 0 20px 0; text-align:center;}
.offline, .online {text-align: center; width:100px; padding: 3px 5px; display:inline-block; 
color: #fff; background-color: #626262; border-radius:4px;}
.online { background: #99ce1b }
.user-connect a {display:block; padding:7px 10px; margin-top:10px; border-radius:4px; font-size:14px; text-align:center; 
color:#fff !important; background-color:#7dc561;}
.user-right h1 {font-size:18px; font-weight:700; margin-bottom:10px;}
.ur-item {padding:10px 0 10px 150px; font-size:12px; border-bottom:1px dotted rgba(0,0,0,0.2);}
.ur-item:last-child {border-bottom:0; padding-bottom:0;}
.ur-left {width:150px; margin-left:-150px; float:left; font-weight:700; color:5c5c5c;}
.ur-right {width:100%; float:right;}
.ur-right a {color:#007ac2; text-decoration:underline; margin:0 10px;}
.user-edit {border-top:1px solid #e3e3e3; background-color:#f5f5f5; padding:20px;}
.user-edit a {display:block; padding:10px 20px; text-align:center; background-color: #FC0; color:#000 !important; 
font-weight:bold; font-size:16px; border-radius:4px;}

@media screen and (max-width: 760px) {
.user-inner {padding-left:0;}
.user-inner:before {display:none;}
.user-right, .user-left {width:100%; float:none; padding:10px; margin-left:0;}
.ur-item {padding:10px 0;}
.ur-right, .ur-left {width:100%; float:none; margin-left:0;}
}

/* Userinfo popup */
.userinfo { padding-left: 110px }
.userinfo .left { margin-left: -110px; width: 80px }
.userinfo .left .avatar { margin:0 0 5px 5px; float:none !important; }
.userinfo .right { margin: 0; width: 100% }
.usinf li, .userinfo  ul.right li { padding: 5px 0; border-top: 1px dotted #D9D9D9; font-size:12px; }
.usinf li:first-child, .userinfo  ul.rcol li:first-child { border: 0 none }
.uibtn { font-size: 11px }
.ussep { padding-top: 1.2em }
.left {float:left;}
.right {float:right;}

/* search */
.search-page {margin-bottom:20px;}
.searchstyle { width: 480px }
.search { padding: 0 }
#searchtable, #searchtable td { vertical-align: top; text-align: left }
#searchtable fieldset { font-size: 11px; border: 1px solid #d7d7d7; padding: 10px; text-align: left; 
margin: 0 4px 4px 0 !important; border-radius: 6px }
fieldset legend { font-size: 11px; font-weight: bold; color: #696969; }
#searchtable table, #searchtable form { margin: 0; width:100%;}
#searchtable select { background-color: #fff }
#searchuser, #searchinput { width: 90% !important; }
.search > div {margin-bottom:10px;}
.search input[type="text"], .search select {display:block; width:100% !important; margin-bottom:10px;}
.search input[type="checkbox"], .search input[type="radio"] {margin-right:5px;}
#searchinput + br, #searchinput + br + br {display:none;}

.sres-wrap {background-color:#fff; display:block; padding:15px 15px 15px 230px; border:1px solid #e3e3e3; position:relative;}
.sres-wrap:nth-child(2n) {background-color:#f6f6f6;}
.sres-wrap:hover {z-index:100; border-color:#04a2dc; box-shadow:0 0 10px 0 rgba(4,162,220,0.5);}
.sres-img {float:left; margin-left:-215px; width:200px; position:relative;}
.sres-img img {width:100%;}
.sres-text { float:right; width:100%; color:#000;}
.sres-text h2 {font-size:16px; color: #CF151E; margin-bottom:20px; display:block;}
.sres-date {position:absolute; left:0; top:0; padding:10px; background-color:rgba(0,0,0,0.7); color:#FC0;}

/* statistics */
.statistics ul.left { min-height: 71px; margin-left: -1px; width: 33.3% }
.statistics ul.left li { clear: both; padding: 0 15px 0 1px; margin-bottom: 2px }
.statistics h4 { font-weight: bold; border-bottom: 1px solid #E2E2E2; margin-bottom: .5em; padding-bottom: .6em }
.statsbox li { border-top: 1px dotted #ebebeb; padding: 8px 0 }
.statsbox li:first-child { border-top: 0 none }

/* PM */
.pm_menu {margin-bottom: 10px; height: 42px;}
.pm_menu li { float: left }
.pm_menu a {padding: 0 15px; background: #f5f5f5; color: #444; margin-right: 10px; height: 40px; line-height: 40px; display:block;}
.pm_menu a:hover {background:#0297dc; color: #fff !important;}
.pm .navigation {display:none;}

.pm_status { margin-bottom:40px }
.pm_status_head { border-bottom: 1px solid #E3E3E3; font-size: 0.9em; height: 22px; padding: 0; font-weight: bold; text-align: center; color: #4e4e4e }
.pm_progress_bar { border-radius: 4px; border: 1px solid #d8d8d8; background-color: #fff; padding: 4px; margin-top: 10px; margin-bottom: 10px }
.pm_progress_bar span { border-radius: 2px; background: #fb643c; font-size: 0; text-indent: -2000em; height: 10px; display: block; overflow: hidden }

.pm-lists {}
.pm, .userstop {border:1px solid #ccc;}
.pm tr td, .userstop tr td {padding:10px; border:1px solid #ccc; font-size:12px; }
.pm tr:nth-child(1) {background-color:#0297dc !important; color:#FFF;font-size:18px !important;}
.pm tr:nth-child(2n+2), .userstop tr:nth-child(2n+2) {background-color:#f9f9f9;}
.pm select {width:100%; margin-bottom:10px;}

@media screen and (max-width: 490px) {
.form-title h1 {font-size:16px;}
.sep-input {padding:10px !important;}
.label, .input {float:none; width:100%; margin-left:0;}
.add-findrel, .add-votebut, .textarea-title {font-size:12px !important;}
.sres-wrap {padding:15px;}
.sres-img {float:none; margin-left:0; width:100%;}
.sres-text { float:none; width:100%; color:#f0f0f0; padding:10px;
position:absolute; left:0; bottom:0; background-color:rgba(0,0,0,0.7);}
.sres-text h2 {color: #fff; margin-bottom:0;}
.sres-desc {display:none;}
.user-main {padding:30px;}
.u-avatar {width:100px; float:none; margin:0 auto 0 auto; padding:0 0 20px 0;}
.u-name {float:none; text-align:center;}
.offline, .online { margin:0 auto;}
.user-info div, .user-connect div {width:100%; border-right:0; border-bottom:1px dashed #d8d8d8;}
.pm_menu {margin-bottom: 10px; height:auto;}
.pm_menu * { float: none !important; }
.pm_menu a {padding: 0 15px; margin: 0 0 10px 0; display:block;}
}








#dle-pm-preview .bform { display: none; }

/*--- AJAX---*/
#loading-layer { font-size: 14px; background: #f06060; padding: 20px; text-align: center; color: #fff; border-radius: 8px; z-index:8888 !important;  }

/*--- QUOTES ---*/
.scriptcode, .title_spoiler, .text_spoiler { padding: 3px 5px; background: #f0f0f0; border: 1px solid #e3e3e3; }
.title_quote { margin-top: 2px; font-weight: bold; }
.quote { margin: 5px 0 5px 10px; padding: 15px; border-left: 4px solid #4e8ccc;
 font-family: Georgia, serif; font-style: italic; color: #000; background-color:#f5f5f5 }
.title_spoiler { margin-top: 2px; }
.text_spoiler { margin-bottom: 2px; }
.title_spoiler img { vertical-align: middle !important; margin:0 5px 0 0; border:0;}
.scriptcode { color: #4c6d0f; text-align: left; font-family: "Courier New" }
.title_spoiler { font-weight: normal; }
.text_spoiler { border-top: 0; text-align: justify; }
.hide { background-color: #f0f0f0; padding: 5px; color: #000; 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---*/
.calendar { font-size:12px; width: 100%; color:#444; }
.calendar td, .calendar th { padding: 7px 0; vertical-align: middle; text-align: center; }
.calendar td.day, .calendar td.day-active-v, .calendar th.workday { border: 1px solid #e9e9e9; background-color: #fff; }
.calendar td.weekday, .calendar td.day-active, .calendar th.weekday { border: 1px solid #e3e3e3; background-color: #f6f6f6; }
.weekday-active-v, .day-active-v, .weekday-active, .day-active { font-weight: bold; }
.day-active a, .day-active-v a {color:#94bee6;}
.calendar td.day-current { background: #94bee6; }
.day-current a, .day-current { color: #fff !important; }

th.monthselect { text-align: left; padding-bottom:5px; }
th.monthselect b { font-weight: normal; }
th.monthselect center { text-align: right; }


/*--- RATING ---*/
.rating {width: 105px; height: 21px; font-size: 0.9em;}
.unit-rating {list-style: none; margin:0; padding: 0; width: 100%; height: 100%;
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: 21px; height: 21px; text-decoration: none; text-indent: -900px;
z-index: 17; position: absolute; padding: 0; overflow:hidden;}
.unit-rating li a:hover {background: url("../dleimages/rating.png") 0 -21px; z-index: 2; left: 0;}

.unit-rating a.r1-unit {left: 0;}
.unit-rating a.r1-unit:hover {width:21px;}
.unit-rating a.r2-unit {left: 21px;}
.unit-rating a.r2-unit:hover {width: 42px;}
.unit-rating a.r3-unit {left: 42px;}
.unit-rating a.r3-unit:hover {width: 63px;}
.unit-rating a.r4-unit { left: 63px;}
.unit-rating a.r4-unit:hover {width: 84px;}
.unit-rating a.r5-unit {left: 84px;}
.unit-rating a.r5-unit:hover {width: 105px;}

.unit-rating li.current-rating {background: url("../dleimages/rating.png") 0 -44px; position: absolute;
height: 21px; display: block; text-indent: -900px; overflow:hidden; z-index: 1;}


/*---BB CODES ---*/
.bbcodes,.bbcodes_poll{background:#fff;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;border-radius:8px;box-shadow:0 1px 4px -3px black}
.bbcodes_poll{width:100px}

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

.bb-pane { height: 1%; overflow: hidden; border: 1px solid #BBB; background-image: url("../bbcodes/bg.gif"); }
.bb-btn, .bb-sep { margin-right:2px; height: 25px; float: left; display: block; overflow: hidden; text-indent: -9999px; white-space: nowrap; }
.bb-sel { float: left; padding: 4px 2px 0 2px; }
.bb-sel select { font-size: 11px; }
.bb-sep { width: 5px; background-image: url("../bbcodes/brkspace.gif"); }
.bb-btn { cursor: pointer; width: 23px; }

#b_font { width: 118px;}
#b_size { width: 65px;}
#b_font select { padding: 0px;}
#b_size select { padding: 0px;}
#b_b { background-image: url("../bbcodes/b.gif"); }
#b_i { background-image: url("../bbcodes/i.gif"); }
#b_u { background-image: url("../bbcodes/u.gif"); }
#b_s { background-image: url("../bbcodes/s.gif"); }
#b_img { background-image: url("../bbcodes/image.gif"); }
#b_up { background-image: url("../bbcodes/upload.gif"); }
#b_emo { background-image: url("../bbcodes/emo.gif"); }
#b_url { background-image: url("../bbcodes/link.gif"); }
#b_leech { background-image: url("../bbcodes/leech.gif"); }
#b_mail { background-image: url("../bbcodes/email.gif"); }
#b_video { background-image: url("../bbcodes/mp.gif"); }
#b_audio { background-image: url("../bbcodes/mp3.gif"); }
#b_hide { background-image: url("../bbcodes/hide.gif"); }
#b_quote { background-image: url("../bbcodes/quote.gif"); }
#b_code { background-image: url("../bbcodes/code.gif"); }
#b_left { background-image: url("../bbcodes/l.gif"); }
#b_center { background-image: url("../bbcodes/c.gif"); }
#b_right { background-image: url("../bbcodes/r.gif"); }
#b_color { background-image: url("../bbcodes/color.gif"); }
#b_spoiler { background-image: url("../bbcodes/spoiler.gif"); }
#b_fla { background-image: url("../bbcodes/flash.gif"); }
#b_yt { background-image: url("../bbcodes/youtube.gif"); }
#b_tf { background-image: url("../bbcodes/typograf.gif"); }
#b_list { background-image: url("../bbcodes/list.gif"); }
#b_ol { background-image: url("../bbcodes/ol.gif"); }
#b_tnl { background-image: url("../bbcodes/translit.gif"); }
#b_br { background-image: url("../bbcodes/pbreak.gif"); }
#b_pl { background-image: url("../bbcodes/page.gif"); }

.bb-editor textarea { 
    -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
    padding: 2px; border: 1px solid #bcc0c2; width: 100%; background: #fff url("../images/fields.png") repeat-x;
}
.editorcomm .bb-editor { width: 465px;}
.editorcomm .bb-editor textarea { height: 156px; }

.clr {
    clear: both;
}

/*--- XFIELDS ---*/
.xfields textarea, .xprofile textarea {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;}

/*--- DROP NENU ---*/
#dropmenudiv { font: 12px Arial; padding: 10px; display: none; background: #fff; 
border-radius: 8px;  box-shadow: 0 0 50px 0 rgba(0,0,0,0.22); z-index:200 !important;}
#dropmenudiv a { display: block; text-decoration: none; padding: 5px 8px; width: 154px }

/*--- ---*/
fieldset {border: 1px solid #bfced6;padding: 5px;text-align: left;}

/*--- HIGHSLIDE GALLERY ---*/
.highslide-wrapper, .highslide-outline { background: #fff }
.highslide-image { border: 2px solid #fff }
.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 }

/*--- TAGS CLOUD ---*/
.clouds_xsmall, .clouds_small, .clouds_medium, .clouds_large, .clouds_xlarge { display:inline-block; 
border-radius:6px; color:#86878c; font-size:10px; padding:2px 4px; margin:0 2px 5px 0; background-color:#fff; border:1px solid #f0f0f0;}
.clouds_xsmall { font-size: 1em }
.clouds_small { font-size: 1.1em; font-weight: bold }
.clouds_medium { font-size: 1.2em; font-weight: bold }
.clouds_large { font-size: 1.3em }
.clouds_xlarge { font-size: 1.4em }
.clouds_xsmall:hover, .clouds_small:hover, .clouds_medium:hover, .clouds_large:hover, .clouds_xlarge:hover 
{color:#fff; background-color:#F26F63;}
.cloud-tags a:last-child {border:1px solid #e3e3e3; color:#444; display:inline-block; padding:3px 5px;}
.cloud-tags a:last-child:hover {color:#fff; background-color:#F26F63;}

/*--- SEARCH SUGGESTIONS---*/
#searchsuggestions {z-index: 998; width: 320px; font-size: 12px; background: #fff; 
border-radius: 5px; box-shadow: 0 0 1.6em rgba(0,0,0, 0.2) }
#searchsuggestions:after {}
#searchsuggestions a, #searchsuggestions span.notfound { padding:8px 10px; display: block; text-decoration: none; 
border-bottom: 1px solid #e3e3e3; font-weight:normal;}
#searchsuggestions a { color: #4a84c4; }
#searchsuggestions a:hover { text-decoration:none; color:#444; background-color:#f5f5f5}
#searchsuggestions span.searchheading { display: block; margin-bottom: .2em; }
#searchsuggestions span.seperator { display: block; }
#searchsuggestions span.seperator a { padding: 10px 0; text-align: center; border: 0 none; background-color:#4a84c4; color: #fff; }
#searchsuggestions span.notfound { padding: 15px 20px; display: block; }
#searchsuggestions .break { display: none; }

/*--- UI WIDGETS ---*/
.ui-widget-overlay { background: #000; opacity:0.5; left: 0; top: 0; right: 0; bottom: 0; position: fixed }
.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-dialog { background-color: #fff; overflow: hidden; padding: 0; position: absolute; width: 300px; 
box-shadow: 0 0 40px rgba(0,0,0, 0.2); border-radius:6px;}
.ui-dialog-titlebar { padding:10px 20px; border-bottom: 1px solid #e3e3e3; background-color:#f5f5f5; 
background: linear-gradient(to bottom, #fff 0%,#f0f0f0 100%);  }
.ui-dialog-title { margin-top: 2px; float: left; font-size: 16px; color: #444;}

.ui-dialog .ui-dialog-content {padding:20px; border: 0; overflow: auto; position: relative; zoom: 1; }
.ui-dialog-content h2 { display: inline; font-size: 1em; font-weight: bold }
.ui-dialog .ui-dialog-buttonpane { border-top: 1px solid #ccc; padding: 15px 20px; text-align: center; background-color:#f6f6f6; }

.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-icon-closethick {cursor: pointer; position:absolute; right:8px; top:9px; width:30px; height:30px;}
.ui-icon-closethick:before {content:"x"; width:30px; height:30px; line-height:26px; text-align:center; color:#fff; 
background-color:#E00003; border-radius:4px; position:absolute; right:0; top:0; text-indent:0; font-size:18px; 
background: linear-gradient(to bottom, #ff3019 0%,#cf0404 100%);}
a:hover .ui-icon-closethick {opacity:0.7;}
.ui-dialog .ui-dialog-buttonset button { margin-right:10px !important; line-height:15px !important;}

/*--- VOTE BARS ---*/
.voteprogress,.pollprogress{overflow:hidden;height:15px;margin-bottom:5px;background-color:#f7f7f7;background:linear-gradient(to bottom, #f5f5f5, #f9f9f9);box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.1);border-radius:4px}
.voteprogress span,.pollprogress 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:#0e90d2;background:linear-gradient(to bottom, #149bdf, #0480be)}
.voteprogress .vote2,.poll1{background-color:#dd514c;background:linear-gradient(to bottom, #ee5f5b, #c43c35)}
.voteprogress .vote3,.poll2{background-color:#5eb95e;background:linear-gradient(to bottom, #62c462, #57a957)}
.voteprogress .vote4,.poll3{background-color:#4bb1cf;background:linear-gradient(to bottom, #5bc0de, #339bb9)}
.voteprogress .vote5,.poll4{background-color:#faa732;background:linear-gradient(to bottom, #fbb450, #f89406)}

/* ---  UI MENU --- */
.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; }

/*--- TEXT [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; }

/*--- MARK AND SHARE ---*/
#marker-bar,#txtselect_marker{display:block;visibility:hidden;position:absolute;bottom:0;z-index:1200;opacity:0;transition:opacity .4s, visibility .1s linear .4s}
#txtselect_marker{cursor:pointer;width:32px;height:32px;background:url(../dleimages/marker.png) -0px -0px no-repeat}
#txtselect_marker:hover{background-position:-0px -32px}
#marker-bar{border:1px solid #ccc;border-radius:15px;background:#fff;padding:5px 10px;cursor:default;box-shadow:0px 0px 4px #ccc}
#marker-bar.show,#txtselect_marker.show{visibility:visible;transition:opacity .4s, visibility 0s;opacity:1}
#marker-bar .masha-social,#marker-bar .masha-marker{cursor:pointer;display:block;margin:0 5px;float:left}
#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:#c4f47d;padding:2px 0}
.user_selection a.txtsel_close,.user_selection_true a.txtsel_close{display:none}
.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) -0px -0px no-repeat}
.user_selection.hover a.txtsel_close:hover,.user_selection_true.hover a.txtsel_close:hover{background-position:-0px -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;padding:10px 0;opacity:0;transition:opacity .4s, visibility .1s linear .4s}
#share-popup.show{display:block;opacity:1;transition:opacity .4s, visibility 0s}
#share-popup .social{padding:0 0 10px 17px;height:40px}
#share-popup .social p{padding-bottom:10px;margin:0;font-weight:bold}
#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 .tw:hover span{background-position:0 0}
#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 .social .gp:hover span{background-position:-60px 0}
#share-popup .link{clear:both;border-top:1px solid #d9d9d9;padding:10px 5px 0 10px;line-height:1.2;overflow:hidden;margin:0 7px}
#share-popup .link p{font-weight:bold;padding:0 0 3px 0;margin:0}
#share-popup .link span{color:#999;font-size:10px;display:block;padding-top:3px}
#share-popup .link a{display:block}
	
.pollallvotes {text-align: center; margin-top: 10px;}