/*
    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;}
#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/overlay.png) 0 0 repeat; background: #afa4a4;}
#colorbox{}
    #cboxTopLeft{width:8px; height:8px; background:url(../../images/controls.png) -17px -3px no-repeat;}
    #cboxTopRight{width:8px; height:8px; background:url(../../images/controls.png) -42px -3px no-repeat;}
    #cboxBottomLeft{width:8px; height:8px; background:url(../../images/controls.png) -18px -25px no-repeat;}
    #cboxBottomRight{width:8px; height:8px; background:url(../../images/controls.png) -41px -25px no-repeat;}
	/*#cboxTopLeft{width:9px; height:9px; background: url(../../images/bg-lt.png) left top no-repeat;}
    #cboxTopRight{width:9px; height:9px; background:url(../../images/bg-rt.png) right top no-repeat;}
    #cboxBottomLeft{width:9px; height:9px; background: url(../../images/bg-lb.png) left bottom no-repeat;}
    #cboxBottomRight{width:9px; height:9px; background: url(../../images/bg-rb.png) right bottom no-repeat;}*/
	
    #cboxMiddleLeft{width:8px; background:url(../../images/controls.png) -4px top repeat-y;}
    #cboxMiddleRight{width:8px; background:url(../../images/controls.png) -55px top repeat-y;}
    #cboxTopCenter{height:8px; background:url(../../images/border-topbt.png) 0 2px repeat-x;}
    #cboxBottomCenter{height:8px; background:url(../../images/border-topbt.png) left -9px repeat-x;}
    #cboxContent{background:#fff;}
        #cboxLoadedContent{xmargin-bottom:28px; background: #ffffff;}
        /*#cboxTitle{position:absolute; bottom:4px; left:0; text-align:center; width:100%; color:#949494;}
        #cboxCurrent{position:absolute; bottom:4px; left:58px; color:#949494;}*/
        #cboxSlideshow{position:absolute; bottom:4px; right:30px; color:#0092ef;}
        #cboxPrevious{position:absolute; bottom:0; left:0px; background:url(../../images/controls.png) -75px 0px no-repeat; width:25px; height:25px; text-indent:-9999px;}
        #cboxPrevious.hover{background-position:-75px -25px;}
        #cboxNext{position:absolute; bottom:0; left:27px; background:url(../../images/controls.png) -50px 0px no-repeat; width:25px; height:25px; text-indent:-9999px;}
        #cboxNext.hover{background-position:-50px -25px;}
        #cboxLoadingOverlay{background:url(../../images/loading_background.png) center center no-repeat;}
        #cboxLoadingGraphic{background:url(../../images/loading.gif) center center no-repeat;}
        #cboxClose{position:absolute; top:0px; right:0; background:url(../../images/btn-close.gif) 0 0px no-repeat; width:17px; height:17px; text-indent:-9999px;}
        #cboxClose.hover{xbackground-position:-25px -25px;}

/*
    The following fixes png-transparency for IE6.  
    It is also necessary for png-transparency in IE7 & IE8 to avoid 'black halos' with the fade transition
    
    Since this method does not support CSS background-positioning, it is incompatible with CSS sprites.
    Colorbox preloads navigation hover classes to account for this.
    
    !! Important Note: AlphaImageLoader src paths are relative to the HTML document,
    while regular CSS background images are relative to the CSS document.
*/

.cboxIE #cboxTopLeft{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=skin/frontend/default/opera-gallery-v2/images/internet_explorer/bg-lt-1.png, sizingMethod='scale');}
.cboxIE #cboxTopCenter{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=skin/frontend/default/opera-gallery-v2/images/internet_explorer/bg-tm.png, sizingMethod='scale');}
.cboxIE #cboxTopRight{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=skin/frontend/default/opera-gallery-v2/images/internet_explorer/bg-rt-1.png, sizingMethod='scale');}
.cboxIE #cboxBottomLeft{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=skin/frontend/default/opera-gallery-v2/images/internet_explorer/bg-lb.png, sizingMethod='scale');}
.cboxIE #cboxBottomCenter{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=skin/frontend/default/opera-gallery-v2/images/internet_explorer/bg-bm-2.png, sizingMethod='scale');}
.cboxIE #cboxBottomRight{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=skin/frontend/default/opera-gallery-v2/images/internet_explorer/bg-rb.png, sizingMethod='scale');}
.cboxIE #cboxMiddleLeft{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=skin/frontend/default/opera-gallery-v2/images/internet_explorer/bg-lm.png, sizingMethod='scale');}
.cboxIE #cboxMiddleRight{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=skin/frontend/default/opera-gallery-v2/images/internet_explorer/bg-rm.png, sizingMethod='scale');}




/* simplepopup */

.wbpopup #cboxClose {
    background: transparent;
    text-indent: -7px;
}
.wbpopup #cboxMiddleLeft, .wbpopup #cboxMiddleRight, .wbpopup #cboxTopCenter, .wbpopup #cboxBottomCenter,
.wbpopup #cboxTopLeft, .wbpopup #cboxTopRight, .wbpopup #cboxBottomLeft, .wbpopup #cboxBottomRight
{
    background: transparent;
}

.simple-popup {
    background: #fff;
    xwidth: 446px;
    padding: 15px;
    overflow: hidden;
}
