
/* ############################################################
	021 - NEWS, PUSH-MITTEILUNGEN AUF STARTSEITE
############################################################ */

/* Modulttitel */
.mdl021-modultitel {
	margin-bottom: 14px;
	font-family: "SohoGothicRegular";
	font-size: 0.875rem; /* 14px */
	line-height: 1.375rem; /* 22px */
	color: var(--main-color-white);
}
@media (min-width: 1020px) {
	.mdl021-modultitel {
		margin-bottom: 46px;
		font-size: 1rem; /* 16px */
		line-height: 1.5rem; /* 24px */
	}
}


/* Hyperlink: Alle Beiträge ansehen */
.mdl021-link-alle {
	display: inline-block;
	margin-top: 24px;
	font-size: 0.875rem; /* 14px */
	line-height: 1.375rem; /* 22px */
	color: var(--main-color-white);
}
@media (min-width: 1020px) {
	.mdl021-link-alle {
		font-size: 1rem; /* 16px */
		line-height: 1.5rem; /* 24px */
	}
}
@media (min-width: 1920px) {
	.mdl021-link-alle {
		margin-top: 0;
		margin-bottom: 53px;
	}
}


/* News-Liste */
.mdl021-modul-box {
	position: relative;
	width: 100%;
}


/* Header */
.mdl021-header {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	height: 24px;
	font-size: 0.875rem; /* 14px */
	line-height: 1.3125rem; /* 21px */
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
	.mdl021-header-data-span {
		display: inline-block;
		height: 24px;
		margin: 0 11px;
		border-right: 1px solid var(--main-color-2);
	}
@media (min-width: 1020px) {
	.mdl021-header {
		height: 34px;
		font-size: 1rem; /* 16px */
		line-height: 1.5rem; /* 24px */
	}
		.mdl021-header-data-span {
			height: 34px;
			margin: 0 18px;
		}
}


/* Titel */
.mdl021-modul-box h3 {
	font-size: 1rem; /* 16px */
	line-height: 1.5rem; /* 24px */
}
@media (min-width: 1020px) {
	.mdl021-modul-box h3 {
		font-size: 1.375rem; /* 22px */
		line-height: 2.25rem; /* 36px */
	}
}


/* Abstände */
.mdl021-header + h3 {
	margin-top: 17px;
}
@media (min-width: 1020px) {
	.mdl021-header + h3 {
		margin-top: 28px;
	}
}


/* Pfeil */
.mdl021-arrow {
	position: absolute;
	display: inline-block;
	overflow: hidden;
	left: 26px;
	bottom: 30px;
	width: 52px;
	height: 17px;
}
	.mdl021-arrow svg {
		display: block;
		width: auto;
		height: 17px;
		fill: var(--main-color-2);
		transform: translateX(-20px);
	}
@media (min-width: 1020px) {
	.mdl021-arrow {
		left: 50px;
		bottom: 46px;
		width: 105px;
		height: 24px;
	}
		.mdl021-arrow svg {
			height: 24px;
			transform: translateX(-30px);
			-o-transition: transform 0.3s ease;
			-ms-transition: transform 0.3s ease;
			-moz-transition: transform 0.3s ease;
			-webkit-transition: transform 0.3s ease;
			transition: transform 0.3s ease;
		}
		.mdl021-list > .flex-container > .flex-item:hover .mdl021-arrow svg {
			transform: translateX(0);
		}
}


/* ############################################################
	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;
		margin: 10px var(--gap) 0 0;
		padding: 30px 25px 70px;
		background-color: var(--main-color-white);
		color: var(--main-color-2);
	}
@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: 1019.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;
	}
}
@media (min-width: 1020px) {
	.mdl021-list > .flex-container > .flex-item {
		margin-top: 34px;
		padding: 55px 50px 100px;
		text-decoration: none;
		-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 {
		background-color: var(--main-color-1);
		color: var(--main-color-2);
	}
}
@media (min-width: 1020px) and (max-width: 1279.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: 1280px) {
	/* 1/2  - 2 columns per row */
	.mdl021-list > .flex-container > .flex-item {
		width: calc(1/2*100% - (1 - 1/2)*var(--gap));
		margin-right: 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;
	}
}

