/*
	Patched version of ColorBox styles
 
*/

/*
    ColorBox Core Style 
    The following rules are the styles that are consistant between themes.
    Avoid changing this area to maintain compatability with future versions of ColorBox.
*/
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
#colorbox{position:fixed;}
#cboxOverlay{position:fixed; width:100%; height:100%;}
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
#cboxContent{position:relative; overflow:hidden;}
#cboxLoadedContent{overflow:auto;}
#cboxLoadedContent iframe{display:block; width:100%; height:100%; border:0;}
#cboxTitle{margin:0;}
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%;}
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}

/* 
    Example user style
    The following rules are ordered and tabbed in a way that represents the
    order/nesting of the generated HTML, so that the structure easier to understand.
*/
#cboxOverlay{background:url(../images/lightbox/overlay.png) repeat 0 0;}
#colorbox{}
    #cboxTopLeft{width:21px; height:21px; background:url(../images/lightbox/controls.png) no-repeat -100px 0;}
    #cboxTopRight{width:21px; height:21px; background:url(../images/lightbox/controls.png) no-repeat -129px 0;}
    #cboxBottomLeft{width:21px; height:21px; background:url(../images/lightbox/controls.png) no-repeat -100px -29px;}
    #cboxBottomRight{width:21px; height:21px; background:url(../images/lightbox/controls.png) no-repeat -129px -29px;}
    #cboxMiddleLeft{width:21px; background:url(../images/lightbox/controls.png) left top repeat-y;}
    #cboxMiddleRight{width:21px; background:url(../images/lightbox/controls.png) right top repeat-y;}
    #cboxTopCenter{height:21px; background:url(../images/lightbox/border.png) 0 0 repeat-x;}
    #cboxBottomCenter{height:21px; background:url(../images/lightbox/border.png) 0 -29px repeat-x;}
    #cboxContent{background:#fff;}
        #cboxLoadedContent{margin-bottom:30px;}
        #cboxTitle{position:absolute; bottom:4px; left:0; text-align:center; width:100%; color:#949494; display: none !important;}
        #cboxCurrent{position:absolute; bottom:4px; left:70px; color:#949494;}
        #cboxSlideshow{position:absolute; bottom:4px; right:30px; color:#0092ef;}
        #cboxPrevious{position:absolute; bottom:0; left:0px; background:url(../images/lightbox/controls.png) no-repeat -76px -1px; width:23px; height:23px; text-indent:-9999px;}
        #cboxPrevious.hover{background-position:-76px -26px;}
        #cboxNext{position:absolute; bottom:0; left:29px; background:url(../images/lightbox/controls.png) no-repeat -51px -1px; width:23px; height:23px; text-indent:-9999px;}
        #cboxNext.hover{background-position:-51px -26px;}
        #cboxLoadingOverlay{background:url(../images/lightbox/loading_background.png) no-repeat center center;}
        #cboxLoadingGraphic{background:url(../images/lightbox/loading.gif) no-repeat center center;}
        #cboxClose{position:absolute; bottom:0; right:0; background:url(../images/lightbox/controls.png) no-repeat -26px -1px; width:23px; height:23px; text-indent:-9999px;}
        #cboxClose.hover{background-position:-26px -26px;}

#colorbox {
    box-sizing: initial!important;
}
#cboxDialogLabel {
    display: none;
}
#cboxWrapper > div:nth-child(2)
{
    width: 100%;
}
#cboxTopCenter {text-indent:-9999px;}

 #cboxImageControls {position:absolute; bottom:8px; right:30px; color:#949494;}

 #cbox0{float:left;}
 

/* 
 *	Style links for keyboard-navigation
 */
 /*a:focus, a:active {outline: 3px #f93 solid;}*/
#cboxClose:focus, #cboxClose:active, #cboxNext:focus, #cboxNext:active, #cboxPrevious:focus, #cboxPrevious:active {
    outline-style: none;
    border: 3px #e3000f solid;
}


 #cboxClose, #cboxNext, #cboxPrevious {border: 3px #fff solid; box-sizing: content-box;}

 #cboxClose:focus, #cboxClose:active,
 #cboxNext:focus, #cboxNext:active,
 #cboxPrevious:focus, #cboxPrevious:active {outline-style: none; border: 3px #e3000f solid;}
 
 .hideme { position:absolute; top:-32768px; left:-32768px;}
.cboxElement2 {
    outline: none!important;
    outline-color: transparent!important;
    color: transparent!important;
}