article,aside,figcaption,figure,footer,header,hgroup,nav,section,time{ display: block }

body{ background-color: #6CA6CD; font-size: 14px; font-family: Arial, Helvetica, sans-serif }
section#main{ margin: 15px auto 15px auto; border:   3px  double #444444; background-color: #FFFFFF; width: 980px }
.clear{ clear: both }
a,a:hover{ color: #1D5987; text-decoration: none }
.align-center,.center{ text-align: center }
img{ border: 0px }

input[type="submit"],input[type="button"]{ border: 1px solid #4E4E4E; cursor: pointer; color: #1D5987; background-color: #E6F0F7; padding:4px 10px 4px 10px; border-radius: 5px; text-align: center }
input[type="submit"]:hover{ color: #339900; background-color: #E6F0E3 }
input[type="text"], input[type="password"], textarea, select{ border: 1px solid #999999; border-radius: 5px; padding: 3px; text-align: center }
textarea{ text-align: left }
input[type="file"]{ border: 1px solid #999999; background-color: #FFFFFF }

.fulltext ol{ padding: 0px; margin: 0px 0px 0px 25px }

.block, .mass_comments_action{ background-color: #F2F2F2; border: 1px solid #BBBBBB; padding: 4px; margin:0px 0px 5px 0px }

.vote-pool h3{ font-size: 13px; color: #333333; margin: 5px; font-style: italic; font-weight: bold }
.vote-pool h4{ font-size: 13px; color: #1D5987; margin: 5px; font-style: italic; font-weight: bold }
#dle-poll-list{ padding-left: 10px }


.adverts ul{ padding: 0px 0px 0px 0px; margin: 15px 0px 0px 0px}
.adverts ul li{ padding: 0px; margin:5px; list-style-type: none }
.adverts ul li span{ font-size: 13px; font-weight: bold; font-style: italic; color: #1D5987 }


.bbpanel{ margin: 0px 0px 0px 0px; padding: 0px 0px 0px 0px; width:100%; overflow: hidden; border: 1px  solid #FFFFFF; background-color: #666666; background-image:url('../bbcodes/bg.gif') }
.bbpanel img { margin: 0; padding: 0; }
.editor_button select{ border-radius: 0px; margin: 2px; padding: 0px; text-align: left; font-size: 12px; border: 1px solid #919191 }
.editor_button select[name="bbfont"].editor_button{ width: 80px }
.editor_button select[name="bbsize"].editor_button{ width: 80px }
.fastedit input[type="text"]{ width: 400px; padding: 3px }
.fastedit textarea{ border-radius: 0px; margin: 0px; padding: 3px; text-align: left; font-size: 12px; border:  1px  solid #666666; width:98%; height:250px; color: #333333 }

 

.editor_button {
  float: left;
  cursor: pointer;
  padding-left: 0;
  padding-right: 0;
}

.login a.important{ color: #008C00 }

ul.last_comm{ padding: 0px; margin: 0px }
.last_comm li{ padding: 3px 0px 7px 0px; margin: 5px 0px 5px 0px; list-style-type: none; border-bottom: 1px dashed #CCCCCC; text-align: justify; color: #444444; font-style: italic }
.last_comm li:last-of-type{ border-bottom: 0px }
.last_comm li span{ color: #AAAAAA; font-size: 12px }
.last_comm li span+a{ font-weight: bold; font-size: 13px; color: #528398 }
.last_comm li p{ padding: 4px; margin: 5px 0px 0px 0px; border: 1px solid #999999; background-color: #FFFFFF; color: #222222; border-radius: 4px; }
.last_comm li p+div{ text-align: right }



.editor_button img { margin: 0; padding: 0; }
.editbclose img { margin: 0; padding: 0; }
.editor_button_brk img { margin: 0; padding: 0; }

h2{ font-size: 16px; color: #1D5987; margin: 5px }
.smaller h2{ font-size: 15px; color: #1D5987; margin: 5px }
h3{ font-size: 13px; color: #333333; margin: 5px; font-style: italic; font-weight: bold }
.full_date{ font-size: 11px; color: #777777; font-style: italic; text-align: right }

.navigation{ text-align: center; color: #3A78A5; font-family: Arial, Helvetica, sans-serif; margin-top: 12px; font-size: 11px }
.navigation span, .navigation a{ padding: 3px 5px 3px 5px }
.navigation a{ border: 1px solid #6CA6CD }
.navigation span{ border:  1px  solid #BBBBBB; color: #666666; }
.navigation #current{ color: #3A78A5; border: 1px  solid #2E6E9E; background-color: #D7E3FF; font-size: 14px }

.stats-image{ text-align: center }
.stats-image img, #statdaybtns{ width: 830px }
#statdaybtns{ text-align: right; margin: 0px auto 0px auto }
#statdaybtns span{ color: #919191; font-size: 10px; margin: 0px 0px 0px 10px; cursor: pointer }
#statdaybtns span.active{ border-bottom: 1px solid #068200 }
#statdaybtns span:hover, #statdaybtns span.active{ color: #068200 }

nav { width: 100%; background-color: #36648B; color: #FFFFFF }
nav ul, nav li{ padding: 0px; margin: 0px; background-color: #36648B }
nav li { float: left; margin: 0; list-style-type: none; position: relative; border-right: 1px solid #676370; cursor: pointer; font-family: Arial, Helvetica, sans-serif; padding: 5px 15px 5px 15px }
nav li a{ color: #FFFFFF; text-decoration: none }
nav li a:hover{ color: #FFFFFF; text-decoration: none }
nav li:hover, nav li ul{ background-color: #DD0000 }
nav li ul {display: none;position: absolute; top: 26px; left: 0px; border: 2px solid  #DD0000 }
nav li:hover ul{display: block;}
nav li ul li {float: none; width: 150px;position: relative; margin-left: 5px;background-color: #36648B }
nav li ul a{color: #FFFFFF; width: 190px;}
nav li ul li:hover, nav li ul li:hover a, nav li ul a:hover{background-color: #BBBBBB; color: #36648B;text-decoration: none;}

nav li#oldversion{ float: right }
nav li#oldversion a{ color: #DDDDDD }
nav li:hover#oldversion{ background-color: #777777 }

footer .footer-menu{ width: 100%; background-color: #36648B; color: #FFFFFF }
footer .footer-menu ul li{ float: right; margin: 0; list-style-type: none; position: relative; border-right: 1px solid #676370; cursor: pointer; font-family: Arial, Helvetica, sans-serif; padding: 5px 15px 5px 15px }
footer .footer-menu ul li a{ color: #FFFFFF; text-decoration: none }
footer .footer-menu ul li a:hover{ color: #FFFFFF; text-decoration: none }
footer .footer-menu ul li:hover{ background-color: #009900 }
footer .important{ color: #BBBBBB; }

.copytext{ background-color: #F2F2F2; border-bottom: 1px solid #BBBBBB; padding-bottom: 15px; padding-top: 15px; text-align: center }
.footer_banner{ background-color: #F2F2F2; padding: 5px; text-align: right }

.lenta-foot{ text-align: center }
.lenta-foot a{ color: #444444; font-size: 0.8em; text-decoration: none }
.lenta-foot a:hover{ text-decoration: none; color: #36648B }

.inviz{ display: none }
.left-items{ border: 1px solid #D7E3FF; background-color: #36648B; color: #FFFFFF; text-align: center }
.left-items ul{ list-style-type: none; margin: 0px; padding: 0px }
.left-items ul li{ float: left; padding: 6px; background-color: #36648B; color: #FFFFFF; text-align: center; cursor: pointer }
.left-items ul li:hover{ background-color: #7CB874; color: #FFFFFF }
.left-items ul li.active{ background-color: #068200; color: #FFFFFF }

.left-items ul#top-items li+li{ float: right }

.loginpanel table{ width: 100% }
.loginpanel table td{ width: 30%; text-align: right; padding-right: 5px; font-weight: bold; font-style: italic; color: #1D5987 }
.loginpanel table td+td{ width: 70%; text-align: left; padding: 0px }
.loginpanel table td img{ margin: 3px }
.loginpanel input[type="text"],.loginpanel input[type="password"]{ text-align: center; width: 200px; margin: 3px; font-family: "Courier New", Courier, monospace }

.register h2, .userinfo h2{ font-size: 15px; color: #1D5987; margin: 5px }
.register ul, .userinfo ul{ margin: 0px }
.register ul li, .userinfo ul li{ margin: 0px; list-style-type: none; padding: 5px; clear: both }
.register ul li span, .userinfo ul li span{ float: left; display: block; width: 150px }
.register textarea, .userinfo textarea{ width: 300px }

header{ background-image:url('../images/bg-logo.jpg') }
header h1{ margin: 0px; padding: 0px; float: left }
header h1,header h1 img{ height: 155px; width: 278px; border: 0px }
header ul.navheader{ margin: 0px; padding: 0px }
header .navheader li{ margin: 0px; padding: 0px; list-style-type: none; float: left }
header .navheader li.descr{ width: 270px; padding: 5px; color: #444444; text-align: justify }
header .navheader li.ads{ float: right; padding: 15px 10px 0px 0px }

/*.fire-st{ height: 155px; background-image: url('../images/st-logo.gif'); background-repeat: no-repeat; background-position: top right }*/

.left-small-ads .small-ads-1{ margin-right: 5px; width: 100px; text-align: center; overflow: hidden; float: left }
.left-small-ads .small-ads-2{ width: 245px; text-align: center; overflow: hidden }
#item-id-2, #item-id-3, #item-id-4{ text-align: center }
.SinoptikInformer{ margin-left: auto; margin-right: auto }

#item-id-4{ text-align: center }
#item-id-4 a{ text-align: center; display: block; width: 45%; float: left; padding: 5px; margin: 2px 1px 0px 1px; border: 1px solid #2E6E9E; background-color: #D7E3FF; text-transform: uppercase; font-size: 11px }
#item-id-4 a:hover{ background-color: #DCFADD }

.search{ text-align: center; float: right; width: 300px }
.search input[type="text"]{ width: 200px }

aside ul.lenta{ padding: 0px; margin: 0px; }
aside ul.lenta li{ font-size: 12px; margin: 0px 2px 0px 2px; list-style-type: none; padding: 10px 0px 10px 0px; border-bottom: 1px dashed #BBBBBB }
aside ul.lenta li span{ margin: 0px 5px 0px 0px; list-style-type: none; color: #777777 }
aside ul.lenta li a{ margin: 0; list-style-type: none; font-weight: bold }
aside ul.lenta li.imp_post a{ color: #222222 }
aside ul.lenta li:hover{ background-color: #E8F3FA }


.comment div.avatar{ left: 62px; width: 62px; overflow: hidden; float: left }
.comment .avatar img{ left: 60px; width: 60px }
.comment .commtext{ border: 1px solid #CCCCCC; border-radius: 5px; margin-left: 65px; padding: 3px; background-color: #FFFFFF; color: #383838;  }
.comment .commtext .attr{ color: #383838; font-weight: bold; font-size: 12px; font-style: italic }
.comment .commtext .comm{ margin: 0px; padding: 5px 0px 0px 0px; font-size: 14px; font-style: italic; text-align: justify }
.comment .attrbottom{ text-align: right; padding: 3px }
.comment span.date{ color: #888888; font-weight: normal }

.addcomments .editor{ padding: 5px }
.addcomments .editor textarea{ padding: 5px;  font-size: 14px; width: 550px; height: 150px; border: 1px solid #DDDDDD; border-radius: 5px; margin-left: 17px }
.addcomments h2, .info h2{ padding: 0px; margin: 3px; font-size: 14px; }
.info .error{ padding: 5px; font-style: italic; text-align: justify }

.main-content table{ width: 980px; overflow: hidden; margin: 0px; padding: 2px 2px 0px 2px; border-bottom: 0px }
.main-content table.con-table{ padding: 0px 2px 2px 2px; border-top: 0px;}
.main-content table td{ vertical-align: top }
.main-content table td.right-side{ width: 350px; overflow: hidden }
.main-content table td.content{ width: 618px; overflow: hidden }

div.mass_comments_action{ padding-left: 10px; }
.mass_comments_action select, .mass_comments_action input{ font-size: 14px }
.loginpanel .block{ padding: 4px; margin:0px; text-align: center; font-weight: bold; font-size: 12px }
.loginpanel .block .login{ float: left; text-align: center; padding-left: 10px; padding-top: 6px }

.shortstory img.short-image{ width: 160px; float: left; margin: 3px; height: 120px }
.shortstory p{ margin: 0px; font-family: Arial, Helvetica, sans-serif; font-size: 13px; text-align: justify }
.shortstory .full_date{ text-align: left }

.post-item .full-link{ float: right; padding: 5px; background-color: #DDDDDD }
.post-item .post-cat a{ font-size: 12px }
.post-item .full-link a,.post-item .post-cat a{ color: #009900; font-style: italic }
.post-item .full-link a:hover,.post-item .post-cat a:hover{ color: #36648B }

.postitem{ padding: 5px; margin: 0px; border:  1px  solid #BBD1E1; background-color: #E3EEF2 }
.postitem ul.post-item-left{ padding: 0px; margin: 0px; }
.postitem .post-item-left li{ padding: 3px; margin: 0px; list-style-type: none; float: left }
.postitem .post-item-left li.linkcat{ float: right }
.postitem .ratig-layer{ cursor: pointer }
.postitem .green{ color: #009900 }
.postitem .red{ color: #CC0000 }

article div.fulltext{ text-align: justify }
article h1{ padding: 0px; margin: 5px; color: #36648B; font-size: 18px }
article .fulltext a[href^="http://"]{ background: url("../dleimages/out_link.gif") no-repeat right center; padding-right: 12px }
article .fulltext b{ font-size: 14px; color: #111111 }
article .post-img{ padding: 5px; border: 1px solid #DDDDDD; margin: 5px 5px 5px 5px; max-width: 570px }
article .fulltext > div > a img.post-img, article .fulltext > div > a img.post-img.left, article .fulltext > div > img.post-img.left, article .fulltext > div > img.post-img[align="left"], .fulltext > div > a > img.post-img[align="left"]{ margin: 5px 5px 5px 0px; max-width: 220px; max-height: 220px; display: block; float: left }









.selectmass input { float: right; margin-left: 6px;}
.mass_comments_action { font-size: 1em; clear: both; padding: 10px 0px;}

/*---Информационное окно загрузки AJAX---*/
#loading-layer { display: none; font-size: 1em; background: #000000; padding: 10px; text-align: center; color: #fff; }

/*---Цитата и скрытый текст---*/
.scriptcode, .title_quote,
.title_spoiler{ color: #383838; font-style: italic }
.title_spoiler a{ color: #383838; font-style: italic }
.text_spoiler{  }
.title_quote, .title_spoiler {  }
.quote{ border-left: 2px solid #990000; padding-left: 15px; font-style: italic; font-size: 0.9em; margin: 20px 0px 20px 50px }

.title_quote { border-bottom: 0; font-weight: bold; }
.scriptcode { color: #004e8d; text-align: left; font-family: "Courier New"; }
.title_spoiler { font-weight: bold; }
.text_spoiler { border-top: 0; text-align: justify; }

.hide { background-color: #e8f3fa; padding: 5px; color: #3a78a5; margin: 0 0 1em; }
.hide a { text-decoration: underline; } .hide a:hover { text-decoration: none }
.inhide { border: 1px solid #d1e3ef; padding: 5px; background-color: #fff; margin-bottom: 5px; }

/*---Календарь---*/
#calendar-layer table { width: 300px;  margin-left: auto; margin-right: auto }
.calendar { color: #333333; }
.calendar a{ color: #1D5987 }
.calendar td, .calendar th { padding: 5px 0; vertical-align: middle; text-align: center; }
.weekday-active-v, .day-active-v, .weekday-active, .day-active { font-weight: bold; }
.weekday { color: #045E00; }
th.workday, th.weekday {  }
.monthselect { font-size: 1.0em; }
.day-current { background-color: #2F9DFF; color: #fff; }
.day-current a { color: #fff; }

/*---Лучшие пользователи---*/
.userstop td, .pm td.pm_list, .pm td.pm_head { border: 1px solid #d8d8d8; padding: 2px; background-color: #fff; }
.userstop thead td, .pm td.pm_head { 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; }

/*---Рейтинг---*/
.rating { width: 85px; height: 17px; font-size: 0.9em; }
/*---BB коды---*/
 /* различие bbcodes и bbcodes_poll исключительно в длине кнопки */
/* класс bbcodes используем в списке персональных сообщений (pm.tpl)  и по умолчанию в модуле редактора сообщений*/



/*---Дополнительные поля---*/
.xfields textarea, .xprofile textarea { width: 98%; height: 86px; margin: 0px 1px 0px 0px;padding: 0px; }
.xfields input, .xprofile input { width: 250px; height: 14px; padding: 2px; }
.xfields_table td { vertical-align: top; }

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

/*---Выпадающее меню кнопки редактировать---*/
#dropmenudiv {
  border:  1px  solid #666666;
  background-color: #EEEEEE;
  font-size: 12px;
  line-height: 20px;
  margin: 2px 0;
  padding: 5px;
}

#dropmenudiv a { display: block; text-indent: 3px; text-decoration: none; color: #3f4b51; padding: 1px 0; width: 100%;}
#dropmenudiv a:hover { color: #2d8edd; }

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

/*---Рамка расширенной формы поиска по сайту---*/
fieldset { border: 1px solid #bfced6; padding: 5px; text-align: left; }

/*---показ оригинальной картинки загруженной на сайт из уменьшенной копии---*/
.highslide-wrapper, .highslide-outline { background: #FFFFFF; }
.highslide-image { border: 2px solid #FFFFFF; }
.highslide-active-anchor { visibility: hidden; }
.highslide-active-anchor img { visibility: hidden; }
.highslide-dimming { background-color: black; }
.highslide-html { background-color: white; }
.highslide-loading {
    display: block;
  color: white;
  font-size: 9px;
  font-weight: bold;
    text-decoration: none;
  padding: 3px;
  border: 1px solid white;
    background-color: black;
}
a.highslide-full-expand {
  background: url("../dleimages/fullexpand.gif") no-repeat;
  display: block;
  margin: 0 10px 10px 0;
  width: 34px; height: 34px;
}
.highslide-display-block { display: block; }
.highslide-display-none { display: none; }
.highslide-caption { display: none; padding: 5px; background: white; }
.highslide-controls {
    width: 195px;
    height: 40px;
    background: url("../../../engine/classes/highslide/graphics/controlbar-black-border.gif") no-repeat 0 -90px;
    margin-right: 15px;
    margin-bottom: 10px;
    margin-top: 10px;
}
.highslide-controls ul {
  position: relative;
  left: 15px;
    height: 40px;
    list-style: none;
    margin: 0; padding: 0;
    background: url("../../../engine/classes/highslide/graphics/controlbar-black-border.gif") no-repeat 100% -90px;
}
.highslide-controls li { float: left; padding: 5px 0; }
.highslide-controls a {
    background: url("../../../engine/classes/highslide/graphics/controlbar-black-border.gif");
    display: block;
    float: left;
    height: 30px; width: 30px;
    outline: none;
}
.highslide-controls a.disabled { cursor: default; }
.highslide-controls a span { display: none; }

/*---The CSS sprites for the controlbar---*/
.highslide-controls .highslide-previous a { background-position: 0 0; }
.highslide-controls .highslide-previous a:hover { background-position: 0 -30px; }
.highslide-controls .highslide-previous a.disabled { background-position: 0 -60px !important; }
.highslide-controls .highslide-play a { background-position: -30px 0; }
.highslide-controls .highslide-play a:hover { background-position: -30px -30px; }
.highslide-controls .highslide-play a.disabled { background-position: -30px -60px !important; }
.highslide-controls .highslide-pause a { background-position: -60px 0; }
.highslide-controls .highslide-pause a:hover { background-position: -60px -30px; }
.highslide-controls .highslide-next a { background-position: -90px 0; }
.highslide-controls .highslide-next a:hover { background-position: -90px -30px; }
.highslide-controls .highslide-next a.disabled { background-position: -90px -60px !important; }
.highslide-controls .highslide-move a { background-position: -120px 0; }
.highslide-controls .highslide-move a:hover { background-position: -120px -30px; }
.highslide-controls .highslide-full-expand a { background-position: -150px 0; }
.highslide-controls .highslide-full-expand a:hover { background-position: -150px -30px; }
.highslide-controls .highslide-full-expand a.disabled { background-position: -150px -60px !important; }
.highslide-controls .highslide-close a { background-position: -180px 0; }
.highslide-controls .highslide-close a:hover { background-position: -180px -30px; }

/*---Облако тегов---*/
.clouds_xsmall { font-size: 1em; }
.clouds_small { font-size: 1.1em; }
.clouds_medium { font-size: 1.2em; font-weight: bold; }
.clouds_large { font-size: 1.5em; }
.clouds_xlarge { font-size: 1.7em; }

/*---Быстрый поиск на сайте---*/
#searchsuggestions { 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:#fff; clear:left; height:75px; text-decoration:none; }
#searchsuggestions a:hover { background-color:#fdd08b; color:#fff; }
#searchsuggestions a span.searchheading { background: #5c9ccc; display:block; font-weight:bold; padding:5px; color:#fff; }
#searchsuggestions a:hover span.searchheading { color:#fff; }
#searchsuggestions a span {color:#555; }
#searchsuggestions a:hover span { color:#000; }
#searchsuggestions span.seperator { float:right; padding-right:15px; margin-right:5px;}
#searchsuggestions span.seperator a { background-color:transparent; display:block; height:auto; color:#fff; }
#searchsuggestions span.notfound { padding:5px; background-color:#fff; display:block; height:auto; color:#000; }

/* ==================== Диалоговые и всплывающие окна 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: 12px;
}
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button {
  font-family: tahoma, Arial, sans-serif;
  font-size: 14px;
}
.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;
}
.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;
  font-family: Arial, Helvetica, sans-serif
}
.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;
  font-size: 12px;
  font-family: Arial, Helvetica, sans-serif;
  text-align: center
}
.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 .4em .3em .4em;
  width: auto;
  font-size: 10px
}
.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; } /* 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;
  float: left;
  clear: left;
  width: 100%;
}
.ui-menu .ui-menu-item a {
  text-decoration:none;
  display:block;
  padding:.2em .4em;
  line-height:1.5;
}
.ui-menu .ui-menu-item a.ui-state-hover,
.ui-menu .ui-menu-item a.ui-state-active {
  font-weight: normal;
  margin: -1px;
}

.userinfo-ajax{ font-size: 13px }
.userinfo-ajax #userinfo-ajax-foto{ float: right }
.userinfo-ajax #userinfo-ajax-info{ float: left; text-align: left }
.userinfo-ajax #userinfo-ajax-info ul, .userinfo-ajax #userinfo-ajax-info ul li{ list-style-type: none; margin: 0px 0px 5px 0px; padding: 0px }
.userinfo-ajax #userinfo-ajax-info ul li b{ display: block; float: left; width: 120px; font-weight: normal }

#insert_ajax p{ padding: 15px; color: #FF0000; margin: 0px }
#insert_ajax b{ color: #339900; margin: 15px; font-weight: normal; display: block }


ul li.important a{ color: #2F9DFF; font-weight: bold }
ul li.red a{ color: #CD0A0A; font-weight: bold }
ul li.green a{ color: #009900; font-weight: bold }

a.warning{ color: #CD0A0A; font-weight: bold; border: 1px solid #CD0A0A; padding: 2px 5px 2px 5px; margin: 3px }
.redtram div{ float: left; width: 100px }

.align-center{ text-align: center }
.align-left{ text-align: left }
.align-right{ text-align: right }
.align-justify{ text-align: justify }

.adv_subcat{ background-color: #E6F0E3; border:  1px  solid #6CA6CD; margin-bottom: 2px; padding: 3px; cursor: pointer }
.adv_subcat p{ padding: 5px; margin: 0px; color: #444444; font-style: italic }
.adv_subcat h3{ padding: 0px; margin: 0px }

.fullst-big .tags{ text-align: right; text-transform: uppercase; font-style: italic; font-size: 12px; float: right }

.stats-image{ text-align: center; padding-bottom: 15px; padding-top: 5px }

.fulltext iframe{ display: block; margin: 10px auto 0px auto; padding: 5px; border: 1px solid #AAAAAA }

.cratig-layer{ float: right; margin: 2px 0px 0px 10px }
.cratig-layer span{ font-size: 16px; margin: 0px 10px 0px 0px; color: #555555 }
.cratig-layer span.inferror{ font-size: 12px; color: #999999 }
.cratig-layer span.rate-green{ color: #18A01F }
.cratig-layer span.rate-red{ color: #CC0000 }
.cratig-layer a{ display: block; float: right; width: 30px; height: 21px; overflow: hidden; opacity:0.5; -moz-opacity:0.5; filter:alpha(opacity=50); }
.cratig-layer a:hover{ opacity:1.0; -moz-opacity:1.0; filter:alpha(opacity=100); }
.cratig-layer a.r1-unit{ background:  url('../images/comm_down.png') no-repeat }
.cratig-layer a.r2-unit{ background: url('../images/comm_up.png') no-repeat }
.cratig-layer a img{ height: 18px }

.hiddencomment .hidden_title{ color: #C4C4C4 }
.hiddencomment .hidden_title span{ border: 1px solid #CCCCCC; padding: 1px 4px 1px 4px; font-style: normal; background-color: #EEEEEE; color: #CCCCCC; border-radius: 4px; cursor: pointer }
.hiddencomment .hidden_title span:hover{ border-color: #8CB6CC; background-color: #CFE2F1; color: #4782A0 }
.hiddencomment .hiddenbody{ display: none }

.founded{ border-bottom: 1px dashed #FF0000; color: #FF0000 }

.block .error table{ border: none; width: 98%; margin: 0px auto 0px auto }
.block .error table td+td{ width: 50% }
.block .error table ul{ margin: 0px; padding: 0px }
.block .error table ul li{ margin: 0px 10px 0px 20px; padding: 0px 0px 0px 0px }
.stag{ color: #1D5987; cursor: pointer }

/*.adsblock{ width: 618px; height: 160px; overflow: hidden; }  */  
#CNM255, #CNM255 table{ width: 600px; overflow: hidden; height: 155px }
#CNM255 .NMi .NM_bl2{ padding: 0px; margin: 0px }
#CNM255 .NMi .NM_bl2 a{ color: #555555 }
#CNM255 .NMi .NM_bl2 a:hover{ color: #333333; text-decoration: none!important }
