/*
    ColorBox example user style
    These rules are ordered and tabbed in a way that represents the order/nesting of the generated HTML,
*/

#colorbox, #modalBackgroundOverlay, #modalWrap{position:absolute; top:0; left:0; z-index:9999;}
#modalBackgroundOverlay{position:fixed; width:100%; height:100%;}
#colorbox{overflow:hidden; padding:1px; margin-top:-1px; margin-left:-1px;}/*padding fixes a ghosting issue in IE7, the negative margin compensates */
    #modalWrap{width:9000px; height:9000px;}
        #modalContent, #borderTopLeft, #borderTopCenter, #borderTopRight, #borderBottomLeft, #borderBottomCenter, #borderBottomRight, #borderMiddleLeft, #borderMiddleRight {float:left; height:0; width:0; overflow:hidden;}
        #borderMiddleLeft, #borderBottomLeft{clear:left;}
        #modalContent{position:relative; overflow:visible;}
            #contentTitle{margin:0;display: none;}
            #modalClose, #contentPrevious, #contentNext{outline:none; cursor:pointer; border:0; margin:0;}
            #modalLoadedContent{overflow:auto; width:0; height:0;}
            #modalLoadedContent iframe{display:block; width:100%; height:100%; border:0;}
            #modalLoadedContent embed{display:block; border:0;}/* Display:block removes the line-height gap embedded content */
            #modalLoadingOverlay{position:absolute; width:100%; height:100%; top:0; left:0;}

/* template 1 */
#modalBackgroundOverlay{background:url(../images/modal/stripe.png) 0 0 repeat;}
#colorbox{}
    #borderTopLeft{width:21px; height:21px; background:url(../images/modal/borderTopLeft.png) 0 0 no-repeat;}
    #borderTopCenter{height:21px; background:url(../images/modal/borderTopCenter.png) 0 0 repeat-x;}
    #borderTopRight{width:21px; height:21px; background:url(../images/modal/borderTopRight.png) 0 0 no-repeat;}
    #borderBottomLeft{width:21px; height:21px; background:url(../images/modal/borderBottomLeft.png) 0 0 no-repeat;}
    #borderBottomCenter{height:21px; background:url(../images/modal/borderBottomCenter.png) 0 0 repeat-x;}
    #borderBottomRight{width:21px; height:21px; background:url(../images/modal/borderBottomRight.png) 0 0 no-repeat;}
    #borderMiddleLeft{width:21px; background:url(../images/modal/borderMiddleLeft.png) 0 0 repeat-y;}
    #borderMiddleRight{width:21px; background:url(../images/modal/borderMiddleRight.png) 0 0 repeat-y;}
    #modalContent{background:#fff;}
        #modalLoadedContent{margin-bottom:28px;}
            #contentTitle{position:absolute; top:3px; left:0; text-align:center; width:100%; background:#fff; font-weight:bold; color:#949494;}
            #contentCurrent{position:absolute; bottom:3px; left:58px; font-weight:bold; color:#949494;}
            #contentPrevious{position:absolute; bottom:0; left:0px; background:url(../images/modal/controls.png) -25px 0px no-repeat; width:25px; height:25px; text-indent:-9999px;}
            #contentPrevious:hover, #contentPrevious.hover{background-position:-25px -25px;}
            #contentNext{position:absolute; bottom:0; left:27px; background:url(../images/modal/controls.png) 0px 0px no-repeat; width:25px; height:25px; text-indent:-9999px;}
            #contentNext:hover, #contentNext.hover{background-position:0px -25px;}
        #modalLoadingOverlay{background:url(../images/modal/loading.gif) center center no-repeat #fff;}
        #modalClose{position:absolute; top:0; right:0; background:url(../images/modal/controls.png) -50px 0px no-repeat; width:25px; height:25px; text-indent:-9999px;}
        #modalClose:hover, #modalClose.hover{background-position:-50px -25px;}