html {font-size: 100.01%;}
body {font: 62.5% 'Arial'; background: #372636;}
html, body {margin: 0px; padding: 0px; width: 100%;}
a, a img {border: none; outline: none;}
ul, li, form, fieldset, dl, dt, dd, h1, h2, h3, h4, h5, h6, em, del {margin: 0px; padding: 0px; list-style: none; text-decoration: none; font-style: normal; border: none;}
a {color: #372636; text-decoration: underline;}
a:hover {text-decoration: none;}

/* Тело страницы */
.page {width: 80%; margin: 0px auto; background: #f9f8f7 url(../images/bg.png) repeat-x 0px 0px; padding: 1px; min-width: 900px; position: relative; position: relative; top: 15px;}
.page .wrap {border: 1px solid #af9aa0; padding: 20px 5%;}
.spacer {height: 30px;}

/* Шапка, логотип, баннер */
.header { overflow: hidden; zoom: 1;}
h1 {float: left; padding-top: 50px; line-height: 50px; width: 505px;}
h1 a {color: #372636; font: 30px 'Times New Roman'; text-decoration: none; text-transform: uppercase;}
h1 a:hover {text-decoration: none;}
h1 span {color: #372636; font: italic 10px 'Times New Roman'; display: block; margin-top: 2px;}

/* Юзерменю */
.usermenu, .nav {margin: 20px 0;}
.usermenu {border-top: 1px solid #af9aa0; border-bottom: 1px solid #af9aa0; height: 34px;}
.usermenu del {padding: 0px 7px;}
.usermenu li {display: block; float: left; font: 1.2em/33px 'Arial'; color: #908d90;}
.usermenu li a {color: #372636; text-decoration: underline;}
.usermenu li a:hover {text-decoration: none;}
* html .menu input {margin-top: 4px;}
.menu label {margin-right: 14px; color: #372636;}
.menu fieldset {float: right;}
.login-input input {width: 200px; background: #f9f8f7; border: 1px solid #af9aa0;}
.login-submit input {width: 60px; background: #f9f8f7; border: 1px solid #af9aa0;}

/* Колонки */
.cols {overflow: hidden; zoom: 1;}

/* Главная колонка */
.centercol {margin: 0px 280px 0px 0px;}
/* Новость */
h2 {color: #372636; font: 2.6em 'Times New Roman'; padding-bottom: 10px;}
.clear_news {clear: left;}
.news_img {float: left; height: 100%; padding-right: 20px; height: 200px;}
.news {padding-bottom: 10px;}
.news-info {color: #918c91; font: 1.2em 'Arial'; margin-top: 10px; overflow: hidden; zoom: 1;}
.news-info a {color: #918c91; text-decoration: underline;}
.news-info a:hover {text-decoration: none;}
.news-info li{float: left;}
.news-info .right {float: right;}
.text {color: #372636; font: 1.2em 'Arial'; margin: 25px 0px 0px 0px;}
.text img {border: 1px solid #af9aa0;}
.edited {margin-top: 14px; font: italic 11px 'Arial'; color: #999;}
.rate-comm {border-bottom: 1px dashed #372636; border-top: 1px dashed #372636; margin: 20px 0px 10px 0px; padding: 5px 0px; overflow: hidden; zoom: 1;}
.comm-num a, .comm-num {font-size: 14px; color: #908d90; float: right;}
.poll-buttons {text-align: center; margin: 10px 0px 20px 0px;}
.noimg img {padding: 0px;}
/* Рейтинг новости */
.rate {text-indent: -9999px;}
.rating {color: #757575; width: 85px; height: 16px;}
.unit-rating {width: 85px; height: 16px; position: relative; background: url(../dleimages/rating.gif) top left repeat-x;}
.unit-rating li {text-indent: -90000px; float: left;}
.unit-rating li a {display: block; width: 17px; height: 16px; text-decoration: none; text-indent: -9000px; z-index: 17; position: absolute; padding: 0px;}
.unit-rating li a:hover {background: url(../dleimages/rating.gif) left center; z-index: 2; left: 0px;}
.unit-rating a.r1-unit {left: 0px;}
.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.gif) left bottom; position: absolute; height: 16px; display: block; text-indent: -9000px; z-index: 1;}
/* Похожие новости */
.related {font: 1.2em/21px 'Arial'; border-bottom: 1px dashed #372636; padding-bottom: 10px;}
.related strong {font-size: 14px; display: block; color: #372636;}
h5 {color: #372636; font: 1.8em 'Arial';}

/* Навигация по новостям */
.navigation {text-align: center; font: 1.8em 'Arial'; color: #ccc; margin-top: 30px;}
.navigation a, .navigation span {padding: 0px 3px;}

/* Комментарий */
.comment {margin-top: 20px;}
.comment img {padding: 0px; border: 0px;}
.comment dt {background: #f0eee8; padding-top: 6px; height: 44px;}
.comment dt img {position: absolute; margin-top: -6px;}
.comment dt a {color: #372636; font: bold 1.4em 'Arial'; margin-left: 61px;}
.comment dd {position: absolute; font: 1.1em 'Arial'; color: #372636; margin: -23px 0px 0px 61px;}
.comment dd span {padding-right: 6px;}
.comment .text {margin: 0px; padding: 10px 0px 20px 0px;}
.comm-actions {text-align: right;}
.comm-actions li {display: inline; color: #908d90; font: 1.1em 'Arial';}
.comm-actions a {color: #372636; margin: 0px 6px;}
.title_quote, .title_spoiler, .scriptcode {color: #636363; background: #f2f2f2; border: 1px dotted #bebebe; border-bottom: 0; font-weight: bold; padding: 5px;}
.quote, .text_spoiler {color: #757575; background-color: #f2f2f2; border: 1px dotted #bebebe; text-align: justify; padding: 5px;}

/* Добавление */
.news h5 {margin: 20px 0px;}
.form-type1 label {display: block; margin-bottom: 2px;}
.form-type1 label span, .form-type1 span {display: block; font: 1.2em 'Arial'; color: #372636;}
.form-type1 label input, .form-type1 label select {margin-bottom: 10px; border: 1px solid #af9aa0; background: #f0eee8; color: #000; padding-left: 3px; width: 216px;}
.form-type1 textarea {width: 96%; height: 150px; margin-bottom: 10px; font: 12px 'Arial'; color: #372636; background: #f0eee8; border: 1px solid #af9aa0;}
.form-type1 div select {width: auto;}
.form-type1 div {line-height: 0px;}

/* Правая колонка */
.rightcol {float: right; width: 238px; padding-top: 6px;}

/* Типовой блок*/
.block-header {border: 1px solid #af9aa0; background: #fff; padding: 1px;}
h6 {color: #372636; font: bold 1.2em/26px 'Arial'; background: #f0eee8; width: 234px; height: 25px; text-indent: 11px;}
.block {padding: 12px 0px 46px 12px;}
.new {color: #372636; font: 1.2em 'Arial';}
/* Блок опроса */
.vote-list {padding-left: 21px; font: bold 1.1em 'Arial'; color: #372636;}
.vote-list input {margin-left: -21px;}
.vote-title {margin: 0px; padding: 0px 0px 12px 0px; color: #372636; font: 1.2em/14px 'Arial';}
.vote-list-end {font: bold 1.1em 'Arial'; color: #372636;}
.vote {margin-bottom: 5px;}
.bbcodes_poll, .bbcodes {border: 1px solid #af9aa0; background: #f0eee8; color: #000; padding: 2px 10px; font: 12px 'Arial';}
.bbcodes {margin-top: 10px;}

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

.bb-pane { height: 1%; overflow: hidden; border: 1px solid #BBB; background-image: url("../bbcodes/bg.gif"); }
.bb-btn, .bb-sep { 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"); }

.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; }

/*---Выделение текста и всплывающее окно (поделиться ссылкой)---*/
#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;
    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 {
        /* XXX make a common css fadeIn/fadeOut classes */
	visibility: visible;
	-webkit-transition: opacity .4s, visibility 0s;
	-moz-transition: opacity .4s, visibility 0s;
	-o-transition: opacity .4s, visibility 0s;
	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;
	-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;
}

#share-popup.show {
	display:block;
	opacity: 1;
	-webkit-transition: opacity .4s, visibility 0s;
	-moz-transition: opacity .4s, visibility 0s;
	-o-transition: opacity .4s, visibility 0s;
	transition: opacity .4s, visibility 0s;
	opacity: 1;
}

#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;
}

/* Блоктегов */
.tags {color: #f9f8f7; text-align: justify;}
.tags a {color: #372636; font-family: 'Arial'; text-decoration: none;}
.tags a:hover {text-decoration: underline;}
.clouds_xsmall {font-size: x-small;}
.clouds_small {font-size: small;}
.clouds_medium {font-size: medium;}
.clouds_large {font-size: large;}
.clouds_xlarge {font-size: x-large;}
/* Блок архивов */
.archives {color: #372636; font: 1.2em 'Arial'; background: url(../images/dots.gif) no-repeat 0px 4px; padding-left: 15px;}
/* Блок меню */
.menu a {color: #372636;}
.menu a:hover {text-decoration: none;}
/* Блок лучших новостей */
.topnews a {color: #372636; font: bold 1.2em/20px 'Arial';}
.topnews a:hover {text-decoration: none;}
/* Блок последних новостей */
.lastnews a {color: #372636; font: 1.2em 'Arial';}
.lastnews a:hover {text-decoration: none;}
.lastnews li {margin-bottom: 10px;}
/* Календарь */
.weekday-active-v {color: #372636;}
.day-active-v {color: #372636;}
.calendar {color: #757575; font: 11px 'Verdana'; padding: 0px; border-collapse: collapse; width: 80%;}
.calendar td, th {padding: 3px 6px 4px 6px; padding: 0px; border-collapse: collapse; height: 20px;}
.weekday {color: #af9aa0;}
.weekday-active {color: #804040;}
.day-active {color: #804040;}
.day-active a, .weekday-active a, .day-active-v a, .weekday-active-v a {text-decoration: underline;}
.monthlink {color: #372636; text-decoration: none;}
.day-current {background: #f0eee8; border: 1px solid #af9aa0;}
/* Блок поиска */
.search-form input {width: 168px; _width: 150px; background: #f9f8f7; border: 1px solid #af9aa0;}
*:first-child+html .search-form input {width: 150px;}
.search-submit input {background: #f9f8f7; border: none; width: 63px; margin-bottom: -5px;}
.block-search div {padding-top: 6px;}
.pb {padding-bottom: 14px; font: 1.1em 'Verdana';}
.userstop {width: 96%;}
.bigpadd {padding-bottom: 20px;}
.userinfo {font: 1.1em/18px 'Verdana';}

/* Подвал */
.footer {border-top: 1px solid #af9aa0; border-bottom: 1px solid #af9aa0; margin: 20px 0; font: 1.2em/33px 'Arial'; color: #372636; clear: both;}
/* Счётчики внизу */
.counters {margin: 0px 96px 0px 92px; text-align: right;}
.counters li {display: inline; margin-left: 11px;}

/* Дополнительные поля */
.xfields textarea, .xprofile textarea {width: 100%; height: 150px; margin-bottom: 10px; font: 12px 'Arial'; color: #372636; background: #f0eee8; border: 1px solid #af9aa0;}
.xfields input, .xprofile input {margin-bottom: 10px; border: 1px solid #af9aa0; background: #f0eee8; color: #000; padding-left: 3px;}
.xfields select, .xprofile input {margin-bottom: 10px; border: 1px solid #af9aa0; background: #f0eee8; color: #000; padding-left: 3px;}

/* Выпадающее меню */
#dropmenudiv {border: 1px solid #af9aa0; font: normal 10px/20px 'Arial'; margin: 2px;}
#dropmenudiv a {display: block; text-indent: 3px; text-decoration: none; color: #372636; background: #f0eee8; border: 1px solid #fff; padding: 1px 0px;}
#dropmenudiv a:hover {background: #f9f8f7; color: #000;}

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

/* Поиск */
.search {color: #757575; text-decoration: none; text-align: left;}
.search fieldset {text-align: left;}
.textin {color: #757575; font: 11px 'Tahoma'; border: 1px solid #e0e0e0; text-decoration: none;}
.sresult  {text-align: justify; font-weight: normal; line-height: 16px; font-size: 12px; color: #757575;}

/* Превью картинок */
.highslide-active-anchor img {visibility: hidden;}
.highslide-image-blur {}
.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;}

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

/* ==================== Быстрый поиск на сайте */
#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 {
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;
}
/*---Подсветка кода в теге [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;
}
.pm_status {
	float:left;
	border: 1px solid #d8d8d8;
	padding: 0px;
	background-color: #fff;
	width: 280px;
	height: 100px;
	margin-left: 20px;
	margin-right: 5px;
}

.pm_status_head {
	border-bottom: 1px solid #d8d8d8;
	font-size: 0.9em; 
	background: #fff url("../images/bbcodes.png") repeat-x 0 100%;
	height: 22px;
	padding: 0;
	font-weight: bold;
	text-align: center;
	color: #4e4e4e;
}

.pm_status_content {
	padding: 5px;
}
/*---Вывод результатов голосования на сайте---*/
.voteprogress {
  overflow: hidden;
  height: 15px;
  margin-bottom: 5px;
  background-color: #f7f7f7;
  background-image: -moz-linear-gradient(top, #f5f5f5, #f9f9f9);
  background-image: -ms-linear-gradient(top, #f5f5f5, #f9f9f9);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f5f5f5), to(#f9f9f9));
  background-image: -webkit-linear-gradient(top, #f5f5f5, #f9f9f9);
  background-image: -o-linear-gradient(top, #f5f5f5, #f9f9f9);
  background-image: linear-gradient(top, #f5f5f5, #f9f9f9);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5f5f5', endColorstr='#f9f9f9', GradientType=0);
  -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

.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: #0e90d2;
  background-image: -moz-linear-gradient(top, #149bdf, #0480be);
  background-image: -ms-linear-gradient(top, #149bdf, #0480be);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#149bdf), to(#0480be));
  background-image: -webkit-linear-gradient(top, #149bdf, #0480be);
  background-image: -o-linear-gradient(top, #149bdf, #0480be);
  background-image: linear-gradient(top, #149bdf, #0480be);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#149bdf', endColorstr='#0480be', GradientType=0);
}

.voteprogress .vote2 {
  background-color: #dd514c;
  background-image: -moz-linear-gradient(top, #ee5f5b, #c43c35);
  background-image: -ms-linear-gradient(top, #ee5f5b, #c43c35);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#c43c35));
  background-image: -webkit-linear-gradient(top, #ee5f5b, #c43c35);
  background-image: -o-linear-gradient(top, #ee5f5b, #c43c35);
  background-image: linear-gradient(top, #ee5f5b, #c43c35);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b', endColorstr='#c43c35', GradientType=0);
}

.voteprogress .vote3 {
  background-color: #5eb95e;
  background-image: -moz-linear-gradient(top, #62c462, #57a957);
  background-image: -ms-linear-gradient(top, #62c462, #57a957);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#57a957));
  background-image: -webkit-linear-gradient(top, #62c462, #57a957);
  background-image: -o-linear-gradient(top, #62c462, #57a957);
  background-image: linear-gradient(top, #62c462, #57a957);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462', endColorstr='#57a957', GradientType=0);
}

.voteprogress .vote4 {
  background-color: #4bb1cf;
  background-image: -moz-linear-gradient(top, #5bc0de, #339bb9);
  background-image: -ms-linear-gradient(top, #5bc0de, #339bb9);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#339bb9));
  background-image: -webkit-linear-gradient(top, #5bc0de, #339bb9);
  background-image: -o-linear-gradient(top, #5bc0de, #339bb9);
  background-image: linear-gradient(top, #5bc0de, #339bb9);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#5bc0de', endColorstr='#339bb9', GradientType=0);
}

.voteprogress .vote5 {
  background-color: #faa732;
  background-image: -moz-linear-gradient(top, #fbb450, #f89406);
  background-image: -ms-linear-gradient(top, #fbb450, #f89406);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fbb450), to(#f89406));
  background-image: -webkit-linear-gradient(top, #fbb450, #f89406);
  background-image: -o-linear-gradient(top, #fbb450, #f89406);
  background-image: linear-gradient(top, #fbb450, #f89406);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fbb450', endColorstr='#f89406', GradientType=0);
}

/*---Вывод результатов опросов в новостях---*/
.pollprogress {
  overflow: hidden;
  height: 18px;
  margin-bottom: 5px;
  background-color: #f7f7f7;
  background-image: -moz-linear-gradient(top, #f5f5f5, #f9f9f9);
  background-image: -ms-linear-gradient(top, #f5f5f5, #f9f9f9);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f5f5f5), to(#f9f9f9));
  background-image: -webkit-linear-gradient(top, #f5f5f5, #f9f9f9);
  background-image: -o-linear-gradient(top, #f5f5f5, #f9f9f9);
  background-image: linear-gradient(top, #f5f5f5, #f9f9f9);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5f5f5', endColorstr='#f9f9f9', GradientType=0);
  -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

.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: #0e90d2;
  background-image: -moz-linear-gradient(top, #149bdf, #0480be);
  background-image: -ms-linear-gradient(top, #149bdf, #0480be);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#149bdf), to(#0480be));
  background-image: -webkit-linear-gradient(top, #149bdf, #0480be);
  background-image: -o-linear-gradient(top, #149bdf, #0480be);
  background-image: linear-gradient(top, #149bdf, #0480be);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#149bdf', endColorstr='#0480be', GradientType=0);
}

.pollprogress .poll2 {
  background-color: #dd514c;
  background-image: -moz-linear-gradient(top, #ee5f5b, #c43c35);
  background-image: -ms-linear-gradient(top, #ee5f5b, #c43c35);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#c43c35));
  background-image: -webkit-linear-gradient(top, #ee5f5b, #c43c35);
  background-image: -o-linear-gradient(top, #ee5f5b, #c43c35);
  background-image: linear-gradient(top, #ee5f5b, #c43c35);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b', endColorstr='#c43c35', GradientType=0);
}

.pollprogress .poll3 {
  background-color: #5eb95e;
  background-image: -moz-linear-gradient(top, #62c462, #57a957);
  background-image: -ms-linear-gradient(top, #62c462, #57a957);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#57a957));
  background-image: -webkit-linear-gradient(top, #62c462, #57a957);
  background-image: -o-linear-gradient(top, #62c462, #57a957);
  background-image: linear-gradient(top, #62c462, #57a957);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462', endColorstr='#57a957', GradientType=0);
}

.pollprogress .poll4 {
  background-color: #4bb1cf;
  background-image: -moz-linear-gradient(top, #5bc0de, #339bb9);
  background-image: -ms-linear-gradient(top, #5bc0de, #339bb9);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#339bb9));
  background-image: -webkit-linear-gradient(top, #5bc0de, #339bb9);
  background-image: -o-linear-gradient(top, #5bc0de, #339bb9);
  background-image: linear-gradient(top, #5bc0de, #339bb9);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#5bc0de', endColorstr='#339bb9', GradientType=0);
}

.pollprogress .poll5 {
  background-color: #faa732;
  background-image: -moz-linear-gradient(top, #fbb450, #f89406);
  background-image: -ms-linear-gradient(top, #fbb450, #f89406);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fbb450), to(#f89406));
  background-image: -webkit-linear-gradient(top, #fbb450, #f89406);
  background-image: -o-linear-gradient(top, #fbb450, #f89406);
  background-image: linear-gradient(top, #fbb450, #f89406);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fbb450', endColorstr='#f89406', GradientType=0);
}

/*---Slider---*/
.header .banner {float: right; width: 600px; border: 1px solid #af9aa0; position: relative;}
#slides, .slides_container {
    height: 280px;
    position: relative;
}

#rec {
    position: absolute;
    right: 15px;
    top: 40px;
}

.slides_container {
    background: rgba(255,255,255,0.4);
    width: 100%;
    overflow:hidden;
}

#slides {background: url("../images/book.jpg")center no-repeat;}
#slides img {height: 260px;}
#slides .img_slide {padding: 10px; float: left; width: 200px; overflow:hidden;}
#slides .text_slide {padding: 10px; float: right; text-align: right; width: 350px; margin-top: 80px;}
#slides h2 {font-size: 20pt; font-family: Arial; padding: 0; font-weight: bold;}
#slides h3 {font-size: 14pt; font-weight:normal}
#slides p {font: 12pt 'Arial';}

/*---АВТОПРОКРУТКА НОВОСТЕЙ---*/
#newsticker-demo { 
width: 1000px;
overflow:hidden;
padding-bottom:5px; 
font-family:Verdana,Arial,Sans-Serif;
font-size:12px;
margin: auto;
}

#newsticker-demo a { text-decoration:none; }
#newsticker-demo img { border: 2px solid #FFFFFF; width: 150px;}

#newsticker-demo .title {
text-align:center;
font-size:14px;
font-weight:bold;
padding:5px;
}

.newsticker-jcarousellite { width:115px; }
.newsticker-jcarousellite ul li{ list-style:none; display:block; padding-bottom:1px; margin-bottom:5px; height:300px;}
.newsticker-jcarousellite .thumbnail { float:left; width:200px; }

.clear { clear: both; }

/*---TINYDROPDOWN - ВЫПАДАЮЩЕЕ МЕНЮ---*/
.nav {z-index:1000;}
.menu {border-top: 1px solid #af9aa0; border-bottom: 1px solid #af9aa0; height: 34px; font: 1.2em/33px 'Arial';}
.menu del {padding: 0px 20px 0 0;}
.menu a {float:left; color: #372636; text-decoration: underline; padding: 0 10px;}
.menu a:hover {text-decoration: none;}
.menu li {position:relative; float:left; color: #908d90; z-index:1000}
.menu ul {position:absolute; top:34px; left:0; background:#aaa; display:none; list-style:none; border: 1px solid #af9aa0;}
.menu ul li {float:none; border-top:1px solid #ccc; width:120px}
.menu ul li a {line-height: 1.5; padding: 5px;}
.menu ul li a, li.menuhover li a, li.menuhover li.menuhover li a {float:none; display:block;}
.menu ul li a:hover, li.menuhover li a:hover, li.menuhover li.menuhover li a:hover {text-decoration: none;}
.menu ul ul {left:120px; top:0}
.menu li.submenu {font-weight:bold}
.menu li.noborder {border-top:none}
li.menuhover a, li.menuhover li.menuhover a {background:#f6f5f2}
