
a.th-bbpress-create-new-topic {
    display: inline-flex;
    align-items: center;
    gap: 10px;
	font-weight: 500;
    color: var(--brand-color);
    padding: 6px 12px;
    border-radius: var(--btn-redius);
    background: var(--brand-color-secondary);
	transition: var(--transition) !important;
}

a.th-bbpress-create-new-topic:hover {
    color: var(--white);
	background: var(--brand-color);
}

html :where(img[class*=wp-image-]) {
    width: auto;
    height: 410px;
    object-fit: cover;
    border-radius: 10px;
}

.bbpress.single .site-header{
	z-index: 10;
}

#bbpress-forums a {
    box-shadow: none;
    border: none;
    transition: all 0.4s ease !important;
}

#bbpress-forums div.bbp-forum-content, 
#bbpress-forums div.bbp-reply-content, 
#bbpress-forums div.bbp-topic-content{
	clear: none !important;
	margin-left: 52px !important;
	text-align: left !important;
    position: relative !important;
	padding: 0;
}

#bbpress-forums div.bbp-forum-author, 
#bbpress-forums div.bbp-reply-author, 
#bbpress-forums div.bbp-topic-author{
	width: 40px !important;
	float: left !important;
	text-align: center !important;
}

#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: 50px;
}

#bbpress-forums div.bbp-forum-content .bbp-author-link, 
#bbpress-forums div.bbp-reply-content .bbp-author-link, 
#bbpress-forums div.bbp-topic-content .bbp-author-link{
	font-size: 14px;
	font-weight: 700;
}

#bbpress-forums div.bbp-forum-content .bbp-author-role, 
#bbpress-forums div.bbp-reply-content .bbp-author-role, 
#bbpress-forums div.bbp-topic-content .bbp-author-role{
	display: inline-block;
	margin-left: 10px;
	background: #a29bfe;
	padding: 0 5px;
	border-radius: 4px;
	color: var(--white);
	font-family: var(--monospace);
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

#bbpress-forums .topic-lead-question .bbp-author-role {
	display: inline-block;
	margin-left: 10px;
	background: var(--success);
	padding: 0 5px;
	border-radius: 4px;
	color: var(--white);
	font-family: var(--monospace);
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

#bbpress-forums div.bbp-forum-content p, 
#bbpress-forums div.bbp-reply-content p, 
#bbpress-forums div.bbp-topic-content p{
	margin-top: 5px;
	font-size: 14px;
	line-height: 24px;
}

#bbpress-forums li.bbp-footer, #bbpress-forums li.bbp-header{
	display: none;
}

#bbpress-forums div.bbp-reply-content .bbp-reply-content-meta{
    display: inline;
}

#bbpress-forums div.bbp-reply-content .bbp-reply-content-meta .bbp-reply-post-date{
	float: right;
	font-size: 12px;
	color: var(--color-primary-400);
}

@media screen and (max-width: 1024px) {
	#bbpress-forums div.bbp-reply-content .bbp-reply-content-meta{
    	display: block;
	}
  #bbpress-forums div.bbp-reply-content .bbp-reply-content-meta .bbp-reply-post-date{
		float: none;
		line-height: 2;
	}
}

#bbpress-forums div.bbp-reply-content .bbp-reply-content-meta .bbp-admin-links{
    position: absolute;
    top: 13px;
    right: 11px;
    background: #fff;
    padding: 10px;
    display: none;
}

#bbpress-forums div.bbp-reply-content .bbp-reply-content-meta .bbp-admin-links a{
    display: block;
    font-size: 12px;
    text-transform: capitalize;
    padding: 6px;
}

.tophive-bbpress-topic-question-main{
    background: #fff;
    padding: 10px 30px;
    margin: 20px 0;
    border: 1px solid #eee;
    border-radius: 4px;
    margin-top: 30px;
}

.tophive-bbpress-topic-question-main h2.topic-title{
    margin-top: 20px;
    line-height: 36px;
}

.bbpress .widget{
    border: 1px solid #ebe9e6;
    border-radius: 5px;
    padding: 14px;
    background: #fff;
}

