/*--------------------------------------------------------------
This is your custom stylesheet.

Add your own styles here to make theme updates easier.
To override any styles from other stylesheets, simply copy them into here and edit away.

Make sure to respect the media queries! Otherwise you may
accidentally add desktop styles to the mobile layout.
https://www.w3schools.com/css/css_rwd_mediaqueries.asp
--------------------------------------------------------------*/


body {
    /* background-color: #f1f3f9; */
}
h1, h2, h3, h4, h5, h6 {
}
a {
	color: #005DE9;
}
a:hover {
	color: #005DE9;
	text-decoration: underline;
}
.button, button {
    /* background-color: #25546E;
    border-color: #25546E; */
    background-color: #00aeef;
    border-color: #00aeef;
}

.content-area {
    padding-top: 20px;
}
.entry-header {
    margin-bottom: 0;
}

/* Navigation */
.site-header-container .site-branding {
    min-width: auto !important;
}
#site-logo .site-title img.bb-logo {
    width: auto !important;
}

.bb-template-v2 .primary-menu>li {
    padding: 0 8px;
}
.bb-template-v2 .primary-menu>li>a {
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.bb-template-v2 .primary-menu>li>a i {
    margin: 0 0 0.25em;
}
.bb-template-v2 .primary-menu>li>a span {
    font-size: 0.75rem;
    line-height: 1.172;
    font-weight: 400;
    color: #5F6368;
}
.primary-menu>li>a>i.bb-icon-comments-square:before {
    content: '\e95d';
}

/* Homepage/Dashboard */
.home .bb-dash {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
}

.bb-dash .bb-dash__avatar {
    margin-right: 20px;
}
.bb-dash .bb-dash__avatar img {
    border: none;
    border-radius: 50%;
	max-width: 100px;
    padding: 0;
}
.bb-dash h2.bb-dash__prior {
    color: #000000;
    font-size: 1.125rem;
    line-height: 1.172;
	margin-bottom: 10px;
}
.bb-dash .bb-dash__brief {
    color: #979797;
    font-size: 0.75rem;
    line-height: 1.172;
}

.profile_bit_figure {
    display: block;
}
.profile_bit__details {
    display: none !important;
}
.profile_bit_wrapper .profile_bit_figure .profile_bit.skin-linear {
    padding: 0 !important;
}
.profile_bit.skin-linear .progress_container {
    border: none !important;
    border-radius: 10px !important;
}
.progress_bit__heading .bb-icon-l {
    display: none;
}
.skin-linear .progress_bit_linear .progress_bit__heading h3 {
    color: #5F636B;
    font-size: 1rem !important;
    line-height: 1.172;
    text-transform: none;
}
.progress_bit_linear .progress_bit__line {
    background-color: #D9D9D9 !important;
    height: 10px !important;
}
.progress_bit_linear .progress_bit__scale {
    background-color: #5CC974 !important;
    height: 10px !important;
}
.profile_bit_action a.profile_bit_action__link {
    border-color: #5F6368;
    color: #5F6368;
    font-size: 14px;
    font-weight: 700;
    padding: 8px 16px !important;
}

.bb-groups {
    border: none;
    border-radius: 10px;
}
.bb-groups .bb-block-header__extra {
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.172;
    text-transform: none;
}
.bb-groups .bb-block-header {
    margin: 0;
}
.bb-block-header h3 {
    color: #000000;
    font-size: 1rem;
    font-weight: 700;
}

.bb-members {
    border: none;
    border-radius: 10px !important;
}
.bb-members .bb-block-header__extra {
    text-transform: none;
    font-size: 0.75rem;
    line-height: 1.172;
    font-weight: 400;
}
.bb-members .bb-block-header__extra i, #bb-popular-members {
    display: none;
}
.bb-template-v2 .elementor-widget-wrap div.item-options a, .bb-template-v2 .widget.buddypress div.item-options a {
    color: #000000;
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.172;
    text-transform: capitalize;
}
.bb-template-v2 .elementor-widget-wrap div.item-options a.selected, .bb-template-v2 .widget.buddypress div.item-options a.selected {
    border-bottom-color: #005DE9;
    color: #005DE9;
    padding-bottom: 0;
}

