/* ================================================================ *
     Начальная нейтрализация
 * ================================================================ */
header {
  background-color: #b6c3cf;
}

/* Убираем MARGIN и PADDING */
html, body, form, fieldset, h3, h4, h5, h6, p, pre, blockquote,
ul, ol, dl, li, dd {
  margin: 0;
  padding: 0; 
}

/* Левый отступ */
blockquote, ul, ol, li, dd {
  margin-left: 1em;
}

/* ================================================================ *
     Верхний уровень
 * ================================================================ */

body {
  min-width: 1024px;
  color: #000000;
  background: #b6c3cf;
  position: relative;
}

body, th, td, font {
  font: 15px "Inter", Verdana, Arial, sans-serif;
}

/* Для разрешений 1080p и ниже */
@media screen and (max-width: 1920px) {
  body, th, td, font {
    font: 13px "Inter", Verdana, Arial, sans-serif;
  }
}

#body_container {
  background: #FFFFFF;
  padding: 1px 2px 4px;
}

#page_container {
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid #D1D7DC;
}

#page_header {
  position: relative;
  width: 100%;
}

#page_content {
  padding: 12px 4px 0;
  margin: 0 auto;
  clear: both;
  position: relative;
}

#sidebar2 {
  padding: 0 3px 0 6px;
  vertical-align: top;
  width: 210px;
}

#sidebar1-wrap {
  margin-top: -8px;
  width: 210px;
}

#main_content {
  vertical-align: top;
}

#page_footer {
  clear: both;
  margin: 12px 0 3px;
}

/* ================================================================ *
     Глобальные стили
 * ================================================================ */
hr {
  height: 0px;
  border: 0px solid #CDD5D8;
  border-top-width: 1px;
}

.hr1 {
  border-top: 1px solid #CDD5D8;
}

form {
  display: inline;
}

label {
  cursor: pointer;
  white-space: nowrap;
}

img {
  border: 0px;
}

.highlight {
  color: #FF0000;
  background: #FFFFE0;
}

/* ---------------------------------- *
     Ссылки
 * ---------------------------------- */
:link:focus, :visited:focus {
  color: #DD6900;
}

:link {
  color: #004D73
}

:visited {
  color: #006699;
}

:link:hover, :visited:hover {
  color: #DD6900;
  text-decoration: underline !important;
}

:link:active, :visited:active {
  color: #DD6900;
  text-decoration: underline !important;
}

.colorAdmin, a.colorAdmin, a.colorAdmin:visited {
  color: #FF0000 !important;
}

.colorSuperMod, a.colorSuperMod, a.colorSuperMod:visited {
  color: #000000 !important;
}

.colorMod, a.colorMod, a.colorMod:visited {
  color: #008000 !important;
}

.colorGroup, a.colorGroup, a.colorGroup:visited {
  color: #310062 !important;
}

.colorCPH, a.colorCPH, a.colorCPH:visited {
  color: #0080FF !important;
}

.colorMyName, a.colorMyName, a.colorMyName:visited {
  color: #7B68EE !important;
}

.adm, a.adm, a.adm:visited {
  color: #800000;
  text-decoration: none;
  font-size: 11px;
}

.dlWill {
  color: #0066CC;
}

.dlDown, .leech, .leechmed, .leechsmall {
  color: #800000;
}

.dlComplete, .seed, .seedmed, .seedsmall {
  color: #006600;
}

.itsme {
  text-decoration: none;
  color: #0000FF !important;
}

.dlCancel {
  color: #666666;
}

a.dlWill, a.dlWill:visited {
  color: #0066CC;
  text-decoration: none;
}

a.dlDown, a.dlDown:visited {
  color: #800000;
  text-decoration: none;
}

a.dlComplete, a.dlComplete:visited {
  color: #006600;
  text-decoration: none;
}

a.dlCancel, a.dlCancel:visited {
  color: #666666;
  text-decoration: none;
}

a.leech, a.leechmed, a.leechsmall,
a.leech:visited, a.leechmed:visited, a.leechsmall:visited {
  color: #800000;
  text-decoration: none;
}

a.seed, a.seedmed, a.seedsmall,
a.seed:visited, a.seedmed:visited, a.seedsmall:visited {
  color: #006600;
  text-decoration: none;
}

/* Ник юзера в теме */
.nick, .nick a {
  color: #005A88 !important;
  font-size: 15px;
  font-weight: bold;
  text-decoration: none;
}

@media screen and (max-width: 1920px) {
  .nick, .nick a {
    font-size: 14px;
  }
}

/* Навигационные ссылки */
.nav {
  margin: 0.3em 0;
  font-size: 13px;
  font-weight: bold;
}

.nav a {
  text-decoration: none;
}

.nav em {
  color: #660000;
  font-style: normal;
}

/* Заголовки тем */
.topictitle, a.topictitle {
  font-size: 14px;
  text-decoration: none;
  font-weight: 600;
}

.torTopic, a.torTopic {
  font-size: 14px;
  text-decoration: none;
  letter-spacing: 0.01em; 
  font-weight: 600;
}

@media (max-width: 1920px) {
  .torTopic, a.torTopic {
    font-size: 13px;
  }
}

a.topictitle:visited, a.torTopic:visited, a.tLink:visited {
  color: #3B78A1;
}

