/* Message popup */ 
.message, .privacy, .privacy2, .favoritesmc, .copyright, .warning, .legal, .alert {
	font-size:				15px;
	line-height:			18px; 
	display:				none; 
	/*-moz-border-radius: 	5px;
	-webkit-border-radius: 	5px;
	border-radius: 			5px;
	-khtml-border-radius: 	5px;
	-webkit-box-shadow:		10px 15px 50px 2px rgba(30,30,30,0.50);
	box-shadow:				10px 15px 50px 2px rgba(30,30,30,0.50);
	*/

	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: auto;
	height:auto;
	margin:0;
	background: rgba(0,0,0,0.5);
	text-align: center;
	z-index: 1004;
}
.message h3, .privacy h3, .privacy2 h3, .favoritesmc h3, .copyright h3, .warning h3, .legal h3, .alert h3 { 
	color:#203040; font-weight:bold; font-size: 1.6em; margin-bottom:20px; }
.message { height:300px; }
.message a, .privacy a, .privacy2 a, .favoritesmc a, .copyright a, .warning a, .legal a, .alert a { 
	text-decoration:underline; }
.message input[type='text'] { 
	border:1px solid #00637d; padding:4px 5px; color:#00637d; font-size:1.0em; margin-top:5px; }
.message input[type='text']:first-child { 
	margin-top:2px; }
.message textarea {
	padding: 0px;
	color: black;
	font-size: 1.0em;
	width:100%;
	height: 100px;
	border:0;
	background:none; border:1px solid #9F9F9F;
}
.message .content a:hover { text-decoration:underline; }
.favorites strong { font-weight:bold;  color:black; }
.message .close, .pdf .close, .favoritesmc .close, .copyright .close, .warning .close, .legal .close, .privacy .close, .privacy2 .close, .alert .close { 
	color:white; 
	background:black;
	right:10px; 
	top:15px; 
	padding:6px 9px;
	text-align:center; 
	border:2px solid black; 
	position:absolute; 
	font-size:18px;
	font-weight:bold;
	-moz-border-radius: 	50%;
	-webkit-border-radius: 	50%;
	border-radius: 			50%;
	-khtml-border-radius: 	50%; text-decoration:none;

	z-index:1001;
	opacity: 1;

}
.close.close-background {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	background:none;
	bottom: 0;
	border-radius: 0;
	border: 	0;
	z-index: 1000;
}
.message .center, .pdf .center, .favoritesmc .center, .copyright .center, .warning .center, .legal .center, .privacy .center, .privacy2 .center, .alert .center {
	width: 70%;
	height: 70%;
	position: absolute;
	text-align: 			left;
	top: 50%;
	left: 50%;
	padding:30px;
	max-width:500px;
	margin:0 auto;
	background: rgba(255,255,255,1);
	transform: translate(-50%, -50%);
	z-index: 1001;
	overflow-y: scroll;
	-moz-border-radius: 	5px;
	-webkit-border-radius: 	5px;
	border-radius: 			5px;
	-khtml-border-radius: 	5px;
	-webkit-box-shadow:10px 15px 50px 2px rgba(30,30,30,0.50);
	box-shadow:10px 15px 50px 2px rgba(30,30,30,0.50);
}
.alert .center {
	height: fit-content;
	height: -moz-fit-content;
}

@media (max-width: 767px) {
	.message, .privacy, .privacy2, .favoritesmc, .copyright, .warning, .legal, .alert {
		left:5px; right:5px; bottom:5px; top:5px;
		margin:0px; height:auto; width:auto;
	}
}
@media (max-width: 467px) {
	.message, .privacy, .privacy2, .favoritesmc, .copyright, .warning, .legal, .alert {
		top:0;
		right:0;
		left:0;
		bottom:0;
		border:0;
	}
	.message .center, .pdf .center, .favoritesmc .center, .copyright .center, .warning .center, .legal .center, .privacy .center, .privacy2 .center, .alert .center {
		width: 80%;
		height:80%;
	}
}

.pdf .close { display: none; }
.close a { text-decoration:none; }
a.close:hover { 
	color:black !important;
	background:none;
}