body, html {
    background-color: #0f212b;
}

h2 {
    font-size: 20px;
}

#wrap-header, #wrap-header-index {
    background-color: #05294299;
    max-width: 1200px;
    margin: 0 auto;
}

#site-desc-full, #site-desc-small {
    background-color: transparent;
    max-width: 1200px;
    margin: 0 auto 0;
    overflow: visible;
}

#site-desc-full img, #site-desc-small img, #sub-header img {
    font-size: 0;
    object-position: left center;
}

.header-images {
    border-radius: 0;
    bottom: 0;
    height: 100%;
    left: 0;
    mix-blend-mode: lighten;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
}

.slick-track, .slick-list {
    height: 100%;
}

#page-description {
    text-shadow: 0 2px 3px rgba(0, 0, 0, 0.9);
}

#wrap {
    margin-top: -36px;
}

#main-index {
    padding-top: 18px;
}

.sub-header-title {
    max-width: 60%;
}

.site_logo {
    background-image: url('{T_THEME_PATH}/images/logo.png');
    height: 36px;
    width: 36px;
}

#logo2 {
    left: calc(75% - 82px);
    margin: 0;
    position: absolute;
    top: 321px;
    z-index: 10;
    display: none;
}

.site_logo2 {
    background-image: url('{T_THEME_PATH}/images/logo2.png');
    background-size: 100%;
    display: inline-block;
    height: 164px;
    width: 164px;
}

.fora-bg, .forum-bg {
    border: 1px solid #aaaaaa;
    box-shadow: 0px 0px 3px 0 rgb(0 0 0 / 20%);
}

.fora-bg h3, .forum-bg h3 {
    background-color: #0f2940;
    font-size: 1.6em;
    font-weight: 400;
}

.fora-bg h3, .fora-bg h3 a {
    color: #fff;
}

.fora-row.w-image {
    border-color: transparent;
}

.fora-row.w-image .username-coloured {
    background-color: #F8F8F8;
    border-radius: 2px;
    padding: 0 6px;
}

.fora-row.w-image, .fora-row.w-image a, .fora-row.w-image .fora-icon {
    color: #FAFAFA;
}

.fora-row.w-image a:hover {
    color: #ACACAC;
}

.fora-bg dfn {
    color: inherit;
}

.fora-row > img {
    position: absolute;
    left: -5px;
    right: -5px;
    bottom: -5px;
    top: -5px;
    z-index: 0;
    width: calc(100% + 10px);
    height: calc(100% + 10px);
    object-fit: cover;
    object-position: 100% 73%;
    filter: brightness(0.25);
    display: block;
}

.fora-bg h4 {
    font-size: 1.6rem;
}

.fora-bg > ol > li::after {
    height: 0;
}

.fora-stats {
    font-size: 1.2em;
    line-height: 1.5;
    padding-bottom: 21px;
    padding-top: 21px;
}

.fora-recent {
    font-size: 1.2em;
    line-height: 1.5;
    padding-bottom: 13px;
    padding-top: 13px;
}

.fora-description, .fora-recent, .fora-stats {
    position: relative;
}

.fora-icon, .fora-description, .fora-recent, .fora-stats {
    z-index: 1;
}

.fora-description-inner {
    line-height: 1.5;
    padding: 12px 9px;
}

.quick-links-nav {
    list-style: none;
    text-align: right;
}

.quick-links-nav li {
    display: inline-block;
    font-size: 1.4em;
    line-height: 1;
    margin: 0 16px;
    position: relative;
    font-weight: 700;
    text-transform: uppercase;
    padding: 15px 0;
}

.quick-links-nav a {
    display: block;
    padding: 9px 18px;
}

.quick-links-nav .activetab a {
    font-weight: 400;
}

.quick-links-nav img {
    filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.2));
    height: 64px;
    margin: -24px 18px -24px -9px;
    width: auto;
}

@media only screen and (max-width: 1000px) {
    .quick-links-nav {
        max-width: 100%;
    }

    .quick-links-nav a img {
        margin-left: 9px;
        margin-right: 9px;
    }

    .quick-links-nav a span {
        display: none;
    }
}

@media only screen and (max-width: 800px) {
    .quick-links-nav {
        margin-top: 72px;
    }
}

@media only screen and (max-width: 490px) {
    .quick-links-nav a img {
        margin-left: 0;
        margin-right: 0;
    }
}

.quick-links-panel-wrap {
    max-height: 400px;
    opacity: 1;
    transition: all 0.8s linear;
}

