html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

#overlay {
    width: 100%;
    min-height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: none;
    text-align: center;
}

#background-fade {
	position:absolute;
	left:0;
	top:0;
	z-index:1;
	width: 100%;
    height: 100%;
	background:#000;
	opacity:.75;
	filter: alpha(opacity=75);
	-moz-opacity: 0.75;
}
#overlay-panel {}

.cart {
	z-index:2;
	margin: 15% auto 0 auto;
    width: 400px;
    background: #FFF;
	padding:10px;
	border:6px double #005D9B;
	position:relative;
}

.gallery {
	z-index:2;
	margin: 5% auto 0 auto;
    width: 600px;
    background:#fff;
	padding:20px;
	border:none;
	position:relative;
}

#overlay .gallery a {display:block; border:0; margin:0; float:none; padding:0; outline:0px; position:absolute; height:40px; width:40px; text-indent:-9999px;}
	#overlay .gallery a.x-close {top:-20px; right:-20px; background:url(../images/css/icon_close.png) left top no-repeat;}
		
	#overlay .gallery a.print {bottom:-20px; left:-20px; background:url(../images/css/icon_print.png) left top no-repeat;}
#overlay .gallery img {width:600px; margin:0 auto; border:0;}

#overlay .gallery span {position:absolute; top:27px; right:27px; line-height:51px; height:51px; width:51px; text-indent:-999em; background-position:top left; background-repeat:no-repeat; outline:0px}

#overlay-panel h2 {color:#005D9B; font-size:30px; margin:0; padding:0; line-height:36px;}
#overlay-panel h3 {color:#B2BB1C; font-size:21px; margin:0; padding:0; line-height:36px;}
#overlay-panel p {font-size:14px; color:#666;}
#overlay-panel div {margin:0 auto; padding:5px 0; width:240px;} 
#overlay-panel a {display:block; float:left; background:#ccc; padding:3px 7px;}
#overlay-panel a.checkout {margin-right:10px;}

/** ie6 and below only **/
* html #overlay {height: 100%; position: absolute;}
* html #overlay .gallery a.x-close {background:none; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/css/icon_close.png');}
* html #overlay .gallery a.print {background:none; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/css/icon_print.png');}
* html #overlay .gallery span.craft {background:none; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/css/badge_craft.png');}
* html #overlay .gallery span.new {background:none; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/css/badge_new.png');}
