.chart-row {
  display: flex;
  gap: 1rem;
}
.chart-full {
  width: 100%;
  min-width: 0;
  min-height: 300px;
}
.chart-half {
  width: 50%;
  min-width: 0;
  min-height: 300px;
}

.card-title {
  font-size: 1rem;
  border-left: 0.25rem solid var(--maincolor);
  padding-left: 0.5rem;
  font-weight: 600;
  color: var(--maincolor);
}
.card-text {
  font-size: 12px;
}
.info-icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  cursor: help;
}

/* ---- on the nav ----- */
.nav-figures {
  position: absolute;
  right: 1ch;
  /* background: #fff; */
  padding: 2px 5px 2px 10px;
}

/* ----- chart area ---- */
.normalize-dropdown {
  position: absolute;
  top: 4px;
  right: 4px;
  font-family: "Google Sans Code";
  font-size: 10px;
  z-index: 10;
  border: none;
  border-bottom: 1px solid black;
}
.chart-title-wrapper {
  position: relative;
}
.chart-title-overlay {
  position: absolute;
  top: 0;
  left: 0;
  color: #999;
  font-family: "Noto Sans";
  font-weight: 700;
}

/* ----- chart text highlights */
.national-trends {
  font-weight: 600;
  word-wrap: break-word;
  color: #000;
  font-size: 12px;
  font-family: var(--mono-font);
}
.global-trends {
  font-weight: 600;
  word-wrap: break-word;
  color: #000;
  font-size: 14px;
  font-family: var(--mono-font);
}
.rank-row {
  margin-bottom: 4px;
  color: #808080;
}
.rank-label {
  font-weight: 600;
  margin-right: 4px;
}
.rank-num {
  color: #808080aa;
  font-size: 10px;
}
.rank-sep {
  color: #808080aa;
}
.chart-source {
  font-weight: 400;
  margin-block-end: 0;
}

/* ---- souce description --- */
.truncate-text {
  cursor: pointer;
}
.truncate-text:hover {
  background: #08264011;
}

/* ---- tooltip ----- */
#main-tooltip {
  position: absolute;
  display: none;
  background: white;
  border-radius: 1px;
  box-shadow: -1px 1px 5px #939393;
  padding: 1px 5px;
  max-width: 40vw;
  z-index: 99999;
  font-size: 0.85rem;
  pointer-events: none;
  hr {
    margin: 0;
  }
}
.map-tooltip {
  font-family: var(--mono-font);
  max-width: 200px;
  padding: 0;
}
