/*
------------------
Главные стили. Внешний вид шаблона.
*/

body {
  padding: 0;
  margin: 0;
  background: #2680be url(../images/body.png) center top no-repeat;
  text-align: left;
  font: 12px Arial;
  color: #676767;
}

h1, h2, h3, h4 {
  padding: 0;
  margin: 0;
}

.head {
  width: 930px;
  height: 150px;
  margin-left: auto;
  margin-right: auto;
}

.copy ul,.copy li {margin: 0; padding:0;}

/* ==================== массовые действия для комментариев */

.mass_comments_action  {
  text-align: right;
  padding-bottom: 5px;

}

  .logo {
    display: block;
    position: relative;
    float: left;
    width: 430px;
    height: 136px;
    background: url(../images/logo.png) left top no-repeat;
    left: 10px;
    top: 7px;
  }
  
  .banners {
    position: relative;
    float: left;
    left: 345px;
    top: 5px;
    clear: none;
  }
  
    .banners img {
      clear: none;
      margin-bottom: 10px;
    }
    
.main-table {
  background: #ffffcc;
  clear: both;
  width: 930px;
  margin-left: auto;
  margin-right: auto;
}

  .td-for-content {
  width: 620px;
  }
  
    .td-for-content a {
      color: #340002;
    }
  
    .s-block {
      background: #fff;
      border: 1px #d4cbcc solid;
      padding: 4px;
      margin-bottom: 4px;
    }
  
  .td-for-blocks {
    width: 310px;
    
  }
  
    .td-for-blocks a {
      color: #340002;
    }
    
  .td-for-other {
    width: 150px;
  }
  
    .td-for-other a {
      color: #340002;
    }
    
    .c-block-title {
      padding: 5px;
      font-size: 13px;
      border-bottom: 1px #d7d7d7 solid;
      margin-bottom: 5px;
      position: relative;
      font-weight: bold;
    }
    
    .c-topnews {
      padding-left: 2px;
      font-size: 11px;
    }
    
      .c-topnews a {
        color: #000;
        font-size: 11px;
      }
      
        .c-topnews a:hover {
          color: #e33d11;
        }
        
.footer {
  background: url(../images/footer.png) center bottom no-repeat;
  height: 100px;
  width: 930px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  color: #fff;
  font-size: 11px;
}

  .footer a {
    color: #fff4cc;
  }
  
    .footer a:hover {
      color: #fff;
      text-decoration: none;
    }

/* Юзер-панель */
.login-panel {
    color: #fff;
}

  .login-panel a {
    color: #fff;
    text-decoration: none;
    background: #c3c3c3;
    padding: 3px;
    font-weight: bold;
    font-size: 10px;
    margin: 0 0 0 10px;
    border: 1px #fff dotted;
    display: block;
  }
  
    .login-panel a:hover {
      color: #ffffd7;
      background: #4a4a4a;
    }
  
  .login-link a {
    display: block;
    padding: 2px;
  }
  
  .login-input-text {
    border: 1px #7b7b7b solid;
    width: 105px;
    margin: 2px 0;
    color: #340002;
    font-size: 11px;
    vertical-align: middle;
    padding: 2px;
    background: #ccc;
  }
  
  .enter {
    vertical-align: top;

  }
  
  .lost-input-text {
    border: 1px #9e9e9e dotted;
    width: 200px;
    padding: 4px;
    color: #644217;
  }
  
  .ttt {
    float: left;
    margin: -15px 0 0 0;
    padding-left: 22px;
    color: #fff;
  }
  
    .ttt a {
      color: #fff;
    }
    
  .enter-to-site {
    padding: 25px 45px 0 50px;
    font-size: 10px;
    color: #242424;
  }
    
    .enter-to-site a {
      color: #000;
    }
    
      .enter-to-site a:hover {
        color: #ff0000;
      }

/* ==================== Календарь */
.calend {

}

.weekday-active-v {
  color: #535353;
}
.day-active-v {
  color: #535353;
  font-weight: bold;
}
.calendar {
color: #535353;
font-size: 11px;
text-align: center;
}
  
  .calendar a {
    text-decoration: underline;
   }
.calendar td, th {
   text-decoration: none;
   padding: 2px 1px 1px 2px;
}
.weekday {
  color: #fe3200;
  font-weight: bold;
  
}
.weekday-active {
  color: #000;
  font-weight: bold;
  
}
.day-active {
  color: #535353;
}
.monthlink {
  color: #535353;
  text-decoration: none;
}
.day-current {
  background:#ffd8b5;
  border:1px dotted #000;
  color: #000;
}

  .day-current a {
    color: #000;
  }

