/* ==================== Вывод архива */
.dcont { overflow: hidden; }
.archives {
  line-height: 25px;
  padding-left: 10px;
}
#dle_news_archive_link { padding: 0px; }

/* ==================== Цитата и скрытый текст */

.title_quote {
  color: #636363;
  background-color: #f2f2f2;
  border: 1px dotted #bebebe; 
  border-bottom: 0;
  font-weight: bold;
  padding: 5px;
}

/* ==================== Tэг CODE */

.scriptcode {
  color: #757575;
  background-color: #f2f2f2; 
  border: 1px dotted #bebebe;
  text-align: left;
  padding: 5px;
}

/* ==================== Календарь */

.weekday-active-v {
  color: #65b0ce;
}
.day-active-v {
  color: #65b0ce; font-weight: bold;
}
.calendar { color: #757575; }
.calendar td, th {
   text-decoration: none;
   padding-left: 6px;
    padding-right: 6px;
   padding-top: 3px;
   padding-bottom: 4px;
}
.weekday { color: #65b0ce; }
.weekday-active { color: #65b0ce; }
.day-active { color: #65b0ce; }

.day-active a, .weekday-active a, .day-active-v a, .weekday-active-v a {
  text-decoration: underline;
}
.monthlink { text-decoration: none; }
.day-current {
  background:#F9F9F9;
  border:1px solid #FF9966;
}

/* ==================== Рейтинг статьи */

.rating {
  color: #666666;
  font-family: Tahoma, helvetica, sans-serif;
  font-size: 9px; 
  width: 85px; height: 15px;
  overflow: hidden;
}

.unit-rating {
  list-style: none;
  margin: 0; padding: 0;
  width: 85px; height: 15px;
  position: relative;
  background: url("../dleimages/rating.png") repeat-x left top;
  overflow: hidden;
}

.unit-rating li {
  list-style-type: none; 
  text-indent: -90000px;
  padding: 0; margin: 0;
  float: left;
}

.unit-rating li a, .unit-rating li span.u {
  display: block;
  width: 17px; height: 15px;
  text-decoration: none;
  text-indent: -9000px;
  z-index: 1700;
  position: absolute;
  padding: 0px;
  cursor: pointer;
}

.unit-rating li a:hover, .unit-rating li span.u:hover {
  background: url("../dleimages/rating.png") left -15px;
  z-index: 2;
  left: 0px;
}

.unit-rating a.r1-unit, .unit-rating span.r1-unit {left: 0px;}
.unit-rating a.r1-unit:hover, .unit-rating span.r1-unit:hover {width:17px;}
.unit-rating a.r2-unit, .unit-rating span.r2-unit {left:17px;}
.unit-rating a.r2-unit:hover, .unit-rating span.r2-unit:hover {width: 34px;}
.unit-rating a.r3-unit, .unit-rating span.r3-unit {left: 34px;}
.unit-rating a.r3-unit:hover, .unit-rating span.r3-unit:hover {width: 51px;}
.unit-rating a.r4-unit, .unit-rating span.r4-unit {left: 51px; }  
.unit-rating a.r4-unit:hover, .unit-rating span.r4-unit:hover {width: 68px;}
.unit-rating a.r5-unit, .unit-rating span.r5-unit {left: 68px; }
.unit-rating a.r5-unit:hover, .unit-rating span.r5-unit:hover {width: 85px;}
.unit-rating li.current-rating {
  background: url("../dleimages/rating.png") left -30px;
  position: absolute;
  height: 15px;
  display: block;
  text-indent: -9000px;
  z-index: 1;
}




/* ==================== BB коды */
.editor { width: 100%; }
.bbcodes, .bbcodes-light {
  background-color: #e3e3e3;
  border: 1px solid #c4c4c4;
  color: #7c7c7c;
  padding: 2px;
  font-weight: bold;
  cursor: pointer;
  margin: 0;
}

/* класс bbcodes_poll используем в poll.tpl, vote.tpl, addnews.tpl */

.bbcodes_poll {
  background-color: #509CC4;
  border: 1px solid #000000;
  color: #FFFFFF;
  font-size: 12px;    /* ! */
  font-family: tahoma;  /* ! */
  width: 120px;
  height: 20px;
  background-repeat: repeat-x;
  font-weight: bold;
}

.editor {margin-right: 100px; }
.editor_button {
  float: left;
  cursor: pointer;
  padding-left: 2px;
  padding-right: 2px;
}
.editor_buttoncl {
  float: left;
  cursor: pointer;
  padding-left: 1px;
  padding-right: 1px;
  border-left: 1px solid #bbbbbb;
  border-right: 1px solid #bbbbbb;
}
.editbclose {
  float: right;
  cursor: pointer;
}
.editor_button select {
  font-family: tahoma;
  font-size: 12px;
}

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

/* ==================== Дополнительные поля новостей */

.xfields textarea {
  color: #757575;    /* ! */
  font-size: 12px;    /* ! */
  font-family: tahoma;  /* ! */
  background-repeat: repeat-x;

  width: 499px;
  height: 86px;
  border: 1px solid #e0e0e0;
}
.xfields input {
  color: #757575;    /* ! */
  font-size: 12px;    /* ! */
  font-family: tahoma;  /* ! */
  background-repeat: repeat-x;

  width: 250px;
  height: 14px;
  border: 1px solid #e0e0e0;
}
.xfields select {
  color: #757575;    /* ! */
  font-size: 12px;    /* ! */
  font-family: tahoma;  /* ! */
  background-image: url(../images/dlet_field_o.gif);
  background-repeat: repeat-x;
  border: 1px solid #e0e0e0;
}

/* ==================== Дополнительные поля профиля пользователей */

.xprofile textarea {
  color: #757575;    /* ! */
  font-size: 12px;    /* ! */
  font-family: tahoma;  /* ! */
  background-image: url(../images/dlet_field_o.gif);
  background-repeat: repeat-x;

  width: 316px;
  height: 86px;
  border: 1px solid #e0e0e0;
}
.xprofile input {
  color: #757575;    /* ! */
  font-size: 12px;    /* ! */
  font-family: tahoma;  /* ! */
  background-image: url(../images/dlet_field_o.gif);
  background-repeat: repeat-x;

  width: 250px;
  height: 14px;
  border: 1px solid #e0e0e0;
}

/* ==================== Персональные сообщения */ 

.pm_head {font-weight: bold;}
/* ==================== Выпадающее меню */

#dropmenudiv {
  border: 1px solid #ffffff;
  border-bottom-width: 0;
  font: normal 10px Verdana;
  background-color: #ababab;
  line-height: 20px;
  margin: 2px;
  opacity: 0.95;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=95) progid:DXImageTransform.Microsoft.Shadow(color=#cacaca, direction=135, strength=3)";
  filter: alpha(opacity=95, enabled=1) progid:DXImageTransform.Microsoft.Shadow(color=#cacaca, direction=135, strength=3);
}

#dropmenudiv a {
  display: block;
  text-indent: 3px;
  font-size: 12px;
  text-decoration: none;
  color: #ffffff;
  background-color: #ababab;
  border: 1px solid #ffffff;
  padding: 1px 0;
  margin: 1px;
  font-weight: bold;
}

#dropmenudiv a:hover { 
  background: #619dc1;
  color: #ffffff;
}

/* ==================== Опрос пользователей */
.vote {
  color: #757575;
}

/* ==================== Уведомление о получении новых PM */

#newpm {
  position: absolute;
  width: 400px;
  padding: 4px;
  background-color: #fdfdfd;
  border: 1px solid #bbbbbb;
  font-family: verdana;
  line-height: 135%;
}
#newpmheader {
  padding-left: 5px;
  padding-right: 5px;
  padding-top: 2px;
  height: 20px;
  font-weight: bold;
  background-color: #e0e0e0;
  cursor: move;
}
#newpm a { background: transparent; }
#newpm a:hover { background: transparent; }

