/*
    Colorbox Core Style:
    The following CSS is consistent between example themes and should not be altered.
*/
#colorbox.urvanov-syntax-highlighter-colorbox, #cboxOverlay.urvanov-syntax-highlighter-colorbox, .urvanov-syntax-highlighter-colorbox #cboxWrapper {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  overflow: hidden;
}

#cboxOverlay.urvanov-syntax-highlighter-colorbox {
  position: fixed;
  width: 100%;
  height: 100%;
}

.urvanov-syntax-highlighter-colorbox #cboxMiddleLeft, .urvanov-syntax-highlighter-colorbox #cboxBottomLeft {
  clear: left;
}

.urvanov-syntax-highlighter-colorbox #cboxContent {
  position: relative;
}

.urvanov-syntax-highlighter-colorbox #cboxLoadedContent {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.urvanov-syntax-highlighter-colorbox #cboxTitle {
  /* Fixes overlay issue preventing tag editor controls from being selected */
  display: none !important;
}

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

.urvanov-syntax-highlighter-colorbox #cboxPrevious, .urvanov-syntax-highlighter-colorbox #cboxNext, .urvanov-syntax-highlighter-colorbox #cboxClose, .urvanov-syntax-highlighter-colorbox #cboxSlideshow {
  cursor: pointer;
}

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

.urvanov-syntax-highlighter-colorbox .cboxIframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

#colorbox.urvanov-syntax-highlighter-colorbox, .urvanov-syntax-highlighter-colorbox #cboxContent, .urvanov-syntax-highlighter-colorbox #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.urvanov-syntax-highlighter-colorbox {
  background: #000;
}

#colorbox.urvanov-syntax-highlighter-colorbox {
  outline: 0;
}

.urvanov-syntax-highlighter-colorbox #cboxContent {
  margin-top: 20px;
  background: #000;
}

.urvanov-syntax-highlighter-colorbox .cboxIframe {
  background: #fff;
}

.urvanov-syntax-highlighter-colorbox #cboxError {
  padding: 50px;
  border: 1px solid #ccc;
}

.urvanov-syntax-highlighter-colorbox #cboxLoadedContent {
  border: 5px solid #000;
  background: #fff;
}

.urvanov-syntax-highlighter-colorbox #cboxTitle {
  position: absolute;
  top: -20px;
  left: 0;
  color: #ccc;
}

.urvanov-syntax-highlighter-colorbox #cboxCurrent {
  position: absolute;
  top: -20px;
  right: 0px;
  color: #ccc;
}

/* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
.urvanov-syntax-highlighter-colorbox #cboxPrevious, .urvanov-syntax-highlighter-colorbox #cboxNext, .urvanov-syntax-highlighter-colorbox #cboxSlideshow, .urvanov-syntax-highlighter-colorbox #cboxClose {
  border: 0;
  padding: 0;
  margin: 0;
  overflow: visible;
  width: auto;
  background: none;
}

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

.urvanov-syntax-highlighter-colorbox #cboxSlideshow {
  position: absolute;
  top: -20px;
  right: 90px;
  color: #fff;
}

.urvanov-syntax-highlighter-colorbox #cboxContent {
  margin-top: 0
}

.urvanov-syntax-highlighter-colorbox #cboxLoadedContent {
  border: 0
}
