#map a {
    color: var(--yellow);
    transition: all ease .5s;
}

#map .leaflet-right a {
    color: var(--yellow);
    transition: all ease .5s;
    position: relative;
    float: left;   
}

#map .leaflet-right label a {
    width: 100%;
    height: 25px;
}

#map a:hover {
    color: var(--black);
}

#map a.toggled {
    color: inherit;
    -webkit-text-fill-color: inherit;
}

#map .leaflet-control-zoom a:hover {
    -webkit-text-fill-color: white;
    background: #404a54;
}

.leaflet-control-window .close {
    background-color: transparent!important;
}

/* ///// LAYERS STYLE ///// */

.leaflet-control-layers-base .leaflet-control-layers-selector + span, .leaflet-control-layers-base .leaflet-control-layers-selector:checked + span {
    background: transparent;
}
    
.leaflet-control-layers-base .leaflet-control-layers-selector + span, .leaflet-control-layers-base .leaflet-control-layers-selector:checked + span {
    border: 0px solid #404a54 !important;
} 

.leaflet-control-layers-base .leaflet-control-layers-selector:checked + span, .leaflet-control-layers-base .leaflet-control-layers-selector:checked + span .icon-satelite, .leaflet-control-layers-base .leaflet-control-layers-selector:checked + span .icon-vermessung {
    color: #404a54 !important;
    opacity: 1;
}

.leaflet-control-layers-base .leaflet-control-layers-selector + span, .leaflet-control-layers-base .leaflet-control-layers-selector + span .icon-satelite, .leaflet-control-layers-base .leaflet-control-layers-selector + span .icon-vermessung {
    opacity: 0.4;
}


/*
.leaflet-control-layers .leaflet-control-layers-list,
.leaflet-control-layers-expanded .leaflet-control-layers-toggle {
	display: block;
}

}*/

.leaflet-touch .leaflet-control-layers, .leaflet-touch .leaflet-bar {
    border: 0px solid rgba(0,0,0,0.2)!important;
}

.leaflet-touch .leaflet-control-layers-toggle {
    display: none !important;
}

.leaflet-control-layers {
    border-radius: 0 !important;
}

.leaflet-right .leaflet-control {
    position: fixed;
    bottom: 0;
	right: 0;
    width: 350px;
    background: white!important;
}

.leaflet-right .leaflet-control {
    margin-right: 0;
}

.leaflet-control-layers-selector {
    display: none;
}

.leaflet-top .leaflet-right {
    top: 0 !important;
}

.leaflet-top {
    top: auto !important;
}
 
.leaflet-top.leaflet-left {
    bottom: 4em;
    left: 2em;
    position: fixed;
}


.leaflet-right {
    right: 0px !important;
	bottom: 0;
}

.leaflet-control-layers-separator {
    height: 0;
    border-top: 0px solid #ddd !important;
}

.leaflet-top {
    width: auto;
}

.leaflet-control-layers {
    width: calc(100% - 40px);
    padding: 20px;
    background: rgb(231,232,237) !important;
    background: -moz-linear-gradient(90deg, rgba(231,232,237,1) 0%, rgba(212,214,219,1) 100%) !important;
    background: -webkit-linear-gradient(90deg, rgba(231,232,237,1) 0%, rgba(212,214,219,1) 100%) !important;
    background: linear-gradient(90deg, rgba(231,232,237,1) 0%, rgba(212,214,219,1) 100%) !important;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#e7e8ed",endColorstr="#d4d6db",GradientType=1) !important;
}

.leaflet-control-layers.leaflet-control {
    -webkit-box-shadow: -9px -5px 54px -5px rgba(0,0,0,0.47);
    -moz-box-shadow: -9px -5px 54px -5px rgba(0,0,0,0.47);
    box-shadow: -9px -5px 54px -5px rgba(0,0,0,0.47);
}

.leaflet-bar a {
    background-color: #e6e8ec !important;
}

.leaflet-bar a:hover {
    color: #fff !important;
    background-color: #404a54 !important;
}


label {
    min-width: 0 !important;
}

