/*
    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.
*/
#modalbox, #mboxOverlay, #mboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
#mboxOverlay{position:fixed; width:100%; height:100%;}
#mboxMiddleLeft, #mboxBottomLeft, #mboxTitleMiddleLeft{clear:left;}

#mboxContent{position:relative; overflow:hidden;}
#mboxLoadedContent{overflow:hidden;}
#mboxLoadedContent iframe{display:block; width:100%; height:100%; border:0;}

#mboxLoadingOverlay, #mboxLoadingGraphic{position:absolute; top:0; left:0; width:100%;}


/* 
    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.
*/
#mboxOverlay{background:url(images/overlay.png) 0 0 repeat;}
#modalbox{}
    #mboxTopLeft{width:21px; height:21px; background:url(images/modalbox_controls.png) -100px 0 no-repeat;}
    #mboxTopRight{width:21px; height:21px; background:url(images/modalbox_controls.png) -129px 0 no-repeat;}
    
    #mboxTitleMiddleLeft{width:21px; height:21px; background:url(images/modalbox_controls.png) left top repeat-y;}
    #mboxTitle{height: 21px; background-color: #cfff88; }
    #mboxTitleMiddleRight{width:21px; height:21px; background:url(images/modalbox_controls.png) right top repeat-y;}
    
    #mboxBottomLeft{width:21px; height:21px; background:url(images/modalbox_controls.png) -100px -29px no-repeat;}
    #mboxBottomRight{width:21px; height:21px; background:url(images/modalbox_controls.png) -129px -29px no-repeat;}
    
    
    
    #mboxMiddleLeft{width:21px; background:url(images/modalbox_controls.png) left top repeat-y;}
    /*#mboxMiddleLeftTop{width:21px; height: 50px;  background:url(images/modalbox_vborder.png) left top repeat-y;}
    #mboxMiddleLeftMiddle{width:21px; height: 150px;}
    #mboxMiddleLeftBottom{width:21px; height: 150px; background:url(images/modalbox_vborder.png) left bottom repeat-y;}*/
    
    #mboxMiddleLeftMiddle{width:21px; height: 250px; margin-top: 50px; background:url(images/modalbox_vborder.png) left top repeat-y;}
    
    #mboxMiddleRight{width:21px; background:url(images/modalbox_controls.png) right top repeat-y;}
    
    #mboxTopCenter{height:21px; background:url(images/modalbox_border.png) 0 0 repeat-x;}
    #mboxBottomCenter{height:21px; background:url(images/modalbox_border.png) 0 -29px repeat-x;}
    #mboxContent{background:#cfff88;}
        #mboxLoadedContent{margin:0px;}        
        #mboxLoadingOverlay{background:url(images/loading_background.png) center center no-repeat;}
        #mboxLoadingGraphic{background:url(images/loading.gif) center center no-repeat;}


/*
    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.
*/
.mboxIE #mboxTopLeft{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="images/internet_explorer/borderTopLeft.png", sizingMethod='scale');}
.mboxIE #mboxTopCenter{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="images/internet_explorer/borderTopCenter.png", sizingMethod='scale');}
.mboxIE #mboxTopRight{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="images/internet_explorer/borderTopRight.png", sizingMethod='scale');}
.mboxIE #mboxBottomLeft{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="images/internet_explorer/borderBottomLeft.png", sizingMethod='scale');}
.mboxIE #mboxBottomCenter{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="images/internet_explorer/borderBottomCenter.png", sizingMethod='scale');}
.mboxIE #mboxBottomRight{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="images/internet_explorer/borderBottomRight.png", sizingMethod='scale');}
.mboxIE #mboxMiddleLeft{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="images/internet_explorer/borderMiddleLeft.png", sizingMethod='scale');}
.mboxIE #mboxMiddleRight{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="images/internet_explorer/borderMiddleRight.png", sizingMethod='scale');}
