
/* ***************************************
    OVERLAY
*************************************** */


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

div.overlay.video, div.overlay.general {
	
	/* dimensions after the growing animation finishes  */
	width:auto;
	height:auto;		
	min-width:400px;
	min-height:350px;		
	background-image: none;
	background-color: #fff;
	-webkit-border-radius:8px;
	-moz-border-radius:8px;
	border-radius: 8px;
	border: 1px solid #ddd;
	-webkit-box-shadow: 2px 2px 8px #818181;
	-moz-box-shadow: 2px 2px 8px #818181;
	box-shadow: 2px 2px 8px #818181;
	padding:20px;
}

div.overlay.addons {
	
	/* dimensions after the growing animation finishes  */
	width:625px;
	height:auto;		
	min-width:400px;
	min-height:150px;		
	background-image: none;
	background-color: #fff;
	-webkit-border-radius:8px;
	-moz-border-radius:8px;
	border-radius: 8px;
	border: 1px solid #ddd;
	border: 10px solid rgba(82, 82, 82, 0.698);
	-webkit-box-shadow: 2px 2px 8px #818181;
	-moz-box-shadow: 2px 2px 8px #818181;
	box-shadow: 2px 2px 8px #818181;
	padding:20px;
}

div.overlay.addons .formfield {
	margin: 1em 0;	
}

div.overlay.video h2, div.overlay.addons h2, div.overlay.video h3, div.overlay.addons h3 {
	border: none;
	font-family: Arial, Helvetica, sans-serif;
	color: #000;
	margin: -20px;
	margin-bottom:0px;
	color:#fff;
	background-color:#1C1C1E;
	background-color:#6D84B4;
	background-color: #3274D0;
	padding:5px 10px;
	border:1px solid #3B5998;
	font-size:20px;

}

div.overlay.general h3 {
	border: none;
	font-family: Helvetica, Arial, sans-serif;
	font-size:16px;
	font-weight: normal;
	color: #000;
	margin: -20px;
	margin-bottom:0px;
	padding:15px 20px;
	/*border:1px solid #3B5998;*/
	
	background: rgb(208,208,208); /* Old browsers */
	background: -moz-linear-gradient(top, rgba(208,208,208,1) 0%, rgba(168,168,168,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(208,208,208,1)), color-stop(100%,rgba(168,168,168,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, rgba(208,208,208,1) 0%,rgba(168,168,168,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, rgba(208,208,208,1) 0%,rgba(168,168,168,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, rgba(208,208,208,1) 0%,rgba(168,168,168,1) 100%); /* IE10+ */
	background: linear-gradient(top, rgba(208,208,208,1) 0%,rgba(168,168,168,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d0d0d0', endColorstr='#a8a8a8',GradientType=0 ); /* IE6-9 */

}

div.overlay.general h2 {
	background-color: #fff;
	color: #000000;
    font-family: Georgia,"Times New Roman",Times,serif;
    font-size: 1.8em;
	margin: 20px 0;
	border: none;
}

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

/* default close button positioned on upper right corner */
div.overlay.video div.close {
	right:-25px;
	top:-25px;
}

/* default close button positioned on upper right corner */
div.overlay.addons div.close, div.overlay.general div.close {
	right:-15px;
	top:-15px;
}

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

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

div.black h2, div.petrol h2 {
	color:#ddd;		
}


/* use a semi-transparent image for the overlay */ 
#overlay { 
    background-image:url(../images/overlay/transparent.png); 
    color:#efefef; 
    height:450px; 
} 
 
/* container for external content. uses vertical scrollbar, if needed */ 
div.wrap { 
    height:441px; 
    overflow-y:auto; 
}
