:root {
  --bs-body-color: #373d3f;
  --theme-pink: #af5070;
}

/* DEFAULT STYLES */

a,
a:hover {
  color: var(--theme-pink);
}

a[href*="pdf" i]:not(.btn):not(:has(img))::after {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-left: 0.3em;
  margin-top: -0.4em;
  vertical-align: middle;
  background: url("/site/templates/assets/icons/pdf.svg") no-repeat center
    center;
  background-size: contain;
}

.disabled-link {
  cursor: not-allowed !important;
}

/* Remove icon for links inside #recent and #featured */
#recent a[href*="pdf" i]::after,
#featured a[href*="pdf" i]::after,
.swiper a[href*="pdf" i]::after {
  content: none;
}

.post-body a:not(.btn),
.post-body a:not(.btn):hover {
  color: #4172b3;
  font-weight: 800;
}

.post-body a::before {
  transform: none !important;
}

.page-block a {
  color: #4172b3 !important;
}

a.link-u-plain,
a.link-u-plain:hover {
  color: var(--bs-body-color);
  text-decoration: underline;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--bs-body-color);
}

.post-body h2,
.post-body h3,
.post-body h4,
.post-body h5,
.post-body h6 {
  text-transform: uppercase;
  color: var(--theme-pink);
  font-weight: 800;
}

.text-body,
.text-dark {
  color: var(--bs-body-color) !important;
}

.post-meta {
  color: #606671;
}

.text-pink {
  color: var(--theme-pink) !important;
}

.post-body p:last-child {
  margin-bottom: 0;
}

.bg-pink {
  background-color: var(--theme-pink) !important;
}

blockquote {
  border-color: var(--theme-pink);
}

.underline-2.pink::after {
  background: var(--theme-pink);
}

.navbar-brand img {
  max-height: 50px;
}

@media (max-width: 991.98px) {
  .navbar-expand-lg .navbar-brand {
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
  }
}

.navbar-stick:not(.navbar-dark),
.navbar.navbar-bg-light {
  box-shadow: 0 0 1.25rem rgba(30, 34, 40, 0.05);
  background: rgba(255, 255, 255, 1);
}

.navbar-stick:not(.navbar-dark) {
  box-shadow: 0 0 1.25rem rgba(30, 34, 40, 0.1);
}

.dropdown-header.text-pink a {
  color: #af5070 !important;
}

footer {
  border-top: 1px solid rgba(100, 100, 100, 0.04);
}

.icon-list.bullet-bg i {
  display: inline-table;
}

/* HOME PAGE */
.home-video-banner {
  height: calc(100vh - 98px);
}

@media (width <=991px) {
  .home-video-banner {
    height: calc(100vh - 88px);
  }
}

.video-wrapper.bg-overlay::after {
  background-color: transparent;
  background-image: -webkit-gradient(
    linear,
    right top,
    left top,
    from(rgba(255, 255, 255, 0)),
    to(rgba(0, 0, 0, 0.9))
  );
  background-image: -o-linear-gradient(
    right,
    rgba(255, 255, 255, 0),
    rgba(0, 0, 0, 0.9)
  );
  background-image: linear-gradient(
    to left,
    rgba(255, 255, 255, 0),
    rgba(0, 0, 0, 0.9)
  );
}

@media (width <=400px) {
  .video-wrapper.bg-overlay::after {
    background-color: transparent;
    background-image: -webkit-gradient(
      linear,
      right top,
      left top,
      from(rgba(255, 255, 255, 0)),
      to(rgba(0, 0, 0, 0.9))
    );
    background-image: -o-linear-gradient(
      right,
      rgba(255, 255, 255, 0),
      rgba(0, 0, 0, 0.9)
    );
    background-image: linear-gradient(
      to left,
      rgba(255, 255, 255, 0),
      rgba(0, 0, 0, 0.9)
    );
  }
}

.swiper-slide.bg-overlay-grad1:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.7) 100%
  );
}

.swiper-slide.bg-overlay-grad2:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    -90deg,
    rgba(52, 63, 82, 0) 0%,
    rgba(0, 0, 0, 0.7) 100%
  );
}

@media only screen and (max-width: 991px) {
  .swiper-slide.bg-overlay-grad2:before {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.5) 0%,
      rgba(0, 0, 0, 0.5) 100%
    );
  }
}

.swiper-hero,
.swiper-hero .swiper-slide.bg-overlay-grad2 {
  height: 550px !important;
}

