/* General styles for the modal */

/* 
Styles for the html/body for special modal where we want 3d effects
Note that we need a container wrapping all content on the page for the 
perspective effects (not including the modals and the overlay).
*/
.md-perspective,
.md-perspective body {
	height: 100%;
	overflow: hidden;
}

.md-perspective body  {
	background: #222;
	-webkit-perspective: 600px;
	-moz-perspective: 600px;
	perspective: 600px;
}

.container {
	background: #e74c3c;
	min-height: 100%;
}

.md-modal {
	position: fixed;
	top: 40%;
	left: 50%;
	width: 50%;
	width: 940px;

	height: 600px;
	z-index: 2000;
	visibility: hidden;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transform: translateX(-50%) translateY(-35%);
	-moz-transform: translateX(-50%) translateY(-35%);
	-ms-transform: translateX(-50%) translateY(-35%);
	transform: translateX(-50%) translateY(-35%);
}

.md-show {
	visibility: visible;
}

.md-overlay {
	position: fixed;
	width: 100%;
	height: 100%;
	visibility: hidden;
	top: 0;
	left: 0;
	z-index: 1000;
	opacity: 0;
	background: rgba(9, 9, 9, 0.75);
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.md-show ~ .md-overlay {
	opacity: 1;
	visibility: visible;
}

/* Content styles */
.md-content {
	color: #000;
	background: #fff;
	position: relative;
	border-radius: 3px;
	margin: 0 auto;
	height: 600px;
}

.md-content h3 {
	color: #fff;
	margin: 0;
	padding: 0.4em;
	text-align: center;
	font-size: 1.5em;
	font-weight: 300;
	opacity: 0.8;
	background: #c0392b;
	border-radius: 3px;
}
.md-header{
	height: 70px;
	width: 930px;
}
.md-con{
	padding: -5px;
}
.md-h3{
	width: 200px;
	float: left;
}
.md-btn{
	width: 60px;
	float: right;
}
.md-content{
	padding: 15px 20px 30px;
	margin: 0;
	font-weight: 300;
	font-size: 1.15em;
}
.small{
	padding: 0px;
	height: 320px;
	left: -8px;
}
.smallshow{
	top: -45px;
	position: relative;
	width: 400px;
	height: 320px;
}
.zcqhshow{
	position: relative;
	width: 520px;
	height: 600px;
	top: 85px;
}
.mapheadbtn{
	width: 400px;
	height: 50px;
}
.headtt{
	background: #0d88de;
	padding: 12px;
	color: #fff;
	font-size: 14px;
	float: left;
	width: 164px;
	top: 5px;
	margin: 7px 0 0 7px;
}
.mapheadtt{
	background: #78a3c6;
	padding: 12px;
	color: #fff;
	font-size: 16px;
	float: left;
	width: 164px;
	top: 5px;
	margin-top: 7px;
}
.mapllbtn{
	width: 400px;
	height: 50px;
}
.zcqh{
	padding: 0px;
	height: 600px;
	left: 0px;
	width: 520px;
	top: 0px;
	background: url('../img/zcimg.png') no-repeat left top;
}
.zcblank{
	height: 600px;
	position: relative;
	left: 0px;
	top: 100px;
	width: 520px;
}

.md-content > div p {
	margin: 0;
	padding: 10px 0;
}

.md-content > div ul {
	margin: 0;
	padding: 0 0 30px 20px;
}

.md-content > div ul li {
	padding: 5px 0;
}

.md-content button {
	display: block;
	margin: 0 auto;
	font-size: 0.8em;
}
.md-close2{
	top: -38px;
	position: absolute;
	right: 0px;
	background: #efefef;
}
/* Individual modal styles with animations/transitions */

/* Effect 1: Fade in and scale up */
.md-effect-1 .md-content {
	-webkit-transform: scale(0.7);
	-moz-transform: scale(0.7);
	-ms-transform: scale(0.7);
	transform: scale(0.7);
	opacity: 0;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.md-show.md-effect-1 .md-content {
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	transform: scale(1);
	opacity: 1;
}

/* Effect 7:  slide and stick to top */
.md-effect-2{
	top: 395;
	-webkit-transform: translateX(-50%);
	-moz-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	transform: translateX(-50%);
	width: 404px;
}

.md-effect-2 .md-content {
	-webkit-transform: translateY(-200%);
	-moz-transform: translateY(-200%);
	-ms-transform: translateY(-200%);
	transform: translateY(-200%);
	-webkit-transition: all .3s;
	-moz-transition: all .3s;
	transition: all .3s;
	opacity: 0;
}

.md-show.md-effect-2 .md-content {
	-webkit-transform: translateY(0%);
	-moz-transform: translateY(0%);
	-ms-transform: translateY(0%);
	transform: translateY(0%);
	border-radius: 0 0 3px 3px;
	opacity: 1;
}

/* Effect 2: Slide from the right */
.md-effect-3 .md-content {
	-webkit-transform: translateX(20%);
	-moz-transform: translateX(20%);
	-ms-transform: translateX(20%);
	transform: translateX(20%);
	opacity: 0;
	-webkit-transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);
	-moz-transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);
	transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);
}

.md-show.md-effect-3 .md-content {
	-webkit-transform: translateX(0);
	-moz-transform: translateX(0);
	-ms-transform: translateX(0);
	transform: translateX(0);
	opacity: 1;
}