/* the overlayed element */
div.overlay {
	
	/* growing background image */
	background-image:url(images/white.png);
	
	/* dimensions after the growing animation finishes  */
	/*width:400px;
	/*height:450px;		
	
	/* initially overlay is hidden */
	display:none;
	
	/* some padding to layout nested elements nicely  */
	padding:0px;
}

/* default close button positioned on upper right corner */
div.overlay div.close {
	background-image:url(images/close.gif);
	position:absolute;
	right:-20px;
	top:-20px;
	cursor:pointer;
	height:25px;
	width:132px;
}


/* black */
div.overlay.black {
	background:url(images/close.gif) no-repeat !important;
	color:#fff;
}

/* petrol */
div.overlay.petrol {
	background:url(images/close.gif) no-repeat !important;
	color:#fff;
}

div.black h2, div.petrol h2 {
	color:#ddd;		
}
/* the overlayed element */
div.overlayRed {
	
	/* growing background image */
	background-image:url(images/red.png);
	
	/* dimensions after the growing animation finishes  */
	width:100px;
	height:100px;		
	
	/* initially overlay is hidden */
	display:none;
	
	/* some padding to layout nested elements nicely  */
	padding:0px;
	color:#fff;	
}

div.overlayRed p {
	font-size:16px;	
}

/* 
	image is contained on the overlay background image. 
	the closing button is thus just a transparent container. 
*/
div.overlayRed div.close {
	background:none;
	position:absolute;
	left:8px;
	top:8px;
	cursor:pointer;
	height:35px;
	width:35px;
}