.text-gold {
  color: #af9f50 !important;
}

.text-gold .lineal-fill {
  fill: #cebe83 !important;
}

.alt-primary,
.lineal-stroke {
  fill: #343f52 !important;
}

.bg-gold {
  background-color: #af9f50 !important;
}

.bg-soft-gold {
  background-color: #af9f50 !important;
}

.bg-pale-gold {
  background-color: #d6d5d0 !important;
}

.bg-teal {
  background-color: #508faf;
}

.btn-group-xs > .btn,
.btn-xs {
  padding: 0.7rem 0.8rem;
  font-size: 0.6rem !important;
  line-height: 0.5;
  border-radius: 0.2rem;
}

.offcanvas-header img {
  max-width: 140px;
}

.offcanvas {
  background-color: white !important;
}

@media (max-width: 991.98px) {
  .navbar-expand-lg .navbar-collapse .nav-link,
  .navbar-expand-lg .navbar-collapse .nav-link.active,
  .navbar-expand-lg .navbar-collapse .nav-link:focus,
  .navbar-expand-lg .navbar-collapse .nav-link:hover,
  .navbar-expand-lg .navbar-collapse .show > .nav-link {
    color: var(--bs-body-color) !important;
  }

  .navbar-expand-lg .navbar-collapse .dropdown-menu .dropdown-item {
    color: var(--bs-body-color) !important;
    padding-left: 1rem !important;
  }
}

@media (max-width: 991.98px) {
  /*.navbar-expand-lg .navbar-collapse .nav-link, .navbar-expand-lg .navbar-collapse .nav-link.active, .navbar-expand-lg .navbar-collapse .nav-link:focus, .navbar-expand-lg .navbar-collapse .nav-link:hover, .navbar-expand-lg .navbar-collapse .show>.nav-link {
        color: #000 !important;
    }*/

  .navbar-expand-lg .navbar-collapse .dropdown-menu .dropdown-item {
    padding-left: 1.5rem;
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
  }

  .navbar .dropdown-menu {
    box-shadow: none;
    padding-top: 0 !important;
    padding-bottom: 1rem !important;
  }
}

.search-btn,
.search-btn:active,
.search-btn:hover,
.search-btn:active,
.search-btn:focus-visible {
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.45) !important;
  width: 200px;
  color: rgba(0, 0, 0, 0.3) !important;
  text-align: left;
  justify-content: space-between;
  font-style: italic;
  padding: 0.275rem 0.8rem !important;
}

.search-btn:hover {
  transform: none !important;
}

.navbar.navbar-light.fixed .search-btn {
  background: none !important;
  border-color: transparent !important;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.45) !important;
}

#offcanvas-search .search-form::before {
  color: var(--theme-pink);
}

.recent-tabs a.nav-link {
  padding-top: 0 !important;
  padding-bottom: 0.3rem !important;
}

.recent-tabs a.nav-link:focus,
.recent-tabs a.nav-link:active,
.recent-tabs a.nav-link.active {
  border-color: var(--theme-pink) !important;
}

.recent-tabs a.nav-link:hover {
  color: inherit !important;
}

@media (width < 767px) {
  .recent-tabs.nav-tabs-basic {
    flex-direction: row;
  }

  .recent-tabs a.nav-link {
    margin-right: 1rem !important;
  }

  .recent-tabs li:last-child a.nav-link {
    margin-right: 0 !important;
  }
}

/* BREADCRUMBS */
.breadcrumb-dropdown {
  z-index: 999999 !important;
}

.breadcrumb-dropdown .dropdown-toggle::after {
  content: "";
}

.breadcrumb-dropdown .dropdown-toggle::before {
  font-family: Unicons;
  display: inline-block;
  margin-right: 0.05rem;
  vertical-align: -3px;
  font-weight: 700 !important;
  border: 0;
  content: "\e949";
}

.dropdown-quick-nav-header {
  padding: var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);
  font-size: 12px;
  text-transform: uppercase;
}

.bc-btn-title {
  max-width: 50vw;
}

/* BUTTONS */
.btn-pink {
  background-color: #af5070;
  border-color: #af5070;
}

.btn-pink:hover,
.btn-pink:active,
.btn-pink:disabled {
  background-color: #bd6582;
  border-color: #bd6582;
}

/* FOOTER */
footer .logo-img {
  height: 80px;
  /* Set a fixed height */
  width: auto;
  /* Maintain aspect ratio */
}

