#colorbox, #cboxOverlay, #cboxWrapper { position: absolute; top: 0; left: 0; z-index: 9999; overflow: hidden; }

#cboxWrapper { max-width: none; }
#cboxOverlay { position: fixed; width: 100%; height: 100%; }
#cboxMiddleLeft, #cboxBottomLeft { clear: left; }
#cboxContent { position: relative; padding: 47px 60px 47px 60px; background:#f1f1f1 !important; }
#cboxLoadedContent { overflow: auto; -webkit-overflow-scrolling: touch; }
#cboxTitle { margin: 0; }
#cboxLoadingOverlay, #cboxLoadingGraphic { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow { cursor: pointer; }
.cboxPhoto { float: left; margin: auto; border: 0; display: block; max-width: none; -ms-interpolation-mode: bicubic; }
.cboxIframe { width: 100%; height: 100%; display: block; border: 0; }
#colorbox, #cboxContent, #cboxLoadedContent { box-sizing: content-box; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; }
#cboxOverlay { background: url(../images/overlay.png) repeat 0 0; }
#colorbox { padding:29px 29px 0 0; outline: 0; }
#cboxWrapper {padding:29px 29px 0 0; }
#cboxContent { background: #fff; overflow: visible; }
.cboxIframe { background: #fff; }
#cboxError { padding: 50px; border: 1px solid #ccc; }
#cboxLoadedContent { }
#cboxTitle { display: none !important; }
#cboxCurrent { position: absolute; top: 13px; left: 0; width:100%; text-align:center; color: #404040; font-size:16px; font-weight:700; }
#cboxCurrent span { position:relative; top:1px; display:inline-block; width:8px; height:13px; background:url(../images/separate.png) no-repeat;}
#cboxLoadingOverlay { background: url(images/loading_background.html) no-repeat center center; }
#cboxLoadingGraphic { background: url(images/loading.html) no-repeat center center; }
/* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
#cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose { border: 0; padding: 0; margin: 0; overflow: visible; width: auto; background: none; }
/* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
#cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active { outline: 0; }
#cboxSlideshow { position: absolute; bottom: 4px; right: 30px; color: #0092ef; }
#cboxPrevious { position: absolute; top: 50%; left: 20px; background: url(../images/sprite.png) no-repeat 0 0; width: 14px; height: 27px; text-indent: -9999px; outline:none; }
#cboxNext { position: absolute; top: 50%; right: 20px; background: url(../images/sprite.png) no-repeat 0 -47px; width: 14px; height: 27px; text-indent: -9999px; outline:none; }
#cboxClose { position: absolute; top: -29px; right: -29px; background: url(../images/sprite.png) no-repeat 0 -1090px; width: 29px; height: 29px; text-indent: -9999px; outline:none; }
#cboxClose:hover {background: url(../images/sprite.png) no-repeat 0 -1139px;}