/*--------------------------------------------------------------------------------------

1 - bbPress自定义样式，会覆盖newvfx主题对应目录的bbpress设置，按需加载全自动
会覆盖newvfx主题对应目录的bbpress设置
--------------------------------------------------------------------------------------*/

/* ============================================================================ */
/* ================================ bbPress ================================ */
/* ============================================================================ */

/* 论坛版块标题样式 */

/* 论坛版块描述标题样式 */
.gp-theme #bbpress-forums .bbp-forum-home.bbp-forums .bbp-has-subforums .bbp-forum-info > .bbp-forum-title,
.gp-theme #bbpress-forums .bbp-topics .bbp-header,
.gp-theme #bbpress-forums .bbp-replies .bbp-header,
.gp-theme #bbpress-forums .bbp-search-results .bbp-header {
    background-color: #f0f0ed;
    color: #555;
}

/* 论坛内容字体 */
#bbpress-forums div.bbp-forum-content,
#bbpress-forums div.bbp-reply-content,
#bbpress-forums div.bbp-topic-content {
    font-size: 14px;
    letter-spacing: 0.4px;
}

/* 列表样式 */
#bbpress-forums div.bbp-topic-content ul li,
#bbpress-forums div.bbp-reply-content ul li {
    list-style-type: disc;
    line-height: 28px;
}

#bbpress-forums div.bbp-topic-content ol li,
#bbpress-forums div.bbp-reply-content ol li {
    list-style-type: decimal;
    line-height: 28px;
}

#bbpress-forums div.bbp-topic-content ol li li,
#bbpress-forums div.bbp-reply-content ol li li {
    list-style-type: lower-alpha;
    line-height: 28px;
}

#bbpress-forums div.bbp-topic-content ol li li li,
#bbpress-forums div.bbp-reply-content ol li li li {
    list-style-type: upper-roman;
    line-height: 28px;
}

#bbpress-forums div.bbp-topic-content ul,
#bbpress-forums div.bbp-reply-content ul,
#bbpress-forums div.bbp-topic-content ol,
#bbpress-forums div.bbp-reply-content ol {
    margin: 0 15px 15px;
}

/* 论坛头像间距 */
#bbpress-forums div.bbp-reply-author img.avatar,
#bbpress-forums div.bbp-topic-author img.avatar {
    margin-top: 12px;
}

#bbpress-forums div.bbp-reply-author img.avatar,
#bbpress-forums div.bbp-topic-author img.avatar {
    width: 42px;
    margin-top: 10;
}

/* 论坛行背景交替 */
#bbpress-forums div.odd,
#bbpress-forums ul.odd {
    background-color: #f2f2ef;
}

/* 置顶主题图标 */
#bbpress-forums ul.super-sticky li.bbp-topic-title a.bbp-topic-permalink:before {
    font: normal 16px/1 'dashicons';
    content: '\f450';
    float: left;
    padding-top: 3px;
    color: #9400D3;
}

/* 论坛分页 */
.bbp-pagination {
    float: left;
    width: 100%;
    margin-bottom: 0px;
}

/* 关闭社区帖子内弹出图片下方的小图 */
.pp_gallery {
    display: none;
}

/* 私密回复背景 */
.topic .bbp-private-reply {
    background: #e4e4e4;
}

/* 隐藏“全部标记为已读”按钮 */
.bbpress_mark_all_read_wrapper {
    display: none;
}

/* 论坛角色样式 */
.gp-theme #bbpress-forums div.bbp-forum-author .bbp-author-role,
.gp-theme #bbpress-forums div.bbp-topic-author .bbp-author-role,
.gp-theme #bbpress-forums div.bbp-reply-author .bbp-author-role {
    font-style: normal;
    font-weight: bold;
    margin: 0 12px;
    border-radius: 11px;
    line-height: 25px;
    padding: 0 10px;
    background: #e96969;
    color: #fff;
}

