.ergoforo-shell {
    padding-top: 24px;
    padding-bottom: 32px;
}

.ergoforo-heading h1 {
    align-items: center;
    color: #315b7d;
    display: flex;
    font-family: Montserrat, Roboto, Arial, sans-serif;
    font-weight: 300;
    margin-top: 10px;
}

.ergoforo-heading h1 .fa {
    color: #6189ab;
    flex: 0 0 auto;
    font-size: 3em;
    margin-right: 28px;
}

.ergoforo-heading .lead {
    margin-bottom: 20px;
}

.ergoforo-menu {
    margin-bottom: 22px;
}

.ergoforo-menu .panel-body {
    padding: 10px 15px;
}

.ergoforo-menu a {
    display: inline-block;
    margin: 0 4px;
}

.ergoforo-content,
.ergoforo-content table.forums,
.ergoforo-content table.forumsmb,
.ergoforo-content .tbTransparent,
.ergoforo-content .tbTransparentmb {
    width: 100%;
}

.ergoforo-content table.forums,
.ergoforo-content table.forumsmb,
.ergoforo-content .tbTransparent,
.ergoforo-content .tbTransparentmb {
    margin-left: auto;
    margin-right: auto;
}

.ergoforo-content .inputButton {
    background-color: #6189ab;
    border: 1px solid #4f7594;
    border-radius: 3px;
    color: #fff;
    padding: 6px 12px;
}

.ergoforo-content .textForm,
.ergoforo-content .selectTxt {
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 6px;
}

.ergoforo-search {
    margin: 0 auto;
    max-width: 920px;
}

.ergoforo-search-heading {
    background: #f7f7f7;
    border-top: 4px solid #6189ab;
    padding: 15px 20px 12px;
    text-align: center;
}

.ergoforo-search-heading h2 {
    color: #315b7d;
    font-family: Montserrat, Roboto, Arial, sans-serif;
    font-size: 25px;
    font-weight: 300;
    margin: 0 0 5px;
}

.ergoforo-search-heading p {
    font-size: 12px;
    margin: 0;
}

.ergoforo-search-form {
    background: #f7f7f7;
    border-top: 1px solid #e3e7ea;
    padding: 22px 26px 24px;
}

.ergoforo-search-grid {
    display: grid;
    gap: 16px 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 18px;
}

.ergoforo-search-field label,
.ergoforo-search-dates legend {
    color: #315b7d;
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}

.ergoforo-search-field .textForm,
.ergoforo-search-field .selectTxt {
    background: #fff;
    min-height: 34px;
    width: 100%;
}

.ergoforo-search-query .textForm {
    font-size: 15px;
}

.ergoforo-search-dates {
    border: 0;
    border-top: 1px solid #dde3e8;
    display: flex;
    gap: 16px 28px;
    margin: 22px 0 0;
    min-width: 0;
    padding: 16px 0 0;
}

.ergoforo-search-dates legend {
    border: 0;
    float: left;
    line-height: 34px;
    margin: 0;
    width: auto;
}

.ergoforo-search-date-range {
    align-items: center;
    display: flex;
    gap: 5px;
}

.ergoforo-search-date-range .selectTxt {
    background: #fff;
    min-height: 34px;
    width: auto;
}

.ergoforo-search-date-label {
    min-width: 42px;
}

.ergoforo-search-actions {
    margin-top: 22px;
    text-align: center;
}

.ergoforo-search-actions .inputButton {
    min-width: 130px;
}

.ergoforo-search-help,
.ergoforo-search-warning-bottom {
    color: #666;
    font-size: 12px;
    line-height: 1.5;
    padding: 14px 4px;
}

.ergoforo-search-pagination {
    margin: 12px 0 18px;
}

.ergoforo-search-pagination-bottom {
    margin: 18px 0 0;
}

.ergoforo-search-result {
    background: #f5f8fa;
    border-left: 4px solid #75a0c8;
    margin-bottom: 10px;
    padding: 11px 15px 12px;
}

.ergoforo-search-result:nth-child(even) {
    background: #fff;
}

.ergoforo-search-result h3 {
    font-family: Roboto, Arial, sans-serif;
    font-size: 15px;
    font-weight: 400;
    margin: 5px 0 0;
}

.ergoforo-search-result-meta {
    color: #6b7780;
    font-size: 11px;
}

.ergoforo-search-result-number {
    color: #315b7d;
    font-weight: 600;
}

.ergoforo-search-result-excerpt {
    color: #555;
    font-size: 13px;
    line-height: 1.5;
    margin-top: 8px;
}

.ergoforo-topic-list {
    margin-top: 36px;
}

.ergoforo-pagination {
    color: #6189ab;
    font-size: 12px;
    min-height: 20px;
    text-align: center;
}

.ergoforo-pagination .navCell,
.ergoforo-pagination .navCellSel,
.ergoforo-topic-title .navCell,
.ergoforo-topic-number {
    font-size: 12px;
}

.ergoforo-pagination-top {
    margin-bottom: 26px;
}

.ergoforo-pagination-bottom {
    margin-top: 18px;
}

.ergoforo-table-scroll {
    overflow-x: auto;
}

.ergoforo-topics-table {
    border-collapse: collapse;
    table-layout: fixed;
}

.ergoforo-topics-table th.caption4 {
    background-color: #6189ab;
    color: #fff;
    font-size: 11px;
    height: 25px;
    padding: 2px 5px;
    text-align: center;
    vertical-align: middle;
}

.ergoforo-pagination .pageIcon {
    display: none;
}

.ergoforo-pagination > .noWrap.txtNr {
    display: none;
}

