.legendItemContainer {
  display: flex;
}

.legendSection {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.legendSectionLabel {
  font-size: var(--label-font-size-small);
  margin-right: 1rem;
  color: var(--label-color);
}

.legendItem {
  font-family: EverettL;
  font-size: var(--label-font-size-small);
}

.graphElemBody {
  position: relative;
}

.overlay-graph {
  /* padding: var(--box-padding); */
  position: absolute;
  top: 0;
  right: 0;
  width: 350px;
  height: fit-content;
  max-height: 100%;
  border-radius: var(--border-radius);
  background-color: var(--background-color1-semitr95);
  overflow-y: auto;
}

.overlay-graph > div:not(:empty) {
  padding: var(--box-padding);
}

.selectedDataTitle {
  font-family: EverettL;
  font-size: var(--label-font-size-small);
  color: var(--text-color);
  margin-bottom: 1rem;
  border-top: 1px solid var(--faded-border-color);
  padding-top: 1rem;
}

.selectedDataContainer {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
.selectedDataLabel {
  font-family: EverettL;
  font-size: var(--label-font-size-small);
  color: var(--label-color);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  padding-right: 0.5rem;
}

.selectedDataValue {
  font-family: EverettL;
  font-size: var(--label-font-size-small);
  color: var(--text-color);
  margin-bottom: 1rem;
}

div.graphElem div.graphElemHeader {
  display: flex;
  flex-direction: row;
  align-items: center;
}
div.graphElemHeader > div {
  margin-top: 0rem !important;
}
