/*
 * Gallery page: store buttons and the photo galleries. The tiles and the lightbox come from
 * assets/vendor/unitegallery/css/unite-gallery.css; here only the site's own changes.
 */

.gallery-buttons {
  margin-bottom: 1rem;
}

/* the browser's default buttons, in the site font (as on the live site) */
.gallery-buttons button {
  margin: 0 0.5rem 0 0;
  font-family: Roboto, Helvetica, Arial, sans-serif;
  font-size: var(--size-base);
  font-weight: var(--weight-regular);
  line-height: var(--leading-base);
  vertical-align: middle;
  cursor: pointer;
}

.gallery-buttons,
.gallery-store {
  color: var(--color-text);
}

.gallery-store {
  display: none;
}

/* the gallery (up to 1000px) is centred; its texts (lightbox numbers and captions) in the site font */
.unite-gallery {
  margin: 0 auto;
}

.ug-gallery-wrapper,
.ug-gallery-wrapper div {
  font-family: var(--font-base) !important;
}

.gallery-store.is-active {
  display: block;
}

/* lightbox above everything, with a larger centred caption */
.ug-gallery-wrapper.ug-lightbox {
  z-index: 999999999 !important;
}

.ug-lightbox .ug-textpanel-title {
  font-size: 18px !important;
  text-align: center !important;
}
