/* HORIZONTAL FREESTYLE MENU LAYOUT */

/* CSS to style fsmenu from twinhelix.com. Customized for using graphic pieces at
top level with CSS rollovers, including selected state using class="selected".
References to graphics in comments below refer to graphics in top level of menu.

Primary areas to customize have CAPITALIZED comments.

created 3/26/08 by PerfectWeb.com

*/


/* All <ul> tags in the menu including the first level */
.menulist, .menulist  ul {
 margin: 0;
 padding: 0;
 list-style: none;
}

/* Submenus (<ul> tags) are hidden and absolutely positioned downwards from their parent */
.menulist ul {
 display: none;
 position: absolute;
 top: 1.0em;  /* I'm using ems and px to allow people to zoom their font */
 margin-top: 22px; /* adjust to height of graphics */
 left: -2px;
 width: 152px;
}

/* Second and third etc. level submenus - position across from parent instead */
.menulist ul ul {
 top: -1px; margin-top: 0;
 left: 148px;
}

/*
 All menu items (<li> tags). 'float: left' lines them up horizontally, and they are
 positioned relatively to correctly offset submenus. Also, they have overlapping borders.
*/
.menulist li {
	float: left;
	display: block;
	position: relative;
	background-color: #303437;			/* COLOR BEHIND GRAPHICS */
	text-indent:		-9999px;	/* hide text in top level */
	font-size:			1px;
}
/* Items in submenus - override float/border/margin from above, restoring default vertical style */
.menulist ul li {
	float:				none;
	background:			#4f565b url(pics/dropdown_bg3.gif) no-repeat; /* JH custom border */
	border:				.1em solid #4f565b;	/* BORDER COLOR */
	font-size:			12px;			/* FONT SIZE FOR MENUS */
	line-height:		1.3em;			/* LINE HEIGHT FOR MENUS */
	margin:				0 -1px -1px 0;	/* -1px bottom margin collapse borders to 1px between items */
	text-indent:		0px;			/* unhide text in menus */
	padding-top:		3px;			/* JH added to center link */
}
.menulist ul li .last {
	background:			url(pics/dropdown_last2.gif) bottom no-repeat; /* JH custom border bottom */
}
.menulist ul>li:last-child {
 margin-bottom: 1px; /* Mozilla fix */
}

/* custom classes for top level menu graphics */

.nav_left {
	float:				left;			/* for the left graphic */
}
.menulist a:link.selected, .menulist a:visited.selected {
	background-position:0 -21px;
}
.menulist .home {
	background-image:	url(pics/nav_home.gif);
	background-repeat:	no-repeat;
	width:				49px; 
	height:				21px;
}
.menulist .about {
	background-image:	url(pics/nav_about.gif);
	background-repeat:	no-repeat;
	width:				64px; 
	height:				21px;
}
.menulist .technology {
	background-image:	url(pics/nav_technology.gif);
	background-repeat:	no-repeat;
	width:				108px; 
	height:				21px;
}
.menulist .products {
	background-image:	url(pics/nav_products.gif);
	background-repeat:	no-repeat;
	width:				88px; 
	height:				21px;
}
.menulist .installations {
	background-image:	url(pics/nav_installations.gif);
	background-repeat:	no-repeat;
	width:				115px; 
	height:				21px;
}
.menulist .news {
	background-image:	url(pics/nav_news.gif);
	background-repeat:	no-repeat;
	width:				56px; 
	height:				21px;
}
.menulist .resources {
	background-image:	url(pics/nav_resources.gif);
	background-repeat:	no-repeat;
	width:				93px; 
	height:				21px;
}
.menulist .contact {
	background-image:	url(pics/nav_contact.gif);
	background-repeat:	no-repeat;
	width:				89px; 
	height:				21px;
}



/* Links inside the menu */
.menulist a {
	display: block;
	color: #fff;			/* LINK COLOR  */
	text-decoration: none;
}
/* pad menus below top level graphics */
	.menulist ul a {
	padding: 3px;
}

/* Lit  items: 'hover' is mouseover, 'highlighted' are parent items to visible menus */
.menulist a:hover, .menulist a.highlighted:hover, .menulist a:focus {
	color: #edcf8d;
	background-position:0 -21px;	/* ROLLOVER OFFSET only affects top level graphics */
}
.menulist a:hover.selected, .menulist a.highlighted:hover.selected, .menulist a:focus.selected {
	background-position:0 -21px;	/* SELECTED OFFSET make selected nav pieces stay selected, only affects top level graphics */
}
.menulist a.highlighted {			/* PARENT TO ROLLOVER BG COLOR */
	color: #000;
	background-color: #aaa;
	background-position:0 -21px;	/* ROLLOVER OFFSET only affects top level graphics */
}


/* Only style submenu indicators within submenus. */
.menulist a .subind {
 display: none;
}
.menulist ul a .subind {
 display: block;
 float: right;
}


/* 'Escaped Comment' hack for horizontal menubar width in IE5/Mac */
.menulist a {
 float: left;
}
.menulist ul a {
 float: none;
}
/* \*/
.menulist a {
 float: none;
}
/* */


/*
 HACKS: IE/Win:
 A small height on <li> and <a> tags and floating prevents gaps in menu.
 * html affects <=IE6 and *:first-child+html affects IE7.
 You may want to move these to browser-specific style sheets.
*/
*:first-child+html .menulist ul li {
 float: left;
 width: 100%;
}

* html .menulist ul li {
 float: left;
 height: 1%;
}
* html .menulist ul a {
 height: 1%;
}
/* End Hacks */
