/* ---------------------------------- Map ---------------------------------- */
hr {
	height: 2px;
  	background-color: #009DE0;
  	border-radius: 1px;
}
.map, #map_canvas {
	margin: 0;
	padding: 0;
	height: 100%;
}
#map_canvas {
	height: 100%;
	position: relative;
	z-index: 0;
}
#map {
	width: 100%;
	overflow: hidden;
	background: transparent url("/images/karte-bgr.webp") no-repeat center center;
	background-size: cover;
	height: calc(100vh - 150px);
	margin-top: 94px;
	position:relative;
	z-index:98;
}
#map h1 {
	display: none;
}
.invisible{
	display: none;
}
.mapAdressSearch{
	position: fixed;
	z-index: 99;
	top: 22px;
	left: calc(50% - (330px/2));
	display: flex;
	justify-content: center;
	align-content: center;
	align-items: center;
}
.map {
	position: relative;
}
.mapInput {
  	width: 250px;
	min-height: 1.5em;
  	border: 1px solid #009DE0;
  	border-radius: 8px;
  	margin-right: 1em;
	padding: 5px;
}
.mapSearchBtn{
	background: transparent url("/layout/search-map-white.svg") no-repeat center center;
    background-size: 25px;
	cursor: pointer;
	width: 40px;
	height: 50px;
	border: none;
}
.mapAdressSearchForm{
	background-color: #009DE0;
	border-radius: 8px;
	width: 330px;
	display: flex;
	justify-content: center;
	align-content: center;
	align-items: center;
}
#karte {
	position: absolute; 
	top: 0; 
	left: 0; 
	width: 100%; 
	height: calc(100vh - 100px); 
	padding:0px; 
	border:0px;
}
#legendIcon{
	background-color: #009DE0;
	/*background: #fff url("../layout/icon-info-blue.svg") no-repeat center center;
	background-size: 7px;*/
	cursor: pointer;
	width: 44px;
	height: 40px;
	border-radius: 4px;
	/*border-radius: 2rem;
	border-top-left-radius: unset;*/
	position: absolute;
	display: flex;
	top: 70px;
	right: 9px;
	z-index: 90;
	justify-content: center;
	align-content: center;
	align-items: center;
}
#legendIcon.animated{
	background-color: #fff;
}
#Ebene_1{
	height: 30px;
	width: 100%;
}
.st1{
	/*fill:#009DE0;*/
	fill: #fff;
}
.animated .st1{
	fill: #000;
}
.animated {
  transition: all 0.5s ease-in-out;
}
/*.rotate-clockwise {
  	transform: rotate(45deg) translate(100%, -45%);;
}
.rotate-counterclockwise {
  	transform: rotate(-45deg) translate(-130%, -30%);
}*/
.rotate-clockwise {
  	transform: rotate(45deg) translate(100%, -45%) scaleX(0.5);
}
.rotate-counterclockwise {
	transform: rotate(-45deg) translate(-111%, -35%) scaleX(0.5);
}
/*.animated {
  transition: all 0.5s ease-in-out;
}
.rotate-clockwise {
  	transform: rotate(45deg) translate(100%, -45%) scaleX(0.5);
}
.rotate-counterclockwise {*/
  	/*transform: rotate(-45deg) translate(-130%, -30%) scaleX(0.5);
	transform: rotate(-45deg) translate(-111%, -35%) scaleX(0.5);
}*/
.rounded-border {
  	stroke-linejoin: round;
	stroke-linecap:round;
}