.bbpress .widget .widget-title{
	margin-bottom: 20px;
	font-size: 14px;
}

.bbpress .widget .bbp-search-form{
	position: relative;
}

.bbpress .widget .bbp-search-form form{
	margin-bottom: 1em;
}

.bbpress .widget .bbp-search-form #bbp_search_submit{
	position: absolute;
	right: 0;
	line-height: 1em;
	padding: 10px 15px;
	height: 36px;
	min-height: 10px;
	border-radius: 0 4px 4px 0;
	font-size: 14px;
}

.elementor-page .bbp-topics-widget,
.elementor-page .bbp-forums-widget{
	margin: 0;
}
.elementor-page .bbp-topics-widget li,
.elementor-page .bbp-forums-widget li {
	margin-left: 15px;
	margin-bottom: 10px;
	color: var(--color-primary-500) !important;
}

.elementor-page .bbp-replies-widget li{
	list-style: none;
	margin-left: 0px;
	color: var(--color-primary-500);
}

/* bbPress Activity widget */
.bbp-replies-widget li a,
.bbp-topics-widget li a {
	font-size: 13px;
	line-height: 20px;
	font-weight: 600;
	color: var(--color-primary-100) !important;
	transition: all 0.3s ease;
}

.bbp-replies-widget li a:hover,
.bbp-topics-widget li a:hover {
	color: var(--brand-color) !important;
}

.bbp-replies-widget li span,
.bbp-topics-widget li span {
	font-size: 13px;
	line-height: 20px;
	font-weight: 600;
	color: var(--color-primary-200) !important;
	transition: all 0.3s ease;
}

.bbp-replies-widget li span:hover,
.bbp-topics-widget li span:hover {
	color: var(--brand-color) !important;
}

.bbp-replies-widget li time,
.bbp-topics-widget li time{
    display: block;
	color: var(--color-primary-500);
    font-size: 12px;
    margin-left: 26px;
    text-align: left;
}

.bbp-replies-widget li a span.bbp-author-name,
.bbp-topics-widget li a span.bbp-author-name{
	font-weight: 600;
}

.bbp-forums-widget a{
	font-weight: 600;
	font-size: 13px;
	line-height: 20px;
}

.bbp-topics-widget li div,
.bbp-replies-widget li div{
	font-size: 12px;
	font-weight: 400;
	color: #999;
}

.bbp-replies-widget li a .bbp-author-avatar img,
.bbp-topics-widget li a .bbp-author-avatar img{
	border-radius: 50%;
    height: 20px;
    width: 20px;
    margin-right: 7px;
}
.bbpress .widget .bbp-replies-widget li,
.bbpress .widget .bbp-topics-widget li{
	margin-bottom: 15px !important;
	font-weight: normal;
	font-size: 13px;
	line-height: 20px;
}
#bbpress-forums fieldset.bbp-form legend{
	font-size: 13px;
	background: var(--white);
}
#bbpress-forums li.bbp-body{
	display: grid;
    overflow: hidden;
}

.forums.bbp-replies li.bbp-body {
	display: grid;
    overflow: hidden;
}

#bbpress-forums li.bbp-body ul.forum, #bbpress-forums li.bbp-body ul.topic{
    padding: 0px;
    background: transparent;
    position: relative;
}
.bbpress #bbpress-forums{
	margin-top: 0px;
}

#bbpress-forums li.bbp-body ul.forum, 
#bbpress-forums li.bbp-body ul.topic.sticky .tophive-forum-topic-loop-single{
	background: var(--brand-color-secondary);
	border: none !important;
}

#bbpress-forums li.bbp-body ul.forum, #bbpress-forums li.bbp-body ul.topic.sticky:before{
	position: absolute;
	content: '';
	background: var(--brand-color);
	width: 15px;
	height: 28px;
	right: 15px;
	top: -5px;
	z-index: 10;
}
#bbpress-forums li.bbp-body ul.forum, #bbpress-forums li.bbp-body ul.topic.sticky:after{
	position: absolute;
	content: '';
	top: 17px;
	right: 15px;
	background: var(--brand-color-secondary);
	width: 16px;
	height: 17px;
	transform: rotateZ(45deg);
	z-index: 99;
	border-radius: 4px;

}
.bbp-forum-content ul.sticky, .bbp-topics ul.sticky, .bbp-topics ul.super-sticky, .bbp-topics-front ul.super-sticky {
    background-color: transparent !important;
    font-size: 1.1em;
}

