.cb_template .notificationsStream > div:not(.hidden):not(:empty) + div.hidden + div:not(.hidden):not(:empty),
.cb_template .notificationsStream > div:not(.hidden):not(:empty) + div:empty + div:not(.hidden):not(:empty),
.cb_template .notificationsStream > div:not(.hidden):not(:empty) + div:not(.hidden):not(:empty),
.cb_template .notificationsStreamItems > div:not(.hidden):not(:empty) + div.hidden + div:not(.hidden):not(:empty),
.cb_template .notificationsStreamItems > div:not(.hidden):not(:empty) + div:empty + div:not(.hidden):not(:empty),
.cb_template .notificationsStreamItems > div:not(.hidden):not(:empty) + div:not(.hidden):not(:empty) {
	margin-top: 0.5rem;
}

.cb_template .commentsStream > div:not(.hidden):not(:empty) + div.hidden + div:not(.hidden):not(:empty),
.cb_template .commentsStream > div:not(.hidden):not(:empty) + div:empty + div:not(.hidden):not(:empty),
.cb_template .commentsStream > div:not(.hidden):not(:empty) + div:not(.hidden):not(:empty),
.cb_template .commentsStreamItems > div:not(.hidden):not(:empty) + div.hidden + div:not(.hidden):not(:empty),
.cb_template .commentsStreamItems > div:not(.hidden):not(:empty) + div:empty + div:not(.hidden):not(:empty),
.cb_template .commentsStreamItems > div:not(.hidden):not(:empty) + div:not(.hidden):not(:empty) {
	margin-top: 0.5rem;
}

.cb_template .activityStream > div:not(.hidden):not(:empty) + div.hidden + div:not(.hidden):not(:empty),
.cb_template .activityStream > div:not(.hidden):not(:empty) + div:empty + div:not(.hidden):not(:empty),
.cb_template .activityStream > div:not(.hidden):not(:empty) + div:not(.hidden):not(:empty),
.cb_template .activityStreamItems > div:not(.hidden):not(:empty) + div.hidden + div:not(.hidden):not(:empty),
.cb_template .activityStreamItems > div:not(.hidden):not(:empty) + div:empty + div:not(.hidden):not(:empty),
.cb_template .activityStreamItems > div:not(.hidden):not(:empty) + div:not(.hidden):not(:empty) {
	margin-top: 1rem;
}

.cb_template .streamItem .streamItemMenu {
	right: 0;
	top: 0;
}

.cb_template .streamThemePreview {
	background-position: 50% 50%;
	background-size: cover;
	background-repeat: no-repeat;
	min-height: 100px;
	min-width: 300px;
}

.cb_template .activityContainer.streamItemInline > .streamLoading {
	display: none !important;
}

.cb_template .activityContainer.streamItemActive .streamInputMessageContainer,
.cb_template .activityContainerEdit .streamInputMessageContainer {
	min-height: 100px;
}

.cb_template .activityContainer.streamItemActive .streamInputMessageContainer.streamMessageTheme,
.cb_template .streamInputMessageContainer.streamMessageTheme,
.cb_template .streamMessageTheme {
	background-position: 50% 50%;
	background-size: cover;
	background-repeat: no-repeat;
	min-height: 200px;
}

.cb_template textarea.streamInputMessage {
	height: calc(1.5em + 0.75rem + 2px);
}

.cb_template .streamMessageTheme .streamInputMessage,
.cb_template .streamMessageTheme .streamInputMessage:focus {
	color: inherit;
	background: transparent;
	text-align: inherit;
	font-size: inherit;
	font-weight: inherit;
	padding: 0;
	border: 0 !important;
}

.cb_template .streamMessageTheme .streamInputMessage::-webkit-input-placeholder {
	color: inherit;
	text-align: inherit;
	font-size: inherit;
	font-weight: inherit;
}

.cb_template .streamMessageTheme .streamInputMessage::-moz-placeholder {
	color: inherit;
	text-align: inherit;
	font-size: inherit;
	font-weight: inherit;
}

.cb_template .streamMessageTheme .streamInputMessage::placeholder {
	color: inherit;
	text-align: inherit;
	font-size: inherit;
	font-weight: inherit;
}

.cb_template .streamInputMessage + .streamInputMessageActions {
	bottom: 2px;
	right: 5px;
	opacity: 0.8;
}

