
/* ############################################################
	HEADER (MODULTITEL, HYPERLINK)
############################################################ */

/* Modultitel */
h2.mdl021-modultitel {
	margin-bottom: 10px;
}
@media (min-width: 760px) {
	h2.mdl021-modultitel {
		margin-bottom: 0;
	}
}


/* Hyperlink: Alle Beiträge */
a.mdl021-link-alle {
	position: relative;
	display: inline-flex;
	align-items: center;
	width: auto;
	font-size: 0.8125rem; /* 13px */
	line-height: 1.7;
	letter-spacing: 0.13px;
	color: var(--main-color-1);
	text-decoration: none;
}
a.mdl021-link-alle:hover {
	color: var(--main-color-1);
}
a.mdl021-link-alle:after {
	content: "";
	display: inline-block;
	width: 15px;
	height: 13px;
	margin-left: 15px;
	background-position: center right 8px;
	background-size: contain;
	background-repeat: no-repeat;
	background-image: url("../../fctriesenberg/Images/Elemente/Icon_Arrow_Right_8x14.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;
}
a.mdl021-link-alle:hover:after {
	background-position: center right;
}
@media (min-width: 760px) {
	a.mdl021-link-alle {
		margin-top: 5px;
	}
}
@media (min-width: 1020px) {
	a.mdl021-link-alle {
		margin-top: 20px;
		font-size: 0.875rem; /* 14px */
		letter-spacing: 0.14px;
	}
	a.mdl021-link-alle:after {
		width: 18px;
		height: 14px;
		margin-left: 20px;
		background-position: center right 10px;
	}
}


/* ############################################################
	ÜBERSICHT
############################################################ */

/* News-Liste */
.mdl021-news-box {
	position: relative;
	width: 100%;
	margin-top: 50px;
}
@media (min-width: 1020px) {
	.mdl021-news-box {
		margin-top: 80px;
	}
}


/* Datum, Kategorie */
.mdl021-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;
}
	.mdl021-header-data-span {
		display: inline-block;
		margin: 0 9px;
	}
@media (min-width: 1020px) {
	.mdl021-header {
		font-size: 0.875rem; /* 14px */
		letter-spacing: 0.14px;
	}
		.mdl021-header-data-span {
			margin: 0 10px;
		}
}


/* Titel */
.mdl021-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) {
	.mdl021-news-box h3 {
		margin-top: 22px;
		font-size: 1.375rem; /* 22px */
		letter-spacing: 0.22px;
	}
}


/* Pfeil */
.mdl021-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;
}
.mdl021-list > .flex-container > .flex-item:hover .mdl021-arrow, .mdl021-arrow:hover {
	background-position: center right;
}
@media (min-width: 1020px) {
	/* Button */
	.mdl021-arrow {
		left: 40px;
		bottom: 40px;
		width: 45px;
		height: 27px;
		background-position: center right 30px;
	}
}


/* ############################################################
	RASTER
############################################################ */

/* Liste */
.mdl021-list {
	position: relative;
	display: block;
	width: 100%;
}

/* Rastersystem */
.mdl021-list > .flex-container {
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: left;
	width: 100%;
}
	.mdl021-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 */
	.mdl021-list > .flex-container > .flex-item {
		width: 100%;
		margin-right: 0;
	}
	/* remove top margin from first row */
	.mdl021-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 */
	.mdl021-list > .flex-container > .flex-item {
		width: calc(1/2*100% - (1 - 1/2)*var(--gap));
	}
	/* align last row columns to the left */
	.mdl021-list > .flex-container > .flex-item:nth-child(2n),
	.mdl021-list > .flex-container > .flex-item:last-child {
		margin-right: 0;
	}
	/* remove top margin from first row */
	.mdl021-list > .flex-container > .flex-item:nth-child(-n+2) {
		margin-top: 0;
	}
	
	/* Inview (Aktivierung: .inview) */
	.mdl021-list > .flex-container > .flex-item.come-in.show-different:nth-child(even) {
		animation-duration: 0.9s;
	}
}
@media (min-width: 1020px) {
	.mdl021-list > .flex-container > .flex-item {
		padding: 40px 40px 100px;
	}
}
@media (min-width: 1920px) {
	/* 1/3  - 3 columns per row */
	.mdl021-list > .flex-container > .flex-item {
		width: calc(1/3*100% - (1 - 1/3)*var(--gap));
	}
	/* align last row columns to the left */
	.mdl021-list > .flex-container > .flex-item:nth-child(3n),
	.mdl021-list > .flex-container > .flex-item:last-child {
		margin-right: 0;
	}
	/* remove top margin from first row */
	.mdl021-list > .flex-container > .flex-item:nth-child(-n+3) {
		margin-top: 0;
	}
	
	/* Inview (Aktivierung: .inview) */
	.mdl021-list > .flex-container > .flex-item.come-in.show-different:nth-child(3n-1) {
		animation-duration: 0.9s;
	}
	.mdl021-list > .flex-container > .flex-item.come-in.show-different:nth-child(3n) {
		animation-duration: 1.0s;
	}
}