#bbpress-forums li.bbp-body ul.forum:first-of-type, 
#bbpress-forums li.bbp-body ul.topic:first-of-type{
	border-top: none;
}
#bbpress-forums li.bbp-body ul.forum .bbp-topic-permalink, 
#bbpress-forums li.bbp-body ul.topic .bbp-topic-permalink{
	font-size: 17px;
	line-height: 27px;
}
#bbpress-forums p.bbp-topic-meta img.avatar{
	float: none;
	vertical-align: middle;
	border: none;
	max-height: 25px;
	max-width: 25px;
	border-radius: 100px;
	width: 20px;
}
#bbpress-forums li.bbp-body ul.forum .tophive-forum-topic-loop-single .tophive-forum-topic-loop-single-avatar, 
#bbpress-forums li.bbp-body ul.topic .tophive-forum-topic-loop-single .tophive-forum-topic-loop-single-avatar{
	margin-right: 0;
}
.bbpress.single-topic .entry-title,
.bbpress.forum-template-default .entry-title{
	display: none;
}
#bbpress-forums{
	margin-top: 0px;
}
.tophive-forum-topic-loop-single p{
	font-size: 14px;
	line-height: 24px;
}
.tophive-forum-topic-loop-single svg.single-icon{
    width: 30px;
    height: 20px;
    margin-top: 4px;
    margin-right: 2px;
}
#bbpress-forums li.bbp-body ul.forum .tophive-forum-topic-loop-single .tophive-forum-topic-loop-single-avatar img,
#bbpress-forums li.bbp-body ul.topic .tophive-forum-topic-loop-single .tophive-forum-topic-loop-single-avatar img{
	margin-top: 0px;
}
#bbpress-forums .bbp-template-notice{
	display: none;
}
#bbpress-forums .tophive-forum-topic-loop-single:first-of-type{
	border-top: none;
}
.tophive-forum-topic-loop-single + .bb-press-forum-loop-top-bar{
	display: none;
}
#bbpress-forums #subscription-toggle span{
	background: transparent;
    padding: 8px 5px;
    border-radius: 3px;
}
.bbpress.topic-tag #bbpress-forums .bbp-breadcrumb{
	display: none;
}
.bbpress.topic-tag #bbpress-forums .bbp-pagination{
	width: 30%;
	margin-top: 10px;
}
.bbpress.topic-tag #bbpress-forums .bbp-pagination:last-of-type{
	display: none;
}
.bbp-pagination {
    float: left;
    width: 100%;
    margin-bottom: 0;
}
#bbpress-forums #subscription-toggle span a{
	font-weight: 500;
}
#bbpress-forums ul.bbp-replies{
	border: none;
}
#bbpress-forums .bbp-breadcrumb{
	float: none;
}
#bbpress-forums ul.bbp-replies li .loop-item-0 {
	display: none;
}

#bbpress-forums ul.bbp-replies li > div {
	background: var(--color-primary-950);
	padding: 15px;
	border: none !important;
	border-bottom: 1px solid var(--color-primary-800) !important;
}

#bbpress-forums ul.bbp-replies li > div:last-child {
	border: none !important;
}

