/* Overlay */
div.fm-overlay {
	position: absolute;
	left: 0;
	top: 0;
	display: none;
	
	z-index: 999;
	background: #aaa;
}

/* Dialog */
div.fm-overlay-dialog {
	z-index: 1999;
	background: #fff;
}

div.fm-dialog {
	position: absolute;
	display: none;
	z-index: 2000;

	width: 229px;
	padding-bottom: 40px;

	color: #bebebe;
	font-family: Tahoma, sans-serif;
	font-size: 12px;
	background: rgba(0, 0, 0, 0.8);
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	box-shadow: rgba(0, 0, 0, 0.3) 0 0 10px;
	-moz-box-shadow: rgba(0, 0, 0, 0.3) 0 0 10px;
	-webkit-box-shadow: rgba(0, 0, 0, 0.3) 0 0 10px;
}

div.fm-dialog-engine-trident {
	background: #000;
}

div.fm-dialog-engine-trident4 { width: 249px; }

div.fm-dialog a { color: #aaa; }
div.fm-dialog a:hover { text-decoration: none; }
div.fm-dialog div { margin: 10px; }

div.fm-dialog input, div.fm-dialog select {
	width: 94%;
	margin: 20px 2%;
	padding: 2px 1%;
	border: 1px solid #bebebe;
	background: #fff;
	
	color: #333;
	font-family: Tahoma, sans-serif;
	font-size: 12px;
}

div.fm-dialog-engine-trident4 input, div.fm-dialog-engine-trident5 input {
	width: 80%;
}

div.fm-dialog button {
	position: absolute;
	bottom: 15px;
	right: 15px;
	
	width: auto;
	height: 22px;
	padding: 2px;
	border: 1px solid #bebebe;
	
	cursor: pointer;
	color: #333;
	text-shadow: #eee 1px 1px 1px;
	
	font-family: Tahoma, sans-serif;
	letter-spacing: 0;
	font-size: 12px;
	font-weight: normal;
	margin: 0;
	background: url(../Assets/button.png) repeat-x;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
}
div.fm-dialog-engine-trident4 button, div.fm-dialog-engine-trident5 button {
	padding: 0 .25em;
	overflow: visible;
}

div.fm-dialog button.fm-dialog-decline {
	right: auto;
	left: 15px;
}