@import url("https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;600;700&display=swap");

.forum-page {
    width: 100%;
    min-height: calc(100vh - 40px);
    padding: 10px 12px 25px;
    background-color: #fff;
    color: #191919;
    font-family: "Source Sans Pro", "Source Sans 3", Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 18.2px;
}

.forum-page a {
    color: #7b2cbf;
    font-weight: 400;
    text-decoration: none;
}

.forum-page button,
.forum-page input,
.forum-page select,
.forum-page textarea {
    font-family: "Source Sans Pro", "Source Sans 3", Arial, Helvetica, sans-serif;
}

.forum-page input:focus,
.forum-page select:focus,
.forum-page textarea:focus {
    outline: none;
    box-shadow: none;
}

.forum-container {
    width: 100%;
    max-width: 970px;
    min-height: 550px;
    margin: 0 auto;
}

.forum-top {
    display: flex;
}

.forum-crumbs {
    color: #000;
    font-weight: 700;
}

.forum-page .forum-crumbs a {
    font-weight: 700;
    letter-spacing: -0.1px;
}

.forum-links {
    margin-left: auto;
    white-space: nowrap;
}

.forum-page .forum-links a {
    padding: 0 5px;
    color: #343434;
    font-weight: 600;
}

.forum-page .forum-links a + a {
    border-left: 1px solid #000;
}

.forum-page .forum-links a:hover {
    text-decoration: underline;
}

.forum-tools {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin: 20px 0 7px;
}

.forum-time {
    margin-top: 3px;
    color: #000;
    font-weight: 400;
}

.forum-time strong {
    font-weight: 700;
}

.forum-search {
    display: flex;
    align-items: flex-start;
    margin-left: auto;
}

.forum-search label {
    margin: 2px 2px 0 0;
    color: #000;
    font-weight: 700;
}

.forum-search input {
    width: 181px;
    height: 22px;
    margin-right: 4px;
    padding: 1px 2px 1px 5px;
    border: 1px solid #7b2cbf;
    background-color: #fff;
    color: #191919;
    font-size: 14px;
    font-weight: 300;
    line-height: normal;
}

.forum-btn,
.forum-page a.forum-btn {
    display: inline-block;
    height: 23px;
    padding: 0 6px;
    border: 1px solid #777;
    background: #ccc url("/img/forum/control-medium.png") repeat-x top;
    color: #000;
    font-size: 12px;
    font-weight: 400;
    line-height: 21px;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
}

.forum-btn:hover {
    border-color: #888;
    background-position: bottom;
}

.forum-btn:disabled {
    border-color: #ccc;
    background-position: center;
    color: #a7a7a7;
    cursor: default;
}

.forum-btn-go {
    height: 22px;
    font-size: 14px;
}

.forum-page a.forum-btn-wide,
.forum-btn-wide {
    padding: 0 10px;
    font-size: 14px;
}

.forum-head,
.forum-bar,
.forum-foot {
    background-color: #7b2cbf;
    color: #fff;
}

.forum-head {
    display: flex;
    font-size: 20px;
    font-weight: 400;
    line-height: 20px;
}

.forum-head > div {
    display: flex;
    align-items: center;
    justify-content: center;
}

.forum-head > div:first-child {
    flex: 1 1 0;
    justify-content: flex-start;
    min-width: 0;
    padding: 6.5px 0 6.5px 8px;
}

.forum-foot {
    height: 33px;
}

.forum-row {
    display: flex;
}

.forum-row:hover {
    background-color: #e9e9e9;
}

.forum-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 12px;
    font-weight: 400;
    text-align: center;
}

.forum-last {
    flex-direction: column;
}

.forum-last strong {
    font-weight: 700;
}

.forum-empty {
    padding: 13px 8px;
    background-color: #f9f9f9;
    color: #000;
    font-weight: 400;
}

.forum-top + .forum-empty {
    margin-top: 20px;
}

.forum-section {
    scroll-margin-top: 50px;
}

.forum-section .forum-head > div:first-child {
    padding: 8px 0 8px 5px;
}

.forum-section .forum-head > div + div {
    border-left: 1px solid #ccc;
}

.forum-section .forum-row {
    border-top: 1px solid #ccc;
}

.forum-col-threads {
    flex: 0 0 11.2%;
}

