/*
    ColorBox Core Style
    The following rules are the styles that are consistant between themes.
    Avoid changing this area to maintain compatability with future versions of ColorBox.
*/
#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; overflow:hidden;}
#cboxLoadedContent{overflow:auto;}
#cboxLoadedContent iframe{display:block; width:100%; height:100%; border:0;}
#cboxTitle{margin:0;}
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%;}
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}

/* 
    Example user style
    The following rules are ordered and tabbed in a way that represents the
    order/nesting of the generated HTML, so that the structure easier to understand.
*/
#cboxOverlay{background:none;}
#colorbox{ margin-left:20px}
    #cboxTopLeft{width:21px; height:21px; background:url(../images/controls.png) no-repeat -100px 0;}
    #cboxTopRight{width:21px; height:21px; background:url(../images/controls.png) no-repeat -129px 0;}
    #cboxBottomLeft{width:21px; height:21px; background:url(../images/controls.png) no-repeat -100px -29px;}
    #cboxBottomRight{width:21px; height:21px; background:url(../images/controls.png) no-repeat -129px -29px;}
    #cboxMiddleLeft{width:21px; background:url(../images/controls.png) left top repeat-y;}
    #cboxMiddleRight{width:21px; background:url(../images/controls.png) right top repeat-y;}
    #cboxTopCenter{height:21px; background:url(../images/border.png) 0 0 repeat-x;}
    #cboxBottomCenter{height:21px; background:url(../images/border.png) 0 -29px repeat-x;}
    #cboxContent{background:#fff;}
        #cboxLoadedContent{padding:16px 0px 0px 0px;}
        #cboxTitle{position:absolute; top:0px; left:11px; text-align:left; width:100%; color:#000;}
        #cboxCurrent{position:absolute; top:-9999px; left:58px; color:#949494; display:none}
        #cboxSlideshow{position:absolute; top:4px; right:30px; color:#0092ef;}
        #cboxPrevious{position:absolute; top:1px; right:50px; background:url(../images/controls.png) no-repeat -80px -5px; width:14px; height:14px; text-indent:-9999px;}
        #cboxPrevious.hover{background-position:-80px -5px;}
        #cboxNext{position:absolute; top:1px; right:31px; background:url(../images/controls.png) no-repeat -55px -5px; width:14px; height:14px; text-indent:-9999px;}
        #cboxNext.hover{background-position:-55px -5px;}
        #cboxLoadingOverlay{background:url(../images/loading_background.png) no-repeat center center;}
        #cboxLoadingGraphic{background:url(../images/loading.gif) no-repeat center center;}
        #cboxClose{position:absolute; top:1px; right:12px; background:url(../images/controls.png) no-repeat -30px -5px; width:14px; height:14px; text-indent:-9999px;}
        #cboxClose.hover{background-position:-30px -5px;}

/*
    The following fixes png-transparency for IE6.  
    It is also necessary for png-transparency in IE7 & IE8 to avoid 'black halos' with the fade transition
    
    Since this method does not support CSS background-positioning, it is incompatible with CSS sprites.
    Colorbox preloads navigation hover classes to account for this.
    
    !! Important Note: AlphaImageLoader src paths are relative to the HTML document,
    while regular CSS background images are relative to the CSS document.
*/
.cboxIE #cboxTopLeft{background: url(../images/internet_explorer/borderTopLeft.png);}
.cboxIE #cboxTopCenter{background: url(../images/internet_explorer/borderTopCenter.png);}
.cboxIE #cboxTopRight{background: url(../images/internet_explorer/borderTopRight.png);}
.cboxIE #cboxBottomLeft{background: url(../images/internet_explorer/borderBottomLeft.png);}
.cboxIE #cboxBottomCenter{background: url(../images/internet_explorer/borderBottomCenter.png);}
.cboxIE #cboxBottomRight{background: url(../images/internet_explorer/borderBottomRight.png);}
.cboxIE #cboxMiddleLeft{background: url(../images/internet_explorer/borderMiddleLeft.png);}
.cboxIE #cboxMiddleRight{background: url(../images/internet_explorer/borderMiddleRight.png);}
