/* CSS Document */
/* Styles used by the navigation bar
   ----------------------------------------------------------------- */



.header {
	width: 100%;
	background: #fffffe;
	border-bottom-width: 2px;
	border-bottom-style: solid;
	border-bottom-color: #0078c0;
	position: relative;
}

/* New styling used by the drop-down menu */
/*micro-clearfix by Nicolas Gallagher http://nicolasgallagher.com/micro-clearfix-hack/*/
/* For modern browsers */
.cf:before, .cf:after {
	content:"";
	display:table;
}

.cf:after {
	clear:both;
}

/* For IE 6/7 (trigger hasLayout) */
.cf {
	zoom:1;
}
/*horizontal menu styles*/	
nav {
	height: 55px;
	width: 996px;
	margin: 0px auto;
	position: relative;
}

nav img {
	border: none;
}

nav ul, nav li {
	margin: 0;
	padding: 0;
	list-style: none;
	float: left;
}
nav ul {
	height: 55px;
	width: 100%;
}
nav li {
	position: relative;
}
nav li a {
	display: block;
	line-height: 55px;
	text-align: center;
	font-size: 1.0em;
	padding: 0 1em;
	color: #5f716e;
	text-decoration: none;
}
nav li a:hover, .topmenu li:hover > a {
	background: #fffffe;
	position: relative;
	color: #50C87C;
}
.current, a:hover.current, .topmenu li:hover a.current {
	position: relative;
	cursor: default;
}
/*dropdown menu styles*/
ul.submenu {
	float: none;
	background: #fffffe;
	width: auto;
	height: auto;
	position: absolute;
	top: 55px;
	left: -9000em;
	max-height: 0;
	-moz-transition:max-height 0.5s ease-in-out;
	-webkit-transition:max-height 0.5s ease-in-out;
	-o-transition:max-height 0.5s ease-in-out;
	transition:max-height 0.5s ease-in-out;
	overflow: hidden;
	z-index: 1000;
}
ul.submenu li {
	float: none;
}
.topmenu li:hover ul {
	left: 0;
	max-height: 800px;
}
ul.submenu li a {
	padding: .1em 2em;
	white-space: nowrap;
	text-transform: none;
}
ul.submenu li:last-child a {
	border-bottom: none;
}
ul.submenu li a:hover {
	background: #fffffe;
	top: 0;
}

