#sd-lightbox {
  background: url(images/overlay.png) repeat 0;
  height: 100%;
  left: 0;
  opacity: 0;
  overflow: hidden;
  position: fixed;
  top: 0;
  -webkit-transition: all 0.4s ease 0.4s;
          transition: all 0.4s ease 0.4s;
  visibility: hidden;
  width: 100%;
  z-index: 10000;
}

#sd-lightbox.open {
  opacity: 1;
  -webkit-transition: all 0.4s ease 0s;
          transition: all 0.4s ease 0s;
  visibility: visible;
}

#sd-lightbox-top {
  background: #ff880080;
  height: 44px;
  left: 0;
  position: absolute;
  top: 0;
  -webkit-transform: translateY(-100%);
          transform: translateY(-100%);
  -webkit-transition: all 0.4s ease 0s;
          transition: all 0.4s ease 0s;
  width: 100%;
  z-index: 10003;
}

#sd-lightbox.open #sd-lightbox-top {
  -webkit-transform: translateY(0);
          transform: translateY(0);
}

#sd-lightbox.open #sd-lightbox-top.idle {
  -webkit-transform: translateY(-100%);
          transform: translateY(-100%);
}

#sd-lightbox-counter {
  color: rgba(255,255,255,1);
  float: left;
  font-size: 16px;
  font-weight: normal;
  height: 44px;
  line-height: 44px;
  min-width: 44px;
  padding: 0 10px;
  text-align: center;
}

#sd-lightbox-close {
  background: transparent url("Icons/close.svg") no-repeat scroll center center / 24px auto;
  cursor: pointer;
  display: block;
  float: right;
  height: 44px;
  width: 44px;
}

#sd-lightbox-fullscreen {
  background: transparent url("Icons/fullscreen.svg") no-repeat scroll center center / 24px auto;
  cursor: pointer;
  display: none;
  float: right;
  height: 44px;
  width: 44px;
}

#sd-lightbox-fullscreen.fullscreen-open {
  background: transparent url("Icons/fullscreen-open.svg") no-repeat scroll center center / 24px auto;
}

#sd-lightbox-download {
  background: transparent url("Icons/download.svg") no-repeat scroll center center / 24px auto;
  cursor: pointer;
  display: block;
  float: right;
  height: 44px;
  width: 44px;
}

#sd-lightbox-images img {
  display: block;
  left: 50%;
  max-height: 100vh;
  max-width: 100vw;
  opacity: 0;
  position: absolute;
  top: 50%;
  -webkit-transform: translate(-50%, -50%) scale(0.7);
          transform: translate(-50%, -50%) scale(0.7);
  -webkit-transition: all 0.4s ease 0s;
          transition: all 0.4s ease 0s;
  visibility: hidden;
  z-index: 10002;
}

#sd-lightbox-images img.no-transition {
  -webkit-transition: all 0s ease 0s;
          transition: all 0s ease 0s;
}

#sd-lightbox-images img.active {
  opacity: 1;
  -webkit-transform: translate(-50%, -50%) scale(1);
          transform: translate(-50%, -50%) scale(1);
  visibility: visible;
}

#sd-lightbox-images img.previous {
  opacity: 0;
  -webkit-transform: translate(50%, -50%) scale(1);
          transform: translate(50%, -50%) scale(1);
  visibility: hidden;
}

#sd-lightbox-images img.next {
  opacity: 0;
  -webkit-transform: translate(-150%, -50%) scale(1);
          transform: translate(-150%, -50%) scale(1);
  visibility: hidden;
}

#sd-lightbox-previous {
  background: rgba(0, 0, 0, 0.7) url("Icons/previous.svg") no-repeat scroll center center / 24px auto;
  cursor: pointer;
  display: block;
  height: 44px;
  left: 0;
  position: absolute;
  top: 50%;
  -webkit-transform: translate(-100%,-50%);
          transform: translate(-100%,-50%);
  -webkit-transition: all 0.4s ease 0s;
          transition: all 0.4s ease 0s;
  width: 44px;
  z-index: 10003;
}

#sd-lightbox.open #sd-lightbox-previous {
  -webkit-transform: translate(0,-50%);
          transform: translate(0,-50%);
}

#sd-lightbox.open #sd-lightbox-previous.disabled,
#sd-lightbox.open #sd-lightbox-previous.idle {
  -webkit-transform: translate(-100%,-50%);
          transform: translate(-100%,-50%);
}

#sd-lightbox-next {
  background: rgba(0, 0, 0, 0.7) url("Icons/next.svg") no-repeat scroll center center / 24px auto;
  cursor: pointer;
  display: block;
  height: 44px;
  position: absolute;
  right: 0;
  top: 50%;
  -webkit-transform: translate(100%,-50%);
          transform: translate(100%,-50%);
  -webkit-transition: all 0.4s ease 0s;
          transition: all 0.4s ease 0s;
  width: 44px;
  z-index: 10003;
}

#sd-lightbox.open #sd-lightbox-next {
  -webkit-transform: translate(0,-50%);
          transform: translate(0,-50%);
}

#sd-lightbox.open #sd-lightbox-next.disabled,
#sd-lightbox.open #sd-lightbox-next.idle {
  -webkit-transform: translate(100%,-50%);
          transform: translate(100%,-50%);
}

#sd-lightbox-bottom {
  background: #ff880080;
  bottom: 0;
  left: 0;
  min-height: 44px;
  position: absolute;
  -webkit-transform: translateY(100%);
          transform: translateY(100%);
  -webkit-transition: all 0.4s ease 0s;
          transition: all 0.4s ease 0s;
  width: 100%;
  z-index: 10003;
}

#sd-lightbox.open #sd-lightbox-bottom {
  -webkit-transform: translateY(0);
          transform: translateY(0);
}

#sd-lightbox #sd-lightbox-bottom.idle {
  -webkit-transform: translateY(100%);
          transform: translateY(100%);
}

#sd-lightbox-caption {
  color: rgba(255,255,255,1);
  font-size: 16px;
  font-weight: normal;
  line-height: 24px;
  margin: 0 auto;
  max-width: 1200px;
  padding: 10px 30px;
  position: relative;
  text-align: center;
  width: 100%;
}

#sd-lightbox-overlay {
  cursor: pointer;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 10001;
}

@media (min-width: 1200px) {
  #sd-lightbox-fullscreen {
    display: block;
  }
}
