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

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

.modalDialog > div {
	width: 90%;
	max-width: 580px;
	min-width: 280px;
	position: relative;
	margin: 10% auto;
	padding: 37px 20px 5px 32px;
	/*border-radius: 10px;*/
	background: #FFFFFF;
	/*background: linear-gradient(#8198C1, #2B5297) #2B5297;*/
	/*background: -moz-linear-gradient(#FFF, #999);*/
	/*background: -webkit-linear-gradient(#FFF, #999);*/
	/*background: -o-linear-gradient(#FFF, #999);*/
	overflow-y: auto;
	height: auto;
	max-height: calc(100vh - 80px);
	overflow-style: auto;
	font-size: 12pt;
	line-height: 1.4;
	border-top: 6px solid #13997C;
}

.modalDialog .modalbox h2 {
	margin-top: 8px;
	font-size: 17pt;
}

.modalDialog .modalbox h3 {
	font-size: 15pt;
}

.modalclose {
	background: #DCDCDC;
	/*color: #FFFFFF;*/
	line-height: 30px;
	position: absolute;
	right: 0px;
	text-align: center;
	top: 0px;
	width: 30px;
	height: 30px;
	/*text-decoration: none;*/
	/*transform: rotate(45deg);*/
	/*-webkit-border-radius: 12px;*/
	/*-moz-border-radius: 12px;*/
	/*border-radius: 12px;*/
	/*-moz-box-shadow: 1px 1px 3px #000;*/
	/*-webkit-box-shadow: 1px 1px 3px #000;*/
	/*box-shadow: 1px 1px 3px #000;*/
	/*font-size: 55px;*/
	text-decoration: none;
	color: #FFFFFF;
	font-size: 25px;
}

.modalclose:hover {
	/*background: #003082;*/
	/*transform: rotate(5deg);*/
	/*filter: hue-rotate(270deg);*/
	color: #616161;
}

@media only screen and (max-width: 500px) {
	.modalDialog > div {
		width: 80%;
	}
	
	.modalDialog .modalbox h2 {
		font-size: 15pt;
		margin-top: 0;
		line-height: 1.2;
	}
	
	.modalDialog .modalbox h3 {
		font-size: 14pt;
		line-height: 1.2;
	}
}
