/* (c) 01/2024 by Martin Koppenhöfer, martin@23maps.it  */
body {
    margin: 0;
}
#map {
  position: absolute;
  top: 0;
  bottom: 0;
  background: #80A1BF;
}
.mapboxgl-ctrl-bottom-left, .maplibregl-ctrl-bottom-left {
  bottom: 16px;
}
@media screen and (max-width: 507px) {
  .mapboxgl-ctrl-bottom-left, .maplibregl-ctrl-bottom-left {
    bottom: 26px;
  }
  .lcam-popup.mapboxgl-popup {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    z-index: 9;
    transform: none!important;
  }
  .lcam-popup .mapboxgl-popup-tip {
    display: none;
  }
}
@media screen and (min-width: 610px) {
  .mapboxgl-ctrl-bottom-left, .maplibregl-ctrl-bottom-left {
    bottom: 0;
  }
}
.lcam-popup .mapboxgl-popup-content, .lcam-popup .maplibregl-popup-content {
  background: #B1C8CB;
  border-radius: 12px;
  border: 8px solid white;
  box-shadow: 1px 3px 14px rgba(0,0,0,.4);
  color: #fff;
  padding: 15px;
  font-family: Lato, sans-serif;
  font-size: 13px;
  display: flex;
}
.lcam-popup a, .lcam-popup a:visited {
  color: #2D2E33;
  text-decoration: none;
}
.lcam-popup a:hover, .lcam-popup a:active {
  color: #6C6D74;
  text-decoration: underline;
}
.lcam-popup.mapboxgl-popup-anchor-top-left .mapboxgl-popup-content, .lcam-popup.maplibregl-popup-anchor-top-left .maplibregl-popup-content {
  border-top-left-radius: 0;
}
.lcam-popup.mapboxgl-popup-anchor-top-right .mapboxgl-popup-content, .lcam-popup.maplibregl-popup-anchor-top-right .maplibregl-popup-content {
  border-top-right-radius: 0;
}
.lcam-popup.mapboxgl-popup-anchor-bottom-left .mapboxgl-popup-content, .lcam-popup.maplibregl-popup-anchor-bottom-left .maplibregl-popup-content {
  border-bottom-left-radius: 0;
}
.lcam-popup.mapboxgl-popup-anchor-bottom-right .mapboxgl-popup-content, .lcam-popup.maplibregl-popup-anchor-bottom-right .maplibregl-popup-content {
  border-bottom-right-radius: 0;
}

