@charset "utf-8";
/* float the list so that the items are in a line and their position relative so that the drop down list will appear in the right place underneath each list item */
.nav ul li a:hover {
	width: 100px;
	height: 40px;
	line-height: 40px !important;
}

.nav ul li {
	float: left;
	position: relative;
	height: 40px;
}
/* style the links to be 104px wide by 30px high with a top and right border 1px solid white. Set the background color and the font size. */
.nav ul li a {
	display: block;
	text-align: center;
	text-decoration: none;
	width: 90px;
}
/* make the dropdown ul invisible */
.nav ul li ul {
	margin-top:-6px;
	display: none;
}
/* specific to non IE browsers */
/* set the background and foreground color of the main menu li on hover */
.menu ul li:hover a {
	color: #fff;
}
/* make the sub menu ul visible and position it beneath the main menu list item */
.nav ul li:hover ul {
	display: block;
	position: absolute;
	top: 46px;
	left: 0;
	width: 100px;
	z-index: 10000;
}

.nav ul li:hover ul li {
	width: 100px;
	background: #4DA6FF;
	height: 39px;
	line-height: 39x !important;
	margin: 0px;
	border-top: 1px dashed #ccc;
}
/* style the background and foreground color of the submenu links */
.nav ul li:hover ul li a {
	display: block;
	color: #fff;
	font-size: 14px;
	margin: 0 auto;
	height: 39px;
	line-height: 40px;
}
/* style the background and forground colors of the links on hover */
.nav ul li:hover ul li a:hover {
	background: #FFA500;
	width: 100px;
	color: #fff !important;
}