/*
    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; 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:#fff; opacity: 0.9; filter: alpha(opacity = 90);}
#colorbox{outline:0;}
    #cboxtopleft{width:25px; height:25px; background:url(/uploads/image/ximages/border1.png) no-repeat 0 0;}
    #cboxtopcenter{height:25px; background:url(/uploads/image/ximages/border1.png) repeat-x 0 -50px;}
    #cboxtopright{width:25px; height:25px; background:url(/uploads/image/ximages/border1.png) no-repeat -25px 0;}
    #cboxbottomleft{width:25px; height:25px; background:url(/uploads/image/ximages/border1.png) no-repeat 0 -25px;}
    #cboxbottomcenter{height:25px; background:url(/uploads/image/ximages/border1.png) repeat-x 0 -75px;}
    #cboxbottomright{width:25px; height:25px; background:url(/uploads/image/ximages/border1.png) no-repeat -25px -25px;}
    #cboxmiddleleft{width:25px; background:url(/uploads/image/ximages/border2.png) repeat-y 0 0;}
    #cboxmiddleright{width:25px; background:url(/uploads/image/ximages/border2.png) repeat-y -25px 0;}
    #cboxcontent{background:#fff; overflow:hidden;}
        .cboxiframe{background:#fff;}
        #cboxerror{padding:50px; border:1px solid #ccc;}
        #cboxloadedcontent{margin-bottom:20px;}
        #cboxtitle{position:absolute; bottom:0px; left:0; text-align:center; width:100%; color:#999;}
        #cboxcurrent{position:absolute; bottom:0px; left:100px; color:#999;}
        #cboxloadingoverlay{background:#fff url(/uploads/image/ximages/loading.gif) no-repeat 5px 5px;}

        /* 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; }
        
        /* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
        #cboxprevious:active, #cboxnext:active, #cboxslideshow:active, #cboxclose:active {outline:0;}

        #cboxslideshow{position:absolute; bottom:0px; right:42px; color:#444;}
        #cboxprevious{position:absolute; bottom:0px; left:0; color:#444;}
        #cboxnext{position:absolute; bottom:0px; left:63px; color:#444;}
        #cboxclose{position:absolute; bottom:0; right:0; display:block; color:#444;}

/*
  the following fixes a problem where ie7 and ie8 replace a png's alpha transparency with a black fill
  when an alpha filter (opacity change) is set on the element or ancestor element.  this style is not applied to or needed in ie9.
  see: http://jacklmoore.com/notes/ie-transparency-problems/
*/
.cboxie #cboxtopleft,
.cboxie #cboxtopcenter,
.cboxie #cboxtopright,
.cboxie #cboxbottomleft,
.cboxie #cboxbottomcenter,
.cboxie #cboxbottomright,
.cboxie #cboxmiddleleft,
.cboxie #cboxmiddleright {
    filter: progid:dximagetransform.microsoft.gradient(startcolorstr=#00ffffff,endcolorstr=#00ffffff);
}