.bs-item-wrap .flex:first-of-type {
    flex-direction: column;
}
.bs-item-wrap .action.flex {
    display: none;
}
.bs-item-wrap .flex .item-avatar.bb-item-avatar-wrap {
    width: 100%;
}

.bbp-author-info {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.bbp-author-meta {
    margin-left: 10px;
}
.bbp-author-meta h5, body.buddypress .buddypress-wrap .bbp-author-meta h5 {
    font-size: 0.875rem;
    line-height: 1.172;
    font-weight: 700;
	margin-bottom: 8px;
}
.bbp-author-meta p {
    color: #979797;
    font-size: 0.75rem;
    line-height: 1.172;
    font-weight: 400;
	margin-bottom: 0;
}
a.bbp-author-topic-permalink {
	align-self: flex-start;
    background-color: #00aeef;
	border: 1px solid #00aeef;
    color: white;
    border-radius: var(--bb-button-radius);
    display: block;
    font-size: 0.75rem;
    line-height: 1.172;
	margin-left: auto;
    padding: 8px 16px;
	transition: all 0.5s ease;
}
.bbp-author-topic-permalink:hover {
	background-color: white;
	color: #00aeef;
	text-decoration: none;
}
a.btn-new-topic {
    color: white;
}
#bbpress-forums#bbpress-forums .bs-forums-items .item-title a.bbp-topic-permalink {
    font-size: 18px;
    line-height: 1.172;
    font-weight: 700;
    color: #000000;
}
.bs-item-wrap .bbp-topic-excerpt-permalink {
    color: #000000;
    font-size: 18px;
    line-height: 1.172;
    font-weight: 400;
}
.bs-item-wrap .bbp-topic-excerpt-permalink:hover {
    text-transform: none;
}

#bbpress-forums>.bbp-forum-content-wrap:empty {
    display: none;
}

#bbpress-forums #bbp-forum-69 li, .groups #bbpress-forums li {
    /* border: none;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden; */
}
#bbpress-forums #bbp-forum-69 li.bs-header-item {
    background: none;
    margin-bottom: 12px;
    padding: 0;
}
#bbpress-forums .bs-item-list:not(.bb-tag-items-list) .bs-item-wrap:not(.bs-header-item) {
    border: none;
    border-bottom: 1px solid #F0F3F5;
    margin-bottom: 0;
}
#bbpress-forums #bbp-forum-69 li.bs-header-item .bs-section-title {
    font-size: 1.5rem;
    line-height: 1.172;
    font-weight: 700;
}
#bbp-forum-69 .bs-item-wrap.bs-header-item .bbp-forum-buttons-wrap {
    display: none;
    height: 0;
	width: 0;
}

/* Group archive */
#groups-list.bp-list .item-entry .list-wrap {
    border: none;
}

/* Groups */
.groups .container {
    max-width: 1270px;
}
.groups .widget {
    border: none;
    padding: 20px;
}

.groups .bb-groups {
    border: none;
    padding: 0;
}
.groups .widget > p {
    /* display: none; */
}
/* Move meta to the bottom of the group header */
#buddypress div#item-header #item-header-cover-image #item-header-content {
    display: flex;
    flex-direction: column;
}
.groups-header #cover-image-container #item-header-content .bp-group-meta-wrap {
    order: 99;
}

/* Hide default send request box on group pages, if not a member */
.groups .bp-wrap .bb-profile-grid .item-body > p, 
.groups .bp-wrap .bb-profile-grid .item-body > #request-membership-form, 
.groups .bp-wrap .item-body > p, 
.groups .bp-wrap .item-body > #request-membership-form, 
.groups .bp-wrap .item-body .bs-non-member .bs-forums-items > .bs-item-wrap {
    display: none;
}

.bb-template-v2 .entry-content #groups-list .item-avatar a, .bb-template-v2 .entry-content #groups-list .item-avatar a img, .bb-groups #groups-list .item-avatar img {
    border-radius: 4px;
}


@media (min-width: 64em) {
	
	.groups #primary {
    	flex-basis: 48%;
	}
	.groups #buddyboss-custom-sidebar-left, .groups #secondary {
    	flex-basis: 24.4%;
	}
	
}


