@font-face {
    font-family: Montserrat;
    src: url("../fonts/montserrat-latin.woff2") format("woff2");
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
}

@media screen {
    html {
        scrollbar-gutter: stable;
    }
}

.archive-header {
    height: 40px;
}

.archive-site-header .wn-logo {
    width: 201px;
    max-width: 60vw;
    height: auto;
    vertical-align: middle;
}

.archive-site-header .mainmenu {
    table-layout: fixed;
}

.archive-mobile-header {
    display: none;
}

.archive-site-header + .breadcrumbwrap {
    margin-top: 15px;
}

.archive-welcome {
    margin: 13px 0 14px;
}

.archive-category [data-collapse],
.archive-mobile-header button,
.archive-page-jump button,
.archive-sort-link {
    background: none;
    border: 0;
    margin: 0;
    padding: 0;
    cursor: pointer;
    font: inherit;
    color: inherit;
}

.archive-category [data-collapse] {
    float: right;
}

.archive-board-pager {
    min-height: 31px;
}

.archive-board-pager .archive-pagination {
    margin: 0;
    padding-top: 5px;
}

.archive-thread-markers {
    float: right;
    white-space: nowrap;
}

#threadslist .archive-thread-name > div,
#threadslist .tbitlastpost {
    line-height: normal;
}

.archive-popover {
    display: inline-block;
    position: relative;
}

.archive-popover summary {
    display: block;
    font-weight: bold;
    cursor: pointer;
    list-style: none;
}

.archive-popover summary::-webkit-details-marker {
    display: none;
}

.archive-popover .vbmenu_popup {
    min-width: 155px;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 2;
    padding: 6px;
}

.archive-popover .vbmenu_popup a,
.archive-popover .vbmenu_popup button {
    display: block;
    margin: 5px;
    color: #333 !important;
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    cursor: pointer;
}

.archive-thread-menu {
    float: right;
}

.archive-thread-menu #threadtools,
.archive-thread-menu #displaymodes,
.archive-thread-menu #threadrating {
    background: none;
}

.fdlink summary {
    color: white;
    font-size: 13px;
}

.archive-sort-controls,
.archive-status-legend {
    display: flex;
    gap: 10px 15px;
    flex-wrap: wrap;
}

.archive-display {
    margin-top: 18px;
}

.archive-status-legend {
    margin: 13px 0;
}

.archive-site-header > .archive-header td {
    vertical-align: middle;
}

.archive-mobile-header .burgericon {
    width: auto;
    height: 22px;
    margin: 0;
}

.archive-pagination {
    display: flex;
    justify-content: flex-end;
    clear: both;
    margin: 8px 0;
}

.archive-pagination[hidden] {
    display: none;
}

.archive-page-popup {
    position: fixed;
    z-index: 50;
}

.archive-page-popup > label,
.archive-page-popup > .vbmenu_option {
    display: block;
    padding: 5px 7px;
}

.archive-page-popup input {
    width: 4em;
    font-size: 11px;
}

.archive-page-error:not(:empty) {
    margin-top: 4px;
}

.archive-faq-search {
    margin: 10px 0;
}

.archive-faq-search > .alt1 {
    padding: 6px;
}

.archive-faq-search [role="status"]:not(:empty) {
    margin-top: 5px;
}

.archive-pagination td {
    white-space: nowrap;
}

.archive-pagination a {
    display: inline-block;
    text-align: center;
}

.archive-pagination .alt1 a {
    color: #666 !important;
    font-size: 10.6667px;
    font-weight: 400;
}

.archive-post,
.archive-thread-name {
    overflow-wrap: anywhere;
}

.archive-post-image,
.archive-post img {
    max-width: 100%;
    height: auto;
}

.archive-author-name .bigusername {
    color: #0083c7;
}

.archive-author .myavatar {
    max-width: 110px;
    max-height: 110px;
    object-fit: contain;
    margin-top: 5px;
}

