@import url("../../prosilver/theme/stylesheet.css");

:root {
    --nth-bg: #f8f8f5;
    --nth-panel: #ffffff;
    --nth-panel-soft: #f1f1ec;
    --nth-border: #deded7;
    --nth-border-strong: #c9c9bf;
    --nth-text: #171c1a;
    --nth-muted: #66706a;
    --nth-brand: #133f2e;
    --nth-brand-2: #2f6b4d;
    --nth-brass: #b2862c;
    --nth-blue: #496d8f;
    --nth-red: #8f4f46;
}

html,
body {
    background: var(--nth-bg);
    color: var(--nth-text);
    font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
}

body {
    margin: 0;
}

a {
    color: var(--nth-brand);
}

a:hover {
    color: var(--nth-brand-2);
}

#wrap.wrap {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
    max-width: none;
    min-width: 0;
    padding: 0;
}

.wrap {
    max-width: none;
}

.inner {
    margin: 0 auto;
    max-width: 1480px;
    padding-left: 18px;
    padding-right: 18px;
}

#page-header {
    background: var(--nth-panel);
    border-bottom: 1px solid var(--nth-border);
    position: sticky;
    top: 0;
    z-index: 20;
}

.headerbar {
    background: transparent;
    border: 0;
    border-radius: 0;
    color: var(--nth-text);
    margin: 0;
    min-height: 78px;
    padding: 0;
}

.headerbar .inner {
    align-items: center;
    display: grid;
    gap: 24px;
    grid-template-columns: 280px minmax(420px, 570px) minmax(220px, 1fr);
    min-height: 78px;
}

#site-description {
    align-items: center;
    display: flex;
    float: none;
    gap: 12px;
    height: auto;
    margin: 0;
    width: auto;
}

#site-description h1 {
    color: var(--nth-brand);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 33px;
    font-weight: 700;
    line-height: 1;
    margin: 0;
    text-shadow: none;
}

#site-description p {
    display: none;
}

.logo {
    display: inline-flex;
    float: none;
    height: 42px;
    padding: 0;
    width: 42px;
}

.site_logo {
    background: none;
    border: 2px solid var(--nth-brand);
    border-radius: 8px;
    display: block;
    height: 30px;
    margin: 4px;
    position: relative;
    transform: rotate(45deg);
    width: 30px;
}

.site_logo::before,
.site_logo::after {
    border: 1px solid var(--nth-brand);
    content: "";
    inset: 5px;
    position: absolute;
}

.site_logo::after {
    inset: 10px;
}

.search-header {
    border-radius: 8px;
    box-shadow: none;
    float: none;
    margin: 0;
    max-width: none;
    width: 100%;
}

.search-header fieldset {
    display: flex;
}

.search-header .inputbox {
    background: #fbfbfa;
    border: 1px solid var(--nth-border);
    border-radius: 8px 0 0 8px;
    box-shadow: none;
    color: var(--nth-text);
    font-size: 13px;
    height: 40px;
    padding: 0 12px;
    width: 100%;
}

.search-header .button {
    background: #fbfbfa;
    border-color: var(--nth-border);
    color: var(--nth-muted);
    height: 40px;
}

.navbar {
    background: var(--nth-panel);
    border: 0;
    border-radius: 0;
    color: var(--nth-muted);
    margin: 0;
    min-height: 0;
}

.navbar .inner {
    border-top: 0;
    min-height: 0;
}

.linklist > li {
    font-size: 13px;
}

#nav-main {
    align-items: center;
    display: flex;
    justify-content: flex-end;
    margin-top: -60px;
    min-height: 54px;
    position: relative;
    z-index: 2;
}

#nav-main > li {
    align-items: center;
    display: inline-flex;
    min-height: 36px;
}

#nav-main > li > a {
    align-items: center;
    border-radius: 7px;
    display: inline-flex;
    gap: 6px;
    min-height: 34px;
    padding: 0 9px;
}

#nav-main > li > a:hover {
    background: var(--nth-panel-soft);
    text-decoration: none;
}

#nav-main .rightside {
    border-left: 1px solid var(--nth-border);
    margin-left: 8px;
    padding-left: 8px;
}

#nav-breadcrumbs {
    display: none;
}

.nav-main a,
.nav-breadcrumbs a,
.nav-footer a {
    color: var(--nth-text);
}

#page-body {
    margin: 0 auto;
    max-width: 1480px;
    padding: 12px 18px 30px;
}

