.cForumList .ipsDataItem {
	border-bottom-width: 1px;
}

.cForumList .ipsDataItem_main {
	vertical-align: middle;
}

.cForumList .ipsDataItem_title {
	font-size: 18.0px;
}

/* Forum grid layout */
.ipsForumGrid{
	--ipsForumGrid--width: 300px;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(var(--ipsForumGrid--width), 1fr));
	gap: var(--sp-5);
}

	.ipsForumGrid *{
		min-width: 0;
	}

	.cForumGrid{
		display: flex;
		flex-direction: column;
	}

	.cForumGrid__hero{
		color: #fff;
		text-shadow: rgba(0,0,0,0.5) 0px 1px 1px;	
		position: relative;
		border-radius: var(--box--radius) var(--box--radius) 0 0;
		margin: -1px;
		margin-bottom: 0;
		background-color: rgb( var(--theme-area_background_dark) );
	}

		.cForumGrid__hero-link{
			max-height: 200px;
			display: block;
			border-radius: inherit;
			overflow: hidden;
		}

			.cForumGrid__hero-link::before{
				padding-bottom: calc(9 / 16 * 100%);
				border: 1px solid rgba( var(--theme-text_color), 0.25 );
				content: '';
				display: block;
				border-radius: inherit;
				position: relative;
				z-index: 1;
			}

			.cForumGrid__hero-image{
				position: absolute; top: 0; left: 0; right: 0; bottom: 0;
				background-size: cover;
				background-position: 50% 50%;
				border-radius: inherit;
			}

	.cForumGrid__contentAlign{
		padding: var(--sp-5);
		display: flex;
		gap: 12px;
	}

	.cForumGrid__icon .ipsItemStatus_custom{
		max-width: 34px;
	}

	.cForumGrid__icon .ipsItemStatus_large{
		max-width: 34px;
		max-height: 34px;
	}

	.cForumGrid__content{
		flex: 1 1 auto;
		align-self: center;
	}

	.cForumGrid__title{
		line-height: 1.1;
		font-weight: 500;
	}
		@media (min-width: 500px){
			.cForumGrid__title{
				font-size: 18px;
			}
		}
		.cForumGrid--unread .cForumGrid__title{
			font-weight: 700;
		}

	.cForumGrid__title-stats{
		display: flex;
		font-weight: 500;
	}

		.cForumGrid__title-stats li:not(:first-child)::before{
			content: '/';
			margin: 0 .8em;
			opacity: .6;
		}		

	.cForumGrid__description{
		color: rgb(var(--theme-text_light));
	}

		:where(.cForumGrid__description .ipsType_richText) a{
			color: inherit;
		}

	.cForumGrid__description .ipsType_richText p:first-child{
		margin-top: var(--sp-2);
	}

	.cForumGrid__subforums{
		margin: .5em 0 0;
		padding: 0;
		list-style: none;
		display: flex;
		flex-wrap: wrap;
		gap: .5em 2em;
	}

		.cForumGrid__subforums a{
			display: flex;
			align-items: baseline;
		}

		.cForumGrid__unread-subforum{
			font-weight: 700;
		}

		.cForumGrid__subforums a::before{
			flex: 0 0 auto;
			content: '\f114';
			font: normal normal normal 14px/1 FontAwesome;
			font-size: inherit;
			text-rendering: auto;
			-webkit-font-smoothing: antialiased;
			-moz-osx-font-smoothing: grayscale;
			margin-inline-end: .5em;
			opacity: .7;
		}

		.cForumGrid__subforums .cForumGrid__unread-subforum a::before{
			content: "\f07b";
		}

	.cForumGrid__last {
		padding: var(--sp-3) var(--sp-5);
		border-top: 1px solid rgba(var(--theme-text_color), .06);
		border-bottom-left-radius: inherit;
		border-bottom-right-radius: inherit;
	}
		.cForumGrid__last .ipsUserPhoto{
			margin-top: 3px;
		}
		.cForumGrid__last .ipsDataItem_lastPoster__title{
			font-weight: 500;
		}
		.cForumGrid__last .ipsType_light a{
			color: inherit;
		}

.cForumTopicTable .ipsDataItem_title {
	display: block;
}

