/*
    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; overflow:hidden; -webkit-transform: translate3d(0,0,0);}
#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;}
#cboxTitle{margin:0;}
#cboxTitle2 { position: absolute; left: 0; top: -52px; line-height: 32px; min-height: 52px; background-color: #FFF; width: 100%; box-sizing: border-box; line-height: 16px; padding: 10px 10px; }
    #cboxTitle2 span { display: block; width: calc(100% - 80px); }
#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; -moz-box-sizing:content-box; -webkit-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:rgba(0,0,0,0.6);}
#colorbox{outline:0;}
    #cboxContent{margin-top:52px; overflow:visible; background:#FFF;}
        .cboxIframe{background:#fff;}
        #cboxError{padding:50px; }
        #cboxLoadedContent{background:#FFF; padding: 0 10px 10px;}
        #cboxLoadingGraphic{background:url(images/loading.gif) no-repeat center center;}
        #cboxLoadingOverlay{background:#FFF;}
        #cboxTitle{position:absolute; bottom: 10px; left: 10px; right: 10px; background-color: rgba(0,0,0,0.3); color: #FFF; padding: 5px; }
        #cboxCurrent{position:absolute; top:-32px; right:205px; text-indent:-9999px;}

        #cboxPrevious, #cboxNext { background: url(../image/arrow-left.png) no-repeat 15px 50%; background-size: auto 35px; padding: 0; border: none; position: absolute; width: 50%; height: 100%; left: 0; top: 0; text-indent: -9999px; overflow: hidden; }
        #cboxNext { left: auto; right: 0; background-image: url(../image/arrow-right.png); background-position: calc(100% - 15px) 50%; }
        #cboxClose, #cboxPdf, #cboxLink { position: absolute; top: -42px; right: 10px; padding: 0; border: none; text-indent: -9999px; overflow: hidden; width: 16px; height: 16px; background: url(../image/close.svg) no-repeat 50%; background-size: 80%; }
        #cboxPdf, #cboxLink { background: none; width: auto; line-height: 16px; text-decoration: underline; text-indent: 0; font-size: 12px; color: #474342; right: 33px; }
        #cboxLink { right: 59px; }
        /* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
        #cboxSlideshow {border:0; padding:0; margin:0; overflow:visible; text-indent:-9999px; width:20px; height:20px; position:absolute; top:-20px; background:url(images/controls.png) no-repeat 0 0;}
        .cboxSlideshow_on #cboxPrevious, .cboxSlideshow_off #cboxPrevious{right:66px;}
        .cboxSlideshow_on #cboxSlideshow{background-position:-75px -25px; right:44px;}
        .cboxSlideshow_on #cboxSlideshow:hover{background-position:-100px -25px;}
        .cboxSlideshow_off #cboxSlideshow{background-position:-100px 0px; right:44px;}
        .cboxSlideshow_off #cboxSlideshow:hover{background-position:-75px -25px;}
