/* 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-close {
	border: none;
	padding: 0.6em 1.2em;
	background: #07AF41;
	color: #fff;
	font-family: 'Lato', Calibri, Arial, sans-serif;
	font-size: 1em;
	letter-spacing: 1px;
	text-transform: uppercase;
	cursor: pointer;
	display: inline-block;
	margin: 3px 2px;
	border-radius: 2px;
}

.md-close:hover {
	background: #AC1131;
}


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

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

.md-modal {
	position: fixed;
	top: 50%;
	left: 50%;
	width: 70%;
	max-width: 1024px;
	min-width: 320px;
	height: 90%;
	overflow: 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(158,158,158,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-contentAgro {
	background: white;
	position: relative;
	border-radius: 3px;
	margin: 0 auto;
}

.md-contentAgro h3 {
	margin: 0;
	padding: 0.4em;
	text-align: center;
	opacity: 0.8;
	background: white;
	border-bottom: #eee solid 1px;
	border-radius: 3px 3px 0 0;
}

.md-contentAgro p {
	color:#5D6D7E;
	margin-top:-10px;
	margin-bottom: 5px;
}

.md-contentAgro li {
	color:#5D6D7E;line-height: 2em;
	text-align: justify;
}

.md-contentAgro > div {
	padding: 15px 40px 30px;
	margin: 0;
	font-weight: 300;
	font-size: 1.15em;
}

/*.md-contentAgro > div p {
	margin: 0;
	padding: 10px 0;
}*/

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

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

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

/* Individual modal styles with animations/transitions */

/* Effect 1: Fade in and scale up */
.md-effect-1 .md-contentAgro {
	-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-contentAgro {
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	transform: scale(1);
	opacity: 1;
}