/* fix popup tip color */
/*
.lcam-popup.mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip, .lcam-popup.maplibregl-popup-anchor-bottom .maplibregl-popup-tip,
.lcam-popup.mapboxgl-popup-anchor-bottomi-left .mapboxgl-popup-tip, .lcam-popup.maplibregl-popup-anchor-bottom-left .maplibregl-popup-tip,
.lcam-popup.mapboxgl-popup-anchor-bottom-right .mapboxgl-popup-tip, .lcam-popup.maplibregl-popup-anchor-bottom-right .maplibregl-popup-tip  {
  border-top-color: white;
}
.lcam-popup.mapboxgl-popup-anchor-top .mapboxgl-popup-tip, .lcam-popup.maplibregl-popup-anchor-top .maplibregl-popup-tip,
.lcam-popup.mapboxgl-popup-anchor-top-left .mapboxgl-popup-tip, .lcam-popup.maplibregl-popup-anchor-top-left .maplibregl-popup-tip, 
.lcam-popup.mapboxgl-popup-anchor-top-right .mapboxgl-popup-tip, .lcam-popup.maplibregl-popup-anchor-top-right .maplibregl-popup-tip {
  border-bottom-color: white;
}
.lcam-popup.mapboxgl-popup-anchor-left .mapboxgl-popup-tip, .lcam-popup.maplibregl-popup-anchor-left .maplibregl-popup-tip {
  border-right-color: white;
}
.lcam-popup.mapboxgl-popup-anchor-right .mapboxgl-popup-tip, .lcam-popup.maplibregl-popup-anchor-right .maplibregl-popup-tip {
  border-left-color: white;
}
.lcam-popup .mapboxgl-popup-close-button, .lcam-popup .maplibregl-popup-close-button {
  color: white;
}*/
.psection {
  margin-top: 0.875em;
}
.lcam-popup-body {
  margin-left: 15px;
  color: #6C6D74;
  width: 300px;
  max-width: 100%;
  font-size: 16px;
  align-self: end;
}
.lcam-popup h2 {
  padding-top: 15px;
  width: 100%;
  margin: 0;
  font-size: 2em;
  font-weight: 400;
  text-align: center;
  letter-spacing: 0.05em;
  color: #fff;
}
.lcam-popup .lcam-logo {
  width: 110px;
}
.lcam-popup .lcam-img {
  max-width: 100%;
  width: 300px;
  aspect-ratio: 1;
}
.lcam-popup.lcam-nopic h2 {
  border: 1px solid white;
  padding-bottom: 15px;
}
.lcam-title {
  font-size: 24px;
  color: #2D2E33;
  line-height: 1.2;
}
.lcam-partner.psection {
  margin-top: 0;
}
.projektdate {
  font-size: 13px;
}
.lcam-status, .lcam-leistung, .lcam-kenndaten {
  font-size: 13px;
  line-height: 1.4;
}
.lcam-more {
  height: 33px;
  display: table-cell;
  vertical-align: middle;
  padding-top: 15px;
}
.lcam-popup.lcam-nopic .lcam-more.lcam-nolink {
  height: 0;
}
/* disamb popups */
.disamb .mapboxgl-popup-content, .disamb .maplibregl-popup-content {
  background: transparent;
  box-shadow: none;
}
.dfeature {
  font-weight: 400;
  font-size: 24px;
  padding: 15px;
  border-radius: 4px;
  background-color: #B1C8CB;
  color: white;
  margin: 4px;
  border: 8px solid #fff;
  letter-spacing: 0.05em;
  cursor: pointer;
  text-align: center;
  box-shadow: 1px 3px 14px rgba(0,0,0,.4);
  font-family: Lato, sans-serif
}
.disamb .mapboxgl-popup-tip, .disamb .maplibregl-popup-tip {
  border: 0;
}
/* controls overrides */
.mapboxgl-ctrl-group, .maplibregl-ctrl-group {
  background: rgba(255,255,255,0.8);
}
/* attribution */
.mapboxgl-ctrl-bottom-right .mapboxgl-ctrl, .maplibregl-ctrl-bottom-right .maplibregl-ctrl {
  margin: 0;
}
.mapboxgl-ctrl-attrib.mapboxgl-compact, .maplibregl-ctrl-attrib.maplibregl-compact {
  background-color: rgba(255,255,255,0.8);
  border-top-left-radius: 2px;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 2px;
  min-height: 14px;
  margin: 0;
  line-height: 14px;
}
.mapboxgl-ctrl-attrib.mapboxgl-compact-show, .maplibregl-ctrl-attrib.maplibregl-compact-show {
padding: 2px 8px;
}
/* 23m logo */
.maplibregl-ctrl-bottom-left .mylogo, .mapboxgl-ctrl-bottom-left .mylogo {
  width: 85px;
  cursor: pointer;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
@media screen and (min-width: 1200px) {
  .maplibregl-ctrl-bottom-left .mylogo, .mapboxgl-ctrl-bottom-left .mylogo {
    width: 130px;
  }
}
/* hover-popup */
.hover-popup .lcam-img {
  max-width: 100%;
  width: 150px;
  aspect-ratio: 1;
  padding-bottom: 15px;
}
.hover-popup h2 {
  padding-top: 0px;
  width: 100%;
  margin: 0;
  font-size: 2em;
  font-weight: 400;
  text-align: center;
  letter-spacing: 0.05em;
  color: #fff;
}
.hover-popup .mapboxgl-popup-content, .hover-popuup .maplibregl-popup-content {
  background: #B1C8CB;
  border-radius: 4px;
  border: 8px solid white;
  box-shadow: 1px 3px 14px rgba(0,0,0,.4);
  color: white;
  padding: 15px;
  font-family: Lato, sans-serif;
  font-size: 13px;
}
