/* ------------------------------------------------------------------ *
 * PhotoSwipe v5 custom UI for dzone-web
 * (editable page-jump counter + filename caption)
 * ------------------------------------------------------------------ */

/* The editable page-jump input replaces the default numeric counter. */
.pswp__counter {
  display: none;
}

.pswp__page-input {
  display: flex;
  align-items: center;
  margin-right: auto;          /* push the top-bar buttons to the right */
  padding: 0 14px;
  height: 60px;
  color: #fff;
  font-size: 14px;
  opacity: 0.85;
}

.pswp__page-input .pswp__current-index {
  width: 3.4em;
  padding: 3px 4px;
  color: #fff;
  text-align: center;
  font-size: 14px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 3px;
}

.pswp__page-input .pswp__total {
  margin-left: 4px;
  white-space: nowrap;
}

/* Bottom-centred caption showing the current page's filename. */
.pswp__custom-caption {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  max-width: 80%;
  padding: 8px 16px;
  color: #fff;
  font-size: 15px;
  line-height: 1.4;
  text-align: center;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 4px;
}

.pswp__custom-caption:empty {
  display: none;
}
