﻿
/* ############################################################
	MODULRASTER
############################################################ */

/* Modul-Abstände */
.mdl-container.mdl-art-310.inner-abstand-topbottom {
	padding-top: 50px;
	padding-bottom: 50px;
}
.mdl-container.mdl-art-310.inner-abstand-bottom {
	padding-bottom: 50px;
}
@media screen and (min-width: 1200px) {
	.mdl-container.mdl-art-310.inner-abstand-topbottom {
		padding-top: 100px;
		padding-bottom: 100px;
	}
	.mdl-container.mdl-art-310.inner-abstand-bottom {
		padding-bottom: 100px;
	}
}


/* ############################################################
	ABTEILUNGSKONTAKTE
############################################################ */

/* Raster Content-Wrapper */
.mdl310-modul-box .content-wrapper {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	width: 100%;
}
	.mdl310-modul-box .content-wrapper > .content-item {
		position: relative;
		width: 100%;
		margin-bottom: 24px;
	}
	.mdl310-modul-box .content-wrapper > .content-item:last-child {
		margin-bottom: 0;
	}
@media screen and (min-width: 768px) {
	.mdl310-modul-box .content-wrapper {
		flex-direction: row;
	}
		.mdl310-modul-box .content-wrapper > .content-item {
			width: calc(50% - (var(--gap) / 2));
			margin-right: var(--gap);
			margin-bottom: 0;
		}
		.mdl310-modul-box .content-wrapper > .content-item:last-child {
			margin-right: 0;
		}
}
@media screen and (min-width: 992px) and (max-width: 1199.98px) {
	.mdl310-modul-box .content-wrapper {
		flex-direction: column;
	}
		.mdl310-modul-box .content-wrapper > .content-item {
			width: 100%;
			margin-bottom: 24px;
		}
		.mdl310-modul-box .content-wrapper > .content-item:last-child {
			margin-bottom: 0;
		}
}


/* Titel */
.mdl310-modul-box h2 {
	margin-bottom: 20px;
	font-style: normal;
	font-size: 1.5rem; /* 24px */
	line-height: 1.25;
	letter-spacing: 0.48px;
}
@media screen and (min-width: 1200px) {
	.mdl310-modul-box h2 {
		margin-bottom: 26px;
		font-size: 1.875rem; /* 30px */
		letter-spacing: 0.6px;
	}
}


/* Inhalt */
.mdl310-modul-box .content-wrapper {
	font-size: 0.9375rem; /* 15px */
	line-height: 1.5;
	letter-spacing: 0.3px;
}
@media screen and (min-width: 1200px) {
	.mdl310-modul-box .content-wrapper {
		font-size: 1.0625rem; /* 17px */
		letter-spacing: 0.34px;
	}
}


/* Absätze */
.mdl310-modul-box .content-item > p:last-of-type {
	margin-bottom: 0;
}


/* ############################################################
	RASTER
############################################################ */

/* Rastersystem */
.mdl310-modul-box {
	position: relative;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	width: 100%;
}
	.mdl310-modul-box > .flex-item {
		position: relative;
		margin: 35px var(--gap) 0 0;
		padding: 23px 23px 36px 23px;
		border-radius: 10px;
		background-color: var(--main-color-5);
		overflow: hidden;
	}
	.mdl-container.mdl-art-310.bg-color-6 .mdl310-modul-box > .flex-item {
		background-color: var(--main-color-white);
	}
@media screen and (max-width: 767.98px) {
	.mdl310-modul-box > .flex-item {
		width: 100%;
		margin-top: 35px;
		margin-right: 0;
	}
	.mdl310-modul-box > .flex-item:nth-child(-n+1) {
		margin-top: 0;
	}
}
@media screen and (min-width: 768px) and (max-width: 991.98px) {
	.mdl310-modul-box > .flex-item {
		width: 100%;
		margin-right: 0;
	}
	.mdl310-modul-box > .flex-item:nth-child(-n+1) {
		margin-top: 0;
	}
}
@media screen and (min-width: 992px) {
	.mdl310-modul-box > .flex-item {
		width: calc(1/2*100% - (1 - 1/2)*var(--gap));
		margin-top: var(--gap);
	}
	.mdl310-modul-box > .flex-item:nth-child(2n),
	.mdl310-modul-box > .flex-item:last-child {
		margin-right: 0;
	}
	.mdl310-modul-box > .flex-item:nth-child(-n+2) {
		margin-top: 0;
	}
}
@media screen and (min-width: 1200px) {
	.mdl310-modul-box > .flex-item {
		padding: 25px 30px 42px 30px;
	}
}