/* ==================== Облако тегов */
.tags-block {
  padding: 5px;
  color: #535353;
}

.clouds_xsmall {
  font-size: 12;
  color: #535353 !important;
}
.clouds_small {
  font-size: 15;
  color: #535353 !important;
}
.clouds_medium {
  font-size: 20;
  color: #535353 !important;
}
.clouds_large {
  font-size: 25;
  color: #ff7a52 !important;
}
.clouds_xlarge {
  font-size: 30px;
  color: #ff7a52!important;
}

/* Опрос */
.vote-buttom {
  width: 80px;
  padding: 2px;
  font-size: 12px;
  color: #424242;
  border: 1px #a9a9a9 solid;
  background: #f4f4f4;
  margin: 2px;
}

/* Топ новостей */
.top-newss {
  color: #ff7a52;
}

  .top-newss a {
    color: #ff7a52;
    text-decoration: none;
  } 
  
    .top-newss a:hover {
      text-decoration: underline;
    }

.fix1 {
  padding-right: 5px;
}
  
/* Архив */
.arhivv {
  text-align: center;
}

  .arhivv a {
    color: #1f1f1f;
  }

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

.rating {
  color: #757575;
  font-size: 11px;    /* ! */
  font-family: tahoma;  /* ! */
  width: 85px;
  height: 16px;
}
.unit-rating {
  list-style: none;
  margin: 0px;
  padding: 0px;
  width: 85px;
  height: 16px;
  position: relative;
  background-image: url(../dleimages/rating.gif);
  background-position: top left;
  background-repeat: repeat-x;
}
.unit-rating li {
  text-indent: -90000px;
  padding: 0px;
  margin: 0px;
  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-image: url(../dleimages/rating.gif);
  background-position: 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-image: url(../dleimages/rating.gif);
  background-position: left bottom;
  position: absolute;
  height: 16px;
  display: block;
  text-indent: -9000px;
  z-index: 1;
}

/* ==================== BB коды */

.editor input[type="text"] { font-size:11px; font-family: tahoma; background: #fff; border: 1px solid #bcc0c2; }
.bbcodes {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  color: #ffffff;
  font-size: 11px;    /* ! */
  font-family: tahoma;  /* ! */
  /*  width: 120px;  */
  height: 20px;
  background-image: url(../images/dlet_bttn_bbcodes.gif);
  background-repeat: repeat-x;
  font-weight: bold;
}

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

.bbcodes_poll {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  color: #ffffff;
  font-size: 11px;    /* ! */
  font-family: tahoma;  /* ! */
  width: 120px;
  height: 20px;
  background-image: url(../images/dlet_bttn_bbcodes.gif);
  background-repeat: repeat-x;
  font-weight: bold;
}

.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: 11px;
}
.editor_button img {margin: 0; padding: 0;}
.editbclose img {margin: 0; padding: 0;}
.editor_button_brk img {margin: 0; padding: 0;}

/* ==================== Выпадающее меню */

#dropmenudiv {
  border: 1px solid #ffffff;
  border-bottom-width: 0;
  font: normal 10px Verdana;
  background-color: #6497ca;
  line-height: 20px;
  margin: 2px;
  opacity: 0.92;
  -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;
  text-decoration:none;
  color: #ffffff;
  background:#6497ca;
  border: 1px solid #ffffff;
  padding: 1px 0;
  margin: 1px;
  font-weight: bold;
}

#dropmenudiv a:hover {
  background-color:#fdd08b;
  color:#000000;
}

/* ==================== Уведомление о получении новых 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;
  color: #636363;
  font-weight: bold;
  background-color: #b2c7f1;
  font-family: verdana;
  cursor: move;
}
#newpm a {
  background: transparent;
  color: #4b73d4;
  text-decoration: none;
}
#newpm a:hover {
  background: transparent;
  color: #4b73d4;
  text-decoration: underline;
}

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

.attachment {
  color: #f37c64;
}

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

.highslide-caption {
  display: none;
  padding: 5px;
  text-align: center;
  background: white;
}

.highslide-controls {
    width: 195px;
    height: 40px;
    background: url(../../../engine/classes/highslide/graphics/controlbar-black-border.gif) 0 -90px no-repeat;
    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) right -90px no-repeat;
}
.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 {
    /* hide the text for these graphic buttons */
    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;
}

/* Короткая новость */
.more-news {
  text-align: left;
  padding-left: 40px;
  clear: both;
}

  .more-news a {
    color: #999999;
    font-size: 11px;
  }
