/* STARTING STYLING */

.modal-content{
	display:block;
	height:auto;
	overflow:hidden;
	border:0px solid red;
	padding-bottom:20px;
}

 .modal-title {
	text-transform:uppercase;
	color:#F80000;
 }

.modalDialog {
	position: fixed;
	font-family: Arial, Helvetica, sans-serif;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0,0,0,0.5);
	z-index: 99999;
	opacity:0;
	-webkit-transition: opacity 400ms ease-in;
	-moz-transition: opacity 400ms ease-in;
	transition: opacity 400ms ease-in;
	pointer-events: none;
}


/* FUNCTIONALITY AND LOOKS */

.modalDialog:target {
	opacity:1;
	pointer-events: auto;
}

.modalDialog > .box{
	width: 30%;
	position: relative;
	margin: 5% auto;
	padding: 5px 20px 13px 20px;
	border-radius: 10px;
	background: #F0F0F0;
/*
	background: #fff;
	background: -moz-linear-gradient(#fff, #999);
	background: -webkit-linear-gradient(#fff, #999);
	background: -o-linear-gradient(#fff, #999);
*/	
}

.modalDialog > div  h3{
	font-size:24px;
}

/* CLOSING IT UP */

.close {
	background:#C80000;
	color: #FFFFFF;
	line-height: 25px;
	text-align: center;
	position: absolute;
	right: -5px;
	top: -5px;
	padding-top:5px;	
	height: 40px;
	width: 40px;
	text-decoration: none;
	font-weight: 800;
	-webkit-border-radius: 50px;
	-moz-border-radius: 50px;
	border-radius: 50px;
	-moz-box-shadow: 1px 1px 3px #000;
	-webkit-box-shadow: 1px 1px 3px #000;
	box-shadow: 1px 1px 3px #000;
	opacity:1.0;
}

.close:hover {
	background: #252525; 
	opacity:1.0;
	color:#FFFFFF;
	padding-top:5px;}


@media (max-width: 767px) {
.modalDialog > div {
	width: 60%;
	}
}
@media (max-width: 480px) {
.modalDialog > div {
	width: 90%;
	}
}


