
/* ############################################################
	HEADER (MODULTITEL, FILTER, BUTTON)
############################################################ */

/* Filter-Box */
.mdl020-filter-box {
	width: calc(100% + 50px);
	height: 40px;
	margin-top: -90px;
	margin-left: -25px;
	padding-left: 25px;
	padding-right: 25px;
	background-color: var(--main-color-white);
}
@media (min-width: 760px) {
	.mdl020-filter-box {
		width: calc(100% + 80px);
		margin-left: -40px;
		padding-left: 40px;
		padding-right: 40px;
	}
}
@media (min-width: 1020px) {
	.mdl020-filter-box {
		width: 100%;
		height: 47px;
		margin-top: -137px;
		margin-left: 0;
		padding: 0;
	}
}

/* Mobile */
.mdl020-filter-mobile select {
	position: relative;
	display: block;
	cursor: pointer;
	width: 100%;
	height: 40px;
	margin: 0;
	padding: 0 25px 0 0;
	border: none;
	border-radius: 0;
	background-color: transparent;
	background-image: url("../../fctriesenberg/Images/Elemente/Icon_Arrow_Down_13x8.svg");
	background-position: right center;
	background-repeat: no-repeat;
	background-size: 13px 8px;
	font-size: 0.8125rem; /* 13px */
	line-height: 1.7;
	letter-spacing: 0.13px;
	color: var(--main-color-1);
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	-o-transition: all 0.3s ease;
	-ms-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-webkit-transition: all 0.3s ease;
	transition: all 0.3s ease;
}
.mdl020-filter-mobile select:focus,
.mdl020-filter-mobile select:active {
	outline: none;
}
.mdl020-filter-mobile select option {
	color: var(--main-color-1);
}
.mdl020-filter-mobile select::-ms-expand {
	display: none;
}
.mdl020-filter-mobile select:focus::-ms-value {
	background-color: transparent;
}
@media (min-width: 1020px) {
	.mdl020-filter {
		display: flex;
		justify-content: flex-start;
		align-items: top;
		height: 47px;
		font-size: 0.875rem; /* 14px */
		line-height: 1.7;
		letter-spacing: 0.14px;
	}
		.mdl020-filter-item,
		.mdl020-filter-item:hover {
			display: inline-block;
			text-decoration: none;
			color: var(--main-color-1);
		}
		.mdl020-filter-item:not(:first-child) {
			margin-left: 40px;
		}
		
		/* Link-Animation */
		.mdl020-filter-item {
			display: inline-block;
			position: relative;
		}
		.mdl020-filter-item:after {
			content: "";
			position: absolute;
			left: 0;
			bottom: 0;
			width: 0;
			height: 0;
			border-bottom: 2px solid var(--main-color-1);
			-o-transition: width 0.3s ease-in-out;
			-ms-transition: width 0.3s ease-in-out;
			-moz-transition: width 0.3s ease-in-out;
			-webkit-transition: width 0.3s ease-in-out;
			transition: width 0.3s ease-in-out;
		}
		.mdl020-filter-item:hover:after,
		.mdl020-filter-item.active:after {
			width: 100%;
			-o-transition: width 0.3s ease-in-out;
			-ms-transition: width 0.3s ease-in-out;
			-moz-transition: width 0.3s ease-in-out;
			-webkit-transition: width 0.3s ease-in-out;
			transition: width 0.3s ease-in-out;
		}
}


/* ############################################################
	ÜBERSICHT
############################################################ */

/* News-Liste */
.mdl020-news-box {
	position: relative;
	width: 100%;
	margin-top: 60px;
}
@media (min-width: 1020px) {
	.mdl020-news-box {
		margin-top: 90px;
	}
}


