header.site_header:has(iframe) {
  z-index: 1000;
}

#gallery {
  color: var(--wp--preset--color--theme-darkgray);
}
#gallery a {
  text-decoration: none;
}
#gallery.page .gallery_index {
  margin-top: 7rem;
}
@media screen and (max-width: 781px) {
  #gallery.page .gallery_index {
    margin-top: 3rem;
    max-width: var(--wp--style--global--content-size);
  }
}
#gallery.page .gallery_index ul {
  gap: 2.5rem;
  align-items: stretch !important;
}
#gallery.page .gallery_index ul li {
  transition: 0.3s;
}
#gallery.page .gallery_index ul li div {
  height: 100%;
}
#gallery.page .gallery_index ul li:has(img:hover), #gallery.page .gallery_index ul li:has(h2:hover) {
  scale: 1.05;
}
#gallery.page .gallery_index ul li figure,
#gallery.page .gallery_index ul li h2 {
  margin-bottom: 0.5rem;
  width: -moz-fit-content;
  width: fit-content;
}
#gallery.page .gallery_index ul li figure a,
#gallery.page .gallery_index ul li h2 a {
  color: var(--wp--preset--color--theme-darkgray);
  font-size: var(--wp--preset--font-size--x-large);
}
#gallery.page .gallery_index ul li p {
  font-size: var(--wp--preset--font-size--medium);
}
#gallery.page .gallery_pager {
  margin-top: 5rem;
}
#gallery.page .gallery_pager .wp-block-query-pagination-numbers {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
}
#gallery.page .gallery_pager .wp-block-query-pagination-numbers .page-numbers {
  line-height: 4rem;
  text-align: center;
  display: block;
  width: 4rem;
  height: 4rem;
  background: var(--wp--preset--color--theme-white);
  font-size: 1.375rem;
  color: var(--wp--preset--color--theme-deepnavy);
  border-radius: 10px;
  box-shadow: var(--wp--preset--shadow--theme-dropshadow);
}
#gallery.page .gallery_pager .wp-block-query-pagination-numbers .page-numbers.current {
  background: var(--wp--preset--color--theme-deepnavy);
  color: var(--wp--preset--color--theme-white);
}
#gallery.page .gallery_pager .wp-block-query-pagination-next,
#gallery.page .gallery_pager .wp-block-query-pagination-previous {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  position: relative;
}
#gallery.page .gallery_pager .wp-block-query-pagination-next .wp-block-query-pagination-next-arrow,
#gallery.page .gallery_pager .wp-block-query-pagination-next .wp-block-query-pagination-previous-arrow,
#gallery.page .gallery_pager .wp-block-query-pagination-previous .wp-block-query-pagination-next-arrow,
#gallery.page .gallery_pager .wp-block-query-pagination-previous .wp-block-query-pagination-previous-arrow {
  visibility: hidden;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
}
#gallery.page .gallery_pager .wp-block-query-pagination-next .wp-block-query-pagination-next-arrow::before,
#gallery.page .gallery_pager .wp-block-query-pagination-next .wp-block-query-pagination-previous-arrow::before,
#gallery.page .gallery_pager .wp-block-query-pagination-previous .wp-block-query-pagination-next-arrow::before,
#gallery.page .gallery_pager .wp-block-query-pagination-previous .wp-block-query-pagination-previous-arrow::before {
  display: block;
  visibility: visible;
  position: absolute;
  width: 100%;
  font-size: 1.5rem;
  line-height: 4rem;
  text-align: center;
  background: var(--wp--preset--color--theme-deepnavy);
  color: var(--wp--preset--color--theme-white);
  border-radius: 50%;
  top: 0;
  left: 0;
}
#gallery.page .gallery_pager .wp-block-query-pagination-next .wp-block-query-pagination-next-arrow::before,
#gallery.page .gallery_pager .wp-block-query-pagination-previous .wp-block-query-pagination-next-arrow::before {
  content: ">";
}
#gallery.page .gallery_pager .wp-block-query-pagination-next .wp-block-query-pagination-previous-arrow::before,
#gallery.page .gallery_pager .wp-block-query-pagination-previous .wp-block-query-pagination-previous-arrow::before {
  content: "<";
}
#gallery.page .wp-block-buttons.page_navi {
  margin-top: 7.5rem !important;
  padding-top: 0 !important;
}
#gallery .mfp-bg {
  z-index: 4000;
}
#gallery .mfp-wrap {
  z-index: 5000;
}
#gallery .mfp-content {
  z-index: 5000;
  border-radius: 50px;
  overflow: hidden;
  position: relative;
}
#gallery .mfp-content .mfp-iframe-scaler button.mfp-close {
  position: absolute;
  top: 30px;
  right: 30px;
  color: transparent;
  font-size: 0;
  width: 2rem;
  height: 2rem;
  padding-right: 0;
}
@media screen and (max-width: 781px) {
  #gallery .mfp-content .mfp-iframe-scaler button.mfp-close {
    top: 20px;
    right: 20px;
  }
}
#gallery .mfp-content .mfp-iframe-scaler button.mfp-close::after, #gallery .mfp-content .mfp-iframe-scaler button.mfp-close::before {
  content: "";
  opacity: 1;
  visibility: visible;
  display: block;
  width: 2rem;
  height: 2px;
  background-color: var(--wp--preset--color--theme-deepnavy);
  position: absolute;
  top: 50%;
  right: 50%;
}
#gallery .mfp-content .mfp-iframe-scaler button.mfp-close::after {
  transform: translate(50%, 50%) rotate(45deg);
}
#gallery .mfp-content .mfp-iframe-scaler button.mfp-close::before {
  transform: translate(50%, 50%) rotate(-45deg);
}
@media screen and (max-width: 781px) {
  #gallery .mfp-content .mfp-iframe-scaler {
    padding-top: 0 !important;
    height: 70vh;
  }
}
#gallery.single {
  justify-content: center;
  align-items: center;
  background: var(--wp--preset--color--theme-white);
}
#gallery.single::before {
  content: none;
}
#gallery.single .gallery_wrapper {
  width: 100%;
  display: flex;
  gap: 1.5rem;
  height: 100%;
}
@media screen and (max-width: 781px) {
  #gallery.single .gallery_wrapper {
    display: block;
    margin-top: 4rem;
    margin-bottom: 5rem;
  }
}
#gallery.single .gallery_wrapper.alignfull {
  margin-left: auto;
  margin-right: auto;
}
#gallery.single .gallery_wrapper .post_thumb {
  max-height: 420px;
}
#gallery.single .gallery_wrapper .post_thumb img {
  display: block;
  height: 100%;
  width: auto;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
