/* Steinbock & Partner, Anpassung 3 auf Basis von Supernova 1.1.14. */
#phpbb {
    background-color: #f4f7fb;
    color: #273449;
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-size: 12px;
}

#phpbb #page-header {
    background: linear-gradient(115deg, #00418d 0%, #004595 55%, #09539d 100%);
    height: auto;
    min-height: 100px;
}

#phpbb .site-description {
    height: 100px;
    max-width: 100%;
    margin: 0;
}

#phpbb #logo {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 390px;
    max-width: 100%;
    height: 80px;
    margin: 10px 0;
    padding: 10px 0;
    background: transparent;
}

#phpbb .steinbock-logo {
    display: block;
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
}

#phpbb .navigation-top {
    background: #e8eff7;
}

#phpbb .nav-main a,
#phpbb .navbar-wrap a {
    color: #004595;
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: normal;
    text-transform: none;
}

#phpbb .nav-main a:hover,
#phpbb .navbar-wrap a:hover {
    color: #002e66;
}

#phpbb #logo:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
}

/* Die alten Schattenbilder durch einen dezenten CSS-Schatten ersetzen. */
#phpbb .wrap {
    background: #ffffff;
    border: 1px solid #e1e7ef;
    border-radius: 8px;
    box-shadow: 0 4px 18px rgba(16, 40, 72, 0.07);
    margin-top: 28px;
    margin-bottom: 24px;
    padding-bottom: 18px;
}

#phpbb .sn-cat-header {
    background: linear-gradient(115deg, #00418d, #09539d);
    border-radius: 5px;
}

#phpbb .sn-cat-row {
    background: #ffffff;
    border: 1px solid #dce5ef;
}

#phpbb .sn-cat-footer {
    background: #ffffff;
}

#phpbb .sn-cat-header::before,
#phpbb .sn-cat-header::after,
#phpbb .sn-cat-row::before,
#phpbb .sn-cat-row::after,
#phpbb .sn-cat-footer::before,
#phpbb .sn-cat-footer::after {
    display: none;
}

#phpbb .cat-name,
#phpbb .cat-name span {
    background: none;
}

#phpbb .cat-name span,
#phpbb .cat-name span a,
#phpbb .header a {
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: normal;
    text-transform: none;
    color: #ffffff;
}

#phpbb li.header dd,
#phpbb li.header dt,
#phpbb table.table1 thead th,
#phpbb table.table1 thead th a,
#phpbb .ucp-main .header a,
#phpbb .mcp-main .header a {
    text-shadow: none;
}

#phpbb li.header dd,
#phpbb li.header dt {
    text-transform: none;
}

#phpbb .forabg,
#phpbb .forumbg {
    background: linear-gradient(115deg, #00418d, #09539d);
    border-radius: 5px;
}

#phpbb li.row {
    background-image: none;
    background-color: #ffffff;
    border-top-color: #e3eaf2;
}

#phpbb li.row:hover {
    background-color: #f0f5fb;
}

#phpbb a.forumtitle,
#phpbb a.topictitle {
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    color: #004595;
    font-size: 15px;
    font-weight: 600;
}

#phpbb .sn-forum-description {
    font-size: 12px;
    line-height: 1.5;
}

#phpbb h2,
#phpbb h3 {
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    letter-spacing: normal;
}

#phpbb .postbody .content,
#phpbb #message-box textarea {
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    /* Supernova setzt .content selbst mit !important auf 1.1em. */
    font-size: 16px !important;
    line-height: 1.6;
    color: #273449;
}

#phpbb .postbody .content p {
    font-family: inherit;
    font-size: inherit;
}

#phpbb .postbody blockquote {
    font-size: 14px;
    border-color: #c8d7e8;
}

#phpbb .post {
    border: 1px solid #e1e7ef;
    border-radius: 6px;
}

#phpbb .button,
#phpbb input.button1,
#phpbb input.button2,
#phpbb input.button3,
#phpbb a.button1,
#phpbb a.button2 {
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    background: linear-gradient(#ffffff, #edf3fa);
    border-color: #bdcfe4;
    border-radius: 4px;
    color: #004595;
    text-shadow: none;
}

