/* container */
#lightbox-anchor { position:absolute; top:10%; left:0; z-index: 9005; width:100% }
#lightbox-container { width:890px; height:641px; position:relative; display:none; margin:0 auto; background-color:#001B39 }
#lightbox-container .ui-element { background:url(../images/layout/lightbox/ui.gif) no-repeat }

/* content holder */
#lightbox-content { background-repeat:no-repeat; width:100%; height:100%; background-color:#001B39; z-index:9005; position:absolute }
#lightbox-content.loading { background:#001B39 url(../images/loaders/thumbnail-loader.gif) no-repeat 50% 50% }

/* close */
#lightbox-container .lightbox-close { display:block; position:absolute; float:right; right:-15px; top:-15px; width:53px; height:39px; background-position: -70px -105px; z-index:9006 }
#lightbox-container .lightbox-close:hover { background-position:-70px -152px }

/* borders*/
#lightbox-container .border { position:absolute; float:left; z-index:9006 }
#lightbox-container #lb-border-top { background:#015278; height:3px; top:-3px; left:5px; width:880px; background-position:-4px 0 }
#lightbox-container #lb-border-right { background:#00354d url(../images/layout/lightbox/frame.gif) -3px -6px no-repeat; width:3px; top:5px; right:-3px; height:632px }
#lightbox-container #lb-border-bottom { background:#00354d; height:3px; bottom:-3px; left:5px; width:878px; padding:0 1px }
#lightbox-container #lb-border-left { background:#00354d url(../images/layout/lightbox/frame.gif) -3px -6px no-repeat; width:3px; top:5px; left:-3px; height:632px }

/* corners */
#lightbox-container .corner { position:absolute; background:url(../images/layout/lightbox/frame.gif); width:8px; height:8px; float:left; z-index:9006 }
#lightbox-container .corner-top-left { background-position:-8px -8px; top:-3px; left:-3px }
#lightbox-container .corner-bottom-left { background-position:-8px -16px; bottom:-4px; left: -3px }
#lightbox-container .corner-top-right { background-position:-16px -8px; top:-3px; right:-3px }
#lightbox-container .corner-bottom-right { background-position:-16px -16px; bottom:-4px; right:-3px }

/* paging */
#lightbox-container .control-wrapper { height:39px; position:absolute; float:left; width:100%; bottom:-21px; z-index:9006 }
#lightbox-container .control-wrapper .lightbox-controls { width:151px; height:39px;  margin:0 auto; background:none }
#lightbox-container .control-wrapper a { display:block; height:50px; float:left; margin-top:1px }

/* paging - previous */
#lightbox-container .control-wrapper a.previous { width:51px; background-position:0 -5px }
#lightbox-container .control-wrapper a.previous:hover { background-position:0 -55px }

/* paging - gallery view */
#lightbox-container .control-wrapper a.gallery-view { position:relative; top:-51px; left:51px; width:49px; background-position:-51px -5px }
#lightbox-container .control-wrapper a.gallery-view:hover { background-position:-51px -55px }

/* paging - next */
#lightbox-container .control-wrapper a.next { margin-left:49px; width:51px; background-position:-100px -5px }
#lightbox-container .control-wrapper a.next:hover { background-position:-100px -55px }

/* no paging */
#lightbox-container .control-wrapper.no-paging .lightbox-controls { background:none; width:53px }
#lightbox-container .control-wrapper.no-paging a.previous,
#lightbox-container .control-wrapper.no-paging a.next { display:none }
#lightbox-container .control-wrapper.no-paging a.gallery-view { top:0; left:0; width:53px; height:46px; background-position:-5px -105px }
#lightbox-container .control-wrapper.no-paging a.gallery-view:hover { background-position:-5px -152px }

/* no gallery */
#lightbox-container .control-wrapper.no-gallery a.gallery-view { display:none }
#lightbox-container .control-wrapper.no-gallery .lightbox-controls { background-position:0 -315px; width:102px }
#lightbox-container .control-wrapper.no-gallery a.previous { width:51px; background-position:0 -5px }
#lightbox-container .control-wrapper.no-gallery a.previous:hover { background-position:0 -55px }
#lightbox-container .control-wrapper.no-gallery a.next { width:51px; margin-left:0 }
#lightbox-container .control-wrapper.no-gallery a.next:hover { }

/* no controls */
#lightbox-container .control-wrapper.no-gallery.no-paging { display:none }