/* =========================================================
   OUTBREAK: LAS VEGAS
   Global Theme CSS
   ========================================================= */


/* =========================================================
   01. ROOT VARIABLES
   ========================================================= */

:root {
    --outbreak-bg: #0a0a0a;
    --outbreak-panel: #111;
    --outbreak-panel2: #171717;
    --outbreak-line: #2b2b2b;

    --outbreak-text: #d8d2c5;
    --outbreak-muted: #85827b;

    --outbreak-red: #b52b2b;
    --outbreak-pink: #d94f72;
    --outbreak-gold: #c99b4a;
}


/* =========================================================
   02. GLOBAL / RESET
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    background: #070707;
    color: var(--outbreak-text);

    font-family: Arial, "Helvetica Neue", sans-serif;
    font-size: 14px;
    line-height: 1.55;
}

a {
    color: inherit;
}


/* =========================================================
   03. MAIN SITE CONTAINER
   ========================================================= */

.outbreak-site {
    max-width: 1200px;
    min-height: 100vh;

    margin: 0 auto;

    background: var(--outbreak-bg);

    box-shadow: 0 0 90px rgba(0, 0, 0, .85);
}


/* =========================================================
   04. MAIN CONTENT
   ========================================================= */

/* =========================================================
   04. MAIN CONTENT
   ========================================================= */

.outbreak-main {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        290px;

    gap: 28px;

    padding: 38px;

    /*
     * Die Grid-Höhe wird automatisch durch
     * den höchsten Inhalt bestimmt.
     */
    align-items: stretch;
}


/* =========================================================
   FORUM — NATÜRLICHE HÖHE
   ========================================================= */

.outbreak-main > section {
    min-width: 0;

    align-self: stretch;
}


/* =========================================================
   SIDEBAR — EXAKT AUF HÖHE DES FORUMBEREICHS
   ========================================================= */

.outbreak-main > .outbreak-sidebar {
    min-width: 0;

    align-self: stretch;
}

/* =========================================================
   SECTION HEADING
   ========================================================= */

.section-heading {
    margin: 0 0 18px;

    padding-bottom: 14px;

    border-bottom: 1px solid var(--outbreak-line);
}

.section-heading span {
    color: var(--outbreak-red);

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 3px;
    text-transform: uppercase;
}

.section-heading h2 {
    margin: 5px 0 0;

    color: #f1eee8;

    font-size: 28px;

    letter-spacing: 3px;
}


/* =========================================================
   05. FORUM
   ========================================================= */

.forum-list {
    background: #0f0f0f;

    border: 1px solid var(--outbreak-line);
}


/* =========================================================
   FORUM CATEGORIES
   ========================================================= */

.forum-category {
    padding: 13px 18px;

    background: #171717;

    border-bottom: 1px solid #303030;

    color: #ddd;

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 2px;
    text-transform: uppercase;
}


/* =========================================================
   FORUM ROW
   ========================================================= */

.forum-row {
    display: grid;

    /*
       ICON
       FORUM
       THREADS / POSTS
       LAST POST
    */
    grid-template-columns:
        52px
        minmax(0, 1fr)
        150px
        190px;

    gap: 14px;

    align-items: center;

    padding: 18px;

    background: #111;

    border-bottom: 1px solid #232323;

    transition: .18s;
}

.forum-row:last-child {
    border-bottom: 0;
}

.forum-row:hover {
    background: #151515;
}


/* =========================================================
   FORUM NAME
   ========================================================= */

.forum-name {
    min-width: 0;
}

.forum-name a {
    color: #eee;

    text-decoration: none;

    font-size: 18px;
    font-weight: 800;

    letter-spacing: .6px;
}

.forum-desc {
    margin-top: 2px;

    color: #77736d;

    font-size: 12px;
}


/* =========================================================
   FORUM COUNTS
   Threads / Posts
   ========================================================= */

.forum-counts {
    color: #77736d;

    text-align: center;

    font-size: 10px;

    line-height: 1.6;

    letter-spacing: 1px;

    text-transform: uppercase;
}

.forum-counts strong {
    color: #aaa;

    font-weight: 900;
}

