/*
    Colorbox Core Style:
    The following CSS is consistent between example themes and should not be altered.
*/
#colorbox3, #cbox3Overlay, #cbox3Wrapper{position:absolute; top:0; left:0; z-index:9993; overflow:hidden;}
#cbox3Wrapper {max-width:none;}
#cbox3Overlay{position:fixed; width:100%; height:100%;}
#cbox3MiddleLeft, #cboxBottomLeft{clear:left;}
#cbox3Content{position:relative;}
#cbox3LoadedContent{overflow:auto; -webkit-overflow-scrolling: touch;}
#cbox3Title{margin:0;font-weight:bold;width:100%;}
#cbox3LoadingOverlay, #cbox3LoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
#cbox3Previous, #cbox3Next, #cbox3Close, #cbox3Slideshow{cursor:pointer;}
.cbox3Photo{float:left; margin:auto; border:0; display:block; max-width:none; -ms-interpolation-mode:bicubic;}
.cbox3Iframe{width:100%; height:100%; display:block; border:0; padding:0; margin:0;}
#colorbox3, #cbox3Content, #cbox3LoadedContent{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.
*/
#cbox3Overlay{background:#000; opacity: 0.9; filter: alpha(opacity = 90);}
#colorbox3{outline:0;}
    #cbox3Content{margin-top:38px; overflow:visible; background:#000;}
        .cbox3Iframe{background:#fff;}
        #cbox3Error{padding:50px; border:1px solid #ccc;}
        #cbox3LoadedContent{background:#000; padding:1px;}
        #cbox3LoadingGraphic{background:url(images/loading.gif) no-repeat center center;}
        #cbox3LoadingOverlay{background:#000;}
        #cbox3Title{position:absolute; top:-38px; left:0; color:#fff;background-color:#212425;height:38px;line-height:38px;}
        #cbox3Current{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 */
        #cbox3Previous, #cbox3Next, #cbox3Slideshow, #cbox3Close {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) */
        #cbox3Previous:active, #cbox3Next:active, #cbox3Slideshow:active, #cbox3Close:active {outline:0;}

        #cbox3Previous{background-position:0px 0px; right:44px;}
        #cbox3Previous:hover{background-position:0px -25px;}
        #cbox3Next{background-position:-25px 0px; right:22px;}
        #cbox3Next:hover{background-position:-25px -25px;}
        #cbox3Close{background-position:-50px 0px; right:0;}
        #cbox3Close:hover{background-position:-50px -25px;}
        .cbox3Slideshow_on #cbox3Previous, .cbox3Slideshow_off #cbox3Previous{right:66px;}
        .cbox3Slideshow_on #cbox3Slideshow{background-position:-75px -25px; right:44px;}
        .cbox3Slideshow_on #cbox3Slideshow:hover{background-position:-100px -25px;}
        .cbox3Slideshow_off #cbox3Slideshow{background-position:-100px 0px; right:44px;}
        .cbox3Slideshow_off #cbox3Slideshow: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;
}