#bbpress-forums ul.bbp-replies li .loop-item-1 {
	border-top: none;
}
.richtexteditor rte-content {
	border: none !important;
}
.richtexteditor rte-bottom {
	visibility: hidden;
}
.richtexteditor.rte-modern rte-toolbar {
	border-left-width: 0px !important;
	border-right-width: 0px !important;
	border-top-width: 0px !important;
	overflow: hidden;
}
#bbpress-forums ul.bbp-replies .gamipress-bbpress-points,
#bbpress-forums .topic-lead-question-details .gamipress-bbpress-points,
#bbpress-forums .topic-lead-question-details .gamipress-bbpress-ranks .gamipress-bbpress-levels-label,
#bbpress-forums ul.bbp-replies .gamipress-bbpress-ranks .gamipress-bbpress-levels-label,
#bbpress-forums .topic-lead-question-details .gamipress-bbpress-ranks .gamipress-bbpress-levels-title,
#bbpress-forums ul.bbp-replies .gamipress-bbpress-ranks .gamipress-bbpress-levels-title,
.bpbm-private-message-link-buddypress{
	display: none;
}
#bbpress-forums .bb-press-forum-loop-top-bar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 8px 8px 8px 12px;
	border: 0;
    border-radius: var(--redius);
    background: var(--white);
}
.bb-press-forum-loop-top-bar #subscription-toggle{
	float: none !important;
}
.bb-press-forum-loop-top-bar .bbp-pagination{
	float: none;
    width: auto;
    margin-bottom: 0;
}
#bbpress-forums #favorite-toggle, #bbpress-forums #subscription-toggle{
	float: none !important;
}
#bbpress-forums .topic-lead-question{
	padding: 15px;
    border: var(--border);
    margin-bottom: 20px;
    border-radius: var(--redius);
	background: var(--white);
}
#bbpress-forums .topic-lead-question .topic-lead-question-head{
	margin-bottom: 10px;
	border-bottom: var(--border);
	padding-bottom: 15px;
}
#bbpress-forums .topic-lead-question .topic-lead-question-head h6{
	font-size: 18px;
	line-height: 20px;
	margin: 0;
	margin-bottom: 5px;
}
#bbpress-forums div.bbp-forum-author img.avatar, 
#bbpress-forums div.bbp-reply-author img.avatar {
    border: none;
    max-width: 80px;
    padding: 0;
    margin: 0;
    float: none;
}
#bbpress-forums .topic-lead-question .bbp-author-avatar img{
	border-radius: 100%;
	margin-right: 12px;
}
#bbpress-forums .topic-lead-question .bbp-author-name{
	font-weight: 700;
	font-size: 14px;
}

#bbpress-forums .topic-lead-question .topic-lead-question-details {
	display: flex;
	font-size: 14px;
	line-height: 24px;
	color: var(--color-primary-100);
	margin-bottom: 10px;
}

#bbpress-forums .topic-lead-question .topic-lead-question-details .topic-lead-question-details-gamipress{
    width: 40px;
    text-align: center;
    margin-right: 12px;
    display: inline-block;
    vertical-align: top;
}
#bbpress-forums .topic-lead-question .topic-lead-question-details .topic-lead-question-content{
	width: calc( 100% - 60px );
  display: inline-block;
}

.gamipress-bbpress-achievements{
	margin-top: 10px;
	display: inline-grid;
    gap: 5px;
}

.gamipress-bbpress-achievement > span{
	display: none;
}

.gamipress-bbpress-achievement > span:first-of-type{
	display: inline-block;
}

.gamipress-bbpress-rank > span{
	display: none;
}

/* forum text editor */
#bbpress-forums fieldset.bbp-form{
	padding: 20px;
	margin-top: 20px;
	background: var(--white);
}

.forum-activity .elementor-element .form-title {
    font-size: 16px !important;
    font-weight: 700;
}

.ql-toolbar.ql-snow .ql-stroke {
    fill: none;
    stroke: var(--color-primary-400);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.4;
}

.forum-activity .ql-toolbar.ql-snow .ql-formats .ql-list,
.forum-activity .ql-toolbar.ql-snow .ql-formats .ql-picker-label,
.forum-activity .tophive-bbpress-new-post-form form .form-group label {
    display: none;
}

.forum-activity .ql-snow .ql-picker.ql-header {
    width: 0;
}

.forum-activity .ql-toolbar.ql-snow .ql-formats {
    margin: 0;
}

.forum-activity .tophive-bbpress-new-post-form form .form-group {
    margin-top: 10px;
}

.forum-activity .ql-editor.ql-blank:before {
    color: rgba(0, 0, 0, .6);
    font-size: 14px;
    font-style: normal;
    left: 10px;
    pointer-events: none;
    position: absolute;
    right: 10px;
}