/* КОСТУМ 1 */
.s-block-title {
  background: url(../images/s-block-title.jpg) left center repeat-x;
  font-weight: bold;
  color: #535353;
  font-size: 14px;
  padding-bottom: 10px;
}

  .s-block-title span {
    background: #fff;
    padding-right: 5px;
    position: relative;
  }
  
  .s-block-title:first-letter {
    color: #f75804;
  }
  
.short-1 {
  padding: 5px;
  clear: both;
  background: #f8f8f8;
  border-bottom: 1px #aaaaaa solid;
}

  .short-1-title {
    color: #7d1313;
    font-size: 13px;
    font-weight: bold;
  }
  
    .short-1-title span {
      font-size: 11px;
      color: #fe0002;
    }
    
    .short-1-title a {
      font-size: 14px;
      color: #7d1313;
      text-decoration: none;      
    }
    
      .short-1-title a:hover {
        color: #f75804;
      }
      
  .short-1-text {
    padding: 10px 0 0 0;
    text-indent: 10px;
    text-align: justify;
    color: #393939;
  }
  
    .short-1-text img {
      float: left;
      max-width: 600px;
      background: #fff;
      padding: 2px;
      border: 1px solid #d3d3d3;
      margin: 6px;
      position: relative;
    }
    
  .short-1-more {
    height: 14px;
  }
  
    .short-1-more a {
      float: right;
      margin-right: 20px;
      background: url(../images/short-1-more.jpg) left center no-repeat;
      padding-left: 17px;
      height: 14px;
      line-height: 14px;
      color: #383838;
      text-decoration: none;
    }
    
      .short-1-more a:hover {
        color: #000;
        text-decoration: underline;
      }
/* КОСТУМ 2 */
.short-2-title {
  font-size: 14px;
  text-decoration: underline;
  font-weight: bold;
  padding-bottom: 10px;
}

  .short-2-text {
    padding-left: 10px;
    
  }
  
    .short-2-date {
      color: #aaa;
      font-style: italic;
      font-size: 11px;
    }
  
  .short-2-text a {
    text-decoration: underline;
    color: #000;
    font-weight: bold;
  }
  
  .short-2-text2 {
    padding: 0px 4px 4px 0;
  }
  
/* КОСТУМ 3 */
.r-news {
  background: #fff8e6;
  padding: 5px;
  margin-bottom: 5px;
  position: relative;
}

  .r-title {
    background: url(../images/foto.png) left top no-repeat;
    padding: 0 0 5px 45px;
    color: #5d9820;
    font-size: 14px;
    font-weight: bold;
  }

  .r-titl {
    background: url(../images/video.png) left top no-repeat;
    padding: 0 0 5px 45px;
    color: #0000cd;
    font-size: 14px;
    font-weight: bold;
  }

    .r-title span {
      display: block;
      color: #747474;
      border-bottom: 1px #e1e1e1 solid;
      font-size: 11px;
      font-weight: normal;
    }

    .r-titl span {
      display: block;
      color: #747474;
      border-bottom: 1px #e1e1e1 solid;
      font-size: 11px;
      font-weight: normal;
    }

  .r-news-t {
    color: #000;
    font-weight: bold;
    padding-bottom: 5px;
  }

    .r-news-t a {
      color: #000;
      text-decoration: none;
    }
    
  .r-news-c {
    
  }
  
    .r-news-c img {
      float: left;
      background: url(../images/r-news-c.png) left top no-repeat;
      width: 80px;
      height: 60px;
      padding: 3px;
      margin: 0px 0px 3px 3px;
      border: 0;
      position: relative;
    }
    
  .r-news-more {
    clear: both;
    height: 15px;
  }
  
    .r-news-more a {
      float: right;
      background: url(../images/r-news-more.jpg) left bottom no-repeat;
      height: 15px;
      color: #7a120f;
      padding-left: 25px;
      font-weight: bold;
    }
    
      .r-news-more a:hover {
        color: #000;
      }
  
/* КОСТУМ 4 */
.r-news2 {
  background: #e5e5e5;
  padding: 5px;
  margin-bottom: 5px;
  position: relative;
}

  .r-title2 {
    background: url(../images/r-title2.png) left top no-repeat;
    padding: 0 0 5px 45px;
    color: #fe3200;
    font-size: 14px;
    font-weight: bold;
  }

    .r-title2 span {
      display: block;
      color: #747474;
      border-bottom: 1px #e1e1e1 solid;
      font-size: 11px;
      font-weight: normal;
    }  
    
  .r-news-t2 {
    color: #000;
    font-weight: bold;
    padding-bottom: 5px;
    text-align: center;
  }

    .r-news-t2 a {
      color: #000;
      text-decoration: none;
    }
    
  .r-news-c2 {
    
  }
  
    .r-news-c2 img {
      width: 260px;
      display: block;
      margin: 0 auto 5px auto;
      border: 0;
      clear: both;
      float: none;
      position: relative;
    }
    
