/* 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-close{
	clear:both;
	border: none;
	background: #EC008C;
	color: #fff;
	font-size: 1em;
	cursor: pointer;
	display: inline-block;
	border-radius: 2px;
	padding:0.8em;
	padding-left:2em;
	padding-right:2em;
	display: block;
	margin-left:auto;
	margin-right:auto;
	margin-top:1.5em;
	font-weight:bold;
}

.md-close:hover {
	background: #FABFE2;
}
.container {
	background: #EC008C;
	min-height: 100%;
}

.md-modal {
	position: fixed;
	top: 50%;
	left: 50%;
	width: 50%;
	height: auto;
	z-index: 2000;
	visibility: hidden;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	backface-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: 1000;
	opacity: 0;
	background: rgba(25,25,25,0.8);
	-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: #EC008C;
	background: #fff;
	position: relative;
	border-radius: 8px;
	margin: 0 auto;
}

.md-content h3 {
	margin: 0;
	padding: 0.4em;
	text-align: center;
	font-size: 1.3vw;
	font-weight:bold;
	*font-weight: 300;
	*opacity: 0.8;
	background: #EC008C;
	color:#fff;
	border-radius: 8px 8px 0 0;
}

.md-content > div {
	padding: 15px 40px 30px;
	margin: 0;
	*font-weight: 300;
	*font-size: 1.15em;
}

.md-content > div p {
	margin: 0;
	padding: 10px 0;
	font-size:1.1vw;
	line-height:1.5em;
	color:#4f4f4f;
}

html body div.md-modal.md-show div.md-content div p img{
	float:left;
	padding-right:1.5em;
}