.slbElement {
  position: absolute;
  top: 0;
  left: 5px;
  width: 100%;
  height: 100%;
}

.slbOverlay {
  overflow: hidden;
  z-index: 0;
  background-color: #fff;
  position:absolute;
      height: 100%;
    width: 100%;
}

.slbWrapOuter {
	max-width: 1315px;
    margin: auto;width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  z-index: 2010;
  width:100%;
}

.slbWrap {

}

.slbWrap:before {
  content: "";
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

.slbContentOuter {

}

.slbContentEl .slbContentOuter {
  padding: 5em 1em;
}

.slbContent {
  position: relative;
}


.slbImage {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  box-sizing: border-box;
  margin-top:160px;
}

.slbCaption {
  position: absolute;
    top: -160px;
}




.slbNav {
  position: absolute;
  top: 130px;
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 20;
}

.slbCloseBtn,
.slbArrow {
  margin: 0;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: none;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: 'Graphik Web', Helvetica, Arial, sans-serif;
}

.slbCloseBtn:hover,
.slbArrow:hover {
  opacity: 0.5;
}

.slbCloseBtn:active,
.slbArrow:active {
  opacity: 0.8;
}






.slbLoading .slbArrow {
  display: none;
}


@media screen and (max-width: 700px) {
	.slbElement {
    position: fixed;
    top: 170px;
    left: 20px;
    width: calc(100% - 40px);
    height: 100%;
}

  .slbImage,
  .slbImageWrap {
    touch-action: pan-y;
  }

	.slbImage {margin-top: 20px;}
	.slbCaption { position:static;}
  .slbNav {
    top: -50px;
        left: 0;
        gap: 14px;
        height: 50px;
        background: #fff;
        width: 100%;
  }
}
