#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;}
#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 img#modalPhoto{display:block; border:0; margin:auto;}
#modalLoadedContent embed{display:block; border:0;}/* Display:block removes the line-height gap underneath images, iframes, and embedded content */
#modalLoadingOverlay{position:absolute; width:100%; height:100%; top:0; left:0;}


#modalBackgroundOverlay{background:#000;}
#colorBox{}
#borderTopLeft{width:27px; height:27px; background:url(../img/colorbox/borderTopLeft.png) 0 0 no-repeat;}
#borderTopCenter{height:27px; background:url(../img/colorbox/borderTopCenter.png) 0 0 repeat-x;}
#borderTopRight{width:27px; height:27px; background:url(../img/colorbox/borderTopRight.png) 0 0 no-repeat;}
#borderBottomLeft{width:27px; height:27px; background:url(../img/colorbox/borderBottomLeft.png) 0 0 no-repeat;}
#borderBottomCenter{height:27px; background:url(../img/colorbox/borderBottomCenter.png) 0 0 repeat-x;}
#borderBottomRight{width:27px; height:27px; background:url(../img/colorbox/borderBottomRight.png) 0 0 no-repeat;}
#borderMiddleLeft{width:27px; background:url(../img/colorbox/borderMiddleLeft.png) 0 0 repeat-y;}
#borderMiddleRight{width:27px; background:url(../img/colorbox/borderMiddleRight.png) 0 0 repeat-y;}
#modalContent { background:#fff; line-height:2em; }
#modalContent a {color: #999;}
#modalLoadedContent{margin-bottom:20px;}
#contentTitle{position:absolute; top:-25px; left:2em; font-weight:bold; color: #fff;}
#contentCurrent{position:absolute; bottom:0px; left:0px; right:0; font-weight:bold; color:#999; text-align: center;}
#contentPrevious{position:absolute; bottom:0px; left:0; font-weight:bold;}
#contentNext{position:absolute; bottom:0px; left:80px; font-weight:bold;}
#modalLoadingOverlay{background:url(../img/colorbox/loading.gif) 5px 5px no-repeat #fff;}
#modalClose{position:absolute; bottom:0; right:0; display:block; font-weight:bold;}
#modalClose:hover{background-position:bottom left;}



