﻿@charset "utf-8";
/* CSS Document */


#main-nav {
	
	margin:0px auto;
	text-align: left;
	min-height: 25px;
	padding-top: 10px;
	padding-left: 0px;
	

	
}
#main-handle {

	width: 990px;
	margin:0px;
	float:left;
}
#main-nav li {
	display: inline;
	list-style: none;
	
}
#main-nav li a {
	margin-right: 5px;
	font: bold 12px Arial;
	text-decoration: none;
	color: #ffffff;
	text-transform: none;
	border-right:1px solid #000000;
	padding: 0px 8px 0px 5px;
	outline: 0;	
	top: -2px;
}
#main-nav li a:hover, #main-nav li a.active {
	/*background: #514539;*/
}
#main-nav li a:hover, #main-nav li a.active {
	background: #bf0428;
	color: #ffffff;
}
#submenubar{
	width:990px;
	margin:0px auto;

}
#sub-link-bar {
	background: #192035;
	min-height: 10px;
	border-bottom: #645546 1px solid;
	width:990px;
	float:left;
	margin:0px auto;
	font: bold 12px Arial;
	text-decoration: none;
	color: #ffffff;
}
.sub-links {
    position: absolute;
	float:left;
	height: 25px;
	border-bottom: #645546 0px solid;
	display: none;	
	padding:10px 0px 0px 0px;	
	text-align: left;	
	width:400px;
	margin:0px auto;
	font: bold 12px Arial;
	text-decoration: none;
	color: #ffffff;
	
}

#main-nav li:hover .sub-links {
	display: block;
	
}


#main-nav li .sub-links li{
    background: #8b0408;
}
#main-nav li .sub-links li a {

    float:left;
	font: bold 12px Arial;
	background: #8b0408;
	text-decoration: none;
	color: #ffffff;
	list-style:none;
	display:inline;
}
#main-nav li .sub-links li a:hover {

	float:left;
	background: #192035;
	font: bold 12px Arial;
	text-decoration: none;
	color: #ffffff;
}
#main-nav li a.close {

	display: none;
	position: absolute;
}
#main-nav li a.close:hover {

	background: #900;
}
<!--
Thanks Spiffy Corners--> .round {
	display:block
}




/*pop up*/

.overlay-pop {
	display: flex;
	justify-content: center;
	align-items: center;
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(0, 0, 0, 0.7);
	transition: opacity 500ms;
	visibility: hidden;
	opacity: 0;
	height: 100vh;
	width: 100%;
}

	.overlay-pop:target {
		visibility: visible;
		opacity: 1;
	}

	.overlay-pop .popup {
		background: rgb(255 255 255);
		border-radius: 5px;
		position: relative;
		transition: all 1s ease-in-out;
		display: flex;
		align-items: center;
		margin: 0em auto;
		width: fit-content;
	
		}

		.overlay-pop .popup h2 {
			font-size: 2.2em;
			margin-top: 0;
			color: #333;
			font-family: Tahoma, Arial, sans-serif;
		}
		.overlay-pop .popup h4 {
			font-size: 18px;
		}
.popup-body {
	padding: 2em 3em;
}
.overlay-pop .popup .close {
	position: absolute;
	top: -16px;
	right: -16px;
	transition: all 200ms;
	font-size: 25px;
	text-decoration: none;
	color: rgb(51 51 51);
	background: rgb(255 255 255);
	border: 1px solid rgb(128 128 128);
	width: 30px;
	text-align: center;
	border-radius: 50%;
}

			.overlay-pop .popup .close:hover {
				color: darkred;
			}

		.overlay-pop .popup .content {
			max-height: 30%;
			overflow: auto;
		}
			.overlay-pop .popup .content ul {
				list-style: none;
				color: rgb(0 0 0);
				font-size: 18px;
			}
				.overlay-pop .popup .content ul li {
					padding: 2px 0;
				}

@media screen and (max-width: 700px) {
	.overlay-pop .popup {
		width: 70%;
	}
}