/* 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).
*/

/*FONTS*/
	/*@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700);*/
	@import url('modal_styling_css.css');
/*END OF FONTS*/

.clear {
	clear: both;
}


.md-perspective body  {
	background: #222;
	-webkit-perspective: 600px;
	-moz-perspective: 600px;
	perspective: 600px;
}

.md-modal {
	position: fixed;
	top: 50%;
	left: 50%;
	width: 50%;
	max-width: 550px;
	min-width: 222px;
	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(255,255,255,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: #fff;
	background-color: #333333;
	position: relative;
	border-radius: 3px;
	margin: 0 auto;
	height: 50px;
	margin-top: 46px;
}

.md-content img{
	float: right;
	padding: 12px 10px 12px 0px;
}


.md-content h3 {
	margin: 0;
	text-align: left;
	float: left;
	padding: 16px 0px 18px 16px;
	font-size: 14px;
	font-weight: bold;
	color: #ffffff;
	font-family: Arial, sans-serif;
}

.md_content_top{
	margin-left: auto;
	margin-right: auto;
	margin: 0;
	background-color: #333333 !important;
	height: 50px !important;
	font-weight: 300;
	font-size: 1.15em;
}

.md-content > div {
	margin-left: auto;
	padding: 10px;
	margin-right: auto;
	margin: 0;
	background-color: #ffffff;
	height: auto;
	font-weight: 300;
	font-size: 1.15em;
	-webkit-box-shadow: 0px 1px 5px 0px rgba(50, 50, 50, 0.3);
	-moz-box-shadow:    0px 1px 5px 0px rgba(50, 50, 50, 0.3);
	box-shadow:         0px 1px 5px 0px rgba(50, 50, 50, 0.3);
}

.md-content > div p {
	margin: 0;
	padding: 10px 0;
}

.md-content > div input{

}

.md-content > div input[type=submit] {

}

.md-content > div ul li {
	padding: 5px 0;
}

.md-content button {
	display: block;
	margin: 0 auto;
	font-size: 0.8em;
}
/* Effect 7:  slide and stick to top */
.md-effect-7{
	top: 150px;
	-webkit-transform: translateX(-50%);
	-moz-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	transform: translateX(-50%);
	
}

.md-effect-7 .md-content {
	-webkit-transform: translateY(-200%);
	-moz-transform: translateY(-200%);
	-ms-transform: translateY(-200%);
	transform: translateY(-200%);
	-webkit-transition: all .3s;
	-moz-transition: all .3s;
	transition: all .3s;
	opacity: 0;
}

.md-show.md-effect-7 .md-content {
	-webkit-transform: translateY(0%);
	-moz-transform: translateY(0%);
	-ms-transform: translateY(0%);
	transform: translateY(0%);
	border-radius: 0 0 3px 3px;
	opacity: 1;
	-webkit-box-shadow: 0px 1px 5px 0px rgba(50, 50, 50, 0.3);
	-moz-box-shadow:    0px 1px 5px 0px rgba(50, 50, 50, 0.3);
	box-shadow:         0px 1px 5px 0px rgba(50, 50, 50, 0.3);
}


@-webkit-keyframes OpenTop {
	50% { 
		-webkit-transform: rotateX(10deg); 
		-webkit-animation-timing-function: ease-out; 
	}
}

@-moz-keyframes OpenTop {
	50% { 
		-moz-transform: rotateX(10deg); 
		-moz-animation-timing-function: ease-out; 
	}
}

@keyframes OpenTop {
	50% { 
		transform: rotateX(10deg); 
		animation-timing-function: ease-out; 
	}
}


@media screen and (max-width: 32em) {
	body { font-size: 75%; }
}

@media all and (min-width: 100px) and (max-width: 541px) {
	.close_arrow {
		display: none;
	}
}