
.md-perspective,
.md-perspective body {
	height: 100%;
	overflow: hidden;
}

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

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

.md-modal {
	position: fixed;
	top: 50%;
	left: 50%;
	width: 50%;
	max-width: 630px;
	min-width: 320px;
	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(0,0,0,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: #000;
	background: #F8E8E7;
	position: relative;
	border-radius: 0px;
	margin: 0 auto;
}

.md-content h3 {
	margin: 0;
	padding: 0.6em 0.4em;
	text-align: center;
	font-size: 2.0em;
	font-weight: 400;
	opacity: 1.0;
	background: rgba(0,0,0,0.1);background: #A69066;font-family: 'Playfair Display', serif;letter-spacing: 0.08em;font-style:italic;
	border-radius: 0px 0px 0 0;
}

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

.md-content > div p {
	margin: 0;
	padding: 10px 0; text-align: center;line-height: 1.7;font-size: 1.1rem;font-weight: 500
}
.md-content > div p a{color:rgba(0,0,0,1.0); display: block;font-size: 120%}.md-content > div p a:hover{color:#A69066;}

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

.md-content > div ul li {
	padding: 5px 0;
}
.md-content button {
	border: none;
	padding: 0.4em 1.2em;
	background: transparent;border: 1px solid #000;
	color: #000;font-family:'Open Sans', sans-serif;
	font-size: 0.8em;
	letter-spacing: 1px;
	text-transform: uppercase;
	cursor: pointer;
	display: inline-block;
	margin: 3px 2px 3px 2px;
	border-radius: 2px;
}

.md-content button:hover {
	background: #EBCFCD;
}

.md-content button {
	display: block;
	margin: 0 auto;margin-top: 20px;
	font-size: 0.7em;
}

/* 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;
}


@media screen and (max-width: 32em) {
	body { font-size: 75%; }
}