/* Interactive Map */

#interactive-map .pop-up img {
  float: left;
}

#interactive-map p3 {
  font-size: 8pt;
  font-style: italic;
  margin-bottom: 12pt;
  color: #505050;
}

#interactive-map #mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 999;
  align-items: center;
  justify-content: center;
}

#interactive-map #mobile-overlay.open {
  display: flex;
}

#interactive-map #mobile-popup-card {
  background: #fff;
  border-radius: 8px;
  width: min(320px, 92vw);
  padding: 28px 20px 20px;
  position: relative;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22);
}

#interactive-map #mobile-popup-card .pop-up {
  margin: 0;
  width: 100%;
}

#interactive-map #mobile-popup-card .pop-up td {
  padding: 8px 10px;
}

#interactive-map #mobile-close {
  position: absolute;
  top: 8px;
  right: 10px;
  background: none;
  border: none;
  font-size: 20px;
  line-height: 1;
  color: #0C2B82;
  cursor: pointer;
  z-index: 10;
}

#interactive-map .description {
  max-width: 600px;
  margin: 0 auto;
  color: rgba(255, 0, 76, 0.7);
}

#interactive-map div,
#interactive-map img,
#interactive-map footer {
  position: relative;
  box-sizing: border-box;
}


#interactive-map li.active a,
#interactive-map a:hover,
#interactive-map a:active {
  color: #e5e5e5;
}

#interactive-map .centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#interactive-map .centered-y {
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
}

#interactive-map .distribution-map {
  xr position: relative;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
  margin: 0 auto;
}

#interactive-map .distribution-map>img {
  width: 100%;
  max-width: 100%;
  height: auto;
  position: relative;
  margin: 0;
  padding: 0;
}

#interactive-map .distribution-map .map-point {
  cursor: pointer;
  outline: none;
  z-index: 0;
  position: absolute;
  width: 2px;
  height: 15px;
  border-radius: 40px;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
  opacity: 0.8;
  transform: translate(-50%, -50%);
  -moz-transition: opacity 0.25s ease-in-out 0.25s, width 0.25s ease-in-out 0.25s, height 0.25s ease-in-out 0.25s, z-index 0.25s ease-in-out 0.25s;
  -o-transition: opacity 0.25s ease-in-out 0.25s, width 0.25s ease-in-out 0.25s, height 0.25s ease-in-out 0.25s, z-index 0.25s ease-in-out 0.25s;
  -webkit-transition: opacity 0.25s ease-in-out, width 0.25s ease-in-out, height 0.25s ease-in-out, z-index 0.25s ease-in-out;
  -webkit-transition-delay: 0.25s, 0.25s, 0.25s, 0.25s;
  transition: opacity 0.25s ease-in-out 0.25s, width 0.25s ease-in-out 0.25s, height 0.25s ease-in-out 0.25s, z-index 0.25s ease-in-out 0.25s;
  background: #ffffff;
  opacity: 100%;
  border: 2px solid #0091DA;
}

/* Small screen adjustments */
@media (max-width: 600px) {
  #interactive-map .distribution-map {
    padding: 10px;
  }

  #interactive-map .distribution-map .map-point {
    width: 10px;
    height: 15px;
  }
}

#interactive-map .distribution-map .map-point .content {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  opacity: 0;
  transition: opacity 0.25s ease-in-out;
  width: 100%;
  height: 100%;
  left: 50%;
  transform: translateX(-50%);
  overflow: overlay;
}

#interactive-map .distribution-map .map-point:active,
#interactive-map .distribution-map .map-point:focus {
  margin: 0;
  padding: 0;
  filter: progid:DXImageTransform.Microsoft.Alpha(enabled=false);
  opacity: 1;
  width: 300px;
  height: 150px;
  color: #1500ff;
  background: rgb(255, 255, 255);
  z-index: 1;
  transition: opacity 0.25s ease-in-out, width 0.25s ease-in-out, height 0.25s ease-in-out;
}

