.mapWrapper{ position: relative;}
.up-map {
    width:99%;
    height: auto;
    position: relative; filter: drop-shadow(-4px 15px 0px rgba(0, 0, 0, 0.11)); 
}
/* District */

.map_path {
    fill:rgb(210, 113, 56);
    stroke:rgba(255, 255, 255, 0);
    stroke-width:1px;
    cursor: pointer;
    transition: all .25s ease;
}
.map_path:hover {
    fill: #344475;
}
/* Bubble pointer */
 
/* Pulse animation */
 
/* Tooltip */

#rural_district_tooltip {
    position: absolute;
    background: #222;
    color: #fff;
    padding: 6px 10px;
    font-size: 12px;
    border-radius: 4px;
    pointer-events: none;
    display: none;
    white-space: nowrap;
}
.map-bubble {
fill: #10b981;
    stroke: #fff;
    stroke-width:2;
    pointer-events: none;

    transform-box: fill-box;
    transform-origin: center;
    animation: bubblePulse 1.5s ease-in-out infinite;
}
@keyframes bubblePulse {
    0% {
        transform: scale(1);
        opacity: 1;
        filter: drop-shadow(0 0 0px rgba(31, 221, 241, 0.6));
    }

    50% {
        transform: scale(1.25);
        opacity: 0.7;
        filter: drop-shadow(0 0 10px rgba(31, 221, 241, 1))
                drop-shadow(0 0 20px rgba(31, 221, 241, 0.8));
    }

    100% {
        transform: scale(1);
        opacity: 1;
        filter: drop-shadow(0 0 0px rgba(31, 221, 241, 0.6));
    }
}
.map-bubble-img {
    pointer-events: none;
   animation: floatGlow 2s ease-in-out infinite;
   filter: drop-shadow(0 0 6px rgba(255,255,255,.6));
}
@keyframes floatGlow{
    0%,100%{
        transform: translateY(0) scale(1);
        filter: drop-shadow(0 0 4px rgba(255,255,255,.5));
    }
    50%{
        transform: translateY(-8px) scale(1.02);
        filter: drop-shadow(0 0 12px rgba(255,255,255,1));
    }
}
.mapTooltip {
    position: fixed;   /* ?? IMPORTANT */
    background: #222;
    color: #fff;
    padding: 6px 10px;
    font-size: 12px;
    border-radius: 4px;
    pointer-events: none;
    display: none;
    white-space: nowrap;
    z-index: 999999;
}
#closePanel {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}
.district-popup {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 260px;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 0px 35px rgba(140, 107, 97, 0.5);
    z-index: 999;
    display: none;
    border: 1px solid rgba(255, 255, 255, 0.83);
}
.district-popup h3{font-weight: 800; font-size: 1.6em; color: #1052b9;}
/* optional animation */

.district-popup.active {
    display: block;
}
/* Arrow */

.district-popup::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 10px;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
}
.district-popup #closePopup {
  position: absolute;
  right: -7px;
  top: -7px;
  border: 0px;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  color: #fff;
  border: 1px solid #fff;
  background-color: #f27326;
}