/*    body {
        color: black;
        background: white;
      }
      header, footer, nav, aside {
        display: none;
      }
      .important-content {
        font-size: larger;
      }

    a[href]:after {
      content: " (" attr(href) ")";
      font-size: 0.8em;
    }
    img {
      max-width: 100% !important;
      page-break-inside: avoid;
    }
    .page-break {
      page-break-before: always;
    } */
figure.grid-item img,
div.item-media-show img,
div.grid-item img {
  max-width: 100% !important;
  page-break-inside: avoid;
  max-height: initial;
  object-fit: none;
  filter: initial;
}

div.subheader1 {

  gap: initial;
  /* flex-direction: column; */
  max-width: 16cm;
  gap: 1em;
}

div#header_template1 .site-logo {
  min-width: initial;
}


div.item-title-show {
  bottom: 0;
}

div.header-item {
  height: initial;
}

div.item-title-show {
  width: 100%;
  font-size: 15pt;
}

div.language_control,
div.subheader2,
div.itemBrowse1_introduction,
div.browse-controls.templateAdvancedSearch,
div.secondary-pagination,
footer,
span.media_count,
div.icons-group,
div.slider_controls,
/* div.header-item, */
div.social-area,
div.related-items,
div#modal,
div.swiper-slide-visible,
.linked-footer {
  display: none;
}

div.swiper-wrapper.zoom-gallery {
  display: contents;
}

div.grid-container {
  column-count: initial;
  display: initial;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 1em;

}


.container.grid-container {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  margin-top: 10px;
}

span.figcaption_item-grid {
  text-align: center;
  margin-bottom: 15px;
}

#content div.property h4 {
  font-size: 12pt;
  margin: 2px 0 0;
}

div.flex-properties {
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 1em;
  flex-direction: column-reverse;
}

div.item-metadata {
  width: 100%;
  overflow-y: initial;
  max-height: initial;
  padding-top: 0;

}

div.wrapper {

  margin-top: initial;

}

.swiper.mySwiper2.swiper-initialized.swiper-horizontal.swiper-backface-hidden {
  display: flex;
}

figure.grid-item {

  width: 30%;
}

.swiper.mySwiper.related.swiper-initialized.swiper-horizontal.swiper-free-mode.swiper-watch-progress.swiper-thumbs {
  display: none;
}

div.swiper-slide {
  width: 100% !important;
}

.swiper.mySwiper2 {
  display: flex;
  flex-wrap: wrap;
}

div.item-media-show {

  width: 10em;
}

div.item-title-show h5 {
  padding: 0;
  margin-top: 0;
  font-size: 16pt;
}

a.site-logo img {
  min-width: initial;
}

figure.grid-item {
  width: 30%;
}

span.media_count.media-included-search,
.grid-container .date_itemset_list {
  display: none;
}

figure.grid-item {
  width: initial;
}

figure.grid-item a {

  display: block;
}

figure.grid-item a img,
div figure.grid-item img,
div div.item-media-show img,
div div.grid-item img {
  width: 499px;
  height: auto;
  max-width: initial !important;
  min-height: 100%;
  max-height: 100%;
}