.cForumTitle {}

	.cForumRow_hidden .cForumTitle {
		opacity: 0.5;
	}

	.cForumRow_hidden > .ipsDataList {
		display: none !important;
	}

.cForumToggle {
	font-size: 18px;
	opacity: 0.2;
	transition: 0.3s all linear;
	width: 20px;
	height: 20px;
}

	.cForumToggle:hover {
		opacity: 1;
	}

	.cForumToggle:after {
		content: "\f078";
		font-family: "FontAwesome";
		font-size: 18px;
	}

	.cForumRow_hidden .cForumToggle:after {
		content: "\f053";
	}
	html[dir="rtl"] .cForumRow_hidden .cForumToggle:after {
		content: "\f054";
	}

.cTopicList .ipsDataItem_icon {
	min-width: 21px;
	padding-inline-end: 0;
}

.cTopicList .ipsLiveActivity--small {
	margin-inline-end: calc( var(--sp-2) * -1 );
	display: inline-block;
}

.cTopicHovercard .cTopicHovercard_container {
	height: 200px;
	overflow: auto;
	border-bottom: 0;
}

.cTopicHovercard .ipsType_richText {
	font-size: 12.0px;
}

.cTopicHovercard hr.ipsHr {
	margin: 7px 0;
}

/* Q&A RATINGS */
.cForumQuestion_stat > span:first-child {
	display: block;
	font-size: 22px;
}

.cRatingColumn {
	width: 65px;
	padding: 15px 15px 0 15px !important;
}
	[dir='ltr'] .cRatingColumn{
		border-top-left-radius: var(--box--radius);
		border-bottom-left-radius: var(--box--radius);
	}
	[dir='rtl'] .cRatingColumn{
		border-top-right-radius: var(--box--radius);
		border-bottom-right-radius: var(--box--radius);
	}

	.cRatingColumn.cRatingColumn_question {
		padding-top: 0 !important;
	}

	.cRatingColumn_on {
		background: var(--positive-light);
	}

	.cRatingColumn_up {
		border-color: var(--positive-dark);
	}

	.cRatingColumn_down {
		border-color: var(--negative-dark);
	}

	.cRatingColumn > ul > li {
		display: block;
	}

	.cRatingColumn_question {
		padding: 0 !important;
	}

	.cRatingColumn_question {
		margin-inline-end: calc( var(--sp-4) * -1 );
	}

	@media screen and (max-width: 767px) {
		.cRatingColumn_question {
			margin-inline-end: calc( var(--sp-3) * -1 );
		}
	}

.cAnswerRate {
	font-size: 50px;
	line-height: 10px;
	position: relative;
	display: block;
	overflow: hidden;
}	

	.cAnswerRate.cAnswerRate_up {
		margin-bottom: 10px;
	}

html[dir="ltr"] .cAnswerRate {
	left: 1px;
}
html[dir="rtl"] .cAnswerRate {
	right: 1px;
}

	.cAnswerRate:not( .ipsType_positive ):not( .ipsType_negative ), 
	.cAnswerRate:hover:not( .ipsType_positive ):not( .ipsType_negative ) {
		color: rgb( var(--theme-text_color) );
	}

		span.cAnswerRate:not( .ipsType_positive ):not( .ipsType_negative ),
		span.cAnswerRate:hover:not( .ipsType_positive ):not( .ipsType_negative ) {
			color: rgb( var(--theme-text_light) );
			opacity: 0.5;
			cursor: not-allowed;
		}

		.cAnswerRate.ipsType_positive:hover {
			color: var(--positive-dark);
		}

		.cAnswerRate.ipsType_negative:hover {
			color: var(--negative-dark);
		}

	.cAnswerRate > .fa {
		line-height: 30px;
	}

	span.cAnswerRate.cAnswerRate_noPermission {
		opacity: 0.25 !important;
	}

.cAnswerRating {
	font-size: 22px;
	font-weight: 500;
	line-height: 30px;
	display: block;
	margin-top: -8px;
}

