/*
    Colorbox Core Style:
    The following CSS is consistent between example themes and should not be altered.
*/
#colorbox, #cboxOverlay, #cboxWrapper {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  overflow: hidden;
  -webkit-transform: translate3d(0, 0, 0);
}

#cboxWrapper {
  max-width: none;
}

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

#cboxMiddleLeft, #cboxBottomLeft {
  clear: left;
}

#cboxContent {
  position: relative;
}

#cboxLoadedContent {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

#cboxTitle {
  margin: 0;
}

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

#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow {
  cursor: pointer;
}

.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;
  padding: 0;
  margin: 0;
}

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

/* 
    User Style:
    Change the following styles to modify the appearance of Colorbox.  They are
    ordered & tabbed in a way that represents the nesting of the generated HTML.
*/
html.no-scroll,
html.no-scroll body {
  overflow: hidden;
}

#cboxOverlay, #cboxWrapper, #colorbox {
  overflow: visible;
}

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

#cboxLoadedContent {
  cursor: pointer;
}

#cboxClose {
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  position: absolute;
  top: -40px;
  right: -10px;
  text-indent: -9999px;
  overflow: hidden;
  width: 47px;
  height: 40px;
}

#cboxClose:before, #cboxClose:after {
  content: "";
  display: block;
  background-color: #fff;
  width: 27px;
  height: 2px;
  position: absolute;
  top: 20px;
  left: 10px;
}

#cboxClose:before {
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
}

#cboxClose:after {
  -webkit-transform: rotate(135deg);
      -ms-transform: rotate(135deg);
          transform: rotate(135deg);
}

#cboxClose:hover {
  opacity: .7;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
  -webkit-transition: opacity .3 ease;
  transition: opacity .3 ease;
}

#cboxPrevious,
#cboxNext {
  background: transparent;
  border: 0 none;
  display: block;
  margin-top: -20px;
  padding: 10px;
  position: fixed;
  top: 50%;
  text-indent: -9999px;
  overflow: hidden;
  width: 40px;
  height: 50px;
}

#cboxPrevious:hover,
#cboxNext:hover {
  opacity: 0.7;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
}

#cboxPrevious:after,
#cboxNext:after {
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
}

#cboxPrevious {
  left: 0;
}

#cboxPrevious:after {
  -webkit-transform: translate(-50%, -50%) rotate(135deg);
      -ms-transform: translate(-50%, -50%) rotate(135deg);
          transform: translate(-50%, -50%) rotate(135deg);
}

#cboxNext {
  right: 0;
}

#cboxNext:after {
  -webkit-transform: translate(-50%, -50%) rotate(-45deg);
      -ms-transform: translate(-50%, -50%) rotate(-45deg);
          transform: translate(-50%, -50%) rotate(-45deg);
}
