/* Layout rules for the exported pages and their local controls. */
img {
  max-width: 100%;
  height: auto;
}

.site-image {
  display: flow-root;
}

.site-multicol-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

.site-multicol-col {
  vertical-align: top;
}

.imageGallery {
  display: flow-root;
}

.site-header-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

body:not(.splash-page) .unite-header .nav-wrap {
  opacity: 1;
}

.unite-header .container {
  overflow: visible;
}

.nav ul {
  list-style: none;
}

.nav li {
  position: relative;
}

.nav .hamburger,
.unite-header .hamburger,
.submenu-toggle,
.image-viewer button {
  color: inherit;
  font: inherit;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.desktop-nav .site-menu-wrap {
  display: none;
  position: absolute;
  z-index: 1;
  top: 100%;
  left: 0;
  width: max-content;
  max-width: 21rem;
  min-width: 12rem;
  background: #fff;
  box-shadow: 0 0 0 1px #e1e4e6, 0 6px 16px #0002;
  text-align: left;
}

.desktop-nav .has-submenu:hover > .site-menu-wrap,
.desktop-nav .has-submenu:focus-within > .site-menu-wrap {
  display: block;
}

.desktop-nav .site-menu li {
  display: block;
  margin: 0;
}

.desktop-nav .site-menu a {
  padding: 12px 16px;
  font-size: 12px;
  line-height: 1.3;
}

.desktop-nav a.site-menu-subitem[aria-current="page"] {
  background: #f2f2f2;
}

.nav a:focus-visible,
.hamburger:focus-visible,
.submenu-toggle:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -2px;
}

.image-viewer {
  box-sizing: border-box;
  max-width: calc(100% - 24px);
  max-height: calc(100% - 24px);
  padding: 8px;
  border: 0;
  background: #151515;
  color: #fff;
  text-align: center;
}

.image-viewer::backdrop {
  background: #000b;
}

.image-viewer-controls {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.image-viewer button {
  padding: 10px;
}

.image-viewer img {
  display: block;
  margin: 0 auto 4px;
  width: auto;
  height: auto;
  max-width: calc(100vw - 40px);
  max-height: calc(100vh - 96px);
  object-fit: contain;
}

@media (min-width: 1025px) {
  .unite-header .logo {
    width: 25%;
  }

  .desktop-nav {
    width: 75%;
  }
}

@media (max-width: 1024px) {
  body.nav-open {
    overflow: hidden;
  }

  .mobile-nav .submenu-toggle {
    position: absolute;
    top: 0;
    right: 8px;
    min-width: 44px;
    min-height: 36px;
  }

  .submenu-toggle::before {
    content: '›';
    display: inline-block;
    font-size: 24px;
    transform: rotate(90deg);
  }

  .submenu-toggle[aria-expanded="true"]::before {
    transform: rotate(-90deg);
  }

  .mobile-nav li.has-submenu > a.site-menu-item {
    margin-inline: 52px;
  }

  .mobile-nav .site-menu-wrap[inert] {
    visibility: hidden;
  }

  body:not(.navigation-ready) .mobile-nav {
    position: static;
    max-height: none;
    height: auto;
  }

  body:not(.navigation-ready) .mobile-nav .site-menu-wrap {
    max-height: none;
  }

  body:not(.navigation-ready) .hamburger,
  body:not(.navigation-ready) .submenu-toggle {
    display: none;
  }
}

.galleryImageHolder a[data-image-viewer] {
  position: absolute;
  inset: 0;
  display: block;
}

.galleryImageHolder a[data-image-viewer]:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -4px;
}

.image-viewer img {
  touch-action: pan-y pinch-zoom;
}