.cBestAnswerIndicator {
	display: inline-block;
	color: var(--positive-light);
	font-size: 22px;
	width: 36px;
	height: 36px;
	text-align: center;
	line-height: 36px;
	position: relative;
	background: var(--positive-dark);
	border-radius: 36px;
	margin-bottom: 5px;
}
	
	.ipsDataList .cBestAnswerIndicator {
		margin-bottom: 0;
	}

	.cBestAnswerIndicator_off {
		background: #d4d4d4;
	}
		.cBestAnswerIndicator_off:hover {
			background: #c9c9c9;
			color: #fff;
		}

	a.cBestAnswerIndicator:not( .cBestAnswerIndicator_off ):hover {
		line-height: 34px;
	}

		a.cBestAnswerIndicator:not( .cBestAnswerIndicator_off ):hover i.fa:before {
			content: '\f00d';
			color: #fff;
		}

/* POST WRAPPER STYLES */
.cPost {
	display: flex;
}

/*.cPost.ipsModerated,
.cPost.ipsModerated .cAuthorPane {
	background: rgb( var(--theme-moderated) );
}*/

.cPost.ipsComment_selected:not( .ipsComment_moderated ) {
	background: rgb( var(--theme-selected) );
}

/*.cTopic .cPost.ipsComment:last-of-type {
	margin-bottom: 0;
}*/

.cPost.cPostQuestion.ipsBox--child {
	border: 0;
	box-shadow: none;
}

.cPost .cAuthorPane{
	flex: 0 0 auto;
	margin: 0 !important;
}

.cPost .ipsComment_meta {
	padding: var(--sp-5) 0;
}

.cPost .ipsComment_controls {
	margin: 0;
	padding: 0;
}

.cPost .cPost_contentWrap {
	position: relative;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
}
	.cPost .cPost_contentWrap,
	.cPost .ipsComment_meta{
		padding-inline-end: var(--sp-4);
	}

	/* Remove horizontal scrollbar when editing posts */
	.cPost_contentWrap .ipsToolList_horizontal{
		margin: 0;
	}

.cPost.ipsComment .ipsType_richText {
	margin-top: 0;
}

.cPost .ipsComment_content {
	display: flex;
	flex-direction: column;
	min-height: 100%;
}

html[dir] .cPost .ipsComment_content {
	padding-right: 0;
	padding-left: 0;
}


.ipsApp .cTopic [data-role="commentFeed"] > .ipsComment:first-child {
	padding-top: 15px;
}

.cPostShareMenu h5 {
	margin-bottom: 5px;
}

.cTopic .ipsComment.ipsComment_ignored {
	padding-inline-start: 200px;
}

/* REPLY AREA / CREATE TOPIC */
.cTopicPostArea .ipsComposeArea {
	margin-top: 0;
}

/*.cTopicPostArea:not( .cTopicPostArea_noSize ) .ipsComposeArea_dummy {
	min-height: 200px;
}*/

/*.cTopicPostArea hr {
	display: none;
}*/

.cCreateTopic_date input {
	max-width: 100% !important;
	width: 100% !important;
	margin-bottom: 7px;
}
.cCreateTopic_date input {
	padding-inline-start: 35px !important;
}

.cCreateTopic_date li {
	position: relative;
}

.cCreateTopic_date i {
	position: absolute;
	top: 13px;
	font-size: 18px;
}
html[dir="ltr"] .cCreateTopic_date i {
	left: 10px;
}
html[dir="rtl"] .cCreateTopic_date i {
	right: 10px;
}

/* FEATURED TOPICS */
.cFeaturedTopics h2 {
	font-weight: 500;
}

/* Unread bar */
.ipsUnreadBar {
	color: rgb( var(--theme-item_status) );
	margin-bottom: var(--sp-5);
	display: flex;
	align-items: center;
}

.ipsUnreadBar:before,
.ipsUnreadBar:after {
	content: '';
	height: 2px;
	border-radius: 3px;
	background: rgb( var(--theme-item_status) );
}

.ipsUnreadBar:before {
	flex: 0 0 calc(200px - var(--sp-4));
}

.ipsUnreadBar:after {
	flex: 1 1 auto;
}

.ipsUnreadBar span{
	padding: 0 var(--sp-4);
	font-weight: 500;
}

