/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Global bbPress CSS
# Activity Page
# Widgets
--------------------------------------------------------------*/


/*--------------------------------------------------------------
# Global bbPress CSS
--------------------------------------------------------------*/
/*
* Hide tabs
*/
#member-primary-nav #forums-personal-li, 
#member-primary-nav #settings-personal-li,
#member-primary-nav #attachments-personal-li, 
#mepr-account-nav .mepr-payments{
	display: none;
}

#bbpress-forums {
    font-size: inherit;
}

.page-header .archive-description {
    display: none;
}

.bbpress .entry-content {
    margin-top: 1em;
}

.forum-archive .bbp-breadcrumb {
    display: none;
}

#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: 14px;
    margin-bottom: 0;
}

#bbpress-forums fieldset.bbp-form {
    min-width: calc(100% - 2px);
    padding: 30px;
}

#bbpress-forums fieldset.bbp-form .bbp-template-notice {
    padding: 5px !important;
    margin-top: 40px;
}

#bbpress-forums fieldset.bbp-form{
    background-color: rgba(217, 217, 217, 0.2);
}

#bbpress-forums fieldset.bbp-form input[type=text],
#bbpress-forums fieldset.bbp-form select {
    min-height: 40px;
    font-size: 11px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: 0.33px;
    color: rgba(38, 71, 107, 1);
}

#bbpress-forums fieldset.bbp-form select{
    background-image: url("data:image/svg+xml,%3Csvg width='8' height='6' viewBox='0 0 8 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L4 4.5L7 1.5' stroke='%2326476B'/%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-color: #FFFFFF;
    background-position: calc(100% - 19px) center;
}

#bbpress-forums #subscription-toggle{
  font-size: 0;
  display: flex;
  margin-left: 10px;
  margin-bottom: 10px;
}

#bbpress-forums #subscription-toggle a.subscription-toggle, 
#bbpress-forums #favorite-toggle a.favorite-toggle
{
    background-color: #993366;
    color: #FFFFFF;
    font-weight: 500;
    padding: 12px 24px 11px;
    display: block;
    line-height: 1;
    font-size: 13px;
    border-radius: 81px;
}

#bbpress-forums fieldset.bbp-form input[type=text] {
    width: 100%;
    border-radius: 8px;
    border: 1px solid rgba(217, 217, 217, 0.2);
    color: #17254A;
}

#bbpress-forums .widget_display_replies img.avatar,
#bbpress-forums .widget_display_topics img.avatar,
#bbpress-forums div.bbp-template-notice img.avatar,
#bbpress-forums p.bbp-topic-meta img.avatar,
#bbpress-forums ul.bbp-reply-revision-log img.avatar,
#bbpress-forums ul.bbp-topic-revision-log img.avatar {
    border: 0;
    border-radius: 50%;
    overflow: hidden;
}

.bbp-pagination-count {
    margin: 15px 0;
    font-size: 11px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 0.03em;
    border: none;
}

#bbpress-forums div.bbp-search-form {
    margin-bottom: 15px;
    float: none;
}
#bbpress-forums #bbp-search-form input#bbp_search{
    width: 298px;
    border-radius: 2px;
    border: 0.7px solid #D7D7D7;
    margin-right: 30px;
    padding-left: 57px !important;
    font-size: 11px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 181.818% */
    letter-spacing: 0.33px;
}

#bbpress-forums #bbp-search-form input#bbp_search::placeholder{
    color: rgba(38, 71, 107, 0.8)
}

.bbp-search-form #bbp_search_submit {
    vertical-align: top;
}

#bbpress-forums li.bbp-header ul {
    font-size: 14px;
}

#bbpress-forums li.bbp-header,
#bbpress-forums fieldset.bbp-form {
    background-color: rgba(217, 217, 217, 0.2);
}

#bbpress-forums div.odd,
#bbpress-forums ul.odd,
#bbpress-forums div.bbp-forum-header,
#bbpress-forums div.bbp-topic-header,
#bbpress-forums div.bbp-reply-header,
.widgetable .bbp-login-form,
.widgetable .bbp-logged-in,
#bbpress-forums li.bbp-header,
#bbpress-forums fieldset.bbp-form {
    background-color: rgba(217, 217, 217, 0.2);
}

.bbp-login-form{
    width: 400px;
    max-width: 100%;
}
.bbp-password{
    display: flex;
    flex-direction: column;
}

@media (min-width: 748.98px){
    #bbpress-forums li.bbp-header,
    #bbpress-forums li.bbp-footer {
        padding: 20px 35px !important;
    }
    #bbpress-forums li.bbp-body ul.forum,
    #bbpress-forums li.bbp-body ul.topic {
        padding: 25px 35px !important;
        line-height: 1;
    }
    div.bbp-forum-header,
    div.bbp-topic-header,
    div.bbp-reply-header,
    li.bbp-body div.hentry {
        padding: 10px 35px;
    }
}