.forum-counts span {
    margin: 0 4px;

    color: var(--outbreak-red);
}


/* =========================================================
   FORUM LAST POST / STATS
   ========================================================= */

.forum-stats {
    overflow: hidden;

    color: #6f6c66;

    text-align: right;

    font-size: 12px;

    line-height: 1.5;
}

.forum-stats strong {
    color: #aaa;
}

.forum-stats a {
    color: #9d9991;

    text-decoration: none;
}

.forum-stats .smalltext {
    color: #777;
}


/* =========================================================
   06. FORUM STATUS ICON
   ========================================================= */

.forum-icon {
    width: 40px;
    height: 40px;

    display: flex;

    align-items: center;
    justify-content: center;
}

.forum_status {
    width: 40px;
    height: 40px;

    display: flex;

    align-items: center;
    justify-content: center;

    box-sizing: border-box;

    color: #fff;

    opacity: .28;

    font-size: 18px;
    line-height: 1;

    border: 1px solid rgba(255, 255, 255, .12);

    background: rgba(255, 255, 255, .025);

    transition:
        color .2s ease,
        opacity .2s ease,
        border-color .2s ease,
        background .2s ease,
        text-shadow .2s ease;
}


/* New posts */

.forum_status.forum_on {
    color: var(--outbreak-red);

    opacity: 1;

    border-color: var(--outbreak-red);

    background: rgba(181, 43, 43, .08);

    text-shadow:
        0 0 10px rgba(181, 43, 43, .45);
}

.forum_status.forum_on:hover {
    background: rgba(181, 43, 43, .16);

    border-color: var(--outbreak-red);

    text-shadow:
        0 0 14px rgba(181, 43, 43, .65);
}


/* =========================================================
   07. FOOTER
   ========================================================= */

.outbreak-footer {
    padding: 28px 38px;

    background: #0d0d0d;

    border-top: 1px solid var(--outbreak-line);

    color: #666;

    font-size: 10px;
}

.outbreak-footer a {
    color: #888;

    text-decoration: none;
}


/* =========================================================
   08. MYBB DEFAULT ELEMENTS
   ========================================================= */

#container {
    width: auto !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;
}

.wrapper {
    width: auto !important;
    max-width: none !important;
}

.navigation {
    display: none;
}

.thead {
    background: #171717 !important;

    color: #ddd !important;

    border: 0 !important;
}

.trow1,
.trow2 {
    background: #111 !important;

    color: #bbb !important;

    border-color: #252525 !important;
}

.smalltext {
    color: #777 !important;
}

.pagination a,
.pagination span {
    background: #171717 !important;

    border-color: #333 !important;

    color: #aaa !important;
}

.error,
.success,
.notice {
    border-radius: 0 !important;
}

.modal {
    background: #111 !important;

    border: 1px solid #333 !important;

    color: #ddd !important;
}


/* =========================================================
   09. CATEGORY BANNERS
   ========================================================= */

.outbreak-category {
    width: 100%;

    margin-bottom: 30px;
}

.outbreak-category-banner {
    position: relative;

    width: 100%;
    height: 150px;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    overflow: hidden;

    border: 1px solid #303030;
}

.outbreak-category-overlay {
    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;
    justify-content: flex-end;

    background:
        linear-gradient(
            90deg,
            rgba(5, 5, 5, .35) 0%,
            rgba(5, 5, 5, .68) 55%,
            rgba(5, 5, 5, .90) 100%
        );
}

.outbreak-category-content {
    padding: 25px 40px 25px 35px;

    text-align: right;
}

.outbreak-category-number {
    display: block;

    margin-bottom: 5px;

    color: #B52B2B;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 3px;

    text-transform: uppercase;
}

.outbreak-category-content h2 {
    margin: 0;

    color: #B52B2B;

    font-size: 24px;
    font-weight: 900;

    line-height: 1.1;

    letter-spacing: 4px;

    text-transform: uppercase;

    text-shadow:
        0 2px 8px rgba(0, 0, 0, .9);
}

.outbreak-category-description {
    margin-top: 7px;

    color: rgba(255, 255, 255, .68);

    font-size: 11px;

    letter-spacing: .5px;
}