/* ==================== Ссылка на скачивание прикрепленного файла */

.attachment {
  color: #808080;
}

/* ==================== Поиск по сайту и результаты поиска */

.search {
  padding: 0 0 5px 10px; 
  color: #444444;
  text-decoration: none;
  font-weight: normal;
}
.textin {
  background-image: url(../images/dlet_field_o.gif);
  background-repeat: repeat-x;
  border: 1px solid #b5b5b5;
  text-decoration: none;
  color: #999999;
}
.sresult  {
  text-align: justify;
  font-weight: normal;
  line-height: 16px;
  color: #999999;
}


/* ==================== Рамка расширенной формы поиска по сайту */

  fieldset {
    border: 1px solid #e0e0e0;
    padding: 5px;
    text-align: left;
    font-size: 12px;    /* ! */
    font-family: tahoma;  /* ! */
  }

/* ==================== показ оригинальной картинки загруженной на сайт из уменьшенной копии */
.highslide-active-anchor img { visibility: hidden; }
.highslide-image-blur { }
.highslide-html { background-color: white; }
.highslide-html-content {
    display: none;
}
.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-footer {
  height: 12px;
}
.highslide-footer .highslide-resize {
  float: right;
  height: 12px;
  width: 12px;
  background: url(../dleimages/resize.gif);
}
.highslide-resize {
    cursor: nw-resize;
}
.highslide-display-block {
    display: block;
}
.highslide-display-none {
    display: none;
}

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

