/*
    popcart Core Style:
    The following CSS is consistent between example themes and should not be altered.
*/
#popcart, #cpopOverlay, #cpopWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
#cpopWrapper {max-width:none;}
#cpopOverlay{position:fixed; width:100%; height:100%;}
#cpopMiddleLeft, #cpopBottomLeft{clear:left;}
#cpopContent{position:relative;}
#cpopLoadedContent{overflow:auto; -webkit-overflow-scrolling: touch;}
#cpopTitle{margin:0;}
#cpopLoadingOverlay, #cpopLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
#cpopPrevious, #cpopNext, #cpopClose, #cpopSlideshow{cursor:pointer;}
.cpopPhoto{float:left; margin:auto; border:0; display:block; max-width:none; -ms-interpolation-mode:bicubic;}
.cpopIframe{width:100%; height:100%; display:block; border:0; padding:0; margin:0;}
#popcart, #cpopContent, #cpopLoadedContent{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 popcart.  They are
    ordered & tabbed in a way that represents the nesting of the generated HTML.
*/
#cpopOverlay{background:url(images/overlay.png) repeat 0 0;}
#popcart{outline:0;}
    #cpopTopLeft{width:10px; height:10px; background:url(images/controls.png) no-repeat -101px 0;}
    #cpopTopRight{width:10px; height:10px; background:url(images/controls.png) no-repeat -140px 0;}
    #cpopBottomLeft{width:10px; height:10px; background:url(images/controls.png) no-repeat -101px -39px;}
    #cpopBottomRight{width:10px; height:10px; background:url(images/controls.png) no-repeat -140px -39px;}
    #cpopMiddleLeft{width:10px; background:url(images/controls.png) left top repeat-y;}
    #cpopMiddleRight{width:10px; background:url(images/controls.png) right top repeat-y;}
    #cpopTopCenter{height:10px; background:url(images/border.png) 0 0 repeat-x;}
    #cpopBottomCenter{height:10px; background:url(images/border.png) 0 -39px repeat-x;}
    #cpopContent{background:#FFF; overflow:hidden;}
        .cpopIframe{background:#fff;}
        #cpopError{padding:50px; border:1px solid #ccc;}
        #cpopLoadedContent{margin-bottom:42px;border-bottom:1px solid #CCC;}
        #cpopTitle{position:absolute; bottom:12px; left:0; text-align:center; width:100%; color:#949494;}
        #cpopCurrent{position:absolute; bottom:12px; left:66px; color:#949494;}
        #cpopLoadingOverlay{background:url(images/loading_background.png) no-repeat center center;}
        #cpopLoadingGraphic{background:url(images/loading.gif) no-repeat center center;}

        /* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
        #cpopPrevious, #cpopNext, #cpopSlideshow, #cpopClose {border:0; padding:0; margin:0; overflow:visible; width:auto; background:none; }
        
        /* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
        #cpopPrevious:active, #cpopNext:active, #cpopSlideshow:active, #cpopClose:active {outline:0;}

        #cpopSlideshow{position:absolute; bottom:12px; right:30px; color:#0092ef;}
        #cpopPrevious{position:absolute; bottom:8px; left:8px; background:url(images/controls.png) no-repeat -75px 0; width:25px; height:25px; text-indent:-9999px;}
        #cpopPrevious:hover{background-position:-75px -25px;}
        #cpopNext{position:absolute; bottom:8px; left:35px; background:url(images/controls.png) no-repeat -50px 0; width:25px; height:25px; text-indent:-9999px;}
        #cpopNext:hover{background-position:-50px -25px;}
        #cpopClose{position:absolute; bottom:8px; right:8px; background:url(images/controls.png) no-repeat -25px 0; width:25px; height:25px; text-indent:-9999px;}
        #cpopClose:hover{background-position:-25px -25px;}

/*
  The following fixes a problem where IE7 and IE8 replace a PNG's alpha transparency with a black fill
  when an alpha filter (opacity change) is set on the element or ancestor element.  This style is not applied to or needed in IE9.
  See: http://jacklmoore.com/notes/ie-transparency-problems/
*/
.cpopIE #cpopTopLeft,
.cpopIE #cpopTopCenter,
.cpopIE #cpopTopRight,
.cpopIE #cpopBottomLeft,
.cpopIE #cpopBottomCenter,
.cpopIE #cpopBottomRight,
.cpopIE #cpopMiddleLeft,
.cpopIE #cpopMiddleRight {
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF);
}

.popbutton {position:absolute;bottom:10px;right:2px;z-index:99999;}
.continueshop {position:absolute;bottom:10px;left:2px;z-index:99999;}
.poplight .popcontent { max-height:360px; overflow:auto; }
.popdark .popcontent { max-height:360px; overflow:auto; }		
		
a.pbcartd { cursor: pointer; color: #222; font-size: 12px; line-height:13px; background-color: #FFF; background-image: url(../images/blackgradtop.png); background-position: top; background-repeat:repeat-x; padding: 6px 12px 6px 12px; text-decoration: none; border:1px solid #CCC; margin-right:2px; }
a.pbcheckoutd { cursor: pointer; color: #222; font-size: 12px; line-height:13px; background-color: #FFF; background-image: url(../images/blackgradtop.png); background-position: top; background-repeat:repeat-x; padding: 6px 12px 6px 12px; text-decoration: none; border:1px solid #CCC; }
a.pbcontinued { cursor: pointer; color: #222; font-size: 12px; line-height:13px; background-color: #FFF; background-image: url(../images/blackgradtop.png); background-position: top; background-repeat:repeat-x; padding: 6px 12px 6px 12px; text-decoration: none; border:1px solid #CCC; }
a.pbcartd:hover, a.pbcheckoutd:hover, a.pbcontinued:hover { background-image: url(../images/whitegradtop.png); }		

a.pbcartl { cursor: pointer; color: #EEE; font-size: 12px; line-height:13px; background-color: #111; background-image: url(../images/blackgradtop.png); background-position: top; background-repeat:repeat-x; padding: 6px 12px 6px 12px; text-decoration: none; border:1px solid #000; margin-right:2px; }
a.pbcheckoutl { cursor: pointer; color: #EEE; font-size: 12px; line-height:13px; background-color: #111; background-image: url(../images/blackgradtop.png); background-position: top; background-repeat:repeat-x; padding: 6px 12px 6px 12px; text-decoration: none; border:1px solid #000; }
a.pbcontinuel { cursor: pointer; color: #EEE; font-size: 12px; line-height:13px; background-color: #111; background-image: url(../images/blackgradtop.png); background-position: top; background-repeat:repeat-x; padding: 6px 12px 6px 12px; text-decoration: none; border:1px solid #000; }
a.pbcartl:hover, a.pbcheckoutl:hover, a.pbcontinuel:hover { background-image: url(../images/whitegradtop.png); }		