/*
Make the header logo a bit larger than the Material default.
This only affects the top-left brand area (not the logo embedded in pages).
*/

p {
  text-align: justify;
  text-justify: auto;
}

.centered-logo {
  text-align: center;
}

.md-header__button.md-logo img {
  height: 2.0rem;
  width: auto;
}

.cg-figure {
  position: relative;
  max-width: 820px;
  margin: 1rem 0;
}

.cg-svg {
  width: 100%;
  height: auto;
  display: block;
}

.cg-svg .region {
  opacity: 0.30;
  cursor: pointer;
  transition: opacity 120ms ease, filter 120ms ease;
}

.cg-svg .region:hover {
  opacity: 0.55;
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.18));
}

.cg-svg .outline {
  fill: none;
  opacity: 0.7;
  stroke-width: 2.2;
}

.cg-svg .vertex {
  opacity: 0.9;
}

.cg-svg .label {
  font-size: 14px;
  opacity: 0.9;
}

.cg-svg .caption {
  font-size: 13px;
  opacity: 0.7;
}

/* Tooltip */
.cg-tooltip {
  position: absolute;
  display: none;
  max-width: min(420px, 92vw);
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.25;
  background: rgba(0,0,0,0.55);
  color: #fff;
  backdrop-filter: blur(8px);
  pointer-events: none;
  z-index: 10;
  border: 1px solid rgba(255,255,255,0.12);
}

.cg-caption{
  margin-top: .25rem;
  font-size: 13px;
  opacity: .75;
  text-align: center;
}