html.smackbox {
  overflow: hidden!important;
}

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

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

#smackbox-slider {
  height: 100%;
  left: 0;
  top: 0;
  width: 100%;
  white-space: nowrap;
  position: absolute;
  display: none;
}

#smackbox-slider .slide {
  background: url(img/loader-ffffff.gif) no-repeat center center;
  height: 100%;
  width: 100%;
  line-height: 1px;
  text-align: center;
  display: inline-block;
}

#smackbox-slider .slide:before {
  content: no-open-quote;
  display: inline-block;
  height: 50%;
  width: 1px;
  margin-right: -1px;
}

#smackbox-slider .slide img,
#smackbox-slider .slide .smackbox-video-container {
  display: inline-block;
  max-height: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  width: auto;
  height: auto;
  vertical-align: middle;
}

#smackbox-slider .slide .smackbox-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;
}


#smackbox-slider .slide .smackbox-video-container .smackbox-video{
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
  position: relative;
}

#smackbox-slider .slide .smackbox-video-container .smackbox-video iframe{
  width: 100%!important; 
  height: 100%!important;
  position: absolute;
  top: 0; left: 0;
}

#smackbox-action, #smackbox-caption {
  position: absolute;
  left: 0;
  z-index: 999;
  height: 50px;
  width: 100%;
}

#smackbox-action {
  bottom: -50px;
}
#smackbox-action.visible-bars {
  bottom: 0;
}

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

#smackbox-caption {
  top: -50px;
  text-align: center;
}
#smackbox-caption.visible-bars {
  top: 0;
}

#smackbox-caption.force-visible-bars {
  top: 0!important;
}

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

#smackbox-action #smackbox-close {
  background-position: 15px 12px;
  left: 40px;
}

#smackbox-action #smackbox-prev {
  background-position: -32px 13px;
  right: 100px;
}

#smackbox-action #smackbox-next {
  background-position: -78px 13px;
  right: 40px;
}

#smackbox-action #smackbox-prev.disabled,
#smackbox-action #smackbox-next.disabled {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=30);
  opacity: 0.3;
}

#smackbox-slider.rightSpring {
  -moz-animation: rightSpring 0.3s;
  -webkit-animation: rightSpring 0.3s;
}

#smackbox-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) {
  #smackbox-action #smackbox-close {
    left: 0;
  }

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

  #smackbox-action #smackbox-next {
    right: 0;
  }
}


/* Skin 
--------------------------*/
#smackbox-overlay {
  background: rgba(0, 0, 0, 0.8);
}

#smackbox-caption {
  font-size: 15px;
  line-height: 43px;
  font-family: Helvetica, Arial, sans-serif;
  
  color: #fff!important;
  background: #000;
  border-bottom: 1px solid #333;
}

#smackbox-action {
  background: #000;
  border-top: 1px solid #333;
}

/* View 
--------------------------*/
.smackbox-content, .smackbox-content * {
  margin:0 10px!important;
  padding:0!important;
  line-height:0!important;
  text-decoration:none!important;
  text-align: center;
}
.smackbox-content a.smackbox {
  display:inline-block;
  width:100px;
  height:100px;
  position:relative;
}
.smackbox-content a.smackbox img {
  width:100px;
  height:100px;
  max-width:none;
  max-height:none;
  min-width:none;
  min-height:none;
  position:absolute;
  z-index:1;
  top:0;
  left:0;
  -webkit-transition: width 0.1s ease-in-out, height 0.1s ease-in-out, top 0.1s ease-in-out, left 0.1s ease-in-out;
  -moz-transition: width 0.1s ease-in-out, height 0.1s ease-in-out, top 0.1s ease-in-out, left 0.1s ease-in-out;
  -o-transition: width 0.1s ease-in-out, height 0.1s ease-in-out, top 0.1s ease-in-out, left 0.1s ease-in-out;
  transition: width 0.1s ease-in-out, height 0.1s ease-in-out, top 0.1s ease-in-out, left 0.1s ease-in-out;
}
.smackbox-content a.smackbox:hover img {
  width:160px;
  height:160px;
  z-index:2;
  top:-30px;
  left:-30px;
}