.forum-col-posts {
    flex: 0 0 8.5%;
}

.forum-col-latest {
    flex: 0 0 14.5%;
}

.forum-page a.forum-info {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    min-width: 0;
    padding: 6px 0 6px 5px;
    color: #343434;
}

.forum-info strong {
    font-weight: 700;
}

.forum-info span {
    max-width: 492px;
    font-weight: 400;
    line-height: 20px;
}

.forum-threads .forum-row {
    height: 44px;
    background-color: #f9f9f9;
}

.forum-threads .forum-row:hover {
    background-color: #e9e9e9;
}

.forum-head .forum-col-author {
    justify-content: flex-start;
    padding-left: 4px;
}

.forum-col-author {
    flex: 0 0 14.85%;
}

.forum-col-replies {
    flex: 0 0 10.1%;
}

.forum-col-views {
    flex: 0 0 8.5%;
}

.forum-col-last {
    flex: 0 0 13.5%;
}

.forum-col-forum {
    flex: 0 0 24%;
}

.forum-row .forum-col-author {
    justify-content: flex-start;
    padding-left: 6px;
    text-align: left;
}

.forum-subject {
    display: flex;
    flex: 1 1 0;
    align-items: center;
    min-width: 0;
    padding: 6px 0 6px 5px;
}

.forum-subject img {
    flex: 0 0 25px;
    width: 25px;
    height: 20px;
}

.forum-page .forum-subject > a {
    margin-left: 8px;
    overflow: hidden;
    color: #343434;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.forum-mini {
    margin-left: 6px;
    color: #000;
    font-size: 12px;
    font-weight: 400;
    white-space: nowrap;
}

.forum-pinned {
    margin: 0 6px 0 auto;
    padding-left: 6px;
    color: #999;
    font-size: 12px;
    font-weight: 400;
    white-space: nowrap;
}

.forum-pager {
    display: flex;
    margin: 2px 0 20px;
    color: #000;
    font-weight: 700;
}

.forum-goto {
    margin-left: auto;
    user-select: none;
}

.forum-page .forum-goto a {
    font-weight: 700;
}

.forum-goto .forum-goto-page {
    margin: 0 2px;
}

.forum-goto .current {
    color: #000;
}

.forum-page .forum-title {
    margin: 20px 0;
    padding: 5px 0;
    color: #343434;
    font-size: 30px;
    font-weight: 400;
    line-height: 1em;
    letter-spacing: -1px;
    overflow-wrap: anywhere;
}

.forum-error {
    margin-bottom: 8px;
    color: #d86868;
    font-weight: 400;
}

.forum-sort {
    display: flex;
    align-items: flex-start;
    color: #000;
}

.forum-track {
    display: flex;
    align-items: center;
    margin-top: 2px;
    font-weight: 400;
}

.forum-track input {
    margin: 0 4px 0 0;
}

.forum-sort-label {
    margin: 2px 2px 0 auto;
    font-weight: 700;
}

.forum-sort select {
    border: 1px solid #7b2cbf;
    background-color: #fff;
    color: #000;
    font-size: 14px;
    font-weight: 400;
}

.forum-bar {
    display: flex;
    align-items: center;
    height: 38px;
    font-size: 20px;
    font-weight: 400;
}

.forum-posts {
    margin-top: 6px;
}

.forum-page .forum-bar a {
    color: #fff;
}

.forum-bar-prev {
    margin-left: auto;
}

.forum-bar-sep {
    padding: 0 4px;
    font-weight: 700;
}

.forum-bar-next {
    margin-right: 10px;
}

.forum-bar-title {
    width: 100%;
    text-align: center;
}

.forum-post {
    display: flex;
    background-color: #f9f9f9;
    scroll-margin-top: 50px;
}

.forum-post + .forum-post {
    border-top: 1px solid #d8d8d8;
}

.forum-post-author {
    display: flex;
    flex: 0 0 186px;
    flex-direction: column;
    align-items: flex-start;
    width: 186px;
    font-size: 13px;
    font-weight: 400;
}

.forum-page a.forum-post-name {
    font-size: 14px;
    font-weight: 700;
}

.forum-avatar {
    width: 108px;
    height: 107px;
    margin-top: 2px;
    object-fit: contain;
}

.forum-moderator {
    width: 108px;
    height: 22px;
    margin-bottom: 5px;
}