/* Groups pages */
.groups .container .bb-grid {
    flex-wrap: nowrap;
    margin-top: 60px;
}

.groups.activity .container .bb-grid {
    /* margin-top: 110px; */
}

.groups #buddyboss-custom-sidebar-left .widget_elementor-library .elementor-widget-wrap.elementor-element-populated {
    padding: 0;
}

.groups #primary {
    padding-top: 0;
}
.groups #cover-image-container {
    border: none;
    border-radius: 10px;
    margin: 0;
    overflow: hidden;
    padding: 20px 20px 0;
}
body #buddypress #item-header-cover-image #item-header-avatar img.avatar {
    border: none;
    max-width: 120px;
}
.groups .item-header-wrap .bp-group-title-wrap {
    align-items: flex-end;
    max-width: 100%;
}
.single-headers .group-actions-absolute {
    position: static !important;
}
#buddypress #header-cover-image {
    max-height: 120px;
}
body #buddypress .groups-header #item-header-cover-image {
    padding-bottom: 15px;
}
#buddypress #item-header-cover-image #item-header-avatar {
    margin-right: 20px;
}
#buddypress div#item-header-cover-image .bb-bp-group-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.172;
}
.view-group-members-link {
    font-size: 0.75rem;
    line-height: 1.172;
}
/*
.item-header-wrap .bp-group-meta .group-type, .groups-header #cover-image-container #item-header-content .group-actions-absolute .generic-button:not(.subscribed):not(.group-button), .groups-header #cover-image-container #item-header-content .bp-group-meta-wrap, .groups-header #cover-image-container #item-header-content .group-description, .groups .bp-wrap #object-nav {
    display: none;
}
.groups-header #cover-image-container #item-header-content > div:nth-of-type(2) {
    display: none;
}
*/
.groups-header #cover-image-container #item-header-content a.view-group-members-link {
    display: none !important;
}


#buddypress .bs-group-invite .button, #buddypress .generic-button a.group-button.join-group, #buddypress .generic-button a.group-button.leave-group, .groups-header #item-header-content .generic-button .group-button.membership-requested, .groups-header #item-header-content .generic-button .group-button.request-membership {
	background-color: #FFFFFF;
    border-color: #25546E;
    border-radius: 10px;
    color: #25546E;
    font-size: 0.75rem;
    line-height: 1.172;
    font-weight: 700;
	min-height: auto;
    opacity: 1;
    padding: 8px 20px;
}
#buddypress .bs-group-invite .button:hover, #buddypress .generic-button a.group-button.join-group:hover, #buddypress .generic-button a.group-button.leave-group:hover, .groups-header #item-header-content .generic-button .group-button.membership-requested:hover, .groups-header #item-header-content .generic-button .group-button.request-membership:hover {
    background-color: #25546E;
    border-color: #25546E;
	color: #FFFFFF;
}
#buddypress .generic-button a.group-button.join-group:before, #buddypress .generic-button a.group-button.leave-group:before, .groups-header #item-header-content .generic-button .group-button.membership-requested:before, .groups-header #item-header-content .generic-button .group-button.request-membership:before {
	display: none;
}
.groups-header #item-header-content .group-actions-absolute .groups-meta .group-subscription {
    border: none;
    color: #25546E;
}
.groups-header #item-header-content .group-actions-absolute .groups-meta .group-subscription:focus, .groups-header #item-header-content .group-actions-absolute .groups-meta .group-subscription:hover {
    background-color: transparent;
    color: #25546E;
}
.groups-header #cover-image-container #item-header-content .group-actions-absolute .groups-meta .group-subscription i {
    font-size: 24px;
}

