/* 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).
*/


.container_modal {
	background: #ecf0f1;
	min-height: 100%;
	
}

.md-modal {
	position: fixed;
	top: 0%;
	left: 50%;
	width: 80%;
	max-width: 900px;
	min-width: 320px;
	height: auto;
	z-index: 2000;
	visibility: hidden;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transform: translateX(-50%) translateY(-0%);
	-moz-transform: translateX(-50%) translateY(-0%);
	-ms-transform: translateX(-50%) translateY(-0%);
	transform: translateX(-50%) translateY(-0%);
}

.md-show {
	visibility: visible;
	opacity:1;
	
}

.md-overlay {
	position: fixed;
	width: 100%;
	height: 100%;
	visibility: hidden;
	top: 0;
	left: 0;
	z-index: 1000;
	opacity: 0;
	background: rgba(143,27,15,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: #555555;
	background: #ecf0f1;
	position: relative;
	border-radius: 3px;
	margin: 0 auto;

}



.md-content h3 {
	margin: 0;
	padding: 0.4em;
	text-align: center;
	font-size: 2em;
	font-weight: 300;
	color: #ecf0f1;
	background: #262626;
	border-radius: 3px 3px 0 0;
	text-transform: uppercase;
}

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

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

.md-content > div ul li {
	padding: 15px 0;
	list-style: none;
}

.md-content button {
	display: block;
	margin: 0 auto;
	width: 100%;
	position: relative;
	top: 10px;
    background: #262626;
}

/* Individual modal styles with animations/transitions */



/* Effect 16:  Blur */
.md-show.md-effect-16 ~ .md-overlay {
	background: rgba(180,46,32,0.5);
}

.md-show.md-effect-16 ~ .container_modal {
	-webkit-filter: blur(3px);
	-moz-filter: blur(3px);
	filter: blur(3px);
}

.md-effect-16 .md-content {
	-webkit-transform: translateY(-5%);
	-moz-transform: translateY(-5%);
	-ms-transform: translateY(-5%);
	transform: translateY(-5%);
	opacity: 0;
}

.md-show.md-effect-16 ~ .container_modal,
.md-effect-16 .md-content {
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.md-show.md-effect-16 .md-content {
	-webkit-transform: translateY(0);
	-moz-transform: translateY(0);
	-ms-transform: translateY(0);
	transform: translateY(0);
	opacity: 1;
}

/* modal window images */

#popup_madi_lane_bridal {background: url('../img/popup-madilane-bridal-kara-wedding-dress.jpg') no-repeat center center;padding: 175px 0 175px 0; height: auto; width: 90%; margin: 0 auto;}

#popup_laceandlight {background: url('../img/popup_laceandlight.jpg') no-repeat center center;padding: 175px 0 175px 0; height: auto; width: 90%; margin: 0 auto;}

#popup_daughters_of_simone {background: url('../img/popup_daughters_of_simone.jpg') no-repeat center center;padding: 175px 0 175px 0; height: auto; width: 90%; margin: 0 auto;}

#popup_madewithlove {background: url('../img/popup_madewithlove.jpg') no-repeat center center;padding: 175px 0 175px 0; height: auto; width: 90%; margin: 0 auto;}

#popup_nouvelle_amsale {background: url('../img/popup_nouvelle_amsale.jpg') no-repeat center center;padding: 175px 0 175px 0; height: auto; width: 90%; margin: 0 auto;}

#popup_wtoo_watters {background: url('../img/popup_wtoo.jpg') no-repeat center center;padding: 175px 0 175px 0; height: auto; width: 90%; margin: 0 auto;}

#popup_emmy_mae {background: url('../img/popup_emmy_mae.jpg') no-repeat center center;padding: 175px 0 175px 0; height: auto; width: 90%; margin: 0 auto;}

#popup_willowby_watters {background: url('../img/popup-willowby-by-watters-designs-aurelia-wedding-dress.jpg') no-repeat center center;padding: 175px 0 175px 0; height: auto; width: 90%; margin: 0 auto;}

#popup_tatyana_merenyuk {background: url('../img/popup_tatyana_merenyuk.jpg') no-repeat center center;padding: 175px 0 175px 0; height: auto; width: 90%; margin: 0 auto;}


a .site_button {
	margin-top: 10px;
}




@media screen and (max-width: 41.5em) {

	
	.md-content h3 {font-size:1.4em;}
	
	.md-content > div ul {
    padding: 0 0 15px 0px;
	}


	.md-content > div {
    padding: 15px 15px 15px;
	}

	#popup_scout_bridal, #popup_laceandlight, #popup_daughters_of_simone, #popup_madewithlove, #popup_nouvelle_amsale, #popup_wtoo_watters, #popup_emmy_mae, #popup_willowby_watters, #popup_tatyana_merenyuk {
    padding: 125px 0 175px 0;
    width: 100%;
}

}



















