/*
    Colorbox Core Style:
    The following CSS is consistent between example themes and should not be altered.
*/
#colorbox2, #cbox2Overlay, #cbox2Wrapper{position:absolute; top:0; left:0; z-index:9993; overflow:hidden;}
#cbox2Wrapper {max-width:none;}
#cbox2Overlay{position:fixed; width:100%; height:100%;}
#cbox2MiddleLeft, #cboxBottomLeft{clear:left;}
#cbox2Content{position:relative;}
#cbox2LoadedContent{overflow:auto; -webkit-overflow-scrolling: touch;}
#cbox2Title{margin:0;font-weight:bold;width:100%;}
#cbox2LoadingOverlay, #cbox2LoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
#cbox2Previous, #cbox2Next, #cbox2Close, #cbox2Slideshow{cursor:pointer;}
.cbox2Photo{float:left; margin:auto; border:0; display:block; max-width:none; -ms-interpolation-mode:bicubic;}
.cbox2Iframe{width:100%; height:100%; display:block; border:0; padding:0; margin:0;}
#colorbox2, #cbox2Content, #cbox2LoadedContent{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.
*/
#cbox2Overlay{background:#000; opacity: 0.9; filter: alpha(opacity = 90);}
#colorbox2{outline:0;}
    #cbox2Content{margin-top:38px; overflow:visible; background:#000;}
        .cbox2Iframe{background:#fff;}
        #cbox2Error{padding:50px; border:1px solid #ccc;}
        #cbox2LoadedContent{background:#000; padding:1px;}
        #cbox2LoadingGraphic{background:url(images/loading.gif) no-repeat center center;}
        #cbox2LoadingOverlay{background:#000;}
        #cbox2Title{position:absolute; top:-38px; left:0; color:#fff;background-color:#212425;height:38px;line-height:38px;}
        #cbox2Current{position:absolute; top:0px; right:205px; text-indent:-9999px;}

        /* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
        #cbox2Previous, #cbox2Next, #cbox2Slideshow, #cbox2Close {border:0; padding:0; margin:0; overflow:visible; text-indent:-9999px; width:20px; height:20px; position:absolute; top:-29px; background:url(images/controls.png) no-repeat 0 0;}
        
        /* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
        #cbox2Previous:active, #cbox2Next:active, #cbox2Slideshow:active, #cbox2Close:active {outline:0;}

        #cbox2Previous{background-position:0px 0px; right:44px;}
        #cbox2Previous:hover{background-position:0px -25px;}
        #cbox2Next{background-position:-25px 0px; right:22px;}
        #cbox2Next:hover{background-position:-25px -25px;}
        #cbox2Close{background-position:-50px 0px; right:0;}
        #cbox2Close:hover{background-position:-50px -25px;}
        .cbox2Slideshow_on #cbox2Previous, .cbox2Slideshow_off #cbox2Previous{right:66px;}
        .cbox2Slideshow_on #cbox2Slideshow{background-position:-75px -25px; right:44px;}
        .cbox2Slideshow_on #cbox2Slideshow:hover{background-position:-100px -25px;}
        .cbox2Slideshow_off #cbox2Slideshow{background-position:-100px 0px; right:44px;}
        .cbox2Slideshow_off #cbox2Slideshow:hover{background-position:-75px -25px;}

#colorboxTitle{
    padding:0px 5px;
}

#cboxTitle.blue{
    background-color:blue;
}

#cboxTitle.red{
    background-color:red;
}

#cboxClose,#cboxClose:hover{
    background:url(images/close_bt1.png);
    background-position: center center;
    right:5px;
}