/* Datum, Kategorie */
.mdl020-header {
	display: block;
	/* display: flex;
	justify-content: flex-start;
	align-items: center; */
	font-size: 0.8125rem; /* 13px */
	line-height: 1.7;
	letter-spacing: 0.13px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
	.mdl020-header-data-span {
		display: inline-block;
		margin: 0 9px;
	}
@media (min-width: 1020px) {
	.mdl020-header {
		font-size: 0.875rem; /* 14px */
		letter-spacing: 0.14px;
	}
		.mdl020-header-data-span {
			margin: 0 10px;
		}
}


/* Titel */
.mdl020-news-box h3 {
	margin-top: 15px;
	margin-bottom: 0;
	font-size: 1.0625rem; /* 17px */
	line-height: 1.5;
	letter-spacing: 0.17px;
}
@media (min-width: 1020px) {
	.mdl020-news-box h3 {
		margin-top: 22px;
		font-size: 1.375rem; /* 22px */
		letter-spacing: 0.22px;
	}
}


/* Pfeil */
.mdl020-arrow {
	position: absolute;
	display: inline-block;
	left: 25px;
	bottom: 25px;
	width: 31px;
	height: 19px;
	background-position: center right 20px;
	background-size: contain;
	background-repeat: no-repeat;
	background-image: url("../../fctriesenberg/Images/Elemente/Icon_Arrow_Right_15x27.svg");
	-o-transition: background 0.3s ease;
	-ms-transition: background 0.3s ease;
	-moz-transition: background 0.3s ease;
	-webkit-transition: background 0.3s ease;
	transition: background 0.3s ease;
}
.mdl020-list > .flex-container > .flex-item:hover .mdl020-arrow,
.mdl020-arrow:hover {
	background-position: center right;
}
@media (min-width: 1020px) {
	/* Button */
	.mdl020-arrow {
		left: 40px;
		bottom: 40px;
		width: 45px;
		height: 27px;
		background-position: center right 30px;
	}
}


/* ############################################################
	RASTER
############################################################ */

/* Liste */
.mdl020-list {
	position: relative;
	display: block;
	width: 100%;
}

/* Rastersystem */
.mdl020-list > .flex-container {
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: left;
	width: 100%;
}
	.mdl020-list > .flex-container > .flex-item {
		position: relative;
		display: flex;
		flex-flow: column nowrap;
		justify-content: flex-start;
		margin: var(--gap) var(--gap) 0 0;
		padding: 25px 25px 63px;
		background-color: var(--main-color-white);
		text-decoration: none;
		color: var(--main-color-1);
	}
@media (max-width: 759.98px) {
	/* 1/1  - 1 columns per row */
	.mdl020-list > .flex-container > .flex-item {
		width: 100%;
		margin-right: 0;
	}
	/* remove top margin from first row */
	.mdl020-list > .flex-container > .flex-item:nth-child(-n+1) {
		margin-top: 0;
	}
}
@media (min-width: 760px) and (max-width: 1919.98px) {
	/* 1/2  - 2 columns per row */
	.mdl020-list > .flex-container > .flex-item {
		width: calc(1/2*100% - (1 - 1/2)*var(--gap));
	}
	/* align last row columns to the left */
	.mdl020-list > .flex-container > .flex-item:nth-child(2n),
	.mdl020-list > .flex-container > .flex-item:last-child {
		margin-right: 0;
	}
	/* remove top margin from first row */
	.mdl020-list > .flex-container > .flex-item:nth-child(-n+2) {
		margin-top: 0;
	}
	
	/* Inview (Aktivierung: .inview) */
	.mdl020-list > .flex-container > .flex-item.come-in.show-different:nth-child(even) {
		animation-duration: 0.9s;
	}
}
@media (min-width: 1020px) {
	.mdl020-list > .flex-container > .flex-item {
		padding: 40px 40px 100px;
	}
}
@media (min-width: 1920px) {
	/* 1/3  - 3 columns per row */
	.mdl020-list > .flex-container > .flex-item {
		width: calc(1/3*100% - (1 - 1/3)*var(--gap));
	}
	/* align last row columns to the left */
	.mdl020-list > .flex-container > .flex-item:nth-child(3n),
	.mdl020-list > .flex-container > .flex-item:last-child {
		margin-right: 0;
	}
	/* remove top margin from first row */
	.mdl020-list > .flex-container > .flex-item:nth-child(-n+3) {
		margin-top: 0;
	}
	
	/* Inview (Aktivierung: .inview) */
	.mdl020-list > .flex-container > .flex-item.come-in.show-different:nth-child(3n-1) {
		animation-duration: 0.9s;
	}
	.mdl020-list > .flex-container > .flex-item.come-in.show-different:nth-child(3n) {
		animation-duration: 1.0s;
	}
}