.cb_template .streamItemNotice .streamItemNoticeClose,
.cb_template .streamItemAlert .streamItemAlertClose {
	opacity: 0.6;
}

.cb_template .streamItemNotice:hover .streamItemNoticeClose,
.cb_template .streamItemAlert:hover .streamItemAlertClose {
	opacity: 1;
}

.cb_template .streamItem .streamMediaLeft img,
.cb_template .streamItem .streamMediaLeft .cbImgPict,
.cb_template .streamItem .streamMediaLeft .streamMediaImg {
	display: block;
	width: 48px;
	max-width: none;
}

.cb_template .commentContainer .streamMediaLeft img,
.cb_template .commentContainer .streamMediaLeft .cbImgPict,
.cb_template .commentContainer .streamMediaLeft .streamMediaImg {
	width: 38px;
}

.cb_template .commentContainer > .streamItemDisplay {
	margin-left: 38px;
}

.select2-container.streamThemeOptions,
.select2-container.streamReactionOptions,
.select2-container.streamEmoteOptions,
.select2-container.streamSelectOptions {
	z-index: 999999;
}

.cb_template .cbActivityAutoCompleteOption .streamIconEmote {
	float: right;
}

.select2-container.streamSelectOptions .streamIconAction {
	display: inline-block;
	min-width: 20px;
	text-align: left;
	padding-right: 0.5rem;
}

.select2-container.streamReactionOptions .select2-results:after {
	display: block;
	content: "";
	height: 22px;
	margin: 3px;
	background: url(images/giphy.png) no-repeat;
	background-size: 100%;
}

.select2-container.streamSelectOptions .select2-results {
	min-width: 200px;
}

.select2-container.streamThemeOptions .streamThemePreview {
	min-width: 60px;
	min-height: 60px;
	padding: 0 !important;
	margin: 0 !important;
}

.select2-container.streamReactionOptions .select2-results__options {
	max-height: 300px !important;
}

.select2-container.streamThemeOptions .select2-results__options,
.select2-container.streamEmoteOptions .select2-results__options {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	max-width: 300px;
}

.select2-container.streamThemeOptions .select2-results__option,
.select2-container.streamEmoteOptions .select2-results__option {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	flex: 0 0 16.66666667%;
	line-height: 0;
	padding: 4px;
}

.select2-container.streamThemeOptions .select2-results__option {
	flex: 0 0 25%;
	padding: 2px;
}

.select2-container.streamEmoteInsertOptions .select2-results__option:first-child {
	display: none;
}

.cb_template .streamItem .streamInputEmote .select2-selection__arrow,
.cb_template .streamItem .streamInputMessageReactionSelect .select2-selection__rendered,
.cb_template .streamItem .streamInputMessageReactionSelect .select2-selection__arrow,
.cb_template .streamItem .streamInputMessageEmoteSelect .select2-selection__rendered,
.cb_template .streamItem .streamInputMessageEmoteSelect .select2-selection__arrow,
.cb_template .streamItem .streamInputSelectToggle .select2-selection__rendered,
.cb_template .streamItem .streamInputSelectToggle .select2-selection__arrow {
	display: none;
}

.cb_template .streamItem .streamInputEmote .select2-selection__rendered {
	line-height: 0;
}

.cb_template .streamItemInputGroup .select2-container {
	left: auto !important;
	right: 0 !important;
}

.cb_template .streamItem .streamItemInputGroup .streamItemInputGroupLabel {
	cursor: default;
	border-right-style: dashed !important;
}

.cb_template .streamItemScrollLeft,
.cb_template .streamItemScrollRight {
	cursor: pointer;
	z-index: 2;
	opacity: 0.6;
}

.cb_template .streamItemScrollLeft:hover,
.cb_template .streamItemScrollRight:hover {
	opacity: 1;
}

.cb_template .streamToggleMedia .streamToggleMediaPreview,
.cb_template .streamItemVideo .streamItemVideoPlayer,
.cb_template .streamIconReactionEmbed .streamIconReaction {
	top: 0;
	left: 0;
}

.cb_template .streamItemVideo:before,
.cb_template .streamIconReactionEmbed:before {
	display: block;
	content: '';
	padding-bottom: 56.25%;
}