.groups #secondary {
    padding-top: 0;
}
.groups #secondary .bb-sticky-sidebar {
    top: 110px !important;
}
.groups #secondary .group-description h2 {
    color: #000000;
    font-size: 1rem;
    font-weight: 700;
	margin-bottom: 12px;
}
.group-description .group-description-info {
	color: #979797;
    display: flex;
    align-items: center;
    justify-content: space-between;
	margin-bottom: 1.5em;
}
.group-description .group-description-info:last-of-type {
	margin-bottom: 0;
}
.group-description-info span {
    width: 100%;
}
.group-description-info > span > a {
    color: #979797;
}
.widget-area .group-description i {
    font-size: 1.5rem;
    margin-right: 0.5em;
}
.group-description h4 {
	color: inherit;
    font-size: 0.875rem;
    line-height: 1.172;
    font-weight: 700;
    margin-bottom: 0.25em;
}
.widget-area .group-description span p {
    font-size: 0.625rem;
    line-height: 1.172;
    font-weight: 400;
}
.widget-area .group-description span p:last-of-type {
    margin-bottom: 0;
}
#groups-list > li {
    display: flex;
}
.groups #secondary #groups-list li, .groups #secondary #groups-list li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 10px 0;
    margin-bottom: 0;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    min-width: 100%;
}
.groups #secondary #groups-list .item-avatar {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 40px;
    flex: 0 0 40px;
    margin-right: 12px;
}
.groups #secondary #groups-list .item {
    line-height: 1;
}

/* Group members modal styles */
.group-members-modal.modal-mask {
	/* position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 9999;
	display: flex;
	justify-content: center;
	align-items: center; */
	display: none;
}

.group-members-modal .modal-wrapper {
	/* max-width: 600px;
	width: 90%; */
}

.group-members-modal .modal-container {
	/* background-color: #fff;
	padding: 20px;
	border-radius: 8px; */
    padding-bottom: 0;
}

.group-members-modal .bb-model-header {
	/* display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px; */
	justify-content: space-between;
	background-color: var(--bb-content-alternate-background-color);
    border-color: var(--bb-content-border-color);
	border-bottom: 1px solid #e7e9eb;
    box-shadow: none;
    margin-bottom: 0;
}

.group-members-modal .bb-action-popup-content {
	margin: 0 -30px;
    max-height: calc(100vh - 220px);
    overflow: auto;
    padding: 20px 30px;
}

.group-members-modal .close {
	/* font-size: 20px;
	font-weight: bold;
	color: #888; */
	color: var(--bb-headings-color);
	cursor: pointer;
	font-family: bb-icons;
    font-size: 24px;
	font-weight: 400;
    opacity: 1;
}

.group-members-modal .bb-members-list__item {
	display: flex;
	align-items: center;
	margin-bottom: 10px;
}

.group-members-modal .bb-members-list__avatar {
	margin-right: 10px;
}

.bs-topic-sidebar-inner.is_stuck {
    margin-top: 30px;
}


/* Groups discussions pages */
.return-to-forum {
    color: #000000;
    display: block;
	font-size: 0.75rem;
    line-height: 1.172;
    font-weight: 700;
    margin: 60px 0 30px;
}
.item-body .return-to-forum {
    margin-top: 0;
}
.return-to-forum:hover {
	color: inherit;
}
.return-to-forum > i {
    font-size: 1.5rem;
    font-weight: 300;
    position: relative;
    top: 3px;
}

.groups .container #bbpress-forums .bb-grid {
    flex-direction: column;
}
.groups .container .item-body #bbpress-forums .bb-grid {
    margin-top: 0;
}
.groups .container #bbpress-forums .bb-grid .bs-single-topic-sidebar {
    flex: 100%;
    max-width: 100%;
}
.groups .container #bbpress-forums .bb-grid .bs-single-topic-sidebar .single-topic-sidebar-links {
    display: flex;
	justify-content: flex-end;
}
.groups .container #bbpress-forums .bb-grid .bs-single-topic-sidebar .single-topic-sidebar-links > p {
    margin-left: 32px;
}
.groups .container #bbpress-forums .bb-grid .bs-single-topic-sidebar .single-topic-sidebar-links .bb-topic-subscription-link-wrap {
    order: 3;
}
.groups .single-topic-sidebar-links a {
    border: 1px solid #25546E;
    color: #25546E;
    font-size: 0.75rem;
    line-height: 1.172;
    font-weight: 700;
    padding: 0.5em 1.75em;
}
.groups .single-topic-sidebar-links a:hover {
    background-color: #25546E;
    color: #FFFFFF;
}
.groups .single-topic-sidebar-links a.bbp-topic-reply-link {
    background-color: #25546E;
    color: #FFFFFF;
}
.groups .single-topic-sidebar-links a.bbp-topic-reply-link:hover {
    background-color: #FFFFFF;
    color: #25546E;
}
#bbpress-forums .bs-forums-items .avatar {
    border-radius: 50%;
    margin-right: 0.625rem;
    max-width: 40px;
}
.groups #bbpress-forums .bs-item-list:not(.bb-tag-items-list) .bs-item-wrap.bs-header-item {
    /* padding: 0;
    border: none;
    border-radius: 10px;
    margin: 20px 0; */
}
.groups #bbpress-forums.bs-non-member .bs-item-list:not(.bb-tag-items-list) .bs-item-wrap.bs-header-item {
    display: none;
}


