#karte_map {
	height: 600px;
}
#karte_tab {
    display: grid;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    grid-template-columns: [first] 30% [line2] auto;
    grid-template-rows: [first] auto [row2] 620px [row3] auto;
}
#karte_sidebar {
    grid-area: 1 / 1 / 4 / 2;
    overflow-y: auto;
}
#karte_sidebar.bergwelt,
#karte_sidebar.tourenkarte {
	overflow-y: auto;
}
#karte_sidebar.megacams {
	grid-area: 1 / 1 / 2 / 2;
	max-height: unset;
}
#karte_zusatz {
	grid-area: 1 / 2 / 2 / 3;
    display: inline-flex;
    align-items: end;
    margin-left: auto;
}
#karte_inhalt {
	grid-area: 2 / 2 / 3 / 3;
    border: 1px solid;
}
#karte_hoehenprofil {
    grid-area: 3 / 2 / 4 / 3;
}
.infoBox {
	font-size: 12px;
    background-color: rgb(255 255 255);
    padding: 2px;
    color: #000000;
}
.infoBox_content {
	max-width: 200px;
}
.infoBox_megacams {
	max-width: 100%;
}
span.megacams, .infoBox_megacams > a.megacams {
	margin: auto 5px;
}
.infoBox_content img {
	width: 100%;
}
#standort > button {
	background-color: rgb(255, 255, 255);
    border: none;
    outline: none;
    width: 28px;
    height: 28px;
    border-radius: 2px;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px;
    cursor: pointer;
    margin-right: 10px;
    padding: 0px;
}
#standort_img {
	margin: 5px;
    width: 18px;
    height: 18px;
    background-image: url(../images/mylocation-sprite-1x.png);
    background-size: 180px 18px;
    background-position: 0px 0px;
    background-repeat: no-repeat;
}
#tour_kml {
	display: flex;
	flex-direction: column;
}
#tour_poi,
#tour_routen {
	margin-left: 5px;
}
#liste_poi,
#liste_routen {
	margin: 0 0 0 5px;
	list-style-type: none;
}
#liste_poi li,
#liste_routen li {
    font-size: 14px;
	margin-left: 5px;
}
.poi {
	margin: auto 0;
	padding: 0 0 0 3px;
}
.gruppen {
	margin: 5px 0 0 16px;
	padding: 0 0 0 16px;
}
.route {
	margin: 4px 0 4px 8px;
    padding: 0 0 0 16px;
	line-height: normal;
}
.poi_liste,
.gruppen_liste,
.routen_liste {
	display: inline-flex;
	vertical-align: middle;				  
}
#touren_ul {
	columns: 1;
	margin-left: 10px;
}
#touren_li {
	margin: 0 0 0 5px;
}
.tourenkarte.polyline {
	margin: 5px 0 10px 15px;
}
.polygons {
	margin: 0 10px;	   
}
.ordner {
	font-size: 20px;
    font-weight: bold;
	margin: auto 5px;
}
.folder {
	margin-left: 15px;
	line-height: normal;
}
.folder_div img {
	height: fit-content;
}
.folder_span {
	display: inline-grid;
	margin: auto 5px;
}
.folder_div {
	display: inline-flex;
}
.level_01, .level_02, .level_03, .level_04 {
	padding: 0;
	margin: 0 0 10px 0px;
	list-style-type: none;
}
.input_pm {
    transform: scale(1.4);
	vertical-align: middle;
}
.tour_div {
	line-height: normal;
    display: inline-flex;
}
.tour_span {
	margin-left: 5px;
    padding-left: 5px;
}
.tour_link_sidebar, .li_poi > a.megacams {
	margin-left: 40px;
    font-size: 10pt;
}
.tour_link_karte {
	float: right;
}
#map_routenplaner {
	height: 600px;
	border: 1px solid;
}
#select_abfahrt {
	top: 10px !important;
    height: 30px;
    font-size: 16px;
	border: 2px solid #0021ff;
	padding: 0 0 0 5px;
}
#routenverlauf {
	font-family: 'arial';
	line-height: 30px;
	padding-left: 10px;
	background: white;
}
#routenverlauf input {
	font-size: 15px;
}
#routenverlauf select {
	font-size: 15px;
	width: 100%;
}
#routenverlauf i {
	font-size: 12px;		 
}
.karten-info,
.button_drucken,
.button_karte {
    margin: 10px;
    cursor: pointer;
    border-radius: .5em;
    color: #fff;
    border: solid 1px #0076a3;
    background: linear-gradient(#00adee, #0076a3);
	height: 40px;
	max-width: 100px;
}
.karten-info:hover,
.button_drucken:hover {
	background: linear-gradient(#0076a3, #015473);
}
.modal {
    z-index: 3;
    display: none;
    padding-top: 50px;
    position: fixed;
    left: 230px;
    top: 0;
    width: calc(100% - 230px);
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
	overflow: scroll;
	animation: opac 0.8s;
}
@keyframes opac {
    from {
        opacity: 0.0
    }

    to {
        opacity: 1.0
    }
}
.modal-content {
    margin: auto;
    width: 90%;
}
.modal-container {
    padding: 12px;
	background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
}
span.modal_close:after {
	content: "\f00d";
	font-family: 'FontAwesome';
	font-size: 14pt;
	float: right;
	cursor: pointer;
}
.download p {
    font-size: 12px;
	margin: 0;
}
img.kml {
    width: 40px; height: 54px;
    background: url(../images/bg.png) -50px -4px;
}
img.gpx {
    width: 40px; height: 54px;
    background: url(../images/bg.png) -4px -4px;
}
.gps {
    font-size: 12px;
	margin: 0;
	text-align: right;
	line-height: normal;
}
.svg_linie {
	stroke-width: 1.5;
	fill: none;	
}
.svg_poi_circle {
	stroke: #000000;
	stroke-width: 1;
	fill: #ff0000;	
	r: 2.5;
}
.svg_poi_number {
	font-size: 0.5em;
}
.svg_text_legend {
	font-size: 0.55em;
	alignment-baseline: middle;
}
.svg_x_axis_label, .svg_y_axis_label, .svg_x_axis, .svg_y_axis {
	font-size: 0.5em;
	font-family: arial;
}
.svg_grid line {
	stroke: lightgrey;
	stroke-opacity: 0.7;
	shape-rendering: crispEdges;
}
.svg_grid path {
	stroke-width: 0;
}
.svg_current_point {
	fill: none;
    r: 3;
    stroke-width: 1px;
    stroke-opacity: 1;
    stroke: #000000;
}
.svg_rect_cursor {
	fill: none;
	pointer-events: all;
}
.svg_hoehenprofil_text {
	font-size: 0.6em;
}
@media (width<=992px) {
	.modal {
		left: 0;
		width: 100%;
	}
}
@media only screen and (max-width: 1200px) {
	#karte_map {
		height: 500px;
	}
	#karte_tab {
		display: grid;
		grid-template-columns: [first] auto [end] auto;
		grid-template-rows: [first] auto [row2] 520px [row3] auto;
	}
	#karte_sidebar {
		grid-area: 1 / 1 / 2 / 2;
		overflow-y: unset;
	}
	#karte_zusatz {
		grid-area: 1 / 2 / 2 / 3;
		display: grid;
		align-content: end;
        justify-content: end;
	}
	#karte_inhalt {
		grid-area: 2 / 1 / 3 / 3;
	}
	#karte_hoehenprofil {
		grid-area: 3 / 1 / 4 / 3;
	}
	.download {
		align-self: center;
		align-content: center;
		text-align: center;
	}
	#tour_kml {
		flex-direction: row;
	}
	.folder_span {
		max-width: 100%;
	}
	.tour_span {
		max-width: 180px;
	}
	#Tour_POI {
		columns: 2;
	}
	.gruppen {
		max-width: 100%;
	}
	#touren_ul {
		columns: 3;
	}
}
@media only screen and (max-width: 767px) {
	#karte_map {
		height: 400px;
	}
	#karte_tab {
		display: grid;
		grid-template-columns: 1fr;
		grid-template-rows: [start] auto [line2] auto [line3] 420px [end] auto;
	}
	#karte_sidebar {
		grid-area: 2 / 1 / 3 / 2;
	}
	#karte_zusatz {
		grid-area: 1 / 1 / 2 / 2;
		display: inline-flex;
	}
	#karte_inhalt {
		grid-area: 3 / 1 / 4 / 2;
	}
	#karte_hoehenprofil {
		grid-area: 4 / 1 / 5 / 2;
	}
	.gps {
		font-size: 10px;
	}
	#Tour_POI {
		columns: 1;
	}
	#touren_ul {
		columns: 2;
	}
}
@media only screen and (max-width: 600px) {
	.ordner {
		font-size: 16px;
	}
	p.ordner_gebirge,
	p.ordner_tour,
	p.ordner_album {
		font-size: 11pt;
	}
	#tour_kml {
		display: block;
	}
	#liste_poi,
	#liste_routen {
		padding-left: 0;
	}
	.karten-info,
	.button_drucken {
		margin: 5px;
	}
	#select_abfahrt {
		width: 150px;
	}
	#Touruebersicht img,
	.poi_liste img {
		width: 24px;
		height: 24px;	  
	}
	.input_pm {
		transform: scale(1.2);
	}
	#touren_ul {
		columns: 1;
	}
}