.leaflet-control-layers-overlays {
    display: block;
    margin-top: 0px;
    /*width: calc(90% - 300px);*/
    width: 100%;
    float: left;
}


.leaflet-control-layers-base {
    position: relative;
    float: right;
}

.leaflet-control-layers label {
    white-space: nowrap;
	text-align: left;
    width: 100%;
}

section.leaflet-control-layers-list {
    margin-bottom: 10px!important;
    height: auto!important;
    position: relative;
    float: left;
    width: 100%;
}

.leaflet-control-layers-selector + span {
    padding: 5px 15px;
	float: left;
	width: calc(100% - 30px);
	color: black;
	-webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; 
}

.leaflet-control-layers-selector + span .seperator {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 1em;
    padding-top: 5px;
}

.leaflet-control-layers-selector + span h4 {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 1em;
    padding-top: 5px;
}

.leaflet-control-layers label:first-child h4 {
    border-top: none;
}

.leaflet-control-layers-selector:checked + span span {
    padding: 8px 18px 4px 30px;
    margin-left: -30px;
}

.leaflet-control-layers-selector:checked + span .standorte {
    border-bottom: 3px solid var(--yellow);
}

.leaflet-control-layers-selector:checked + span .bus {
    border-bottom: 3px solid #ff7d00;
}


.leaflet-control-layers-selector:checked + span .auto {
    border-bottom: 3px solid #008144;
}


.leaflet-control-layers-selector:checked + span .bahn {
    border-bottom: 3px solid #e30713;
}

label span {
    font-family: 'hero-new';
}

img.legend-icon {
    max-height: 20px;
}

.leaflet-control-layers-selector:checked + span {
    border: none!important;
}

.leaflet-control-zoom.leaflet-bar.leaflet-control {
    margin-top: 100px !important;
	float: right;
}

.leaflet-popup-content-wrapper
{
	border-radius: 0;
	padding: 10px;
	
	-webkit-box-shadow: -9px -5px 54px -5px rgba(0,0,0,0.47);
    -moz-box-shadow: -9px -5px 54px -5px rgba(0,0,0,0.47);
    box-shadow: -9px -5px 54px -5px rgba(0,0,0,0.47);
}

.popup-video {
    margin-bottom: 15px;
	width: 300px;
}

.leaflet-control-layers-overlays img {
    width: 30px;
    height: auto;
    margin-bottom: -4px;
}

.popup-video video {
    position: relative; 
	z-index: 99;
    top: bottom;
	transform: none;
	webskit-translate: none;
	left: 0;
    width: 100%; 
}

.popup-content .bild img {
    display: block;
}

/*
.leaflet-control-window {
    max-height: 80vh;
    overflow-y: auto;
}*/

.leaflet-control-window h3, 
.leaflet-control-window h4, 
.leaflet-control-window li, 
.leaflet-control-window p,
.leaflet-control-window {
    color: black!important;
	text-align: left;
	letter-spacing: 0;
}

.leaflet-control-window {
    overflow: hidden;
}

.leaflet-control-window h1 {
	color: black!important;
	font-size: 3em;
    line-height: 1.25;
    margin: 0.5em 0;
}

.leaflet-control-window h3 {
	color: black;
	font-size: 2em;
}

.leaflet-control-window h4 {
    margin-bottom: 14px;
    font-size: 14px;
}

.leaflet-control-window p, 
.leaflet-control-window {
	font-size: 14px;
	color: black;
	text-align: left;
    font-family: 'hero-new';
}

.leaflet-control-window li {
	list-style-type: none;
	font-size: 14px;
}

.leaflet-control-window .titlebar {
    position: absolute;
    top: 0;
    right: 0;
}

.leaflet-control {
	border-radius: 0!important;	
}

.titlebar h2.title {
	display: none;
}

.leaflet-control-window .content {
    overflow-y: scroll!important;
    margin-top: 0px;
} 

.popup-content {
    display: block;
    float: left;
    height: 100%;
}

.leaflet-right .leaflet-control {
    margin-right: 0!important; 
    overflow-y: auto;
    margin-right: 90px!important;
}