#legend {
	background-color: #fff;
	position: absolute;
	top: 70px;
	right: 9px;
	z-index: 89;
	width: 220px;
	/*height: 250px;*/
	border-radius: 4px;	
	padding: 1em;
	padding-top: 6px;
}
#legend {
	font-size: 0.75em;
}
@media (max-height: 910px) and (max-width: 768px) {
	#legend{
		height: calc(100vh - 385px);
		overflow-y: scroll;
		overflow-x: visible;
	}
}
@media (max-height: 865px) and (min-width: 768px) {
	#legend{
		height: calc(100vh - 333px);
		overflow-y: scroll;
		overflow-x: visible;
	}
}
.colorBubble{
	/*border-radius: 50%;*/
	width: 25px;
	height: 3px;
}
.colorLine{
	/*border-radius: 50%;*/
	width: 25px;
	height: 3px;
}
.colorLegendBox{
	min-width: 25px;
	width: 25px;
	height: 10px;
}
button.colorLegend{
	background: transparent;
  	cursor: pointer;
}
.colorLegend, .markerLegend{
	display: flex;
	flex-direction: row;
	/*margin: 0.8em 0;*/
	margin: 1rem 0;
	justify-content: flex-start;
	align-content: center;
	align-items: center;
}
.colorLegend{
	cursor: pointer;
}
.colorLegend p, .markerLegend p{
	padding-left: 1em;
	/*line-height: 1.1em;*/
	font-size:0.8em;
}
.erdwaerme {
	background-color: #FF5733;
}
.fernwaerme-ausbau{
	background-color: #2434db;
}
.fernwaerme-bestand{
	background-color: #ff0000;
}
.ausbau-26-29{
	/*background-color: #FFEBCD;*/
	border: solid 1px #ff9400;
	background: repeating-linear-gradient(
	  45deg,
	  #ff9400,
	  #fff 2px,
	  #ff9400 2px,
	  #ff9400 4px
	);
}
.nicht-terminiert{
	/*background-color: #888888;*/
	border: solid 1px #4fc3f7;
	background: repeating-linear-gradient(
	  45deg,
	  #4fc3f7,
	  #fff 2px,
	  #4fc3f7 2px,
	  #4fc3f7 4px
	);
}
.stadtgrenze{
	background-color: #fff;
	border: solid 1px #000;
}
.stadtgrenze.dark{
	background-color: #000;
	border: solid 1px #000;
}
.gemarkungsgrenze{
	background-color: #C09;
	border: solid 1px #C09;
}
.untersuchungsgebiet{
	/*background-color: #ffff00;*/
	border: solid 1px #f3da0b;
	background: repeating-linear-gradient(
	  45deg,
	  #f3da0b,
	  #fff 2px,
	  #f3da0b 2px,
	  #f3da0b 4px
	);
}
.btn-map{
	font-size: 15px;
}
/*.waerme {
	background-color: #ff0000;
}
.waermeneubau {
	background-color: #ff00ff;
}*/
#toggleKmlButton0, #toggleKmlButton1, #toggleKmlButton2, #toggleKmlButton3, #toggleKmlButton4, #toggleKmlButton5, #toggleKmlButton6, #toggleKmlButton7, #toggleKmlButton8 {
    transition: opacity 0.3s ease;
	width: 80%;
}
/*#toggleKmlButton0{
	margin-top: 1.5rem;
}*/
#toggleKmlButton4{
	margin-bottom: 1.25rem;
}
.legenInfoButton{
	width: 20%;
	justify-content: flex-end;
	position: relative;
    cursor: pointer;
}
.legenInfoButton p{
	border-radius: 50%;
	/*border: solid 1px #009DE0;
	color: #009DE0;
	text-align: center;*/
	width: 1.25rem;
	height: 1.25rem;
	/*font-size: 0.8rem;*/
	background: #fff url("/layout/icon-hinweise.svg") no-repeat center;
	background-size: 18px;
}
.legendTooltip {
    display: none;
    position: absolute;
    background-color: #009DE0;
    color: #fff;
    padding: 8px;
    border: 1px solid #009DE0;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    z-index: 10;
    width: 250px;
	top: 0;
	right: 30px;
	line-height: 135%;
	padding: 20px;
}
.legendTooltip::before {
     content: "";
  	width: 0px;
  	height: 0px;
  	position: absolute;
  	border-left: 10px solid #009DE0;
  	border-right: 10px solid transparent;
  	border-top: 10px solid #009DE0;
  	border-bottom: 10px solid transparent;
  	right: -10px;
  	top: 6px;
}
.legendTooltip .closeButton {
    position: absolute;
    top: 4px;
    right: 8px;
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
	display: none;
}
@media (max-height: 910px) and (max-width: 768px) {
	.legendTooltip{
		width: 170px;
	}
}
@media (max-height: 865px) and (min-width: 768px) {
	.legendTooltip{
		width: 170px;
	}
}
/*@media (hover: none) {
    .legendTooltip .closeButton {
        display: block;
    }
}

@media (hover: hover) {
    .legenInfoButton:hover .legendTooltip {
        display: block;
    }
	.legendTooltip .closeButton {
        display: none; 
    }
}*/

@media (hover: none) {
    /* Schließen-Button auf mobilen Geräten sichtbar machen */
    .legendTooltip.show .closeButton {
        display: block;
    }
}

