/* General styles for the modal */

.md-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	min-width: 320px;
	height: 100%;
	z-index: 10000;
	overflow:hidden;
	visibility: hidden;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	backface-visibility: hidden;
}

.md-show {
	visibility: visible;
}

.md-overlay {
	position: fixed;
    overflow:hidden;
	width: 100%;
	height: 100%;
	visibility: hidden;
	top: 0;
	left: 0;
	z-index: 1000;
	background: transparent;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

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

/* Content styles */
.md-content {
    width:80%;
    overflow: hidden;
	max-width:1160px;
  max-height:450px;
	color: #fff;
	position: relative;
	margin: 5% auto 0px auto;
}

.md-content h3 {
  font-family: 'Days One', cursive;
	text-transform: uppercase;
	margin: 0;
	padding: 0.4em;
	text-align: center;
	font-size: 2.4em;
	font-weight: 300;
	opacity: 1; 
}

.md-content > div {
	padding: 15px 40px 30px;
	margin: 0;
	font-weight: 300;
	font-size: 1em;
    color:#ffffff;
    letter-spacing: 1px;
}

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

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

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

.md-content button {
	display: block;
	margin: 0 auto;
	font-size: 0.8em;
}

.md-close{
width:40px;
height:45px;
font-size:40px;
display:block;
cursor:pointer;
float:right;
margin:-60px 0px 0px 0px;
}
.md-effect .md-content {
	-webkit-transform: scale(0.8);
	-moz-transform: scale(0.8);
	-ms-transform: scale(0.8);
	transform: scale(0.8);
	opacity: 0;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.md-show.md-effect ~ .md-overlay {
	background: rgba(255,255,255,0.2);
} 

.md-effect .md-content h3,
.md-effect .md-content {
	background: transparent;
}

.md-show.md-effect .md-content {
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	transform: scale(1);
	opacity: 1;
}
@media screen and (max-width: 680px) {
	.md-content{
	max-height: 25em;
    }
}
@media screen and (max-width: 32em) {
	body { font-size: 75%; }
	.md-content{
	max-height: 20em;
    }
	.md-close{
width:20px;
height:25px;
font-size:20px;
display:block;
float:right;
margin:-40px 10px 0px 0px;
}
}