.quick-links-hidden {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

.quick-links-panel {
    display: grid;
    gap: 36px;
    grid-template-columns: 300px 1fr;
    padding: 30px;
    box-shadow: 0px 0px 3px 0 rgb(0 0 0 / 20%);
    background-color: #eee;
}

.quick-links-main > div {
    align-items: center;
    display: flex;
    font-size: 18px;
    gap: 18px;
    padding: 0 18px 18px;
}

.quick-links-main img {
    max-width: 64px;
}

.quick-links-side {
    font-size: 18px;
    display: flex;
    justify-content: space-between;
}

.quick-links-side ul {
    list-style: none;
}

.quick-links-side li {
    margin-top: 18px;
}

.news {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr));
    margin-bottom: 18px;
}

.news-title {
    font-size: 14px;
    margin-bottom: 9px;
}

.news-date {
    font-size: 13px;
    font-weight: 700;
    opacity: 0.6;
    text-transform: uppercase;
    display: block;
    margin-top: 10px;
}

#wrap-footer {
    background-color: #0f2940;
}

.misc-panels a {
    border-style: solid;
    border-width: 0 0 6px;
    display: inline-block;
    font-weight: 600;
    padding-bottom: 9px;
}

.misc-panels .activetab a {
    border-color: #F44336;
}

.no-avatar .avatar-container {
    float: right;
}

.postprofile .avatar-none {
    display: none;
}

.background-normal, .background-deep, .background-main {
    background-color: #ffffff;
}

.page-body .background-deep {
    transition: all .3s linear;
}

.fora-bg li, .forum-bg li {
    background-color: #eee;
}

.background-main .box-normal {
    color: #1e1e1e;
    background-color: #eee;
    border: 1px solid #aaaaaa;
}

.dimmed {
    color: #000000;
}

#wrap-footer a, #wrap-footer {
    color: #fff!important;
}

a:visited, .sub-header-title a, .sub-header-title a:visited {
    color: #1e1e1e;}

#wrap-footer {
    color: #fff;
}

#sub-header.sub-header-small {
    background-color: #eee;
    padding: 36px 0;
}

.chunk, .chunk-inner {
    max-width: 1200px;
}

#logo img {
    max-width: 35px;
}

.logo-badge img {
    max-width: 60px;
}

.navbar3 {
    position: relative;
}

.logo-badge {
    position: absolute;
    z-index: 3;
}

.dropdown-profile {
    left: 200px;
}

.rtl .dropdown-profile {
    left: auto;
    right: 200px;
}

@media (min-width: 701px) {
    .postprofile {
        padding-right: 18px;
        width: 200px;
    }

    .postbody {
        margin-left: 200px;
    }

    .rtl .postprofile {
        padding-left: 18px;
        padding-right: 0;
    }

    .rtl .postbody {
        margin-right: 200px;
        margin-left: 0;
    }
}

@media (max-width: 700px) {
    .navbar2, .logo-badge, .standard-profile {
        display: none;
    }

    #news-columns {
        flex-wrap: wrap;
    }
}

.avatar-none, .avatar > img {
    border-radius: 0;
}

.avatar > img, .pm .avatar > img, .pm-self .avatar > img {
    height: auto;
    max-height: 100%;
}

body {
    padding: 0 18px;
}

#wrap {
    border-radius: 2px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.24);
    margin: 0 auto;
    max-width: 1200px;
}

#wrap-inner {
    background-color: #fff;
    border-radius: 2px;
}

.chunk {
    padding: 0 36px;
}

.chunk-inner {
    padding: 0 18px;
}

#wrap-header, #wrap-header-index {
    border-radius: 2px 2px 0 0;
}

.is-sticky #wrap-header, .is-sticky #wrap-header-index {
    border-radius: 0;
}

#site-desc-full, #site-desc-small, #sub-header {
    border-radius: 2px 2px 0 0;
}

#wrap-footer {
    border-radius: 0 0 2px 2px;
}

#information {
    border-radius: 2px 2px 0 0;
}

@media (max-width: 1000px) {
    #wrap {
        margin: 0;
    }

    .chunk-inner {
        padding: 0;
    }
}

.postbody {
    background-color: #EEE;
    border-width: 0 0 0 1px;
    border-color: #AAA;
}

.rtl .postbody {
    border-width: 0 1px 0 0;
}

.post-actions {
    clear: both;
    background-color: #e8e8e8;
    border-color: #AAA;
}

.postbody:after {
    clear: both;
    content: "";
    display: block;
}

