/*
    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:#000; opacity: 0.9; filter: alpha(opacity = 90);}
#colorbox{outline:0;}
    #cboxtopleft{width:14px; height:14px; background:url(/uploads/image/iccimages/controls.png) no-repeat 0 0;}
    #cboxtopcenter{height:14px; background:url(/uploads/image/iccimages/border.png) repeat-x top left;}
    #cboxtopright{width:14px; height:14px; background:url(/uploads/image/iccimages/controls.png) no-repeat -36px 0;}
    #cboxbottomleft{width:14px; height:43px; background:url(/uploads/image/iccimages/controls.png) no-repeat 0 -32px;}
    #cboxbottomcenter{height:43px; background:url(/uploads/image/iccimages/border.png) repeat-x bottom left;}
    #cboxbottomright{width:14px; height:43px; background:url(/uploads/image/iccimages/controls.png) no-repeat -36px -32px;}
    #cboxmiddleleft{width:14px; background:url(/uploads/image/iccimages/controls.png) repeat-y -175px 0;}
    #cboxmiddleright{width:14px; background:url(/uploads/image/iccimages/controls.png) repeat-y -211px 0;}
    #cboxcontent{background:#fff; overflow:visible;}
        .cboxiframe{background:#fff;}
        #cboxerror{padding:50px; border:1px solid #ccc;}
        #cboxloadedcontent{margin-bottom:5px;}
        #cboxloadingoverlay{background:url(/uploads/image/iccimages/loading_background.png) no-repeat center center;}
        #cboxloadinggraphic{background:url(/uploads/image/iccimages/loading.gif) no-repeat center center;}
        #cboxtitle{position:absolute; bottom:-25px; left:0; text-align:center; width:100%; font-weight:bold; color:#7c7c7c;}
        #cboxcurrent{position:absolute; bottom:-25px; left:58px; font-weight:bold; color:#7c7c7c;}

        /* 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;  position:absolute; bottom:-29px; background:url(/uploads/image/iccimages/controls.png) no-repeat 0px 0px; width:23px; height:23px; text-indent:-9999px;}
        
        /* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
        #cboxprevious:active, #cboxnext:active, #cboxslideshow:active, #cboxclose:active {outline:0;}

        #cboxprevious{left:0px; background-position: -51px -25px;}
        #cboxprevious:hover{background-position:-51px 0px;}
        #cboxnext{left:27px; background-position:-75px -25px;}
        #cboxnext:hover{background-position:-75px 0px;}
        #cboxclose{right:0; background-position:-100px -25px;}
        #cboxclose:hover{background-position:-100px 0px;}

        .cboxslideshow_on #cboxslideshow{background-position:-125px 0px; right:27px;}
        .cboxslideshow_on #cboxslideshow:hover{background-position:-150px 0px;}
        .cboxslideshow_off #cboxslideshow{background-position:-150px -25px; right:27px;}
        .cboxslideshow_off #cboxslideshow:hover{background-position:-125px 0px;}