/*
Theme Name: UCF Athena Child (RICHES)
Theme URL: https://riches.cah.ucf.edu/
Description: A UCF Athena child theme for the RICHES project
Author: Kirk Lundblade
Author URL: http://kirklundblade.com
Template: ucf
Version: 1.0.0
Text Domain: ucf-child-riches
*/
#banner-holder img {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.site-header:has(.riches-sticky-nav) {
  position: sticky;
  top: 0;
  z-index: 1020;
  align-self: flex-start;
  width: 100%;
}

.riches-sticky-nav {
  width: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.riches-sticky-nav .riches-navbar-brand {
  display: flex;
  align-items: center;
  line-height: 1;
  text-shadow: none;
}
.riches-sticky-nav .riches-navbar-brand img {
  display: block;
  height: auto;
  width: auto;
  max-height: 2.5rem;
  max-width: min(12rem, 70vw);
}
@media (min-width: 768px) {
  .riches-sticky-nav .riches-navbar-brand img {
    max-height: 3rem;
    max-width: min(18rem, 45vw);
  }
}
.riches-sticky-nav .navbar-nav .nav-link {
  font-weight: 600;
  letter-spacing: 0.02em;
}
.riches-sticky-nav .navbar-nav .nav-item.active > .nav-link,
.riches-sticky-nav .navbar-nav .nav-link:hover,
.riches-sticky-nav .navbar-nav .nav-link:focus {
  opacity: 0.85;
}

.media-background-container a {
  color: #000000;
  border-color: #000000;
}
.media-background-container a:hover {
  color: #ffffff;
  border-color: #000000;
  text-decoration: none;
}

aside .fas {
  font-size: 6rem !important;
}
aside h2 {
  margin-bottom: 2rem;
}

article.post-list-item {
  overflow-x: hidden;
}

.riches-collections {
  --riches-queue-media-max-h: 15rem;
  background-color: #eceeef;
  padding-top: 3rem;
  padding-bottom: 3rem;
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  height: auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: visible;
}
.riches-collections .container {
  height: auto;
  min-height: 0;
  margin-bottom: 0 !important;
  display: block;
}
.riches-collections h2 {
  margin-bottom: 2rem;
}
.riches-collections .card-deck {
  height: auto;
  min-height: 0;
  margin-bottom: 0 !important;
  align-items: stretch;
}
.riches-collections .card {
  background-color: #ffffff;
  border: none;
  min-height: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.riches-collections .card > img {
  width: 100%;
  flex: 0 0 auto;
  min-height: 0;
  height: auto;
  aspect-ratio: 16/9;
  max-height: var(--riches-queue-media-max-h);
  object-fit: cover;
  object-position: center;
}
.riches-collections .card .card-block {
  flex: 0 1 auto;
  min-height: 0;
  min-width: 0;
}
.riches-collections .card .card-text {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.riches-collections .card .yt-card-link {
  flex: 0 0 auto;
  min-height: 0;
  width: 100%;
  aspect-ratio: 16/9;
  max-height: var(--riches-queue-media-max-h);
  position: relative;
  display: block;
  overflow: hidden;
}
.riches-collections .card .yt-card-link img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  flex: unset;
  min-height: unset;
}
.riches-collections .card .yt-card-link .yt-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem 0.75rem;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
}
.riches-collections .card .yt-card-link .yt-overlay p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
}

.riches-queue-archive__heading-text {
  min-width: 0;
}
.riches-queue-archive--full-inline {
  font-weight: 600;
  flex-shrink: 0;
  text-decoration: none;
}
.riches-queue-archive--full-inline:hover, .riches-queue-archive--full-inline:focus {
  text-decoration: underline;
}
.riches-queue-archive--full-block a {
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
}
.riches-queue-archive--full-block a:hover, .riches-queue-archive--full-block a:focus {
  text-decoration: underline;
}
.riches-queue-archive--reduced {
  font-size: 0.8125rem;
  line-height: 1.35;
  text-align: end;
  margin-top: 0.35rem;
}
.riches-queue-archive--reduced a {
  color: #6c757d;
  font-weight: 400;
  text-decoration: none;
}
.riches-queue-archive--reduced a:hover, .riches-queue-archive--reduced a:focus {
  color: #212529;
  text-decoration: underline;
}