/* КОСТУМ 5 */
.r-news3 {
  border: 1px #ccc solid;
  padding: 5px;
  margin-bottom: 5px;
  position: relative;
}
    
  .r-news-t3 {
    color: #000;
    font-weight: bold;
    padding-bottom: 5px;
    text-align: center;
  }

    .r-news-t3 a {
      color: #000;
      text-decoration: none;
    }
    
  .r-news-c3 {
    
  }
  
    .r-news-c3 img {
      width: 125px;
      display: block;
      margin: 0 auto 5px auto;
      border: 0;
      clear: both;
      float: none;
      position: relative;
    }
  
  
  
.short-block {
  padding: 3px;  
}

  .short-block a {
    color: #7e1414;
    
  }
  
    .short-block h3 {
      color: #4f4f4f;
      font-weight: bold;
      font-size: 12px;
    }
    
      .short-block h3 a {
        color: #fe8f00;
        font-size: 20px;
        font-weight: normal;
      }

      .short-block h3 span {
        color: #6b5b25;
        font-size: 12px;
      }
      
        .short-block h3 span a {
          color: #7e1414;
          font-size: 12px;
          font-weight: bold;
        }
        
  .short-info {
    padding: 5px 0 5px 0;
    color: #a29f9f;
    font-size: 10px;
  }
  
  .shot-text {
    padding: 15px 2px 5px 2px;
    margin: 0;
    color: #414141;
    text-indent: 10px;
    text-align: justify;
  }

    .shot-text img {
      border: 1px solid #d3d3d3;
      max-width: 560px;
      background: #fff;
      padding: 2px;
      margin: 2px;
      position: relative;
    }
    
    .shot-text2 img {
      margin: 10px 10px 10px 0;
      background: url(../images/shadow.gif) bottom right no-repeat;
      padding: 0 10px 10px 0;
      border: 0;
    }
    
    .shot-text input {
      margin: 5px 20px 0 0;
      background: #343434;
      color: #fff;
      font-size: 9px;
    }
    .shot-text2 input {
      margin: 5px 20px 0 0;
      background: #343434;
      color: #fff;
      font-size: 9px;
    }
  
    .shot-text .editor_button img {
      padding: 0 !important;
      border: 0 !important;
      margin: 0;
    }
    .shot-text2 .editor_button img {
      padding: 0 !important;
      border: 0 !important;
      margin: 0;
    }
    
    .editor_button img {
      padding: 0 !important;
      border: 0 !important;
      margin: 0 !important;
    }
    
    .shot-text .editbclose img {
      padding: 0;
      border: 0;
      margin: 0;
    }
    .shot-text2 .editbclose img {
      padding: 0;
      border: 0;
      margin: 0;
    }
    
    .editor_button_brk img {
      padding: 0 !important;
      margin: 0 !important;
      border: 0 !important;
    }
    
  .short-more {
    height: 32px;
  }
  
    .short-more div {
      float: left;
      width: 138px;
      height: 32px;
      color: #fff;
      font-size: 11px;
      margin-right: 10px;
    }
    
    .short-more1 {
      background: url(../images/short-more1.jpg) left top no-repeat;
      line-height: 35px;
      padding-left: 35px;
    }
    
    .short-more2 {
      background: url(../images/short-more2.jpg) left top no-repeat;
      line-height: 35px;
      padding-left: 35px;
    }
    
    .short-more3 a {
      display: block;
      background: url(../images/short-more3.jpg) left top no-repeat;
      line-height: 35px;
      padding-left: 35px;
      width: 138px;
      height: 32px;
      color: #fff;
      text-decoration: none;
    }
    
      .short-more3 a:hover {
        background: url(../images/short-more3.jpg) left bottom no-repeat;
      }
    

/* Полная новость */
.sh-tags {
  border-top: 1px #ccc dotted;
  border-bottom: 1px #ccc dotted;
  padding: 5px 0 5px 0;
  clear: both;
}

  .sh-tags a {
    color: #000;
  }

