/* 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-perspective,
.md-perspective body {
	height: 100%;
	overflow: hidden;
}

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

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

.md-modal {
	position: fixed;
	top: 50%;
	left: 50%;
	width: 50%;
	max-width: 440px;
	min-width: 320px;
	height: auto;
	z-index: 2000;
	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%);
}
#modal-2{
	max-width: 480px;
	min-width: 440px;
}
.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(73, 73, 73, 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: #494949;
	font-weight:200;
	position: relative;
	border-radius: 3px;
	margin: 0 auto;
}

.md-content h3 {
	margin: 0;
	padding:15px 20px;
	padding-left:60px;
	text-align: left;
	font-size: 15px;
	text-transform:uppercase;
	font-weight: 300;
	opacity: 0.8;
	background: rgba(0,0,0,0.1);
	border-radius: 3px 3px 0 0;
	color: #fff;
	line-height: 32px;
}

.md-content .md_cont {
	padding:40px 60px;
	padding-bottom:50px;
}


.md-content .md-close{
	position:absolute;
	right:10px;
	display: inline-block;
	width: 25px;
	height: 40px;
	cursor: pointer;
	outline:0 !important;
	padding: 0;
	top:3px;
	cursor:pointer;
	z-index:10;
}
.md-content .md-close span {
	position: absolute;
	top: 50%;
	left: 0;
	display: block;
	width: 100%;
	height: 8%;
	visibility:hidden;
	color:#fff;
	font-size: 0px;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-transition: background-color 0.3s;
	transition: background-color 0.3s;
	outline:none;
}

.md-content .md-close span:before,
.md-content .md-close span:after {
	position: absolute;
	left: 0;
	width: 100%;
	height: 100%;
	background: #4C4C4C;
	content: '';
	-webkit-transition: -webkit-transform 0.3s;
	transition: transform 0.3s;
}

.md-content .md-close span:before {
	-webkit-transform: translateY(-300%);
	transform: translateY(-300%);
}

.md-content .md-close span:after {
	-webkit-transform: translateY(300%);
	transform: translateY(300%);
}


.md-content .md-close span:before
{
	transform: rotate( 45deg );
	-moz-transform: rotate( 45deg );
	-ms-transform: rotate( 45deg );
	-webkit-transform: rotate( 45deg );
	visibility: visible;
	background:#fff;
}
.md-content .md-close span:after
{
	transform: rotate( -45deg );
	-moz-transform: rotate( -45deg );
	-ms-transform: rotate( -45deg );
	-webkit-transform: rotate( -45deg );
	visibility: visible;
	background:#fff;
}


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


.form_campos{
	display:inline-block;
	width: 100%;
	max-width: 65px;
}
.form_campos2{
	display:inline-block;
	width: 100%;
	max-width: 125px;
}

@media only screen and (max-width: 780px) {
	.md-modal {
		width: 80%;
		max-width: unset;
		min-width: unset;
	}
	#modal-2{
		max-width: unset;
		min-width: unset;
	}
	.md-content .md_cont {
		padding: 20px 30px 20px;
	}
	

}
