.swipebox-overlay {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0;
  z-index: 9999;
  overflow: hidden;
  display: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.swipebox-slider {
  height: 100%;
  left: 0;
  top: 0;
  width: 100%;
  white-space: nowrap;
  position: absolute;
}

.swipebox-slider .slide {
  background: url(loader.gif) no-repeat center center;
  height: 100%;
  width: 100%;
  display: inline-block;
  text-align: center;
}

.swipebox-slider .slide:before {
  content: "";
  display: inline-block;
  height: 50%;
  width: 1px;
  margin-right: -1px;
}

.swipebox-slider .slide img {
  display: inline-block;
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  vertical-align: middle;
}

.swipebox-action, .swipebox-caption {
  position: absolute;
  left: 0;
  z-index: 999;
  height: 50px;
  width: 100%;
}

.swipebox-action {
  bottom: 0;
}

.swipebox-caption {
  top: 0;
  text-align: center;
  margin: 0;
  padding: 0;
  border: none;
}

.swipebox-action .swipebox-prev, .swipebox-action .swipebox-next,
.swipebox-action .swipebox-close {
  background-image: url(icons.png);
  background-repeat: no-repeat;
  border: none;
  text-decoration: none;
  cursor: pointer;
  position: absolute;
  width: 50px;
  height: 50px;
  top: 0;
}

.swipebox-action .swipebox-close {
  background-position: 15px 12px;
  left: 40px;
}

.swipebox-action .swipebox-prev {
  background-position: -32px 13px;
  right: 100px;
}

.swipebox-action .swipebox-next {
  background-position: -78px 13px;
  right: 40px;
}

.swipebox-action .swipebox-prev.disabled,
.swipebox-action .swipebox-next.disabled {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=30);
  opacity: 0.3;
}

.swipebox-slider.rightSpring {
  -moz-animation: rightSpring 0.3s;
  -webkit-animation: rightSpring 0.3s;
}

.swipebox-slider.leftSpring {
  -moz-animation: leftSpring 0.3s;
  -webkit-animation: leftSpring 0.3s;
}

@-moz-keyframes rightSpring {
  0% {
    margin-left: 0px;
  }

  50% {
    margin-left: -30px;
  }

  100% {
    margin-left: 0px;
  }
}

@-moz-keyframes leftSpring {
  0% {
    margin-left: 0px;
  }

  50% {
    margin-left: 30px;
  }

  100% {
    margin-left: 0px;
  }
}

@-webkit-keyframes rightSpring {
  0% {
    margin-left: 0px;
  }

  50% {
    margin-left: -30px;
  }

  100% {
    margin-left: 0px;
  }
}

@-webkit-keyframes leftSpring {
  0% {
    margin-left: 0px;
  }

  50% {
    margin-left: 30px;
  }

  100% {
    margin-left: 0px;
  }
}

/* Skin 
--------------------------*/
.swipebox-overlay {
  background: #0d0d0d;
}

.swipebox-action, .swipebox-caption {
  background-color: rgba(40, 37, 32,0.5);
}

.swipebox-overlay h4 {
  color: #f2eeea;
  font-size: 1em;
  line-height: 1;
  text-shadow: 0 1px 0 #0d0d0d;
  font-weight: normal;
}
@media screen and (min-width:40.5em){.swipebox-overlay h4{line-height:2.6875}}
