#lfmap {
	height: 500px;
}


section.bg-layer .leaflet-container a {
  color: #0078A8;
}
section.bg-layer .leaflet-bar a {
  color: black;
}

.leaflet-control-attribution.leaflet-control {
  display: none;
}

.leaflet-control-layers-overlays .legend-box {
  width: 20px;
  height: 10px;
  display: inline-block;
  background-color: red;
  margin-right: 5px;
}



.map-location-infos {
  position: fixed;
  font-size: clamp(1rem, 1.6vw, 1.7rem);
  line-height: 1.4em;
  top: 0;
  left: 0;
  background: #000c;
  z-index: 1100;
  height: 100vh;
  width: 100vw;
  padding: 2em 0;
  visibility: hidden;
  opacity: 0;
  /*overflow: scroll;*/
  /*transition: all 0.3s ease-in;*/
  transition-property: opacity, visibility;
  transition-timing-function: ease-in;
  transition-duration: 0.3s;
}

.map-location-infos.active {
  visibility: visible;
  opacity: 1;
}

.map-location-infos .closeOverlay {
  position: fixed;
  position: absolute;
  right: 3%;
  top: 2em;
  right: 1em;
  top: 1em;
  width: fit-content;
  font-size: clamp(1rem, 3vw, 1.7rem);
  border-radius: 20px;
  background-color: transparent;
  border: 2px solid #295833;
  /*padding: 5px 10px;*/
  color: #642267;
  cursor: pointer;
  overlay: none;

  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 26px;
}

#overlays .map-location {
  position: relative;
  display: none;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0rem 1em 1em 2em;
  background: #b8d3c3;
  background: #cceada;
  height: 100%;
  /*overflow: scroll;*/
  border-radius: 20px;
}

#overlays .map-location.show {
  display: block;
  display: flex;
  flex-direction: column;
}

/*
.map-location .key-feature {
  max-width: 800px;
  margin: 2em auto;
  text-align: center;
  border: 5px solid #2a571d;
  border-radius: 30px;
  padding: 0 1em;
}
*/

.map-location .sc-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  /*! padding-bottom: 1rem; */
  overflow-y: scroll;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: #663568 transparent;
  /*! box-shadow: inset 10px 0px 10px 0px #00000029; */
}

.map-location .sc-wrapper .content {
  padding-right: 1rem;
}

.map-location h2 {
  margin: 1rem 0;
  padding: 0 3em;
}

.map-location .feature-content a {
  /*font-style: italic;*/
  font-weight: bolder;
}
.map-location .feature-content a:hover {
  text-decoration: underline;
}

/*
.map-location .text-block {
  column-count: 2;
}

.map-location .text-block > * {
  break-inside: avoid-column;
}
*/


.map-location .forest-profile {
  display: grid;
  grid-template-columns: 25% 1fr;
  gap: 2em 4em;
  margin-top: 3em;
}

@media (max-width: 570px) {
  .map-location .forest-profile {
    grid-template-columns: 1fr;
  }
  .map-location .forest-profile .pic-block figure {
    width: 70%;
    margin: 0 auto;
  }
}

.map-location .text-block > :first-child {
  margin-top: 0;
}
.map-location .text-block h4 {
  margin-bottom: 0;
}

.map-location .pic-block figure img {
  width: 100%;
  display: block;
}
.map-location .pic-block figure {
  margin: 0;
}



.map-location .pictures {
  display: flex;
  gap: 1em;
  justify-content: center;
}

.map-location .pictures img {
  flex: 1;
  aspect-ratio: 3/2;
  width: 33%;
}

@media (max-width: 900px) {
	.map-location .pictures {
		display: block;
		position: relative;
		width: 80%;
		aspect-ratio: 3/2;
		margin: 0 auto;
	}
	.map-location .pictures img {
		position: absolute;
		width: 100%;
		opacity: 0;
		animation: fling-minislide 15s infinite;
	}
}

@keyframes fling-minislide {
	25% {
		opacity: 1;
	}
	40% {
		opacity: 0;
	}
}

.map-location .pictures img:nth-child(3) { animation-delay: 0s; }
.map-location .pictures img:nth-child(2) { animation-delay: 5s; }
.map-location .pictures img:nth-child(1) { animation-delay: 10s; }





.forest-profile .text-block [data-hint]::before {
  content: attr(data-hint);
  position: absolute;
  transform: translate(10px, 2rem);
  background-color: #663568e0;
  color: white;
  padding: 5px;
  font-size: 14px;
  line-height: 14px;
  font-style: normal;
  font-weight: normal;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in;

  max-width: clamp(300px, 60vw, 700px);
}

.forest-profile .text-block [data-hint]:hover::before {
  opacity: 1;
  visibility: visible;
}

