:root {
  --swiper-navitagion-sides-offset: 5%;
}

/* Slider chico */
.mySwiper {
  height: 300px;
  /*overflow: visible !important;*/
}

@media(min-width: 768px) {
  .mySwiper {
    height: 600px;
    max-width: 100%;
  }
}

.mySwiper>.swiper-wrapper {
  transition-timing-function: linear !important;
}

.mySwiper img,
.mySwiper video {
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: 5px;
  overflow: clip;
}

.mySwiper video {
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.mySwiper .swiper-slide {
  width: auto;
  /* ok en el preview */
  max-width: 100%;
  background: #eee;
}

/* Slider fullscreen */
.mySwiperFull {
  width: 100%;
  height: 100%;

}

.mySwiperFull .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mySwiperFull img,
.mySwiperFull video {
  width: auto;
  /* usar tamaño natural */
  height: auto;
  /* usar tamaño natural */
  max-width: 100%;
  /* si es más grande que pantalla, escalar */
  max-height: 100%;
  /* si es más alto que pantalla, escalar */
  object-fit: contain;
}

.modal.is-fullscreen .modal-content {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
}

.modal.is-fullscreen .modal-close {
  z-index: 1000;
  --bulma-delete-dimensions: 4rem;
}

.modal.is-fullscreen .modal-close:before {
  height: 4px;
  border-radius: 2px;
}

.modal.is-fullscreen .modal-close:after {
  width: 4px;
  border-radius: 2px;
}

.modal.is-fullscreen .swiper-button-next,
.modal.is-fullscreen .swiper-button-prev {
  /*--swiper-navigation-size: 70px;
	--swiper-navigation-sides-offset: 70px;
  */
  --swiper-theme-color: #fff;
}


.swiper-pagination {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.swiper:hover .swiper-pagination {
  opacity: 1;
}

/* singleimageSwiper*/

.singleImageSwiper {
  height: 500px
}

.singleImageSwiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.singleImageSwiper img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.modal-slide-title {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 14px;
  max-width: 90%;
  text-align: center;
  pointer-events: none;
}