.riches-queue-tabs__toolbar {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.riches-queue-tabs__nav {
  flex-wrap: nowrap;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  min-height: 2.75rem;
}
.riches-queue-tabs__nav .nav-item {
  flex: 0 0 auto;
}
.riches-queue-tabs__nav .nav-link {
  white-space: nowrap;
  font-weight: 600;
  padding: 0.5rem 0.85rem;
}
.riches-queue-tabs__collections {
  margin-top: 0;
}
.riches-queue-tabs__collections.riches-collections {
  height: auto;
  max-height: none;
  overflow: visible;
}
.riches-queue-tabs__collections.riches-collections > .container {
  display: block;
  height: auto;
  min-height: 0;
  flex: unset;
}
.riches-queue-tabs__collections.riches-collections .tab-content {
  display: block;
  padding-bottom: 1rem;
}
.riches-queue-tabs__collections.riches-collections .tab-content .tab-pane {
  padding-top: 1rem;
  outline: none;
}
.riches-queue-tabs__collections.riches-collections .card-deck {
  height: auto !important;
  min-height: 0;
}
.riches-queue-tabs__collections.riches-collections .card {
  min-height: 0;
}
.riches-queue-tabs__empty {
  margin-bottom: 0;
}

.riches-map {
  --riches-map-height: 420px;
  --riches-pin-stroke: #fff;
  position: relative;
  margin: 2rem 0;
  max-width: 100%;
}
.riches-map__canvas {
  height: var(--riches-map-height);
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  background: #e9ecef;
  z-index: 0;
}
.riches-map__panel {
  position: absolute;
  right: 0.75rem;
  top: 0.75rem;
  z-index: 1000;
  max-width: min(22rem, 100% - 1.5rem);
  max-height: calc(var(--riches-map-height) - 1.5rem);
  overflow: auto;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
  padding: 1rem 2.25rem 1rem 1rem;
}
.riches-map__panel[hidden] {
  display: none !important;
}
.riches-map__panel-close {
  position: absolute;
  top: 0.35rem;
  right: 0.5rem;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: #6c757d;
  padding: 0.15rem 0.35rem;
}
.riches-map__panel-close:hover, .riches-map__panel-close:focus {
  color: #212529;
}
.riches-map__panel-title {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}
.riches-map__panel-detail {
  font-size: 0.9rem;
  line-height: 1.45;
}
.riches-map__panel-detail p:last-child {
  margin-bottom: 0;
}
.riches-map__panel-link {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
}
.riches-map__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  font-size: 0.875rem;
}
.riches-map__legend-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.riches-map__legend-swatch {
  display: inline-block;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: var(--pin-fill, #6c757d);
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}
.riches-map__legend-desc {
  font-size: 0.8rem;
}
.riches-map__notice {
  margin: 1rem 0;
}
.riches-map--full-width {
  width: 100vw;
  max-width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 0;
  overflow-x: hidden;
}
.riches-map--full-width .riches-map__canvas {
  border-radius: 0;
}
.riches-map--full-width .riches-map__legend {
  padding-left: 1rem;
  padding-right: 1rem;
}

.riches-map-pin-wrap {
  background: transparent !important;
  border: none !important;
}

.riches-map-pin {
  --pin-fill: #6c757d;
  display: block;
  width: 28px;
  height: 40px;
  position: relative;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.35));
}
.riches-map-pin__shape {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--pin-fill);
  border: 2px solid var(--riches-pin-stroke, #fff);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-sizing: border-box;
  position: absolute;
  left: 0;
  top: 0;
}

.leaflet-tooltip.riches-map-tooltip {
  border: 0;
  border-left: 3px solid var(--pin-fill, #6c757d);
  border-radius: 3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  font-size: 0.8125rem;
  line-height: 1.35;
  max-width: 14rem;
  padding: 0.35rem 0.5rem;
}

.leaflet-container {
  font-family: inherit;
}

.riches-footer {
  background-color: #3e3e3e;
  color: #ffffff;
  text-align: center;
  font-size: 2.5rem;
}
.riches-footer .riches-title {
  font-size: 1.85rem;
}
.riches-footer .riches-subtitle,
.riches-footer .address {
  font-size: 0.7rem;
}
.riches-footer ul {
  list-style-type: none;
  padding: 0 0 0 0;
}
.riches-footer ul li {
  display: inline-block;
}
.riches-footer .fab:hover {
  opacity: 0.5;
}
