/* 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-modal {
	position: fixed;
	top: 50%;
	left: 50%;
	width: 50%;
	max-width: 830px;
	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(15,15,15,0.7);
	-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: #fff;
	background: #202020;
	position: relative;
	border-radius: 3px;
	margin: 0 auto;
	padding: 50px 0px 130px 0px;
}
.md-content h5 {
	margin: 0;
	padding: 0.4em;
	text-align: center;
	font-size: 1.7em;
	font-weight: 300;
}

.md-content .line{
	width: 80px;
	height: 1px;
	background: #ffffff;
	padding: 0px;
	margin: 10px auto;
}

.md-content h3 {
	margin: 0;
	padding: 0.4em;
	text-align: center;
	font-size: 2.4em;
	font-weight: 300;
}

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

.md-content > div ul {
	margin: 0;
	padding: 0 10px 0px 10px;
	height: 260px;
	overflow-y: scroll;
	line-height: 1.6;
}

.md-content > div ul li.intro{font-size: 1.2em; font-weight: 400; margin-bottom: 15px;}
.md-content > div ul li.info{margin-top: 14px; font-size: 0.885em; font-family: 'Malgun Gothic', '¸¼Àº °íµñ', sans-serif; line-height: 1.4; color: #cfcfcf; white-space: pre-wrap;}

.md-content button {
	display: block;
	position: absolute;
	top: 2%;
	right: 2%;
	cursor: pointer;
	background: none;
}

.md-content a{
	font-size: 2em;
	color: #ffffff;
	padding: 15px 50px;
	border: 1.5px solid #ffffff;
	position: absolute;
	bottom: 2%;
	left: 50%;
	-webkit-transform: translateX(-50%) translateY(-50%);
	-moz-transform: translateX(-50%) translateY(-50%);
	-ms-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
}
.md-content a:hover{background: #ffffff; color: #222222; font-weight: 600;}

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