/* CSS Document */

/* Sticky Tabellenkopf  */
.table_sticky thead th {
	position: -webkit-sticky;
	position: sticky;
	top: 60px;
	z-index: 2;
}

@media only screen and (max-width: 799px) {
	.table_sticky thead th {
		top: 0;
	}
}

/* Karte  */
.mapcontainer {
	max-width: 900px;
	margin: auto;
	position: relative;
}
.btn-group {
	display: flex;
	flex-direction: column;
}
.btn-group-toggle > .btn {
	margin-bottom: 1rem;
}
.btn-group-toggle label {
	margin-right: 0;
}
/* Specific mapael css class are below
     * 'mapael' class is added by plugin
    */
.mapael .map {
	position: relative;
}
.mapcontainer label {
	width: inherit;
}
.mapcontainer label:last-child {
	margin-right: 0;
}
/* For all zoom buttons */
.mapael .zoomButton {
	background-color: #eef;
	border: 1px solid #ccd;
	color: #000;
	width: 20px;
	height: 20px;
	line-height: 20px;
	text-align: center;
	border-radius: 3px;
	cursor: pointer;
	position: absolute;
	font-weight: bold;
	right: 10px;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-o-user-select: none;
	user-select: none;
}
@media only screen and (min-width: 800px) {
	#buttons {
		position: absolute;
		top: -4rem;
		left: 50%;
		transform: translate(-50%, 0);
		width: 100%;
	}
	.btn-group {
		display: flex;
		flex-direction: row;
		justify-content: space-between;
	}
	.mapael .zoomButton {
		right: auto;
		left: 10px;
	}
}
/* Reset Zoom button first */
.mapael .zoomReset {
	top: 25px;
}
/* Then Zoom In button */
.mapael .zoomIn {
	top: 0px;
}
/* Then Zoom Out button */
.mapael .zoomOut {
	top: 50px;
}
.mapael .mapTooltip {
	position: absolute;
	background-color: #fff;
	moz-opacity: 0.9;
	opacity: 0;
	filter: alpha(opacity=90);
	border-radius: 4px;
	-webkit-box-shadow: 2px 2px 5px 1px rgba(0, 0, 0, 0.75);
	-moz-box-shadow: 2px 2px 5px 1px rgba(0, 0, 0, 0.75);
	box-shadow: 2px 2px 5px 1px rgba(0, 0, 0, 0.75);
	padding: 0.5em;
	z-index: 1000;
	display: none;
	color: #000;
	transition: opacity 1s;
}
.mapael .mapTooltip.active {
	display: block;
	opacity: 0.9;
}
.mapael .areaLegend {
	margin-top: 1rem;
}
@media only screen and (min-width: 800px) {
	.mapael .areaLegend {
		position: absolute;
		right: -0.4em;
		top: 0;
		margin: 0;
	}
}
#myText {
	position: fixed;
	top: -160px;
	left: 0;
	width: 100%;
	z-index: 1000;
	padding: 0 0.5rem 0 0;
	transition: top ease-in-out 0.5s;
	-webkit-box-shadow: 2px 2px 5px 1px rgba(50, 50, 50, 0.3);
	-moz-box-shadow: 2px 2px 5px 1px rgba(50, 50, 50, 0.3);
	box-shadow: 2px 2px 5px 1px rgba(50, 50, 50, 0.3);
}
#myText.active,
.area:hover,
.area:active {
	top: 60px;
	transform: scaleY(1);
	z-index: 1000;
	-webkit-user-select: none;
	-webkit-touch-callout: none;
}
@media only screen and (min-width: 800px) {
	#myText {
		position: absolute;
		font-size: 0.938rem;
		display: none;
		opacity: 0;
		left: -100px;
		top: 320px;
		width: auto;
		transition: opacity 1s, top ease-in-out 1.5s, display 0.5s;
	}
	#myText.active,
	.area:hover,
	.area:active {
		opacity: 0.9;
		display: block;
		top: 320px;
	}
}
#content #myText div {
	background-color: #ffffff;
	padding: 0.5rem;
}
#content #myText div p {
	margin-bottom: 0.5rem;
}

table {
	margin-bottom: 0;
}

th {
	text-align: center;
}

td {
	text-align: right;
}
