/* see d:\home\extra\topmenu-css-colors.jpg for color 1, 2, 3 etc. */
.menu {text-align: left; width:960px; height:32px; position:relative; z-index:100; border-right:0px solid #000000;}

/* remove all the bullets, borders and padding from the default list styling */
.menu ul {padding:0;margin:0;list-style-type:none;}
.menu ul ul {width:160px;}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu li {float:left;width:159px;position:relative;}
/* style the links for the top level - BLA. TOP MENU color 1: BACKGROUND */
.menu a, .menu a:visited {display:block;font-size:11px;text-decoration:none; color:#FFFFFF; width:155px; height:30px; 
border:1px solid #000000; border-width:1px 0px 1px 1px; background:#1989C5; padding-left:10px; line-height:29px; font-weight:bold;}
/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {width:149px; w\idth:138px;}

/* style the second level background - menuitem on 1. drop down menu, if this one has a menu: Color 4 */
.menu ul ul a.drop, .menu ul ul a.drop:visited {background:#1989FF url("/img/drop.gif") bottom right no-repeat;}

/* style the second level hover: Mouse runs down the 1. drop down NO IMPACT ?  */
.menu ul ul a.drop:hover {background:#00FF00 url("/img/drop.gif") bottom right no-repeat;}
.menu ul ul :hover > a.drop {background:#c9ba65 url(img/drop.gif) no-repeat bottom right;}

/* hover Color 5 over menu item with undermenu */
.menu ul ul :hover > a.drop {background:#FF0000 url("/img/drop.gif") bottom right no-repeat;}

/* style the third level background (under-menuen) Color 5 from start */
.menu ul ul ul a, .menu ul ul ul a:visited {background:#1989FF;}

/* style the third level hover HOVER Color OVER MENUPUNKTER I 3. MENU */
.menu ul ul ul a:hover {background:#FF0000;}

/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul ul {visibility:hidden;position:absolute;height:0;top:31px;left:0; width:149px;border-top:1px solid #000;}

/* position the third level flyout menu CHANGEABLE a:271-149 b:200-200 */
.menu ul ul ul{left:200px; top:-1px; width:200px;}

/* position the third level flyout menu for a left flyout */
.menu ul ul ul.left {left:-149px;}

/* style the table so that it takes no part in the layout - required for IE to work */
.menu table {position:absolute; top:0; left:0; border-collapse:collapse;}

/* style the second level links CHANGEABLE a:250 b:179 first drop down menu Color 3 */
.menu ul ul a, .menu ul ul a:visited {background:#1989C5; color:#FFFFFF; height:auto; 
line-height:1.2; padding:5px 10px; width:179px; border-width:0px 1px 1px 1px;}

/* style the top level hover - INGEN BETYDNING */
.menu a:hover, .menu ul ul a:hover{color:#000000; background:#FF0000;}
/* style the top level hover - Color 2: HOVER-Color i HOVEDMENU OG MED MUSENS UNDERPUNKTER */
.menu :hover > a, .menu ul ul :hover > a {color:#FFFFFF; background:#FF0000;}

/* make the second level visible when hover on first level list OR link */
.menu ul li:hover ul,
.menu ul a:hover ul{visibility:visible;}
/* keep the third level hidden when you hover on first level list OR link */
.menu ul :hover ul ul{visibility:hidden;}
/* make the third level visible when you hover over second level list OR link */
.menu ul :hover ul :hover ul{ visibility:visible;}