#interactive-map .distribution-map .map-point:active .content,
#interactive-map .distribution-map .map-point:focus .content {
  filter: progid:DXImageTransform.Microsoft.Alpha(enabled=false);
  opacity: 1;
  -moz-transition: opacity 0.25s ease-in-out 0.25s, height 0.25s ease-in-out, overflow 0.25s ease-in-out;
  -o-transition: opacity 0.25s ease-in-out 0.25s, height 0.25s ease-in-out, overflow 0.25s ease-in-out;
  -webkit-transition: opacity 0.25s ease-in-out, height 0.25s ease-in-out, overflow 0.25s ease-in-out;
  -webkit-transition-delay: 0.25s, 0s, 0s;
  transition: opacity 0.25s ease-in-out 0.25s, height 0.25s ease-in-out, overflow 0.25s ease-in-out;
  overflow: hidden;
  overscroll-behavior: none;

}

#interactive-map .distribution-map .map-point:active .content a:hover,
#interactive-map .distribution-map .map-point:active .content a:active,
#interactive-map .distribution-map .map-point:focus .content a:hover,
#interactive-map .distribution-map .map-point:focus .content a:active {
  color: #afe1fa;
}

#interactive-map table {
  margin: auto;
  display: flex;
  flex-direction: column;
}

#interactive-map .pop-up {
  display: table;
  border: none;
  border-collapse: collapse;
  margin: 15px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  color: #0C2B82;
  overscroll-behavior: none;

}

#interactive-map .pop-up tr:first-child {
  border-bottom: 2px solid #0C2B82;
  font-weight: bold;
  font-size: 120%;
}

#interactive-map .pop-up td {
  padding: 5px 10px;
  text-align: left;
}

#interactive-map .pop-up td:last-child {
  border-right: none;
}

@media (max-width: 600px) {

  #interactive-map .generated-table,
  #interactive-map .pop-up {
    width: 100% !important;
    display: block;
  }

  #interactive-map .main-supply,
  #interactive-map .water-risk {
    display: block;
    width: 100%;
  }

  #interactive-map .water-risk {
    margin-top: 16px;
  }

  #interactive-map .main-supply tr,
  #interactive-map .water-risk tr {
    display: flex;
    flex-direction: row;
    width: 100%;
  }

  #interactive-map .main-supply td,
  #interactive-map .water-risk td {
    flex: 1 1 0;
    min-width: 0;
    box-sizing: border-box;
  }
}

#interactive-map .map-point--tall:active,
#interactive-map .map-point--tall:focus {
  height: 185px;
}

/* Mobile: JS overlay handles popups — keep buttons as dots, suppress CSS expand */
@media (max-width: 600px) {

  #interactive-map .distribution-map .map-point:active,
  #interactive-map .distribution-map .map-point:focus {
    width: 10px;
    height: 15px;
    background: #fff;
  }

  #interactive-map .distribution-map .map-point:active .content,
  #interactive-map .distribution-map .map-point:focus .content {
    opacity: 0;
    display: none;
  }
}


#interactive-map .map-footnote {
    font-size: 8pt;
    font-style: italic;
    margin-bottom: 12pt;
    color: #505050;
}

.generated-table {
  border-collapse: collapse;
  text-align: left;
  width: fit-content;
  color: #000000;
  overflow-x: auto;
  display: block;
  margin: 0 auto;
}
.padding {
  padding-top: 25px;
  padding-bottom: 25px;
}
.generated-table tr:first-child td {
  border-bottom: 2px solid #0c2b82;
  font-weight: bold;
  padding-bottom: 15px;
  color: #0c2b82;
}
.generated-table td {
  padding: 0px;
  font-size: 12px;
}
@media screen and (max-width: 600px) {
  .generated-table {
    font-size: 14px;
  }
}





#footnote-bottom {
	padding: 16px 86px !important;
	background: #e6e7ea !important; 
}

#footnote-bottom  .twoColumnBannerText-content {
	display: block;
}


#footnote-bottom  .twoColumnBannerText-content .twoColumnBannerText-content--text,
#footnote-bottom  .twoColumnBannerText-content .twoColumnBannerText-content--text p {
	color: #000;
	font-size: 12px;
}