/* ---------------------------------- *
     Фоны
 * ---------------------------------- */
.row1, .row1 td {
  background: #F9F9F9;
}

.row2, .row2 td {
  background: #F1F3F5;
}

.row3, .row3 td {
  background: #E1E4E8;
}

.row4, .row4 td {
  background: #F8F8F8;
}

.row5, .row5 td {
  background: #E7E7E7;
}

.row6, .row6 td {
  background: #E9E9E6;
}

.row7, .row7 td {
  background: #F7B0B1;
}

.prow1 {
  background: #ECECEC;
}

.prow2 {
  background: #E7E7E7;
}

.prow3 {
  background: #DEE3E7;
}

.p-body tr {
  background: #ECECEC;
}

.p-body tr:hover {
  background: #DEE3E7;
}

.table-wrap {
  width: 95%;
  margin: 6px auto;
  clear: both;
  background: #E9E9E6;
  border: solid #C3CBD1;
  border-width: 1px 1px 1px 1px;
}

/* ---------------------------------- *
     Заголовки
 * ---------------------------------- */
h1 {
  font-size: 18px;
  font-weight: bold;
  margin: 0.2em 0 0.5em;
}

h2 {
  font-size: 16px;
  font-weight: bold;
  margin: 0.2em 0 0.5em;
}

h3 {
  font-size: 15px;
  font-weight: bold;
  letter-spacing: 1px;
}

h4 {
  font-size: 15px;
  font-weight: bold;
}

h5 {
  font-size: 12px;
  font-weight: normal;
}

h6 {
  font-size: 13px;
  font-weight: normal;
}

/* Заголовок страницы и темы */
.maintitle, .pagetitle {
  color: #3C3C3C;
  padding: 0 4px;
  margin: 0.2em 0 0.5em;
}

.maintitle a, .pagetitle a {
  text-decoration: none;
}

.maintitle {
  font-size: 21px;
}

@media screen and (max-width: 1920px) {
  .maintitle {
    font-size: 19px;
  }
}
.maintitle, .pagetitle1 {
  font-weight: 600;
  color: red;
  padding: 0 4px;
  margin: 0.2em 0 0.5em;
}

/* ---------------------------------- *
     Основной текст
 * ---------------------------------- */
.ratenum,
.ratenum td {
  font-size: 11px;
  color: #062efa;
}

.down, .rate, .up, .available, .underline, .vip,
.rate td {
  font-size: 11px;
  color: #000000;
}

.available {
  color: #000000;
}

.availablenum, .upnum, .vipnum,
.availablenum td {
  font-size: 11px;
  color: #69a841;
}

.leechmed,
.leechmed td {
  font-size: 11px;
  color: #d10000;
}

.small, .gensmall, .seedsmall, .leechsmall,
.small td {
  font-size: 12px;
}

.tiny, .tiny td {
  font-size: 10px;
  letter-spacing: -1px;
}

.seed2 {
  font-size: 11px;
  color: #000000;
}

.seedmed2 {
  font-size: 10px;
  color: #69a841;
}

.gen, .seed, .leech,
.gen td {
  font-size: 15px;
}

@media screen and (max-width: 1920px) {
  .gen, .seed, .leech,
  .gen td {
    font-size: 13px;
  }
}

.med, .genmed, .seedmed, .leechmed,
.med td {
  font-size: 13px;
}

.genmed {
  font-size: 14px;
}

@media screen and (max-width: 1920px) {
  .genmed {
    font-size: 13px !important;
  }
}

td.gen {
  font-size: 15px !important;
}

td.small {
  font-size: 13px !important;
}

.gen, .med, .genmed,
.small, .gensmall {
  color: #000000;
}

a.gen, a.med, a.genmed,
a.small, a.gensmall {
  color: #006699;
  text-decoration: none;
}

/* ---------------------------------- *
     PARS
 * ---------------------------------- */

/* Модальное окно */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(3px);
}

/* Контент модального окна */
.modal-content {
  background: #fff;
  max-width: 780px;
  margin: 10% auto;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

/* Заголовок */
.modal-content h3 {
  margin: 0 0 15px;
  font-size: 20px;
  color: #1a1a1a;
  font-weight: 700;
}

/* Поля ввода */
.parse-link, #topic_title, #bbcode_input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #f9f9f9;
  box-sizing: border-box;
  margin-bottom: 15px;
}

.parse-link {
  font-size: 13px;
}

#topic_title {
  font-size: 14px;
  min-height: 50px;
  line-height: 1.4;
}

/* Общие стили для кнопок модального окна */
.submit-link, .close-modal {
  padding: 10px 24px;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
}

