/** The code for the gallery popover **/
/* the overlayed element */ 
.galleryOverlay { 
     
    /* must be initially hidden */ 
    display:none; 
     
    /* place overlay on top of other elements */ 
    z-index:10000; 
     
    /* styling */ 
    background-color:#ffffff; 
     
    width:675px;     
    min-height:200px; 
    border:1px solid #cecece; 
    border-right:0;
    padding:5px;
    left:-400px;
     
    /* 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 */ 
.galleryOverlay .close { 
background:url(http://gizmohelm.com/graphics/themes/globalgraphics/photogallery/button_close.png) no-repeat top right; 
    position:absolute; 
    right:38px; 
    top:8px; 
    cursor:pointer; 
    height:20px; 
    width:30px; 
    margin-right:8px;
    z-index:34;
}

/* styling for elements inside overlay */ 
.galleryOverlayDetails { 
    position:absolute; 
    top:15px; 
    right:15px; 
    font-size:11px; 
    color:#fff; 
    width:150px; 
} 
 
.galleryOverlayDetails h3 { 
    color:#aba; 
    font-size:15px; 
    margin:0 0 -10px 0; 
}
.galleryOverlayTextHolder {
	position:absolute;
	width:215px;
	height:100%;
	top:-1px;
	right:0px;
	padding:0px 0px 0px 0px;
	background-color:#e9e9e9;
	border:1px solid #cecece; 
	border-left:0;
	overflow:auto;
}
.galleryOverlayText {
	position:relative;
	width:190px;
	top:0px; 
	margin:5px 0px;
	left:0px;
	
}
.galleryOverlayText p {
	font-size:11px;
	line-height:15px;
	padding:5px;
}
/* "next image" and "prev image" links */
.galleryOverlay .next, .prev {
	
	/* absolute positioning relative to the overlay */
	position:absolute;
	top:40%;	
	border:1px solid #9c9c9c;	
	cursor:pointer;
	display:block;
	padding:10px 20px;
	color:#000000;
	font-size:11px;
	
	/* upcoming CSS3 features */
	-moz-border-radius:3px;
	-webkit-border-radius:3px;	
}

.galleryOverlay .prev {
	left:5px;
	border-left:0;
	-moz-border-radius-topleft:0;
	-moz-border-radius-bottomleft:0;
	-webkit-border-bottom-left-radius:0;
	-webkit-border-top-left-radius:0;
}

.galleryOverlay .next {
	right:5px;
	margin-right: 5px;
	border-right:0;
	-moz-border-radius-topright:0;
	-moz-border-radius-bottomright:0;
	-webkit-border-bottom-right-radius:0;
	-webkit-border-top-right-radius:0;	
}

.galleryOverlay .next:hover, .prev:hover {
	text-decoration:underline;
	background-color:#000;
	color:#000000;
}

/* when there is no next or previous link available this class is added */
.galleryOverlay .disabled {
	visibility:hidden;		
}

/* the "information box" */
.galleryOverlay .info {
	position:absolute;
	top:5px;
	left:5px;	
	padding:10px 0px 10px 0px;
	color:#000000;
	font-size:11px;
	border-bottom:1px solid #9c9c9c;
	text-align:center;
}

.galleryOverlay .info strong {
	display:block;	
}

/* progress indicator (animated gif). should be initially hidden */
.galleryOverlay .progress {
	position:absolute;
	top:45%;
	left:50%;
	display:none;
}

/* everybody should know about RGBA colors. */
.galleryOverlay .next, .prev, .info {
	background:#ebebeb !important;
	opacity: .3;		
}

 
/* active thumbnail is raised on top of the mask using the z-index property */ 
#thumbs a.active img { 
    outline:1px solid #000; 
    z-index:9999; 
    position:relative; 
}

.galleryOverlay img {
	border:none !important;
	background:none !important;
	padding:0px !important;
}