body[class*="section-app/netherese"] #page-body {
    max-width: none;
    padding: 0;
}

.forabg,
.forumbg {
    background: var(--nth-panel);
    border: 1px solid var(--nth-border);
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(23, 28, 26, 0.04);
    margin-bottom: 12px;
    padding: 0;
}

.forabg > .inner,
.forumbg > .inner {
    max-width: none;
    padding: 0;
}

.topiclist {
    margin: 0;
}

.topiclist li.header {
    background: var(--nth-panel);
    border-bottom: 1px solid var(--nth-border);
    border-radius: 8px 8px 0 0;
    color: var(--nth-text);
    padding: 0;
}

.topiclist li.header dl {
    min-height: 46px;
}

.topiclist li.header dt,
.topiclist li.header dd {
    color: var(--nth-text);
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 46px;
    text-transform: none;
}

ul.topiclist li.row {
    background: var(--nth-panel);
    border-top: 0;
    border-bottom: 1px solid var(--nth-border);
    color: var(--nth-text);
    margin: 0;
}

ul.topiclist li.row:hover {
    background: #fbfbf8;
}

ul.topiclist li.row:last-child {
    border-bottom: 0;
    border-radius: 0 0 8px 8px;
}

ul.topiclist dd {
    border-left: 1px solid var(--nth-border);
}

dl.row-item {
    background-position: 14px 50%;
    min-height: 82px;
}

dl.row-item dt {
    padding-bottom: 12px;
    padding-top: 12px;
}

dl.row-item dt .list-inner {
    padding-left: 62px;
    padding-right: 14px;
}

a.forumtitle,
a.topictitle {
    color: var(--nth-text);
    font-family: inherit;
    font-size: 17px;
    font-weight: 700;
}

a.forumtitle:hover,
a.topictitle:hover {
    color: var(--nth-brand);
    text-decoration: none;
}

.row-item .forumtitle + br,
.row-item .topictitle + br {
    display: block;
    margin-bottom: 4px;
}

.content,
.postbody {
    color: var(--nth-text);
}

.panel,
.post {
    background: var(--nth-panel);
    border: 1px solid var(--nth-border);
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(23, 28, 26, 0.04);
}

.button,
a.button1,
input.button1,
input.button2,
a.button2 {
    background: var(--nth-brand);
    border-color: var(--nth-brand);
    border-radius: 7px;
    box-shadow: none;
    color: #ffffff;
    font-weight: 700;
    padding: 6px 12px;
}

.button:hover,
a.button1:hover,
input.button1:hover,
input.button2:hover,
a.button2:hover {
    background: var(--nth-brand-2);
    border-color: var(--nth-brand-2);
    color: #ffffff;
}

.button-secondary,
a.button-secondary {
    background: #fbfbfa;
    border-color: var(--nth-border-strong);
    color: var(--nth-text);
}

.button-secondary:hover,
a.button-secondary:hover {
    background: var(--nth-panel-soft);
    border-color: var(--nth-border-strong);
    color: var(--nth-text);
}

.stat-block,
.headerspace {
    background: var(--nth-panel);
    border: 1px solid var(--nth-border);
    border-radius: 8px;
    margin-bottom: 12px;
    padding: 14px;
}

.stat-block h3 {
    border-bottom: 1px solid var(--nth-border);
    color: var(--nth-text);
    margin-bottom: 10px;
    padding-bottom: 8px;
}

#page-footer {
    background: var(--nth-panel);
    border-top: 1px solid var(--nth-border);
    color: var(--nth-muted);
    margin-top: 0;
    padding-top: 10px;
}

.copyright {
    color: var(--nth-muted);
    font-size: 12px;
}

@media (min-width: 960px) {
    body.section-index #page-body {
        display: grid;
        gap: 18px;
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 760px) {
    .inner {
        padding-left: 12px;
        padding-right: 12px;
    }

    .headerbar .inner {
        align-items: stretch;
        gap: 10px;
        grid-template-columns: 1fr;
        padding-bottom: 10px;
        padding-top: 10px;
    }

    #site-description h1 {
        font-size: 26px;
    }

    #page-body {
        padding: 10px 10px 24px;
    }

    body[class*="section-app/netherese"] #page-body {
        padding: 0;
    }

    #nav-main {
        justify-content: flex-start;
        margin-top: 0;
        overflow-x: auto;
    }

    dl.row-item dt .list-inner {
        padding-left: 48px;
    }
}