.forum-activity .ec-mt-3 {
    margin-top: 0 !important;
}

.forum-activity .ec-text-danger {
    left: 38%;
    color: var(--danger) !important;
    display: flex;
    position: absolute;
    top: 89%;
    padding: 0;
    margin: 0;
    justify-content: center;
}

.ql-toolbar.ql-snow {
	border: var(--border);
	border-top-right-radius: var(--btn-redius) !important;
	border-top-left-radius: var(--btn-redius) !important;
	background: var(--color-primary-900);
}

.ql-container.ql-snow {
    border: var(--border);
	border-bottom-right-radius: var(--btn-redius) !important;
	border-bottom-left-radius: var(--btn-redius) !important;
}

.ql-formats button {
	background: none !important;
}

div.bbp-submit-wrapper{
	display: inline-block;
}
.elementor-widget-wp-widget-bbp_stats_widget dl,
.widget_display_stats dl{
	position: relative;
	font-size: 13px;
}
.elementor-widget-wp-widget-bbp_stats_widget dl dt,
.widget_display_stats dl dt{
	margin-bottom: 5px;
	font-weight: 400;
}
.elementor-widget-wp-widget-bbp_stats_widget dl dd,
.widget_display_stats dl dd{
	position: absolute;
	right: 0;
	transform: translateY(-20px);
	font-weight: 500;
}
.th_bpp_reply_messages{
	display: block;
	float: right;
	margin-top: 24px;
	font-weight: 600;
}
.th_bpp_reply_messages .errors{
	color: red;
}
.th_bpp_reply_messages .success{
	color: green;
}
@media only screen and (max-width: 420px){
	#bbpress-forums #subscription-toggle{
		display: none;
	}
}

@media only screen and (max-width: 568px){
	#bbpress-forums .bbp-body div.bbp-reply-author, #bbpress-forums .bbp-body div.bbp-topic-author {
    	float: left;
	    margin: 0; 
	    min-height: 0; 
	    padding-left: 0; 
	    position: relative; 
	    text-align: left;
	    border-bottom: none; 
	    box-sizing: content-box;
	}
	#bbpress-forums div.bbp-reply-author img.avatar, #bbpress-forums div.bbp-topic-author img.avatar {
	    position: relative;
	    top: 0;
	    left: 0;
	    width: 40px;
	}
	#bbpress-forums .bbp-body div.bbp-reply-content, #bbpress-forums .bbp-body div.bbp-topic-content {
        clear: both;
        margin: 0;
        padding: 0;
    }
}

/*--------- Youzify -------------*/
.youzify #bbpress-forums ul.bbp-replies li .loop-item-0{
	display: block;
}
.youzify #bbpress-forums div.bbp-forum-author, 
.youzify #bbpress-forums div.bbp-reply-author, 
.youzify #bbpress-forums div.bbp-topic-author{
	width: 115px !important;
}
.youzify #bbpress-forums div.bbp-forum-content, 
.youzify #bbpress-forums div.bbp-reply-content, 
.youzify #bbpress-forums div.bbp-topic-content{
	margin-left: 130px !important;
}

/* BB Press No topics */
.bbp-template-blank{
	text-align: center;
    width: 100%;
    padding: 40px 0;
}

.bbp-template-blank .content h1{
    margin: 20px 0 5px;
    font-size: 26px !important;
}

.bbp-template-blank .content a {
	display: inline-block;
	padding: 10px 18px;
	margin-top: 15px;
	font-size: 13px;
	font-weight: 600;
	color: var(--white);
	border-radius: var(--btn-redius);
}

.bbp-template-blank .content p {
	font-size: 13px;
	font-weight: 600;
	color: var(--color-primary-500);
}

.tophive-forum-topic-loop-single h6 {
    margin: 10px 0 15px !important;
    font-size: 16px !important;
    font-weight: 600;
}

.tophive-forum-topic-loop-single .tophive-forum-topic-loop-single-footer-meta span {
	display: flex;
    align-items: center;
	gap: 5px;
    font-size: 12px;
    font-weight: 500;
}

.tophive-forum-topic-loop-single .tophive-forum-topic-loop-single-footer-meta span svg {
	width: 16px;
	height: 16px;
    margin: 0;
}

