/* FCA revenue map — Landkreis choropleth */

#fcaRevenueMap.leaflet_style {
  height: 78vh;
  max-height: 900px;
  min-height: 460px;
  background: #ffffff;
  margin-bottom: 0.5rem;
}

#fcaRevenueMap .leaflet-interactive:focus {
  outline: none;
}

/* Hover tooltip */
.fca-tooltip {
  font-family: "Montserrat", Arial, "Segoe UI", Roboto, sans-serif;
  font-size: 13px;
  padding: 4px 8px;
  border-radius: 6px;
}
.fca-tooltip .fca-tt-value {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* Click popup */
.fca-popup {
  font-family: "Montserrat", Arial, "Segoe UI", Roboto, sans-serif;
  min-width: 250px;
}
.fca-popup .fca-popup-sub {
  color: #646567;
  font-size: 12px;
  margin: 2px 0 8px;
}
.fca-popup table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
  margin: 0;
}
.fca-popup td {
  padding: 2px 0;
  border: none;
  background: none;
}
.fca-popup td.fca-num {
  text-align: right;
  padding-left: 12px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.fca-popup tr.fca-sep td {
  border-top: 1px solid rgba(107, 114, 128, 0.3);
  padding-top: 5px;
}
.fca-popup tr.fca-strong td {
  font-weight: 600;
}

/* Colour bar below the map */
.fca-colorbar {
  max-width: 640px;
  margin: 0 auto 1.25rem;
  padding: 0 16px;
  font-family: "Montserrat", Arial, "Segoe UI", Roboto, sans-serif;
}
.fca-colorbar-track {
  position: relative;
  height: 16px;
  border: 1px solid #000;
}
.fca-colorbar-ticks {
  position: relative;
  height: 26px;
  font-size: 13px;
}
.fca-colorbar-tick {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.fca-colorbar-tick::before {
  content: "";
  display: block;
  width: 2px;
  height: 6px;
  margin: 0 auto 2px;
  background: #000;
}
.fca-colorbar-label {
  text-align: center;
  font-size: 14px;
  margin-top: 4px;
}
.fca-colorbar-period {
  text-align: center;
  font-size: 12px;
  color: #646567;
  margin-top: 2px;
}
/* marker showing the hovered Kreis on the bar */
.fca-colorbar-marker {
  position: absolute;
  top: -9px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid #000;
  transform: translateX(-50%);
  pointer-events: none;
}
