#submenuBG {
	float: none;
	height: auto;
	background-color: #003146;
	margin: 0px;
	padding: 0px;
	background-image: url(../images/bg-subnav.jpg);
	background-repeat: repeat-x;
	background-position: center top;
	border-bottom-width: 3px;
	border-bottom-style: solid;
	border-bottom-color: #001018;
}
.submenuWrapper {
	width: 650px;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
}
/* General menu styling */
.subnav {
	margin: 0;
	padding: 0;
	line-height: 22px;
	font-family: Tahoma;
	letter-spacing: 1px;
	text-transform: none;
	list-style-type: none;
}
	
	/* The main navigation link containers */
	.subnav>li {
	display: block;
	float: left; /* Displaying them on the same line */
	margin: 0;
	padding: 0;
	list-style-type: none;
	}

		/* The main navigation links */
		.subnav>li>a {
	/* Layout */
	display: block;
	position: relative;
	padding: 0px;
	/* Text */
	font-family: Tahoma;
	color: #FFFFFF;
	font-size: 12px;
	text-decoration: none;
	/* Background */
	background: black; /* For older browsers */
	background: none; /* Transparent background for modern browsers */
	/* Making the color to change on hover with a transition */
	-webkit-transition: color .3s ease-in;
	-moz-transition: color .3s ease-in;
	-o-transition: color .3s ease-in;
	-ms-transition: color .3s ease-in;
		}

		/* Changing the color on hover */
		.subnav>li>a:hover, .subnav>li:hover>a {
	color: #F0E58C;
		}

		/* The links which contain dropdowns menu are wider, because they have a little arrow */
		.subnav>.subdropdown>a {
	padding-top: 5px;
	padding-right: 10px;
	padding-bottom: 5px;
	padding-left: 10px;
	background-image: url(../images/menu-sep-blue-sm.jpg);
	background-repeat: no-repeat;
	background-position: right center;
		}



		/* The submenus */
		.subnav ul {
	position: absolute;
	margin: 0;
	padding: 0;
	list-style: none;
	display: block;
	z-index: 1000;
		}

		/* General layout settings for the link containers of the submenus */
		.subnav ul li {
			position: absolute;
			top: -9999px; /* Hiding them */
			height: 0px; 
			display: block;
			margin: 0;
			padding: 0;

			/* Making them to expand their height with a transition, for a slide effect */
			-webkit-transition: height .2s ease-in;
			-moz-transition: height .2s ease-in;
			-o-transition: height .2s ease-in;
			-ms-transition: height .2s ease-in;
		}

		/* Displays the submenu links, by expading their containers (with a transition, previously defined) and by repositioning them */
		.subdropdown:hover>ul>li {
	height: 30px;
	position: relative;
	top: auto;
		}

			/* The submenu links */
			.subnav ul li a {
	width: 210px;
	display: block;
	position: relative;
	/* Text */
	font-family: Tahoma, Geneva, sans-serif;
	color: #FFFFFF;
	text-decoration: none;
	font-size: 11px;
	/* Background & effects */
	background: black;
	background: #003E5D;
	-webkit-transition: color .3s ease-in, background .3s ease-in;
	-moz-transition: color .3s ease-in, background .3s ease-in;
	-o-transition: color .3s ease-in, background .3s ease-in;
	-ms-transition: color .3s ease-in, background .3s ease-in;
	padding-top: 4px;
	padding-right: 5px;
	padding-bottom: 4px;
	padding-left: 15px;
	z-index: 1000000;
			}

			/* Changing the link's color and background on hover */
			.subnav ul li:hover>a, .subnav ul li a:hover {
	color: #FFFFFF;
	background-color: rgba(102,153,153,1);
			}

			/* Making the level 2 (or higher) submenus to appear at the right of their parent */
			.subnav ul .subdropdown:hover ul {
				left: 160px;
				top: 0px;
			}

			/* The submenu links have a different arrow which indicates another dropdown submenu */
			.subnav ul .subdropdown a::after{
				width: 6px;
				height: 6px;
				border-bottom: 0;
				border-right: 1px solid #fff;
				border-top: 1px solid #fff;
				top: 12px;
			}

			/* Changing the color of the arrow on hover */
			.subnav ul .subdropdown:hover>a::after, .subnav ul .subdropdown>a:hover::after {
				border-right: 1px solid #0fd0f9;
				border-top: 1px solid #0fd0f9;
			}

.subheadhide {
	display:none;
}



@media screen and (max-width: 769px) {

	/* The main navigation link containers */
	.subnav>li {
	width: 100%;
	display: block;
	float: left; /* Displaying them on the same line */
	margin: 0;
	padding: 0;
	list-style-type: none;
	}

		/* The main navigation links */
		.subnav>li>a {
	/* Layout */
	display: block;
	position: relative;
	padding: 0px;
	/* Text */
	font-family: Tahoma;
	color: #FFFFFF;
	font-size: 12px;
	text-decoration: none;
	/* Background */
	background: black; /* For older browsers */
	background: none; /* Transparent background for modern browsers */
	/* Making the color to change on hover with a transition */
	-webkit-transition: color .3s ease-in;
	-moz-transition: color .3s ease-in;
	-o-transition: color .3s ease-in;
	-ms-transition: color .3s ease-in;
	list-style-type: none;
		}
		/* The links which contain dropdowns menu are wider, because they have a little arrow */
		.subnav>.subdropdown>a {
	padding-top: 5px;
	padding-bottom: 5px;
	background-image: none;
	text-align: center;
	list-style-type: none;
		}
.submenuWrapper {
	width: 100%;
}
.subheadhide {
	font-family: Tahoma;
	color: #FFFFFF;
	font-size: 14px;
	display: block;
	background-color: #082E3C;
	padding-top: 10px;
	padding-bottom: 10px;
	text-align: center;
}

}
