/* common styling */
/* set up the overall width of the menu div, the font and the margins */
#named {
background:url("../../images/servicesmenuback.jpg") repeat-x scroll center bottom #6FC185;
border-bottom:1px solid #4B8259;
border-top:2px solid #4B8259;
height:30px;
list-style:none outside none;

padding-bottom:2px;
text-align:center;
margin:auto;
margin-top:1px;
}  



.active {
background:transparent url("../../images/servicesactivemenuback.jpg") no-repeat center bottom;
height:23px;

} 

#topmenu {
float:right;
width:800px;
color:#FFFFFF;
font-family:Helvetica,Geneva,Arial,SunSans-Regular,sans-serif;
margin:0;
padding-top:7px;
}
div#topmenu a {
color:#fff;
float:left;
font-size:0.9em;
text-decoration:none;
}

/* remove the bullets and set the margin and padding to zero for the unordered list */
#topmenu ul {
padding: 0; 
margin: 0;
list-style-type: none;
}
/* 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 */
#topmenu ul li {
float:left; width:100px;
position: relative;
}
#topmenu ul li a, #topmenu ul li a:visited {
border-width:1px 1px 0 0;
color:#FFFFFF;
display:block;
font-size:13px;
font-weight:bold;
height:29px;
line-height:20px;
text-decoration:none;
}
/* make the dropdown ul invisible */
#topmenu ul li ul {
display: none;
}

/* specific to non IE browsers */
/* set the background and foreground color of the main menu li on hover */

/* make the sub menu ul visible and position it beneath the main menu list item */
#topmenu ul li:hover ul {
display:block; 
position:absolute; 
top:28px;
left:0px;
width: 163px;
 border:solid 1px #797979
 z-index:500;
 
}
#topmenu ul li:hover ul li 
{
	margin-left:-13px;
}

/* style the background and foreground color of the submenu links */
#topmenu ul li:hover ul li a {
	display:block;
	color:#FFF;
	padding-left:3px;
	width: 160px;
	margin-bottom:-3px;
	background-color: #BCBCBC;
}
#topmenu ul li:hover ul li a:hover {

	background-color:#FFF;
	color: #BCBCBC;
}


#topmenu ul li:hover a 
{
	background:#fff;
	height:23px;
}

div#topmenu  a:active, div#topmenu a:hover
,#topmenu ul li:hover,#topmenu ul li:hover a {color:#797979;}  

/*---------------------------------------------------*/
/* common styling */
/* set up the overall width of the menu div, the font and the margins */

#topmenu { 
color: #fff; 
font-family: Helvetica, Geneva, Arial, SunSans-Regular, sans-serif; 
font-weight: 500; 
position: relative; 
z-index: 100; 
padding-top: 7px;
padding-left: 5px;
padding-right: 8px; }
/* remove the bullets and set the margin and padding to zero for the unordered list */
#topmenu ul {
padding: 0; 
margin: 0;
list-style-type: none;
}
/* 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 */
#topmenu ul li {
float:left; 
position: relative;
}
/* 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. */
#topmenu ul li a, #topmenu ul li a:visited {
display: block; 
text-align: left; 
text-decoration: none;
padding-top: 4px;
padding-left:5px;
padding-right:5px;
height: 29px;
color: #FFF;
border-width: 1px 1px 0 0; 
line-height: 20px;
margin-top: -5px;
font-size: 13px;
font-weight: bold;
}
/* make the dropdown ul invisible */
#topmenu ul li ul {
display: none;
}

/* specific to non IE browsers */
/* set the background and foreground color of the main menu li on hover */
#topmenu ul li:hover a {
color:#6691D8; 
background:#FFF;
}
/* make the sub menu ul visible and position it beneath the main menu list item */
#topmenu ul li:hover ul {
display:block; 
position:absolute; 
top:28px;
left:0px;
width: 160px;
}
/* style the background and foreground color of the submenu links */
#topmenu ul li:hover ul li a {
	display:block;
	color:#FFF;
	padding-left:3px;
	width: 160px;
	margin-bottom:-3px;
	background-color: #99B6E6;
}
/* style the background and forground colors of the links on hover */
#topmenu ul li:hover ul li a:hover {
	color:#6691D8;
	background-color: #F3F3F3;
}