@media screen and (max-width: 767px) {
	html[dir] .ipsUnreadBar {
		margin-left: var(--sp-1);
		margin-right: var(--sp-1);
	}
	
	.ipsUnreadBar:before {
		display: none;
	}

	.ipsUnreadBar span {
		padding-inline-start: 0;
	}

}

/* Topic meta */
.ipsTopicMeta {
	list-style: none;
	margin-top: calc( ( var(--sp-5) * -1 ) + var(--sp-4) );
	margin-bottom: var(--sp-2);
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	border-radius: var(--radius-1);
}
.ipsTopicMeta {
	margin-inline-start: calc(200px - var(--sp-4));
}

.ipsTopicMeta__item {
	background-color: var(--box--backgroundColor);
	box-shadow: var(--box--boxShadow);
	border-radius: var(--radius-1);
	padding: 6px var(--sp-4);
	font-size: 13.0px;
	color: rgb( var(--theme-text_color) );
	word-break: break-word;
	display: inline-flex;
	margin-bottom: var(--sp-2);
}

	.ipsTopicMeta__time {
		color: rgb( var(--theme-text_light) );
	}
		.ipsTopicMeta__time {
			margin-inline-end: var(--sp-2);
		}

	.ipsTopicMeta__action {
		flex: 1;
	}

	.ipsTopicMeta a{
		color: inherit;
	}

@media screen and (max-width: 767px) {
	html[dir] .ipsTopicMeta {
		margin-inline-start: var(--sp-1);
		margin-inline-end: var(--sp-1);
		align-items: stretch;
	}

	.ipsTopicMeta__item {
		padding: var(--sp-2) var(--sp-4);
		display: block;
	}
}

/* Mini sidebar list */
.cForumMiniList_button.ipsButton_split {
	margin-top: 2px;
}

.cForumMiniList_wrapper {
	padding: 10px;
}

ul.ipsButton_split.cForumMiniList_buttonShowFlow {
	margin-top: 8px;
}

ul.ipsButton_split.cForumMiniList_button {
	text-transform: none;
}

html[dir] .cForumMiniList_wrapper > .ipsSideMenu > .ipsSideMenu_list.cForumMiniList_multiRoot > li > .cForumMiniList {
	border: 0;
}

.ipsSideMenu > .cForumMiniList > li:not( .cForumMiniList_category ) > .cForumMiniList {
	margin-inline-start: 0;
}

.ipsSideMenu > .cForumMiniList_singleRoot .cForumMiniList {
	border-inline-start-width: 0;
}

.cForumMiniList .ipsSideMenu_item + .ipsSideMenu_list .ipsSideMenu_item {
	font-size: 13.0px;
	padding: 8px 10px;
	line-height: 18.0px;
}

.cForumMiniList .ipsSideMenu_item {
	font-size: 14.0px;
	padding: 7px 10px;
	display: flex;
	align-items: center;
}

.cForumMiniList .ipsSideMenu_item .cForumMiniList_title {
	min-width: 0;
}

.cForumMiniList.cForumMiniList_multiRoot > li > a {
	font-size: 18.0px;
	font-weight: 500;
	padding: 8px 12px;
	margin: 0;
	color: rgb( var(--theme-text_dark) );
}

.cForumMiniList_count {
	margin-inline-start: 12px;
}

	.cForumMiniList_count .fa {
		font-size: 8px;
	}

.cForumMiniList .cForumMiniList_blob {
	flex: 0 0 auto;
	font-size: 18px;
	width: 1em;
	height: 1em;
	border-radius: 3px;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	color: #fff;
	background: rgb( var(--theme-area_background_dark) );
	opacity: 0.3;
	position: relative;
}

.cForumMiniList .cForumMiniList_blob {
	margin-inline-end: 10px;
}

	.cForumMiniList .cForumMiniList_blob > span {
		position: absolute;
		top: 2px;
		left: 2px;
		right: 2px;
		bottom: 2px;
		background: rgb( var(--theme-area_background_reset) );
		border-radius: 2px;
	}

	.cForumMiniList .cForumMiniList_blob .fa {
		display: none;
		font-size: .6em;
	}

	.cForumMiniList .cForumMiniList_selected > .cForumMiniList_blob {
		opacity: 1;
	}

	.cForumMiniList .cForumMiniList_selected > .cForumMiniList_blob .fa {
		display: block;
	}
	.cForumMiniList .cForumMiniList_selected > .cForumMiniList_blob > span {
		display: none;
	}