.outbreak-category-forums {
    background: #151515;

    border-left: 1px solid #303030;
    border-right: 1px solid #303030;
    border-bottom: 1px solid #303030;
}


/* Category images */

.outbreak-category-banner.category-1,
.outbreak-category-banner.category-4,
.outbreak-category-banner.category-7,
.outbreak-category-banner.category-13 {
    background-image:
        url(../../../images/themes/WHATHAPPENS/cat.png);
}


/* =========================================================
   10. POST BIT CLASSIC
   ========================================================= */

.outbreak-post {
    display: grid;

    grid-template-columns:
        300px
        minmax(0, 1fr);

    width: 100% !important;
    max-width: none !important;

    margin: 0 0 22px 0;

    background: #111;

    border: 1px solid var(--outbreak-line);

    overflow: hidden;

    box-sizing: border-box;
}

.outbreak-post-author {
    padding: 22px;

    background:
        linear-gradient(
            180deg,
            #171717 0%,
            #101010 100%
        );

    border-right: 1px solid var(--outbreak-line);

    text-align: center;
}

.outbreak-post-author-status {
    margin-bottom: 15px;

    color: var(--outbreak-red);

    font-size: 8px;
    font-weight: 900;

    letter-spacing: 2px;

    text-transform: uppercase;
}


/* Avatar */

.outbreak-post-avatar {
    width: 250px;
    height: 300px;

    margin: 0 auto 18px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 0;

    background-color: #080808;

    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    border: 0 solid var(--outbreak-red);

    box-sizing: border-box;

    overflow: hidden;
}

.outbreak-post-avatar img {
    display: block;

    width: 100%;
    height: 100%;

    max-width: 100%;
    max-height: 100%;

    object-fit: cover;
}


/* Username */

.outbreak-post-username {
    color: #f1eee8;

    font-size: 17px;
    font-weight: 900;

    line-height: 1.2;

    letter-spacing: 1px;

    text-transform: uppercase;
}

.outbreak-post-username a {
    color: inherit;

    text-decoration: none;
}

.outbreak-post-username a:hover {
    color: var(--outbreak-pink);
}


/* Online */

.outbreak-post-online {
    margin-top: 5px;
}


/* User title */

.outbreak-post-usertitle {
    margin-top: 5px;

    color: #77736d;

    font-size: 10px;
}


/* Rank */

.outbreak-post-rank {
    margin-top: 8px;

    color: #777;
}

.outbreak-post-rank img {
    max-width: 100%;
    height: auto;
}


/* Statistics */

.outbreak-post-statistics {
    margin-top: 18px;

    padding-top: 15px;

    border-top: 1px solid #292929;

    color: #77736d;

    font-size: 10px;

    line-height: 1.7;
}

.outbreak-post-statistics strong {
    color: #aaa;
}


/* Post content */

.outbreak-post-content {
    min-width: 0;

    display: flex;
    flex-direction: column;
}


/* Post header */

.outbreak-post-header {
    min-height: 50px;

    padding: 13px 20px;

    display: flex;

    align-items: center;

    background: #151515;

    border-bottom: 1px solid #292929;
}

.outbreak-post-meta {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 10px;
}

.outbreak-post-number {
    color: var(--outbreak-red);

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 1.5px;
}

.outbreak-post-date {
    color: #6e6b65;

    font-size: 9px;

    letter-spacing: .5px;
}

.outbreak-post-header .post_edit {
    color: #666;

    font-size: 9px;
}


/* Post body */

.outbreak-post-body {
    flex: 1;

    padding: 28px 25px;

    color: #d8d2c5;

    font-size: 14px;

    line-height: 1.7;

    overflow-wrap: break-word;
}

.outbreak-post-body p {
    margin-top: 0;
}

.outbreak-post-body p:last-child {
    margin-bottom: 0;
}

.outbreak-post-body a {
    color: var(--outbreak-pink);

    text-decoration: none;
}

.outbreak-post-body a:hover {
    color: #fff;
}

.outbreak-post-body img {
    max-width: 100%;
    height: auto;
}


/* Post meta */

