// BuddyPress Overwites

#buddypress form#whats-new-form textarea {
	// Fixed for 2012
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	width: 100%;
}

#buddypress #whats-new-form {
	.rtmedia-uploader-div {
		display: none;
	}

	#whats-new-options .rtmedia-uploader-div {
		display: block;	
	}
}


#buddypress #whats-new-options {
	height: auto !important;
	overflow: hidden;
}

#buddypress form#whats-new-form p.activity-greeting {
	line-height: 1;
}

#buddypress form#whats-new-form #whats-new-options select {
	border: 1px solid #ccc;
    font-size: 12px;
    margin-top: 3px;
    margin-right: 10px;
    line-height: 12px;
}

#whats-new-submit #aw-whats-new-submit {
	font-size: 12px;
	line-height: 18px;
}

#whats-new-post-in-box {
	float: left;
	font-size: 13px;
}

#buddypress form#whats-new-form #whats-new-submit {
	margin-top: 0;
}

#whats-new-textarea {
	margin-bottom: 10px;
}

// Fix for bootstrap selector conflicts
body.media.buddypress {
	overflow-y: auto;
}

#buddypress input[type=submit]:focus {
	background: #ededed;
	border: 1px solid #bbb;
	color: #555;
	outline: 0;
	text-decoration: none;
}

#buddypress ul.activity-list li.activity-item {
	.activity-comments {
		.rtmedia-uploader-div {
			color: #767676;
			margin-left: 50px;
			padding-left: 15px;

			.rtm-plupload-list {
				.plupload_queue_li {
					padding: 5px;
				}
				.rtm-upload-edit-desc {
					background: #fff;
					border : solid 1px #ccc;
				}
			}
		}
	}
}

#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box {
	margin-top: 0;
}

#whats-new-post-in-box {
	display: flex;
	align-items: center;
}

// Fix BuddyPress Nouveau issue in 2024 theme
#buddypress.buddypress-wrap .bp-navs.bp-priority-nav {
	overflow: unset;
}

.bp-priority-nav {
	display: flex;
}
