/*
    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;
}

#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;
  color: #000 !important;
  font-size: 22px;
}

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

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

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

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

#colorbox,
#cboxContent,
#cboxLoadedContent {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  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.
*/
#cboxOverlay {
  opacity: 1;

  background: #dbecff;
}

#colorbox {
  outline: 0;
}

#cboxContent {
  margin-top: 32px;
  background: #000;
  overflow: visible;
}

.cboxIframe {
  background: #fff;
}

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

#cboxLoadedContent {
  background: #000;
  padding: 0;
}

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

#cboxLoadingOverlay {
  background: #000;
}

#cboxTitle {
  float: none !important;
  margin-top: 30px;
  margin-right: auto;
  margin-left: auto;
  width: 80%;
  color: #000;
  font-size: 20px;
  line-height: 1.2;
  text-align: center;
}
#cboxTitle a {
  text-decoration: underline;
}

#cboxCurrent {
  position: absolute;
  top: -22px;
  right: 205px;
  text-indent: -9999px;
}

/* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
#cboxPrevious,
#cboxNext,
#cboxSlideshow,
#cboxClose {
  position: absolute;
  top: -40px;
  margin: 0;
  box-shadow: none;
  border: 0;
  background-image: none;
  background-color: transparent;
  padding: 0;
  height: 37px;
  overflow: visible;
  color: #fff;
  font-size: 24px;
  text-shadow: none;
  text-transform: uppercase;
}
#cboxNext {
  left: 69px;
}
#cboxNext:after {
  display: inline-block;
  position: relative;
  top: 1px;
  margin-left: 6px;
  background-image: url("../img/icon-blue-caret.svg");
  background-size: 100% 100%;
  width: 9.2px;
  height: 14px;
  content: "";
}
#cboxNext:before {
  display: inline-block;
  margin-right: 8px;
  content: "|";
}

#cboxPrevious {
  left: 0;
}
#cboxPrevious:before {
  display: inline-block;
  position: relative;
  top: 1px;
  -moz-transform: scaleX(-1);
  -o-transform: scaleX(-1);
  -webkit-transform: scaleX(-1);
  -ms-transform: scaleX(-1);
  transform: scaleX(-1);
  -ms-filter: "FlipH";
  filter: FlipH;
  margin-right: 6px;
  background-image: url("../img/icon-blue-caret.svg");
  background-size: 100% 100%;
  width: 9.2px;
  height: 14px;
  content: "";
}

#cboxClose {
  top: -37px;
  right: 0%;
  font-size: 24px;
  text-align: right;
  text-transform: uppercase;
  &:hover {
    &:before {
      background-image: url("../img/close-hover.svg");
    }
  }
}
#cboxClose:before {
  display: inline-block;
  margin-right: 6px;
  background-image: url("../img/close.svg");
  background-size: 100% 100%;
  width: 62px;
  height: 40px;
  content: "";
  text-indent: -9999px;
}

/* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
#cboxPrevious:active,
#cboxNext:active,
#cboxSlideshow:active,
#cboxClose:active {
  outline: 0;
}

.colorbox-button-sep {
  position: absolute;
  top: 120px;
  right: 0;
  color: #ffd24c;
  font-size: 19px;
}
.colorbox-button-sep.colorbox-button-sep-1 {
  top: 117px;
  right: 145px;
}
.colorbox-button-sep.colorbox-button-sep-2 {
  top: 117px;
  right: 248px;
}
