/*
    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;
  width: 100%!important;
  height: inherit!important;
}
#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.
*/
#cboxOverlay {
  background: #eee;
  opacity: 0.9;
  filter: alpha(opacity = 90);
}
#colorbox {
  outline: 0;
  width: 100%!important;
  position: fixed!important;
  left: 0!important;
}
#cboxTopLeft {
  display: none;
  width: 25px;
  height: 25px;
  /* background: url(images/border1.png) no-repeat 0 0; */
}
#cboxTopCenter {
  display: none;
  height: 25px;
  /* background: url(images/border1.png) repeat-x 0 -50px; */
}
#cboxTopRight {
  display: none;
  width: 25px;
  height: 25px;
  /* background: url(images/border1.png) no-repeat -25px 0; */
}
#cboxBottomLeft {
  display: none;
  width: 25px;
  height: 25px;
  /* background: url(images/border1.png) no-repeat 0 -25px; */
}
#cboxBottomCenter {
  display: none;
  height: 25px;
  /* background: url(images/border1.png) repeat-x 0 -75px; */
}
#cboxBottomRight {
  display: none;
  width: 25px;
  height: 25px;
  /* background: url(images/border1.png) no-repeat -25px -25px; */
}
#cboxMiddleLeft {
  display: none;
  width: 25px;
  /* background: url(images/border2.png) repeat-y 0 0; */
}
#cboxMiddleRight {
  display: none;
  width: 25px;
  /* background: url(images/border2.png) repeat-y -25px 0; */
}
#cboxContent {
  float: inherit!important;
  margin: 0 auto;
  height: inherit!important;
}
.cboxIframe {
  background: #fff;
}
#cboxError {
  padding: 50px;
  border: 1px solid #ccc;
}
#cboxLoadedContent {
  margin-bottom: 20px;
  /* padding: 0 75px; */
  overflow: hidden!important;
  height: inherit!important;
}
#cboxTitle {
  position: absolute;
  bottom: 0px;
  left: 0;
  text-align: center;
  width: 100%;
  color: #999;
}
#cboxCurrent {
  display: none!important;
  position: absolute;
  bottom: 0px;
  left: 100px;
  color: #999;
}
#cboxLoadingOverlay {
  /* background: transparent url(images/loading.gif) no-repeat center; */
}

/* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
#cboxPrevious,
#cboxNext,
#cboxSlideshow,
#cboxClose {
  border: 0;
  padding: 0;
  margin: 0;
  width: auto;
  background: none;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
}

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

#cboxSlideshow {
  position: absolute;
  bottom: 0px;
  right: 42px;
  color: #444;
}

#cboxPrevious,
#cboxNext {
  width: 50px;
  height: 100%;
  outline: none;
  top: 0;
  /* margin-top: -45px; */
}
#cboxPrevious {
  position: absolute;
  /* top: 0px; */
  left: -75px;
}
#cboxNext {
  position: absolute;
  /* top: 0px; */
  right: -75px;
}

#cboxPrevious:before,
#cboxNext:before {
  position: absolute;
  top: 50%;
  margin: -25px 0 0 0;
  content: "";
  vertical-align: middle;
  width: 50px;
  height: 50px;
  border-top: 1px solid #977250;
  border-right: 1px solid #977250;
}
#cboxPrevious:before {
    left: 10px;
    -webkit-transform: rotate(-135deg);
    transform: rotate(-135deg);
}
#cboxNext:before {
    right: 10px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
#cboxClose {
  position: absolute;
  display: inline-block;
  top: 14px;
  right: 90px;
  width: 67px;
  height: 67px;
  /* background-image: url(/archive/images/close.png); */
  border: 0;
  background-color: #fff;
  border: solid 2px #a5a5a5;
  border-radius: 40px;
  margin: 0;
  padding: 0;
  transform: scale(0.5);
  cursor: pointer;
  display: none;
}
#cboxClose:before {
  content: "";
  position: absolute;
  display: inline-block;
  top: 18px;
  left: 31px;
  width: 2px;
  height: 25px;
  border: 0;
  margin: 0;
  padding: 0;
  background-color: #a5a5a5;
  -moz-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
