/* Colorbox */
*:focus { outline: 0; }
#colorbox, #cboxOverlay, #cboxWrapper { position: absolute; top: 0; left: 0; z-index: 9999; overflow: visible; }
#cboxOverlay { position: fixed; width: 100%; height: 100%; z-index: 9999; }
#cboxMiddleLeft, #cboxBottomLeft { clear: left; }
#cboxContent { position: relative; }
#cboxLoadedContent { overflow: auto; }
#cboxTitle { margin: 0; }
#cboxLoadingOverlay, #cboxLoadingGraphic { position: absolute; top: 0; left: 0; width: 100%; }
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow { cursor: pointer; background-repeat: no-repeat; }
.cboxPhoto { float: left; margin: auto; border: 0; display: block; width: auto !important; height: auto !important; max-width: 800px; max-height: 600px; margin: 1em; }
.cboxIframe { width: 100%; height: 100%; display: block; border: 0; }
#cboxOverlay { background: rgba(0,0,0,0.5); }
#colorbox, #cboxContent { padding: 0px; }
.cboxIframe { background: #FFF; }
#cboxError { padding: 50px; border: 1px solid #ccc; }
#cboxLoadedContent { background: #FFF; padding: 0px; }
#cboxLoadedContent iframe { display: block; }
#cboxTitle { margin-top: .5em; font-size: .9em; color: #FFF; }
#cboxCurrent { position: absolute; top: -20px; right: 50px; color: #000; font-size: 11px !important; }
#cboxSlideshow { position: absolute; top: -20px; right: 90px; color: #fff; }
#cboxPrevious, #cboxNext { position: absolute; top: 50%;  margin-top: -16px; width: 20px; height: 31px; text-indent: -9999px; }
#cboxPrevious { left: 5px; background-position: -700px 0px; }
#cboxPrevious:hover { background-position: -700px -35px; }
#cboxNext { right: 5px; background-position: -725px 0px; }
#cboxNext:hover { background-position: -725px -35px; }
#cboxLoadingOverlay { background: #FFF; }
#cboxClose { background: transparent; position: absolute; left: 100%; top: 0; display: block; padding: 0; margin: 0;
                    width: 30px; height: 30px; overflow: hidden; font-family: Verdana; border: none; font-size: 32px;
                    color: #FFF; line-height: 30px; text-transform: uppercase; }
#cboxClose:hover { background-position: -328px -104px; }
#colorbox .loading { padding: 3em; background: url(images/loading.gif) center no-repeat; }