.submit-link {
  background: linear-gradient(to bottom, #1cc0b8, #0a9b94);
}

.close-modal {
  background: linear-gradient(to bottom, #e74c3c, #c0392b);
}

.submit-link:hover, .close-modal:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.submit-link:active, .close-modal:active {
  transform: translateY(1px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Стили для кнопок парсера и конвертера */
.parse-btn {
  display: inline-block;
  text-decoration: none;
  padding: 8px 16px;
  color: #fff;
  border-radius: 6px;
}

#universal-parser {
  background: linear-gradient(to bottom, #0164ce, #0153ab);
}

/* ---------------------------------- *
     Замена текста для кнопок
 * ---------------------------------- */
.txtb, .txtb:link, .txtb:visited, .txtb:hover {
  color: #003366;
  font-size: 11px;
  text-decoration: none;
}

.txtb:hover {
  text-decoration: underline;
}

/* ---------------------------------- *
     Базовые таблицы
 * ---------------------------------- */
.bodyline {
  background: #FFFFFF;
  border: 1px solid #A5AFB4;
}

.bodyline th {
  background: #71869F;
  color: #F0F8FF;
  font-weight: bold;
}

table.forumline {
  width: 100%;
  background: #CDD5D8;
  border-collapse: collapse;
  margin-left: auto;
  margin-right: auto;
  border-top: 1px solid #CDD5D8;
}

.forumline th {
  border: 1px solid #CDD5D8;
  border-width: 1px;
  border-top-color: #92A3A4;
}

.forumline td {
  border: 1px solid #CDD5D8;
  border-width: 0 1px 1px;
}

.forumline th, .thHead {
  padding: 6px 8px 7px;
  text-align: center;
  color: #D5E4EC;
  font-size: 14px;
  font-weight: bold;
  background: #696969 url(../images/css/cellpic3.gif) repeat-x;
}

/* "lte IE 6" in page_header.tpl */
.forumline th:first-child {
  border-left-color: #92A3A4;
}

.forumline th:last-child {
  border-right-color: #92A3A4;
}

.forumline td {
  padding: 2px 4px 3px;
}

table.borderless th, table.borderless td {
  border: 0px none;
}

table.bordered {
  border-collapse: collapse;
  border: 1px solid #CDD5D8;
}

.bordered th, .bordered td {
  border-style: solid;
  border-width: 1px;
  border-color: #CDD5D8;
}

table.message {
  margin: 0 auto;
  width: 100%;
}

table.spis tr {
  background-color: #000000;
}

table.message td {
  padding: 16px;
  text-align: center;
  background: #EFEFEF;
}

.cat, td.cat, td.catTitle, td.catHead, td.catBottom {
  padding: 5px 4px 6px;
  background: #E0E5E9 url(../images/css/cellpic.png) repeat-x;
}

.catTitle {
  font-weight: bold;
  letter-spacing: 1px;
  color: #333333;
  text-align: center;
}

.catTitle a {
  text-decoration: none;
}

.catBottom {
  text-align: center;
}

#acp_main_nav .catTitle {
  padding: 2px 6px 3px;
  text-align: left;
  font-size: 11px;
  letter-spacing: 0px;
}

.info_msg_wrap {
  margin: 12px 0;
}

table.info_msg {
  width: 100%;
  border: 1px solid #CDD5D8;
  background: #DEE3E7;
  margin: 0 auto;
}

table.info_msg .msg {
  border: 1px solid #CDD5D8;
  background: #EFEFEF;
  padding: 20px;
  text-align: center;
}

table.error {
  width: 100%;
  border: 2px solid #993300;
  background: #FFD4CC;
  margin: 0 auto;
}

table.error .msg {
  border: 1px solid #993300;
  background: #FAEBD7;
  padding: 20px;
  color: #A52A2A;
  text-align: center;
}

table.search_username {
  margin: 12px;
  width: 370px;
}

table.pm_box_size {
  width: 175px;
  margin: 8px 2px;
}

.pm_box_size .progress {
  background: #008000;
}

.pm_box_size b {
  font-size: 10px;
}

.pm_nav td {
  padding: 4px;
  font-size: 14px;
  font-weight: bold;
}

table.translit_expl th {
  width: 30px;
  padding-right: 8px;
  font-weight: bold;
  text-align: right;
}

table.translit_expl td {
  width: 14px;
}

table.user_contacts th {
  text-align: right;
  width: 100%;
}

.user_contacts td {
  padding: 2px 6px;
}

table.user_details th {
  padding: 2px 6px;
  text-align: right;
  vertical-align: top;
}

.user_details td {
  width: 70%;
}

table.usercp_register h6 {
  margin: 0.3em 0.4em;
  color: #444444;
  line-height: 100%;
}

table.smilies td {
  padding: 3px;
  text-align: center;
}

/* ================================================================ *
     Page header
 * ================================================================ */
/* ---------------------------------- *
     TopMenu, Quick Login, PM Info, Loguot..
 * ---------------------------------- */
.topmenu {
  border: none;
  margin: -2px 0px 0;
  padding: 0px 8px 0;
  height: 28px;
  vertical-align: middle;
  background: #EFEFEF url(../images/css/bar_down1.gif) repeat-x;
  border-color: #CC6600;
}

.topmenu table {
  height: 26px;
}

/* fix non-center align */
.topmenu a:link, .topmenu a:visited {
  text-decoration: none;
}

.topmenu td {
  padding: 4px;
  font-size: 13px;
  white-space: nowrap;
}

.new-pm {
  background: #FFD9B2;
  border-color: #CC6600;
}

.new-pm-link {
  color: #993300 !important;
  font-weight: bold;
}

/* ---------------------------------- *
     Logo
* ---------------------------------- */
#logo {
  padding: 5px 0px;
}

/* ---------------------------------- *
     User panel
 * ---------------------------------- */
.blok {
  background: url(../images/css/center.png);
  margin: 0 auto;
  width: 100%;
}

.blok .tc {
  background: url(../images/css/tc.png) top repeat-x
}

.blok .tc .rc {
  background: url(../images/css/rc.png) right repeat-y
}

.blok .tc .rc .bc {
  background: url(../images/css/bc.png) bottom repeat-x
}

.blok .tc .rc .bc .lc {
  background: url(../images/css/lc.png) left repeat-y
}

.blok .tc .rc .bc .lc .tl {
  background: url(../images/css/tl.png) top left no-repeat
}

.blok .tc .rc .bc .lc .tl .tr {
  background: url(../images/css/tr.png) top right no-repeat
}

.blok .tc .rc .bc .lc .tl .tr .br {
  background: url(../images/css/br.png) bottom right no-repeat
}

.blok .tc .rc .bc .lc .tl .tr .br .bl {
  background: url(../images/css/bl.png) bottom left no-repeat;
  padding: 16px 20px
}

.allpreferences,
.allpreferences {
  width: 60px;
  height: 129px;
  float: right;
  margin-top: 6px;
}

/* ================================================================ *
     Page content
 * ================================================================ */
/* ---------------------------------- *
     Sidebar 1
 * ---------------------------------- */
#sidebar1 {
  margin-top: -8px;
  width: 240px;
  padding: 15px 6px 0 3px;
  vertical-align: top;
}

#sidebar1 h3 {
  padding: 0 0 4px 0;
  margin: 8px 0 2px 0;
  color: #333333;
  text-indent: 0.5em;
  background: transparent url(../images/css/hr200_ltr_gradient.jpg) no-repeat left bottom;
}

