
#colorbox, #cboxOverlay, #cboxWrapper {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  overflow: hidden;
}

#colorbox {
  outline: 0;
}

#cboxWrapper {
  max-width: none;
}

#cboxOverlay {
  position: fixed;
  width: 100%;
  height: 100%;
  background: #000;
}

#cboxMiddleLeft, #cboxBottomLeft {
  clear: left;
}

#cboxContent {
  position: relative;
  background: transparent;
  overflow: hidden;
}

#cboxLoadedContent {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 0px;
}

#cboxLoadingOverlay, #cboxLoadingGraphic {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#cboxLoadingOverlay {
  background: url(loading_background.png) no-repeat center center;
}

#cboxLoadingGraphic {
  background: url(loading.gif) no-repeat center center;
}

.cboxPhoto {
  float: left;
  margin: auto;
  border: 0;
  display: block;
  max-width: none;
  -ms-interpolation-mode: bicubic;
}

.cboxIframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  background: #fff;
}

#colorbox, #cboxContent, #cboxLoadedContent {
  box-sizing: content-box;
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
}

#cboxTopLeft,
#cboxTopRight,
#cboxBottomLeft,
#cboxBottomRight {
  width: 21px;
  height: 21px;
}

#cboxMiddleLeft,
#cboxMiddleRight {
  width: 21px;
}

#cboxTopCenter,
#cboxBottomCenter {
  height: 21px;
}

#cboxError {
  padding: 50px;
  border: 1px solid #ccc;
}

#cboxTitle {
  position: absolute;
  margin: 0;
  bottom: 0;
  left: 0;
  text-align: center;
  width: 70%;
  padding: 0 15%;
  font-weight: bold;
  color: #fff;
  text-shadow: 1px 1px #2D2D2D;
}

#cboxTitle span {
  font-weight: normal;
  font-size: 0.8125em;
  color: #ffc300;
}

#cboxCurrent {
  position: absolute;
  bottom: 0;
  left: 0;
  color: #F2F2F2;
  font-size: 1em;
  font-weight: normal;
}

#cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {
  border: 0;
  padding: 0;
  margin: 0;
  overflow: visible;
  width: auto;
  background: none;
  cursor: pointer;
}

#cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {
  outline: 0;
}

#cboxSlideshow {
  position: absolute;
  bottom: 4px;
  right: 30px;
  color: #0092ef;
}

#cboxPrevious {
  position: absolute;
  bottom: 50%;
  left: 0;
  background: url(previous.png) no-repeat;
  width: 40px;
  height: 65px;
  text-indent: -9999px;
  opacity: .7;
}

#cboxPrevious:hover {
  background-position: center -65px;
  opacity: 1;
}

#cboxNext {
  position: absolute;
  bottom: 50%;
  right: 0;
  background: url(next.png) no-repeat;
  width: 40px;
  height: 65px;
  text-indent: -9999px;
  opacity: .7;
}

#cboxNext:hover {
  background-position: center -65px;
  opacity: 1;
}

#cboxClose {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  background: url(close_round.png) no-repeat;
  width: 50px;
  height: 50px;
  text-indent: -9999px;
  opacity: .7;
}

#cboxClose:hover {
  background-position: center -50px;
  opacity: 1;
}

@media screen and (min-width: 0em) {
  #cboxCurrent {
    display: none!important;
  }
  #cboxLoadedContent {
    margin-bottom: 0px;
  }
  #cboxTopLeft,
  #cboxTopRight,
  #cboxBottomLeft,
  #cboxBottomRight {
    width: 0px;
    height: 0px;
  }
  #cboxMiddleLeft,
  #cboxMiddleRight {
    width: 0px;
  }
  #cboxTopCenter,
  #cboxBottomCenter {
    height: 0px;
  }
}

@media screen and (min-width: 45em) {
  #cboxCurrent {
    display: block!important;
  }
  #cboxLoadedContent {
    margin-bottom: 28px;
  }
  #cboxTopLeft,
  #cboxTopRight,
  #cboxBottomLeft,
  #cboxBottomRight {
    width: 21px;
    height: 21px;
  }
  #cboxMiddleLeft,
  #cboxMiddleRight {
    width: 21px;
  }
  #cboxTopCenter,
  #cboxBottomCenter {
    height: 21px;
  }
}