.forum-moderator img {
    display: block;
}

.forum-post-stat {
    margin-top: 2px;
}

.forum-moderator + .forum-post-stat {
    margin-top: -4px;
}

.forum-post-stat + .forum-post-stat {
    margin-top: 4px;
}

.forum-post-stat b {
    font-weight: 700;
}

.forum-post-stat span {
    font-size: 12.5px;
}

.forum-post-main {
    flex: 1 1 0;
    min-width: 0;
    margin-top: 4px;
    color: #000;
    font-weight: 400;
}

.forum-post-date {
    font-size: 12px;
}

.forum-post-date span {
    color: #999;
}

.forum-post-body {
    min-height: 131px;
    margin: 4px 0 22px;
    overflow-wrap: anywhere;
}

.forum-post-manage {
    min-height: 18px;
    margin-bottom: 8px;
    font-size: 13px;
}

.forum-page .forum-post-manage a {
    color: #ef4444;
    font-weight: 700;
}

.forum-actions {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
    color: #000;
    font-weight: 400;
}

.forum-admin {
    justify-content: flex-end;
}

.forum-original {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background-color: #fff;
    color: #000;
    font-weight: 400;
}

.forum-page .forum-original-title {
    margin-top: 2px;
    font-weight: 700;
}

.forum-original-meta {
    margin-top: 2px;
}

.forum-original-body {
    margin: 20px 0 24px;
    overflow-wrap: anywhere;
}

.forum-bar-form {
    height: 35px;
    margin-bottom: 8px;
}

.forum-original-bar {
    height: 35px;
}

.forum-form {
    display: flex;
    flex-direction: column;
    margin-left: 16px;
}

.forum-field {
    display: flex;
}

.forum-field + .forum-field {
    margin-top: 8px;
}

.forum-field label,
.forum-field-name {
    flex: 0 0 56px;
    font-weight: 700;
    text-align: right;
}

.forum-field-text {
    margin-left: 4px;
    color: #000;
    font-weight: 400;
    overflow-wrap: anywhere;
}

.forum-text {
    flex: 0 1 668px;
    width: 668px;
    min-width: 0;
    margin-left: 4px;
    padding: 0 3px;
    border: 1px solid #a7a7a7;
    background-color: #fff;
    color: #191919;
    font-size: 14px;
    font-weight: 400;
}

input.forum-text {
    line-height: normal;
}

textarea.forum-text {
    line-height: 18.2px;
    resize: none;
}

.forum-submit {
    display: flex;
    align-items: center;
    width: 668px;
    max-width: calc(100% - 60px);
    margin: 8px 0 16px 60px;
}

.forum-lock {
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: 400;
}

.forum-lock input {
    margin: 0 2px 0 0;
}

.forum-submit-buttons {
    display: flex;
    gap: 8px;
    margin-left: auto;
}

.forum-mine {
    margin-bottom: 20px;
}

.forum-search-wide {
    margin-left: 0;
}

.forum-search-wide input {
    width: 400px;
}

.forum-note {
    margin-bottom: 12px;
    color: #000;
    font-weight: 400;
}

.forum-mod {
    max-width: 733px;
}

.forum-mod .forum-submit {
    margin-top: 12px;
}

.forum-mod select.forum-text {
    flex: 0 1 auto;
    width: auto;
    padding: 0 0 0 2px;
}

@media (max-width: 767px) {
    .forum-page .forum-title {
        font-size: 24px;
    }

    .forum-tools {
        flex-wrap: wrap;
        gap: 7px;
    }

    .forum-top {
        flex-wrap: wrap;
    }

    .forum-form {
        margin-left: 0;
    }
}

@media (max-width: 640px) {
    .forum-page .forum-col-threads,
    .forum-page .forum-col-posts,
    .forum-page .forum-col-author,
    .forum-page .forum-col-replies,
    .forum-page .forum-col-views,
    .forum-page .forum-col-forum {
        display: none;
    }

    .forum-page .forum-col-latest,
    .forum-page .forum-col-last {
        flex-basis: 96px;
    }

    .forum-search input {
        width: 120px;
    }

    .forum-post-author {
        flex-basis: 116px;
        width: 116px;
    }

    .forum-submit {
        max-width: 100%;
        margin-left: 0;
    }
}
