html.swipebox {
  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;
  user-select: none;
}

/* we changed the height, top and bottom 40px removed*/
#swipebox-slider {
  left: 0;
  top: 40px;
  width: 100%;
  /* Firefox */
  height: -moz-calc(100% - 80);
  /* WebKit */
  height: -webkit-calc(100% - 80px);
  /* Opera */
  height: -o-calc(100% - 80px);
  /* Standard */
  height: calc(100% - 80px);
  white-space: nowrap;
  position: absolute;
  display: none;
}

#swipebox-slider .slide {
  background: url("img/ajax_loader.gif") no-repeat center center;
  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 {
  display: inline-block;
  max-height: 100%;
  max-width: 100%;
  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%;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-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;
}

/* changed position to top */
#swipebox-action {
  position: absolute;
  left: 0;
  z-index: 999;
  height: 40px;
  width: 100%;
  top: 0px;
/*  bottom: -40px; */
}

#swipebox-caption {
  position: absolute;
  left: 25%;
  z-index: 1000;
  height: 40px;
  width: 50%;
  bottom: -40px;
  text-align: center;
}

#swipebox-action.visible-bars {
  bottom: 0;
}

#swipebox-action.force-visible-bars {
  bottom: 0!important;
}

#swipebox-caption.visible-bars {
  bottom: 0;
}

#swipebox-caption.force-visible-bars {
  bottom: 0!important;
}

#swipebox-action #swipebox-prev, #swipebox-action #swipebox-next,
#swipebox-action #swipebox-close {
  background-image: url("img/icons_navigation_black.png");
  background-repeat: no-repeat;
  border: none!important;
  text-decoration: none!important;
  cursor: pointer;
  position: absolute;
  width: 50px;
  height: 50px;
  top: 0;
}

/* changed positioning of icons */

#swipebox-action #swipebox-close {
  background-position: 15px 10px;
  right: 0px;
}

#swipebox-action #swipebox-prev {
  background-position: -35px 10px;
  right: 100px;
}

#swipebox-action #swipebox-next {
  background-position: -90px 10px;
  right: 50px;
}

/*
#swipebox-action #swipebox-close {
  background-position: 15px 10px;
  left: 0px;
}

#swipebox-action #swipebox-prev {
  background-position: -35px 10px;
  right: 50px;
}

#swipebox-action #swipebox-next {
  background-position: -90px 10px;
  right: -10px;
}
*/

#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;
  }
}

@media screen and (max-width: 800px) {

/* changed positioning of icons */

#swipebox-action #swipebox-close {
  right: 0px;
}

#swipebox-action #swipebox-prev {
  right: 100px;
}

#swipebox-action #swipebox-next {
  right: 50px;
}
/*
  #swipebox-action #swipebox-close {
    left: 0;
  }

  #swipebox-action #swipebox-prev {
    right: 60px;
  }

  #swipebox-action #swipebox-next {
    right: 0;
  }
  */
}


/* Skin 
--------------------------*/

/* changed background color from #0d0d0d to white */
#swipebox-overlay {
  background: white;
}

/* changed background color from #0d0d0d to white */
#swipebox-action, #swipebox-caption {
  background-color: #fff;
}

#swipebox-action {
	background-color: white;
}

/* changed font family */
#swipebox-caption {
  color: black!important;
  font-size: 1em;
  line-height: 43px;
}


