.tooltip-inner .tooltip-arrow {
  background-color: #212529;
  color: white; /* Text color (adjust if needed) */
}

.form-check {
  min-height: 1rem;
}

.map-overlay {
    font: 11px/18px 'Helvetica Neue', Arial, Helvetica, sans-serif;
    position: absolute;
    width: 250px;
    top: 0;
    left: 0;
    padding: 10px;
}

.map-overlay .map-overlay-inner {
    background-color: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    padding: 10px;
    margin-bottom: 10px;
}

.map-overlay-inner fieldset {
  border: none;
  padding: 0;
  margin: 0 0 10px;
}

.map-overlay-inner fieldset:last-child {
margin: 0;
}

.map-overlay-inner select {
width: 100%;
}

.map-overlay-inner label {
display: block;
margin: 0 0 0px;
}

.map-overlay-inner button {
display: inline-block;
width: 36px;
height: 20px;
border: none;
cursor: pointer;
}

.map-overlay-inner button:focus {
outline: none;
}

.map-overlay-inner button:hover {
box-shadow: inset 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.map-overlay {
    width: 350px;
}

.hr-text {
    position: relative;
    text-align: center;
}

.hr-text:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    border-top: 1px solid black;
}

.hr-text span {
    padding: 0 10px;
    position: relative;
    z-index: 1;
    font-weight: bold;
}

  div.hr-text.hr-sub-text span {
    font-weight: normal;
  }

.form-select {
    font: 12px/20px 'Helvetica Neue', Arial, Helvetica, sans-serif;
}

@media (max-width: 767px) {
  .chart-size {
    height: 500px;
  }
  .hr-text span {
    background: #f8f9fa;
  }
  .map-overlay-legend {
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translate(-50%, -20%);
      max-width: 75%;
      background-color: rgba(255, 255, 255, 1); /* Use rgba value with alpha value for transparency */
      padding: 5px;
      box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
      border-radius: 3px;
      width: 75%;
    }
    .legend-text {
      display: none;
    }
    .legend-bars {
      display: inline-block;
      height: 10px;
      opacity: 0.5;
    }
    .legend-bar-wrapper {
      margin-top: 0 !important;
    }
    .legend-text-col:not(:first-child):not(:last-child) {
      display: none;
    }
    #legend-text-2-schools, #legend-text-3-schools {
      display: none;
    }
    .selected-column {
      box-sizing: border-box;
      border: 2px solid #000;
      opacity: 1;
    }
}
@media (min-width: 768px) {
  .hr-text span {
    background: #ffffff;
  }
  .chart-size {
    height: 500px;
  }
  .map-overlay-legend {
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translate(-50%, -20%);
      max-width: 50%;
      background-color: rgba(255, 255, 255, 0.8); /* Use rgba value with alpha value for transparency */
      padding: 5px;
      box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
      border-radius: 3px;
      width: 50%;
    }
    .legend-bars {
      display: inline-block;
      height: 25px;
      opacity: 0.5;
    }
    .selected-column {
      box-sizing: border-box;
      border: 5px solid #000;
      opacity: 1;
    }
    .legend-bar-wrapper {
      margin-top: 1rem !important;
    }
}

a:link {
    text-decoration: none;
}

a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

a:active {
    text-decoration: none;
}

a { color: inherit; } 