@media (max-width: 748.98px){
    #bbpress-forums .bbp-reply-header .bbp-meta{
        display: flex;
        flex-direction: column;
        row-gap: 10px;
    }
    #bbpress-forums .bbp-reply-header .bbp-meta > a{
        margin-left: 0;
    }
    #bbpress-forums .bbp-reply-header .bbp-meta .bbp-admin-links{
        font-size: 0;
        display: flex;
        flex-wrap: wrap;
        column-gap: 15px;
        row-gap: 15px;
    }
    #bbpress-forums .bbp-reply-header .bbp-meta .bbp-admin-links a{
        font-size: 14px;
    }
    #bbpress-forums li.bbp-body ul.topic {
        padding: 0;
    }
    #bbpress-forums ul.bbp-topics li.bbp-header, #bbpress-forums ul.bbp-replies li.bbp-header{
        padding-left: 0;
        padding-right: 0;
        padding-top: 0;
        padding-bottom: 0;
    }
    #bbpress-forums ul.bbp-topics li:not(.bbp-body):not(.bbp-header){
        padding: 8px;
    }
    #bbpress-forums li.bbp-body ul.topic li{
        padding: 8px;
    }

    #bbpress-forums li.bbp-body ul.topic li .bbp-topic-meta span, 
    #bbpress-forums li.bbp-body ul.topic li .bbp-topic-meta a {
        font-size: 14px;
        line-height: 1.5;
    }
    #bbpress-forums li.bbp-body ul.topic li .bbp-topic-meta span > a{
        margin-left: 5px;
        margin-right: 5px;
    }
    #bbpress-forums p.bbp-topic-meta span{
        white-space: normal;
    }
}


a#bbp-cancel-reply-to-link {
    margin-right: 15px;
}

#bbpress-forums div.odd,
#bbpress-forums ul.odd {
    background: #fff !important;
}

.mc4wp-form input,
a.bbp-forum-title,
a.bbp-topic-permalink {
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 21px;
    color: #17254A !important;
}


#bbpress-forums .bbp-forum-info div.bbp-forum-content {
    line-height: 1.5;
    font-weight: 500;
    font-style: normal;
    font-size: 14px;
    letter-spacing: 0.14px;
    color: #26476B;
}

#bbpress-forums .bbp-forum-info .bbp-forum-content,
#bbpress-forums p.bbp-topic-meta {
    margin: 15px 0;
}

#bbpress-forums li.bbp-footer {
    display: none;
}

#bbpress-forums div.bbp-forum-author img.avatar,
#bbpress-forums div.bbp-reply-author img.avatar,
#bbpress-forums div.bbp-topic-author img.avatar {
    border-radius: 50%;
}

.bbp-reply-author .bbp-author-role,
.bbp-reply-author .bbp-reply-ip{
    display: none;
}

/* Search Form */

#bbpress-forums #bbp-search-form>div {
    display: flex;
}

@media only screen and (max-width: 767px) {

    ul li.bbp-forum-info,
    ul li.bbp-topic-title {
        width: 75%
    }

    .bbp-header ul li.bbp-forum-freshness,
    .bbp-body ul li.bbp-forum-freshness,
    .bbp-header ul li.bbp-topic-freshness,
    .bbp-body ul li.bbp-topic-freshness,
    .bbp-header ul li.bbp-forum-reply-count,
    .bbp-body ul li.bbp-forum-reply-count,
    .bbp-header ul li.bbp-topic-voice-count,
    .bbp-body ul li.bbp-topic-voice-count {
        display: none
    }

    .bbp-header ul li.bbp-topic-reply-count,
    .bbp-body ul li.bbp-topic-reply-count,
    .bbp-header ul li.bbp-forum-topic-count,
    .bbp-body ul li.bbp-forum-topic-count {
        border: none
    }

    .bbp-header ul li.bbp-forum-topic-count,
    .bbp-body ul li.bbp-forum-topic-count,
    .bbp-header ul li.bbp-topic-reply-count,
    .bbp-body ul li.bbp-topic-reply-count {
        width: 25%
    }

    #bbpress-forums div.bbp-search-form {
        float: none;
    }

    #bbpress-forums #bbp-search-form #bbp_search {
        width: 100%;
    }

    #bbpress-forums div.bbp-search-form input,
    #bbpress-forums div.bbp-search-form button {
        font-size: inherit;
        padding: 10px 20px;
    }
}

@media only screen and (max-width: 320px) {

    #bbpress-forums li.bbp-header li.bbp-forum-info,
    #bbpress-forums li.bbp-header li.bbp-topic-title {
        text-align: left;
    }

    #bbpress-forums li.bbp-header li.bbp-forum-info,
    #bbpress-forums li.bbp-body li.bbp-forum-info,
    #bbpress-forums li.bbp-header li.bbp-topic-title,
    #bbpress-forums li.bbp-body li.bbp-topic-title {
        width: 75%;
    }
}

.bbp-reply-form {
    background: #fff;
    border: 1px solid var(--global-border-color);
    padding: 15px;
    border-radius: var(--global-border-radius);
}

.bbp-reply-form fieldset.bbp-form {
    background: transparent !important;
    border: 0!important;
    margin: 0!important;
    padding: 0!important;
}

/*--------------------------------------------------------------
# Activity Page
--------------------------------------------------------------*/

.activity-list li.bbp_reply_create .activity-content .activity-inner,
.activity-list li.bbp_topic_create .activity-content .activity-inner {
    margin: 0;
    padding: 0;
    border: 0;
}


/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/

.widget.widget_display_replies li+li,
.widget.widget_display_views li+li,
.widget.widget_display_forums li+li,
.widget.widget_display_topics li+li {
    border-top: 1px solid #e3e3e3;
}

.widget.widget_display_replies li,
.widget.widget_display_views li,
.widget.widget_display_forums li,
.widget.widget_display_topics li {
    padding: 10px 0;
}

.widget.widget_display_stats dl {
    text-align: center;
}

.widget .mc4wp-form input,
.widget a.bbp-forum-title,
.widget a.bbp-topic-permalink {
    line-height: inherit;
    font-weight: inherit;
    font-style: normal;
    font-size: inherit;
}

.widget #bbp_search {
    width: 100%;
    margin-bottom: 10px;
}


.bbp-topic-form-tags{
    margin: 0 0 8px;
    padding: 10px;
    background-color: #fff;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 5px;
    row-gap: 5px;
}

.bbp-topic-form-tags > a{
    font-size: 15px !important;
}