/*
    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;*/}
#colorbox:active, #cboxOverlay:active, #cboxWrapper:active{outline: none;}
#colorbox:focus, #cboxOverlay:focus, #cboxWrapper:focus{outline: 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;}
.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;}

/* 
    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:black;}
#colorbox{background:white;}
#cboxContent{margin:5px 40px;}
.titleMargin #cboxLoadedContent { margin-top:10px; }
#cboxLoadedContent h2 { margin-top:0; background: none; text-align:left; font-weight:bold; }
#cboxLoadedContent h2 span { background: none; }

.noBorder #cboxLoadedContent,
.noBorder #cboxContent {margin:0;overflow: visible!important;}

#cboxCurrent{position:absolute; bottom:0px; left:0px; color:#949494;}
        #cboxLoadingOverlay{background:url(../img/loading_background.png) no-repeat center center;}
        #cboxLoadingGraphic{background:url(../img/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:#6a7077; }
        
        /* 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:4px; right:30px; color:#0092ef;}
        #cboxPrevious{position:absolute; top:0; left:-20px; background: none; width: 40%; height: 100%; text-indent:-9999px;}
        #cboxPrevious:hover{background: url(../img/prev_new.png) no-repeat 0% 50%; background-size: 30px;}
        
        #cboxNext{position:absolute; top:0; right:-20px; background: none; width:40%; height:100%; text-indent:-9999px;}
        #cboxNext:hover{background: url(../img/next_new.png) no-repeat 100% 50%; background-size: 30px;}
        
        #cboxClose{position:absolute; top:-20px; right:-55px; background:url(../img/clous_new.png) no-repeat center center; width:30px; height:30px; text-indent:-9999px;background-size: 30px;}
        #cboxClose:hover{background: url(../img/clous_new.png) no-repeat center center; width:30px; height:30px;background-size: 30px;}
        button#cboxPrevious, button#cboxNext:focus{border: 0px!important;}