/*
    Colorbox Core Style:
    The following CSS is consistent between example themes and should not be altered.
*/
#colorbox, #cboxOverlay, #cboxWrapper { position: absolute; top: 0; left: 0; z-index: 9999; }
#cboxWrapper { max-width: none; }
#cboxOverlay { position: fixed; width: 100%; height: 100%; }
#cboxMiddleLeft, #cboxBottomLeft { clear: left; }
#cboxContent { position: relative; }
#cboxLoadedContent { overflow: auto; webkit-overflow-scrolling: touch; }
#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; padding: 0; margin: 0; }
#colorbox, #cboxContent, #cboxLoadedContent { box-sizing: content-box; }

/* 
    User Style:
    Change the following styles to modify the appearance of Colorbox.  They are
    ordered & tabbed in a way that represents the nesting of the generated HTML.
*/
#cboxOverlay { background: #000; opacity: 0.25!important; }
#colorbox { outline: 0; overflow: visible!important; }
#cboxContent { overflow: visible; background: #000; border: 5px solid #fff; box-shadow: 0 0 3px rgba(0,0,0,0.25); }
#cboxLoadingOverlay { opacity: 0!important; }
.cboxIframe { background: #fff; }
#cboxError { padding: 50px; border: 1px solid #ccc; }
#cboxLoadingGraphic { background: url(images/loading.gif) no-repeat center center; }
#cboxTitle { position: absolute; bottom: 0; left: 0; width: calc(100% - 10px); color: #fff; padding: 10px 72px 10px 16px; box-sizing: border-box; margin: 5px; text-shadow: 0 0 3px rgba(0,0,0,0.5); }
#cboxCurrent { position: absolute; bottom: -24px; right: 10px; font-size: 12px; }
#cboxCurrent::first-letter { text-transform: uppercase; }

/* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
#cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose { border: 2px solid #fff!important; box-sizing: content-box!important; padding: 0; margin: 0; overflow: visible; text-indent: -9999px; width: 25px; height: 25px; position: absolute; background: #000; color: #fff; border-radius: 50%; box-shadow: 0 0 4px rgba(0,0,0,0.75); }
#cboxSlideshow { text-indent: 2px; display: inline-flex!important; align-content: center; justify-content: center; align-items: center; font-size: 12px; bottom: 9px!important; top: auto!important; right: 46px!important; }
#cboxPrevious:before, #cboxNext:before, #cboxClose:before { font-size: 22px!important; line-height: 22px!important; }
#cboxPrevious:before { text-indent: 1px!important; }
#cboxNext:before { text-indent: 4px!important; }
#cboxClose:before { text-indent: 4px!important; line-height: 26px!important; }
#cboxSlideshow, #cboxPrevious:before, #cboxNext:before, #cboxClose:before { font-family: -apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue',  Ubuntu, Arial, sans-serif; }
#cboxPrevious:before, #cboxNext:before, #cboxClose:before { content: '\00D7'; position: absolute; width: 100%; height: 100%; top: 0; left: 0; text-align: center; line-height: 23px; font-size: 12px; text-indent: 0; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; }
#cboxPrevious:before, #cboxNext:before { font-size: 18px; line-height: 20px; }

/* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
#cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active { outline: 0; }
#cboxPrevious, #cboxNext, .cboxSlideshow_on #cboxSlideshow { bottom: 9px; }
#cboxPrevious:hover, #cboxNext:hover, .cboxSlideshow_on #cboxSlideshow:hover { margin-bottom: -1px; }
#cboxPrevious { right: 48px; }
#cboxPrevious:before { content: '\2039'; }
#cboxNext { right: 10px; }
#cboxNext:before { content: '\203A'; }
.cboxSlideshow_on #cboxPrevious, .cboxSlideshow_off #cboxPrevious { right: 82px; }
.cboxSlideshow_on #cboxSlideshow { right: 40px; }
#cboxClose:hover { margin-top: 1px; }
#cboxClose { right: -10px; top: -10px; }
.cboxSlideshow_off #cboxSlideshow { background-position: -100px 0px; right: 44px; }
.cboxSlideshow_off #cboxSlideshow:hover { background-position: -75px -25px; }