/* css styles */

.about-image {
  width: 20em !important;
}

.quarto-about-trestles {
  max-width: 1100px;
  padding-left: 2em;
  padding-right: 2em;
}

.quarto-about-trestles .about-entity {
  align-items: flex-start !important;
  text-align: left !important;
}

.quarto-about-trestles .about-entity .about-links {
  justify-content: flex-start !important;
}

.tooltip-word {
  border-bottom: 1px dotted #666;
  cursor: help;
  position: relative;
}

.tooltip-bubble {
  display: none;
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: #fff;
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
  font-size: 0.82rem;
  white-space: nowrap;
  z-index: 10;
  pointer-events: none;
}

.tooltip-bubble::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #333;
}

.tooltip-word:hover .tooltip-bubble {
  display: block;
}

#selected-work a {
  color: inherit;
  text-decoration: none;
}

#selected-work a:hover {
  text-decoration: underline;
}

.edu-timeline {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 520px;
}

.edu-box {
  border: 1px solid #d0d7de;
  border-radius: 8px;
  padding: 0.85rem 1.1rem;
  background: #f8f9fa;
  width: 100%;
  margin-bottom: 0 !important;
}

.edu-box p:last-child {
  margin-bottom: 0 !important;
}

.edu-arrow {
  font-size: 1.4rem;
  color: #888;
  padding: 0 0 0 1.2rem;
  line-height: 1;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  display: block;
}

.edu-box a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: #aaa;
  text-underline-offset: 2px;
}

.edu-box a:hover {
  text-decoration-color: currentColor;
}
