/**
 * 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: auto;
  -webkit-overflow-scrolling: touch;
}
#cboxTitle {
  margin: 0;
}
#cboxLoadingOverlay, #cboxLoadingGraphic {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
/**
 * These elements are buttons, and may need to have additional
 * styles reset to avoid unwanted base styles.
 */
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow {
  border: 0;
  padding: 0;
  margin: 0;
  overflow: visible;
  width: auto;
  background: none;
  cursor: pointer;
}
/**
 * Avoid outlines on :active (mouseclick),
 * but preserve outlines on :focus (tabbed navigating)
 */
#cboxPrevious:active, #cboxNext:active, #cboxClose:active, #cboxSlideshow:active {
  outline: 0;
}
.cboxPhoto {
  float: left;
  margin: auto;
  border: 0;
  display: block;
  max-width: none;
}
.cboxIframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}
/* Reset box sizing to content-box if theme is using border-box. */
#colorbox, #cboxContent, #cboxLoadedContent {
  
  background: transparent;
}

/**
 * Colorbox module plain style:
 * The styles are ordered & tabbed in a way that represents
 * the nesting of the generated HTML.
 */
#cboxOverlay {
  background: #333333;
}
#colorbox {
  outline: 0;
}
  #cboxWrapper {}
    #cboxContent {
      overflow: hidden;
    }
      #cboxContent, .cboxPhoto {
        border: 0;
      }
      #cboxError {
        padding: 50px;
        border: 0px;
      }
      #cboxTitle {
        position: absolute;
        background: transparent;
        bottom: 0;
        left: 0;
        color: #535353;
        width: 100%;
        padding: 0;
        border: 0;
        
      }

      #cboxClose.cbox-close-plain {
        position: absolute;
        font-size: 20px;
        line-height: 18px;
        text-align: center;
        color: rgba(255, 255, 255, 0.7);
        background: rgba(0, 0, 0, 0.5);
        top: 4px;
        right: 4px;
        width: 20px;
        height: 20px;
        border: 0;
      }
      .cbox-close-plain:hover {
        color: rgba(255, 255, 255, 0.9);
        background: rgba(0, 0, 0, 0.8);
      }

      #cboxPrevious{position:absolute; top:50%; left:5px; margin-top:-32px; background:url(../photos/controls.png) top left no-repeat; width:50px; height:105px; text-indent:-9999px; border: 0;}
        #cboxPrevious.hover{background-position:bottom left;}
        #cboxNext{position:absolute; top:50%; right:5px; margin-top:-32px; background:url(../photos/controls.png) top right no-repeat; width:50px; height:105px; text-indent:-9999px; border: 0;}
        #cboxNext.hover{background-position:bottom right;}
        #cboxLoadingOverlay{background:#333333;}
        #cboxLoadingGraphic{background:url(../photos/loading.gif) center center no-repeat;}
        #cboxClose{position:absolute; top:5px; left:5px; display:block; background:url(../photos/controls.png) top center no-repeat; width:60px; height:39px; text-indent:-9999px;}

    #cboxBottomLeft{width:14px; height:9px; background: rgba(0, 0, 0, 0.5)}
#cboxBottomCenter{width:1px; height:9px; background: rgba(0, 0, 0, 0.5)repeat-x bottom left;}
#cboxBottomRight{width:14px; height:9px; background: rgba(0, 0, 0, 0.5) no-repeat}
        #cboxClose.hover{background-position:bottom center;}