#map a {
    color: #3e4852;
    -webkit-text-fill-color: #414c56;
}

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

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

/* ///// 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;
}

.leaflet-control-layers-selector + span {
    padding: 5px 15px;
	float: left;
	width: calc(100% - 30px);
	color: black;
    font-family: var(--common-font);
    font-weight: 700;
    letter-spacing: 0.1em;
    cursor: pointer;
	
	-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;
    border-top: solid 1px #a0a0a0;
    padding-top: 10px;
}

.leaflet-control-layers-selector + span h4 {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 1em;
    border-top: solid 1px #a0a0a0;
    padding-top: 10px;
    font-family: var(--title-font);
}

.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 .infrastruktur {
    border-bottom: 3px solid #39CCCC;
}

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

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

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

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

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

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

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

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

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

.leaflet-control-layers-selector:checked + span .badeplaetze-tiere {
    border-bottom: 3px solid gray;
}
 
.leaflet-control-layers-selector:checked + span .reitwege {
    border-bottom: 3px solid #001f3f;cir
}

.leaflet-control-layers-selector:checked + span .wanderwege {
    border-bottom: 3px solid #85144b;
}

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

.leaflet-control-layers-selector:checked + span .tuempellandschaft {
    border-bottom: 3px solid #E29C00;
	
}.leaflet-control-layers-selector:checked + span .legende-naturlehrpfad {
    border-bottom: 3px solid #e19c01;
}

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%; 
}

.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;
	font-family: var(--common-font);
	text-align: left;
	letter-spacing: 0;
}

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

.leaflet-control-window h1 {
    color: black!important;
    font-size: 3em;
    font-weight: 600;
}

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

.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-weight: normal;
    line-height: 2;
}

.leaflet-control-window li {
	list-style-type: disc;
	margin-left: 20px;
	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%;
    padding: 0 0 40%;
}

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

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

.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;
    width: 100%;
    width: 100%;
    height: auto;
    height: 100%;
    object-fit: cover;
    margin: 0!important;
    padding: 0!important;
    float: left;
}

.overlay {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	height: 100%;
	width: 100%;
	opacity: 0;
	transition: .5s ease;
    background: rgba(0, 0, 0, 0.3);
}

.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: var(--title-font);
    line-height: 1.25;
    text-align: left;
    letter-spacing: 0;
    font-size: 14px;
    width: 90%;
}

.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;
}

a.nlp-rd-logo {
    position: fixed;
    top: 2em;
    left: 7%;
    width: 100px;
    height: 100px;
    background-image: url(../images/reussdelta-logo-bubble.svg);
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 1000;
}

a.nlp-rd-logo p {
    position: absolute;
    bottom: -52px;
    left: -27px;
    color: #fff;
    -webkit-text-fill-color: #ffffff;
    white-space: nowrap;
    text-shadow: 1px 1px 1px #000000;
}


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

@media screen and (max-width: 1200px) {
    a.nlp-rd-logo {
        left: 3em;
        width: 50px;
        height: 50px;
    }

    a.nlp-rd-logo p {
        font-size: 12px;
        bottom: -35px;
        left: -24px;
    }
}

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

	
.map-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 5em;
}
	
.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%;
    padding-bottom: 5rem;
    float: left;
}

.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;
}
	

}
 
@media screen and (max-width: 450px) {
    a.nlp-rd-logo {
        left: 3em;
        width: 35px;
        height: 35px;
        top: 1em;
    }

    a.nlp-rd-logo p {
        font-size: 10px;
        bottom: -32px;
        left: -18px;
        letter-spacing: 0.5px;
    }
}