.single-tribe_events #tribe-events-content > .mostra-exhibition-gallery,
.single-tribe_events .apb_row.apb_gallery.gallery__slider.mostra-exhibition-gallery,
.single-tribe_events #tribe-events-content > .apb_row.apb_gallery.gallery__slider.mostra-exhibition-gallery {
  background: #fff;
  clear: both;
  color: #000;
  display: block;
  float: none;
  left: 50%;
  margin-left: -50vw;
  margin-right: 0;
  margin-top: 4rem;
  max-width: none;
  overflow: hidden;
  padding: 3.5rem 0 5.25rem;
  position: relative;
  width: 100%;
}

.single-tribe_events .eventi-correlati,
.single-attivita_educative .eventi-correlati,
.page-template-page-nav-sections .eventi-correlati {
  margin-bottom: 0;
}

.page-template-page-home .home-mostre-arrivo__item {
  float: left;
}

.page-template-page-home .home-mostre-arrivo__grid > .home-mostre-arrivo__item.column:last-child:not(:first-child) {
  float: left;
}

.apb_row.colonne .medium-12.text > #tribe-events-content.evento {
  float: none;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  width: 100%;
}

.apb_row.colonne.cs__grigio_nero.boxed > .row {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.apb_row.colonne .corpo-testo {
  margin: 0;
}

.single-tribe_events #tribe-events-content > .mostra-exhibition-gallery,
.single-tribe_events #tribe-events-content > .apb_row.apb_gallery.gallery__slider.mostra-exhibition-gallery {
  left: auto;
  margin-left: calc((min(73rem, 100vw) - 100vw) / 2 - .9375rem);
}

.single-tribe_events #tribe-events-content > .mostra-exhibition-gallery::before,
.single-tribe_events .apb_row.apb_gallery.gallery__slider.mostra-exhibition-gallery::before,
.single-tribe_events #tribe-events-content > .apb_row.apb_gallery.gallery__slider.mostra-exhibition-gallery::before {
  background: #fff;
  content: "";
  display: block;
  inset: 0 50% 0 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.single-tribe_events .mostra-exhibition-gallery .apb-content {
  margin: 0;
  padding: 0;
}

.single-tribe_events .mostra-exhibition-gallery .apb_row.apb_gallery.gallery__slider {
  background: transparent;
  left: auto;
  margin: 0;
  max-width: none;
  overflow: visible;
  padding: 0;
  position: static;
  width: 100%;
}

.single-tribe_events .mostra-exhibition-gallery .apb_row.apb_gallery.gallery__slider > .row,
.single-tribe_events #tribe-events-content > .apb_row.apb_gallery.gallery__slider.mostra-exhibition-gallery > .row {
  margin-left: auto;
  margin-right: auto;
  max-width: 73rem;
  padding-left: .9375rem;
  padding-right: .9375rem;
}

.single-tribe_events .mostra-exhibition-gallery .gallery-header,
.single-tribe_events #tribe-events-content > .apb_row.apb_gallery.gallery__slider.mostra-exhibition-gallery .gallery-header {
  align-items: center;
  border-bottom: 2px solid #000;
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: .875rem;
  width: 100%;
}

.single-tribe_events .mostra-exhibition-gallery .gallery-header h2,
.single-tribe_events #tribe-events-content > .apb_row.apb_gallery.gallery__slider.mostra-exhibition-gallery .gallery-header h2 {
  color: #000;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

.single-tribe_events .mostra-exhibition-gallery .gallery-header .gallery-header__nav,
.single-tribe_events #tribe-events-content > .apb_row.apb_gallery.gallery__slider.mostra-exhibition-gallery .gallery-header .gallery-header__nav {
  align-items: center;
  display: flex;
  gap: 1.25rem;
}

.single-tribe_events .mostra-exhibition-gallery .gallery-header .gallery-header__nav button,
.single-tribe_events #tribe-events-content > .apb_row.apb_gallery.gallery__slider.mostra-exhibition-gallery .gallery-header .gallery-header__nav button {
  color: #000;
  cursor: pointer;
  font-size: 1.75rem;
  line-height: 1;
}

.single-tribe_events .mostra-exhibition-gallery .galleria-pagine,
.single-tribe_events #tribe-events-content > .apb_row.apb_gallery.gallery__slider.mostra-exhibition-gallery .galleria-pagine {
  overflow: visible;
  width: 100vw;
}

