/* ================================================================ 
This copyright notice must be untouched at all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.stunicholls.com/menu/skeleton_right.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any 
way to fit your requirements.
=================================================================== */

#nav li{direction:rtl;padding:0 0 5px 0; margin:0; list-style:none; font-family: tahoma,sans-serif;font:9px tahoma, verdana, sans-serif; border:1px solid #000; border-color:#eac #ebd #a68 #b79; border-width:1px 1px 2px 2px; background:#fff; position:relative; z-index:200; width:180px;background-image:url('../../theme/images/menu_hover_bg.jpg');}
#nav {float:right;}
#nav ul li{padding:0 0 5px 0; margin:0; list-style:none; font: 9px tahoma,verdana, sans-serif; border:1px solid #000; border-color:#eac #ebd #a68 #b79; border-width:1px 1px 2px 2px; background:#fff; position:relative; z-index:200; background-image:url('../../theme/images/menu_hover_bg.jpg');}
#nav li li {background:#fff;background-image:url('../../theme/images/buttenbg.gif');}
/* a hack for IE5.x and IE6 */
* html #nav li {float:left;}

#nav li a {display:block; color:#888; margin:0 10px 0 10px; height:20px; line-height:20px; text-decoration:none; white-space:nowrap; width: 16em;
w\idth: 16em;
}

#nav li:hover {position:relative; z-index:300;   background-image:url('../../theme/images/buttenbg.gif');}

#nav ul {position:absolute; left:-9999px; top:-9999px;}
/* yet another hack for IE5.x and IE6 */
* html #nav, * html #nav ul {width:1px;}

/* it could have been this simple if all browsers understood */
/* show next level */
#nav li:hover > ul {right:-5px; left:auto; margin-right:100%; top:-1px;}
/* keep further levels hidden */
#nav li:hover > ul ul {position:absolute; left:-9999px; top:-9999px; width:auto;}
/* show path followed */
#nav li:hover > a {text-decoration:underline; color:#b57;}


/* but IE5.x and IE6 need this lot to style the flyouts and path followed */
/* show next level */
#nav li:hover ul,
#nav li:hover li:hover ul,
#nav li:hover li:hover li:hover ul,
#nav li:hover li:hover li:hover li:hover ul,
#nav li:hover li:hover li:hover li:hover li:hover ul
{right:-5px; left:auto; margin-right:100%; top:-1px; /*background-image:url('../../theme/images/menu_hover_bg.jpg');*/}

/* keep further levels hidden */
#nav li:hover ul ul,
#nav li:hover li:hover ul ul,
#nav li:hover li:hover li:hover ul ul,
#nav li:hover li:hover li:hover li:hover ul ul
{position:absolute; left:-9999px; top:-9999px;background-image:url('../../theme/images/menu_hover_bg.jpg');}

/* show path followed */
#nav li:hover a,
#nav li:hover li:hover a,
#nav li:hover li:hover li:hover a,
#nav li:hover li:hover li:hover li:hover a,
#nav li:hover li:hover li:hover li:hover li:hover a,
#nav li:hover li:hover li:hover li:hover li:hover li:hover a
{text-decoration:underline; color:#b57;}

/* hide futher possible paths */
#nav li:hover li a,
#nav li:hover li:hover li a,
#nav li:hover li:hover li:hover li a,
#nav li:hover li:hover li:hover li:hover li a,
#nav li:hover li:hover li:hover li:hover li:hover li a
{text-decoration:none; color:#888;}