#phpbb .sn-btn,
#phpbb .button.btn:hover,
#phpbb .sn-btn:hover,
#phpbb .sn-btn:focus {
    background: linear-gradient(115deg, #00418d, #09539d);
    outline: none;
    border: 1px solid #00418d;
    color: #ffffff;
    text-shadow: none;
}

#phpbb .button:focus-visible,
#phpbb .sn-btn:focus-visible {
    outline: 2px solid #004595;
    outline-offset: 2px;
}

#phpbb .search-box .inputbox,
#phpbb .search-box .inputbox:hover,
#phpbb .search-box .inputbox:focus {
    background: #ffffff;
    color: #273449;
    padding-left: 8px;
}

@media (max-width: 700px) {
    #phpbb .headerbar > .inner {
        padding-left: 12px;
        padding-right: 12px;
    }

    #phpbb .site-description {
        width: 100%;
    }

    #phpbb #logo {
        width: 390px;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    #phpbb .wrap {
        margin-top: 16px;
        border-radius: 5px;
        min-width: 0;
        box-sizing: border-box;
        width: calc(100% - 16px);
        padding: 12px;
    }
}

/* Statussymbole: ungelesen gefÃ¼llt, gelesen als Kontur. */
#phpbb .forum_read,
#phpbb .forum_read_subforum {
    background-image: url("./images/steinbock-forum-read.svg");
}

#phpbb .forum_unread,
#phpbb .forum_unread_subforum {
    background-image: url("./images/steinbock-forum-unread.svg");
}

#phpbb .forum_read_locked {
    background-image: url("./images/steinbock-forum-read-locked.svg");
}

#phpbb .forum_unread_locked {
    background-image: url("./images/steinbock-forum-unread-locked.svg");
}

#phpbb .forum_link {
    background-image: url("./images/steinbock-forum-link.svg");
}

#phpbb .row .sn-index-icon.row-item {
    left: 0;
    padding-left: 0;
    background-size: 32px 32px;
    background-position: 12px 50%;
}

#phpbb .row .sn-index-icon.row-item dt .list-inner {
    padding: 12px 0 12px 58px;
}

#phpbb .row .sn-index-icon.row-item dd {
    padding-top: 12px;
    padding-bottom: 12px;
    /* prosilver koppelt sonst 999px Innenabstand an einen negativen Rand. */
    margin-bottom: 0;
}

#phpbb .row .sn-index-icon.row-item .row-item-link {
    left: 12px;
    top: 50%;
    margin-top: -16px;
    margin-left: 0;
    width: 32px;
    height: 32px;
}

#phpbb .sn-cat-header > ul.topiclist > li.header {
    height: auto;
    min-height: 32px;
}

#phpbb .sn-cat-header > ul.topiclist > li.header .cat-name {
    padding-top: 4px;
}

/* LÃ¤ngere Navigation bleibt Teil des vorhandenen phpBB-MenÃ¼s. */
#phpbb .navigation-top {
    height: auto;
    min-height: 51px;
}

#phpbb #nav-main > li {
    margin-right: 8px;
}

#phpbb .nav-main .dropdown-contents a {
    line-height: 1.5;
    padding-top: 7px;
    padding-bottom: 7px;
}

#phpbb .steinbock-mobile-label {
    display: none;
}

/* Autoren, Zitate und AnhÃ¤nge. Profilbreiten steuert weiter prosilver. */
#phpbb .post {
    padding: 14px;
    margin-bottom: 14px;
}

#phpbb .postprofile {
    box-sizing: border-box;
    background: #f2f6fb;
    border-color: #dce5ef;
    border-radius: 5px;
    padding: 10px;
    color: #52627a;
    overflow-wrap: anywhere;
}

#phpbb .postprofile dt,
#phpbb .postprofile dd {
    margin-left: 0;
}

#phpbb .postprofile .avatar img {
    border-radius: 4px;
    max-width: 100%;
}

#phpbb .postbody blockquote {
    background: #f3f7fc;
    border: 1px solid #dce5ef;
    border-left: 3px solid #004595;
    border-radius: 4px;
    padding: 12px 14px;
    margin: 16px 0;
    line-height: 1.6;
}

#phpbb .postbody blockquote blockquote {
    background: #ffffff;
    margin: 12px 0;
}

