/* SHIFTS – vlastni upravy PhotoSwipe (nacita se az po photoswipe.css 5.4.4) */

.pswp {
  --pswp-bg: #000;
  --pswp-placeholder-bg: #222;
  --pswp-root-z-index: 100000;
}

/* Zavrit */
.pswp__button--close {
  margin: 24px 24px 0 0;
  width: 40px;
  height: 40px;
  background: url(../images/close.svg?rand=2) !important;
  background-size: 40px 40px !important;
}
.pswp__button--close svg { display: none; }

/* Sipky */
.pswp__button--arrow--prev svg,
.pswp__button--arrow--next svg { display: none; }

.pswp__button--arrow--prev,
.pswp__button--arrow--next {
  position: absolute;
  background: rgba(254, 247, 231, 0.5) url(../images/arrow.svg?rand=1) center no-repeat !important;
  background-size: 28px 28px !important;
  width: 60px;
  height: 60px;
  top: calc(50% - 30px);
  margin-top: 0;
  -webkit-border-radius: 100%; -moz-border-radius: 100%; border-radius: 100%;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.pswp__button--arrow--prev { left: 24px; right: auto; transform: rotate(180deg); }
.pswp__button--arrow--next { right: 24px; left: auto; }

/* Zoom tlacitko skryte */
.pswp__button--zoom,
.pswp--zoom-allowed .pswp__button--zoom { display: none; }

/* Pocitadlo */
.pswp__counter { color: #fff; text-shadow: none; opacity: 1; }

/* Popisky (dynamic caption) */
.pswp__dynamic-caption {
  color: #fff;
  position: absolute;
  width: 100%;
  left: 0;
  right: 0;
  top: auto !important;
  bottom: 24px !important;
  transition: opacity 120ms linear !important;
  font-size: 18px;
  line-height: 1.35em;
}
.pswp-caption-content { display: none; }
.pswp__dynamic-caption a { color: #fff; }
.pswp__dynamic-caption--faded { opacity: 0 !important; }
.pswp__dynamic-caption--aside { max-width: 300px; padding: 20px 15px 0 20px; margin-top: 70px; }
.pswp__dynamic-caption--below { max-width: 50%; text-align: center; margin: auto; padding: 15px 0 0; }
.pswp__dynamic-caption--on-hor-edge { padding-left: 15px; padding-right: 15px; }
.pswp__dynamic-caption--mobile {
  width: 100%;
  background: rgba(0,0,0,0.5);
  padding: 10px 15px 0 15px;
  right: 0;
  bottom: 0;
  top: auto !important;
  left: 0 !important;
}

@media screen and (max-width:1024px) {
  .pswp__button--close {
    width: 30px;
    height: 30px;
    background-size: 30px 30px !important;
  }
}
