/*! Swipebox v1.3.0 | Constantin Saguin csag.co | MIT License | github.com/brutaldesign/swipebox */
html.swipebox-html.swipebox-touch {
  overflow: hidden !important;
}

#swipebox-overlay img {
  border: none !important;
}

#swipebox-overlay {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999 !important;
  overflow: hidden;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

#swipebox-container {
  position: relative;
  width: 100%;
  height: 100%;
}

#swipebox-slider {
  -webkit-transition: -webkit-transform 0.4s ease;
          transition: transform 0.4s ease;
  height: 100%;
  left: 0;
  top: 0;
  width: 100%;
  white-space: nowrap;
  position:relative;
  display: none;
  cursor: pointer;
}
#swipebox-slider .slide {
  height: 100%;
  width: 100%;
  line-height: 1px;
  text-align: center;
  display: inline-block;
}
#swipebox-slider .slide:before {
  content: "";
  display: inline-block;
  height: 50%;
  width: 1px;
  margin-right: -1px;
}
#swipebox-slider .slide img,
#swipebox-slider .slide .swipebox-video-container,
#swipebox-slider .slide .swipebox-inline-container {
  display: inline-block;
  max-height: 80%;
  max-width: 80%;
  margin: 0;
  padding: 0;
  width: auto;
  height: auto;
  vertical-align: middle;
}
#swipebox-slider .slide .swipebox-video-container {
  background: none;
  max-width: 1140px;
  max-height: 100%;
  width: 100%;
  padding: 5%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
#swipebox-slider .slide .swipebox-video-container .swipebox-video {
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
  position: relative;
}
#swipebox-slider .slide .swipebox-video-container .swipebox-video iframe {
  width: 100% !important;
  height: 100% !important;
  position: absolute;
  top: 0;
  left: 0;
}
#swipebox-slider .slide-loading {
  background: url(../img/loader.gif) no-repeat center center;
}

#swipebox-bottom-bar,
#swipebox-top-bar {
  z-index: 999;
  width: 100%;
}

#swipebox-bottom-bar {
	top:0;
	bottom:0;
	margin:auto;
	
}

#swipebox-top-bar {
    bottom: 50px;
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    width: 50%;
}

#swipebox-top-bar.visible-bars {

}

#swipebox-title {
  display: block;
  width: 100%;
  text-align:center;
  line-height: 1.4;
  font-size: 11px;
}

#swipebox-title > p {
    line-height: 21px;
}


#swipebox-arrows {
    display: block;
    height: 50px;
    left: 0;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
    position: absolute;
    right: 0;
    top: 105px;
    width: 100%;
}

#swipebox-prev, #swipebox-next, #swipebox-close{
  cursor: pointer;
}

#swipebox-prev:hover, #swipebox-next:hover, #swipebox-close:hover{
  opacity: 0.7;
}

#swipebox-prev {
  position: absolute;
  width: 50%;
  height: calc(100vh - 190px);
  left: 0;
  top: 0px;
}

#swipebox-prev span{
  position: absolute;
  top: calc(50% - 30px);
  left: 20px;
  background: url(../img/prev.png) no-repeat !important;
  width: 15px;
  height: 40px;
}

#swipebox-next {
  position: absolute;
  width: 50%;
  height: calc(100vh - 190px);
  right: 0;
  top: 0px;
}

#swipebox-next span{
  position: absolute;
  top: calc(50% - 30px);
  right: 20px;
  background: url(../img/next.png) no-repeat !important;
  width: 15px;
  height: 40px;
}

#swipebox-close {
  background: url(../img/close.svg) no-repeat;
  top: 20px;
  right: 20px;
  /*margin-left: -25px;*/
  width: 20px;
  height: 20px;
  position: absolute;
  z-index: 9999;
}

.swipebox-no-close-button #swipebox-close {
  display: none;
}

#swipebox-prev.disabled,
#swipebox-next.disabled {
  opacity: 0.3;
}

.swipebox-no-touch #swipebox-overlay.rightSpring #swipebox-slider {
  -webkit-animation: rightSpring 0.3s;
          animation: rightSpring 0.3s;
}
.swipebox-no-touch #swipebox-overlay.leftSpring #swipebox-slider {
  -webkit-animation: leftSpring 0.3s;
          animation: leftSpring 0.3s;
}

.swipebox-touch #swipebox-container:before, .swipebox-touch #swipebox-container:after {
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  -webkit-transition: all .3s ease;
          transition: all .3s ease;
  content: ' ';
  position: absolute;
  z-index: 999;
  top: 0;
  height: 100%;
  width: 20px;
  opacity: 0;
}
.swipebox-touch #swipebox-container:before {
  left: 0;
  -webkit-box-shadow: inset 10px 0px 10px -8px #656565;
          box-shadow: inset 10px 0px 10px -8px #656565;
}
.swipebox-touch #swipebox-container:after {
  right: 0;
  -webkit-box-shadow: inset -10px 0px 10px -8px #656565;
          box-shadow: inset -10px 0px 10px -8px #656565;
}
.swipebox-touch #swipebox-overlay.leftSpringTouch #swipebox-container:before {
  opacity: 1;
}
.swipebox-touch #swipebox-overlay.rightSpringTouch #swipebox-container:after {
  opacity: 1;
}

@-webkit-keyframes rightSpring {
  0% {
    left: 0;
  }

  50% {
    left: -30px;
  }

  100% {
    left: 0;
  }
}

@keyframes rightSpring {
  0% {
    left: 0;
  }

  50% {
    left: -30px;
  }

  100% {
    left: 0;
  }
}
@-webkit-keyframes leftSpring {
  0% {
    left: 0;
  }

  50% {
    left: 30px;
  }

  100% {
    left: 0;
  }
}
@keyframes leftSpring {
  0% {
    left: 0;
  }

  50% {
    left: 30px;
  }

  100% {
    left: 0;
  }
}
#swipebox-arrows {
  /*width: 92%;*/
  max-width: 100%;
}
/* Skin 
--------------------------*/
#swipebox-overlay {
  background: #0d0d0d;
}

#swipebox-bottom-bar,
#swipebox-top-bar {
  text-shadow: 1px 1px 1px black;
  opacity: 0.95;
}

#swipebox-top-bar {
  color: white !important;
  font-size: 15px;
  line-height: 43px;
  font-family: Helvetica, Arial, sans-serif;
}

@media screen and (max-width:768px) {
  #swipebox-arrows {
    width: 92%;
    max-width: 100%;
    top: 90vh;
  } 
  #swipebox-close{
    top: 20px;
    background: url(../img/close-s.svg) no-repeat center center;
    width: 30px;
    height: 30px;
  }
}