﻿ul#topnav {
	margin: 0; padding: 0;
	float: left;
	width: 960px;
	height:125px;
	list-style: none;
	position: relative; /*--Set relative positioning on the unordered list itself - not on the list item--*/
	font: Bold 14px Arial;
	background: url(images/templatemo_top_panel_bg.jpg) no-repeat;
}
ul#topnav li {
	float: left;
	width: 158px;
	height:58px;
	margin: 0; 	
	background: url(images/templatemo_menu_bg.jpg) repeat-x;
	border-right: 2px solid #000; /*--Divider for each parent level links--*/

	
}
ul#topnav li a {
	padding: 22px 15px;
	display: block;
	color: #f0f0f0;
	text-decoration: none;
	text-align:center;

	}
ul#topnav li:hover { background: black url(images/templatemo_menu_hover_bg.jpg) center center;
 }

/*--Notice the hover color is on the list item itself, not on the link. This is so it can stay highlighted even when hovering over the subnav--*/

ul#topnav li span {
    float: left;
	padding: 20px 0;
	position: absolute;
	left: 0; 
	display: none; /*--Hide by default--*/
	width: 958px;
	border-right: none;
	color: #fff;
	/*--Bottom right rounded corner--*/
	-moz-border-radius-bottomright: 5px;
	-khtml-border-radius-bottomright: 5px;
	-webkit-border-bottom-right-radius: 5px;
	/*--Bottom left rounded corner--*/
	-moz-border-radius-bottomleft: 5px;
	-khtml-border-radius-bottomleft: 5px;
	-webkit-border-bottom-left-radius: 5px;
}
ul#topnav li:hover span { display: block; } 

/*--Show subnav on hover--*/
ul#topnav li span a { display: inline; } 

/*--Since we declared a link style on the parent list link, we will correct it back to its original state--*/
ul#topnav li span a:hover {text-decoration: underline;}