/* Dashboard quick post */
.dash-quick-post {
    background-color: white;
    border-radius: 10px;
    padding: 1.25rem;
	width: 100%;
}

.dash-quick-post-top, .dash-quick-post-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.dash-quick-post-top {
    /* margin-bottom: 1.75rem; */
}
.dash-quick-post-top .avatar {
    border-radius: 50%;
	margin-right: 0.625rem;
    max-width: 40px;
}
.dash-quick-post-top input {
    background-color: #F0F3F5;
    border: none;
    border-radius: 50px;
    font-size: 0.875rem;
	font-weight: 400;
    line-height: 1.172;
	padding: 0.75rem 1.125rem;
    width: 100%;
}
.dash-quick-post-top input::placeholder {
	color: #000000;
}
.dash-quick-post-bottom > div {
    display: flex;
	align-items: center;
}
.dash-quick-post-bottom > div p {
    color: #000000;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.172;
    margin-bottom: 0;
}
.dash-quick-post-bottom > div i {
    font-size: 2rem;
    margin-right: 0.625rem;
}
.dash-quick-post-bottom > div.documents i {
    color: #4ECB71;
}
.dash-quick-post-bottom > div.photos i {
    color: #25546E;
}

@media (min-width: 48em) {
	
	.dash-quick-post-bottom {
		margin: 0 auto;
		width: 60%;
	}
	
}

/* Dashboard quick post modal styles */
.dash-quick-post-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

.dash-quick-post-modal .modal-content {
    background-color: #fff;
    width: 60%;
    max-width: 600px;
    /* margin: 100px auto; */
    padding: 20px;
    border-radius: 5px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.dash-quick-post-modal .close-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

/* .dash-quick-post-modal #bbpress-forums {
    background-color: white;
    margin: 0 auto;
    max-width: 610px;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
} */


/* hide community wide group (CEO Confidential) from /groups/ page */
body.buddypress.groups ul#groups-list li.item-entry[data-bp-item-id="6"] {display:none;}

/* hide labels under the input fields on the BB edit profile page */
body.bbp-user-page.profile-edit p.field-visibility-settings-notoggle {display:none;}

/* remove max-width from subscription toggle */
.bb-topic-subscription-link-wrap.mobile-only .subscription-toggle {
    max-width: none;
}

/* BuddyBoss Profile Edit */
body.bbpress.profile-edit .editfield.field_nickname,
.profile-fields .field_nickname,
.bb-user-content-wrap .mention-name {
    display: none !important;
}

/* Members page */
.group-discussions-link {
    margin-top: 35px;
}


/* Mobile nav adjustments */
@media screen and (max-width: 767px) {

	.header-aside>*:not(.search-separator), .notification-link, .bb-mobile-header {
    	height: auto !important;
	}
	.site-header {
    	padding: 0 16px;
	}
	.mobile-logo-wrapper {
    	padding: 0 15px 0 0;
	}
	.site-title img.bb-mobile-logo {
    	max-width: 100px;
	}
	.bb-mobile-header .bb-left-panel-icon-wrap {
    	order: 3;
	}
	.site-header .bb-left-panel-mobile>i {
    	font-size: 40px;
		position: relative;
	}
	.site-header .bb-left-panel-mobile>i:after {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		width: 70%;
		height: 100%;
		background: white;
		clip-path: polygon(0% 0%, 33% 0%, 100% 100%, 0% 100%);
	}

    .groups.single-item #item-body {
        padding-inline: 16px;
    }
	
}


