
#gallery .next, #gallery .prev { 
    /* absolute positioning relative to the overlay */ 
    position:absolute; 
    top:40%; 
 
    /* upcoming CSS3 rounded border feature */ 
    -moz-border-radius:5px; 
    -webkit-border-radius:5px; 
} 
 
/* progress indicator (animated gif). should be initially hidden */ 
#gallery .progress { 
    position:absolute; 
    top:45%; 
    left:50%; 
    display:none; 
} 
 
/* active thumbnail is raised on top of the mask using the z-index property */ 
#products a.active img { 
    outline:1px solid #000; 
    z-index:9999; 
    position:relative; 
}

/*** overlay styling ************************************************************************************************************/
/* the overlayed element */
.simple_overlay {
	
	/* must be initially hidden */
	display:none;
	
	/* place overlay on top of other elements */
	z-index:10000;
	
	/* styling */
	background-color:#333;
	
	width:675px;	
	min-height:200px;
	border:1px solid #666;
	
	/* CSS3 styling for latest browsers */
	-moz-box-shadow:0 0 90px 5px #000;
	-webkit-box-shadow: 0 0 90px #000;	
}

/* close button positioned on upper right corner 
.simple_overlay .close {
	background-image:url(../images/overlay-close.png);
	position:absolute;
	left:50%;
	top:-15px;
	cursor:pointer;
	height:35px;
	width:35px;
}*/


/*** gallery specific styling ***************************************************************************************************/
/* the large image. we use a gray border around it */
#img {
	border:1px solid #666;
}

/* "next image" and "prev image" links */
#gallery .next, #gallery .prev, #gallery .close {
	
	/* absolute positioning relative to the overlay */
	position:absolute;
	top:15px;	
	border:1px solid #666;	
	cursor:pointer;
	display:block;
	padding:10px 20px;
	color:#fff;
	font-size:11px;
	
	/* upcoming CSS3 features */
	-moz-border-radius:5px;
	-webkit-border-radius:5px;	
}

#gallery .prev {
background-color:#000;
	left:42%;
	-moz-border-radius-topright:0;
	-moz-border-radius-bottomright:0;
	-moz-border-radius-topleft:0;
	-moz-border-radius-bottomleft:0;
	-webkit-border-bottom-right-radius:0;
	-webkit-border-top-right-radius:0;	
	-webkit-border-bottom-left-radius:0;
	-webkit-border-top-left-radius:0;
}

#gallery .next {
	left:50%;
	-moz-border-radius-topright:0;
	-moz-border-radius-bottomright:0;
	-moz-border-radius-topleft:0;
	-moz-border-radius-bottomleft:0;
	-webkit-border-bottom-right-radius:0;
	-webkit-border-top-right-radius:0;	
	-webkit-border-bottom-left-radius:0;
	-webkit-border-top-left-radius:0;
}

#gallery .close {
	left:58%;
	-moz-border-radius-topright:0;
	-moz-border-radius-bottomright:0;
	-moz-border-radius-topleft:0;
	-moz-border-radius-bottomleft:0;
	-webkit-border-bottom-right-radius:0;
	-webkit-border-top-right-radius:0;	
	-webkit-border-bottom-left-radius:0;
	-webkit-border-top-left-radius:0;
}

#gallery a.next, #gallery a.prev, #gallery a.close {
	text-decoration:none;
	background-color:#000;
	color:#fff;
}

#gallery .next:hover, #gallery .prev:hover, #gallery .close:hover {
	text-decoration:underline;
	background-color:#000;
	color:#fff;
}

/* when there is no next or previous link available this class is added */
#gallery .disabled {
	visibility:hidden;		
}

/* the "information box" */
#gallery .info {
	position:absolute;
	bottom:0;
	left:0;	
	padding:10px 15px;
	color:#fff;
	font-size:11px;
	border-top:1px solid #666;
}

#gallery .info strong {
	display:block;	
}

/* progress indicator (animated gif). should be initially hidden */
#gallery .progress {
	position:absolute;
	top:45%;
	left:50%;
	display:none;
}

/* everybody should know about RGBA colors. */
#gallery .next, #gallery .prev, #gallery .close, #gallery .info {
	background:#333 !important;
	background:rgba(0, 0, 0, 0.6) url(../images/overlay-gradient-h80.png) repeat-x;		
}

#leadform .close {
float:right;
margin:6px 0 0 0;
}
