body { background: #272C2D !important; color: #babdb6; }

#body_container { background: #2E3436; padding: 0 0 4px; }
#page_container { background: #2E3436; }

.highlight { color: #d97211; background: #FFFFE0; }

:link,:visited {color: #33cc33;}
:link:focus, :visited:focus   { color: #fff; }
:link:hover, :visited:hover   { color: #7cbeff; }
:link:active, :visited:active { color: #76a5d48f; }

html body tr.hl-tr:hover td {
    background-color: #5C3566 !important;
}

.colorAdmin, a.colorAdmin, a.colorAdmin:visited { color: #bb44bb !important; }
.colorMod,   a.colorMod,   a.colorMod:visited   { color: #0c9b0c !important; }
.colorGroup, a.colorGroup, a.colorGroup:visited { color: #476996 !important; }
.colorCPH,   a.colorCPH,   a.colorCPH:visited   { color: #0080FF !important; }

.adm, a.adm, a.adm:visited { color: #CC3300; }
a > i.fa-link { color: #bd7a00; }

.dlWill                                  { color: #0066CC; }
.dlDown, .leech, .leechmed, .leechsmall  { color: #c96d29; }
.dlComplete, .seed, .seedmed, .seedsmall { color: #33cc33; }
.dlCancel                                { color: #666666; }
a.dlWill,     a.dlWill:visited           { color: #0066CC; }
a.dlDown,     a.dlDown:visited           { color: #990000; }
a.dlComplete, a.dlComplete:visited       { color: #006600; }
a.dlCancel,   a.dlCancel:visited         { color: #666666; }

a.leech,         a.leechmed,         a.leechsmall,
a.leech:visited, a.leechmed:visited, a.leechsmall:visited
{
    color: #ff7a7a;
}
a.seed,         a.seedmed,         a.seedsmall,
a.seed:visited, a.seedmed:visited, a.seedsmall:visited
{
    color: #006600;
}
a.pseed, a.pseedmed, a.pseedsmall, a.pseed:visited,
a.pseed:visited, a.pseed:visited {
    color: #ff4545;
}
.nick, .nick a {
	color: #005a88 !important; font-size: 13px; font-weight: bold; text-decoration: none;
}
.nick-author, .nick-author a { color: #4A90E2 !important; }

a.p-owner, a.p-owner:visited {
    color: #4A90E2 !important;
}
.nav em { color: #fffc; }
a.topictitle:visited, a.torTopic:visited, a.tLink:visited {
    color: #babdb6;
    /*color: #a39696;
    color: #9badbf;*/
}

.row1, .row1 td { background: #272C2D; }
.row2, .row2 td { background: #2E3436; }
.row3, .row3 td { background: #2f2f2f; }
.row4, .row4 td { background: #202020; }
.row5, .row5 td { background: #272C2D; }
.row6, .row6 td { background: #E9E9E6; }

.gen, .med, .genmed,
.small, .gensmall   { color: #fffc; }
a.gen, a.med, a.genmed,
a.small, a.gensmall { color: #33cc33; }

.c-body, .q, .sp-wrap, .sp-head, .sp-body {
    border-color: #828080 !important;
}
.c-body { color: #345da4; }
.q { color: #ffffffad; background: #1c1b1b; }
.q .q { background: #2d2d2d; }
.q .q .q { background: #1c1b1b; }
.q .q .q .q { background: #2d2d2d; }
.q .q .q .q .q { background: #1c1b1b; }
.q .q .q .q .q .q { background: #2d2d2d; }

.infobox { border-color: #decdcd; }
.infobox h1 { background: #decdcd; }

input.error { color: #d97211; }
optgroup { color: #345da4; }

.txtb, .txtb:link, .txtb:visited, .txtb:hover {
    color: #fffc;
}
.forumline th, .thHead {
    background-color: #202020;
    color: #fffc;
    border-color: #555 !important;
}
table.error .msg { color: #d97211; }
.pm_box_size .progress { background: #345da4; }

.topmenu {
    background: #272C2D; border: none;
}
.news_title {padding: 0px 8px 0px;margin-bottom: 2px;background: none !important;}
.new-pm { background: #FFD9B2; border-color: #CC6600; }
#main-nav {
    border: solid #272C2D; border-width: 2px 0; background: #272C2D;
}
#main-nav b { padding: 0 4px 0 1px; }
#main-nav a { color: #fffc; text-decoration: none; }
#main-nav a:hover, #main-nav a:active {
    text-decoration: none !important; color: #DD6900;
}
.news_date {color: #b5b5b5; background: #272C2D; border: 0 none;}
ul.inlined a {color: #33cc33; /* çåë¸íûé */}

ul.inlined a:hover {
    color: #4dff4d; /* ÷óòü ÿð÷å ïðè íàâåäåíèè */
}
#latest_news a { color: #ffffff96; }
#latest_news .new a { color: #ffffff; }
#latest_news h3 { color: #ffffffc9 !important; }
#sidebar1 h3 { color: #fffc; }
#sidebar1 h3 a { color: #b3b3b3d6; }
#sidebar1 a  { color: #babdb6; }
#tr_main_cats ul {list-style-image: url(../images/arrow1.gif); filter: invert(0.85) !important;}		
.cat_title { background-color: #2d3031; background-image: none !important; border: 0 none !important;}
.cat_title a {color: #d3d7cf !important;}

.dot-sf { color: #417998 !important; font-size: 12px; margin-right: 5px; }
/*.sf_title { display: block; font-size: 12px; line-height: 15px; }*/

.attach .denied { color: #990000; }

.warnColor1  { color: #993300; }
.warnColor2  { color: #d97211; }
.warnBorder1 { border: 1px solid #d97211; }
.warningBox1 { border: 1px solid #d97211; color: #993300; }
.warningBox2 { color: #993300 !important; background: #FFD9B2; border: 2px solid #CC6600; }

.topicAnnounce { color: #B55050; }

table.forums th { border-bottom: 1px solid #555; }
table.topic, .topic .td1, .topic .td2, .topic .td3, .post_head, .post_btn_2 { border-color: #555; }

/*
    ------------------------------
    Rewrite main.css colors
    ------------------------------
 */
.forums td.row1 {
    border-color: #2E3436 !important;
}

.bypass-alert {
    background-color: #2E3436 !important;
}
.bypass-alert a {
    color: #ffffffc2 !important;
}

#online_time, #timezone {
    color: #ffffff73 !important;
}

.sb2-block {
    background-color: #272C2D;
    border-color: #59595959;
}
.sb2-block.net-news {background: #2E3436;}
#idx-sidebar2 a {
    color: #b3b3b3d6;
}
#idx-sidebar2 h3 {
    color: #ffffffc9;
}

.catTitle {
    color: #ffffffb5;
}
table.forumline {
    background: #4f4e4e;
    border-top: 1px solid #B7C0C500;
}
.forumline td {
    border-color: #5E5E5E;
}

/* Seeds table */
.p-body tr {
    background: #353535;
}
table.peers th {
    background: #4a4a4a;
    color: #fffc;
}
table.peers td {
    border-color: #797979;
}
.p-body tr:hover {
    background: #272C2D;
}

/* Menu */
.menu-sub table td {
    background: #202020;
}
.menu-sub table {
    background: #919191;
}
.menu-sub table th {
    background: #2E3436;
}
.menu-sub label:hover {
    background: #0000001f;
    color: #993300;
}

/* Fieldset */
fieldset {
    border-color: #464646 !important;
}
legend {
    color: #fffc;
}

/* Disable background pics */
.cat, td.cat, td.catTitle, td.catHead, td.catBottom {
    background: #393939 none;
}
.thHead {
    background: #4a4a4a none;
}
/* Links */
.maintitle a, .pagetitle a {
    color: #33cc33;
}
a.postLink {
    color: #779ad8;
}
a.postLink:visited {
    color: #5071ab;
}
a.postLink:visited:hover {
    color: #6f87b2 !important;
}

.border {
    border-color: #555;
}

/* Inputs */
textarea, input, select, button {
    background-color: #12121280 !important;
    color: #fffc !important;
    border-color: #ffffff14;
}
input.button, .buttons input, input.mainoption, input.main, input.liteoption, input.lite {
    border-color: #ffffff40 #000000 #000000 #ffffff40;
}
input[type=button], input[type=submit] {
    color: rgba(0, 0, 0, 0.87) !important;
    box-shadow: 0px 3px 1px -2px rgba(0,0,0,0.2),0px 2px 2px 0px rgba(0,0,0,0.14),0px 1px 5px 0px rgba(0,0,0,0.12);
    background-color: #e0e0e0 !important;
}
input[type=button][disabled="disabled"], input[type=submit][disabled="disabled"] {
    color: rgba(255, 255, 255, 0.3) !important;
    box-shadow: none !important;
    background-color: rgba(255, 255, 255, 0.12) !important;
}

/* Img buttons */
.btn-reply, .btn-new-topic {
    filter: invert(0.85) !important;
}

/* Logo */
.site-logo {
    filter: none !important;
}
/* Search: category navigator */
optgroup {
    color: #7981a2;
    background: #2E3436;
}
optgroup option {
    color: #fffc;
}
option:not(:checked) {
    background-color: #3c3c3c;
}
option:checked {
    background-color: #747272;
}
.has_sf {
    color: #ffffffd6;
    background: #222;
    font-weight: bold;
}
.bordered th, .bordered td, table.borderless .bordered th, table.borderless .bordered td {
    border-color: #515151;
}

/* Private messages */
.prow1 {
    background: #353535;
}
.prow2 {
    background: #35353594;
}
.new-pm {
    background: #000 !important;
}
.new-pm-link {
    color: #ff5656 !important;
}
.new-pm-link:hover {
    color: #FF9F71 !important;
}
.pm-unread b {
    color: #ff8484;
}

/* Torrent filelist box */
#tor-fl-wrap {
    background: #272C2D !important;
}
#tor-fl-wrap td {
    background: #272C2D !important;
}
#tor-filelist {
    background: #313030 !important;
    border-color: #5B5B5B !important;
}

/* Table sort */
.tbs-icon, .headerSortUp .tbs-icon, .headerSortDown .tbs-icon {
    background-image: none !important;
    padding-left: 0px;
}
.tbs-icon::after {
    font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f0dc";
}
.headerSortUp .tbs-icon::after {
    font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f0dd";
}
.headerSortDown .tbs-icon::after {
    font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f0de";
}

/*
    Pics desaturation
*/
img.topic_icon, img.forum_icon, img.pm_box_icon, img.icon1, img.icon2, .desaturate-in-dark {
    /*filter: brightness(.6);*/
    filter: invert(.8);
}

/*
    Colors convert
 */
img {
    filter: brightness(.8) contrast(1.2);
}
[style*="color: blue"], [style*="color: darkblue"] {
    color: #337dff !important;
}
[style*="color: red"], [style*="color: darkred"], [style*="color: brown"] {
    color: #ff5656 !important;
}
[style*="color: #993300"] {
    color: #b03b00 !important;
}
[style*="color: indigo"] {
    color: #c980ff !important;
}
img[src*="//static.torlab.net/ranks/"],
img[src*="//static.torlab.net.net/images/logogroups"] {
    filter: invert(1);
}
img[src*="//static.torlab.net/templates/default/images/icon_newest_reply.gif"] {
    filter: invert(0) !important;
}

/*  -----------
    Small fixes
    -----------
*/
.old-email {
    color: #909090 !important;
}
.poster_info em {
    color: #fffc;
}
.poster_info p {
    color: #fff7;
}
.posted_since {
    color: #fff6;
}
.c-head, .q-head, .q-head span {
    color: #babdb6;
}
.c-body {
    background-color: #272C2D87;
    color: #94add9;
}

.sp-body {
    background: #444444;
}
.sp-wrap {
    background: #5B5B5B;
}
.sp-head {
    color: #ffffff80;
}
.sp-open-all {
    color: #fffc;
}

hr {
    border-color: #828080;
}

td.topicSep {
    color: #fffc;
}

table.message td {
    background: #2E343675;
}

table.usercp_register h6 {
    color: #fffc;
}
.prof-tbl h6 {
    margin: 4px 0 4px 4px;
    color: #babdb6;
    line-height: 100%;
    display: inline-block;
}

.active-torrents-list {
    background-color: #3e3e3e !important;
    border-color: #6C6C6C !important;
}

table.ratio th {
    color: #fffc !important;
}
table.ratio {
    background: #4D4D4D !important;
    border-color: #4D4D4D !important;
}

.maintitle, .pagetitle {
    color: #fffc;
}

.spaceRow {
    background: #2d2d2d;
}

.td-prime {
    background-color: #272C2D;
}
.td-secondary {
    background-color: #272C2D;
}

.menu-a, .menu-a .head {
    background: #2E3436 !important;
}
.menu-a a {
    background: #404040 !important;
    color: #fffc;
}
.menu-a a:hover {
    color: #fff;
}

.topicPoll {
    color: #cce2ee;
}

.editable-container:hover {
    background: #2E3436;
}

.btn-caret {
    color: #a0a0e6;
}

#tor-filelist s {
    color: #9898FF !important;
}

#fs-nav-list {
    background: #272C2D !important;
}

.signature, .signature * {
    color: #B0B0B0 !important;
}

.tst-lab:hover {
    background: #4c4c4c !important;
}

.related-topics-icon {
    color: #ffd4d4;
}
.also-download-icon {
    color: #b9d7fe;
}

.sp-fold {
    color: #828282;
}

.topicAuthor, a.topicAuthor, a.topicAuthor:visited {
    color: #999;
}
.poster-badge {color: #b71c1c;background: #2D3031;border: 1px solid #555555;}
.icon-txtb {color: #D5D6D7}
a.tLink {color: #33cc33;}
a.tLink:visited {color: #babdb6;}
.a-like,ul.a-like-items>li {color: #33cc33 !important;cursor: pointer}

.freeleech-icon {
    color: #ffa90c;
}

.white { color: #fffc; }
.text_red {
    color: #c96d29;
}
#bb-alert-msg { color: #1c1b1b; }
td.hl-selected-post { background-color: #320101 !important; }

input#title-search {
    background-color: #fffc !important;
    color: #000 !important;
}

/*.postLink .postImg {*/
/*    -webkit-filter: drop-shadow(3px 3px 1px #2E3436);*/
/*    filter: drop-shadow(3px 3px 1px #2E3436);*/
/*}*/

.middle_header .stats {
    display: inline-block;
    /* padding: 10px; */
    font-size: 12px;
    color: #eeeeec;
    /* text-align: center;

.middle_header .stats .bonus {
    background: #5C4B2A;
    background: -webkit-linear-gradient(top, #6B5A33 0%, #4A3B22 100%);
    background: linear-gradient(to bottom, #6B5A33 0%, #4A3B22 100%);
}
.middle_header .stats .vip {
    background: #5C2A2A;
    background: -webkit-linear-gradient(top, #6B3333 0%, #5A2A2A 44%, #4A2222 100%);
    background: linear-gradient(to bottom, #6B3333 0%, #5A2A2A 44%, #4A2222 100%);
}