/*
    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:visible;}
#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; 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:#000; opacity: 0.7; filter: alpha(opacity = 70);}

#colorbox{
    outline:0;
    -webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
       -moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    -webkit-border-radius: 4px;
     -khtml-border-radius: 4px;
       -moz-border-radius: 4px;
            border-radius: 4px;
}

    #cboxContent{background:#000;overflow:visible;}
        .cboxIframe{background:#fff;}
        #cboxError{padding:50px; border:1px solid #ccc;}
        #cboxLoadedContent{
            background: #f9f9f9;
            color: #444;
            text-shadow: none;
        }
        #cboxTitle{
            position:absolute; 
            color:#ccc;
            bottom: -24px;
            right: 50%;
            text-align: center;
            margin-left:-50%;
            height: 1px;
        }
        #cboxTitle span{
            display: inline-block;
            margin-right: -100%;
            padding: 5px 20px;
            background:url(images/back.png) repeat left top;
            -webkit-border-radius: 15px;
             -khtml-border-radius: 15px;
               -moz-border-radius: 15px;
                    border-radius: 15px;
            text-shadow: 0 1px 2px #222;
            color: #FFF;
            font-size:14px;
            white-space:nowrap;
        }
        #cboxCurrent{
            padding-top:2px;
            font-size:12px;
            color: #000;
            line-height:13px;
        }
        #cboxLoadingGraphic{background:url(images/loading.gif) no-repeat center center;}
        #cboxTopLeft, #cboxTopRight, #cboxTopCenter, #cboxBottomLeft, #cboxBottomRight, #cboxBottomCenter, #cboxMiddleLeft, #cboxMiddleRight {background: #f9f9f9;}
        #cboxTopLeft, #cboxTopRight, #cboxBottomLeft, #cboxBottomRight, #cboxMiddleLeft, #cboxMiddleRight {width:15px;}
        #cboxTopLeft, #cboxTopCenter, #cboxTopRight {height:15px;}
        #cboxBottomLeft, #cboxBottomCenter, #cboxBottomRight {height:15px;}
        #cboxTopLeft {
            -webkit-border-top-left-radius: 4px;
             -khtml-border-top-left-radius: 4px;
                -moz-border-radius-topleft: 4px;
                    border-top-left-radius: 4px;
        }
        #cboxTopRight {
            -webkit-border-top-right-radius: 4px;
             -khtml-border-top-right-radius: 4px;
                -moz-border-radius-topright: 4px;
                    border-top-right-radius: 4px;
        }
        #cboxBottomLeft {
            -webkit-border-bottom-left-radius: 4px;
             -khtml-border-bottom-left-radius: 4px;
                -moz-border-radius-bottomleft: 4px;
                    border-bottom-left-radius: 4px;
        }
        #cboxBottomRight {
            -webkit-border-bottom-right-radius: 4px;
             -khtml-border-bottom-right-radius: 4px;
                -moz-border-radius-bottomright: 4px;
                    border-bottom-right-radius: 4px;
        }
        /* 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; }

        #cboxPrevious span, #cboxNext span, #cboxSlideshow, #cboxClose {background:url(images/buttons.png) no-repeat 0 0; }

        /* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
        #cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active, #cboxPrevious::-moz-focus-inner, #cboxNext::-moz-focus-inner, #cboxSlideshow::-moz-focus-inner {border:0;outline:0;}

        #cboxSlideshow {position:absolute; top:-31px; right:4px; background-position:0 0; width:32px; height:32px; text-indent:-9999px;}
        .cboxSlideshow_on #cboxSlideshow{background-position:0 0;}
        .cboxSlideshow_on #cboxSlideshow:hover{background-position:-32px 0;}
        .cboxSlideshow_off #cboxSlideshow{background-position:-32px 0;}
        .cboxSlideshow_off #cboxSlideshow:hover{background-position:0 0;}

        #cboxPrevious{position:absolute; top:0; left:0; width:30%; min-width:47px; height:100%; text-indent:-9999px;}
        #cboxPrevious span{position:absolute; top:50%; left:15px; margin-top:-16px; background-position:-96px 0; width:32px; height:32px; display:block; visibility:hidden;}
        #cboxNext{position:absolute; top:0; right:0; width:30%; min-width:47px; height:100%; text-indent:-9999px;}
        #cboxNext span{position:absolute; top:50%; right:15px; margin-top:-16px; background-position:-128px 0; width:32px; height:32px; display:block; visibility:hidden;}
        #cboxPrevious:hover span, #cboxNext:hover span{visibility:visible;}

        #cboxClose{position:absolute; top:-31px; right:-31px; display:block; background-position:-64px 0; width:32px; height:32px; text-indent:-9999px;}

        .cboxPhoto {cursor:auto !important}