/* ACTIVITY_STYLING_PART */
.bbpress.activity_update .edit-current-activity{
	display: none;
}
/* reaction button */
.topic-lead-question-meta {
	display: grid;
	grid-template-columns: max-content 1fr 6fr max-content;
	align-items: center;
	gap: 10px;
}

@media only screen and (max-width: 700px){
	.topic-lead-question-meta {
		display: inline-grid;
        grid-template-columns: 1fr 3fr;
        gap: 15px;
        align-items: center;
	}
}

.one-topic-avatars {
	align-items: center;
    font-weight: 500;
    gap: 5px;
    margin-right: 15px;
}

.one-topic-avatars img {
	border-radius: 40px !important;
	margin-right: -10px !important;
	border: 2px solid var(--white) !important;
}

.one-topic-avatars img:last-child {
	margin-right: 3px !important;
}

/* BBPRESS REACTIONS */
.topic-lead-question-meta .bbp-like-dislike {
	display: flex;
	align-items: center;
	gap: 10px;
}

.topic-lead-question-meta .bbp-like-dislike button {
	padding: 2px 10px !important;
	color: var(--color-primary-300);
	font-size: 12px !important;
	background: var(--white);
	border-radius: 50px !important;
	border: var(--border) !important;
}

.topic-lead-question-meta .bbp-like-dislike button.liked,
.topic-lead-question-meta .bbp-like-dislike button.disliked,
.topic-lead-question-meta .bbp-like-dislike button:hover {
	color: var(--brand-color) !important;
	background: var(--brand-color-secondary);
	border: 1px solid #dc354619 !important;
}

/* BBPRESS TAG */
.bbp-custom-tags {
    margin-top: 1em;
}

.bbp-custom-tags strong {
    display: none;
}

.bbp-custom-tags .tag-box {
    display: inline-block;
    margin: 0 5px 5px 0;
    padding: 1px 5px;
    border-radius: 4px;
	font-family: var(--monospace);
    font-size: 12px;
    text-transform: capitalize;
    transition: transform 0.2s ease;
}

.topic-lead-question-meta .bbp-like-btn, 
.bbp-dislike-btn,
.bbp-views {
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
}

.tophive-advanced-forum-tab-container .tophive-forum-tabs ul {
    background: transparent;
    border: 0;
	border-radius: 0;
    margin: 0 0 20px;
}

.tophive-advanced-forum-tab-container .tophive-forum-tabs ul li {
    display: inline-block;
    margin: 0;
    padding: 0;
}

.tophive-advanced-forum-tab-container .tophive-forum-tabs ul li a {
    display: block;
    padding: 8px 12px;
	margin-right: 10px;
	border-radius: 50px;
	font-weight: 600;
	background: var(--white);
	transition: all 0.3s ease;
}

.tophive-advanced-forum-tab-container .tophive-forum-tabs ul li a:hover {
	color: var(--brand-color);
	background: var(--brand-color-secondary);
}

.tophive-advanced-forum-tab-container .tophive-forum-tabs ul li.active a {
    border-bottom: 0;
    margin-bottom: 0;
	color: var(--brand-color);
	background: var(--brand-color-secondary);
}


.tophive-forum-topic-loop-single.recent-topics {
    padding: 20px;
	border: var(--border) !important;
	border-radius: var(--redius) !important;
}

.bbp-replies-widget {
    margin: 0;
}

/* topic form [shortcode] */
#bbpress-forums fieldset.bbp-form label {
    font-size: 14px;
	font-weight: 600;
	color: var(--color-primary-100);
	margin-bottom: 10px;
}

#bbpress-forums fieldset.bbp-form input[type=password], 
#bbpress-forums fieldset.bbp-form input[type=text], 
#bbpress-forums fieldset.bbp-form select {
    min-height: unset;
    height: unset;
    padding: 8px;
	border-radius: var(--btn-redius);
    background-color: var(--white);
}

#bbpress-forums div.wp-editor-container {
	overflow: hidden;
    margin-bottom: 20px;
    border: var(--border);
	border-radius: var(--btn-redius);
}