/* 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;
}
.pop-up-img {max-height:100%;}
.pop-up-img img {float:left;max-width:185px;max-height:185px;}
.pop-up-text p {float: left;width:585px;color: #fff;}
.pop-up-main {width:800px;}
.pop-up-main p{font-size: 16px; line-height: 20px;}
.md-content .pop-up-main h3{color:#fff;font-size: 17px; line-height: 20px;margin: 0;padding: 10px 0;width: 935px; text-transform: none; background: none; text-align:left;}
.pop-up-text h2 {font-size:18px; text-transform: none;color: #fff;width:975px;}
.pop-up-text a {color:#D50032;}
.pop-up-text a :hover{color:#ffffff;}
.pop-up-text{height: 182px;}
.md-modal button{background: #D50032; padding: 3px 11px; margin-right: 1010px; position: fixed; right: -22px; top: -16px;max-height:38px;max-width:100%;border-radius:28%;}
button span {position: relative;left: 961px;bottom: 53px;color:#000000;}
button span:hover{color:#D50032;text-decoration:underline;}
.button-close {position:fixed;max-height:100%;max-width:100%;}
.secound {overflow-y: scroll;overflow-x: hidden;width: 1010px; height: 500px;}


.secound::-webkit-scrollbar-track
{
	border: 1px solid black;
	background-color: #F5F5F5;
}

.secound::-webkit-scrollbar
{
	width: 10px;
	background-color: #F5F5F5;
}

.secound::-webkit-scrollbar-thumb
{
	background-color: #D50032;	
}





.md-modal {
	position: fixed;
	top: 50%;
	left: 50%;
	width: 50%;
	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 {
	background: #231F20;
	visibility: visible;
	box-shadow: 0 0 7px #000000;
	width: 1010px;
	height: 500px;
	
}

.md-overlay {
	position: fixed;
	width: 100%;
	height: 100%;
	visibility: hidden;
	top: 0;
	left: 0;
	z-index: 1000;
	opacity: 0;
	background: rgba(95, 95, 95, 0.87);
	-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: #231F20;
	position: relative;
	border-radius: 3px;
	margin: 0 auto;
}

.md-content h3 {
	margin: 0;
	padding: 0.4em;
	text-align: center;
	font-size: 2.4em;
	font-weight: 300;
	opacity: 0.8;
	background: rgba(0, 0, 0, 0.26);
	border-radius: 3px 3px 0 0;
	color:#D50032;
	text-transform:none;
}

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

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

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

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

.md-content 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-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;
}