#sidebar1 h3 a {
  color: #333333;
}

#sidebar1 h5 {
  padding: 2px 4px 5px;
}

#sidebar1 ul {
  margin: 6px 0 0 10px;
}

#sidebar1 li {
  margin-bottom: 2px;
  margin-left: 14px;
}

#sidebar1 a {
  text-decoration: none;
  color: #005A88;
}

#user_ratio {
  padding: 2px 2px 2px 2px;
  margin-top: 4px;
  margin-bottom: 4px;
  height: 124px;
  width: 341px;
  background-image: url(../images/css/profile.png);
  background-position: left top;
  background-repeat: no-repeat;
}

/* User ratio */
#user_ratio td {
  padding: 0px 5px 0px 5px;
  font-size: 11px;
}

/* Main tracker categories list */
#tr_main_cats ul {
  list-style-image: url(../images/css/arrow1.gif);
}

#tr_main_cats li {
  margin-bottom: 3px;
  margin-left: 11px;
  font-size: 11px;
  font-weight: bold;
  line-height: 110%;
}

#author-rel a {
  color: #800000;
}

/* ================================================================ *
     Основной контент
 * ================================================================ */

/* ================================================================ *
     Картинки
 * ================================================================ */

img.pm_box_icon {
  width: 28px;
  height: 25px;
}

img.icon1 {
  width: 12px;
  height: 9px;
}

img.icon2 {
  width: 18px;
  height: 9px;
}

img.spacer {
  display: block;
  height: 1px;
}

/* ================================================================ *
     Подвал страницы
 * ================================================================ */
.bottom_info {
  font-size: 11px;
}

.copyright {
  font-size: 12px;
  color: #444444;
  letter-spacing: -1px;
}

.copyright a {
  text-decoration: none;
}

#timezone {
  float: right;
  text-align: right;
  white-space: nowrap;
  font-size: 10px;
  line-height: 110%;
  color: #333333;
}

.tz_time {
  font-family: "Courier New", Courier, monospace;
  font-size: 11px;
}

#f_icons_legend {
  margin: 4px auto;
}

/* ================================================================ *
     Оценки и рейтинги
 * ================================================================ */
/* Стили для рейтингов и слайдеров */
.scrollable_rate {
  float: left;  
}

/* отключённая навигационная кнопка */
a.disabled {
  visibility:hidden !important;    
} 

.headerrr {
  background:#cce2fe;
}

.plus1 {
  width:110px;
  float:left;
  padding:10px;
}

.minus1 {
  margin-left:130px;
  padding:10px;
}

.plus {
  width:110px;
  float:left;
  padding:10px;
  height:200px;
}

.minus {
  margin-left:130px;
  padding-left:10px;
  padding-right:10px;
  margin-top:10px;
  margin-bottom:10px;
  border-left:1px solid #d1e5ff;
  height:200px;
  width:110px;
}

.rate1 {
  width:260px; 
  height:300px;
  display:none;
  position: fixed;
  left: 50%;
  background:#000;
  font:12px Verdana,Arial,sans-serif;
  border-radius: 5px;
  border: 3px solid #000;
}

.rate a:hover, .rate1 a:visited {
  color:#005A88;
  text-decoration:underline !important;
}

.close {
  position:absolute;
  right:5px;
  top:5px;
}

.scrollable_rate {
  /* required settings */
  position:innershager;
  overflow:hidden;
  width: 260px;
  height:300px;
}

.scrollable_rate .items {
  /* this cannot be too large */
  width:20000em;
  position:absolute;
}

.itemsdiv {
  float:left;
}

.innershager {
  position: absolute;
  background:url(../images/css/backg.gif) repeat-x scroll 0 -6px #DFEBFB;
  border-radius: 5px;
}