#cboxClose:after {
  content: "";
  position: absolute;
  display: inline-block;
  top: 18px;
  left: 31px;
  width: 2px;
  height: 25px;
  border: 0;
  margin: 0;
  padding: 0;
  background-color: #a5a5a5;
  -moz-transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

/*
  The following fixes a problem where IE7 and IE8 replace a PNG's alpha transparency with a black fill
  when an alpha filter (opacity change) is set on the element or ancestor element.  This style is not applied to or needed in IE9.
  See: http://jacklmoore.com/notes/ie-transparency-problems/
*/
.cboxIE #cboxTopLeft,
.cboxIE #cboxTopCenter,
.cboxIE #cboxTopRight,
.cboxIE #cboxBottomLeft,
.cboxIE #cboxBottomCenter,
.cboxIE #cboxBottomRight,
.cboxIE #cboxMiddleLeft,
.cboxIE #cboxMiddleRight {
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF);
}

#cboxLoadingOverlay {
  float: inherit !important;
  top: 50%;
  left: 50%;
  margin: 5px 0 0 5px;
  /* margin: 100px auto; */
  font-size: 10px;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  position: fixed;
  text-indent: -9999em;
  -webkit-animation: load5 1.1s infinite ease;
  animation: load5 1.1s infinite ease;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
}