/* Mobile footer fixed nav */
.elementor-fixed-footer {
    position: fixed;
    bottom: calc(0% - 1px);
    left: 0;
    width: 100%;
}
.footer-profile-link > img {
    width: 20px;
    height: auto;
    border-radius: 50%;
    margin: 0.25em auto;
}


/* Mobile general style adjustments */
@media screen and (max-width: 767px) {
	
	.dash-quick-post-bottom {
    	padding: 0 64px;
	}
	
	/* Groups */
	body.groups.buddypress.sticky-header .site-content {
    	padding: 1.25em 0 0;
	}
	.groups #primary {
    	padding: 0;
	}
	
	/* Groups header area */
	body #buddypress #item-header-cover-image #item-header-avatar img.avatar {
    	max-width: 80px;
	}
	body #buddypress .groups-header #item-header-cover-image {
		flex-flow: row;
		align-items: flex-start;
		margin-top: -1.5em;
		padding-bottom: 0;
		z-index: 9;
	}
	#buddypress .groups-header #item-header-cover-image #item-header-avatar {
    	margin-top: 0;
	}
	body.single-item.single-item.groups #buddypress div#item-header #item-header-cover-image #item-header-content {
		display: flex;
	    flex-direction: column;
    	margin-left: 1em;
    	margin-top: 3em;
		flex: initial;
	}
	#buddypress .groups-header #cover-image-container.left #item-header-cover-image .bp-group-title-wrap {
		order: 1;
	}
	.groups-header #cover-image-container.left #item-header-content .group-actions-absolute {
		order: 3;
	}
	.groups-header .view-group-members-link {
	    order: 2;
		margin: -2em 0 1em;
		text-align: left;
	}
	/* End groups header area */
	
	.groups .bbp-pagination, 
	.groups #secondary {
    	display: none;
	}
	
	.groups-mobile-lower-info .icon-list-items {
    	list-style: none;
		margin: 0 auto 1.5em;
		text-align: center;
	}
	.groups-mobile-lower-info .icon-list-items > li > a {
    	display: flex;
    	justify-content: center;
	}
	.groups-mobile-lower-info .icon-list-items .icon-list-text {
    	color: #000000;
    	font-size: 0.875rem;
    	font-weight: 700;
    	margin-left: 0.5em;
	}
	.groups-mobile-lower-info > .widget-container {
    	margin-bottom: 5em;
	    text-align: center;
	}
	
}

@media screen and (max-width: 1023px) {
	.groups #buddyboss-custom-sidebar-left {
    	display: none;
	}

}


@media screen and (min-width: 768px) {
	
	.groups-mobile-lower-info {
    	display: none;
	}
	
}

/* Events styling */
.page-id-214 .event-tickets .tribe-tickets__rsvp-wrapper {display:none !important;}


/* hide "News Feed" heading on homepage */
body.home-page header.entry-header {display:none;}

/* hide "News Feed" heading on the dashboard page (CFOLC) */
.cen-news-feed-layout header.entry-header {display:none;}



/* Event Shortcodes (used for multiple shortcodes that display events) */

