/* Normal styles for the modal */
#modal {
	left:50%;
	margin:-250px 0 0 -512px;
	opacity: 0;
	position:absolute;
	top:-80%;
	visibility: hidden;
	width:1024px;
	box-shadow:0 3px 7px rgba(0,0,0,.25);
	box-sizing:border-box;
	transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-webkit-transition: all 0.4s ease-in-out;
}
	/* Make the modal appear when targeted */
	#modal:target {
		opacity: 1;
		top:330px;
		visibility: visible;
	}
#modal .header{
	background-color: #16161a;
}
#modal h4 {
	margin:0;
	font-size: 20px;
	font-weight: 300;
	text-transform: uppercase;
	width: auto;
	display: inline;
	color: #fff;
}
#modal .btn {
	float:right;
}
#modal a.yellowBtn{
	width: 40%;
	margin: 0 auto;
	margin-bottom: 40px;
	position: relative;
}
#modal .header, #modal .footer {
	padding:15px;
}
.modal-content {
	background: #113352;
	position: relative;
	z-index: 5000;
}
#modal .modalMap {
	background: #113352;
}
#modal .modalMap img{
	margin: 0 auto;
	display: block;
	width: 100%;
}

#modal .overlay {
	background-color: #477f99;
	background-color: rgba(71, 127, 153, .55);
	height: 100%;
	left: 0;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 4000;
}



@media all and (max-width: 1024px) {
	#modal {
		margin:-250px 0 0 -390px;
		opacity: 0;
		position:absolute;
		top:-80%;
		visibility: hidden;
		width:780px;
		box-shadow:0 3px 7px rgba(0,0,0,.25);
		box-sizing:border-box;
		transition: all 0.4s ease-in-out;
		-moz-transition: all 0.4s ease-in-out;
		-webkit-transition: all 0.4s ease-in-out;
	}
}