
/*===================================================================================================================================================
Overlay
===================================================================================================================================================*/

/* the overlayed element */
div.overlay {
	
		/* initially overlay is hidden */
	display:none;
	
	/* some padding to layout nested elements nicely  */
	padding:55px;
	/*DEfualt widths - you can override these with an id in the overlay class*/
	width:550px;
	height:420px;	
	
	
}
.solid
{
	background:#FFF;
	border:1px solid #FFF;
	/* CSS3 for modern browsers ie. NOT FOR IE*/
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	-moz-box-shadow:0 0 25px #666;
	-webkit-box-shadow:0 0 25px #666;		
}
.gradient
{
	background:#EEE url(grey.png) repeat-x;
	border:1px solid #DDD;
	/* CSS3 for modern browsers ie. NOT FOR IE*/
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	-moz-box-shadow:0 0 25px #666;
	-webkit-box-shadow:0 0 25px #666;		
}

/* default close button positioned on upper right corner */
div.overlay div.close {
	background:url(close.png);
	position:absolute;
	right:5px;
	top:5px;
	cursor:pointer;
	height:35px;
	width:35px;
}


/*Different types of overlay on one page with ids*/
#overlay
{
background:url(white.png) transparent;
/* dimensions after the growing animation finishes  */
	width:550px;
	height:420px;	
}
#apple { 
    background:url(apple.png) transparent; 
    color:#fff; 
	width:860px;
	height:500px;
}
#apple div.close { 
    right:15px; 
    top:20px; 
}

#custom { 
    background: url(../Images/boy-george-mr-t-250x275.jpg) no-repeat; 
    width:275px; 
    height:250px; 
    padding:10px; 
} 
 
#custom div.close { 
    right:30px; 
    top:-10px; 
} 
 
#petrol { 
    background-image:url(petrol.png); 
    color:#fff; 
	width:545px;
	height:410px;
} 
 

#petrol h2,#apple h2
{
	color:#EEE;	
}

/*===================================================================================================================================================
Gallery plugin for Overlay
===================================================================================================================================================*/
/*thumbs*/
#thumbnails
{

}
#thumbnails a
{
	width:112px;
	height:112px;
	overflow:hidden;

}
#thumbnails a img
{
	max-width:100px;
	height:100px;
	float:left;
	margin:0 0.5em 0.5em 0;
	padding:10px;
	background:#f8f8f8;
	border:1px solid #EEE;

}
#thumbnails a img:hover
{
	background:#f1f1f1;
	border-color:#DDD;
}
#thumbnails a.active img
{
	background:#444;
	border-color:#111;
	outline:1px solid #000; 
    z-index:9999; 
    position:relative; 
}


/* the overlayed element */
.galleryOverlay {
	
	/* 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 ie. not IE */
	-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-image:url(apple-close.png);
	position:absolute;
	right:-20px;
	top:0;
	cursor:pointer;
	height:28px;
	width:28px;
}

/* the gallery elements*/
/* the large image. we use a gray border around it */
#gallery #img {
	border:5px solid #555;	
	
}

/* "next image" and "prev image" links */
#gallery a.next,#gallery a.prev {
	
	/* absolute positioning relative to the overlay */
	position:absolute;
	top:40%;	
	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 {
	left:0;
	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;
}

#gallery .next {
	right:-5px;/*to compensate for the border*/
	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;	
}

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

/* 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:5px;/*to compensate for the border*/	
	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 .info {
	background:#111 !important;
	background:rgba(0, 0, 0, 0.6);		
}

