
/* ############################################################
	BEITRAG
############################################################ */

/* Header-Navigation */
.mdl030-navigation-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) {
	.mdl030-navigation-box {
		width: calc(100% + 80px);
		margin-left: -40px;
		padding-left: 40px;
		padding-right: 40px;
	}
}
@media (min-width: 1020px) {
	.mdl030-navigation-box {
		width: 100%;
		height: 47px;
		margin-top: -137px;
		margin-left: 0;
		padding: 0;
	}
}


/* Hyperlink: Zurück */
a.mdl030-link-zurueck {
	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.mdl030-link-zurueck:hover {
	color: var(--main-color-1);
}
a.mdl030-link-zurueck:before {
	content: "";
	display: inline-block;
	width: 15px;
	height: 13px;
	margin-right: 15px;
	background-position: center left 8px;
	background-size: contain;
	background-repeat: no-repeat;
	background-image: url("../../fctriesenberg/Images/Elemente/Icon_Arrow_Left_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.mdl030-link-zurueck:hover:before {
	background-position: center left;
}
@media (min-width: 1020px) {
	a.mdl030-link-zurueck {
		font-size: 0.875rem; /* 14px */
		letter-spacing: 0.14px;
	}
	a.mdl030-link-zurueck:before {
		width: 18px;
		height: 14px;
		margin-right: 20px;
		background-position: center left 10px;
	}
}


/* Teilen */
.mdl030-share-box {
	display: flex;
	justify-content: flex-end;
	align-items: baseline;
	font-size: 0.8125rem; /* 13px */
	line-height: 1.7;
	letter-spacing: 0.13px;
	color: var(--main-color-1);
}
	/* Sharebutton */
	.mdl030-share-box a.share-button {
		position: relative;
		display: inline-block;
		margin-left: 16px;
	}
		.mdl030-share-box a.share-button svg {
			position: relative;
			display: inline-block;
			height: auto;
			fill: var(--main-color-1);
			-o-transition: fill 0.3s ease;
			-ms-transition: fill 0.3s ease;
			-moz-transition: fill 0.3s ease;
			-webkit-transition: fill 0.3s ease;
			transition: fill 0.3s ease;
		}
		.mdl030-share-box a.share-button:hover svg {
			fill: var(--main-color-1-75);
		}
		.mdl030-share-box a.share-button.facebook svg {
			width: 8px;
		}
		.mdl030-share-box a.share-button.linkedin svg {
			width: 14px;
		}
		.mdl030-share-box a.share-button.mail svg {
			width: 20px;
		}
@media (min-width: 1020px) {
	.mdl030-share-box {
		font-size: 0.875rem; /* 14px */
		letter-spacing: 0.14px;
	}
		.mdl030-share-box a.share-button {
			margin-left: 20px;
		}
			.mdl030-share-box a.share-button.facebook svg {
				width: 11px;
			}
			.mdl030-share-box a.share-button.linkedin svg {
				width: 17px;
			}
			.mdl030-share-box a.share-button.mail svg {
				width: 25px;
			}
}


/* Newsbeitrag */
.mdl030-news-box {
	position: relative;
	width: 100%;
	margin-top: 60px;
}
@media (min-width: 1020px) {
	.mdl030-news-box {
		margin-top: 90px;
	}
}


/* Datum */
.mdl030-datum {
	font-size: 0.8125rem; /* 13px */
	line-height: 1.7;
	letter-spacing: 0.13px;
}
@media (min-width: 1020px) {
	.mdl030-datum {
		font-size: 0.875rem; /* 14px */
		letter-spacing: 0.14px;
	}
}


/* Titel */
.mdl030-news-box h2 {
	margin-top: 19px;
}
@media (min-width: 1020px) {
	.mdl030-news-box h2 {
		margin-top: 30px;
	}
}


/* ############################################################
	FOTOGALERIE
############################################################ */

/* Titel */
.mdl030-foto-box h3 {
	margin-top: 60px;
	margin-bottom: 50px;
}
@media (min-width: 1020px) {
	.mdl030-foto-box h3 {
		margin-top: 90px;
		margin-bottom: 80px;
	}
}


/* Liste */
.mdl030-foto-list {
	position: relative;
	display: block;
	width: 100%;
}


/* Foto */
.mdl030-foto-item {
	position: relative;
	overflow: hidden;
	width: 100%;
}
.mdl030-foto-item::before {
	content: "";
	display: block;
	width: 100%;
	padding-bottom: calc(100% / 1);
}
	/*.mdl030-foto-box > img {
		display: inline-block;
	}*/
	.mdl030-foto-item > .mdl030-image {
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		width: 100%;
		height: 100%;
		-o-object-fit: cover;
		-ms-object-fit: cover;
		-moz-object-fit: cover;
		-webkit-object-fit: cover;
		object-fit: cover;
		-webkit-transform-origin: 50% 50%;
		transform-origin: 50% 50%;
	}


/* Rastersystem */
.mdl030-foto-list > .flex-container {
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: left;
	width: 100%;
}
	.mdl030-foto-list > .flex-container > .flex-item {
		margin: var(--gap) var(--gap) 0 0;
	}
@media (max-width: 1019.98px) {
	/* 1/2  - 2 columns per row */
	.mdl030-foto-list > .flex-container > .flex-item {
		width: calc(1/2*100% - (1 - 1/2)*var(--gap));
	}
	/* align last row columns to the left */
	.mdl030-foto-list > .flex-container > .flex-item:nth-child(2n),
	.mdl030-foto-list > .flex-container > .flex-item:last-child {
		margin-right: 0;
	}
	/* remove top margin from first row */
	.mdl030-foto-list > .flex-container > .flex-item:nth-child(-n+2) {
		margin-top: 0;
	}
	
	/* Inview (Aktivierung: .inview) */
	.mdl030-foto-list > .flex-container > .flex-item.come-in.show-different:nth-child(even) {
		animation-duration: 0.9s;
	}
}
@media (min-width: 1020px) and (max-width: 1279.98px) {
	/* 1/4  - 4 columns per row */
	.mdl030-foto-list > .flex-container > .flex-item {
		width: calc(1/4*100% - (1 - 1/4)*var(--gap));
	}
	/* align last row columns to the left */
	.mdl030-foto-list > .flex-container > .flex-item:nth-child(4n),
	.mdl030-foto-list > .flex-container > .flex-item:last-child {
		margin-right: 0;
	}
	/* remove top margin from first row */
	.mdl030-foto-list > .flex-container > .flex-item:nth-child(-n+4) {
		margin-top: 0;
	}
	
	/* Inview (Aktivierung: .inview) */
	.mdl030-foto-list > .flex-container > .flex-item.come-in.show-different:nth-child(4n-2) {
		animation-duration: 0.9s;
	}
	.mdl030-foto-list > .flex-container > .flex-item.come-in.show-different:nth-child(4n-1) {
		animation-duration: 1.0s;
	}
	.mdl030-foto-list > .flex-container > .flex-item.come-in.show-different:nth-child(4n) {
		animation-duration: 1.1s;
	}
}
@media (min-width: 1280px) {
	/* 1/5  - 5 columns per row */
	.mdl030-foto-list > .flex-container > .flex-item {
		width: calc(1/5*100% - (1 - 1/5)*var(--gap));
	}
	/* align last row columns to the left */
	.mdl030-foto-list > .flex-container > .flex-item:nth-child(5n),
	.mdl030-foto-list > .flex-container > .flex-item:last-child {
		margin-right: 0;
	}
	/* remove top margin from first row */
	.mdl030-foto-list > .flex-container > .flex-item:nth-child(-n+5) {
		margin-top: 0;
	}
	
	/* Inview (Aktivierung: .inview) */
	.mdl030-foto-list > .flex-container > .flex-item.come-in.show-different:nth-child(5n-3) {
		animation-duration: 0.9s;
	}
	.mdl030-foto-list > .flex-container > .flex-item.come-in.show-different:nth-child(5n-2) {
		animation-duration: 1.0s;
	}
	.mdl030-foto-list > .flex-container > .flex-item.come-in.show-different:nth-child(5n-1) {
		animation-duration: 1.1s;
	}
	.mdl030-foto-list > .flex-container > .flex-item.come-in.show-different:nth-child(5n) {
		animation-duration: 1.2s;
	}
}