@media screen and (max-width: 781px) {
  #gallery.single .gallery_wrapper .post_thumb {
    max-height: none;
    width: 100%;
  }
  #gallery.single .gallery_wrapper .post_thumb img {
    display: inline;
  }
}
#gallery.single .gallery_wrapper .post_content {
  flex: 1 0 300px;
}
#gallery.single .gallery_wrapper .post_content .gallery_info {
  display: block;
}
#gallery.single .gallery_wrapper .post_content .gallery_info h3 {
  display: inline-block;
  text-align: left;
  font-size: var(--wp--preset--font-size--large) !important;
  padding-left: 2%;
  padding-right: 2%;
  font-weight: 400;
}
#gallery.single .gallery_wrapper .post_content .gallery_info h2,
#gallery.single .gallery_wrapper .post_content .gallery_info p {
  margin-bottom: 1rem;
}
@media screen and (max-width: 781px) {
  #gallery.single .gallery_wrapper .post_content .gallery_info h2,
  #gallery.single .gallery_wrapper .post_content .gallery_info p {
    margin-bottom: 0.75rem;
  }
}
#gallery.single .gallery_wrapper .post_content .gallery_info h2 {
  font-size: var(--wp--preset--font-size--xx-large) !important;
}
#gallery.single .gallery_wrapper .post_content .gallery_info p {
  font-size: var(--wp--preset--font-size--large) !important;
}
#gallery.single .gallery_wrapper .post_content .gallery_info .gallery_description p {
  margin-top: 0;
  display: block;
  overflow: auto;
  height: 10rem;
}
@media screen and (max-width: 781px) {
  #gallery.single .gallery_wrapper .post_content .gallery_info .gallery_description p {
    height: auto;
  }
}
#gallery.single .gallery_wrapper .post_content .gallery_info .gallery_description:has(p:empty) {
  display: none;
}/*# sourceMappingURL=gallery.css.map */