/*
    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:10001; overflow:hidden;}
#cboxOverlay{position:fixed; width:100%; height:100%;}
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
#cboxContent{position:relative;}
#cboxLoadedContent{overflow:auto;}
#cboxTitle{margin:0;}
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%;}
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
.cboxPhoto{float:left;  border-bottom:25px solid #eee; display:block; padding:20px 20px 40px 20px;}
.cboxIframe{width:100%; height:100%; display:block; border:0;}

/* 
    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:#222;
}
#colorbox{
  .modal();
  margin:0 !important;
  z-index:10002; 
}
#cboxLoadedContent{
  .modal-body();
 
  max-height: none;
  background:#fff;

}
#cboxTitle{
  .modal-header();
  position:absolute;
  bottom:30px;
  left:10px;
  right:10px;
  font-size: 12px;
  line-height: @baseline * 2;
}

.modal-footer {
  position:absolute;
  left:0;
  right:0;
  bottom:0;
}

.cb-icon{
  border:0; 
  font: 0/0 a; 
  text-shadow: none; 
  color: transparent; 
  background-color: transparent;
  position: absolute;
  width: 14px;
  height: 14px;
  line-height: 14px;
  background-image: url("@{iconSpritePath}");
  background-repeat: no-repeat;
  .ie7-restore-right-whitespace();
}


#cboxCurrent{position:absolute; bottom:2px; left:58px; color:@grayDark;}
#cboxSlideshow{position:absolute;  bottom:4px; right:30px; color:@grayDark;}

#cboxPrevious{.cb-icon(); .icon-arrow-left(); bottom:0px; left:5px;}
#cboxNext{.cb-icon(); .icon-arrow-right();bottom:0px; left:19px;}
#cboxClose{.cb-icon(); .icon-remove(); bottom:0px; right:5px; }
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{position:absolute;background:url(images/controls.png) no-repeat 0px 0px; width:23px; height:23px; text-indent:-9999px;}
#cboxLoadingGraphic{background:url(img/loading.gif) no-repeat center center;}

        #cboxPrevious{left:0px; background-position: -51px -25px;}
        #cboxPrevious:hover{background-position:-51px 0px;}
        #cboxNext{left:27px; background-position:-75px -25px;}
        #cboxNext:hover{background-position:-75px 0px;}
        #cboxClose{right:0; background-position:-100px -25px;}
        #cboxClose:hover{background-position:-100px 0px;}
        
        .cboxSlideshow_on #cboxSlideshow{background-position:-125px 0px; right:27px;}
        .cboxSlideshow_on #cboxSlideshow:hover{background-position:-150px 0px;}
        .cboxSlideshow_off #cboxSlideshow{background-position:-150px -25px; right:27px;}
        .cboxSlideshow_off #cboxSlideshow:hover{background-position:-125px 0px;}

.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)";
}