/* ==================== Тег SPOILER */
.title_spoiler {
  color: #636363;
  background-color: #f2f 2f2;
  border: 1px dotted #bebebe; 
  font-weight: bold;
  padding: 5px;
}

.text_spoiler {
  color: #757575;
  background-color: #f2f2f2;
  border: 1px dotted #bebebe;
  border-top: 0;
  text-align: justify;
  padding: 5px;
}

.mass_comments_action { text-align: right; margin-bottom: 15px; }
.mass_comments_action input, .mass_comments_action select { 
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;

  height: 23px;
  border: solid 1px #d3d3d3; 
  margin: 0;
  padding: 1px;
}
.mass_comments_action input {
  display: block;
  float: right;
  padding: 0 5px 4px 5px;
  line-height: 17px;
}

.comdate span {vertical-align: top;}
div label {margin-left: 10px;}

.searchcats { height:274px; }
.shortsearch { padding-top: 18px; padding-right: 30px }
.legendnumw { width: 140px; }
.legendfromw { width: 130px; }
.sb_dosearch { margin: 0 0 0 3px }
.sb_doclear { margin: 0 0 0 7px }
.sb_doreset { margin: 0 0 0 7px }
.sb_dofullsearch { margin: 10px 0 0 0 }
.sb_doshortsearch  { margin: 10px 7px 0 0 } 