.footer-supporters {
  text-align: left;
}

.footer-supporters__title {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  color: #24313a;
}

.footer-supporters__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.75rem;
}

.footer-supporters__link {
  display: inline-flex;
  align-items: center;
}

.footer-supporters__logo {
  display: block;
  height: 58px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

@media (max-width: 991.98px) {
  .footer-supporters {
    text-align: center;
  }

  .footer-supporters__logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem 1.75rem;
  }
}

.footer-copyright {
  font-size: 0.8125rem; /* 13px */
}

/* DEFAULT PAGE LAYOUT */
@media (width < 576px) {
  .default-page-layout .card-layout {
    border: 0;
    border-radius: 0;
  }

  .default-page-layout .card-layout figure.card-img-top img {
    border-radius: 0;
  }
}

.default-page-layout {
  z-index: auto !important;
}

.page-header.image-wrapper.bg-overlay::before {
  z-index: 0 !important;
}

.vw-50 {
  max-width: 50vw;
}

.fix-truncate {
  min-width: 0;
  /* or some value */
}

.pheader-container {
  z-index: auto !important;
}

.image-wrapper {
  z-index: auto;
  position: relative;
}

.avatar-border {
  border: 1px solid #d6d5d0;
}

.img-border {
  border: 1px solid #e9e9e9;
}

.card-img-top {
  border-bottom: 1px solid #e9e9e9;
}

.card-img-bottom {
  border-top: 1px solid #e9e9e9;
}

/* Articles and Pages */
.post-body figure:not(.align_left) {
  text-align: center;
  margin: 1.5rem 0;
}

.post-body figure figcaption {
  margin-top: 15px;
  font-weight: bold;
}

.post-body figure + p sup {
  text-align: center;
  margin: 0 auto;
  width: 100%;
  display: block;
  margin-top: 15px;
  line-height: inherit;
}

.post-body figure img {
  width: unset !important;
}

.post-body p img.align_center {
  text-align: center;
  margin: 0 auto;
  display: block;
}

.post-body p.align_center {
  text-align: center;
}

.post-body .table-responsive {
  margin-bottom: 1.5rem;
}

.post-header-meta {
  gap: 20px;
  border-bottom: 1px solid #eee;
  position: relative;
  z-index: auto;
}

.post-header-meta .svg-icon {
  width: 14px;
}

@media (width <=600px) {
  .post-header-meta .m-label {
    display: none;
  }
}

/* ORAL HISTORY */
#oralItems .accordion-item .card-body {
  padding: 0 1.25rem 0.25rem 2.35rem !important;
}

audio {
  max-height: 100%;
  max-width: 100%;
  margin: auto;
  object-fit: contain;
}

/* LISTED BUILDINGS */
.listed-buildings {
  border-radius: 3px;
  border-spacing: 0;
  border-collapse: separate;
  border-radius: 10px;
}

.listings-svg-icon {
  width: 10px;
}

/* CARDS */
.card-listing {
  border: 0;
}

@media (max-width: 767px) {
  .classic-view article .card-listing .card-body,
  .grid-view article .card-listing .card-body {
    padding: var(--bs-card-spacer-y) var(--bs-card-spacer-x);
  }
}

/* SEARCH */
.offcanvas:not(.offcanvas-nav) {
  overflow-y: visible;
}

.autoComplete_wrapper {
  display: inline-block;
  position: relative;
  width: 100%;
}

.autoComplete_wrapper > ul {
  position: absolute;
  max-height: 500px;
  overflow-y: scroll;
  width: 100%;
  box-sizing: border-box;
  left: 0;
  right: 0;
  top: 4.5rem;
  margin: 0.5rem 0 0 0;
  padding: 0;
  z-index: 1;
  list-style: none;
  border-radius: 0.6rem;
  background-color: #fff;
  border: 1px solid rgba(33, 33, 33, 0.07);
  box-shadow: 0 3px 6px rgba(149, 157, 165, 0.15);
  outline: none;
  transition: opacity 0.15s ease-in-out;
  -moz-transition: opacity 0.15s ease-in-out;
  -webkit-transition: opacity 0.15s ease-in-out;
}

@media (width <=600px) {
  .autoComplete_wrapper > ul {
    top: 3.5rem;
  }
}

.autoComplete_wrapper > ul[hidden],
.autoComplete_wrapper > ul:empty {
  display: block;
  opacity: 0;
  transform: scale(0);
}