.leaflet-top .leaflet-control {
    margin-top: 0!important;
    max-height: calc(80vh - 4%);
    padding: 2% 0 0 0;
    margin-right: 90px!important;
}

.titlebar .close {
    opacity: 1;
    display: block;
}

.titlebar .close {
    left: auto;
}

.leaflet-control-window .close {
    top: 15px;
    right: 15px;
}

.popup-content ul {
    margin-bottom: 1em;
}

.popup-content h4 {
    margin-top: 1em;
}

.popup-image {
    
}

h4 a.toggled {
    font-family: 'Saira-SemiBold';
    color: #e3a036;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: rgb(37,143,179);
    background: -moz-linear-gradient(90deg, rgba(37,143,179,1) 0%, rgba(77,166,110,1) 100%);
    background: -webkit-linear-gradient(90deg, rgba(37,143,179,1) 0%, rgba(77,166,110,1) 100%);
    background: linear-gradient(90deg, rgba(37,143,179,1) 0%, rgba(77,166,110,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#258fb3",endColorstr="#4da66e",GradientType=1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.content {
    overflow-y: scroll!important;
}

.pflanzenarten, .tierarten {
    display: flex;
}

.pflanzenart, .tierart {
    width: auto;
}

.pflanzenart {
    max-width: 100%;
    max-height: 200px;
    width: auto;
    margin-right: 25px;
    margin-bottom: 25px;
}

.popup-image {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: 100%;
}

.overlay {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	height: 100%;
	width: 100%;
	opacity: 0;
	transition: .5s ease;
}

.pflanzenart:hover .overlay, .tierart:hover .overlay {
	opacity: 1;
}

.popup-image-description {
	color: white;
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	font-family: 'Saira-Regular';
	text-align: left;
	letter-spacing: 0;
	font-size: 14px;
}

.tooltipStyle {
  	background: white;
  	border-radius: 0;
	padding: 1em;
	font-family: 'UniNeueBold';
    letter-spacing: 0.1em;
}

.leaflet-tooltip.leaflet-zoom-animated.leaflet-tooltip-center {
    background: transparent;
    border: none;
    box-shadow: none;
}

@keyframes ripple{
  0%{
    box-shadow: 0 0 0 0 rgba(204, 204, 204, .3);
  }
  50% {
    box-shadow: 0 0 2px 3em rgba(204, 204, 204, .2);
  }
  100% {
    box-shadow: 0 0 7em 7em rgba(204, 204, 204, .1);
  }
}

.circle {
  width: 10px;
  height: 10px;
  background: #E3A035;
  border-radius: 50%;
  animation: ripple 5s linear infinite;
}




#block {
    position:absolute;
    -webkit-animation: mymove 2s infinite;
}

@media screen and (max-width : 1000px)  {

	
.layers {
    display: block;
    padding: 15px 15px;
}
	
.leaflet-control-layers.leaflet-control {
    bottom: 0em;
}

.leaflet-top .leaflet-control {
    margin-top: 0!important;
    width: 100%;
    height: calc(60vh - 4%);
    padding: 2% 0 2em;
    left: 0;
}
	
.leaflet-control-zoom.leaflet-bar.leaflet-control {
    margin-bottom: 0;
}
	
}


@media screen and (max-width : 800px)  {

.leaflet-top {
    width: 100% !important;
    right: 0 !important;
}

.leaflet-control-layers-overlays {
    width: 100%;
}

.leaflet-control-layers-base {
    width: 100%;
}

.leaflet-control-window {
    margin: 5%;
}

.leaflet-control-window h1 {
    font-size: 1.2em;
}

.leaflet-control-window h3 {
    font-size: 1.2em;
}

.leaflet-control-window .content {
    padding: 5% !important;
}
	
.leaflet-control-zoom.leaflet-bar.leaflet-control {
    margin-top: 100px !important;
    float: left;
}
	
.leaflet-control-layers-selector + span h4 {
    margin-top: 5px;
    margin-bottom: 0;
    font-size: 1.2em;
}
	
.leaflet-control-layers-selector + span {
    padding: 2px 15px;
}
	

}
 
 
 




