/* 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: 31px; /* adjust to height of graphics */
 left: -1px;
 width: 170px;
}

/* 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: #a7bbc8;			/* 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-color:	#edf5f8;			/* PRIMARY BG COLOR  */
	border:				1px solid #798891;	/* BORDER COLOR */
	font-size:			11px;			/* 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 */
}
.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 */
	height:				34px;
	width:				201px;
}
.menulist a:link.selected, .menulist a:visited.selected {
	background-position:0 -34px;
}
.menulist .home {
	background-image:	url(/images/nav_home.gif);
	background-repeat:	no-repeat;
	width:				49px; 
	height:				34px;
}
.menulist .services {
	background-image:	url(/images/nav_services.gif);
	background-repeat:	no-repeat;
	width:				63px; 
	height:				34px;
}
.menulist .training {
	background-image:	url(/images/nav_training.gif);
	background-repeat:	no-repeat;
	width:				64px; 
	height:				34px;
}
.menulist .speaking {
	background-image:	url(/images/nav_speaking.gif);
	background-repeat:	no-repeat;
	width:				106px; 
	height:				34px;
}
.menulist .studies {
	background-image:	url(/images/nav_studies.gif);
	background-repeat:	no-repeat;
	width:				88px; 
	height:				34px;
}
.menulist .publications {
	background-image:	url(/images/nav_publications.gif);
	background-repeat:	no-repeat;
	width:				90px; 
	height:				34px;
}
.menulist .clients {
	background-image:	url(/images/nav_clients.gif);
	background-repeat:	no-repeat;
	width:				57px; 
	height:				34px;
}
.menulist .about {
	background-image:	url(/images/nav_about.gif);
	background-repeat:	no-repeat;
	width:				66px; 
	height:				34px;
}
.menulist .contact {
	background-image:	url(/images/nav_contact.gif);
	background-repeat:	no-repeat;
	width:				70px; 
	height:				34px;
}



/* Links inside the menu */
.menulist a {
	display: block;
	color: #1c4f73;			/* 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: #e1e1e1;
	background-color: #6f91a9;			/* ROLLOVER BG COLOR */
	background-position:0 -34px;	/* ROLLOVER OFFSET only affects top level graphics */
}
.menulist a:hover.selected, .menulist a.highlighted:hover.selected, .menulist a:focus.selected {
	background-position:0 -68px;	/* SELECTED OFFSET make selected nav pieces stay selected, only affects top level graphics */
}
.menulist a.highlighted {			/* PARENT TO ROLLOVER BG COLOR */
	color: #798891;
	background-color: #1c4f73;
	background-position:0 -34px;	/* ROLLOVER OFFSET only affects top level graphics */
}
.b, a.highlighted.b, a:hover.b, a.highlighted:hover.b, a:focus.b {
	background-position:0 -68px;	/* ACTUAL SELECTED STATE (class="b") */
}

/* 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 */