 @font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 300;
    src: url("/typo3conf/ext/mypackage/Resources/Public/Fonts/opensans/OpenSans_Condensed-Light.ttf") format('truetype');
}
 @font-face {
    font-family: 'Open Sans semibold';
    font-style: normal;
    font-weight: 300;
    src: url("/typo3conf/ext/mypackage/Resources/Public/Fonts/opensans/OpenSans_Condensed-SemiBold.ttf") format('truetype');
}
@font-face {
    font-family: 'Open Sans light';
    font-style: normal;
    font-weight: 300;
    src: url("/typo3conf/ext/mypackage/Resources/Public/Fonts/opensans/OpenSans_Condensed-Light.ttf") format('truetype');
}


  body {
    font-family: "Open Sans", sans-serif !important;
    margin: 0;
/*AS    padding-bottom: 1000px;*/
  }

  h2 {
    margin: 20px;
/*	font-size:40px;*/
	font-weight: 500;
	font-family: "Open Sans semibold";
  }
.popup-content {
	display:flex;
}	
.popup-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    filter: invert(1) brightness(0);
    left: 0;
}
  #leaflet-map {
    height: 500px;
    width: 100%;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    padding-bottom: 10px;
  }
.leaflet-popup-content-wrapper {
    border-radius: 0px;
}
.leaflet-popup-content {
/*	font-size:20px;*/
	font-weight: 500;
	font-family: "Open Sans semibold";
}
  .legend-container {
    position: absolute;
    bottom: 100px;
    left: 10px;
    z-index: 1000;
    background: rgba(255,255,255,0.9);
    padding: 10px;
    border-radius: 6px;
    font-size: 14px;
    z-index: 1000;
  }

  .legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
  }

  .color-box {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    border-radius: 3px;
  }

  #loading {
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
    background: rgba(255,255,255,0.9);
    padding: 10px 20px;
    border-radius: 5px;
    display: none;
  }

 

  .leaflet-control-search {
    display: none !important;
    position: relative !important;
    top: 10px;
    left: 1px;
    z-index: 1000;
    background: white;
    padding: 4px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }

  .leaflet-control-search .search-button {
    background: url('/typo3conf/ext/mypackage/Resources/Public/Icons/search-icon.png') no-repeat center center;
    background-size: 16px 16px;
  }

  .leaflet-control-layers {
    font-family: 'Segoe UI', sans-serif;
    font-size: 14px;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    padding: 8px;
  }

  .leaflet-control-layers label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
  }

  .leaflet-control-layers input[type="checkbox"] {
    accent-color: #0078d4;
  }

  .popup-wrapper {
    font-family: sans-serif;
    width: 220px;
  }

  .popup-header {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 6px;
    color: #fff;
    background-color: #444;
    padding: 4px 8px;
    border-radius: 4px;
  }

  .popup-box {
    height: 40px;
    border-radius: 4px;
    margin-bottom: 8px;
  }
  #map-sections {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .big-btn {
    width: 100%;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    background-color: #3e93d3;
    color: #fff;
    border: none;
    border-radius: 1px;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.3s;
  }

  .big-btn:hover {
    background-color: #1d5bb8;
  }
  /* Category-specific colors */
  .trinkwasserbrunnen-box { background-color: #2196F3; }
  .wasserbecken-box { background-color: #00BCD4; }
  .parks-und-grünflächen-box { background-color: #4CAF50; }
  .wald-box { background-color: #135616; }

  .popup-details div {
    margin-bottom: 4px;
    font-size: 14px;
  }

  .popup-content {
    font-family: sans-serif;
    width: 200px;
  }
  .popup-title {
    font-weight: bold;
    margin-bottom: 8px;
  }
  .popup-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
  }
  .nav-left, .nav-right {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
  }
  .nav-dots {
    font-size: 14px;
    color: #888;
  }

  #layer-carousel {
    position: absolute;
    top: 2px;
    right: 0%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    background: white;
    padding: 10px 16px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    z-index: 1000;
    font-family: sans-serif;
  }

  #carousel-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 120px;
    text-align: center;
  }

  #carousel-content img {
    width: 32px;
    height: 32px;
    margin-bottom: 6px;
  }

  #carousel-content label {
    font-size: 14px;
    margin-bottom: 6px;
  }

  #carousel-content button {
    padding: 4px 8px;
    font-size: 12px;
    cursor: pointer;
  }

  #carousel-left, #carousel-right {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    margin: 0 10px;
  }
  .layer-toggle label {
    cursor: pointer;
  }

#page-footer{
	display:none;
}
  footer {
    margin-top: 40px;
    padding: 20px;
	
    text-align: right;
    font-size: 0.9em;
    color: gray;
    border-top: 1px solid #ddd;
  }

  footer a {
    color: gray;
    text-decoration: none;
    margin: 0 10px;
    font-weight: bold;
  }

  footer a:hover {
    text-decoration: underline;
    color: #1d5bb8;
  }
 .cc-compliance>.cc-btn {
    flex: auto;
}
.checker img,.legend-icon img{
	width:26px;
}