.single-tribe_events .mostra-exhibition-gallery .galleria-pagine > .row,
.single-tribe_events #tribe-events-content > .apb_row.apb_gallery.gallery__slider.mostra-exhibition-gallery .galleria-pagine > .row {
  margin-left: 0;
  margin-right: 0;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  width: 100vw;
}

.single-tribe_events .mostra-exhibition-gallery .gallery-carousel,
.single-tribe_events #tribe-events-content > .apb_row.apb_gallery.gallery__slider.mostra-exhibition-gallery .gallery-carousel {
  overflow: hidden;
  padding: 0;
  width: 100%;
}

.single-tribe_events .mostra-exhibition-gallery .gallery-carousel:not(.slick-initialized),
.single-tribe_events #tribe-events-content > .apb_row.apb_gallery.gallery__slider.mostra-exhibition-gallery .gallery-carousel:not(.slick-initialized) {
  display: flex;
  overflow-x: auto;
  padding-left: calc((100vw - min(73rem, 100vw)) / 2 + .9375rem);
}

.single-tribe_events .mostra-exhibition-gallery .gallery-carousel .slick-list,
.single-tribe_events #tribe-events-content > .apb_row.apb_gallery.gallery__slider.mostra-exhibition-gallery .gallery-carousel .slick-list {
  overflow: visible;
  padding-left: calc((100vw - min(73rem, 100vw)) / 2 + .9375rem);
}

.single-tribe_events .mostra-exhibition-gallery .gallery-carousel .slick-track,
.single-tribe_events #tribe-events-content > .apb_row.apb_gallery.gallery__slider.mostra-exhibition-gallery .gallery-carousel .slick-track {
  align-items: flex-start;
  display: flex;
  margin-left: 0;
}

.single-tribe_events .mostra-exhibition-gallery .item,
.single-tribe_events #tribe-events-content > .apb_row.apb_gallery.gallery__slider.mostra-exhibition-gallery .item {
  align-items: flex-start;
  display: inline-flex !important;
  flex-direction: column;
  flex: 0 0 auto;
  float: none !important;
  max-width: none;
  padding-left: 0;
  padding-right: 4.25rem;
  width: auto;
}

.single-tribe_events .mostra-exhibition-gallery .slick-initialized .item,
.single-tribe_events #tribe-events-content > .apb_row.apb_gallery.gallery__slider.mostra-exhibition-gallery .slick-initialized .item {
  flex: none;
  max-width: none;
  width: auto;
}

.single-tribe_events .mostra-exhibition-gallery .item a,
.single-tribe_events #tribe-events-content > .apb_row.apb_gallery.gallery__slider.mostra-exhibition-gallery .item a {
  color: #000;
  text-decoration: none;
}

.single-tribe_events .mostra-exhibition-gallery .item .img-cont,
.single-tribe_events #tribe-events-content > .apb_row.apb_gallery.gallery__slider.mostra-exhibition-gallery .item .img-cont {
  clear: both;
  display: block;
  float: none !important;
  height: auto;
  margin-bottom: .875rem;
  overflow: visible;
  padding: 0;
  width: auto;
}

.single-tribe_events .mostra-exhibition-gallery .item .img-cont img,
.single-tribe_events #tribe-events-content > .apb_row.apb_gallery.gallery__slider.mostra-exhibition-gallery .item .img-cont img {
  display: block;
  height: auto;
  max-height: 23.5rem;
  max-width: none;
  object-fit: contain;
  width: auto;
}

.single-tribe_events .mostra-exhibition-gallery .item.is-portrait .img-cont img,
.single-tribe_events #tribe-events-content > .apb_row.apb_gallery.gallery__slider.mostra-exhibition-gallery .item.is-portrait .img-cont img {
  max-height: 29rem;
}

.single-tribe_events .mostra-exhibition-gallery .item.is-landscape .img-cont img,
.single-tribe_events #tribe-events-content > .apb_row.apb_gallery.gallery__slider.mostra-exhibition-gallery .item.is-landscape .img-cont img {
  max-height: 20.5rem;
}

.single-tribe_events .mostra-exhibition-gallery .item.gallery-scale-1 .img-cont img,
.single-tribe_events #tribe-events-content > .apb_row.apb_gallery.gallery__slider.mostra-exhibition-gallery .item.gallery-scale-1 .img-cont img {
  max-height: 27rem;
}

.single-tribe_events .mostra-exhibition-gallery .item.gallery-scale-2 .img-cont img,
.single-tribe_events #tribe-events-content > .apb_row.apb_gallery.gallery__slider.mostra-exhibition-gallery .item.gallery-scale-2 .img-cont img {
  max-height: 22rem;
}

