/*
	Suckerfish menu, Paul 8/6/2006
	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 as well.
*/

#sfnavtype, #sfnavtype ul {list-style-type: none; margin: 0 0 0 0; padding: 0; 
} /*no bullet points*/
#sfnavtype a {width: 158px; color: #ffffff; display: block;  text-decoration: none; padding-left: 6px;} 

/*for the links, specified absolutely as we have a fixed width*/
#sfnavtype ul a {width: 158px; } /*the drop down menus can be wider*/
#sfnavtype li {float: left; width: 168px; font-size: 0.8em;  text-align: left;
background-image: url('../../images/wardrobemagic/li-background.gif');
background-repeat: repeat-y;
background-position: 100% 0%;
background-color : #837BB5;
padding: 2px 0 2px 0;
} /*so Opera doesn't throw a wobbly*/
#sfnavtype ul li {width: 168px;
background-image: url('../../images/wardrobemagic/li-background.gif');
background-repeat: repeat-y;
background-position: 100% 0%;
} /*do this for Opera as well, to make the drop down menus wider*/
#sfnavtype li ul {position: absolute; width: 168px; left: -999em;} /*sub menus are shunted left*/
#sfnavtype li ul {margin: -1.6em 0 0 168px;} /*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: #C3BEDC;
background-image: url('../../images/wardrobemagic/li-background-hover.gif');
background-repeat: repeat-y;
background-position: 100% 0%;

}

/*sub menu when PARENT item are hovered over*/
#sfnavtype li ul li, #sfnavtype li ul li  {background: #837BB5; padding-left: 2px; }
/*sub menu when THE item are hovered over*/
#sfnavtype li ul li:hover, #sfnavtype li ul li.sfhover  {background: #C3BEDC;} /*sub menu when these are hovered over*/
#sfnavtype li ul li a:hover { color: #fff;}
/*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;}
#leftmenu li{border-top: 1px solid #fff;}





