
/*** ESSENTIAL STYLES ***/
#mainNavi UL, #mainNavi UL * { margin:0; padding:0; list-style:none; }
#mainNavi UL { line-height:1.0; }
#mainNavi UL ul { position:absolute; top:-999em; /* left offset of submenus need to match (see below) */ }
#mainNavi UL ul li {}
#mainNavi UL li:hover { visibility:inherit; /* fixes IE7 'sticky bug' */ }
#mainNavi UL li { position:relative; }
#mainNavi UL a { display:block; position:relative; }
#mainNavi UL li:hover ul, #mainNavi UL li.sfHover ul { left:175px; top:3px; /* match top ul list item height */ z-index:99; }
#mainNavi UL li:hover li ul, #mainNavi UL li.sfHover li ul { top:-999em; }
#mainNavi UL li li:hover ul, #mainNavi UL li li.sfHover ul { left:10.05em; /* match ul width */ top:0; }
#mainNavi UL li li:hover li ul, #mainNavi UL li li.sfHover li ul { top:-999em; }
#mainNavi UL li li li:hover ul, #mainNavi UL li li li.sfHover ul { left:10.05em; /* match ul width */ top:0; }

/* first level*/
#mainNavi UL { padding:0 0 0 0; margin:0 5px 0 5px; font-family:Arial, Helvetica, sans-serif; }
#mainNavi UL LI { background:none; border-bottom:1px solid #8FB0D9; }
#mainNavi UL LI A { display:block; color:#333333; padding:6px 0px 6px 18px; background:url(../pix/icon-link-blue.png) 4px 9px no-repeat; text-transform:uppercase; letter-spacing:1px; font-weight:bold; }
#mainNavi UL LI A:hover { color:#777777; }
/* #mainNavi UL LI A, #mainNavi UL LI A:visited  { color:#FFFFFF; } */
/* second level */
#mainNavi UL LI UL { background:#FFFFFF; padding:3px 5px 3px 5px; border:1px solid #8FB0D9; }
#mainNavi UL LI UL LI { z-index:150; }
#mainNavi UL LI UL LI A { padding:3px 3px 3px 18px; background:url(../pix/icon-link-blue.png) 4px 6px no-repeat; font-size:11px; text-transform:none; letter-spacing:normal; font-weight:normal; white-space:nowrap; }
#mainNavi UL LI UL LI A:hover { color:#777777; }
#mainNavi UL LI UL LI.lastItem { border-bottom:none; }
/* third level */
#mainNavi UL LI UL LI UL {}
#mainNavi UL LI UL LI UL LI {}
#mainNavi UL LI UL LI UL LI A { padding:6px 10px 6px 10px; background:#FFEEEE; font-weight:normal; font-size:11px; }
#mainNavi UL LI:hover, #mainNavi UL LI.sfHover, #mainNavi UL A:focus, #mainNavi UL A:hover, #mainNavi UL A:active { color:#CC0033; outline:0; }

/*** arrows **/
#mainNavi UL a.sf-with-ul { min-width:1px; /* trigger IE7 hasLayout so spans position accurately */ }
.sf-sub-indicator { display:none; position:absolute; right:0.5em; top:0.5em; width:10px; height:10px; text-indent:-999em; overflow:hidden; background:url('../pix/arrows-ffffff.png') no-repeat -10px -100px; }
#mainNavi UL LI UL LI .sf-sub-indicator { display:block; }
a > .sf-sub-indicator {  /* give all except IE6 the correct values */ top:0.5em; background-position:0 -100px; /* use translucent arrow for modern browsers*/ }
/* apply hovers to modern browsers */
a:focus > .sf-sub-indicator, a:hover > .sf-sub-indicator, a:active > .sf-sub-indicator, li:hover > a > .sf-sub-indicator, li.sfHover > a > .sf-sub-indicator { background-position:-10px -100px; /* arrow hovers for modern browsers*/ }

/* point right for anchors in subs */
#mainNavi UL ul .sf-sub-indicator { background-position:-10px 0; }
#mainNavi UL ul a > .sf-sub-indicator { background-position:0 0; }
/* apply hovers to modern browsers */
#mainNavi UL ul a:focus > .sf-sub-indicator, #mainNavi UL ul a:hover > .sf-sub-indicator, #mainNavi UL ul a:active > .sf-sub-indicator, #mainNavi UL ul li:hover > a > .sf-sub-indicator, #mainNavi UL ul li.sfHover > a > .sf-sub-indicator { background-position:-10px 0; /* arrow hovers for modern browsers*/ }

/*** shadows for all but IE6 ***/
/*
.sf-shadow ul { background:url('../pix/shadow.png') no-repeat bottom right; padding:0 0 0 0; -moz-border-radius-bottomleft:17px; -moz-border-radius-topright:17px; -webkit-border-top-right-radius:17px; -webkit-border-bottom-left-radius:17px; }
.sf-shadow ul.sf-shadow-off { background:transparent; }
*/
