/* --- Colorbox Core Styles --- */

/* Using .swop19-color class as a prefix, */
/* so that this CSS isn't overridden by theme. */

#colorbox.swop19-colorbox,
#cboxOverlay.swop19-colorbox,
.swop19-colorbox #cboxWrapper {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  overflow: hidden;
  -webkit-transform: translate3d(0,0,0);
}

.swop19-colorbox #cboxWrapper {
  max-width: none;
}

#cboxOverlay.swop19-colorbox {
  position: fixed;
  width: 100%;
  height: 100%;
}

.swop19-colorbox #cboxMiddleLeft,
.swop19-colorbox #cboxBottomLeft {
  clear: left;
}
.swop19-colorbox #cboxContent {
  position: relative;
}

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

.swop19-colorbox #cboxTitle {
  margin: 0;
}

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

.swop19-colorbox #cboxPrevious,
.swop19-colorbox #cboxNext,
.swop19-colorbox #cboxClose,
.swop19-colorbox #cboxSlideshow {
  cursor: pointer;
}

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

.swop19-colorbox .cboxIframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  padding: 0;
  margin: 0;
}

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

/* --- Colorbox Custom Styles --- */

#cboxOverlay.swop19-colorbox {
  background: rgba(0, 0, 0, 0.7);
  /* Reset */
  opacity: 1;
  filter: alpha(100%);
}

/* These colorbox elements are not utilized. */
.swop19-colorbox #cboxTopLeft,
.swop19-colorbox #cboxTopCenter,
.swop19-colorbox #cboxTopRight,
.swop19-colorbox #cboxMiddleLeft,
.swop19-colorbox #cboxMiddleRight,
.swop19-colorbox #cboxBottomLeft,
.swop19-colorbox #cboxBottomCenter,
.swop19-colorbox #cboxBottomRight,
.swop19-colorbox #cboxCurrent,
.swop19-colorbox #cboxPrevious,
.swop19-colorbox #cboxNext,
.swop19-colorbox #cboxSlideshow {
  display: none;
  /* This is also needed. */
  width: 0;
  height: 0;
}

.swop19-colorbox #cboxContent {
  background: #fff;
  overflow: visible;
}

.swop19-colorbox #cboxLoadedContent {
  background: none;
  padding: 0;
  margin: 0;
  border: 4px solid #fff;
}

.swop19-colorbox #cboxLoadingOverlay {
  background: #fff;
}

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

.swop19-colorbox #cboxTitle {
  width: 100%;
  padding: 10px 4px;
  background: #fff;
  color: #07081b;
  font-size: 18px;
  line-height: 24px;
  text-align: center;
  font-weight: normal;
  position: absolute;
  bottom: 0;
  left: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.swop19-colorbox #cboxClose,
.swop19-colorbox #cboxClose:hover {
  width: 36px;
  height: 36px;
  padding: 0;
  margin: 0;
  border: 0;
  background: url(images/close.svg) center center no-repeat;
  background-size: 16px 16px;
  text-indent: -9999px;
  overflow: hidden;
  position: absolute;
  top: 4px;
  right: 4px;
}