.newsto {
  margin: 10px 0 0 0;
  padding: 20px;
  padding-bottom: 20px;
  color: #252525;
  font-weight: bold;
  text-align: left;
}

  .newsto span {
    color: #0b829f;
    font-size: 14px;
    display: block;
    padding-bottom: 5px;
  }

  .newsto a {
    color: #646464;
    font-weight: normal;
    line-height: 20px;
    text-decoration: none;
    border-bottom: 1px #7791af dotted;
  }
  
    .newsto a:hover {
      color: #000;
    }
    
  .newsto li {
    list-style-type: none;
    background: url(../images/arrow.jpg) left 5px no-repeat;
    padding-bottom: 5px;
    padding-left: 20px;
  }
  
.registr-please {
  color: #7791af;
  padding: 10px;
  margin: 5px;
}

hr {
   color: #333;
   height: 1px;
 }

/* Вид комментария */
#dle_emo {
  margin-top: -200px;
}
.commentS-block {
  background: #efefef;
  padding: 5px;
  border-top: 1px #340002 solid;
}
  
  .commentS-title {
    height: 30px;
    padding-left: 30px;
    color: #818181;
    font-size: 11px;
    line-height: 25px;
  }
    
    .commentS-title a {
      color: #340002;
      text-decoration: none;
    }

  
  .commentS-data { /* таблица для содержимого */
    width: 100%;
    background: #fff;
  }
  
    .commentS-data td {
      padding: 5px;
      padding-left: 10px;
      color: #666666;
    }
  
    .commentS-data a {
      color: #3e94ff;
    }
    
    .commentS-td2 input {
      height: 25px;
      margin: 5px 20px 5px 0;
      background: #343434;
      color: #fff;
      border: 1px #d0d0d0 solid;
    }
    
  .commentS-more {
  
    padding: 5px;
    margin-left: 30px;
    color: #818181;
    margin-right: 20px;
  } 
  
    .commentS-more a {
      color: #3b3b3b;
    }
    
.quote {
  background: #feffd0;
  padding: 5px;
  border: 1px #707070 dotted;
  color: #707070;
}

  .quote a {
    color: #499eff;
  }
    
/* Добавление комментария */
.add-coment-buttom {
  width: 100px;
  height: 30px;
  margin-right: 3px;
  color: #fff;
  border: 1px #2b2b2b solid;
}

.com-title {
  text-align: left;
}
/* 
*****************************
Юзер инфа */
.user-info-table {
  width: 90%; 
  margin: 0 0 0 20px;

}

  .user-info-table td {
    padding: 5px 5px 10px 5px;
    text-align: left;
  }
  
    .user-info-table td small {
      font-size: 14px;
      color: #af8652;
      font-weight: bold;
    }
    
    .user-info-table td a {
      color: #ff863d;
    }
    
    .user-info-table td i {
      color: #bfbfbf;
    }
    
    .buttom-add-news {
      margin: 5px 20px 5px 0;
      background: #777777;
      color: #fff;
      border: 1px #2b2b2b solid;
    }
    
    .user-info-table input {
      background: url(../images/form-text.gif);
      color: #2e2e2e;
      border: 1px #d0d0d0 solid;
    }

    
/* Инфо */
.error {
  padding: 10px;
  padding-bottom: 150px;
  background: url(../images/error.jpg) center bottom no-repeat;
  text-align: center;
}

  .error p {
    font-size: 15px;
    font-weight: bold;
  }
  
  .error a {
    color: #7cad37;
  }

/* Статистика */
.lost-pass {
  width: 400px;
  background: #fef2e4; 
  margin-bottom: 20px;
  border-top: 5px #9d7038 solid;
  margin-top: 10px;
}


  .lost-pass td {
    background: #fef2e4; 
    padding: 5px;
    color: #4b2e12;
    text-align: left;
  }
    
    .lost-pass td a {
      color: #c89539;
    }
    
.ststs-title {
  padding: 5px 5px 5px 20px;
  color: #60360c;
  text-align: left;
  font-weight: bold;
}

/* Статические страницы */  
.ststststs {
  text-align: justify;
  margin: 0 10px;
}

  .ststststs-t {
    height: 40px;
    line-height: 35px;
    color: #fffdcc;
    margin: 0 20px;
  }
  
    .ststststs-t h1 {
      margin: 0;
      padding: 0 0 0 50px;
      font-size: 14px;
    }
  
  .ststststs-c {
    padding: 5px;
  }
    
    .ststststs-c img {
      border: 1px solid #d3d3d3;
      padding: 0px;
      margin: 2px;
      background: #fff;
    }
    
    .ststststs-c input {
      margin: 5px 20px 0 0;
      background: url(../images/form-text.gif);
      color: #2e2e2e;
      border: 1px #d0d0d0 solid;
    }
  
  .ststststs-s {
    padding: 5px;
  }
    .ststststs-s a {
      color: #60360c;
    }
  