/* 论坛搜索框提交按钮位置 */
.gp-theme #buddypress div.dir-search input[type=submit] {
    top: 27px;
    height: 60%;
}
.gp-theme #bbp-search-form {
overflow: hidden;
position: relative;
margin-bottom: 20px;
 margin-top: 10px;
}
/* 隐藏论坛搜索表单 
.gp-theme #bbpress-forums div.bbp-search-form {
    display: none;
}
*/
.bbp-search-form {
    display: block;
}

/* 论坛标题样式 */
.gp-theme #bbpress-forums div.bbp-forum-title h3,
.gp-theme #bbpress-forums div.bbp-topic-title h3,
.gp-theme #bbpress-forums div.bbp-reply-title h3 {
    font-size: 12px;
    line-height: 16px;
    margin-top: 20px;
    margin-bottom: 10px;
}

/* 论坛内容中的代码块 */
#bbpress-forums div.bbp-reply-content code,
#bbpress-forums div.bbp-reply-content pre,
#bbpress-forums div.bbp-topic-content code,
#bbpress-forums div.bbp-topic-content pre {
    display: block;
    background-color: #eaeaea;
}

/* 论坛链接颜色 */
.gp-theme #bbpress-forums .bbp-header div.bbp-reply-content a {
    color: #3F51B5;
}

/* 论坛字体大小 */
#bbpress-forums ul.bbp-forums,
#bbpress-forums ul.bbp-lead-topic,
#bbpress-forums ul.bbp-replies,
#bbpress-forums ul.bbp-search-results,
#bbpress-forums ul.bbp-topics {
    font-size: 13px;
}

/* 论坛面包屑与标签 */
#bbpress-forums div.bbp-breadcrumb p,
#bbpress-forums div.bbp-topic-tags p {
    margin-bottom: 0px;
}

#bbpress-forums div.bbp-topic-tags {
    clear: none;
}

/* 论坛头像最小高度（移动端） */
@media only screen and (max-width: 480px) {
    #bbpress-forums .bbp-body div.bbp-reply-author,
    #bbpress-forums .bbp-body div.bbp-topic-author {
        min-height: 80px;
    }
}

/* ============================================================================
   📌 bbPress 专属样式
   ============================================================================ */

/* 平板及以上 */
@media screen and (min-width: 800px) {
    .gp-theme #bbpress-forums .bbp-topics .bbp-author-avatar {
        display: initial;
    }

    .gp-theme.forum #bbpress-forums .bbp-topic-freshness-author .avatar {
        display: initial;
    }
}

/* 手机端 */
@media screen and (max-width: 800px) {
    .gp-theme #bbpress-forums p.bbp-topic-meta {
        display: none;
    }

    .gp-theme #bbpress-forums .gp-forum-home.bbp-forums .bbp-has-subforums .bbp-forum-info > .bbp-forum-title,
    .gp-theme #bbpress-forums .bbp-topics .bbp-header,
    .gp-theme #bbpress-forums .bbp-replies .bbp-header,
    .gp-theme #bbpress-forums .bbp-search-results .bbp-header {
        padding: 1px 20px;
    }
    
/* 隐藏角色 */
.gp-theme #bbpress-forums div.bbp-forum-author .bbp-author-role,
.gp-theme #bbpress-forums div.bbp-topic-author .bbp-author-role,
.gp-theme #bbpress-forums div.bbp-reply-author .bbp-author-role {
    display: none;
}
}

/* 超小屏 */
@media screen and (max-width: 500px) {
    #bbpress-forums .bbp-body div.bbp-reply-author,
    #bbpress-forums .bbp-body div.bbp-topic-author {
        min-height: 60px;
    }

    #bbpress-forums div.bbp-reply-author img.avatar,
    #bbpress-forums div.bbp-topic-author img.avatar {
        width: 42px;
        margin-top: 10;
    }
    /* 手机上 头像和名字的间距 */
    .gp-theme #bbpress-forums div.bbp-reply-author {
        margin: -15px 10px 10px;
        padding-left: 56px;
    }
}
