/*
    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; -webkit-transform: translate3d(0,0,0);}
#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:url(/uploads/image/xcjcimages/overlay.png) repeat 0 0; opacity: 0.9; filter: alpha(opacity = 90);}
#colorbox{outline:0;}
    #cboxtopleft{width:21px; height:21px; background:url(/uploads/image/xcjcimages/controls.png) no-repeat -101px 0;}
    #cboxtopright{width:21px; height:21px; background:url(/uploads/image/xcjcimages/controls.png) no-repeat -130px 0;}
    #cboxbottomleft{width:21px; height:21px; background:url(/uploads/image/xcjcimages/controls.png) no-repeat -101px -29px;}
    #cboxbottomright{width:21px; height:21px; background:url(/uploads/image/xcjcimages/controls.png) no-repeat -130px -29px;}
    #cboxmiddleleft{width:21px; background:url(/uploads/image/xcjcimages/controls.png) left top repeat-y;}
    #cboxmiddleright{width:21px; background:url(/uploads/image/xcjcimages/controls.png) right top repeat-y;}
    #cboxtopcenter{height:21px; background:url(/uploads/image/xcjcimages/border.png) 0 0 repeat-x;}
    #cboxbottomcenter{height:21px; background:url(/uploads/image/xcjcimages/border.png) 0 -29px repeat-x;}
    #cboxcontent{background:#fff; overflow:hidden;}
        .cboxiframe{background:#fff;}
        #cboxerror{padding:50px; border:1px solid #ccc;}
        #cboxloadedcontent{margin-bottom:28px;}
        #cboxtitle{position:absolute; bottom:4px; left:0; text-align:center; width:100%; color:#000000;}
        #cboxcurrent{position:absolute; bottom:4px; left:58px; color:#949494;}
        #cboxloadingoverlay{background:url(/uploads/image/xcjcimages/loading_background.png) no-repeat center center;}
        #cboxloadinggraphic{background:url(/uploads/image/xcjcimages/loading.gif) no-repeat center center;}

        /* 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:4px; right:30px; color:#0092ef;}
        #cboxprevious{position:absolute; bottom:0; left:0; background:url(/uploads/image/xcjcimages/controls.png) no-repeat -75px 0; width:25px; height:25px; text-indent:-9999px;}
        #cboxprevious:hover{background-position:-75px -25px;}
        #cboxnext{position:absolute; bottom:0; left:27px; background:url(/uploads/image/xcjcimages/controls.png) no-repeat -50px 0; width:25px; height:25px; text-indent:-9999px;}
        #cboxnext:hover{background-position:-50px -25px;}
        #cboxclose{position:absolute; bottom:0; right:0; background:url(/uploads/image/xcjcimages/controls.png) no-repeat -25px 0; width:25px; height:25px; text-indent:-9999px;}
        #cboxclose:hover{background-position:-25px -25px;}

/*
  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);
}