/** epd News auf der Startseite **/
.view-display-id-epd_news_startseite .view-content {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	gap: 0.938rem 0;
	
	@media (min-width: 992px) {
		flex-direction: row;
		gap: 0.938rem;
	}
	
	.views-row {
		flex-basis: 32%;
		height: 100%;
		height: -moz-available;
		height: -webkit-fill-available;
		height: fill-available;
		
		.epd-news-item {
			display: flex;
			flex-direction: row;
			box-shadow: 0px 3px 6px #00000029;			
			height: 100%;
			height: -moz-available;
			height: -webkit-fill-available;
			height: fill-available;
			
			.epd-news-header {
				background-color: #9f2aa4;
				color: #fff;
                padding: 15px 25px;
                font-size: 30px;
                font-weight: bold;
                line-height: 50px;
			}
			
			.epd-news-body {
				padding: 10px;
				width: 100%;
				font-size: 24px;
				line-height: 29px;
				display: flex;
                flex-direction: column;
                justify-content: space-between;
				
				.epd-news-date {
					text-align: right;
					font-size: 18px;
					line-height: 23px;
					font-family: "FontAwesome", "Proxima Nova";
				}
			}
		}
	}
	
	.views-row > div,
	.views-row > div > span {
		height: 100%;
		height: -moz-available;
		height: -webkit-fill-available;
		height: fill-available;
	}
	
	.views-row > div > span {
		display: block;
	}
}

/** Übersicht Kirchengemeinden **/
@media (max-width: 600px) {
	body.path-kirchengemeinden h1 {
		font-size: 1.8rem;
	}
}

body.path-kirchengemeinden #block-evangwien-content,
body.path-wiener-pfarrgemeinden-ab #block-evangwien-content,
body.path-news #block-evangwien-content {
	padding-bottom: 3.125rem;
}

.view-kirchengemeinden.view-display-id-kirchengemeindenuebersicht .attachment-before,
.view-kirchengemeinden.view-display-id-kirchengemeinden_karten_block {
	margin-bottom: 20px;
	box-shadow: 0px 3px 6px #00000029;		
	
	#leaflet-map-view-kirchengemeinden-attachment-1,
	#leaflet-map-view-kirchengemeinden-kirchengemeinden-karten-block {
		height: 565px;
	}
}

.view-kirchengemeinden.view-display-id-kirchengemeindenuebersicht > div.view-content,
.view-kirchengemeinden.view-display-id-kirchengemeinden_block > div.view-content {
	display: flex;
	flex-direction: column;
    gap: 0.875rem 0;
	
	@media (min-width: 660px) {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 0.875rem;
	}
	
	color: #707070;
	
	.views-row {
		@media (min-width: 660px) {
			flex-basis: 43%;
		}
		
		@media (min-width: 992px) {
			flex-basis: 30%;
		}
		
		box-shadow: 0px 3px 6px #00000029;
		padding: 20px;
		background-color: #fff;
		cursor: pointer;
		display: flex;
        flex-direction: column;
        justify-content: space-between;
		
		.views-field-title {
			color: #9f2aa4;
			font-size: 30px;
			line-height: 42px;
		}
		
		.views-field-field-gemeinde-bild img {
			width: 100%;
			height: auto;
		}
	}
}

/** Veranstaltungsübersicht **/
@media (max-width: 600px) {
	body.path-veranstaltungsuebersicht h1	{
		font-size: 1.8rem;
	}
}

body.path-veranstaltungsuebersicht #block-evangwien-content .views-element-container {
	padding-bottom: 50px;
}

