/*
 * Modal window
 */

div.modal
{
	position: fixed;
	overflow: scroll;
	width: 100%;
	height: 100%;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: none repeat scroll 0 0 rgba(0, 0, 0, 0.5);
	filter:progid:DXImageTransform.Microsoft.Alpha(opacity=50);
	-moz-opacity: 0,5;
	-khtml-opacity: 0,5;
	opacity: 0,5;
	z-index: 10000;
}

div.modal > div
{
	position: relative;
	margin: 0px auto;
	border-radius: 5px;
	background-color: #ffffff;
	overflow: hidden;
	box-shadow: 0 3px 20px rgba(0, 0, 0, 0.4);
	filter:progid:DXImageTransform.Microsoft.Alpha(opacity=100);
	-moz-opacity: 1;
	-khtml-opacity: 1;
	opacity: 1;
}

div.modal > div div.head
{
	padding: 8px 0px 0px 10px;
	color: #ffffff;
	background: #585656;
	height: 28px;
}

div.modal > div div.head span.modal_close
{
	float: right;
	padding: 0px 15px;
	font-size: 14px;
	font-weight: bold;
	cursor: pointer;
	transition: .4s;
	filter:progid:DXImageTransform.Microsoft.Alpha(opacity=50);
	-moz-opacity: 0.5;
	-khtml-opacity: 0.5;
	opacity: 0.5;
}

div.modal > div div.head span.modal_close:hover
{
	opacity: 1;
}

div.modal > div div.content
{
	padding: 5px 15px 25px 15px;
}
