.md-modal {
	position: fixed;
	top: 50%;
	left: 50%;
	width: 50%;
	width: auto;
	height: auto;
	z-index: 9999999;
	visibility: hidden;
	-webkit-transform: translateX(-50%) translateY(-50%);
	-moz-transform: translateX(-50%) translateY(-50%);
	-ms-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
}

.md-show {
	visibility: visible;
}

.md-overlay {
	position: fixed;
	width: 100%;
	height: 100%;
	visibility: hidden;
	top: 0;
	left: 0;
	z-index: 9999995;
	opacity: 0;
	background: rgba(1,1,1,0.6);
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.md-show ~ .md-overlay {
	opacity: 1;
	visibility: visible;
}

.md-content {
	background: #fff;
	position: relative;
	border-radius: 5px;
	padding: 15px;
	margin: 0 auto;
	text-align:center;
}

.md-content img {
	width:250px;
	height:250px;
}

.md-content p { 
    font-size:18px;
	color:#000;
	padding:15px 0 20px;
}

.md-content a {
	display:block;
	background-color:#bdd42c;
	width:80px;
	height:38px;
	line-height:38px;
	margin:0 auto 10px;
	font-size:18px;
	color:#fff;
	cursor:pointer;
	border-radius: 5px;
	letter-spacing:2px;
}

.md-content a:hover {
	background-color:#009944;
}

.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;
}

@media screen and (max-width:480px){
.md-content {
	padding: 10px;
} 
.md-content img {
	width:140px;
	height:140px;
}
.md-content p { 
    font-size:16px;
	padding:10px 0;
}
.md-content a {
	width:70px;
	height:30px;
	line-height:30px;
	font-size:16px;
}
}