.cForumFluidTable .ipsDataItem_lastPoster.ipsDataItem_noPhoto {
	min-width: 170px;
}

.cForumFluidTable .ipsItemStatus {
	position: relative;
	top: -1px;
}

.cForumFluidTable .ipsBadge_pill {
	height: 18px;
	line-height: 18px;
	position: relative;
	top: -2px;
}

.cForumMiniList > li > a.cForumMiniList_selected {
	background: rgb( var(--theme-area_background) );
}

/* Loading styles */
.cForumFluidTable .ipsDataItem_loading > div > span:last-child:after {
	left: 10px;
	width: 38px;
	height: 38px;
	border-radius: 38px;
}

html[dir="ltr"] .cForumFluidTable .ipsDataItem_loading > div > span:last-child {
	left: 56px;
	right: 500px;
}
html[dir="rtl"] .cForumFluidTable .ipsDataItem_loading > div > span:last-child {
	right: 56px;
	left: 500px;
}

html[dir="ltr"] .cForumFluidTable .ipsDataItem_loading > div > span:last-child:after {
	left: -46px;
}
html[dir="rtl"] .cForumFluidTable .ipsDataItem_loading > div > span:last-child:after {
	right: -46px;
}

.cForumFluidTable .ipsDataItem_loading > div > span:first-child {
	width: 0;
	height: 0;
}

.cForumFluidTable .ipsDataItem_loading > div > span:first-child {
	top: 15px;
}


.ipsSnippetList{
	margin: 0;
	padding: .2px 0; /* Prevent collapsing margins */
	list-style: none;
}

	.ipsTopicSnippet{
		--ipsTopicSnippet--padding: 20px;
		--ipsTopicSnippet__avatar--width: 40px;
		padding: var(--ipsTopicSnippet--padding);
	}

	.ipsTopicSnippet__top{
		margin-bottom: var(--sp-2);
	}

	/* Avatar */
	.ipsTopicSnippet__avatar{
		flex-basis: 1em;
		font-size: var(--ipsTopicSnippet__avatar--width);
		box-sizing: content-box;
		text-align: center;
	}
		.ipsTopicSnippet__avatar{
			margin-inline-end: var(--ipsTopicSnippet--padding);
		}

		.ipsTopicSnippet__avatar .ipsUserPhoto{
			margin: 0;
			width: 1em;
			height: 1em;
			display: block;
		}

		/* Fix alignment of moved arrow */
		.ipsTopicSnippet__avatar .fa-arrow-left{
			display: block;
		}

				.ipsTopicSnippet__title .ipsDataItem_title{
					margin: 0 0 0.2em 0;
					display: block;
				}

					/* Fix alignment of participated icon, when fluid view and expanded view are both enabled on small mobile screens */
					.cForumFluidTable .ipsTopicSnippet__title .ipsItemStatus{
						position: static;
					}

				.ipsTopicSnippet__title .ipsTag_prefix{
					display: inline-block;
				}

	.ipsTopicSnippet__date{
		font-size: 0.9em;
	}

		.ipsTopicSnippet__date::first-letter{
			text-transform: uppercase;
		}

		/* Snippet excerpt */
			.ipsTopicSnippet__snippet p{
				margin: 0;
				display: -webkit-box;
				-webkit-line-clamp: 4;
				-webkit-box-orient: vertical;
				overflow: hidden;
				line-height: 1.5;
			}

				@media (min-width: 800px){
					.ipsTopicSnippet__snippet p{
						-webkit-line-clamp: 3;
					}
				}

		.ipsTopicSnippet__bottom{
			flex-wrap: wrap-reverse;
		}

		.ipsTopicSnippet__last{
			margin-top: var(--sp-2);
		}

			.ipsTopicSnippet__last-avatar{
				font-size: 20px;
				margin-inline-end: .3em;
			}
				.ipsTopicSnippet__last .ipsUserPhoto{
					margin: 0;
					width: 1em;
					height: 1em;
				}

			.ipsTopicSnippet__snippet,
			.ipsTopicSnippet__bottom{
				padding-inline-start: calc(var(--ipsTopicSnippet__avatar--width) + var(--ipsTopicSnippet--padding));
			}

			.ipsTopicSnippet__stats{
				text-transform: uppercase;
				font-size: .8em;
				font-weight: 700;
				padding: .3em 0;
			}

				.ipsTopicSnippet__stats li{
					flex: 0 0 auto;
				}

				.ipsTopicSnippet__stats li:not(:first-child)::before{
					content: '/';
					margin: 0 .6em;
					opacity: .4;
				}

		.ipsTopicSnippet__meta{
			margin-top: 0.2em;
		}

			.ipsTopicSnippet__meta > *:not(:first-child){
				margin-inline-start: 15px;
			}

		/* Reactions */
		.ipsTopicSnippet__reactions .ipsReactOverview--reactions img{
			max-width: 1.7em;
			max-height: 1.7em;
		}

			.ipsTopicSnippet__reactions .ipsReactOverview--points{
				display: flex;
				align-items: center;
			}

				[dir='ltr'] .ipsTopicSnippet__reactions .ipsReactOverview--points p{
					margin: 0 0 0 .6em;
				}

				[dir='rtl'] .ipsTopicSnippet__reactions .ipsReactOverview--points p{
					margin: 0 .6em 0 0;
				}

		.ipsTopicSnippet__mod{
			margin-inline-start: 20px;
			flex: 0 0 auto;
		}

			.ipsTopicSnippet__mod .ipsCustomInput{
				vertical-align: middle;
			}