.pm-self .postbody {
    border-width: 0 1px 0 0;
}

.rtl .pm-self .postbody {
    border-width: 0 0 0 1px;
}

.pm .postprofile, .pm-self .postprofile {
    width: 53px;
}

@media (min-width: 701px) {
    .postprofile {
        padding: 18px;
    }

    .pm .postprofile, .pm-self .postprofile {
        padding: 18px 9px;
    }
}

@media (min-width: 601px) and (max-width: 700px) {
    .postprofile, .pm-self .postprofile {
        width: 53px;
    }
}

.post {
    background-color: rgb(232, 232, 232);
    border-color: #AAAAAA;
    border-radius: 2px;
    border-style: solid;
    border-width: 1px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.03);
}

.post.reported {
    border-color: #FFCFDB;
}

.post.unapproved {
    border-color: #FFCFBD;
}

@media (max-width: 600px) {
    .pm .postprofile, .pm-self .postprofile {
        margin: 0;
    }
}

#main-index {
    padding-top: 10px;
}

#phpbb #site-desc-full #page-description {
    display: none;
}

.action-bar-top {
    border-bottom-color: #AAA;
}

.background-normal h3, .background-deep h3, .background-normal h3 a, .background-deep h3 a, .background-normal, .background-deep {
    color: #1e1e1e;
}

.fora-bg dfn, .forum-bg dfn {
    color: #000;
}

body, html {
    background-color: #0f212b;
    color: #1e1e1e;
}

.background-normal h3, .background-deep h3, .background-normal h3 a, .background-deep h3 a, .background-normal, .background-deep {
    color: #1e1e1e;
}

.fora-bg dfn, .forum-bg dfn {
    color: #000;
}

body, html {
    background-color: #0f212b;
    color: #1e1e1e;
}

.sub-header-small .sub-header-title p {
    color: #000;
}

.fora-bg h4, .forum-bg h4, .fora-bg h4 a, .forum-bg h4 a {
    color: #1e1e1e;
}

.panel-body.profile {
    font-size: 14px;
    padding: 1em 5%;
}

.panel-body.profile label {
    font-weight: 700;
}

.panel-body.profile li {
    margin-bottom: 10px;
    list-style: none;
}

#viewprofile .group-buttons {
    text-align: center;
    margin-top: 10px;
}

#viewprofile button {
    font-weight: 700;
    padding: 8px 15px;
    margin-left: 10px;
    border: 1px solid #aaa;
}

.panel-medal>.panel-inner>table>thead>tr th {
    background-color: #172d45;
    padding: .75em;
    color: white;
}

.panel-medal>.panel-inner>table>thead>tr th:first-child {
    border-top-left-radius: 3px;
}

.panel-medal>.panel-inner>table>thead>tr th:last-child {
    border-top-right-radius: 3px;
}

.panel-medal h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}

.table-striped>tbody>tr:nth-of-type(odd) {
    background-color: #f9f9f9
}

#site-desc-full {
    height: 305px;
}

.quick-links-nav .dropdown-marker {
    color: #e73f15;
}

.quick-links-nav li:hover {
    color: #e73f15;
}

.quick-links-panel a:hover {
    color: #e73f15;
}

.quick-links-main {
    border-right: 1px solid #aaa;
}

@media (max-width: 667px) {
    .background-deep > .chunk > ul.quick-links-nav {
        display: none;
    }

    #site-desc-full {
        height: 55px;
    }
}

.navbar2 {
    background-color: #fff;
}

.navbar2.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid #0f2940;
}

.navbar2.sticky .phpbb_announcement {
    display: none;
}

.navbar2 .quick-links-nav {
    border-bottom: 2px solid #0f2940;
}

.navbar2.sticky .quick-links-nav {
    border-bottom: none;
}

.medals img {
    width: 45%;
    max-width: 70px;
}

#news-events h3 {
    cursor: pointer;
    padding-bottom: 8px;
    border-bottom: 5px solid #e73f15;
    margin-bottom: -3px;
    color: #e73f15;
}

#news-div {
    padding-bottom: 20px;
}

.news-column {
    width: 260px;
}

#news-columns {
    display: flex;
    gap: 10px;
}

#news-div {
    padding-bottom: 20px;
}

.news-column {
    width: 260px;
}

#news-columns {
    display: flex;
    gap: 10px;
}

#news-events {
    display: flex;
    gap: 10px;
    border-bottom: 1px solid #aaa;
}

#news-body {
    margin-top: 10px;
}

.site-nav>li>a {
    color: #fff;
}