.ergoforo-topics-table th.ergoforo-col-topic {
    text-align: left;
}

.ergoforo-col-icon {
    width: 30px;
}

.ergoforo-col-topic {
    width: auto;
}

.ergoforo-col-number {
    width: 55px;
}

.ergoforo-col-author,
.ergoforo-col-last {
    width: 15%;
}

.ergoforo-topics-table td.caption1 {
    height: 34px;
    padding: 2px 5px 1px;
    vertical-align: middle;
}

.ergoforo-topic-icon,
.ergoforo-topic-number,
.ergoforo-topic-author {
    text-align: center !important;
}

.ergoforo-topic-icon .forumIcon {
    display: none;
}

.ergoforo-topic-icon a::before {
    color: #75a0c8;
    content: "\f15c";
    font-family: FontAwesome;
    font-size: 16px;
    font-weight: normal;
}

.ergoforo-topic-title {
    overflow-wrap: anywhere;
}

.ergoforo-topic-title .navCell {
    margin-left: 4px;
}

.ergoforo-topic-author {
    line-height: 14px;
}

.ergoforo-topic-author .authorIcon {
    display: none;
}

.ergoforo-content #postMsg {
    display: none !important;
}

.ergoforo-thread {
    margin-top: 20px;
}

.ergoforo-thread-title {
    background: #f7f7f7;
    color: #444;
    font-size: 13px;
    line-height: 25px;
    margin-bottom: 34px;
    min-height: 25px;
    padding: 0 10px;
    text-align: center;
}

.ergoforo-thread-pagination {
    margin: -18px 0 18px;
}

.ergoforo-thread-pagination-bottom {
    margin: 18px 0;
}

.ergoforo-posts-table {
    border-collapse: collapse;
    table-layout: fixed;
}

.ergoforo-posts-table th.caption4 {
    background-color: #6189ab;
    color: #fff;
    font-size: 11px;
    height: 25px;
    padding: 2px 5px;
    text-align: left;
    vertical-align: middle;
}

.ergoforo-post-author-heading,
.ergoforo-post-author {
    width: 15%;
}

.ergoforo-post-message-heading,
.ergoforo-post-message {
    width: 85%;
}

.ergoforo-posts-table td.caption1 {
    padding: 4px 5px;
    vertical-align: top;
}

.ergoforo-post-row {
    border-bottom: 1px solid #e5e5e5;
}

.ergoforo-post-author {
    overflow-wrap: anywhere;
}

.ergoforo-post-meta {
    min-height: 18px;
}

.ergoforo-post-actions {
    display: block;
}

.ergoforo-post-actions script {
    display: none;
}

.ergoforo-post-text {
    line-height: 1.45;
    min-height: 44px;
    padding: 10px 0 12px;
}

.ergoforo-hidden-fields {
    display: none;
}

.ergoforo-write-panel {
    background: #f7f7f7;
    margin-top: 34px;
    padding: 0 0 20px;
    text-align: center;
}

.ergoforo-write-panel h2 {
    background: #6189ab;
    color: #fff;
    font-family: Roboto, Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 35px;
    margin: 0 0 5px;
}

.ergoforo-write-form {
    margin: 0 auto;
    max-width: 760px;
    padding: 0 18px;
    text-align: left;
}

.ergoforo-write-form label {
    font-weight: 400;
}

.ergoforo-write-form textarea {
    min-height: 170px;
    resize: vertical;
}

.ergoforo-write-form .btn {
    display: block;
    margin: 20px auto 0;
}

.ergoforo-moderation-panel {
    background: #fff7f7;
    border: 1px solid #d8a4a4;
    margin-top: 34px;
    padding: 0 18px 18px;
}

.ergoforo-moderation-panel h2 {
    background: #a94442;
    color: #fff;
    font-family: Roboto, Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 35px;
    margin: 0 -18px 12px;
    text-align: center;
}

.ergoforo-moderation-panel h3 {
    color: #793332;
    font-family: Roboto, Arial, sans-serif;
    font-size: 14px;
    margin: 22px 0 10px;
}

.ergoforo-moderation-form {
    align-items: center;
    border-top: 1px solid #ecd1d1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    justify-content: space-between;
    padding: 10px 0;
}

.ergoforo-delete-topic-form {
    border-top: 0;
}

.ergoforo-confirm-delete {
    font-weight: 400;
    margin: 0;
}

.ergoforo-confirm-delete input {
    margin-right: 7px;
}

.ergoforo-moderation-form .btn {
    margin-left: auto;
}

.ergoforo-software-credit {
    color: #777;
    font-size: 12px;
    margin-top: 24px;
    text-align: right;
}

.ergoforo-software-credit img {
    height: auto;
    width: 24px;
}

@media (max-width: 767px) {
    .ergoforo-shell {
        padding-top: 14px;
    }

    .ergoforo-heading h1 {
        font-size: 25px;
    }

    .ergoforo-heading h1 .fa {
        font-size: 2.2em;
        margin-right: 14px;
    }

    .ergoforo-content {
        overflow-x: auto;
    }

    .ergoforo-topic-list {
        margin-top: 22px;
    }

    .ergoforo-topics-table {
        min-width: 760px;
    }

    .ergoforo-posts-table {
        min-width: 680px;
    }

    .ergoforo-search-grid {
        grid-template-columns: 1fr;
    }

    .ergoforo-search-dates {
        display: block;
    }

    .ergoforo-search-dates legend {
        float: none;
        line-height: normal;
        margin-bottom: 8px;
    }

    .ergoforo-search-date-range {
        flex-wrap: wrap;
        margin-top: 8px;
    }
}
