/* Normal styles for the modal */
#modal {
	left: 50%;
	margin: -320px 0 0 -40%;
	opacity: 0;
	position: absolute;
	top: -50%;
	visibility: hidden;
	width: 80%;
	box-shadow: 0 3px 7px rgba(0, 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: 50%;
	visibility: visible;
}
#modal .header, #modal .footer {
	border-bottom: 1px solid #E7E7E7;
	border-radius: 5px 5px 0 0;
}
#modal .footer {
	border: none;
	border-top: 1px solid #E7E7E7;
	border-radius: 0 0 5px 5px;
	height: auto;
	/*margin-top:13px;*/
}
#modal h2 {
	margin: 0;
}
#modal .btn {
	float: right;
	/*+border-radius: 13px;*/
	-moz-border-radius: 13px;
	-webkit-border-radius: 13px;
	-khtml-border-radius: 13px;
	border-radius: 13px;
	border: 1px solid #C5C5C5;
	background-color: #DDDDDD;
	text-decoration: none;
	color: #676767;
	width: 95px;
	text-align: center;
	margin-top: -24px;
	height: 31px;
	line-height: 1.9;
	font-size: 16px;
}
#modal .btn:hover {
	color: #223345;
}
#modal .copy, #modal .header, #modal .footer {
	padding: 15px;
}
.modal-content {
	background: #F7F7F7;
	position: relative;
	z-index: 20;
	border-radius: 5px;
}
#modal .copy {
	background: #FFF;
}
#modal .overlay {
	background-color: #000;
	background: rgba(0, 0, 0, 0.5);
	height: 100%;
	left: 0;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 10;
}