.archive-author-stats {
    margin-top: 9px;
}

.archive-post-status td {
    padding-block: 3px;
}

#posts > table,
.archive-poll,
.archive-tags {
    margin-bottom: 6px;
}

.archive-quote {
    margin: 5px 20px 10px;
}

.archive-quote table {
    width: 100%;
}

.archive-quote .alt2 {
    border: 1px inset #d6d6d6;
}

.archive-divider {
    border: 0;
    border-top: 1px solid #e1e1e1;
}

.archive-signature {
    border-top: 1px solid #dedede;
    margin-top: 20px;
    padding-top: 6px;
    font-size: 0.9em;
}

.codeblock {
    padding: 8px;
    overflow: auto;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.archive-left { text-align: left; }
.archive-center { text-align: center; }
.archive-right { text-align: right; }
.archive-indent { padding-inline-start: 24px; }
.archive-size-1 { font-size: x-small; }
.archive-size-2 { font-size: small; }
.archive-size-3 { font-size: medium; }
.archive-size-4 { font-size: large; }
.archive-size-5 { font-size: x-large; }
.archive-size-6, .archive-size-7 { font-size: xx-large; }

.archive-online,
.archive-summary > div,
.archive-tags > div,
.archive-faq > div {
    padding: 6px;
}

.archive-forum-jump {
    margin: 15px 0;
    text-align: right;
}

.archive-nearby {
    text-align: center;
    margin-block: 10px;
}

.archive-forum-jump select {
    max-width: min(70vw, 310px);
}

.archive-board-label {
    height: 57px;
}

.archive-board-total,
.archive-board-replies {
    width: 64px;
    text-align: center;
}

.archive-board-last {
    width: 210px;
}

.archive-category {
    margin-bottom: 15px;
}

.archive-faq h2 {
    margin: 0;
    padding: 8px 6px;
}

.archive-thread-status {
    width: 26px;
}

.archive-thread-last {
    width: 138px;
}

.archive-replies, .archive-views {
    width: 55px;
}

.archive-credit {
    text-align: center;
    line-height: 1.45;
    margin-block: 15px;
}

@media (max-width: 780px) {
    .archive-site-header .archive-header,
    .archive-site-header .mainnavbar:not(.is-open) {
        display: none !important;
    }

    .archive-mobile-header {
        height: 50px;
        padding: 0 10px;
        background: white;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .archive-mobile-header button {
        min-width: 38px;
        min-height: 38px;
    }

    .archive-category .hideforumicon {
        display: table-cell;
    }

    .archive-status-legend {
        gap: 5px 10px;
    }

    .archive-pagination {
        overflow-x: auto;
    }

    .archive-board-last,
    .archive-thread-last,
    .archive-thread-status,
    .archive-board-replies,
    .archive-views,
    .archive-post-status {
        display: none;
    }

    .archive-thread-name {
        width: 100%;
    }

    #posts .headstyle,
    #posts .custompostbit {
        display: flex;
        flex-wrap: wrap;
    }

    #posts .custompostbit .archive-author,
    #posts .custompostbit .archive-post {
        box-sizing: border-box;
        display: block;
        width: 100%;
    }

    #posts .headstyle .block2 {
        flex: 1;
        white-space: nowrap;
    }

    #posts .headstyle .postcount {
        flex: 0 0 auto;
        width: auto !important;
    }

    html.range_0 #posts .headstyle {
        align-items: center;
    }

    html.range_0 #posts .headstyle .thead {
        height: auto;
        line-height: normal;
    }

    html.range_0 #posts .custompostbit {
        top: auto;
    }

    .archive-author .myavatar {
        max-width: 48px;
        max-height: 48px;
    }

    .archive-author .reposition3:empty,
    .archive-author-stats:empty {
        display: none;
    }

    .archive-author-stats {
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
        margin-top: 3px;
    }

    .archive-quote {
        margin-inline: 8px;
    }
}