@media (max-width: 767px){

	.ipsTopicSnippet{
		margin-left: 0;
		margin-right: 0;
		border-width: 1px 0 !important; /* Required to overwrite an earlier !important */
		border-radius: 0;
	}

	.ipsTopicSnippet__avatar{
		display: none;
	}

	[dir='ltr'] .ipsTopicSnippet__snippet,
	[dir='ltr'] .ipsTopicSnippet__bottom,
	[dir='rtl'] .ipsTopicSnippet__snippet,
	[dir='rtl'] .ipsTopicSnippet__bottom{
		padding-left: 0;
		padding-right: 0;
	}
	
}

@media (max-width: 600px){
	.ipsTopicSnippet{
		--ipsTopicSnippet__avatar--width: 30px;
		--ipsTopicSnippet--padding: 15px;
	}
}

/* Fixes for Q and A forums */
[dir="ltr"] .ipsQuestionSnippet .ipsTopicSnippet__snippet,
[dir="ltr"] .ipsQuestionSnippet .ipsTopicSnippet__bottom,
[dir="rtl"] .ipsQuestionSnippet .ipsTopicSnippet__snippet,
[dir="rtl"] .ipsQuestionSnippet .ipsTopicSnippet__bottom{
	padding: 0;
}
.ipsQuestionSnippet .ipsTopicSnippet__snippet{
	margin: 10px 0;
}
@media (min-width: 980px){
	.ipsQuestionSnippet{
		display: flex;
		align-items: center;
	}

	.ipsQuestionSnippet .ipsDataItem_icon,
	.ipsQuestionSnippet .ipsDataItem_main,
	.ipsQuestionSnippet .ipsDataItem_generic{
		padding: 0;
	}

	.ipsQuestionSnippet .ipsDataItem_icon{
		flex: 0 0 36px;
		align-self: flex-start;
	}

	.ipsQuestionSnippet .ipsDataItem_icon{
		margin-inline-end: 15px;
	}

}

/* Analytics and statistics */
.ipsFluidGrid--analytics-and-statistics{
	--FluidGrid--width: 300px;
}

.ipsLayout_sidebarUsed .ipsFluidGrid--analytics-and-statistics{
	--FluidGrid--width: 340px;
}

.analytics-and-statistics {
	font-weight: normal;
}

.analytics-and-statistics--chart {
	padding-bottom: 0px;
}

/* Hide empty page header on analytics page */
.ipsPageHeader:has(.ipsType_pageTitle:empty:only-child){
	display: none;
}