.cb_template .streamToggleMediaIcon {
	text-shadow: 0 0 0 #343a40;
	text-shadow: 0 0 0 var( --dark, #343a40 );
	opacity: 0.6;
}

.cb_template .streamToggleMedia:hover .streamToggleMediaIcon {
	opacity: 0.8;
}

.cb_template .streamToggleMediaIcon {
	line-height: 0;
}

.cb_template .streamItem[data-cbactivity-link],
.cb_template .streamToggleMedia:not(.streamToggleMediaOpen) .streamToggleMediaPreview {
	cursor: pointer;
}

.cb_template .streamToggleMediaPreview {
	z-index: 2;
}

.cb_template .streamToggleMediaPreview img {
	width: 100% !important;
	max-height: 100% !important;
	z-index: 3;
}

.cb_template .streamToggleMediaPlay {
	z-index: 4;
}

.cb_template .streamLoading,
.cb_template .streamOptionsLoading {
	top: 0;
	left: 0;
	z-index: 10;
	opacity: 0.5;
}

.cb_template .streamReactionsIcon:before {
	display: inline-block;
	content: "GIF";
	letter-spacing: 1px;
}

.cb_template .notificationContainer:hover {
	background-color: #f8f9fa;
	background-color: var( --light, #f8f9fa );
}

.cb_template .streamInputMessageContainer > .streamItemAlert,
.cb_template .streamItem.card:not(.commentContainer) > .streamItemAlert {
	border-bottom-left-radius: 0 !important;
	border-bottom-right-radius: 0 !important;
}

.cb_template .commentContainer.card > .streamItemAlert {
	border-top-left-radius: 0 !important;
	border-top-right-radius: 0 !important;
}

.cb_template .notificationContainer.card > .streamItemAlert,
.cb_template .streamItemInline.commentContainer .streamInputMessageContainer > .streamItemAlert {
	border-radius: 0 !important;
}

.cb_template .commentContainer:not(.card) .streamItemNotice {
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.cb_template .likeStreamButtons:hover .likeStreamUnlike,
.cb_template .followStreamButtons:hover .followStreamUnfollow {
	display: inline-block !important;
}

.cb_template .likeStreamButtons:hover .likeStreamUnlike + .likeStreamLiked,
.cb_template .followStreamButtons:hover .followStreamUnfollow + .followStreamFollowed {
	display: none !important;
}

.cb_template .likeStreamButtons,
.cb_template .followStreamButtons,
.cb_template .streamCount.streamCountLabel {
	text-shadow: none;
}

.cb_template .streamCount.streamCountLabel {
	opacity: 0.9;
}

.cb_template .streamCount.streamCountLabel .streamCountLabelArrow {
	top: 50%;
	left: 3px;
	margin-top: -5px;
	width: 0;
	height: 0;
	border-width: 5px 5px 5px 0 !important;
	border-style: solid;
	border-left-color: transparent;
	border-top-color: transparent;
	border-bottom-color: transparent;
}

.cb_template .streamCount.streamCountLabel .streamCountLabelArrow + .streamCountLabelContent {
	margin-left: 8px;
}

.qtip.activityModalContainer:not(.qtip-modal),
.qtip.commentsModalContainer:not(.qtip-modal),
.qtip.notificationsModalContainer:not(.qtip-modal) {
	max-width: 90%;
	z-index: 1000 !important;
}

.qtip.activityModalContainer:not(.qtip-modal):not(.streamModalContainerLoad),
.qtip.commentsModalContainer:not(.qtip-modal):not(.streamModalContainerLoad),
.qtip.notificationsModalContainer:not(.qtip-modal):not(.streamModalEmpty):not(.streamModalContainerLoad) {
	width: 600px !important;
}

.qtip.activityModalContainer .qtip-content > .streamContainer > .streamItems,
.qtip.commentsModalContainer .qtip-content > .streamContainer > .streamItems,
.qtip.notificationsModalContainer .qtip-content > .streamContainer > .streamItems {
	overflow: auto;
}

.qtip.activityModalContainer:not(.qtip-modal) .qtip-content > .streamContainer > .streamItems,
.qtip.commentsModalContainer:not(.qtip-modal) .qtip-content > .streamContainer > .streamItems,
.qtip.notificationsModalContainer:not(.qtip-modal) .qtip-content > .streamContainer > .streamItems {
	max-height: 600px;
}

.cb_template .streamFilter.disabled {
	pointer-events: none;
	cursor: default;
}

.cb_template .activityContainer .activityContainerTitle .fa-caret-right {
	font-size: 80%;
	opacity: 0.6;
}

.cb_template .streamContainer .twemoji {
	vertical-align: text-bottom;
}