/*
    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;}
#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;}
#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;}

/* 
    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:#7acbf4;}
#colorbox{outline:0; font: 12px Tahoma, Arial,sans-serif;}
    #cboxContent{margin:0; overflow:hidden;}
        .cboxIframe{background:#fff;}
        #cboxError{padding:50px; border:1px solid #ccc;}
        #cboxLoadedContent{background:transparent; padding:20px 20px 60px 20px;}
        #cboxTitle{overflow:auto; position:absolute; top:3px; left:10px; text-align:center; color:#fff; word-wrap: break-word; font-size:0.9em;  max-width:40%;  padding:1px 7px;}
        #cboxCurrent{position:absolute; bottom:11px; right:36px; color:#333; font-weight:bold; padding:1px 7px;}
        #cboxSlideshow{position:absolute; bottom:11px; right:150px; color:#eee; overflow:visible; background:#666; padding:1px 7px; }
        #cboxPrevious{opacity:0.5;filter:alpha(opacity=50);position:absolute; top:36%; left:10px; margin-top:0; background:url(images/prev.png) no-repeat; width:64px; height:32px; text-indent:-9999px;}
        #cboxPrevious:hover{opacity:1;filter:alpha(opacity=100);background-position:bottom left;}
        #cboxNext{opacity:0.5;filter:alpha(opacity=50);position:absolute; top:36%; right:10px; margin-top:-32px; background:url(images/next.png) top right no-repeat; width:64px; height:32px; text-indent:-9999px;}
        #cboxNext:hover{opacity:1;filter:alpha(opacity=100);}
        #cboxLoadingOverlay{background:rgba(0,0,0,0);}
        #cboxLoadingGraphic{background:url(images/loading.gif) center center no-repeat;}
        #cboxClose{opacity:1;filter:alpha(opacity=100);position:absolute; bottom:130px; right:0; left:0; margin: 0 auto;display:block; background:url(images/close.png) no-repeat; width:138px; height:48px; text-indent:-9999px;
        border-style: none;}
        #cboxClose:hover{opacity:0.8;filter:alpha(opacity=80);}