@media (hover: hover) {
    /* Hover-Effekt für Desktop */
    .legenInfoButton:hover .legendTooltip {
        display: block;
    }

    .legendTooltip .closeButton {
        display: none; /* Auf Desktop ist der Schließen-Button immer unsichtbar */
    }
}
@media only screen and (max-width: 960px) {
	#legend .row{
		 flex-direction: row;
	}
 }

.fullOpacity{
	opacity: 1;
}
.lowOpacity{
	opacity: 0.5;
}
.fernwaermeMarker{
	width: 25px;
	height: 35px;
	background: transparent url("/layout/user-marker.svg") no-repeat center center;
	background-size: contain;
}
#toggleMarkerButton{
	cursor: pointer;
}
#markerCountText {
	font-size:0.8em;
	
}

@media only screen and (max-width: 768px){
	.mapAdressSearch{
		top: 90px;
		/*left:1em;*/
		left: calc(50% - (315px/2));
	}
	.mapAdressSearchForm{
		width: 315px;
	}
}
#controls{
	width: 45px;
  	height: 45px;
	position:absolute;
	left: 1em;
	top: 35%;
	z-index: 80;
	display: flex;
	justify-content: center;
  	align-items: center;
	flex-direction: column;
	background-color: #009DE0;
	border-radius: 8px;
	padding: 0.25em 0;
}
.markerControls{
	width: 25px;
	height: 25px;
	display: flex;
	justify-content: center;
	align-content: center;
	align-items: center;
	/*object-fit: contain;*/
	background-color: transparent;
	/*margin: 0.5em 0.7em;*/
	cursor: pointer;
	padding: 0;
}

@media only screen and (max-width: 768px){
	#map{
		margin-top: 150px;
		height: calc(100vh - 150px - 50px);
	}
}

#disclaimerText{
	position: absolute;
	bottom: 0;
	left: 50%;
  	z-index: 89;
  	background-color: #009DE0;
  	color: #000;
  	width: 80%;
  	border-top-left-radius: 1em;
  	border-top-right-radius: 1em;
	margin-left: -40%;
  	max-height: 0%;
  	transition: max-height 0.5s ease;
}
#disclaimerText.open{
	max-height: 100%;
}
#disclaimerText p, #disclaimerText h2 {
	color: #000;
	text-align: center;
}
#disclaimerText h2{
	margin: 0.25em 0;
	font-size: 1em;
}
@media only screen and (max-width: 460px){
	#disclaimerText h2{
		font-size: 0.9em;
	}
}

.disclaimer{
	position: relative;
	width: 100%;
	height: 100%;
	padding:1em 2em;
}
.disclaimer small{
	display:inline-block;
	width: 100%;
	font-size: 0.75em;
	line-height: 130%;color: #000;
	text-align: center;
}
#disclaimerButton{
	width: 50px;
  	height: 40px; 
	position: absolute;
	top: -2.1em;
	left: calc(50% - 25px);
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
	background-color: #009DE0;
	cursor: pointer;
	background: #009DE0 url("/layout/arrow-up-white.svg") no-repeat center;
	background-size: 30px;
	background-position-y: 8px;
}
#disclaimerButton.open{
	background: #009DE0 url("/layout/arrow-down-white.svg") no-repeat center;
	background-size: 30px;
	background-position-y: 12px;
}
.disclaimerLink{
	text-decoration: underline;
	font-weight: normal;
	text-transform: uppercase;
	font-size: 1.25em;
	color: #000;
}
.disclaimerLink p {
	margin-bottom: 0.5em;
}
@media only screen and (max-width: 460px){
	.disclaimerLink{
		font-size: 0.9em;
	}
}
.map-noconsent{
	background: transparent url(/images/ww-kv.png) no-repeat center center;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	width: 100%;
	height: 80vh;
}
.map-noconsent p, .map-noconsent h3 {
	text-align: center;
}

.gm-style-iw .btn {
    width: 100%;
    margin: .5em 0 0;
}

.gm-style-iw p {
    color: #3d3d3d;
    font-weight: 500;
    font-size: .875rem;
}