.friend_m {
  background-color: #edffec !important;
}

.new_mess_m {
  background-color: #CDEB8B !important;
  border-radius: 10px;
  -moz-border-radius: 10px 10px 10px 10px;
  padding: 10px;
}

.ui-slider {
  bottom:10px;
  margin-left:15px;
  position:absolute;
  text-align:left;
  width:230px;
}

/* ================================================================ *
     Ajax
 * ================================================================ */
body > div.body_op {
  filter: alpha(opacity=40);
  -moz-opacity: .40;
  opacity: .40;
  z-index: 10000;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  background-color: #000;
  position: fixed;
  top: 0px;
  left: 0px;
  cursor: progress;
}

var.ajax-params {
  display: none;
}

body > div#ajax-loading, div#ajax-error {
  filter: alpha(opacity=100);
  -moz-opacity: 1;
  opacity: 1;
  position: fixed;
  z-index: 11000;
  display: none;
  width: 100px;
  height: 100px;
  background: #fff url(../images/css/indicator-waitanim.gif) no-repeat center center;
  border: 1px dashed #000;
  cursor: wait;
}

#ajax-error {
  position: fixed;
  right: 3px;
  top: 0px;
  z-index: 7000;
  display: none;
}

/*
#ajax-loading td,*/
#ajax-error td {
  font-size: 11px;
  font-weight: bold;
  white-space: nowrap;
  padding: 3px 4px 4px 4px;
  border: 1px solid #2E8B57;
  color: #FFF5EE;
  background: #2E8B57;
}

/*
#ajax-loading td.icon {
  width: 12px; height: 12px;
  background: #EFEFEF url(../images/css/loading.gif) no-repeat center center;
}
*/
#ajax-error {
  background: #8B0000;
  color: #F5F5F5;
  border: 0px;
  padding: 4px;
  white-space: nowrap;
  overflow: auto;
}

.editable-container {
  cursor: pointer;
}

.editable-container:hover {
  background: #E8E9F8;
}
/* 
.loading-1 {
  background: transparent url(../images/css/loading_1.gif) no-repeat left center;
  padding-left: 22px;
}
 */
/* ================================================================ *
     Treeview, TableSorter
 * ================================================================ */
.treeview, .treeview ul {
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: 14px;
  line-height: 14px;
}

.treeview ul {
  margin-top: 4px;
}

.treeview .hitarea {
  background: url(../images/css/treeview-default.gif) -64px -25px no-repeat;
  width: 16px;
  height: 16px;
  margin-left: -16px;
  float: left;
  cursor: pointer;
}

/* fix for IE6 */
* html .hitarea {
  display: inline;
  float: none;
}

.treeview li {
  margin: 0;
  padding: 1px 0 1px 16px;
}

.treeview span {
  padding-left: 3px;
  display: block;
}

.treeview a.selected {
  background-color: #eee;
}

#treecontrol {
  margin: 1em 0;
  display: none;
}

.treeview .hover {
  color: red;
  cursor: pointer;
}

.treeview li {
  background: url(../images/css/treeview-default-line.gif) 0 0 no-repeat;
}

.treeview li.collapsable, .treeview li.expandable {
  background-position: 0 -176px;
}

.treeview .expandable-hitarea {
  background-position: -80px -3px;
}

.treeview li.last {
  background-position: 0 -1766px
}

.treeview li.lastCollapsable, .treeview li.lastExpandable {
  background-image: url(../images/css/treeview-default.gif);
}

.treeview li.lastCollapsable {
  background-position: 0 -111px
}

.treeview li.lastExpandable {
  background-position: -32px -67px
}

.treeview div.lastCollapsable-hitarea, .treeview div.lastExpandable-hitarea {
  background-position: 0;
}

/* Tablesorter */
.tablesorter u {
  display: none;
}

.tablesorter .header {
  cursor: pointer;
  white-space: nowrap;
}

.tablesorter .tbs-text {
  padding-bottom: 1px;
}

.headerSortUp .tbs-text, .headerSortDown .tbs-text {
  border-bottom-width: 2px;
  border-bottom-style: solid;
}

.tbs-icon {
  padding-left: 8px;
  background-image: url(../images/css/tbl_sort_bg.gif);
  background-repeat: no-repeat;
  background-position: 0 50%;
}

.headerSortUp .tbs-icon {
  background-image: url(../images/css/tbl_sort_asc.gif);
}

.headerSortDown .tbs-icon {
  background-image: url(../images/css/tbl_sort_desc.gif);
}

/* ================================================================ *
     Разное
 * ================================================================ */
.sf {
  padding-left: 20px !important;
}

.jumpbox {
  margin: 6px 0;
  text-align: right;
  white-space: nowrap;
}

.attachrow {
  font-size: 11px;
  border: 1px #A5AFB4 solid;
}

.attachheader {
  font-size: 11px;
  border: 1px #A5AFB4 solid;
  background: #D1D7DC;
}

.attachtable {
  font-size: 12px;
  border: 1px #A5AFB4 solid;
  border-collapse: collapse;
}

.ann {
  font-size: 13px;
  text-align: center;
  color: #993300;
  font-weight: bold;
}

.clickable {
  cursor: pointer;
}

.folded, .folded2 {
  /* display: block; */
  background: transparent url(../images/css/icon_plus_1.gif) no-repeat left center;
  padding-left: 14px;
}

