/* =====================================================
   ForgeBoard for MyBB 1.8
   Based on the original RaidForums/BreachForums theme
   source code — MyBBForge Edition
   ===================================================== */

/* === CSS VARIABLES (real RaidForums palette) === */
:root {
    --theme-primary-color: hsl(208, 43%, 26%);
    --theme-secondary-color: hsl(208, 40%, 67%);
    --theme-tertiary-color: hsl(208, 47%, 32%);
    --theme-quaternary-color: hsl(208, 51%, 41%);
    --theme-low-alpha-color: hsla(208, 40%, 67%, 0.06);
    --header-panel-bg-color: hsl(208, 32%, 11%);
    --header-logo-bg-color: hsl(208, 24%, 15%);
    --main-notification-color: #b61212;
    --main-content-bg-color: #242424;
    --main-text-color: #dfdfdf;
    --main-link-color: #e7e7e7;
}

/* === BASE === */
html { line-height: 1.4; }
body, input, textarea, select { font-family: Roboto, Arial, sans-serif; }
body {
    background-color: #1c1c1c;
    color: var(--main-text-color);
    font-size: 13px;
    text-align: center;
}
a { color: var(--main-link-color); text-decoration: none; }
a:hover, a:active { color: #d1d1d1; }
img { border: none; }
hr { background-color: #2c2c2c; border: 0; border-bottom: 1px solid #000; height: 1px; }

/* === LAYOUT === */
#container {
    color: var(--main-text-color);
    text-align: left;
    font-size: 13px;
    min-width: 990px;
}
.wrapper {
    width: 90%;
    min-width: 950px;
    margin: 0 auto;
}
#content {
    box-sizing: content-box;
    background-color: var(--main-content-bg-color);
    padding: 20px;
}

/* === UTILITY === */
.nav { list-style: none; padding: 0; margin: 0; display: flex; align-items: center; }
.rounded { border-radius: 3px; }
.noselect { user-select: none; -webkit-user-select: none; }
.clear { clear: both; }
.smalltext { font-size: 12px; }
.largetext { font-size: 16px; font-weight: bold; }
.d-table { display: table; }

