.search-results.statistic {
  margin-top: 0;
  position: absolute;
  width: 100%;
  z-index: 10;
}

#regionallevels {
  position: relative;
}

.flex-1 {
  flex: 1;
}

.map.statistic {
  height: 400px;
}

.map.statistic .btn-mapLegend,
.map.statistic .btn-datasource {
  position: absolute;
  z-index: 99;
  /* top: 0.5rem; */
  right: 0.5rem;
  background-color: var(--color-primary);
  color: white;
  margin: 1px;
  padding: 0;
  font-size: inherit;
  height: 1.375em;
  width: 1.375em;
  line-height: 0.4em;
  border: none;
  border-radius: 2px;
}

.map.statistic .btn-mapLegend {
  top: 0.5rem;
}

.map.statistic .btn-datasource {
  top: 2.5rem;
}

.map.statistic .container-mapLegend,
.map.statistic .container-mapDatasources {
  visibility: hidden;
  font-size: 14px;
  position: absolute;
  z-index: 100;
  top: 0.5em;
  right: 0.5em;
  background-color: white;
  border-radius: var(--border-radius);
  padding: 1rem;
  overflow: auto;
  max-height: 95%;
  max-width: 95%;
}

.map.statistic .container-mapLegend .btn-container-mapLegend-close,
.map.statistic .container-mapDatasources .btn-container-mapLegend-close {
  right: 0.5em;
  top: 0.5em;
  position: absolute;
  font-size: 0.8em;
}
.map.statistic .container-mapLegend .container-mapLegend-legend-box {
  width: 100%;
  height: 15px;
}

.map.statistic .container-mapLegend .container-mapLegend-legend{
  padding-right: 1rem;
  .legend-items{
    margin-top: 1rem;
    padding: 0 0 0 0;
  }
}

#statistic-bar-chart-wrapper {
  width: 100%;
}

.bi-map {
  color: white;
}

#statistic-popup,
#statistic-popup-click {
  font-size: 0.8rem;
  padding: 0.5rem;
  min-width: 200px;
}

#statistic-popup-click span,
#statistic-popup-click a {
  display: block;
}

#statistic-popup-click .wrapper-layer {
  max-height: 250px;
  overflow: auto;
}

#statistic-sub-tables h5 {
  font-size: 0.9rem;
}

.pointer {
  cursor: pointer;
}

.btn-max-topic {
  border-radius: 0;
}

#container-mapLegend-legend h5 {
  font-size: 1rem;
}