.autoComplete_wrapper > ul > li {
  margin: 0.3rem;
  padding: 0.3rem 0.5rem;
  text-align: left;
  font-size: 1rem;
  color: #212121;
  border-radius: 0.35rem;
  background-color: rgba(255, 255, 255, 1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: all 0.2s ease;
  cursor: pointer;
}

.autoComplete_wrapper > ul > li mark {
  background-color: transparent;
  color: rgba(255, 122, 122, 1);
  font-weight: bold;
}

.autoComplete_wrapper > ul > p {
  margin: 0.3rem;
  border-bottom: 1px solid rgba(110, 110, 110, 0.082);
  padding: 0.3rem 0.5rem;
  text-align: left;
  font-size: 16px;
  color: #212121;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: all 0.2s ease;
}

.autoComplete_wrapper > ul > li[aria-selected="true"] {
  background-color: rgba(255, 122, 122, 0.15);
}

.autoComplete_wrapper > ul > li.sr-info {
  border-bottom: 1px solid #e9e9e9;
  font-size: 18px;
}

@media only screen and (max-width: 600px) {
  .autoComplete_wrapper > input {
    /*width: 18rem;*/
  }
}

/* INTERACTIVE MAP */
.awesome-number-marker i {
  font-style: normal !important;
}

.file-icon {
  max-width: 16px;
}

/* TERMS AND CONDITIONS */
.terms h4 {
  text-transform: uppercase;
  font-size: 0.9rem;
}

/* FORMS */

.form-control,
.form-select {
  border: 1px solid rgba(41, 41, 41, 0.15);
}

.form-control:active,
.form-control:focus,
.form-select:active,
.form-select:focus {
  border: 1px solid var(--theme-pink);
}

.form-check-input,
.form-check-input:focus {
  border: 1px solid rgba(41, 41, 41, 0.15);
}

.form-check-input:checked {
  background-color: var(--bs-blue);
  border-color: var(--bs-blue);
}

/* ERROR 404 */
.suggested-pages li a {
  color: var(--bs-body-color);
  font-weight: 900;
}

/* BLOCKS */
/*#ps-blocks section:last-child hr {
    display: none;
}*/

.table-of-contents {
  border: 1px solid #eee;
}

.table-of-contents ul li a {
  color: var(--bs-body-color);
}

@keyframes bp-fadein {
  from {
    opacity: 0.01;
  }

  to {
    opacity: 1;
  }
}

@keyframes bp-bar {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(0);
  }
}

@keyframes bp-o {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.bp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 9999;
  /* If you're mounting on a portion of the screen and need visible
    overflow on .bp-wrap, change contain to "layout" on that instance */
  contain: strict;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
}

.row .bp-wrap {
  margin-top: 0 !important;
}

.bp-wrap > div:first-child {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  animation: bp-fadein 0.48s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.bp-vid audio {
  position: absolute;
  left: 14px;
  width: calc(100% - 28px);
  bottom: 14px;
  height: 50px;
}

.bp-inner {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  display: flex;
}

.bp-html {
  display: contents;
}

.bp-html > :first-child {
  margin: auto;
}

.bp-img-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  contain: strict;
}

.bp-img-wrap .bp-canzoom {
  cursor: zoom-in;
}

.bp-img-wrap .bp-drag {
  cursor: grabbing;
}

.bp-close {
  contain: layout size;
}

.bp-img {
  position: absolute;
  top: 50%;
  left: 50%;
  user-select: none;
  background-size: 100% 100%;
}

.bp-img img,
.bp-img div {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.bp-img .bp-o {
  display: none;
}

.bp-zoomed .bp-img:not(.bp-drag) {
  cursor: grab;
}

.bp-zoomed .bp-cap {
  opacity: 0;
  animation: none !important;
}

.bp-zoomed.bp-small .bp-controls {
  opacity: 0;
}

.bp-zoomed.bp-small .bp-controls button {
  pointer-events: none;
}

.bp-controls {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  text-align: left;
  transition: opacity 0.3s;
  animation: bp-fadein 0.3s;
}

.bp-controls button {
  pointer-events: auto;
  cursor: pointer;
  position: absolute;
  border: 0;
  background: rgba(0, 0, 0, 0.15);
  opacity: 0.9;
  transition: all 0.1s;
  contain: content;
}

.bp-controls button:hover {
  background-color: rgba(0, 0, 0, 0.2);
  opacity: 1;
}

.bp-controls svg {
  fill: #fff;
}

.bp-count {
  position: absolute;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1;
  margin: 16px;
  height: 50px;
  width: 100px;
}

.bp-prev,
.bp-next {
  top: 50%;
  right: 0;
  margin-top: -32px;
  height: 64px;
  width: 58px;
  border-radius: 3px 0 0 3px;
}

.bp-prev:hover:before,
.bp-next:hover:before {
  transform: translateX(-2px);
}

.bp-prev:before,
.bp-next:before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z'/%3E%3C/svg%3E");
  position: absolute;
  left: 7px;
  top: 9px;
  width: 46px;
  transition: all 0.2s;
}