@-webkit-keyframes load5 {
  0%,
  100% {
    box-shadow: 0em -2.6em 0em 0em #505050,
      1.8em -1.8em 0 0em rgba(80, 80, 80, 0.2),
      2.5em 0em 0 0em rgba(80, 80, 80, 0.2),
      1.75em 1.75em 0 0em rgba(80, 80, 80, 0.2),
      0em 2.5em 0 0em rgba(80, 80, 80, 0.2),
      -1.8em 1.8em 0 0em rgba(80, 80, 80, 0.2),
      -2.6em 0em 0 0em rgba(80, 80, 80, 0.5),
      -1.8em -1.8em 0 0em rgba(80, 80, 80, 0.7);
  }
  12.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(80, 80, 80, 0.7),
      1.8em -1.8em 0 0em #505050, 2.5em 0em 0 0em rgba(80, 80, 80, 0.2),
      1.75em 1.75em 0 0em rgba(80, 80, 80, 0.2),
      0em 2.5em 0 0em rgba(80, 80, 80, 0.2),
      -1.8em 1.8em 0 0em rgba(80, 80, 80, 0.2),
      -2.6em 0em 0 0em rgba(80, 80, 80, 0.2),
      -1.8em -1.8em 0 0em rgba(80, 80, 80, 0.5);
  }
  25% {
    box-shadow: 0em -2.6em 0em 0em rgba(80, 80, 80, 0.5),
      1.8em -1.8em 0 0em rgba(80, 80, 80, 0.7), 2.5em 0em 0 0em #505050,
      1.75em 1.75em 0 0em rgba(80, 80, 80, 0.2),
      0em 2.5em 0 0em rgba(80, 80, 80, 0.2),
      -1.8em 1.8em 0 0em rgba(80, 80, 80, 0.2),
      -2.6em 0em 0 0em rgba(80, 80, 80, 0.2),
      -1.8em -1.8em 0 0em rgba(80, 80, 80, 0.2);
  }
  37.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(80, 80, 80, 0.2),
      1.8em -1.8em 0 0em rgba(80, 80, 80, 0.5),
      2.5em 0em 0 0em rgba(80, 80, 80, 0.7), 1.75em 1.75em 0 0em #505050,
      0em 2.5em 0 0em rgba(80, 80, 80, 0.2),
      -1.8em 1.8em 0 0em rgba(80, 80, 80, 0.2),
      -2.6em 0em 0 0em rgba(80, 80, 80, 0.2),
      -1.8em -1.8em 0 0em rgba(80, 80, 80, 0.2);
  }
  50% {
    box-shadow: 0em -2.6em 0em 0em rgba(80, 80, 80, 0.2),
      1.8em -1.8em 0 0em rgba(80, 80, 80, 0.2),
      2.5em 0em 0 0em rgba(80, 80, 80, 0.5),
      1.75em 1.75em 0 0em rgba(80, 80, 80, 0.7), 0em 2.5em 0 0em #505050,
      -1.8em 1.8em 0 0em rgba(80, 80, 80, 0.2),
      -2.6em 0em 0 0em rgba(80, 80, 80, 0.2),
      -1.8em -1.8em 0 0em rgba(80, 80, 80, 0.2);
  }
  62.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(80, 80, 80, 0.2),
      1.8em -1.8em 0 0em rgba(80, 80, 80, 0.2),
      2.5em 0em 0 0em rgba(80, 80, 80, 0.2),
      1.75em 1.75em 0 0em rgba(80, 80, 80, 0.5),
      0em 2.5em 0 0em rgba(80, 80, 80, 0.7), -1.8em 1.8em 0 0em #505050,
      -2.6em 0em 0 0em rgba(80, 80, 80, 0.2),
      -1.8em -1.8em 0 0em rgba(80, 80, 80, 0.2);
  }
  75% {
    box-shadow: 0em -2.6em 0em 0em rgba(80, 80, 80, 0.2),
      1.8em -1.8em 0 0em rgba(80, 80, 80, 0.2),
      2.5em 0em 0 0em rgba(80, 80, 80, 0.2),
      1.75em 1.75em 0 0em rgba(80, 80, 80, 0.2),
      0em 2.5em 0 0em rgba(80, 80, 80, 0.5),
      -1.8em 1.8em 0 0em rgba(80, 80, 80, 0.7), -2.6em 0em 0 0em #505050,
      -1.8em -1.8em 0 0em rgba(80, 80, 80, 0.2);
  }
  87.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(80, 80, 80, 0.2),
      1.8em -1.8em 0 0em rgba(80, 80, 80, 0.2),
      2.5em 0em 0 0em rgba(80, 80, 80, 0.2),
      1.75em 1.75em 0 0em rgba(80, 80, 80, 0.2),
      0em 2.5em 0 0em rgba(80, 80, 80, 0.2),
      -1.8em 1.8em 0 0em rgba(80, 80, 80, 0.5),
      -2.6em 0em 0 0em rgba(80, 80, 80, 0.7), -1.8em -1.8em 0 0em #505050;
  }
}
@keyframes load5 {
  0%,
  100% {
    box-shadow: 0em -2.6em 0em 0em #505050,
      1.8em -1.8em 0 0em rgba(80, 80, 80, 0.2),
      2.5em 0em 0 0em rgba(80, 80, 80, 0.2),
      1.75em 1.75em 0 0em rgba(80, 80, 80, 0.2),
      0em 2.5em 0 0em rgba(80, 80, 80, 0.2),
      -1.8em 1.8em 0 0em rgba(80, 80, 80, 0.2),
      -2.6em 0em 0 0em rgba(80, 80, 80, 0.5),
      -1.8em -1.8em 0 0em rgba(80, 80, 80, 0.7);
  }
  12.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(80, 80, 80, 0.7),
      1.8em -1.8em 0 0em #505050, 2.5em 0em 0 0em rgba(80, 80, 80, 0.2),
      1.75em 1.75em 0 0em rgba(80, 80, 80, 0.2),
      0em 2.5em 0 0em rgba(80, 80, 80, 0.2),
      -1.8em 1.8em 0 0em rgba(80, 80, 80, 0.2),
      -2.6em 0em 0 0em rgba(80, 80, 80, 0.2),
      -1.8em -1.8em 0 0em rgba(80, 80, 80, 0.5);
  }
  25% {
    box-shadow: 0em -2.6em 0em 0em rgba(80, 80, 80, 0.5),
      1.8em -1.8em 0 0em rgba(80, 80, 80, 0.7), 2.5em 0em 0 0em #505050,
      1.75em 1.75em 0 0em rgba(80, 80, 80, 0.2),
      0em 2.5em 0 0em rgba(80, 80, 80, 0.2),
      -1.8em 1.8em 0 0em rgba(80, 80, 80, 0.2),
      -2.6em 0em 0 0em rgba(80, 80, 80, 0.2),
      -1.8em -1.8em 0 0em rgba(80, 80, 80, 0.2);
  }
  37.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(80, 80, 80, 0.2),
      1.8em -1.8em 0 0em rgba(80, 80, 80, 0.5),
      2.5em 0em 0 0em rgba(80, 80, 80, 0.7), 1.75em 1.75em 0 0em #505050,
      0em 2.5em 0 0em rgba(80, 80, 80, 0.2),
      -1.8em 1.8em 0 0em rgba(80, 80, 80, 0.2),
      -2.6em 0em 0 0em rgba(80, 80, 80, 0.2),
      -1.8em -1.8em 0 0em rgba(80, 80, 80, 0.2);
  }
  50% {
    box-shadow: 0em -2.6em 0em 0em rgba(80, 80, 80, 0.2),
      1.8em -1.8em 0 0em rgba(80, 80, 80, 0.2),
      2.5em 0em 0 0em rgba(80, 80, 80, 0.5),
      1.75em 1.75em 0 0em rgba(80, 80, 80, 0.7), 0em 2.5em 0 0em #505050,
      -1.8em 1.8em 0 0em rgba(80, 80, 80, 0.2),
      -2.6em 0em 0 0em rgba(80, 80, 80, 0.2),
      -1.8em -1.8em 0 0em rgba(80, 80, 80, 0.2);
  }
  62.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(80, 80, 80, 0.2),
      1.8em -1.8em 0 0em rgba(80, 80, 80, 0.2),
      2.5em 0em 0 0em rgba(80, 80, 80, 0.2),
      1.75em 1.75em 0 0em rgba(80, 80, 80, 0.5),
      0em 2.5em 0 0em rgba(80, 80, 80, 0.7), -1.8em 1.8em 0 0em #505050,
      -2.6em 0em 0 0em rgba(80, 80, 80, 0.2),
      -1.8em -1.8em 0 0em rgba(80, 80, 80, 0.2);
  }
  75% {
    box-shadow: 0em -2.6em 0em 0em rgba(80, 80, 80, 0.2),
      1.8em -1.8em 0 0em rgba(80, 80, 80, 0.2),
      2.5em 0em 0 0em rgba(80, 80, 80, 0.2),
      1.75em 1.75em 0 0em rgba(80, 80, 80, 0.2),
      0em 2.5em 0 0em rgba(80, 80, 80, 0.5),
      -1.8em 1.8em 0 0em rgba(80, 80, 80, 0.7), -2.6em 0em 0 0em #505050,
      -1.8em -1.8em 0 0em rgba(80, 80, 80, 0.2);
  }
  87.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(80, 80, 80, 0.2),
      1.8em -1.8em 0 0em rgba(80, 80, 80, 0.2),
      2.5em 0em 0 0em rgba(80, 80, 80, 0.2),
      1.75em 1.75em 0 0em rgba(80, 80, 80, 0.2),
      0em 2.5em 0 0em rgba(80, 80, 80, 0.2),
      -1.8em 1.8em 0 0em rgba(80, 80, 80, 0.5),
      -2.6em 0em 0 0em rgba(80, 80, 80, 0.7), -1.8em -1.8em 0 0em #505050;
  }
}
