/*! 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: 12px solid #fff !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: absolute;
  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 {
  display: inline-block;
  max-width: auto;

  min-width: auto;
  min-height: 100px;
  margin: 0;
  padding: 0;
  width: auto;
  height: 100%;
  max-height: 75%;
  max-height: 667px;
  vertical-align: middle;    }


.single #swipebox-slider .slide.wide img {
  display: inline-block;
  width: 80%;
  height: auto;
  max-width: 80%;
  max-height: auto;
  min-width: 70%;
  min-height: auto;

  margin: 0;
  padding: 0;
  vertical-align: middle;    }


#swipebox-slider .slide-loading {
  background: url(../images/ajax-loader.gif) no-repeat center center;
}

#swipebox-bottom-bar,
#swipebox-top-bar {
  -webkit-transition: 0.5s;
  transition: 0.5s;
  position: absolute;
  left: 0;
  z-index: 999;
  height: 50px;
  width: 100%;
}

#swipebox-bottom-bar {
  bottom: -50px;
}
#swipebox-bottom-bar.visible-bars {
  -webkit-transform: translate3d(0, -50px, 0);
  transform: translate3d(0, -50px, 0);
}

#swipebox-top-bar {
  top: -50px;
}
#swipebox-top-bar.visible-bars {
  -webkit-transform: translate3d(0, 50px, 0);
  transform: translate3d(0, 50px, 0);
}

#swipebox-title {
  display: block;
  width: 100%;
  text-align: center;
}

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

#swipebox-arrows {
  display: block;
  margin: 0 auto;
  width: 100%;
  height: 50px;}

#swipebox-prev {
  background-position: -32px 13px;
  /*float: left;*/
  left: 45%; }

#swipebox-next {
  background-position: -78px 13px;
  /*float: right;*/ 
  right: 45%; }

#swipebox-close {
  top: 0;
  right: 30px!important;
  position: absolute;
  z-index: 9999;
  background-position: 15px 12px;
}

.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;
  }
}
@media screen and (min-width: 800px) {
  #swipebox-close {
    right: 10px;
  }

  #swipebox-arrows {
    width: 92%;
    max-width: 800px;
  }
}




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


#swipebox-overlay {  background: #eaeaea; }

#swipebox-bottom-bar,
#swipebox-top-bar {   background: #9f0123;
                      opacity: 1; }


#swipebox-top-bar {
  color: #fff!important;
  font-size: 15px;
  line-height: 43px;
  font-family: 'Source Sans Pro', helvetica-light, 'trebuchet ms', sans-serif; 
  letter-spacing: 1px;  }


@media all and (max-width: 1280px)  {  /***************** max 1280 **************/


#swipebox-slider .slide img {
  display: inline-block;
  width: 50%;
  height: auto;
  max-width: 50%;
  max-height: auto;
  min-width: 30%;
  min-height: auto;
  margin: 0;
  padding: 0;
  vertical-align: middle;  }

}



@media all and (max-width: 768px) and (orientation: portrait)   {  /***************** max 768 **************/

/*#swipebox-overlay img {  border: 8px solid #f4f4f4 !important; }*/

#swipebox-slider .slide img {
  display: inline-block;
  width: 80%;
  height: auto;
  max-width: 80%;
  max-height: auto;
  min-width: 70%;
  min-height: auto;
  margin: 0;
  padding: 0;
  vertical-align: middle;  }

#swipebox-caption { font-size: 14px;
                    line-height: 30px; }


#swipebox-prev {
  background-position: -32px 3px;
  left: 40%; }

#swipebox-next {
  background-position: -78px 3px;
  right: 40%; }

}


@media all and (min-width: 1600px)  {  /***************** min 1600 **************/

#swipebox-slider .slide img {

height: 100%;

}
}


















