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

.modalcontainer {
	background: #e74c3c;
	min-height: 100%;
}
.md_close
{
	position: absolute;
top: 15px;
right: 15px;
}

.btn_save
{
	position: absolute;
    bottom: 0;
    right: 0;
}
.md-modal {
	position: fixed;
	top: 50%;
	left: 50%;
	height: 260px;
    width: 240px;
	border-radius: 15px;
 
	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;
	background: white !important;
}

.md-overlay {
	position: fixed;
	width: 100%;
	height: 100%;
	visibility: hidden;
	top: 0;
	left: 0;
	z-index: 1000;
	opacity: 0;
	background: rgba(50,50,50,0.9);
	-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: #444;
	/* background: #fff; */
	position: relative;
	border-radius: 3px;
	margin: 0 auto;
	height: 300px !important;
}

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


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

.closebtn
{
	position: absolute;
	width: 30px;height: 30px; overflow: hidden;
	top: 5px;
	right:5px;

    cursor: pointer;
     
	background: url('../images/Close WF.png') no-repeat center center;
}