/*
 * Copyright (c) 2008 Joel Birch
 *
 * Dual licensed under the MIT and GPL licenses:
 * 	http://www.opensource.org/licenses/mit-license.php
 * 	http://www.gnu.org/licenses/gpl.html
 */

/*** adding sf-vertical in addition to sf-menu creates a vertical menu ***/
div#mainmenu .menu, div#mainmenu .menu li {
	width:	10em;
}
/* this lacks ul at the start of the selector, so the styles from the main CSS file override it where needed */
div#mainmenu .menu li:hover ul,
div#mainmenu .menu li.sfHover ul {
	left:	10em; /* match ul width */
	top:	0;
}

/*** alter arrow directions ***/
div#mainmenu .menu .sf-sub-indicator {
	background-position: -10px 0;	/* IE6 gets solid image only */
} 

div#mainmenu .menu a > .sf-sub-indicator {
	background-position: 0 0; /* use translucent arrow for modern browsers*/
} 

/* hover arrow direction for modern browsers*/
div#mainmenu .menu a:focus > .sf-sub-indicator,
div#mainmenu .menu a:hover > .sf-sub-indicator,
div#mainmenu .menu a:active > .sf-sub-indicator,
div#mainmenu .menu li:hover > a > .sf-sub-indicator,
div#mainmenu .menu li.sfHover > a > .sf-sub-indicator {
	background-position: -10px 0; /* arrow hovers for modern browsers*/
}