.gm-style-iw h4 {
    font-size: 1rem;
    margin-bottom: .5rem;
}
.gm-style-iw select{
	width: 100%;
  	padding: 5px;
  	margin: 0.5rem 0;
	cursor: pointer;
}
.legendHeadline, .legendThinHeadline{
	width: 100% !important;
	font-size: 0.9em;
}
.legendHeadline{
	font-weight: 700;;
}
.legendThinHeadline{
	margin-top: 0.5rem;
	font-weight: 400;
}
.legendTextInfo{
	font-size: 0.8em;
}
#mapHelp{
	width: 45px;
  	height: 45px;
	position: absolute;
	top: calc(35% - 65px);
	left: 1em;
	z-index: 80;
	display: flex;
	justify-content: center;
	align-content: center;
	align-items: center;
	background-color: #009DE0;
	cursor: pointer;
  	border-radius: 8px;
}
#mapHelp p {
	width: 30px;
  	height: 30px;
	margin: 0.25em 0.28em;
	display: flex;
	justify-content: center;
	align-content: center;
	align-items: center;
	color: #fff;
	font-weight: 400;
	font-size: 2em;
	padding: 0.25em 0;
}
#controlsHelp{
	position: absolute;
	top: 35%;
	left: 1em;
	z-index: 79;
	background-color: #fff;
	color: #009DE0;
	border-radius: 8px;
	padding: 0.15em;
	overflow: hidden;
	width: 0;
	opacity: 0;
	-webkit-transition: all .5s ease-in-out;
  	-moz-transition: all .5s ease-in-out;
  	-o-transition: all .5s ease-in-out;
 	transition: all .5s ease-in-out;
}
#controlsHelp div.row{
	flex-direction: row;
}
#controlsHelp p {
	font-size: 0.75em;
	margin: 5px 10px;
	padding-bottom: 5px;
	overflow: hidden;
	border-bottom: solid 0.15px #009DE0;
}
#controlsHelp p:first-child{
	margin-left: 58px;
}
#controlsHelp p:last-child{
	border-bottom: none;
}
#controlsHelp .flexbox{
	align-content: center;
	align-items: center;
}
#controlsHelp div:nth-child(2) p{
	margin-left: 17px;
}
.controlsInfo{
	width: 30px;
	height: 30px;
	object-fit: contain;
  	margin: 0 0.5em;
}
.extLink{
	display: inherit;
}

@media screen and ( max-height: 800px ) {
	#map {
		/*min-height: 600px;*/
	}
}
#markerButtons{
	position: absolute;
  	z-index: 99;
  	left: 1em;
  	top: calc(35% + 65px);
  	padding: 0.5em;
  	border-radius: 8px;
  	background-color: #fff;
	max-width: 115px;
	overflow: hidden;
	
}
#markerButtonsText{
	width: 100%;
	cursor: pointer;
}
#markerButtons h2{
	width: 78%;
	font-size: 0.8rem;
}
#markerButtons p{
	margin-bottom: 0.5em;
	display: inline-block;
	font-size: 0.8em;
	line-height: 110%;
	width: 50px;
	height: auto;
	cursor: pointer;
}
#markerButtonsClose{
	width: 28%;
	height: auto;
}
#markerButtons.closed{
	width: 50px;
	height: 50px;
	padding-left: 0.25em;
	cursor: pointer;
}
#markerButtons #markerButtonsText.closed{
	margin-left: 0.5em;
	width: 50px;
	height: 65px;
	background: transparent url("/layout/user-marker-red.svg") no-repeat;
  	background-size: 25px 35px;
  	padding-left: 4em;
}
#markerButtonsText.closed h2{
	display: none;
}
#markerButtons.opened{
	width: 100%;
}
#markerButtons p.opened{
	width: 100%;
	color: #000;
}
#myMarker{
	padding: 0 0.5em;
	display: flex;
	flex-wrap: wrap;
	margin-top: 0.75em;
}
.markerButton{
	height: 45px;
	width: auto;
	padding-left: 3em;
	background: transparent url("/layout/user-marker-red.svg") no-repeat left center;
  	background-size: contain;
	cursor: pointer;
	margin-right: 1em;
	margin-bottom: 0.65em;
}
.markerButton span {
	display: none;
}
.markerButton small{
	display: inline-block;
  	text-align: left;
	font-size: 0.75em;
}
.gm-style-iw textarea {
    width: 100%;
    height: 5.5rem;
    border: 1px solid #009DE0;
    border-radius: 8px;
    padding: 0.25em;
    margin: .5em 0;
	font-size: 1rem;
}
.gm-style-iw label {
    display: flex;
    font-size: .8rem;
    font-weight: bold;
    color: #009DE0;
    align-items: center;
    margin-top: .75rem;
}
.gm-style-iw label > input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    margin-right: .5rem;
}
.gm-style-iw-d a {
	color: #009DE0 !important;
}