/* === TOP NAVIGATION PANEL === */
#panel {
    background-color: var(--header-panel-bg-color);
    position: relative;
    z-index: 100;
}
#panel > .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 55px;
}
.sidenav__menu {
    font-size: 14px;
    font-weight: bold;
    line-height: 55px;
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}
.sidenav__menu > li { margin-right: 15px; }
.sidenav__menu > li:last-child { margin-right: 0; }
.sidenav__menu a { display: block; color: #e3e3e3; }
.sidenav__menu i {
    border-radius: 50%;
    color: var(--theme-secondary-color);
    padding: 5px;
    margin-right: 5px;
}
.sidenav__menu a:hover i { background-color: var(--theme-primary-color); color: #e3e3e3; }
.sidenav__home { margin-right: 10px !important; }
.sidenav__home i {
    background-color: var(--theme-primary-color);
    color: #e3e3e3;
    border-radius: 3px;
    font-size: 18px;
    vertical-align: middle;
    padding: 10px;
    margin-top: -2px;
}
.sidenav__home a:hover i { color: var(--theme-secondary-color); }
.sidenav__extras { position: relative; }
.sidenav__sub-menu {
    background-color: var(--main-content-bg-color);
    border: 3px solid #2a2a2a;
    border-top: 1px solid var(--theme-secondary-color);
    box-shadow: 0px 0px 1px #000;
    font-style: italic;
    text-align: left;
    min-width: 160px;
    max-width: 220px;
    font-size: 13px;
    font-weight: initial;
    line-height: initial;
    list-style: none;
    padding: 0;
    position: absolute;
    top: 55px;
    display: none;
    z-index: 999;
}
.sidenav__sub-menu > li { display: block; border-bottom: 1px solid #2a2a2a; }
.sidenav__sub-menu > li:last-child { border-bottom: 0; }
.sidenav__sub-menu a { padding: 10px 6px; display: block; }
.sidenav__sub-menu a:hover { background-color: #1c1c1c; }
.sidenav__sub-menu i { width: 23px; text-align: center; padding: 0; }
.sidenav__extras:hover .sidenav__sub-menu { display: block; }

/* === PANEL USER AREA === */
.panel__user {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}
.panel__user .fa, .panel__user .fas { vertical-align: middle; font-size: 14px; margin-right: 8px; }
.panel__user > li { margin-right: 15px; }
.panel__user > li:last-child { margin-right: 0; }
.panel__user a { color: #e3e3e3; }
.panel__user a:hover > i { color: var(--theme-secondary-color); }
.panel__user a.panel__module { padding: 6px 10px; }
.panel__user a.panel__module--register {
    background-color: #449151;
    border-bottom: 1px solid #64c876;
}
.panel__count {
    display: inline-block;
    vertical-align: middle;
    background-color: var(--theme-primary-color);
    text-align: center;
    min-width: 20px;
    height: 20px;
    line-height: 19px;
    padding: 1px 5px;
    border-radius: 3px;
}

/* === LOGO / HEADER AREA === */
.logo {
    background-color: var(--header-logo-bg-color);
    text-align: center;
}
.logo__image { padding-top: 25px; padding-bottom: 85px; }
.logo__link { display: block; margin-bottom: 8px; }
.logo__link a { display: inline-block; }
.logo__link img { display: block; margin: 0 auto; width: 700px; height: 300px; object-fit: contain; }
.logo a { color: var(--main-link-color); }
.logo span { color: var(--theme-secondary-color); }

/* === ANNOUNCEMENT / NOTIFICATION === */
.notification {
    display: block;
    position: relative;
    background-color: #313336;
    border: 3px solid transparent;
    border-radius: 3px;
    margin: 1px;
    margin-bottom: 10px;
}
.notification a { color: var(--main-link-color); text-decoration: underline dotted; }
.notification::before {
    font-family: "Font Awesome 5 Free";
    content: "\f0a1";
    font-weight: 900;
    display: table-cell;
    background-color: rgba(0, 0, 0, 0.25);
    border-radius: 3px;
    vertical-align: middle;
    font-size: 16px;
    text-align: center;
    width: 60px;
}
.notification__message { display: table-cell; padding: 10px; }

/* === BREADCRUMB === */
#breadcrumb {
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: content-box;
    background-color: #191919;
    font-size: 12px;
    height: 53px;
    padding: 0 20px;
    overflow: hidden;
    margin-top: -53px;
}
.breadcrumb__main { list-style: none; padding: 0; margin: 0; display: flex; align-items: center; flex: 1; }
.breadcrumb__fast-links { list-style: none; padding: 0; margin: 0; display: flex; align-items: center; white-space: nowrap; }
.breadcrumb__fast-links > li { margin-right: 10px; }
.breadcrumb__fast-links > li:last-child { margin-right: 0; }
.breadcrumb__fast-links a { background-color: #323232; color: var(--main-link-color); padding: 4px 8px; border-radius: 3px; }
.breadcrumb__fast-links a:hover { background-color: var(--theme-primary-color); }

/* Navigation (breadcrumb rendered by MyBB <navigation> tag) */
.breadcrumb__main .navigation { display: inline; font-size: 12px; }
.breadcrumb__main .navigation a { color: #999; }
.breadcrumb__main .navigation a:hover { color: var(--main-link-color); }
.breadcrumb__main .navigation .active { color: var(--main-link-color); font-size: 14px; font-weight: bold; }

/* === FORUM CATEGORY TABS === */
#forum-tabs { margin-bottom: 15px; }
.forum-tabs__tabs { list-style: none; padding: 0; margin: 0; }
.forum-tabs__tabs > li {
    display: inline-block;
    background-color: #2c2c2c;
    border-radius: 3px;
    color: #9d9d9d;
    margin-right: 8px;
    margin-top: 4px;
    transition: background-color 200ms, color 200ms;
}
.forum-tabs__tabs > li.easytab-active {
    background-color: var(--theme-primary-color);
    color: #e3e2e2;
    font-weight: bold;
}
.forum-tabs__tabs > li:not(.easytab-active):hover { background-color: #323232; }
.forum-tabs__tabs a { display: block; color: inherit; padding: 9px 12px; }
.forum-tabs__tabs i { margin-right: 8px; }

/* === MYBB TABLE CLASSES === */
table { color: #aeaeae; text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2); font-size: 13px; }
.tborder {
    width: 100%;
    margin: auto;
    border: 2px solid #2a2a2a;
    box-shadow: 0px 0px 1px #000;
}
.tfixed { table-layout: fixed; word-wrap: break-word; }
.thead {
    position: relative;
    background-color: var(--theme-primary-color);
    color: var(--main-link-color);
    font-size: 14px;
    padding: 9px 12px;
}
.thead a { color: #fff; }
.thead a:hover { text-decoration: underline; }
.thead strong { font-size: 15px; }
.thead__icon { display: inline-block; margin-right: 8px; }
.thead_collapsed { opacity: 0.8; }
.tcat {
    position: relative;
    background: #2a2a2a;
    color: #a3a3a3;
    text-shadow: 1px 1px 1px #000;
    padding: 8px 10px;
    font-size: 13px;
}
.tcat a { color: #d7d7d7; }
.tcat a:hover { color: var(--main-link-color); }
.trow1 {
    background-color: #222;
    border-bottom: 1px solid #282828;
    padding: 15px 12px;
}
.trow2 {
    background-color: #222;
    border-bottom: 1px solid #282828;
    padding: 12px;
}
.trow_shaded { background-color: #362828 !important; padding: 12px 10px; }
.trow_deleted, .post.deleted_post { background: #283436 !important; }
.trow_selected, tr.trow_selected td { background: #353628 !important; }
.trow_sep { background-color: #202020; padding: 7px 10px; font-size: 13px; }
.no_bottom_border { border-bottom: 0; }
.tfoot {
    padding: 9px 12px;
    background: #191919;
    color: #d3d3d3;
}
.tfoot a { color: #b8b6b6; text-decoration: none; }
.tfoot a:hover { color: var(--main-link-color); }
.expcolimage { display: none; }

/* === FORUM ROW CLASSES === */
.forums__forum-name { font-size: 14px; }
.forums__forum-description { color: #9d9d9d; margin-top: 2px; }
.forums__forum-status {
    color: var(--theme-secondary-color);
    font-size: 22px;
    text-align: center;
    height: 50px;
    width: 40px;
}
.forums__forum-status i { display: inline-block; line-height: 50px; }
.forum_on i, .forum_on { color: var(--theme-secondary-color); }
.forum_off i, .forum_off { opacity: 0.6; }
.forum_offclose i { opacity: 0.8; }
.forum_offclose i::before { content: "\f023"; }
.forum_offlink i::before { content: "\f0c1"; }
.subforum_minion i { color: var(--theme-secondary-color); }
.subforum_minioff i, .subforum_minioffclose i, .subforum_miniofflink i { color: #fff; opacity: 0.7; }
.subforum_minioff i { opacity: 0.5; }
.subforum_minioffclose i::before { content: "\f023"; }
.subforum_miniofflink i::before { content: "\f0c1"; }
.forums__stats { font-size: 11px; text-transform: uppercase; }
.forums__stats-count { color: var(--theme-secondary-color); font-size: 15px; display: block; }
.forums__last-post { word-break: break-all; width: 220px; }
.forums__post { padding-left: 12px; border-left: 1px dashed #474747; }
.forum_status { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }

/* === INDEX STATS BAR === */
.index-stats__online-list { line-height: 1.5; }
.index-stats__forum { text-align: center; }
.index-stats__module {
    display: inline-block;
    background-color: #2e2e2e;
    border-radius: 3px;
    color: #9d9d9d;
    padding: 7px 12px;
    margin-top: 15px;
    margin-right: 20px;
}
.index-stats__module i { color: var(--main-link-color); margin-right: 7px; }
.index-stats__module-count { color: var(--main-text-color); }

/* === FOOTER === */
#footer { padding: 30px 0; }
.footer__upper { font-size: 14px; }
.footer__upper > .wrapper, .footer__lower > .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer__general-links { list-style: none; padding: 0; margin: 0; display: flex; align-items: center; }
.footer__general-links > li { margin-right: 10px; }
.footer__general-links > li:last-child { margin-right: 0; }
.footer__general-links a { color: #b8b6b6; }
.footer__general-links a:hover { color: var(--main-link-color); }
.footer__general-links i { color: var(--theme-secondary-color); margin-right: 6px; }
.footer__lower { color: #666; font-size: 12px; margin-top: 5px; }
.footer__lower a { color: var(--theme-tertiary-color); font-weight: bold; }
.footer__copyright { float: left; }
.footer__datetime { float: right; }

/* === FORM ELEMENTS === */
input.textbox {
    background-color: #1c1c1c;
    color: var(--main-text-color);
    border: 1px solid #302e2e;
    border-bottom: 1px solid #3f3f3f;
    font-size: 13px;
    padding: 6px 8px;
}
input.textbox:focus { outline: 0; border-bottom: 1px solid var(--theme-secondary-color); }
textarea { background: #191919; color: #afafaf; border: 1px solid #323232; padding: 6px 8px; font-size: 13px; }
textarea:focus { outline: 0; border-color: var(--theme-secondary-color); }
select { background-color: #1c1c1c; color: var(--main-text-color); border: 1px solid #323232; padding: 4px 8px; }
fieldset { padding: 12px; border: 1px solid #3a3a3a; box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6); margin: 0; }
fieldset legend { color: var(--main-text-color); font-size: 15px; }

/* === BUTTONS === */
a.button {
    display: inline-block;
    background-color: var(--theme-primary-color);
    color: inherit;
    padding: 8px 20px;
    margin: 2px 2px 6px 2px;
    font-size: 14px;
    transition: background-color 200ms;
}
a.button:hover { background-color: var(--theme-tertiary-color); }
a.button.small_button { font-size: 13px; margin: 0; padding: 3px 6px; }
input.button {
    background-color: var(--theme-primary-color);
    color: var(--main-link-color);
    border: 0;
    padding: 8px 20px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 200ms;
}
input.button:hover { background-color: var(--theme-tertiary-color); }

/* === PAGINATION === */
.pagination { font-size: 11px; margin: 6px 0; }
.tfoot .pagination, .tcat .pagination { padding: 0; margin: 0; }
.pagination a { display: inline-block; background: #222; border: 1px solid #363636; padding: 4px 8px; }
.pagination .pagination_current { background: none; color: var(--theme-secondary-color); border: none; font-weight: bold; padding: 4px 8px; }
.pagination a:hover { border-color: var(--theme-secondary-color); color: inherit; }

/* === ALERTS / STATUS === */
.red_alert { background-color: #932a2f; color: #e1e1e1; text-align: center; padding: 7px 20px; margin-bottom: 15px; word-wrap: break-word; }
.green_alert { background-color: darkgreen; color: #e1e1e1; text-align: center; padding: 7px 20px; margin-bottom: 15px; word-wrap: break-word; }
.online { color: #15a018; }
.offline { color: #c7c7c7; }
.reputation_positive { color: #08a908; }
.reputation_negative { color: #c60909; }
.pm_alert { background: #705c13; color: #e1e1e1; padding: 5px 20px; text-align: center; margin-bottom: 10px; }

/* === POST BIT === */
.post_body { overflow: auto; font-size: 15px; margin-bottom: 12px; }
.scaleimages img { max-height: 4000px; max-width: 100%; }
img.attachment { border: 1px solid var(--theme-tertiary-color); padding: 2px; }
.postbit_buttons a {
    display: inline-block;
    padding: 5px 7px;
    margin-left: 5px;
    font-size: 12px;
    background-color: #171717;
    color: #808080;
}
.postbit_buttons a:hover { color: #f6f6f6; }
.postbit_buttons a:first-child { margin-left: 0; }
.postbit_buttons a > i { color: var(--theme-secondary-color); margin-right: 5px; }
.pollbar { background-color: var(--theme-secondary-color); border: 1px solid #3f3f3f; height: 10px; }
.pollbar .percent { display: none; }
.rounded_avatar { border-radius: 0.25rem; }

/* === DEBUG === */
#debug { display: table; background-color: #334735; font-size: 11px; text-align: center; padding: 10px; margin: 0 auto; margin-top: 20px; }