.unfolded, .unfolded2 {
  display: block;
  background: transparent url(../images/css/icon_minus_1.gif) no-repeat left center;
  padding-left: 14px;
}

.folded2 {
  background-image: url(../images/css/icon_plus_2.gif);
}

.unfolded2 {
  background-image: url(../images/css/icon_minus_2.gif);
}

.warnColor1 {
  color: #993300;
}

.warnColor2 {
  color: #FF0000;
}

.warnBorder1 {
  border: 1px solid #A52A2A;
}

.warningBox1 {
  border: 1px solid #A52A2A;
  color: #993300;
  padding: 12px;
}

.warningBox2 {
  color: #993300 !important;
  background: #FFD9B2;
  border: 2px solid #CC6600;
  padding: 8px;
}

/* Кнопка запроса на фатсид */
.fat-seed-btn {
  color: rgb(153 45 45) !important;
  font-weight: 500;
  transition: color 0.2s ease;
}

.fat-seed-btn:hover {
  color: rgb(204 0 0) !important;
}

/* Ссылка на непроверенные раздачи для модераторов */
.unmoderated-link {
  color: #d64545 !important;
  text-decoration: none !important;
  font-weight: bold;
}

.unmoderated-link:hover {
  color: #aa3030 !important;
  text-decoration: underline !important;
}

/* ================================================================ *
     Shortcuts
 * ================================================================ */
.spacer_0, .spacer_2, .spacer_4, .spacer_6, .spacer_8, .spacer_10, .spacer_12 {
  font-size: 0px;
  line-height: 0px;
}

.spacer_0 {
  height: 0px;
}

.spacer_2 {
  height: 2px;
}

.spacer_4 {
  height: 4px;
}

.spacer_6 {
  height: 6px;
}

.spacer_8 {
  height: 8px;
}

.spacer_10 {
  height: 10px;
}

.spacer_12 {
  height: 12px;
}

.pad_0, .pad_0 td, td.pad_0 {
  padding: 0;
}

.pad_2, .pad_2 td, td.pad_2 {
  padding: 2px;
}

.pad_4, .pad_4 td, td.pad_4 {
  padding: 4px;
}

.pad_6, .pad_6 td, td.pad_6 {
  padding: 6px;
}

.pad_8, .pad_8 td, td.pad_8 {
  padding: 8px;
}

.pad_10, .pad_10 td, td.pad_10 {
  padding: 10px;
}

.pad_12, .pad_12 td, td.pad_12 {
  padding: 12px;
}

.pad_14, .pad_14 td, td.pad_14 {
  padding: 14px;
}

.pad_16, .pad_16 td, td.pad_16 {
  padding: 16px;
}

.mrg_0 {
  margin: 0 !important;
}

.mrg_2 {
  margin: 2px !important;
}

.mrg_4 {
  margin: 4px !important;
}

.mrg_6 {
  margin: 6px !important;
}

.mrg_8 {
  margin: 8px !important;
}

.mrg_10 {
  margin: 10px !important;
}

.mrg_12 {
  margin: 12px !important;
}

.mrg_14 {
  margin: 14px !important;
}

.mrg_16 {
  margin: 16px !important;
}

.lh_100 {
  line-height: 100%;
}

.lh_110 {
  line-height: 110%;
}

.lh_120 {
  line-height: 120%;
}

.lh_150 {
  line-height: 150%;
}

.wAuto {
  width: auto !important;
}

/* widthAuto */
.w50 {
  width: 50% !important;
}

.w60 {
  width: 60% !important;
}

.w70 {
  width: 70% !important;
}

.w80 {
  width: 80% !important;
}

.w85 {
  width: 85% !important;
}

.w90 {
  width: 90% !important;
}

.w95 {
  width: 95% !important;
}

.w100 {
  width: 100% !important;
}

.border {
  border-style: solid;
  border-color: #CDD5D8;
}

.bw_T {
  border-width: 1px 0px 0px 0px !important;
}

.bw_TR {
  border-width: 1px 1px 0px 0px !important;
}

.bw_TRB {
  border-width: 1px 1px 1px 0px !important;
}

.bw_TRBL {
  border-width: 1px 1px 1px 1px !important;
}

.bw_TB {
  border-width: 1px 0px 1px 0px !important;
}

.bw_TBL {
  border-width: 1px 0px 1px 1px !important;
}

.bw_TL {
  border-width: 1px 0px 0px 1px !important;
}

.bw_TRL {
  border-width: 1px 1px 0px 1px !important;
}

.bw_R {
  border-width: 0px 1px 0px 0px !important;
}

.bw_RB {
  border-width: 0px 1px 1px 0px !important;
}

.bw_RBL {
  border-width: 0px 1px 1px 1px !important;
}

.bw_RL {
  border-width: 0px 1px 0px 1px !important;
}

.bw_B {
  border-width: 0px 0px 1px 0px !important;
}

.bw_BL {
  border-width: 0px 0px 1px 1px !important;
}

.bw_L {
  border-width: 0px 0px 0px 1px !important;
}