.view-id-google_calendar_events.view-display-id-veranstaltunguebersicht,
.view-id-google_calendar_events.view-display-id-veranstaltunguebersicht_mitte,
.view-id-google_calendar_events.view-display-id-veranstaltunguebersicht_mitte_sued,
.view-id-google_calendar_events.view-display-id-veranstaltunguebersicht_west_sued_west,
.view-id-google_calendar_events.view-display-id-veranstaltunguebersicht_nordwest,
.view-id-google_calendar_events.view-display-id-veranstaltunguebersicht_donauregion {
	.view-header {
		color: #000;
	}
	
	.views-table {
		color: #000;
		background-color: #fff;
		border-spacing: 0;
	
		td {
			padding: 0.313rem;
			vertical-align: top;
			border-bottom: 1px solid #9f2aa4;
			border-collapse: collapse;
		}
	}
	
	.views-field-start-date-2 {
		font-size: 2rem;
		line-height: 2.5rem;
		
		@media (min-width: 992px) {
			font-size: 3rem;
			line-height: 3.625rem;
		}

		color: #9f2aa4;
		text-transform: uppercase;
		text-align: center;
		width: 5%;
	}
	
	.views-field-start-date-2.datum-sonntag {
		color: #fff;
		background-color: #9f2aa4;
		padding: 1.188rem 0.625rem;
	}
	
	.views-field-nothing {
		text-align: center;
		width: 15%;
		
		.termin-datum {
			color: #9f2aa4;
			font-size: 1.5rem;
			line-height: 1.813rem;
			font-weight: bold;
		}
		
		.termin-uhrzeit {
			font-size: 1.25rem;
			line-height: 1.5rem;
		}
	}
	
	.views-field-name {
		width: 45%;
	}
	
	.views-field-location {
		width: 25%;
	}
	
	@media (min-width: 660px) {
		.views-table td {
			padding: 0.625rem;
		}
				
		.views-field-name {
			width: 50%;
		}
		
		.views-field-location {
			width: 30%;
		}
	}
}

#block-evangwien-terminefilter {
	.termine-sidebar > div:not(:last-child) {
		margin-bottom: 10px;
	}
	
	@media (max-width: 992px) {	
		.termine-reset > ul {
			margin: 0;
			padding-left: 0;
			
			> li {
				list-style: none;
			}
		}
	}
}

@media (min-width: 992px) {
	#block-evangwien-terminefilter {
		background-color: #FFF2B4;
		color: #000;
		padding: 30px;
		height: 95%;
		
		@media (min-wdith: 1920px) {
			margin-right: 140px;
		}
		
		ul {
			margin-left: 0;
			
		}
		
		ul li {
			list-style: none;
			padding-bottom: 5px;
		}
		
		a {
			color: #000;
		}
		
		a:hover {
			color: #9f2aa4;
			text-decoration: underline;
		}
		
		.termine-kategorien-titel,
		.termine-regionen-titel,
		.termine-reset-titel	{
			font-size: 24px;
			font-weight: bold;
			line-height: 29px;
			color: #9f2aa4;
			text-transform: uppercase;
			padding-bottom: 10px;
			border-bottom: 1px solid #9f2aa4;
		}
	}
}

/** Magazin **/
body.path-magazin {
	.view-magazin {		
		> .view-header {
			color: #707070;
			font-size: 1.5rem;
			line-height: 1.813rem;
		}
			
		> .view-content {
			display: flex;
			flex-direction: row;
			flex-wrap: wrap;
			gap: 1rem;
			
			> .views-row {
				flex-basis: 47%;
				@media(min-width: 992px) {
					flex-basis: 32%;
				}
				box-shadow: 0px 3px 6px #00000029;
				background-color: #fff;
			}
			
			.views-field-field-magazin-ausgabename,
			.views-field-nothing {
				font-size: 1.5rem;
				line-height: 1.813rem;
				padding: 0.313rem 0.625rem;
			}
			
			img {
				width: 100%;
				height: auto;
			}
		}
	}
}

/** News **/
body.path-news {
	.view-aktuelles {
		> .view-content {
			display: flex;
			flex-direction: row;
			flex-wrap: wrap;
			gap: 1rem;
			
			> .views-row {
				padding: 10px;
				flex-basis: 47%;
				
				@media(min-width: 992px) {
					flex-basis: 31%;
				}
				
				box-shadow: 0px 3px 6px #00000029;
				background-color: #fff;
				color: #707070;
				
				.views-field-nothing {
					height: 100%;
					
					> span {
						height: 100%;
						display: flex;
					}
					
					.epd-oe-news {
						display: flex;
						flex-direction: column;
						justify-content: space-between;
					}
					
					.epd-oe-news-titel {
						margin: 10px 0;
						font-size: 24px;
						line-height: 29px;
					}
				}				
			}
		}
	}
}