/* добавление новости */
.add-news-title {
  padding: 5px 5px 0 50px;
  font-weight: bold;
  text-align: left;
  color: #2d7cff;
}

/* ПМ */
.imp {
  text-align: left;
  margin: 0 30px 0 30px;
}

  .imp input {
    margin: 5px 20px 0 0;
    background: url(../images/form-text.gif);
    color: #2e2e2e;
    border: 1px #d0d0d0 solid;
  }
  
.pm-tititittile {
  padding: 10px 10px 10px 5px;
  font-weight: bold;
}

.new-PM {
  padding: 3px;
}
  
  .new-PM input {
    width: 250px;
    background: url(../images/form-text.gif);
    color: #2e2e2e;
    border: 1px #d0d0d0 solid;
  }
  
  .new-PM span {
    width: 150px;
    margin-right: 20px;
    display: block;
  }
  
.pm-block {
  height: 330px;
  padding-left: 60px;
  line-height: 30px;
  font-weight: bold;
}

.pm-content {
  padding: 10px;
}

  .pm-content a {
    color: #666666;
    font-weight: bold;
  }

.pm-block-menu {
  height: 50px;
  margin-bottom: 20px;
  line-height: 50px;
  padding-left: 0px;
  font-size: 12px;
}

  .pm-block-menu a {
    color: #ff863d;
    font-weight: bold;
  }

.a-mess {
  border-top: 5px #fff solid;
  padding: 5px;
  color: #777777;
}  

  .a-mess a {
    color: #4a4a4a;
    font-weight: bold;
  }
  
.theme-mess {
  background: #c6c6c6;
  padding: 5px;
  border-top: 5px #fff solid;
  color: #666666;
  font-weight: bold;
}

/* Результаты поиска и форма поика на главной */
.search-block {
  position: relative;
  float: right;
  right: 460px;
  bottom: 0px;
}

  .galka a {
    display: block;
    background: url(../images/galka.png) left 6px no-repeat;
    color: #fff;
    padding: 5px 5px 0px 20px;
    text-decoration: none;
  }

  
  .form-text {
    border: 0;
    width: 150px;
    height: 16px;
    color: #000;
    font-size: 11px;
    vertical-align: middle;
    padding: 0 18px 0 18px;
    background: #ffffcc url(../images/search.png) 2px no-repeat;
    margin: 0;
  }
  
  .f-abs {
    position: absolute;
    
  }
  
  .form-search {
    margin-left: 10px;
    
  }

.search-rez {
  text-align: left;
  margin: 0 30px 0 30px;

}

.search-title {
  padding: 10px;
  color: #fdffcd;
  font-weight: bold;
  border-left: 2px #ffddb5 solid;
  border-right: 2px #ffddb5 solid;
  margin: 10px;
  background: #262626;
}

.search-rez input {
  
    background: url(../images/form-text.gif);
    color: #2e2e2e;
    border: 1px #d0d0d0 solid;
}  

/* Навигация по страницам */
.navigation {
  color:#666; 
  border:0px;
}

.navigation a:link,
.navigation a:visited,
.navigation a:hover,
.navigation a:active {
  text-decoration:none;
  color: #434343;
  padding:3px 6px;
  font-size:11px
}

.navigation a:hover {

  border-color:#e6e6e6;
}

.navigation span {
  text-decoration:none;

  padding:3px 6px;

  color:#000;
  font-size:17px;
}

.vote-pool {
  margin: 20px 0 0 100px;
  background: #dbf6ff;
  width: 400px;
  padding: 10px;
}

  .vote-pool img {
    border: 0;
    padding: 0;
  }

  .vote-pool h5 {
    color: red;
    font-size: 13px;
    margin: 0;
  }
  
  .vote-pool h6 {
    margin: 0;
    font-size: 12px;
  }
  
  .vote-pool input {
    margin: 5px 20px 0 0;
    background: url(../images/form-text.gif);
    color: #2e2e2e;
    border: 1px #d0d0d0 solid;
  }
  
.statss {
  width: 100%;
}

  .statss  td {
    padding: 5px;
    font-size: 12px;
    color: #757575;
  }
  
  .statss a {
    color: #ff873e;
  }
  
.statss-title {
  font-size: 13px;
  font-weight: bold;
  color: #239aff;
  border-bottom: 1px #8e8e8e dotted;
  margin-bottom: 10px;
}


  
.form-input-stand {
  background: url(../images/form-text.gif);
  color: #2e2e2e;
  border: 0;
}