.bCenter {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* blockCenter */
.bLeft {
  margin-right: auto !important;
}

.block {
  display: block;
}

.bold {
  font-weight: bold;
}

.bRight {
  margin-left: auto !important;
}

.clear {
  clear: both;
  height: 0;
  font-size: 0px;
  line-height: 0px;
  overflow: hidden;
}

.clearB {
  clear: both;
}

.floatL {
  float: left;
}

.floatR {
  float: right;
}

.hidden {
  display: none;
}

.inline {
  display: inline;
}

.normal {
  font-weight: normal;
}

.nowrap {
  white-space: nowrap !important;
}

.wrap {
  white-space: normal !important;
}

.strike {
  text-decoration: line-through;
}

.tCenter {
  text-align: center !important;
}

/* textCenter */
.tLeft {
  text-align: left !important;
  word-spacing: 0.1em; 
  font-weight: 600;
}

.tRight {
  text-align: right !important;
}

.vBottom {
  vertical-align: bottom !important;
}

.vTop {
  vertical-align: top !important;
}

table.ratio_cp {
  background: #F9F9F9;
  border: 1px solid #A5AFB4;
  border-collapse: separate;
  Width: 500px;
}

table.ratio_cp th, table.ratio_cp td {
  padding: 2px 6px;
  text-align: center;
  white-space: nowrap;
  font-size: 14px;
}

table.ratio_cp th {
  color: #000000;
}

table.ratio_cp td {
  padding: 2px 4px;
}

table.ratio_cp u, table.ratio_cp li, table.ratio_cp ul, table.ratio_cp span {
  text-align: left;
  position: left;
}

.poster {
  margin: 3px 4px 0;
  padding: 0 2px;
  width: 99%;
  background: #F5F5F5;
  border: solid #CFD4D8;
  border-width: 1px 0px;
  border-radius: 15px;
}

#rating li {
  margin: 0 0 0 0 !important;
}

/* TP 1.0 fix */
#rating ul {
  margin: 0 0 0 0 !important;
}
/* TP 1.0 fix */

/* ======= STAR-RATER ======== */
.star-rating,
.star-rating a:hover,
.star-rating a:active,
.star-rating a:focus,
.star-rating .current-rating {
  background: url(../images/css/star.gif) left -1000px repeat-x;
}

.star-rating {
  position: relative;
  width: 125px;
  height: 25px;
  overflow: hidden;
  list-style: none;
  margin: 0;
  padding: 0;
  background-position: left top;
}

.star-rating li {
  display: inline;
}

.star-rating a,
.star-rating .current-rating {
  position: absolute;
  top: 0;
  left: 0;
  text-indent: -1000em;
  height: 25px;
  /*line-height:25px;*/
  outline: none;
  overflow: hidden;
  border: none;
}

.star-rating a:hover,
.star-rating a:active,
.star-rating a:focus {
  background-position: left bottom;
}

.star-rating .current-rating {
  z-index: 1;
  background-position: left center;
}

.inline-rating {
  display: -moz-inline-block;
  display: -moz-inline-box;
  display: inline-block;
  vertical-align: middle;
}

.small-star {
  width: 85px;
  height: 15px;
}

.small-star,
.small-star a:hover,
.small-star a:active,
.small-star a:focus,
.small-star .current-rating {
  background-image: url(../images/css/star_small.gif);
  /*line-height: 15px;*/
  height: 15px;
}

/* ======= /STAR-RATER ======== */

.stata-table {
  Margin-bottom: 2px !important;
  height: 120px;
  width: 333;
  BackGround-Image: url(../images/css/profile.png);
  BackGround-position: center center;
  BackGround-Repeat: repeat-x;
}

.stata-table_park {
  Margin-bottom: 2px !important;
  height: 120px;
  width: 333;
  BackGround-Image: url(../images/css/profile_park.png);
  BackGround-position: center center;
  BackGround-Repeat: repeat-x;
}

.poller {

  padding: 0 10%;
  width: 50%;
  margin: 0 auto;
  Border-color: #A7A7A7 !important;
  Border-style: solid !important;
  Border-width: 2px !important;
  BackGround-color: #EEEFF0 !important;
  Margin-top: 10px !important;
  Margin-bottom: 10px !important;
  border-radius: 15px;
}

.up_round {
  border-radius: 8px 8px 0 0;
}

.nav_cater {
  height: 28px;
  background: #006699 url(../images/css/cellpic3.gif) repeat-x;
  color: #FFFFFF;
}

.headfon {
  background: #006699 url(../images/css/headfon.png) repeat-x;
}

.profile_table {
  margin: 0 auto;
}

.profile_td_left {
  padding-top: 5px !important;
}

#profile-nav2 a:link, #profile-nav2 a:visited, #profile-nav2 a:active {
  display: inline;
  padding: 0;
  margin: 0;
  color: #000;
  font-size: 13px;
  font-weight: bold;
  line-height: 28px;

}

#profile-nav2 ul {
  margin: 0 auto;
  display: inline;

}

#profile-nav2 li {
  display: inline;
  list-style: none;
  line-height: 0px;
  font-size: 0.9em;
  margin: 0 auto;
  width: 200px;
}

#profile-nav2 a:link, #profile-nav2 a:visited, #profile-nav2 a:active {

  margin: 0 auto;
  padding: 0 5px;
  text-decoration: none;
}