#searchMarker{
	width: 285px;
	position: absolute;
	top: calc(35% - 130px);
	left: 1em;
	z-index: 80;
	display: flex;
	justify-content: flex-start;
  	align-content: flex-start;
  	align-items: center;
	flex-direction: row;
	background-color: #009DE0;
	border-radius: 8px;
	overflow: hidden;
	-webkit-transition: width .25s ease-in-out;
  	-moz-transition: width .25s ease-in-out;
  	-o-transition: width .25s ease-in-out;
  	transition: width .25s ease-in-out;
}
#markerIdInput{
	height: 35px;
	border-radius: 8px;
	padding: 0.25em;
	margin-left: 0.5em;
	width: 188px;
}
#searchMarkerIcon{
	width: 45px;
	min-width: 45px;
	height: 45px;
	display: flex;
  	justify-content: center;
  	align-content: center;
  	align-items: center;
  	cursor: pointer;
	background: transparent url(/layout/search-map-white.svg) no-repeat center center;
  	background-size: 25px;
}
#searchMarkerBtn {
	width: 45px;
	height: 45px;
	display: flex;
  	justify-content: center;
  	align-content: center;
  	align-items: center;
  	cursor: pointer;
	background: transparent url("/layout/search-white.svg") no-repeat center center;
  	background-size: 25px;
}
#searchMarkerBtn span {
	display: none;
}
#markerFilter{
	width: 45px;
	height: 45px;
	position: absolute;
	top: calc(35% + 65px);
	left: 1em;
	z-index: 77;
	cursor: pointer;
	background: #009DE0 url("/layout/icon-filter-marker.svg") no-repeat center center;
  	background-size: 20px;
	border-radius: 8px;
}
#markerFilter.open{
	background: #fff url("/layout/icon-filter-marker-open.svg") no-repeat center center;
  	background-size: 20px;
}
#markerFilterContent{
	width: 0px;
	background-color: #fff;
	border-radius: 4px;
	border-top-left-radius: 8px;
	font-size: 0.8rem;
	padding: 1rem;
	/*padding-top: calc(45px + 1rem);*/
	display: flex;
	flex-direction: column;
	position: absolute;
	top: calc(35% + 65px);
	left: 18px;
	z-index: 76;
	opacity: 0;
  	pointer-events: none;
}
#markerFilterContent.open{
	opacity: 1;
	width: 225px;
  	pointer-events: all;
}
#markerFilterContent p{
	margin-left: 30px;
  	margin-bottom: 0.25rem;
	font-size: 0.9rem;
}
#markerFilterContent hr{
	margin-bottom: 1rem;
}
#markerFilterContent label img{
	width: 25px;
  	height: 40px;
  	margin-right: 0.5rem;
}
/*#markerFilterContent label img:nth-of-type(2){
	width: 22px;
  	height: 37px;
	margin-right: 0.5rem;
}*/
.statusFilter{
	margin-right: 1rem;
	display: none;
}
#markerFilterContent label{
	display: flex;
  	flex-direction: row;
	align-items: center;
  	margin-bottom: 0.5rem;
	cursor: pointer;
	opacity: 0.5;
	transition: opacity 0.2s ease-in-out;
	
}
#markerFilterContent label.is-checked{ 
	opacity: 1; 
}
.bounce {
    animation: bounce 2s 3 ease-in-out;
    -webkit-animation: bounce 2s 3 ease-in-out;
    -moz-animation: bounce 2s 3 ease-in-out;
    -o-animation: bounce 2s 3 ease-in-out;
}
 
@-webkit-keyframes bounce {
    0%, 20%, 50%, 80%, 100% {-webkit-transform: translateY(0);} 
    40% {-webkit-transform: translateY(-15px);}
    60% {-webkit-transform: translateY(-5px);}
}
 
@-moz-keyframes bounce {
    0%, 20%, 50%, 80%, 100% {-moz-transform: translateY(0);}
    40% {-moz-transform: translateY(-15px);}
    60% {-moz-transform: translateY(-5px);}
}
 
@-o-keyframes bounce {
    0%, 20%, 50%, 80%, 100% {-o-transform: translateY(0);}
    40% {-o-transform: translateY(-15px);}
    60% {-o-transform: translateY(-5px);}
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-15px);}
    60% {transform: translateY(-5px);}
}