.outbreak-post-meta-bottom {
    min-height: 30px;

    padding: 7px 20px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    background: #101010;

    border-top: 1px solid #242424;

    color: #555;

    font-size: 9px;
}

.outbreak-post-status {
    color: #666;
}


/* Post controls */

.outbreak-post-controls {
    min-height: 48px;

    padding: 9px 20px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 10px;

    background: #0d0d0d;

    border-top: 1px solid #292929;
}

.outbreak-post-author-buttons,
.outbreak-post-management-buttons {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 5px;
}

.outbreak-post-controls .postbit_buttons a,
.outbreak-post-controls .postbit_buttons button,
.outbreak-post-controls .postbit_buttons input {
    display: inline-block;

    padding: 6px 9px;

    background: transparent;

    border: 1px solid #303030;

    color: #777;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 1px;

    text-decoration: none;

    text-transform: uppercase;

    transition: .2s;
}

.outbreak-post-controls .postbit_buttons a:hover,
.outbreak-post-controls .postbit_buttons button:hover,
.outbreak-post-controls .postbit_buttons input:hover {
    background: rgba(181, 43, 43, .08);

    border-color: var(--outbreak-red);

    color: #fff;
}


/* =========================================================
   11. SHOWTHREAD — FULL WIDTH
   ========================================================= */

.outbreak-thread-page {
    width: 100%;

    padding: 38px;

    box-sizing: border-box;
}

.outbreak-thread {
    width: 100%;
    max-width: none;

    margin: 0;
}

.outbreak-thread-top {
    width: 100%;

    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 22px;

    padding-bottom: 18px;

    border-bottom: 1px solid var(--outbreak-line);
}

.outbreak-thread-title span {
    display: block;

    margin-bottom: 6px;

    color: var(--outbreak-red);

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 3px;

    text-transform: uppercase;
}

.outbreak-thread-title h1 {
    margin: 0;

    color: #f1eee8;

    font-size: 30px;
    font-weight: 900;

    line-height: 1.15;

    letter-spacing: 2px;
}

.outbreak-thread-tools {
    color: #777;

    font-size: 10px;
}

.outbreak-thread #posts_container {
    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;
}

.outbreak-thread #posts {
    display: block;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;
}

.outbreak-thread #posts > * {
    width: 100% !important;
    max-width: none !important;
}

.outbreak-thread .outbreak-post {
    width: 100% !important;
    max-width: none !important;
}

.outbreak-thread-page + .float_left,
.outbreak-thread-page + .float_right {
    margin-top: 10px;
}


/* =========================================================
   12. RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 900px) {

    .outbreak-main {
        grid-template-columns: 1fr;

        padding: 24px;

        align-items: start;
    }

    .outbreak-main > .outbreak-sidebar {
        height: auto;
    }


    /*
       Forum:
       Icon | Forum | Counts
       Der Last-Post-Bereich wird ausgeblendet.
    */

    .forum-row {
        grid-template-columns:
            45px
            minmax(0, 1fr)
            140px;
    }

    .forum-stats {
        display: none;
    }

    .forum-counts {
        text-align: right;
    }

    .outbreak-boardstats {
        margin-top: -10px;

        padding: 0 24px 24px;
    }

    .outbreak-mini-stats {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }
}


/* =========================================================
   13. RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .outbreak-post {
        grid-template-columns: 1fr;
    }


    .outbreak-post-author {
        display: grid;

        grid-template-columns:
            80px
            minmax(0, 1fr);

        column-gap: 15px;

        padding: 15px;

        text-align: left;

        border-right: 0;

        border-bottom: 1px solid var(--outbreak-line);
    }


    .outbreak-post-author-status {
        grid-column: 1 / -1;
    }


    .outbreak-post-avatar {
        width: 80px;
        height: 96px;

        margin: 0;
    }


    .outbreak-post-avatar img {
        width: 80px;
        height: 96px;
    }


    .outbreak-post-username {
        align-self: end;
    }


    .outbreak-post-usertitle,
    .outbreak-post-online,
    .outbreak-post-rank {
        grid-column: 2;
    }


    .outbreak-post-statistics {
        grid-column: 1 / -1;

        margin-top: 12px;
    }


    .outbreak-post-header {
        padding: 11px 15px;
    }


    .outbreak-post-body {
        padding: 20px 17px;
    }


    .outbreak-post-controls {
        padding: 10px 15px;

        align-items: flex-start;

        flex-direction: column;
    }


    .outbreak-post-author-buttons,
    .outbreak-post-management-buttons {
        width: 100%;
    }


    /* Forum auf Mobile komplett untereinander */

    .forum-row {
        grid-template-columns: 1fr;

        gap: 10px;

        padding: 15px;
    }


    .forum-icon {
        justify-content: flex-start;
    }


    .forum-name {
        min-width: 0;
    }


    .forum-counts {
        text-align: left;
    }


    .forum-stats {
        display: block;

        text-align: left;
    }

    .outbreak-boardstats {
        margin-top: -8px;

        padding: 0 18px 18px;
    }

    .outbreak-online-grid {
        grid-template-columns: 1fr;

        gap: 15px;
    }

    .outbreak-mini-stats {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}