.sel_prof {
  background: linear-gradient(to bottom, #CCCCCC, #DDDDDD) repeat scroll 0 0 transparent !important;
  border: 1px solid #DDDDDD !important;
  cursor: pointer;
}

.prof_td_right {

  padding: 10px 10px 10px 10px;
}

.absmiddle {
  vertical-align: middle;
}

/* Таймер золота/серебро */
#cd {
  font-size: 10pt;
  font-weight: bold;
}

.my_link {
  color: #006699;
  text-decoration: underline !important;
  cursor: pointer;
}

.my_link:hover {
  color: #DD6900;
  text-decoration: underline !important;
}

.forum_icon_read {
  width: 35px;
  height: 35px;
  margin: 0 auto;
  background: url(../images/css/folder_big.gif) no-repeat 50% 50%;
}

.forum_icon_unread {
  width: 35px;
  height: 35px;
  margin: 0 auto;
  background: url(../images/css/folder_new_big.gif) no-repeat 50% 50%;
}

.forum_icon_read_sm {
  height: 9px;
  width: 12px;
  margin-right: 1px;
  background: url(../images/css/icon_minipost.gif) no-repeat 50% 50%;
}

.forum_icon_unread_sm {
  height: 9px;
  width: 12px;
  margin-right: 1px;
  background: url(../images/css/icon_minipost_new.gif) no-repeat 50% 50%;
}


/* Стили для кнопки ВК vk_post */
a.vk-share {
  border: 1px solid #9DACCC;
  border-radius: 3px;
  bottom: 13px;
  color: #006699;
  cursor: pointer;
  font-size: 11px;
  font-weight: bold;
  height: 16px !important;
  margin-bottom: -6px;
  padding: 4px 4px 5px;
  position: relative;
  text-decoration: none !important;
  white-space: nowrap;
  width: 90px !important;
}

a.vk-share:hover, a.vk-share:active, a.vk-share:focus {
  color: #006699 !important;
  font-size: 11px;
  font-weight: bold;
  opacity: 1 !important;
  text-decoration: none !important;
}

/* Модальное окно vk_post */
.vk-modal { 
  display: none;
  position: fixed; 
  left: 0; 
  top: 0; 
  width: 100%; 
  height: 100%; 
  background: rgba(0,0,0,0.5); 
  z-index: 1000;
}

.vk-modal-content { 
  background: white; 
  padding: 15px; 
  max-width: 320px; 
  margin: 10% auto; 
  text-align: center; 
  border-radius: 8px; 
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); 
}

.time-buttons { 
  display: flex; 
  flex-wrap: wrap; 
  justify-content: center; 
  gap: 8px;
  margin-bottom: 10px;
}

.time-btn { 
  padding: 8px 12px;
  border: 1px solid #ccc; 
  background: #f5f5f5; 
  cursor: pointer;
  border-radius: 4px;
  font-size: 14px;
}

.time-btn:hover { 
  background: #ddd; 
}

#manual-time { 
  width: 80%; 
  padding: 6px;
  font-size: 14px;
  text-align: center;
  margin-bottom: 10px;
}

.vk-modal-actions { 
  display: flex; 
  justify-content: center; 
  gap: 10px;
}

.vk-modal-actions button { 
  padding: 6px 12px; 
  border: none; 
  background: #007bff; 
  color: white; 
  cursor: pointer;
  border-radius: 4px;
}

.vk-modal-actions button:hover { 
  background: #0056b3; 
}

#cancel-time { 
  background: #dc3545; 
}

#cancel-time:hover { 
  background: #a71d2a; 
}

.vk-modal-content h3 {
  margin-bottom: 15px;
}

/* Стили для тега pre */
pre, .pre {
  font-family: Consolas, "Courier New", monospace;
  font-size: 14px;
  border: 1px solid #CDD5D8;
  background: #F5F5F5;
  padding: 4px;
  margin: 10px 0;
  max-width: 100%;
  overflow: auto;
  white-space: pre-wrap;
  word-wrap: break-word; 
  box-sizing: border-box; 
  word-spacing: normal;
}

/* Стили для постеров */
img.poster {
  max-height: 650px !important;
  width: auto !important;
  float: right;
  margin: 0 0 10px 15px; 
}

img.glossy.iradius20.horizontal { /* Для обратной совместимости старых постеров (не удалять) */
  max-height: 650px !important;
  width: auto !important;
  float: right;
  margin: 0 0 10px 15px; 
}

/* Для скрытия окна предов */
.none { 
  display: none !important;
}

/* ================================================================ *
     Стили для меню "Перейти к разделу"
 * ================================================================ */

/* Основные стили меню навигации */
#fs-nav .b { 
  font-weight: 500; 
  display: block;
  border-radius: 3px;
  transition: all 0.2s ease;
}

/* Hover-эффект для категорий */
#fs-nav .b:hover {
  background: #5487ce;
  color: #ffffff;
  cursor: pointer;
}

#fs-nav li, #fs-nav-close { 
  cursor: pointer; 
}

#fs-nav-list { 
  border: 3px double #9AA7AD; 
  background: #EFEFEF; 
  padding: 5px; 
  max-height: 500px; 
}

#fs-sel-cat { 
  min-width: 250px; 
}

/* ================================================================ *
     Поле поиска
 * ================================================================ */
#search-text {
  width: 180px;
}

@media screen and (min-width: 1920px) {
  #search-text {
    width: 270px;
  }
}