#bbpress-forums {
    font-size: inherit; /* Revert it back to normal 16px font size. */
    overflow: visible;
}

#bbpress-forums .spaced-bottom {
    margin-bottom: 20px;
}

#bbpress-forums hr {
    margin-top: 20px;
}

#bbpress-forums .bbp-pagination-count {
    margin-top: 10px;
}

#bbpress-forums ul.bbp-replies {
    border: none;
    font-size: inherit;
}

#bbpress-forums h1 {
    font-size: 36px;
    line-height: 46px;
    padding-bottom: 0;
}

#bbpress-forums #bbp-user-wrapper {
    float: none;
    display: flex;
}

#bbpress-forums #bbp-user-body {
    margin-left: 0;
    flex-grow: 1;
}

@media only screen and (min-width:600px) {
    #bbpress-forums #bbp-user-body {
        max-width: calc(100% - 200px); /* 200px is width of sidebar */
    }
}

#bbpress-forums #bbp-single-user-details {
    margin-bottom: 20px;
    margin-right: 20px;
    width: 200px;
    float: none;
    flex-shrink: 0;
}

#bbpress-forums #bbp-single-user-details #bbp-user-avatar {
    margin-bottom: 20px;
    width: auto;
    text-align: center;
}

#bbpress-forums #bbp-single-user-details .bbp-user-name {
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media only screen and (max-width: 600px) {
    #bbpress-forums #bbp-user-wrapper {
        display: block;
    }

    #bbpress-forums #bbp-single-user-details {
        width: 100%;
        text-align: center;
    }
}

.bbp-row-actions #favorite-toggle a,
.bbp-row-actions #favorite-toggle a:hover,
.bbp-row-actions #favorite-toggle span.is-favorite a,
.bbp-row-actions #favorite-toggle span.is-favorite a:hover,
.bbp-row-actions #subscription-toggle a,
.bbp-row-actions #subscription-toggle a:hover,
.bbp-row-actions #subscription-toggle span.is-subscribed a,
.bbp-row-actions #subscription-toggle span.is-subscribed a:hover {
    border: none;
    background-color: transparent;
}

.bbp-forum-title,
.gamma.bbp-forum-title {
    margin-bottom: 1px;
}

.bbp-forum-freshness-link,
.bbp-topic-freshness-link {
    margin-top: 3px;
    margin-bottom: 2px;
}

.bbp-topic-excerpt {
    font-size: 14px;
    font-size: 0.875rem;
    padding-left: 20px;
    color: #767676;
}

.bbp-topic-started-by {
    font-size: 14px;
    line-height: 30px;
}

.bbcode-quote {
    border-top: 3px solid #d8e7f9;
    border-left: 8px solid #d8e7f9;
    padding: 10px 0 0 20px;
}

.d4p-bbt-quote-title {
    font-size: 14px;
    border-bottom: none !important;
}

.bbp-signature {
    border-top-width: 1px !important;
    border-top-style: solid !important;
    border-top-color: #dcdcdc !important;
    margin: 20px 0 0 0 !important;
    padding: 10px 0 !important;
    font-size: 14px;
    color: #6e6e6e;
}

/* 
 * Forum index styles. 
 *
 */
#bbpress-forums .top-level-forum {
    background-color: #f2f2f2;
    margin-bottom: 20px;
    padding: 0 10px;
}

#bbpress-forums .top-level-forum .bbp-forum-description,
#bbpress-forums .top-level-forum .bbp-forum-topic-count,
#bbpress-forums .top-level-forum .bbp-forum-post-count,
#bbpress-forums .top-level-forum .bbp-forum-activity {
    display: none;
}

#bbpress-forums .top-level-forum .bbp-forum-title {
    width: 100%;
    font-size: 16px;
    line-height: 26px;
    padding-top: 5px;
    margin-bottom: 5px;
}

/*
 * List styling.
 */
#bbpress-forums .forum__post__content ul,
#bbpress-forums .forum__post__content ol {
    list-style: initial;
    margin: 0 0 20px 0;
}

/* Nested lists */
#bbpress-forums .forum__post__content ul ul,
#bbpress-forums .forum__post__content ul ol,
#bbpress-forums .forum__post__content ol ul,
#bbpress-forums .forum__post__content ol ol {
    margin-bottom: 0;
}

#bbpress-forums .forum__post__content ul li {
    list-style: initial;
}

#bbpress-forums .forum__post__content ol li {
    list-style: decimal;
}

#bbpress-forums .forum__post__content li {
    margin-left: 20px;
}

/*
 * BBPress Attachments.
 */
#bbpress-forums .bbp-attachments-form label + br {
    display: none;
}

#bbpress-forums .bbp-attachments-form input[type="file"] {
    margin-bottom: 10px;
}

.bbpress #bbpress-forums .bbp-attachments h6,
.bbpress #bbpress-forums .bbp-attachments-errors h6 {
    font-size: 18px;
    line-height: 28px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: capitalize;
}

/* By default, display attachments as inline */
.bbpress #bbpress-forums .bbp-attachments ol {
    margin-bottom: 10px !important;
    overflow: visible;
    display: flex;
    flex-wrap: wrap;
}

.bbpress #bbpress-forums .bbp-attachments li {
    margin-right: 10px !important;
}

/* Force text attachments (Non image attachments) to display
   as block level, rather than inline */
.bbpress #bbpress-forums .bbp-attachments li.bbp-atticon {
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 100%;
    width: 100%;
}

/* Slightly hide spam posts */
.forum__post--spam {
    opacity: 0.5;
}

/* Password reset fields */
.bbpress.bbp-user-edit .user-pass1-wrap button.wp-hide-pw, 
.bbpress.bbp-user-edit .user-pass1-wrap button.wp-cancel-pw {
    padding: 8px !important;
    margin-right: 10px;
}
.bbpress.bbp-user-edit .user-pass1-wrap fieldset.wp-pwd {
    margin-top: 10px;
}