/*
    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;}
#cboxOverlay{position:fixed; width:100%; height:100%;}
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
#cboxContent{position:relative;}
#cboxLoadedContent{overflow:auto; -webkit-overflow-scrolling: touch;}
#cboxTitle{margin-left: 5px;}
#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;}
.cboxIframe{width:100%; height:100%; display:block; border:0;}
#colorbox, #cboxContent, #cboxLoadedContent{box-sizing:content-box; -moz-box-sizing:content-box; -webkit-box-sizing:content-box;}
#colorbox {
	border: none;
	-webkit-border-radius: 2px 2px 2px 2px;
	-moz-border-radius: 2px 2px 2px 2px;
	-khtml-border-radius: 2px 2px 2px 2px;
	border-radius: 2px 2px 2px 2px;
-webkit-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.5);
-moz-box-shadow:    0px 0px 20px 0px rgba(0, 0, 0, 0.5);
box-shadow:         0px 0px 20px 0px rgba(0, 0, 0, 0.5);

}
/*
    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;} */
#cboxOverlay{background:url(images/overlay.png) repeat 0 0;}
#colorbox{outline:0;}
#cboxTopCenter{ min-height:40px; background: rgba(238,238,238, 1) repeat-x bottom left;}
    #cboxContent{background:#FFF;}
        .cboxIframe{background:#fff;}
        #cboxError{padding:50px; border:1px solid #ccc;}
        #cboxLoadedContent{border:5px; background:#fff;}
        #cboxTitle{position:absolute; top:-30px; left:5px; color:#555; right: 150px; overflow: hidden; height: 18px; font-size: 15px; font-family: "Roboto",sans-serif;}
        #cboxCurrent{position:absolute; top:-30px; right:92px; color:#000;}
        #cboxLoadingGraphic{background:url(images/loading.gif) no-repeat center center; background-color: #FFF;}

        /* 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; top:-31px; right:26px; background:url(images/controls.png) no-repeat -120px -25px; width:25px; height:25px; text-indent:-9999px;}
        #cboxSlideshow:hover{background-position:-120px -0px;}
        #cboxPrevious{position:absolute; top:-31px; right:62px; background:url(images/controls.png) no-repeat -50px -25px; width:25px; height:25px; text-indent:-9999px;}
        #cboxPrevious:hover{background-position:-50px 0;}
        #cboxNext{position:absolute; top:-31px; right:36px; background:url(images/controls.png) no-repeat -75px -25px; width:25px; height:25px; text-indent:-9999px;}
        #cboxNext:hover{background-position:-75px -0px;}
        #cboxClose{position:absolute; top:0px; right:5px; margin-top:-31px; margin-right: -10px;  display:block;
        background:url(images/controls.png) no-repeat top center;
        background-position:-95px -25px;
        width:38px; height:19px;

        text-indent:-9999px;}
        /* #cboxClose:hover{background-position:bottom center;}  */
        #cboxClose:hover{background-position:-94px 0px;}

        .cboxSlideshow_on, .cboxSlideshow_off {right:26px;}
        .cboxSlideshow_off #cboxSlideshow{background-position:-120px -25px; right:26px;}
        .cboxSlideshow_off #cboxSlideshow:hover{background-position:-120px 0px;}
        .cboxSlideshow_on #cboxSlideshow{background-position:-145px -25px; right:26px;}
        .cboxSlideshow_on #cboxSlideshow:hover{background-position:-145px 0px;}