.bp-prev {
  right: auto;
  left: 0;
  transform: scalex(-1);
}

.bp-x {
  top: 0;
  right: 0;
  height: 55px;
  width: 58px;
  border-radius: 0 0 0 3px;
}

.bp-x:before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='%23fff'%3E%3Cpath d='M24 10l-2-2-6 6-6-6-2 2 6 6-6 6 2 2 6-6 6 6 2-2-6-6z'/%3E%3C/svg%3E");
  position: absolute;
  width: 37px;
  top: 8px;
  right: 10px;
}

.bp-if,
.bp-vid {
  position: relative;
  margin: auto;
  background: #000;
  background-size: 100% 100%;
}

.bp-if iframe,
.bp-if video,
.bp-if div,
.bp-vid iframe,
.bp-vid video,
.bp-vid div {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  border: 0;
}

.bp-load {
  display: flex;
  background-size: 100% 100%;
  overflow: hidden;
  z-index: 1;
}

.bp-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  transform: translateX(-100%);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 0 3px 3px 0;
  animation: bp-bar 4s both;
}

.bp-o,
.bp-o:after {
  border-radius: 50%;
  width: 90px;
  height: 90px;
}

.bp-o {
  margin: auto;
  border: 10px solid rgba(255, 255, 255, 0.2);
  border-left-color: rgba(255, 255, 255, 0.9);
  animation: bp-o 1s infinite linear;
}

.bp-cap {
  position: absolute;
  bottom: 2%;
  background: rgba(9, 9, 9, 0.8);
  color: rgba(255, 255, 255, 0.9);
  border-radius: 4px;
  max-width: 95%;
  line-height: 1.3;
  padding: 0.6em 1.2em;
  left: 50%;
  transform: translateX(-50%);
  width: fit-content;
  width: -moz-fit-content;
  display: table;
  transition: opacity 0.3s;
  animation: bp-fadein 0.2s;
  font-size: 16px;
}

.bp-cap a {
  color: inherit;
}

.bp-inline {
  position: absolute;
}

.bp-lock {
  overflow-y: hidden;
}

.bp-lock body {
  overflow: scroll;
}

.bp-noclose .bp-x {
  display: none;
}

.bp-noclose:not(.bp-zoomed) {
  touch-action: pan-y;
}

.bp-noclose:not(.bp-zoomed) .bp-img-wrap {
  cursor: zoom-in;
}

@media (prefers-reduced-motion) {
  .bp-wrap * {
    animation-duration: 0s !important;
  }
}

@media (max-width: 500px) {
  .bp-x {
    height: 47px;
    width: 47px;
  }

  .bp-x:before {
    width: 34px;
    top: 6px;
    right: 6px;
  }

  .bp-prev,
  .bp-next {
    margin-top: -27px;
    height: 54px;
    width: 45px;
  }

  .bp-prev:before,
  .bp-next:before {
    top: 7px;
    left: 2px;
    width: 43px;
  }

  .bp-o,
  .bp-o:after {
    border-width: 6px;
    width: 60px;
    height: 60px;
  }

  .bp-count {
    margin: 12px 10px;
  }

  .bp-cap {
    font-size: 14px !important;
  }
}

/* IMAGE MAPS */
.image-mapper-shape {
  fill: rgba(0, 0, 0, 0.5);
  stroke: rgba(255, 255, 255, 0.2);
  stroke-width: 2px;
}

g:hover .image-mapper-shape {
  stroke-width: 2px;
  fill: rgba(0, 0, 0, 0.8);
}

svg text#map-info-sign {
  font-family: sans-serif;
  font-size: 24px;
  fill: rgba(255, 255, 255, 0.6);
  font-family: Unicons !important;
}

.image-map-meta a {
  color: var(--theme-pink) !important;
}