.shot-title {
  color: #61a0ff;
  padding: 5px;
}

  .shot-title h1 {
    font-size: 18px;
    padding-left: 10px;
  }
  
    .shot-title h1 i {
      
    }
    
.img-top-link {
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
}

.fix-bb {
  margin-right: 2%; 
  background: url(../bbcodes/bg.gif); 
  height: 75px;
  margin-left: -10px;
  border: 1px solid #bbb;
  border-bottom: 0;
}

  .fix-bb div {
    border: 0 !important;
  }
  
@-moz-document url-prefix()
{
    



}

/

/* Меняем шрифт */

.font-1 {
  line-height: 14px;
}

.font-2 {
  font-size: 14px !important;
  line-height: 18px !important;
}

.font-3 {
  font-size: 15px !important;
  line-height: 19px !important;
}

.font-4 {
  font-size: 16px !important;
  line-height: 20px !important;
}

.font-5 {
  font-size: 18px !important;
  line-height: 22px !important;
}

#container {  }
.resizer {
  margin: 0;
  padding: 0;
 }
.resizer li { float: left; list-style-type: none;margin: 0;}
.resizer a {
  float: left;
  display: block;
  padding: 5px 10px 5px 10px;
  border: 1px #ccc solid;
  margin-right: 10px;
  color: #3d3d3d;
  text-decoration: none;
  text-align: center;
}

  .resizer a span {
    font-size: 8px !important;
    display: block;
    text-align: center;
    border-top: 1px #ccc dotted;
    margin-top: 3px;
    padding-top: 3px;
  }
  
  .resizer a:hover {
    background: #7f7f7f;
    color: #fff;
  }
  
/* DLE 8.5 */

/* Вид изображения: с прямыми краями и тенью */
.wide-border {
  background: white;
}
.wide-border .highslide-image {
  border-width: 10px;
}
.wide-border .highslide-caption {
  padding: 0 10px 10px 10px;
}

/* Вид изображения: только тень */
.borderless .highslide-image {
  border: none;
}
.borderless .highslide-caption {
  border-bottom: 1px solid white;
  border-top: 1px solid white;
  background: white;
}

/* Вид изображения: только рамка без тени */
.less .highslide-image {
  border: 1px solid #000000;
}
.less .highslide-caption {
  border: 1px solid #000000;
  background: white;
}

/* ==================== Информационное оконо загрузки 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;
}

/* ==================== Быстрый поиск на сайте */
#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:#000; }
#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 input, .ui-widget select, .ui-widget textarea, .ui-widget button, .ui-widget { font-size: 11px; }
.ui-widget-content { background: #fff 50% bottom repeat-x; border: 1px solid #dedede; color: #222; }
.ui-widget-header {
  background: #8A3333 url(../images/top-menu-r.jpg) 50% 50% repeat-x;
  color: #fff;
  font-weight: bold;
}
.ui-widget-header a { color: #fff; }
.ui-state-default, .ui-widget-content .ui-state-default {
  background: #eaeaea url(../images/ui-bg_glass_85.png) 50% 50% repeat-x;
  border: 1px solid #cfcfcf;
  color: #868686;
  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: #eaeaea url(../images/ui-bg_glass_75.png) 50% 50% repeat-x;
  border: 1px solid #a7a7a7;
  color: #4e4e4e;
  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: #d0e5f5 50% 50% repeat-x;
  border: 1px solid #a7a7a7;
  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 #dedede;
  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.4em; }
.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;
    -moz-box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
}
.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; }

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

/* ==================== Выпадающее меню */

#menu, #menu ul {
        margin: 0;
        padding: 0;
        list-style: none;
}

#menu {
        width: 930px;
        margin: 0px auto;
        border: 1px solid #222;
        background-color: #111;
        background-image: -moz-linear-gradient(#444, #111);
        background-image: -webkit-gradient(linear, left top, left bottom, from(#444), to(#111));
        background-image: -webkit-linear-gradient(#444, #111);
        background-image: -o-linear-gradient(#444, #111);
        background-image: -ms-linear-gradient(#444, #111);
        background-image: linear-gradient(#444, #111);
        -moz-border-radius: 6px;
        -webkit-border-radius: 6px;
        border-radius: 6px;
        -moz-box-shadow: 0 1px 1px #777;
        -webkit-box-shadow: 0 1px 1px #777;
        box-shadow: 0 1px 1px #777;
}

#menu:before,
#menu:after {
        content: "";
        display: table;
}

#menu:after {
        clear: both;
}

#menu {
        zoom:1;
}

#menu li {
        float: left;
        border-right: 1px solid #222;
        -moz-box-shadow: 1px 0 0 #444;
        -webkit-box-shadow: 1px 0 0 #444;
        box-shadow: 1px 0 0 #444;
        position: relative;
}

#menu a {
        float: left;
        padding: 12px 16px;
        color: #999;
        text-transform: uppercase;
        font: bold 12px Arial, Helvetica;
        text-decoration: none;
        text-shadow: 0 1px 0 #000;
}

#menu li:hover > a {
        color: #fafafa;
}

