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

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

#cboxMiddleLeft, #cboxBottomLeft {
  clear: left; }

#cboxContent {
  position: relative; }

#cboxLoadedContent {
  overflow: visible !important;
  -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; }

#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: #000 url(/themes/default/resources/3rd/img/loading.gif) 50% no-repeat; }

#colorbox {
  outline: 0; }

#cboxTopLeft {
  width: 50px;
  height: 50px;
  background: transparent; }

#cboxTopRight {
  width: 50px;
  height: 50px;
  background: transparent; }

#cboxBottomLeft {
  width: 50px;
  height: 50px;
  background: transparent; }

#cboxBottomRight {
  width: 50px;
  height: 50px;
  background: transparent; }

#cboxMiddleLeft {
  width: 50px;
  background: transparent; }

#cboxMiddleRight {
  width: 50px;
  background: transparent; }

#cboxTopCenter {
  height: 50px;
  background: transparent; }

#cboxBottomCenter {
  height: 50px;
  background: transparent; }

#cboxContent {
  background: #000;
  overflow: visible; }

.cboxIframe {
  background: transparent; }

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

#cboxLoadedContent {
  margin-bottom: 0; }

#cboxLoadedContent img {
  box-shadow: 0 2px 38px rgba(0, 0, 0, 0.36);
  width: 100% !important;
  height: auto !important; }

#cboxTitle {
  position: absolute;
  top: -40px;
  left: 0;
  width: 100%;
  text-align: center;
  width: 100%;
  color: #fff;
  font-size: 16px;
  line-height: 20px; }

#cboxCurrent {
  position: absolute;
  top: -40px;
  left: 0px;
  color: #fff;
  font-size: 16px;
  line-height: 20px; }

#cboxLoadingOverlay {
  background: transparent; }

#cboxLoadingGraphic {
  background: url(/themes/default/resources/3rd/img/loading.gif) no-repeat center 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;
  background: none; }

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

#cboxSlideshow {
  display: none; }

#cboxPrevious {
  background: url(/themes/default/resources/3rd/img/slideshow-arrows.png) 0 0;
  width: 32px;
  height: 56px;
  position: absolute;
  top: 50%;
  left: -50px;
  margin-top: -26px;
  text-indent: -9999px;
  background-size: 65px 56px; }

#cboxNext {
  background: url(/themes/default/resources/3rd/img/slideshow-arrows.png) -33px 0;
  width: 32px;
  height: 56px;
  position: absolute;
  top: 50%;
  right: -50px;
  margin-top: -26px;
  text-indent: -9999px;
  background-size: 65px 56px; }

#cboxClose {
  background: url(/themes/default/resources/3rd/img/ico-close.png);
  width: 43px;
  height: 40px;
  position: absolute;
  top: -50px;
  right: 0px;
  text-indent: -9999px; }

@media screen and (max-width: 1024px) {
  #cboxPrevious {
    margin-left: -370px; }

  #cboxNext {
    margin-left: 338px; }

  #colorbox, #cboxWrapper {
    overflow: visible !important; }

  #cboxLoadedContent {
    max-width: 600px; } }
