
/* Events */
.calenderNextDates {
	margin-top: 80px;
}
.calender-line {
	display: flex;
	align-items: stretch;
}

.calender-line .cal-left,
.calender-line .cal-right {
	margin-top: 60px;
	padding-bottom: 59px;
	border-bottom: 1px solid #000;
}
.calender-line:first-child .cal-left,
.calender-line:first-child .cal-right {
	margin-top: 0;
}
.calender-line .cal-left {
	width: calc((100% + 40px) / 4 - 40px);
}
.calender-line .cal-left > span {
	display: block;
	text-align: center;
}
.calender-line .cal-left .day {
	font-weight: 700;
	margin: 0;
}
.calender-line .cal-left .month {
	font-weight: 700;
	margin: 0;
}
.calender-line .cal-left .weekday .long {
	display: none;
}

.calender-line .cal-right {
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin-left: 20px;
	width: calc((100% + 40px) / 4 * 3 - 20px);
}

.calender-line .attrList {
	margin: 0;
}
.calender-line .headline {
	display: block;
	clear: both;
}
.calender-line .headline + * {
	margin-top: 5px;
}

.calender-line .event-table {
	margin: 30px 0;
}
.calender-line .event-table .right-side {
	margin-top: 10px;
}
.calender-line .event-table a {
	text-decoration: none;
}
.calender-line .event-table .title {
	margin: 0;
}
.calender-line .event-division {
	font-weight: 700;
}
.calender-line .event-tickets {
	z-index: 0;
}
.calender-line .event-hinweis {
	display: block;
	margin-top: 10px;
}
.calender-line .event-hinweis .info {
	padding: .25em 5px;
}
.calender-line:last-child .cal-left,
.calender-line:last-child .cal-right,
.calender-line.last .cal-left,
.calender-line.last .cal-right {
	padding-bottom: 0;
	border-bottom: none;
}
@media (min-width: 640px) {
	.calender-line .cal-left .weekday .long {
		display: block;
	}
	.calender-line .cal-left .weekday .short {
		display: none;
	}
	.calender-line .cal-right {
		margin-left: 40px;
		width: calc((100% + 40px) / 4 * 3 - 40px);
	}
}
@media (min-width: 960px) {
	.calenderNextDates {
		margin-top: 120px;
	}
	.calender-line .cal-left {
		width: calc((100% + 40px) / 6 - 40px);
	}

	.calender-line .cal-left .day {
		font-size: 4em;
		line-height: 1;
	}
	.calender-line .cal-right {
		padding-bottom: 0;
		border-bottom: none;
		width: calc((100% + 40px) / 6 * 5 - 40px);
	}
	.calender-line .event-table {
		display: flex;
		flex-grow: 1;
	}
	.calender-line .event-table .left-side {
		width:calc((100% + 40px) / 5 * 4 - 40px);
		margin-right: 40px;
	}
	.calender-line .event-table .right-side {
		text-align: right;
		width: calc((100% + 40px) / 5 - 40px);
		display: flex;
		justify-content: center;
		flex-direction: column;
		align-items: flex-end;
	}
	.calender-line .event-table:last-child .left-side,
	.calender-line .event-table:last-child .right-side,
	.calender-line .cal-right .event-emptyNote {
		padding-bottom: 59px;
		border-bottom: 1px solid #000;
	}
	.calender-line .cal-right .event-emptyNote {
		display: flex;
		align-items: center;
		flex-grow: 1;
	}
	.calender-line:last-child .event-table:last-child .left-side,
	.calender-line:last-child .event-table:last-child .right-side,
	.calender-line:last-child .cal-right .event-emptyNote,
	.calender-line.last .event-table:last-child .left-side,
	.calender-line.last .event-table:last-child .right-side,
	.calender-line.last .cal-right .event-emptyNote {
		padding-bottom: 0;
		border-bottom: none;
	}
}

/* Filter */
#terminfilterung {
	margin-top: 20px;
	text-align: center;
}
#filterFormReset {
	margin-top: 20px;
	z-index: 0;
}

@media (min-width: 640px) {
	.filter-optionen {
		display: flex;
		margin-left: -20px;
		margin-right: -20px;
	}
	.filter-optionen .optsContainer {
		padding: 0 20px;
		margin: 0 !important;
		width: 100%;
	}
}

#terminfilterung #month-picker {
	position: relative;
	text-align: center;
	margin: 0 0 20px;
	display: inline-block;
}
#terminfilterung #month-name {
	display: inline-block;
	padding: 0 20px;
	margin: 0;
}
#terminfilterung .monthButtonNext,
#terminfilterung .monthButtonPrev {
	position: absolute;
	right: -40px;
	top: 50%;
	line-height: 1;
	font-size: 1em;
	border-radius: 1em;
	background: none;
	color: #fffa7f;
	transform: translateY(-50%);
	padding: calc(.5em - 2px);
	border: 2px solid #99a8d2;
	border-top-color: rgb(255, 255, 255);
	border-right-color: rgb(255, 255, 255);
	border-bottom-color: rgb(255, 255, 255);
	border-left-color: rgb(255, 255, 255);
	text-align: center;
	width: 2em;
	z-index: 1;
	transition: all .3s;
}
#terminfilterung .monthButtonNext .icon:before,
#terminfilterung .monthButtonPrev .icon:before {
	display: block;
}
#terminfilterung .monthButtonPrev {
	left: -40px;
	right: auto;
}
#terminfilterung .monthButtonNext.disabled,
#terminfilterung .monthButtonPrev.disabled {
	pointer-events: none;
	opacity: 0.25;
}
#month-picker .selectWrap {
	position: relative;
	padding: 0 calc(1em + 10px) 0 0;
}
#month-picker .selectWrap select {
	width: 100%;
	opacity: 0;
	position: absolute;
	left: 0;
	top: 0;
}
#month-picker .selectOver:after {
	position: absolute;
	right: 0;
	top: 50%;
	margin-top: -.33em;
	margin-right: .25em;
	content: '';
	display: block;
	height: .5em;
	width: .5em;
	border-style: solid;
	transform: rotate(-45deg);
	border-width: 0 0 2px 2px;
	border-color: #89898d;
	transform-origin: 50% 50%;
	transition: all .2s;
}
#month-picker .selectWrap.focus .selectOver:after {
	transform: rotate(135deg);
	border-color: #aabe3a;
}
@media (min-width: 640px) {
	#terminfilterung #month-name {
		padding: 0 40px;
	}
}