*html #menu li a:hover { /* Только для IE6 */
        color: #fafafa;
}

#menu ul {
        margin: 20px 0 0 0;
        _margin: 0; /*IE6 only*/
        opacity: 0;
        visibility: hidden;
        position: absolute;
        top: 38px;
        left: 0;
        z-index: 9999;
        background: #444;
        background: -moz-linear-gradient(#444, #111);
        background: -webkit-gradient(linear,left bottom,left top,color-stop(0, #111),color-stop(1, #444));
        background: -webkit-linear-gradient(#444, #111);
        background: -o-linear-gradient(#444, #111);
        background: -ms-linear-gradient(#444, #111);
        background: linear-gradient(#444, #111);
        -moz-box-shadow: 0 -1px rgba(255,255,255,.3);
        -webkit-box-shadow: 0 -1px 0 rgba(255,255,255,.3);
        box-shadow: 0 -1px 0 rgba(255,255,255,.3);
        -moz-border-radius: 3px;
        -webkit-border-radius: 3px;
        border-radius: 3px;
        -webkit-transition: all .2s ease-in-out;
        -moz-transition: all .2s ease-in-out;
        -ms-transition: all .2s ease-in-out;
        -o-transition: all .2s ease-in-out;
        transition: all .2s ease-in-out;
}

#menu li:hover > ul {
        opacity: 1;
        visibility: visible;
        margin: 0;
}

#menu ul ul {
        top: 0;
        left: 270px;
        margin: 0 0 0 20px;
        _margin: 0; /*IE6 only*/
        -moz-box-shadow: -1px 0 0 rgba(255,255,255,.3);
        -webkit-box-shadow: -1px 0 0 rgba(255,255,255,.3);
        box-shadow: -1px 0 0 rgba(255,255,255,.3);
}

#menu ul li {
        float: none;
        display: block;
        border: 0;
        _line-height: 0; /*IE6 only*/
        -moz-box-shadow: 0 1px 0 #111, 0 2px 0 #666;
        -webkit-box-shadow: 0 1px 0 #111, 0 2px 0 #666;
        box-shadow: 0 1px 0 #111, 0 2px 0 #666;
}

#menu ul li:last-child {
        -moz-box-shadow: none;
        -webkit-box-shadow: none;
        box-shadow: none;
}

#menu ul a {
        padding: 10px;
        width: 250px;
        _height: 10px; /*IE6 only*/
        display: block;
        white-space: nowrap;
        float: none;
        text-transform: none;
}

#menu ul a:hover {
        background-color: #0079bb;
        background-image: -moz-linear-gradient(#04acec,  #0079bb);
        background-image: -webkit-gradient(linear, left top, left bottom, from(#04acec), to(#0079bb));
        background-image: -webkit-linear-gradient(#04acec, #0079bb);
        background-image: -o-linear-gradient(#04acec, #0079bb);
        background-image: -ms-linear-gradient(#04acec, #0079bb);
        background-image: linear-gradient(#04acec, #0079bb);
}

#menu ul li:first-child > a {
        -moz-border-radius: 3px 3px 0 0;
        -webkit-border-radius: 3px 3px 0 0;
        border-radius: 3px 3px 0 0;
}

#menu ul li:first-child > a:after {
        content: '';
        position: absolute;
        left: 40px;
        top: -6px;
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-bottom: 6px solid #444;
}

#menu ul ul li:first-child a:after {
        left: -6px;
        top: 50%;
        margin-top: -6px;
        border-left: 0;
        border-bottom: 6px solid transparent;
        border-top: 6px solid transparent;
        border-right: 6px solid #3b3b3b;
}

#menu ul li:first-child a:hover:after {
        border-bottom-color: #04acec;
}

#menu ul ul li:first-child a:hover:after {
        border-right-color: #0299d3;
        border-bottom-color: transparent;
}

#menu ul li:last-child > a {
        -moz-border-radius: 0 0 3px 3px;
        -webkit-border-radius: 0 0 3px 3px;
        border-radius: 0 0 3px 3px;
}