.userstop td { margin-left: -10px }
.userstop td { border: solid 1px #edede5; }



/* ==================== Диалоговые и всплывающие окна jQuery UI */
.ui-helper-clearfix:after {
  clear: both;
  content: ".";
  display: block;
  height: 0;
  visibility: hidden;
}
.ui-helper-clearfix {
  display: inline-block;
}
.ui-helper-clearfix {
  display: block;
}
.ui-icon {
  background-repeat: no-repeat;
  display: block;
  height: 14px;
  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: 12px;
}
.ui-widget-content {
  border: 1px solid #bbb;
  color: #222222;
}
.ui-widget-content a {
  color: #222222;
}
.ui-widget-header {
  font-weight: bold;
}
.ui-widget-header a {
  color: #ffffff;
}
.ui-state-default, .ui-widget-content .ui-state-default {
  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 {
  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_h.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 { cursor: pointer; }
.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: 0;

  border:1px solid #666666;
  -moz-box-shadow: 0 0 15px -5px #000;
  -webkit-box-shadow: 0 2px 15px -5px #000;
  box-shadow: 0 0 10px -5px #000;
  
  background: url('../images/body_bg.jpg') repeat-x left bottom #f5f5f5;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;

  position: fixed;
  width: 300px;
  z-index: 1000;
}
.ui-dialog .ui-dialog-titlebar {
  font-weight: bold;
  font-size: 18px;
  font-weight: 400;
  color: #5c5c5c;
  background: url('../images/popup_bg.jpg') repeat-x left bottom #f5f5f5;
  padding: 8px 15px 10px 15px;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.6);
  position: relative;
}
.ui-dialog .ui-dialog-title {
  float: left;
  margin: 1px;
}
.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-static .ui-dialog-titlebar-close:hover {
  padding: 0;
  border: solid 1px #79b7e7;
  background: #ddecf7;
}
.ui-static .ui-dialog-titlebar-close:hover  .ui-icon-closethick {
  background-image: url(../images/ui-icons_h.png);
  background-position: -96px -128px;
}
.ui-dialog .ui-dialog-content {
  background: none;
  border: none;
  overflow: hidden;
  padding: 0;
  margin: 0;
  position: relative;
}
.ui-dialog .ui-dialog-content li {
  list-style: none;
}
.ui-dialog .ui-dialog-buttonpane {
  background-image: none;
  border-width: 1px 0 0 0;
  margin: 0;
  padding: 7px;
  text-align: left;
}
.ui-dialog .ui-dialog-buttonpane button {
  cursor: pointer;
  float: right;
  line-height: 1.4em;
  margin: .5em .4em .5em 0;
  overflow: visible;
  height: 2.8em;
  padding: .2em .6em .3em .6em;
  background: #64a7d8;
      background-color: #64a7d8; /* Цвет фона */
    background-image: linear-gradient(#84b6dc, #5fa4d7);
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border: solid 1px #4986b4;
  color: #fff;
  width: auto;
}
.ui-submit {
  float: right;
  margin: .5em .4em .5em 0;
  height: 2.8em;
  cursor: poiner;  
}
.ui-dialog .ui-dialog-ajbuttonpane {
  background-image: none;
  border-width: 1px 0 0 0;
  margin: 0px;
  padding: 7px;
  text-align: left;
}
.ui-dialog .ui-dialog-ajbuttonpane button {
  cursor: pointer;
  float: right;
  line-height: 1.4em;
  margin: .5em .4em .5em 0;
  overflow: visible;
  height: 2.8em;
  padding: .2em .6em .3em .6em;
  width: auto;
}
.ui-dialog-buttonset { 
  overflow: hidden;  
}
#dlepmessage .ui-dialog-ajbuttonpane {
  margin: 0;
}
.ui-dialog .ui-resizable-se {
  bottom: 3px;
  height: 14px;
  right: 3px;
  width: 14px;
}
.ui-draggable .ui-dialog-titlebar {
  cursor: move;
}
.ui-static .ui-dialog-titlebar {
  cursor: default;
}
.ui-static {
  margin-bottom: 10px;
}
.accept_decline .ui-dialog-content { padding: 5px; }
.accept_decline .ui-dialog-content h3 { 
  margin: 0 0 10px 0;
}

.freealert .error {
  vertical-align: middle; 
  padding: 5px;
}

#dleajaxpopup .pagenav 
{ 
  height: 20px;
  margin: 0;
  padding: 25px; 
  text-align: center;
}
#dleajaxpopup .pagenav 
{
  text-align: center;  
}
#dleajaxpopup .pagenav a, .pagenav span
{ 
  display:inline; 
  padding:8px 12px; 
  font-weight:bold; 
}
#dleajaxpopup .pagenav a:hover
{ 
  text-decoration:none; 
}
#dleajaxpopup .pagenav span
{ 

}

#loading-layer {
  display:none;
  position: absolute;
  z-index: 10000;  
  font-family: Verdana;font-size: 12px;
  background:#000;padding:10px;
  text-align:center;
  border:1px solid #000;
  color: #FFF;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
}

/*======== Расшириный поиск =========*/
.searchtable td, .searchtable input, .searchtable select { color: #757575 }
.searchtable td { padding-bottom: 4px; font-size: 12px; }
.searchtable input, .searchtable select { padding: 1px; font-size: 12px; }
.searchtable input { padding: 2px; }
.searchtable .searchcats { height: 263px; }
.searchtable .legendnumw { width: 160px; }
.searchtable .legendfromw { width: 150px; }

/*---Выпадающее меню кнопки редактировать---*/
/*#dropmenudiv {
  border: 1px solid #cbdfe8;
  background-color: #fbfdfe;
  font-size: 12px;
  line-height: 20px;
  margin: 2px 0;
  padding: 5px;
  opacity:0.9; -moz-opacity:0.9; filter:alpha(opacity=90);
}

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


/*---показ оригинальной картинки загруженной на сайт из уменьшенной копии---*/
.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; }


