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

#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 {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}

/* 
    User Style:
*/
#cboxOverlay {
  background: #fff;
  opacity: 0.7;
  filter: alpha(opacity=70);
}

#colorbox {
  outline: 0;
}

#cboxContent {
  margin-top: 50px;
  margin-bottom: 150px;
  padding-bottom: 10px;
  overflow: visible;
  background: transparent;
  position: absolute;
  z-index: 3;
}

.cboxIframe {
  background: #fff;
}

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

#cboxLoadedContent {
  background: #ccc;
  padding: 1px;
}

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

#cboxLoadingOverlay {
  background: #000;
}

#cboxTitle {
  width: 100%;
  height: 200px;
  line-height: 1.2;
  text-align: center;
  font-size: 130%;
  position: absolute;
  bottom: -200px;
  left: 0;
  color: #83471b;
  z-index: 100;
}

#cboxTitle span {
  font-size: 80%;
}

#cboxTitle span::before {
  content: "\A";
  white-space: pre;
}

#cboxCurrent {
  text-indent: -9999px;
}

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

#cboxPrevious {
  width: 10%;
  min-width: 20px;
  max-width: 54px;
  height: 10%;
  min-height: 50px;
  max-height: 72px;
  border: 0;
  margin: 0;
  padding: 0;
  overflow: visible;
  text-indent: -9999px;
  position: absolute;
  top: 40%;
  left: 10px;
  background: url(../../images/facility/pre_off.png) no-repeat left 0;
  background-size: contain;
  outline: 0;
}

#cboxPrevious:hover {
  background: url(../../images/facility/pre_on.png) no-repeat left 0;
  background-size: contain;
}

#cboxNext {
  width: 10%;
  min-width: 20px;
  max-width: 54px;
  height: 10%;
  min-height: 50px;
  max-height: 72px;
  border: 0;
  margin: 0;
  padding: 0;
  overflow: visible;
  text-indent: -9999px;
  position: absolute;
  top: 40%;
  right: 10px;
  background: url(../../images/facility/next_off.png) no-repeat right 0;
  background-size: contain;
  outline: 0;
}

#cboxNext:hover {
  background: url(../../images/facility/next_on.png) no-repeat right 0;
  background-size: contain;
}

#cboxClose {
  width: 30px;
  height: 30px;
  text-indent: -9999px;
  background: url(../../images/facility/close.png) no-repeat 0 0;
  background-size: contain;
  position: absolute;
  right: 0;
  top: -30px;
  border: none;
  opacity: 0.8;
}

#cboxClose:hover {
  background: url(../../images/facility/close.png) no-repeat 0 0;
  background-size: contain;
  opacity: 1;
}