.bb-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin: 20px 0;
}
.bb-event-card {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: #fff;
}
.bb-event-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}
.bb-event-image img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}
.bb-event-content {
    padding: 18px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.bb-event-date {
    font-size: 0.85em;
    color: #3f3f3f;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.bb-event-title {
    font-size: 1.2rem;
    line-height: 1.3;
    margin: 0 0 12px 0;
    font-weight: 700;
}
.bb-event-title a {
    text-decoration: none;
    color: #000;  /* was #004D79 */
}
.bb-event-read-more {
    margin-top: auto;
    font-size: 0.9em;
    font-weight: 600;
}
.bb-event-read-more a {
    color: #00AEE0;  /* was #a4a4a4 */
}

/* Single post */
.single-post:not(.has-sidebar,.elementor-template-full-width) .site-content-grid, .single-post:not(.has-sidebar,.elementor-template-full-width) .content-area {
    max-width: 1200px;
}

.single-post:not(.has-sidebar,.elementor-template-full-width) .content-area {
    padding-left: 0;
    padding-right: 0;
}

/* Remove sidebar if empty and fix widths */
.site-content-grid:has(#secondary .widget:empty) #secondary {
    display: none;
}
.site-content-grid:has(#secondary .widget:empty) #primary {
    flex: 1 1 auto;
    max-width: none;
    width: auto;
}

/* Forums adjustments */
.single.single-forum .type-forum .bb-topic-banner .entry-header.bb-single-forum .entry-title {
    font-size: 44px;
}

@media (min-width: 64em) {
    body.forum:not(.groups) ul.bs-forums-items {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
    }

    body.forum:not(.groups) ul.bs-forums-items li.bs-header-item {
        flex-basis: 100%;
    }

    body.forum:not(.groups) ul.bs-forums-items li:not(.bs-header-item) {
        flex-basis: calc(33.3333% - 0.6666rem);
    }

    body.forum:not(.groups) ul.bs-forums-items .bbp-author-info {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    body.forum:not(.groups) ul.bs-forums-items .bbp-author-info a.bbp-author-topic-permalink {
        margin: 0.5rem auto 0 0;
    }
}

/* Posting options override */
#activity-post-form-privacy label[for="public"],
#activity-post-form-privacy label[for="onlyme"] {
    display: none;
}

/* New topic permalink button adjustments */
body.groups .bbp-author-topic-permalink-forum-grid,
body.single-forum .bbp-author-topic-permalink:not(.bbp-author-topic-permalink-forum-grid) {
    display: none;
}

a.bbp-author-topic-permalink-forum-grid {
    display: inline-block;
    margin-top: 1rem;
    text-align: center;
}

/* Forum search form adjustments */
.bbp-forum-search {
    background-color: white;
    border: 1px solid var(--bb-content-border-color);
    border-radius: var(--bb-block-radius);
    margin-bottom: 1rem;
    padding: 1rem 1.25rem;
}

.bbp-forum-search form#bbp-search-form {
    margin: 0;
}

/* Forum header adjustments */
body.forum:not(.groups) ul.bs-forums-items li.bs-header-item .bbp-forum-buttons-wrap {
    display: none !important;
}

body.forum:not(.groups) ul.bs-forums-items li.bs-header-item {
    background: none !important;
    border: none;
    padding: 0;
}

/* Hide the Sorting dropdown at the top of the BuddyBoss Member Directory page */
body.buddypress.members.directory select#members-order-by {display:none; !important}

/* CEN forum composer trigger styles */

/* Hide on non-forum pages */
body:not(.single-forum) .cen-composer-trigger {
    display: none;
}

.cen-composer-trigger { 
    margin: 0 0 16px; 
}

.cen-composer-box {
    display: block;
    background: #fff;
    border: 1px solid var(--bb-content-border-color);
    border-radius: var(--bb-block-radius);
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.cen-composer-box:hover {
    border-color: #d6dae1;
    box-shadow: 0 2px 6px rgba(18, 43, 70, 0.06);
}

.cen-composer-top {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
}
.cen-composer-avatar img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: block;
}
.cen-composer-placeholder {
    font-size: 16px;
    color: #9a9da3;
}

.cen-composer-actions {
    background-color: var(--bb-content-alternate-background-color);
    border-top: 1px solid var(--bb-content-border-color);
    border-radius: 0 0 var(--bb-block-radius) var(--bb-block-radius);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
}
.cen-composer-action-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: #f2f3f5;
    color: #7a7d83;
    font-size: 24px;
}
.cen-composer-action-icon .bb-icon-l {
    font-weight: 300;
}

/* Newer group bb-grid adjustments - overrides some of what is above */
@media (min-width: 64em) {
    .site-content-grid:has(#secondary .widget:empty) #primary {
        flex: 0 0 75%;
    }
}

/* Hide document preview image */
.document-preview-wrap {
    display: none !important;
}


/* adjust page headings on Events page and Member Directory pages */
body.buddypress.members.directory h1.entry-title, body.page-id-1450 h1.entry-title, body.page-id-1450 h1.wp-block-heading {
    color: #004D79;
    font-size: 30px;
    margin-top: 20px;
}

