.dmodal-wrap {
	position: fixed;
	z-index: 99999;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	_position: absolute;
}

.dmodal-birdscreen {
	position: fixed;
	z-index: 0;
	width: 100%;
	height: 100%;
	background: #fff;
	opacity: .7;
	filter: alpha(opacity=70);
	_position: absolute;
}

.dmodal-container {
	position: fixed;
	z-index: 2;
	width: 100%;
	height: 100%;
	overflow-y: scroll;
	overflow-x: hidden;
	-webkit-overflow-scrolling: touch;
	_position: absolute;
}

.dmodal-contents {
	position: relative;
	z-index: 99999;
	width: 90%;
	max-width: 400px;
	min-height: 1000px;
	background: #fff;
	margin: 50px auto;
}

a.dmodal-close {
	display: block;
	position: absolute;
	z-index: 1;
	top: 20px;
	right: 20px;
	background: url(img/btn-close.gif) no-repeat;
	width: 42px;
	height: 42px;
	text-indent: -9999em;
	overflow: hidden;
	opacity: .3;
	filter: alpha(opacity=30);
	
	-webkit-transition: .3s opacity;
	-moz-transition: .3s opacity;
	-o-transition: .3s opacity;
	transition: .3s opacity;
}
a.dmodal-close:hover {
	opacity: 1;
	filter: alpha(opacity=100);
}

html.dmodal-on {
	overflow: hidden;
}
html.dmodal-on body {
	_height: 100%;
}

.dmodal-trigger-target {
	width: 90%;
	max-width: 940px;
	min-height: 80px;
	padding: 20px;
	border: 1px solid #999;
	background: #fff;
	margin: 150px auto;
	position: relative;
	font-size: 12px;
	color: #999;
	
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-o-border-radius: 5px;
	border-radius: 5px;
	
	-webkit-box-shadow: 0 3px 10px rgba(0,0,0,.2);
	-moz-box-shadow: 0 3px 10px rgba(0,0,0,.2);
	-o-box-shadow: 0 3px 10px rgba(0,0,0,.2);
	box-shadow: 0 3px 10px rgba(0,0,0,.2);
}
.dmodal-trigger-wide {
	width: 600px;
}
.dmodal-trigger-middle {
	margin-top: 0;
	margin-bottom: 0;
	top: 50%;
}