#phpbb .postbody blockquote cite {
    color: #004595;
    font-size: 13px;
    margin-bottom: 8px;
}

#phpbb .attachbox {
    float: none;
    background: #f7f9fc;
    border: 1px solid #dce5ef;
    border-radius: 5px;
    padding: 12px;
    margin: 14px 0;
}

#phpbb .attachbox dt,
#phpbb dl.file {
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    text-transform: none;
}

#phpbb .attachbox dd {
    border-top-color: #dce5ef;
    padding-top: 10px;
    margin-top: 8px;
}

#phpbb dl.file a,
#phpbb .attachbox .filename {
    overflow-wrap: anywhere;
}

#phpbb .attach-image img,
#phpbb .postbody .content img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 950px) {
    #phpbb .steinbock-nav-label {
        display: none;
    }

    #phpbb .steinbock-mobile-label {
        display: inline;
    }
}

@media (max-width: 700px) {
    #phpbb .navigation-top {
        padding: 0 8px;
        box-sizing: border-box;
    }

    #phpbb #nav-main > li {
        margin-right: 4px;
    }

    #phpbb .post {
        padding: 12px;
        margin-left: 0;
        margin-right: 0;
    }

    #phpbb .headerbar {
        margin-left: 0;
        margin-right: 0;
    }

    #phpbb .post .postprofile {
        background: #f2f6fb;
        padding: 8px;
        margin-bottom: 12px;
    }

    #phpbb .postbody .content {
        overflow-wrap: anywhere;
    }

    #phpbb .postbody blockquote {
        padding: 10px;
    }

    #phpbb #message-box {
        width: 100%;
    }

    #phpbb #message-box textarea {
        box-sizing: border-box;
        max-width: 100%;
    }
}

/* Forumsbreite wie beim ursprünglichen prosilver-Style */
:root {
    --max-width: 1350px;
}

#phpbb .forabg,
#phpbb .forumbg {
    max-width: calc(var(--max-width) - 28px);
}

/* Oberen Bereich kompakter gestalten */
#phpbb .wrap {
    margin-top: 12px;
    padding-top: 8px;
}

#phpbb.section-index #wrap > .navbar-wrap {
    padding: 2px 8px;
    margin-bottom: 0;
}

#phpbb.section-index #nav-breadcrumbs {
    padding: 0;
    margin: 0;
    border-top: 0;
}

#phpbb.section-index #nav-breadcrumbs > li {
    line-height: 1.6;
    padding-top: 0;
}

#phpbb.section-index #page-body {
    margin-top: 0;
}

#phpbb.section-index #page-body > .action-bar.compact {
    margin: 2px 0 6px;
    line-height: 1.4;
}

/* Überschriften an den Zählerspalten ausrichten */
@media (min-width: 951px) {
    #phpbb .sn-cat-header-index li.header dt {
        margin-right: -440px;
    }

    #phpbb .sn-cat-header-index li.header dt .list-inner {
        margin-right: 440px;
    }
}

@media (min-width: 701px) and (max-width: 950px) {
    #phpbb .sn-cat-header-index li.header dt {
        margin-right: -410px;
    }

    #phpbb .sn-cat-header-index li.header dt .list-inner {
        margin-right: 410px;
    }
}

/* Foren-Übersicht etwas hervorheben */
#phpbb #nav-breadcrumbs .crumb a {
    font-size: 15px;
    font-weight: 600;
}

#phpbb #nav-breadcrumbs .crumb a .icon {
    font-size: 16px;
    vertical-align: baseline;
}

/* Navigationspfad auf allen Forumsseiten kompakter */
#phpbb #wrap > .navbar-wrap {
    padding: 2px 8px;
    margin-bottom: 0;
}

#phpbb #nav-breadcrumbs {
    padding: 0;
    margin: 0;
    border-top: 0;
}

#phpbb #nav-breadcrumbs > li {
    line-height: 1.6;
    padding-top: 0;
}

#phpbb #nav-breadcrumbs .crumb a {
    font-size: 15px;
    font-weight: 600;
}

#phpbb #nav-breadcrumbs .crumb a .icon {
    font-size: 16px;
    vertical-align: baseline;
}

#phpbb #page-body {
    margin-top: 0;
}