EMP Dark

Stylesheet for EMP

Ekde 2021/08/26. Vidu La ĝisdata versio.

// ==UserScript==
// @name         EMP Dark
// @namespace    EMP Theme
// @version      0.2.1
// @description  Stylesheet for EMP
// @author       Conkuist
// @match        https://www.empornium.sx/*
// @match        https://www.empornium.is/*
// @icon         https://www.empornium.sx/favicon.ico
// @grant        GM_addStyle
// @run-at       document-start
// ==/UserScript==

(function() {
'use strict';
var myInt = setInterval(
function()
{
    if(document.body != null)
    {
        clearInterval(myInt);
        load();
        console.log("body found");
    }
    else
    {
        console.log("no body");
    }
},1);

function load()
{
    var t;
    document.querySelector("div#details_top table.torrent_table > tr > td.cats_col");
    var d = document.querySelector("div#details_top table.torrent_table td.cats_col > div");
    if(d != null){t = d.getAttribute("title").toUpperCase()}
    var c = document.querySelector("div#details_top table.torrent_table td.cats_col");
    if(c != null){c.innerHTML = "";}
    var link = document.createElement("a");
    if(t != null){link.innerHTML = t;}
    link.classList.add("category_label");
    var e = document.querySelector("div#details_top table.torrent_table tr.group_torrent td:nth-child(2)");
    if(e != null){e.insertBefore(link,e.firstChild);}

    var body = document.body;
    var table = [];

    if(body.id == "torrents" ||body.id == "user" || body.id == "top10")
    {
        table = document.getElementsByClassName("torrent_table");
    }

    if(body.id == "requests")
    {
        table.push(document.getElementById("request_table"));
    }

    if(body.id == "notifications")
    {
        table = document.getElementsByClassName("torrent_table");
    }

    if(body.id == "collage")
    {
        table = document.getElementsByTagName("table");
    }

    if (table.length > 0)
    {
        for(var j = 0; j < table.length; j++)
        {
            var rows = table[j].getElementsByTagName("tr");

            for (var i = 0; i < rows.length; i++)
            {
                if((rows[i].classList.contains("rowa") || rows[i].classList.contains("rowb")) && rows[i].parentElement.parentElement == table[j])
                {
                    var a = document.createElement("a");
                    a.classList.add("category_label");
                    a.innerHTML = "CATEGORY";
                    var cell;
                    if(body.id == "notifications" || body.id == "top10")
                    {
                        cell = rows[i].getElementsByTagName("td")[2];
                    }
                    else
                    {
                        cell = rows[i].getElementsByTagName("td")[1];
                    }


                    if(cell != null)
                    {
                        if(body.id == "collage")
                        {
                            cell.insertBefore(a, cell.children[0]);
                        }
                        else if(body.id == "requests")
                        {
                            cell.insertBefore(a, cell.children[1]);
                        }
                        else
                        {
                            cell.insertBefore(a, cell.children[2]);
                        }
                        var script = cell.getElementsByTagName("script")[0];
                    }

                    var url = "";

                    if (script != null)
                    {
                        url = script.innerHTML.split('src=')[1].split('"')[1].split('"')[0].replace(/\\/g, "");
                        var id = script.innerHTML.split("overlay")[1].split(" ")[0];
                    } else {
                        console.log("script not found");
                    }

                    var cat_cell;

                    if(body.id == "notifications" || body.id == "top10")
                    {
                        cat_cell = rows[i].getElementsByTagName("td")[1];
                    }
                    else
                    {
                        cat_cell = rows[i].getElementsByTagName("td")[0];
                    }

                    if (cat_cell != null)
                    {
                        var cat;
                        var href;
                        var cat_link = cat_cell.getElementsByTagName("a")[0]

                        if(body.id == "collage")
                        {
                            cat = cat_cell.getElementsByTagName("img")[0];
                        }
                        else
                        {
                            cat = cat_cell.getElementsByTagName("div")[0];
                        }

                        if (cat != null && cat.hasAttribute("title"))
                        {
                            a.innerHTML = (cat.getAttribute("title")).replace(".", " ").toUpperCase();
                        }
                        else
                        {
                            console.log("category div not found");
                        }
                        if(cat_link != null && cat_link.hasAttribute("href"))
                        {
                            a.href = cat_link.getAttribute("href");
                        }

                        cat_cell.innerHTML = "";

                        if(url != "" && body.id != "collage")
                        {
                            GM_addStyle(`.t` + id + `
                            {
                                width: 150px;
                                height: 150px;
                                background: url("` + url + `") #000;
                                background-position: 50% 50%;
                                background-size: auto 150px;
                                background-repeat: no-repeat;
                                margin: 3px 0px 3px 3px;
                                border-radius: 2px;
                            }
                            `);

                            var cover = document.createElement("div");
                            cover.classList.add("t" + id);
                            cat_cell.appendChild(cover);
                        }

                    }
                    else
                    {
                        console.log("category cell not found");
                    }
                }
            }
        }
    }
    else
    {
        console.log("table not found");
    }
}


const css = `
:root
{
    --brighter: #42454a;
    --bright: #36393f;
    --mediumbright: #42454a;
    --medium: #2f3136;
    --dark: #202225;
    --link: #ddd;
    --hover: #fff;
    --visited: #00ccff;
    --text: #8e9297;
    --blue: #00ccff;
    --yellow: #fced0a;
    --red: #e33;
    --green: #18d860;
    --orange: #ff7f26;

    scrollbar-color: #36393f #2f3136;
}

::selection
{
    background: var(--blue);
    color: #fff;
}

body {
    background: var(--dark);
    color: var(--text);
    font: unset;
    font-family: sans-serif;
    font-size: 12px;
}

#header
{
    font-size: 15px;
}

select,
select.bb_button,
.button.toggle {
    background: var(--dark);
    color: #fff;
    border: none;
}

hr
{
    border: none;
    background: var(--medium);
    margin: 10px 0px;
    height:2px;
}

h2 {
    background: var(--bright);
    color: var(--text);
    color: var(--link);
    border-radius: 0;
    padding: 5px 40px;
}

.curtain {
    background: var(--dark);
}

.thin > h2:first-child {
    border-radius: 0;
}

a {
    color: var(--link);
    font-weight: normal;
}

a:visited {
    color: var(--visited);
}

a:hover,
a:visited:hover {
    color: #fff;
    text-decoration: none;
}

.tags a,
.tags a:visited {
    color: var(--text);
}

.tags a:hover,
.tags a:visited:hover {
    color: var(--link);
    text-decoration: none;
}

table.border {
    border-color: var(--bright);
}

img[alt="RSS feed"] {
    display: none;
}

#logo {
    background: none;
    background: url("data:image/svg+xml;base64,PHN2ZyB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6Y2M9Imh0dHA6Ly9jcmVhdGl2ZWNvbW1vbnMub3JnL25zIyIgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIiB2ZXJzaW9uPSIxLjEiIHdpZHRoPSIyMDAiIGhlaWdodD0iMzgiIHZpZXdCb3g9IjAgMCAyMDAgMzgiIHByZXNlcnZlQXNwZWN0UmF0aW89InhNaWRZTWluIG1lZXQiIGNsYXNzPSJsb2dvL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NDA0LTAuOTc2NTQsMS40MTI3LTEuNzA5LDIuMjQ2MS0yLjE5NzMsMC44MzMzMi0wLjQ4ODI1LDEuNzU3OC0wLjczMjQsMi43NzM0LTAuNzMyNDIsMS4zNDExLDAuMDAwMDIsMi40NTEyLDAuMzI1NTUsMy4zMzAxLDAuOTc2NTYsMC44Nzg4OCwwLjY1MTA3LDEuNDQyLDEuNDQ4NiwxLjY4OTQsMi4zOTI2LDAuMjQ3MzcsMC45NDQwMywwLjM3MTA3LDIuNDc3MiwwLjM3MTEsNC41OTk2djE4LjQxOGgtNy42NTYydi0xNi44OTVjLTAuMDAwMDMtMi4yMTM1LTAuMDc0OS0zLjU4NC0wLjIyNDYxLTQuMTExMy0wLjE0OTc2LTAuNTI3MzItMC40OTgwNy0wLjc5MS0xLjA0NDktMC43OTEwMi0wLjU1OTkyLDAuMDAwMDItMC45MjEyNSwwLjI2MDQ0LTEuMDg0LDAuNzgxMjUtMC4xNjI3OCwwLjUyMDg2LTAuMjQ0MTYsMS44OTQ2LTAuMjQ0MTQsNC4xMjExdjE2Ljg5NWgtNy42NTYydi0xNi40NjVjLTAuMDAwMDEtMi41MzktMC4wNjE5LTQuMDYyNS0wLjE4NTU1LTQuNTcwMy0wLjEyMzcxLTAuNTA3NzktMC40NjU1LTAuNzYxNy0xLjAyNTQtMC43NjE3Mi0wLjM1MTU3LDAuMDAwMDItMC42NTEwNSwwLjEzMzQ5LTAuODk4NDMsMC40MDAzOS0wLjI0NzQxLDAuMjY2OTUtMC4zODQxMywwLjU5MjQ3LTAuNDEwMTYsMC45NzY1Ny0wLjAyNiwwLjM4NDEzLTAuMDM5MSwxLjIwMTItMC4wMzkxLDIuNDUxMnYxNy45NjloLTcuNjU2MnYtMjUuOTE4eiIvPjwvZz48L2c+PC9zdmc+") no-repeat center center;
    background-size: 175px;
    filter: none;
}

#header {
    background: var(--medium);
}

#header_top,
#header_bottom {
    border: none;
}

.freeleech_bar
{
    background: var(--blue);
    border-radius: 5px !important;
    font-weight: bold;
    margin: 0px !important;
    padding: 0px 5px !important;
    line-height: 19px;
    animation: none !important;
}

#searchbars .searchcontainer {
    background: var(--dark);
    border: none;
    height: 20px;
    padding: 2px;
    position:relative;
}

#searchbars .searchcontainer .font_icon.icon_nav_search
{
    width:20px;
    height:20px;
    line-height:20px;
    text-align: center;
    display: block;
    box-sizing: border-box;


}
#searchbars .searchcontainer .icon_container
{
    position: absolute;
    top: 2px;
    right: 2px;
    bottom: 2px;
    width: 20px;
}

#searchbars input.searchbox
{
    position: absolute;
    top:2px;
    bottom: 2px;
    left:7px;
    right: 24px;
    width: calc(100% - 28px);
}

#searchbars .searchcontainer button.searchbutton .icon_stack
{
    width:20px;
}

#content {
    background: var(--medium);
    border: none;
    border-radius: 10px;
    box-shadow: none;
}

.head,
.sidebar .head {
    background: var(--medium);
    background: none;
    border: none;
    color: var(--text);
}

tr.head,
tr.head + tr {
    box-shadow: none;
}
table.bb_holder,
table.bb_holder td.colhead {
    background: var(--medium);
}

.box {
    background: var(--dark);
    border-radius: 5px;
}

.box .box
{
    border: none;
    background: var(--medium);
}

.box h2,
.box h3,
.box h4 {
    background: var(--medium);
    color: var(--text);
    padding: 5px 0px;
}

.head + div.box {
    box-shadow: none;
}


.cat_list tr td,
tr,
.label {
    background: var(--bright);
    background: none;
}


.cat_list tr td,
.on_cat_change {
    background: var(--dark);
}

#taglist,
#taglist tr {
    background: var(--dark);
}

#taglist a:visited {
    color: #fff;
}
#taglist a:visited:hover {
    color: var(--link);
}

input,
textarea {
    background: var(--dark);
    color: #fff;
    border: none;
}

#filter_slidetoggle {
    background: var(--medium);
    box-shadow: none;
    border: none;
}

#filter_slidetoggle a,
#search_box span > a[href="#"] {
    color: #fff;
}

#filter_slidetoggle a:hover,
#search_box span > a[href="#"]:hover {
    color: var(--link);
}

input[type="submit"],
input[type="button"],
button {
    background: var(--bright);
    box-shadow: none;
    border: none;
    color: #fff;
}

input[type="submit"]:hover,
input[type="button"]:hover,
button:hover {
    background: #fff;
    box-shadow: none;
    border: none;
    color: var(--bright);
}

.cat_list a {
    color: #fff;
}

.cat_list a:visited {
    color: #aaa;
}

.cat_list a:hover,
.cat_list a:visited:hover {
    color: var(--link);
}

#menu a {
    color: #fff;
}

#menu a:hover,
#major_stats a:hover,
#major_stats_left a:hover {
    background: var(--bright);
    color: #fff;
}

.colhead,
.colhead a:visited {
    background: var(--medium);
    background: none;
    color: #fff;
}

.colhead a:hover {
    text-decoration: none;
    color: var(--link);
}

tr.rowa,
tr.rowb {
    border: 2px solid var(--medium);
}

.cat_list tr.rowa,
.cat_list tr.rowb,
.taglist tr.rowa,
.taglist tr.rowb {
    border: none;
}

tr.rowb.sticky,
tr.rowa.sticky {
    background: var(--bright);
}

tr.rowb,
.rowb {
    background: var(--dark);
}
tr.rowa,
.rowa {
    background: var(--dark);
}

tr.smallhead {
    background: var(--bright);
}

table.forum_post td {
    border: none;
}

table.forum_post.box {
    border-radius: 0px;
    border: 1px solid var(--bright);
    overflow: hidden;
}

table.forum_post td.sig {
    border-top: var(--bright) 1px solid;
}

tr.smallhead a:link,
tr.smallhead button
{
    color: var(--link);
}

tr.smallhead a:hover,
tr.smallhead button:hover
{
    color: var(--hover);
}

.post_footer {
    border: none;
    padding: 0px 0px 0px 10px;
}

td.avatar {
    background: var(--bright);
}

blockquote.bbcode,
blockquote.bbcode > blockquote.bbcode,
blockquote.bbcode > blockquote.bbcode > blockquote.bbcode {
    background: var(--mediumbright);
    color: #fff;
    border: 1px solid var(--bright);
}
blockquote > blockquote > span.quote_label,
blockquote span.quote_label,
span.quote_label {
    color: #fff;
}

span.postlink
{
    background: none;
}


a.bb_button,
.bb_icon {
    background: var(--bright);
    border: none;
}

a.bb_button:hover,
.bb_icon:hover {
    background: #fff;
    color: var(--bright);
}

#quickreplytext {
    background: var(--medium);
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-radius: 3px;
    overflow: hidden;
}

#userinfo_username li ul {
    background: var(--medium);
    border: none;
}

#userinfo_username li ul a,
#userinfo_tools li ul a {
    border: none;
    border-width: 0;
}

#userinfo_username li ul li a:hover,
#userinfo_tools li ul li a:hover {
    background: var(--bright);
}

tr.torrent.rowa:hover,
tr.torrent.rowb:hover {
    background-color: unset;
}

.overflow_button {
    background: var(--bright);
    color: #fff;
    border: none;
}

.colhead a {
    color: #fff;
}

.colhead td
{
    width: unset !important;
}

.overlay {
    border-radius: 5px;
    overflow: hidden;
}

.overlay,
table.overlay,
.overlay .leftOverlay,
.overlay .rightOverlay {
    background: var(--medium);
    border: none;
    color: #fff;
}

.pager_on {
    color: var(--link);
}

#user_dropdown ul {
    background: var(--bright);
    color: #fff;
    border: none;
    box-shadow: 2px 2px 8px 0px rgba(0, 0, 0, .9);
}

#user_dropdown ul li a:hover {
    background: var(--mediumbright);
}

#searchbars input.searchbox {
    color: #fff;
    height: 20px;
}
#searchbars input.searchbox::placeholder {
    color: #999;
    opacity: 1;
}

.group_torrent {
    background: var(--dark);
}

.details .filetypes {
    background: var(--dark);
}

.file_icons {
    color: #fff;
}

#modal_content {
    background: var(--medium);
    border: none;
}

.top_info {
    background: var(--dark);
    border: none;
    padding: 0px 5px;
    border-radius: 5px;
}

table.boxstat td {
    background: var(--dark);
    border-right: 1px solid var(--medium);
    border: none;
}

table.boxstat td:last-child {
    border: none;
}

table.boxstat {
    color: var(--text);
}

table.boxstat a
{
    color: var(--link);
}

table.boxstat .font_icon
{
    color: var(--bright);
    width:20px;
    height:20px;
    font-size: 18px;
    box-sizing: border-box;
}

table.boxstat td
{
    padding: 3px 8px;
    line-height:20px;
}

.linkbox a
{
    color: var(--link);
}

.linkbox a:hover {
    text-decoration: none;
    color: var(--hover);
}

.linkbox .torrent_buttons a:hover {
    color: var(--hover);
}

#stats_block a,
#stats_block a:visited {
    color: var(--link);
}
#stats_block a:hover,
#stats_block a:visited:hover {
    color: #fff;
}

div.modcomment::before {
    color: var(--red);
}

div.modcomment div.after {
    color: var(--red);
}

div.modcomment {
    background: var(--bright);
    color: #fff;
    border: var(--red) 1px solid;
    box-shadow: none;
}

code.bbcode {
    background: var(--mediumbright);
    color: #fff;
    border: 1px solid var(--bright);
}

.colhead_dark {
    background: var(--medium);
}

a[onclick^="BBCode.spoiler"] {
    text-shadow: none;
}

blockquote {
    border: 1px solid var(--bright);
}

.forum_list tr.rowa:hover td,
.forum_list tr.rowb:hover td {
    background: var(--dark);
}

.taglabel {
    font-family: sans-serif;
    font-weight: bold;
    border-radius: 2px;
    background: var(--dark);
    padding: 0px 5px;
    margin: 0px 5px 0px 0px;
    color: #fff;
}

#tag_container #taginput {
    background: var(--medium);
}

.details .tag_add {
    border: none;
}

.button_sort,
.button_sort a {
    border: none;
    background: var(--medium);
    color: #fff;
}

.button_sort:hover,
.button_sort:hover a {
    background: var(--mediumbright);
}

.button_sort.sort_select,
.button_sort.sort_select a {
    background: #fff;
    color: var(--medium);
}

.torrentdetails table {
    border: none;
}

.torrentdetails table tr:nth-child(2n),
.torrentdetails table tr {
    background: var(--dark);
    color: #fff;
}

.torrentdetails table tr:hover td {
    background: var(--dark);
    color: #fff;
}

.torrent_table .linkbox a
{
    color: var(--link);
}

.torrent_table .linkbox a:visited {
    color: var(--visited);
}
.torrent_table .linkbox a:hover,
.torrent_table .linkbox a:visited:hover {
    color: var(--hover);
    text-decoration: none;
}

span.user_name a,
span.user_name a:visited {
    color: #fff;
}

.box.pad.latest_threads {
    column-count: 2;
}

.box.pad.latest_threads .time
{
    white-space: nowrap;
}

.latest_threads > span {
    display: block;
}


.latest_threads > span[hidden=""] {
    display: none;
}

.sticky_post {
    color: var(--yellow);
}

.r00 {
    color: var(--red);
}

.font_icon.forum_icons {
    width: 1.25em;
    height: 1.25em;
    background: transparent;
    background-clip: border-box;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: var(--link);
}

.font_icon.forum_icons.icon_forum_latest {
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: var(--blue);
    margin-left: 0.4em;
}

.forum_icon_container:hover .font_icon.forum_icons,
.font_icon.forum_icons.icon_forum_latest:hover {
    font-size: 1em;
    background: transparent;
    background-clip: border-box;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #fff;
}

.font_icon.forum_icons.forum_hint_unread {
    background: transparent;
    background-clip: border-box;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: var(--blue);
}

.font_icon.torrent_icons.icon_torrent_bonus,
.font_icon.torrent_icons.icon_torrent_bonus.bonus,
.font_icon.torrent_icons.bookmark,
.font_icon.torrent_icons.download,
.font_icon.torrent_icons.icon_torrent_okay,
.font_icon.icon_torrent_ducky,
.font_icon.torrent_icons.icon_torrent_disk.grabbed,
.font_icon.torrent_icons.icon_torrent_disk.snatched,
.font_icon.torrent_icons.seeding,
.font_icon.torrent_icons.leeching
{
    background: var(--bright);
    background-clip: border-box;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-width: 0px;
}


.torrent_grid .font_icon.torrent_icons.download,
.torrent_grid .font_icon.torrent_icons.icon_torrent_okay,
.torrent_grid .font_icon.icon_torrent_ducky,
.torrent_grid .font_icon.torrent_icons.icon_torrent_disk.grabbed,
.torrent_grid .font_icon.torrent_icons.icon_torrent_disk.snatched,
.torrent_grid .font_icon.torrent_icons.seeding,
.torrent_grid .font_icon.torrent_icons.leeching
{
    background: #fff;
    background-clip: border-box;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-width: 0px;
}

.font_icon.torrent_icons.icon_torrent_bonus.bonus {
    background: var(--yellow);
    background-clip: border-box;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-width: 0px;
}

.font_icon.torrent_icons.icon_torrent_bonus.bonus.personal_leech,
.font_icon.bookmark.bookmarked,
.font_icon.torrent_icons.icon_torrent_disk.snatched
{
    background: var(--blue);
    background-clip: border-box;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-width: 0px;
}

.font_icon.torrent_icons.icon_torrent_bonus.bonus.sitewide_leech
{
    background: var(--green);
    background-clip: border-box;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-width: 0px;
}

.font_icon.bookmark.bookmarked.action_confirm,
.font_icon.torrent_icons.icon_torrent_warned,
.font_icon.torrent_icons.download.warned {
    background: var(--red);
    background-clip: border-box;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-width: 0px;
}

.font_icon.torrent_icons.seeding,
.font_icon.torrent_icons.leeching
{
    background: var(--green);
    background-clip: border-box;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-width: 0px;
}

.font_icon.torrent_icons.personal_leech.icon_torrent_leeching,
.font_icon.torrent_icons.unlimited_leech.icon_torrent_leeching,
.font_icon.torrent_icons.sitewide_leech.icon_torrent_leeching,
.font_icon.torrent_icons.personal_seed.icon_torrent_seeding,
.font_icon.torrent_icons.unlimited_seed.icon_torrent_seeding,
.font_icon.torrent_icons.sitewide_seed.icon_torrent_seeding,
.font_icon.torrent_icons.icon_torrent_warned_inner,
.font_icon.torrent_icons.icon_torrent_disk_inner {
    display: none;
}

.redbar {
    background: none;
}
.redbar td
{
    background: var(--dark);
}

.redbar a, .redbar a:hover
{
    text-decoration: none;
}

.redbar .user a
{
    color: var(--link);
}

.redbar .user a:hover
{
    color: var(--hover);
}

.redbar > td:not(.user) > a, .redbar > td:not(.user) > a:hover
{
    color: var(--red);
}

.redbar .tags a
{
    color: var(--text);
}

.redbar .tags a:hover
{
    color: var(--link);
    text-decoration: none;
}

.post_footer {
    color: #fff;
}

input.shopbutton.itembuy {
    color: #fff;
}

input.shopbutton.itembuy:hover {
    color: var(--bright);
}

.itemnotbuy input.shopbutton,
input.itemnotbuy {
    border: none;
    color: var(--red);
}

.itemnotbuy input.shopbutton:hover {
    background: #fff;
    color: var(--bright);
}

.anchor,
a.anchor:hover {
    color: #fff;
}

.shadow {
    box-shadow: none;
}

.user_name {
    background: var(--medium);
    border: none;
}

.groupperm[alt="20"] {
    color: var(--red) !important;
}

.rank[alt="1"],
.groupperm[alt="16"] {
    color: #ff33cc !important;
}

.rank[alt="11"]
{
    color: var(--red) !important;
}

.rank[alt="18"] {
    color: var(--link) !important;
}

.rank[alt="6"] {
    color: #ffcc00 !important;
}

.icon[title="This torrent has no active bonus"],
.icon[title="You cannot download a marked Torrent"] {
    display: none;
}

.font_icon.bookmark.action_confirm:hover::after {
    all: initial;
    white-space: nowrap;
    content: "Click again to remove!";
    font-family: roboto, sans-serif;
    padding: 3px 5px;
    position: absolute;
    margin-top: -5px;
    color: white;
    background: var(--red);
    border: none;
    border-radius: 5px;
}

.thin > table {
    box-shadow: none;
}

table.forum_post.box {
    border-spacing: 0px;
    border-collapse: separate;
    box-shadow: none;
    background: transparent;
    border: none;
}
table.forum_post.box tr {
    background: none;
}

table.forum_post.box > tbody > tr.smallhead > td {
    background: var(--bright);
}

table.forum_post.box > tbody tr:first-child > td:first-child {
    border-top-left-radius: 5px;
}

table.forum_post.box > tbody tr:first-child > td:last-child {
    border-top-right-radius: 5px;
}

table.forum_post.box > tbody > tr > td.avatar
{
    border-bottom-left-radius: 5px;
}

table.forum_post.box > tbody > tr:last-child > td:last-child {
    border-bottom-right-radius: 5px;
}

table.forum_post.box > tbody > tr:last-child > td {
    border-bottom: 1px solid var(--bright);
}

table.forum_post.box > tbody > tr > td:last-child {
    border-right: 1px solid var(--bright);
}

table.forum_post.box > tbody > tr:first-child > td {
    border-top: 1px solid var(--bright);
}

table.forum_post.box > tbody > tr > td:last-child {
    border-left: 1px solid var(--bright);
}


table.forum_post.box table.bbcode:not(.noborder),
table.forum_post.box table.bbcode:not(.noborder) td
{
    border: 1px solid var(--bright);
}

table.forum_post.box tr.smallhead,
table.forum_post.box.user_name
{
    color: var(--text);
}

table.forum_index,
table.forum_list
{
    border-collapse: separate;
    border-spacing: 0px 2px;
}

table.forum_index tr.rowa,
table.forum_index tr.rowb,
table.forum_list tr.rowa,
table.forum_list tr.rowb
{
    background: none;
}
table.forum_index tr.rowa td,
table.forum_index tr.rowb td
{
    background: var(--bright);
}

table.forum_list tr.rowa td,
table.forum_list tr.rowb td
{
    background: var(--dark);
}


table.forum_list tr.rowa.sticky td,
table.forum_list tr.rowb.sticky td
{
    background: var(--bright);
}

table.forum_index tr.rowa td:first-child,
table.forum_index tr.rowb td:first-child,
table.forum_list tr.rowa td:first-child,
table.forum_list tr.rowb td:first-child
{
    border-radius: 5px 0px 0px 5px;
}

table.forum_index tr.rowa td:last-child,
table.forum_index tr.rowb td:last-child,
table.forum_list tr.rowa td:last-child,
table.forum_list tr.rowb td:last-child
{
    border-radius: 0px 5px 5px 0px;
}

table.forum_list span,
table.forum_index span
{
    line-height: 20px;
}


table.forum_index .forum_icon_container,
table.forum_index .icon_stack,
table.forum_index .font_icon.forum_icons,
table.forum_list .forum_icon_container,
table.forum_list .icon_stack,
table.forum_list .font_icon.forum_icons
{
    height: 20px;
    width: 20px;
    line-height: 20px;
    text-align: center;
    box-sizing: border-box;
    padding:0px;
}

.box.pad.latest_threads {
    background: var(--bright);
}

#open_overflowquickpost,
#open_overflow_morequickpost {
    color: #fff;
}
#open_overflowquickpost:hover,
#open_overflow_morequickpost:hover {
    color: #ccc;
}

#search_form .box.pad {
    background: var(--bright);
}


#search_form .cat_list tr.rowa td,
#search_form .cat_list tr.rowb td,
#search_form tr.on_cat_change,
#search_form td.label,
#search_form tr {
    background: var(--bright);
    background: none;
}


#content,
#modal_content
{
    max-width: calc(100% - 80px);
    min-width: 940px;
}

form .box {
    background: var(--bright);
    border-radius: 5px;
}

#collage form,
#tags table.box.pad {
    background: var(--bright);
    border-radius: 5px;
}

#collage form table,
#tags table.box.pad {
    box-shadow: none;
}

#collage tr.rowa td,
#collage tr.rowb td
{
    padding: 3px 3px;
}

#collage tr.rowa td:nth-child(2) a:not(.category_label),
#collage tr.rowb td:nth-child(2) a:not(.category_label)
{
    line-height: 20px;
}

#tags table.box.pad tr.rowa {
    background: none;
    border: none;
}

form input[type="submit"],
#tags input[type="submit"],
form input[type="button"] {
    background: var(--brighter);
    border-radius: 3px;
}

#tags input[type="submit"]:hover {
    background: #fff;
    color: var(--bright);
}

#index .box {
    background: var(--bright);
}

#cat_list,
#taglist {
    border-radius: 5px;
    background: var(--medium);
}

.newtorrent,
#notifications tr td:nth-child(3) strong
{
    visibility: hidden;
    width:40px;
    height: 20px;
    overflow:hidden;
}

.newtorrent
{
    margin-right: 4px;
}

#notifications tr td:nth-child(3) strong
{
    float:right;
}

.newtorrent::before,
#notifications tr td:nth-child(3) strong::before
{
    visibility: visible;
    content: 'New';
    background: var(--red);
    color: #fff;
    border-radius: 3px;
    padding: 0px 3px;
    box-sizing: border-box;
    font-style: normal;
    line-height: 20px;
    width:40px;
    height:20px;
    display:block;
    font-weight: bold;
    text-align: center;
    font-size: 12px;
}

#notifications tr td:nth-child(3) strong::before
{
    margin-right: 4px;
}

.reported
{
    background: var(--red);
    color: #fff !important;
    border-radius: 3px;
    padding: 0px 3px;
    font-style: normal;
    line-height: 20px;
    margin-left: 5px;
    text-align: center !important;
    height: 20px;
    display: block;
    float: right !important;
}

tr.colhead a[href*="order_by=Seeders"] img,
tr.colhead a[href*="order_by=seeders"] img,
tr.colhead a[href*="order_by=leechers&"] img,
tr.colhead a[href*="order_by=Leechers&"] img,
tr.colhead a[href*="order_by=snatched&"] img,
tr.colhead a[href*="order_by=Snatched&"] img,
tr.colhead a[href*="order_by=Snatches&"] img,
tr.colhead a[href*="order_by=Snatches&"] img
{
    display: none;
}
tr.colhead a[href*="order_by=Seeders"]:before,
tr.colhead a[href*="order_by=seeders"]:before
{
    font-family:"icons";
    content: "\\f135";
}

tr.colhead a[href*="order_by=leechers&"]:before,
tr.colhead a[href*="order_by=Leechers&"]:before
{
    font-family:"icons";
    content:"\f129";
}

tr.colhead a[href*="order_by=snatched&"]:before,
tr.colhead a[href*="order_by=Snatched&"]:before,
tr.colhead a[href*="order_by=Snatches&"]:before,
tr.colhead a[href*="order_by=Snatches&"]:before
{
    font-family: "icons";
    content:"\f14f";
}

#collage table,
#request_table,
table.torrent_table
{
    font-size: 12px;
}

#request_table tr td:nth-child(2) > a
{
    overflow:hidden;
    white-space: nowrap;
    font-weight: bold;
    line-height: 20px;
    font-size: 12px;
    display: block;
    text-overflow: ellipsis;
}

#notifications table.torrent_table .tags
{
    text-align: left;
}

table.torrent_table .tags,
#request_table .tags
{
    padding: 10px 10px 10px 10px;
    float:left;
}

table.torrent_table .tags a,
#request_table .tags a
{
    display: inline-block;
    width: 100px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding-right: 10px;
}
table.torrent_table
{
    border-collapse: separate;
    border-spacing: 0px 2px;
}

table.torrent_table tr.rowa,
table.torrent_table tr.rowb,
table#request_table tr.rowa,
table#request_table tr.rowb,
#collage table tr
{
    background: none;
}

table.torrent_table tr.rowa td,
table.torrent_table tr.rowb td,
table#request_table tr.rowa td,
table#request_table tr.rowb td,
#collage table tr.rowa td:nth-child(n+2),
#collage table tr.rowb td:nth-child(n+2)
{
    background: var(--dark);
}

#top10 table.torrent_table tr td:first-child,
#collage table tr td:nth-child(2),
table#request_table tr td:nth-child(1),
#notifications table.torrent_table tr td:first-child,
table.torrent_table tr td:first-child:not(.cats_cols)
{
    border-radius: 5px 0px 0px 5px;
}

table.torrent_table tr td:nth-child(-n+2):not(.cats_cols),
#requests #request_table tr:not(.colhead) td:nth-child(2),
#top10 table.torrent_table tr:not(.colhead) td:nth-child(3),
#notifications table.torrent_table tr:not(.colhead) td:nth-child(3)
{
    vertical-align: top;
}

#notifications table.torrent_table tr td:first-child:not(.cats_cols),
#top10 table.torrent_table tr:not(.colhead) td:nth-child(1)
{
    vertical-align: middle;
}

#top10 table.torrent_table tr td:last-child,
table.torrent_table tr td:last-child,
table#request_table tr td:last-child,
#collage table tr td:last-child
{
    border-radius: 0px 5px 5px 0px;
}

#request_table tr.rowa td > a,
#request_table tr.rowb td > a
{
    padding: 0px 0px 0px 10px;
}

table.torrent_table, .thin > form > table
{
    box-shadow: none;
}

#top10 table.torrent_table tr td:first-child
{
    display: table-cell;
}

#top10 table.torrent_table tr:nth-child(2) td:first-child
{
    background: #E4A400;
    color: #fff;
}
#top10 table.torrent_table tr:nth-child(3) td:first-child
{
    background: #A0AFB8;
    color: #fff;
}

#top10 table.torrent_table tr:nth-child(4) td:first-child
{
    background: #BE6F26;
    color: #fff;
}

.torrent td:not(:last-child):not(.user) > a
{
    overflow: hidden;
    white-space: nowrap;
    display: block;
    float:left;
    text-overflow: ellipsis;
    width: calc(100% - 280px);
    font-weight: bold;
    line-height: 20px;
    font-size: 12px;
}

#request_table td,
.torrent td
{
    max-width: 450px;
}

#request_table tr.rowa td > a,
#request_table tr.rowb td > a
{
    padding: 0px;
}

td.cats_col,
td.cats_cols
{
    padding:0px;
    position: relative;
    width: 0px;
}

.torrent.rowb br,
.torrent.rowa br
{
    display: none;
}

.category_label
{
    width: 100px !important;
    background: var(--bright);
    color: #fff;
    padding: 0px 5px;
    box-sizing: border-box;
    border-radius: 2px;
    line-height: 20px;
    height: 20px;
    font-weight: bold;
    font-size: 12px;
    text-align: center;
    margin-right: 5px !important;
    display: block;
    float: left;
}

#notifications .torrent_table tr:not(.colhead) td > a,
#notifications .torrent_table tr.colhead td:nth-child(3)
{
    text-align: left;
}

#notifications .torrent_table tr.colhead a
{
    font-weight: bold;
}

#collage .tags
{
    padding: 10px 100px 10px 10px;
}

#collage #content table tr td:first-child
{
    position: relative;
    padding: 0px;
}

#collage #content table tr:not(.colhead) td:nth-child(2) > a
{
    font-weight: bold;
}

#collage #content table tr td:first-child img
{
    display: none;

}

#details_top table
{
    border-spacing: 0px;
}

#details_top table.torrent_table tr td:last-child
{
    border-radius: 0px;
}

#details_top tr.group_torrent td
{
    padding:0px;
    width: 0px;
}

#details_top td > strong
{
    line-height: 20px;
    font-size: 12px;
}

tr.group_torrent td
{
    padding: 0px 0px 0px 10px;
}

#torrents table.torrent_table tr.colhead:not(:first-child) td
{
    border-radius: 5px;
    background: var(--bright);
    line-height: 20px;
    height: 20px;
}


#torrents table.torrent_table tr td:first-child,
#requests #request_table tr td:first-child
{
    padding: 0px !important;
    width: 0px !important;
}

.torrent_table td:first-child
{
    padding: 0px;
}

.box
{
    background: var(--bright);
}

#top10 table.torrent_table tr td:nth-child(2)
{
    padding: 0px;
    border-radius: 0px;
    width: 0px !important;
}


#top10 table.torrent_table tr td img
{
    display: none;
}

#requests table.request_table tr td:nth-child(n+3),
table.torrent_table tr td:nth-child(n+3)
{
    text-align: center;
}
#top10 table.torrent_table tr td:nth-child(-n+3)
{
    text-align: left;
}

#top10 .torrent
{
    font-weight: normal;
}

#top10 form
{
    background: var(--bright);
    border-radius:5px;
}

#top10 form table.border
{
    border: none;
}

table.topic_list
{
    border-collapse: separate;
    border-spacing: 0px 2px;
}

table.topic_list tr
{
    background: none;
}

table.topic_list tr.rowa td,
table.topic_list tr.rowb td
{
    background: var(--bright);
}

table.topic_list tr td:first-child
{
    border-radius: 5px 0px 0px 5px;
}


table.topic_list tr td:last-child
{
    border-radius: 0px 5px 5px 0px;
}

.alertbar a
{
    color: #fff;
}

#collage .sidebar img
{
    display:none;
}

#details_top tr.group_torrent td
{
    vertical-align: top;
    padding: 2px 0px;
}

span[style="color:red"],
span[style="color:red;"],
span[style="color:#FF0000"]
{
    color: var(--red) !important;
}

.bbcode[style="background-color:grey;"]
{
    background-color: var(--medium) !important;
}

.torrent_table .linkbox a
{
    color: var(--link)
}
.torrent_table .linkbox a:hover
{
    color: var(--hover)
}

.stat
{
    color: #fff;
}

.contact_link
{
    border: none;
}

strong.important_text
{
    color: var(--red);
}

img[src="static/common/symbols/freedownload.gif"],
img[src="static/styles/modern/images/star16.png"]
{
    display: none;
}

#user_dropdown a[href="/donate.php"] img
{
    display: none;
}

#user_dropdown a[href="/donate.php"]::before
{
    font-family: icons;
    content: "\\f112";
    color: var(--red);
    display: inline-block;
    position: relative;
    top: -3px;
    font-size: 0.8em;
    margin: 0px 0px 0px 2px;
}

.r00,
.r01,
.r02,
.r03,
#nav_leeching_r
{
    color: var(--red);
}

.r04,
.r05,
.r06,
.r07
{
    color: var(--orange);
}

.r08,
.r09
{
    color: var(--yellow);
}

.r10,
.r20,
.r50,
.r99,
#nav_seeding_r
{
    color: var(--green);
}

div#hoverbabe-container
{
    background: var(--medium) !important;
    border: none !important;
    border-radius:5px;
    box-shadow: 0px 0px 5px #00000080;
    color: var(--text) !important;
    padding: 3px !important;
    overflow:hidden;
}

div#hoverbabe-container span.label,
div#hoverbabe-container h1
{
    color: var(--link) !important;
}

div#hoverbabe-container h1
{
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    line-height: 30px;
    font-size: 18px;
    text-align: center;
    background: var(--bright);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0px 10px;

}

div#hoverbabe-container div#biodata,
div#hoverbabe-container div#bioimage
{
    margin-top: 30px;
}

div#hoverbabe-container div#bioimage img
{
    display: block;
    border-radius: 2px !important;
}

.head + div.box,
.colhead + div.box,
tr.head, tr#recentuploads,
tr#recentsnatches,
.head + table,
#site_debug,
.main_column > table, .thin > table,
.thin > form > table,
#searchforum table,
#searchthread table,
#messageform .box,
.shadow, .report
{
    box-shadow: none;
}

.tags a
{
    font-weight: normal;
    font-style: italic;
    font-size: 12px;
}

.invalid, .warning, .error
{
    color: var(--red);
    font-weight: normal;
}

.flash.error
{
    color: #fff;
}

tr.unreadpm
{
    background: var(--red);
    color: #fff;
}

tr.unreadpm .rank
{
    color: #fff !important;
}

tr.unreadpm a
{
    color: #fff;
}

#autoresults
{
    background: var(--medium);
    color: var(--text);
    border: var(--text) 1px solid;
    border: none;
    border-radius: 2px;
    overflow:hidden;
    box-shadow: 0px 0px 5px #00000080;
}

#autoresults li.highlight,
#autoresults li.highlight span.num
{
    background: var(--text);
    color: var(--bright);
}


.font_icon.torrent_icons.icon_torrent_bonus.bonus
{
    display:none;
}

.torrent_icon_container .icon_stack
{
    width: unset;
}

.torrent_icon_container .icon_stack i:last-child
{
    margin: 0px !important;
}

.icon_stack,
.icon_container
{
    height: 20px;
}

.icon_stack > .font_icon.torrent_icons:first-child
{
    position: unset;
}

.font_icon.torrent_icons.personal_seed.icon_torrent_seeding,
.font_icon.torrent_icons.personal_leech.icon_torrent_leeching,
.font_icon.torrent_icons.sitewide_seed.icon_torrent_seeding,
.font_icon.torrent_icons.sitewide_leech.icon_torrent_leeching,
.font_icon.torrent_icons.unlimited_seed.icon_torrent_seeding,
.font_icon.torrent_icons.unlimited_leech.icon_torrent_leeching {
    display: block;
    width: 20px;
    height: 20px;
    font-size: 18px;
    margin: 0px;
    padding: 1px;
    box-sizing: border-box;
    position: unset;
    float: left;
    text-align: center;
    margin-right: 4px;
}

.font_icon.torrent_icons.personal_seed.icon_torrent_seeding,
.font_icon.torrent_icons.personal_leech.icon_torrent_leeching {
    background: var(--blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-width: 0px;
    -webkit-text-stroke-color: #96969640;
}


.font_icon.torrent_icons.sitewide_seed.icon_torrent_seeding,
.font_icon.torrent_icons.sitewide_leech.icon_torrent_leeching {
    background: var(--green);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-width: 0px;
    -webkit-text-stroke-color: #96969640;
}


.font_icon.torrent_icons.unlimited_seed.icon_torrent_seeding,
.font_icon.torrent_icons.unlimited_leech.icon_torrent_leeching {
    background: var(--yellow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-width: 0px;
    -webkit-text-stroke-color: #96969640;
}

.font_icon.torrent_icons.personal_leech.icon_torrent_leeching::before,
.font_icon.torrent_icons.sitewide_leech.icon_torrent_leeching::before,
.font_icon.torrent_icons.unlimited_leech.icon_torrent_leeching::before {
    content: "\\f147";
}

.font_icon.torrent_icons.personal_seed.icon_torrent_seeding::before,
.font_icon.torrent_icons.sitewide_seed.icon_torrent_seeding::before,
.font_icon.torrent_icons.unlimited_seed.icon_torrent_seeding::before {
    content: "";
    width: 20px;
    height: 20px;
    display: block;
}

.font_icon.torrent_icons.personal_seed.icon_torrent_seeding::before {
    background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDI0IDI0IiBoZWlnaHQ9IjI0cHgiIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjI0cHgiIGZpbGw9IiMwMGNjZmYiPjxnPjxyZWN0IGZpbGw9Im5vbmUiIGhlaWdodD0iMjQiIHdpZHRoPSIyNCIvPjwvZz48Zz48Zz48cG9seWdvbiBwb2ludHM9IjYuNDEsNiA1LDcuNDEgOS41OCwxMiA1LDE2LjU5IDYuNDEsMTggMTIuNDEsMTIiLz48cG9seWdvbiBwb2ludHM9IjEzLDYgMTEuNTksNy40MSAxNi4xNywxMiAxMS41OSwxNi41OSAxMywxOCAxOSwxMiIvPjwvZz48L2c+PC9zdmc+");
    background-position: -5px -5px;
    background-size: 30px 30px;
}

.font_icon.torrent_icons.sitewide_seed.icon_torrent_seeding::before {
    background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDI0IDI0IiBoZWlnaHQ9IjI0cHgiIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjI0cHgiIGZpbGw9IiMxOGQ4NjAiPjxnPjxyZWN0IGZpbGw9Im5vbmUiIGhlaWdodD0iMjQiIHdpZHRoPSIyNCIvPjwvZz48Zz48Zz48cG9seWdvbiBwb2ludHM9IjYuNDEsNiA1LDcuNDEgOS41OCwxMiA1LDE2LjU5IDYuNDEsMTggMTIuNDEsMTIiLz48cG9seWdvbiBwb2ludHM9IjEzLDYgMTEuNTksNy40MSAxNi4xNywxMiAxMS41OSwxNi41OSAxMywxOCAxOSwxMiIvPjwvZz48L2c+PC9zdmc+");
    background-position: -5px -5px;
    background-size: 30px 30px;
}

.font_icon.torrent_icons.unlimited_seed.icon_torrent_seeding::before {
    background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDI0IDI0IiBoZWlnaHQ9IjI0cHgiIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjI0cHgiIGZpbGw9IiNmY2VkMGEiPjxnPjxyZWN0IGZpbGw9Im5vbmUiIGhlaWdodD0iMjQiIHdpZHRoPSIyNCIvPjwvZz48Zz48Zz48cG9seWdvbiBwb2ludHM9IjYuNDEsNiA1LDcuNDEgOS41OCwxMiA1LDE2LjU5IDYuNDEsMTggMTIuNDEsMTIiLz48cG9seWdvbiBwb2ludHM9IjEzLDYgMTEuNTksNy40MSAxNi4xNywxMiAxMS41OSwxNi41OSAxMywxOCAxOSwxMiIvPjwvZz48L2c+PC9zdmc+");
    background-position: -5px -5px;
    background-size: 30px 30px;
}

.donate_details,
.donate_details table td
{
    background: var(--yellow);
    border: none;
}

.pager_on
{
    color: var(--blue);
}

#collage #editor
{
    font-size: 12px;
}

#user #content form
{
    background: var(--bright);
    border-radius: 5px;
    padding: 5px;
    box-sizing: border-box;
}

#content form > table
{
    border: none;
}

form .colhead strong
{
    font-size: 18px;
    font-weight: normal;
    color: var(--link);
}

.label
{
    font-weight: normal;
}

span[title="Number of Comments"]
{
    width: 20px;
    height: 20px;
    display: block;
    overflow: hidden;
    margin: auto;
}

span[title="Number of Comments"]::before
{
    font-family: icons;
    content: "\\f11e";
    width:20px;
    height: 20px;
    display: block;
    font-size: 18px;
    text-align:center;
    line-height: 20px;
}


span[title="Number of Files"]
{
    width: 20px;
    height: 20px;
    display: block;
    overflow: hidden;
    margin: auto;
}

span[title="Number of Files"]::before
{
    font-family: icons;
    content: "\\f106";
    width:20px;
    height: 20px;
    display: block;
    font-size: 12px;
    text-align:center;
    line-height: 20px;
}

.nicebar_container
{
    height:20px;
    font-size: 12px;
    margin: unset;
}
.freeleech_bar
{
    line-height: 20px;
}

#alerts
{
    max-width: 500px;
}

.alertbar
{
    background: var(--red);
    font-size: 12px;
    line-height: 20px;
    font-weight: bold;
    height: 20px;
    animation: none;
    padding: 0px 20px;
    box-sizing: border-box;
    border-radius: 5px;
}

.alertbar a
{
    width: 100%;
    display: block;
    font-weight: bold;
}

.torrent .version
{
    clear:left;
}
`;
GM_addStyle(css);
})();