.single-tribe_events .mostra-exhibition-gallery .item.gallery-scale-3 .img-cont img,
.single-tribe_events #tribe-events-content > .apb_row.apb_gallery.gallery__slider.mostra-exhibition-gallery .item.gallery-scale-3 .img-cont img {
  max-height: 24.5rem;
}

.single-tribe_events .mostra-exhibition-gallery .item.gallery-scale-4 .img-cont img,
.single-tribe_events #tribe-events-content > .apb_row.apb_gallery.gallery__slider.mostra-exhibition-gallery .item.gallery-scale-4 .img-cont img {
  max-height: 30rem;
}

.single-tribe_events .mostra-exhibition-gallery .item .dida,
.single-tribe_events #tribe-events-content > .apb_row.apb_gallery.gallery__slider.mostra-exhibition-gallery .item .dida {
  clear: both;
  display: block;
  float: none !important;
  max-width: 100%;
  padding: 0;
  width: 100%;
}

.single-tribe_events .mostra-exhibition-gallery .item .dida .inner,
.single-tribe_events #tribe-events-content > .apb_row.apb_gallery.gallery__slider.mostra-exhibition-gallery .item .dida .inner {
  color: #000;
  font-size: .8125rem;
  line-height: 1.35;
  max-width: 100%;
  white-space: normal;
  width: 100%;
}

.single-tribe_events .mostra-exhibition-gallery .item .dida .inner .count,
.single-tribe_events #tribe-events-content > .apb_row.apb_gallery.gallery__slider.mostra-exhibition-gallery .item .dida .inner .count {
  display: none;
}

.single-tribe_events .mostra-exhibition-gallery .item .dida .inner strong,
.single-tribe_events #tribe-events-content > .apb_row.apb_gallery.gallery__slider.mostra-exhibition-gallery .item .dida .inner strong {
  color: #000;
  display: block;
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1.25;
}

@media print, screen and (max-width: 63.99875em) {
  .single-tribe_events .mostra-exhibition-gallery .item,
  .single-tribe_events #tribe-events-content > .apb_row.apb_gallery.gallery__slider.mostra-exhibition-gallery .item {
    flex-basis: auto;
    max-width: none;
  }

}

@media print, screen and (max-width: 39.99875em) {
  .single-tribe_events #tribe-events-content > .mostra-exhibition-gallery,
  .single-tribe_events .apb_row.apb_gallery.gallery__slider.mostra-exhibition-gallery,
  .single-tribe_events #tribe-events-content > .apb_row.apb_gallery.gallery__slider.mostra-exhibition-gallery {
    left: auto;
    margin-left: -.625rem;
    margin-right: -.625rem;
    margin-top: 2.5rem;
    padding: 2.5rem 0 3.5rem;
    width: calc(100% + 1.25rem);
  }

  .single-tribe_events .mostra-exhibition-gallery .apb_row.apb_gallery.gallery__slider > .row,
  .single-tribe_events #tribe-events-content > .apb_row.apb_gallery.gallery__slider.mostra-exhibition-gallery > .row {
    padding-left: .625rem;
    padding-right: .625rem;
  }

  .single-tribe_events .mostra-exhibition-gallery .galleria-pagine > .row,
  .single-tribe_events #tribe-events-content > .apb_row.apb_gallery.gallery__slider.mostra-exhibition-gallery .galleria-pagine > .row {
    padding-left: 0;
  }

  .single-tribe_events .mostra-exhibition-gallery .item,
  .single-tribe_events #tribe-events-content > .apb_row.apb_gallery.gallery__slider.mostra-exhibition-gallery .item {
    padding-right: 1.25rem;
  }

  .single-tribe_events .mostra-exhibition-gallery .gallery-carousel:not(.slick-initialized),
  .single-tribe_events #tribe-events-content > .apb_row.apb_gallery.gallery__slider.mostra-exhibition-gallery .gallery-carousel:not(.slick-initialized),
  .single-tribe_events .mostra-exhibition-gallery .gallery-carousel .slick-list,
  .single-tribe_events #tribe-events-content > .apb_row.apb_gallery.gallery__slider.mostra-exhibition-gallery .gallery-carousel .slick-list {
    padding-left: .625rem;
  }

  .single-tribe_events .mostra-exhibition-gallery .item .img-cont img,
  .single-tribe_events #tribe-events-content > .apb_row.apb_gallery.gallery__slider.mostra-exhibition-gallery .item .img-cont img {
    max-width: calc(100vw - 2rem);
  }

}
