/*
	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: 32px 0 0 0; padding: 0; } /*no bullet points*/
#sfnavtype a {width: 193px; color: #333; display: block;  text-decoration: none; padding: 3px 2px 3px 5px;} /*for the links, specified absolutely as we have a fixed width*/
#sfnavtype ul a {width: 124px; padding-left: 25px;} /*the drop down menus can be wider*/
#sfnavtype li {float: left; width: 200px; font-size: 0.9em; background: white; 
background-image: url(../../images/side_bullet.gif);
background-color: #E3E4ED;
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: 249px;} /*do this for Opera as well, to make the drop down menus wider*/
#sfnavtype li ul {position: absolute; width: 249px; left: -999em;} /*sub menus are shunted left*/
#sfnavtype li ul a {padding-left: 2px; width: 227px;} /*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: #F2F2F7; 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: #E3E4ED; padding-left: 2px; }
/*sub menu when THE item are hovered over*/
#sfnavtype li ul li:hover, #sfnavtype li ul li.sfhover  {background: #F2F2F7;} 
/*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_menu referss to the cointainer div n the page layout*/
#side-left 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;
}


