/*
	Suckerfish menu, 
	This is for the Suckerfish menu from http://www.htmldog.com/articles/suckerfish/dropdowns/
	The sfhover class is produced by Javascript whenever a menu item is rolled over so that it
	will work in Internet Explorer 6 as well.
*/


#sfnavtype, #sfnavtype ul {list-style-type: none; margin: 0; padding: 0; } /*no bullet points*/
#sfnavtype a {width: 175px; color: #444; display: block;  text-decoration: none; padding-left: 0;} /*for the links, specified absolutely as we have a fixed width. (width: value is the width of the link text, padding-left: = padding between link text and edge menu) */
#sfnavtype ul a {width: 124px; padding-left: 0;} /*the drop down menus can be wider (width: doesn't seem to effect anything)*/ 
#sfnavtype li {float: left; width: 175px; font-size: 0.9em; background: #ccc; /* ( width: = width of top level menu)
background-image: url(../../images/side_bullet.gif);
background-repeat: no-repeat;
/*These units refer to the images position from the "left" and "top". */
background-position: 5% 55%;
} /*so Opera doesn't throw a wobbly*/
#sfnavtype ul li {width: 149px;} /*do this for Opera as well, to make the drop down menus wider*/
#sfnavtype li ul {position: absolute; width: 149px; left: -999em;} /*sub menus are shunted left*/
#sfnavtype li ul a {padding-left: 2px; width: 147px;} /*sub menus are shunted left*/
#sfnavtype li ul {margin: -1.5em 0 0 149px; } /*move sub sub menus out to the right*/
/*The next two lines start the menus off screen and move then on screen into the right place when the mouse is*/
/*hovering. "auto" works in Opera, sfhover is for IE. This caters for four levels of drop downs.*/
#sfnavtype li:hover ul ul, #sfnavtype li:hover ul ul ul, #sfnavtype li:hover ul ul ul ul,
	#sfnavtype li.sfhover ul ul, #sfnavtype li.sfhover ul ul ul, #sfnavtype li.sfhover ul ul ul ul {left: -999em; }
#sfnavtype li:hover ul, #sfnavtype li li:hover ul, #sfnavtype li li li:hover ul, #sfnavtype li li li li:hover ul,
	#sfnavtype li.sfhover ul, #sfnavtype li li.sfhover ul, #sfnavtype li li li.sfhover ul,
	#sfnavtype li li li li.sfhover ul {left: auto;}

/*These styles deal with the look and feel of the menu*/
 /*mainmenu when these are hovered over*/
#sfnavtype li:hover, #sfnavtype li.sfhover  {background: #E0DCD1; background-image: url(../../images/side_bullet-on.gif);
background-repeat: no-repeat;
/*These units refer to the images position from the "left" and "top". */
background-position: 5% 55%;
}

/*sub menu when PARENT item are hovered over*/
#sfnavtype li ul li, #sfnavtype li ul li  {background: #ffdd88; padding-left: 2px; }
/*sub menu when THE item are hovered over*/
#sfnavtype li ul li:hover, #sfnavtype li ul li.sfhover  {background: #ffeebb;} 
/*sub menu when these are hovered over*/
#sfnavtype li ul li a:hover, #sfnavtype li ul li a:hover { color: #444;}
/*Fix for IE7 from http://www.builtfromsource.com/2006/10/23/a-fix-for-suckerfish-dropdowns-in-ie-7/*/
#sfnavtype li:hover, #sfnavtype li.sfhover {position: static;}


#sfnavtype li ul {background: #eee; border: 1px solid white;} /*flyout menus*/

/*
The problem of relative and ever shrinking font sizes with nested li li is asddressed here:
http://www.thescripts.com/forum/thread98150.html
*/
#sfnavtype li ul li {font-size: 1em;}
#sidebar li{border-top: 1px solid #fff; padding: 1px 0 1px 0; }


/*A fix for Suckerfish dropdowns in IE 7 from http://www.builtfromsource.com/2006/10/23/a-fix-for-suckerfish-dropdowns-in-ie-7/*/
#sfnavtype li:hover, #sfnavtype  li.hover {
    position: static;
}