/* =========================================================
   14. RESPONSIVE — SMALL MOBILE
   ========================================================= */

@media (max-width: 520px) {

    .outbreak-main {
        padding: 18px;
    }


    .outbreak-footer {
        padding: 22px;
    }


    .forum-row {
        padding: 14px;
    }


    .forum-icon {
        width: 34px;
        height: 34px;
    }

    .outbreak-mini-stats {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   15. FULL WIDTH BOARDSTATS
   ========================================================= */

.outbreak-boardstats {
    width: 100%;
    max-width: 1200px;

    margin: -18px auto 0;

    padding: 0 38px 38px;

    box-sizing: border-box;
}


/* =========================================================
   WHO IS ONLINE / WHO WAS ONLINE
   ========================================================= */

.outbreak-online-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 14px;

    width: 100%;
}


.outbreak-online-box {
    min-width: 0;

    width: 100%;

    background: #111;

    border: 1px solid var(--outbreak-line);

    overflow: hidden;
}


.outbreak-online-box table {
    width: 100% !important;

    margin: 0 !important;

    border: 0 !important;

    background: transparent !important;
}


.outbreak-online-box .thead {
    padding: 13px 18px !important;

    background: #171717 !important;

    border-bottom: 1px solid #303030 !important;

    color: #ddd !important;

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 2px;

    text-transform: uppercase;
}


.outbreak-online-box .trow1,
.outbreak-online-box .trow2 {
    background: #111 !important;

    color: #aaa !important;
}


.outbreak-online-box a {
    color: #d8d2c5;

    text-decoration: none;
}


.outbreak-online-box a:hover {
    color: var(--outbreak-pink);
}


.outbreak-online-box .smalltext {
    color: #777 !important;
}


/* =========================================================
   FIVE MINI STATISTICS
   ========================================================= */

.outbreak-mini-stats {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 14px;

    margin-top: 10px;
}


.outbreak-mini-stat {
    min-width: 0;

    padding: 20px 18px;

    background: #121212;

    border: 1px solid var(--outbreak-line);

    text-align: center;
}


.outbreak-mini-stat-label {
    display: block;

    margin-bottom: 8px;

    color: #77736c;

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 2px;

    text-transform: uppercase;
}


.outbreak-mini-stat-value {
    color: #e8e3da;

    font-size: 20px;
    font-weight: 900;

    line-height: 1.2;
}


.outbreak-mini-stat-value a {
    color: var(--outbreak-pink);

    text-decoration: none;
}


.outbreak-mini-stat-value a:hover {
    color: #f06b8b;
}


/* =========================================================
   16. USER AREA
   ========================================================= */

.outbreak-user {
    display: flex;

    align-items: center;

    gap: 10px;

    white-space: nowrap;
}

.outbreak-user-avatar {
    width: 50px;
    height: 50px;

    flex: 0 0 50px;

    overflow: hidden;

    border: 1px solid var(--outbreak-red);

    border-radius: 50%;

    background: #080808;
}

.outbreak-user-avatar img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.outbreak-user-welcome {
    white-space: nowrap;
}

.outbreak-user-welcome span {
    color: #d8d2c5;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1px;

    text-transform: uppercase;
}