/* ================================================================
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.cssplay.co.uk/menus/final_drop2.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the assocaited (x)html may be modified in any
way to fit your requirements.
=================================================================== */
/* style the outer div to give it width */
.menu {
/*font-size:0.85em; */
float: right;
}

/* 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: auto;
/* width: 100px; */
}

/* 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: auto;

/* width: 100px; */
padding: 0px 1px 0px 0px; 
position: relative;

}

/* JLn Avdelare */
.menu li.avd {
float: left;
width: 2px;
height: 24px;
padding: 0px;
background-image: url(../images/el_menuavd_c2_to_aa_2_x_24.gif);
position: relative;
font-size: 1px;
line-height: 1px;
overflow: hidden;
}

/* style the links for the top level */
.menu a, .menu a:visited {
margin: 0px;
display: block;
font-size: 11px;
font-weight: normal;
text-align: center;
text-decoration: none;
color:#1b1b1b;
/* width: auto; */
height: 24px; 
padding: 0px 10px 0px 10px;
line-height: 24px;
overflow: hidden;
color: #444;

}
/* a hack so that IE5.5 faulty box model is corrected OBS EJ KLAR FÖR WEBZOO (ingen width sätts just nu top level) */
* html .menu a, * html .menu a:visited {
width:100px;
w\idth: 75px;
}

/* style the second level background OFF OFF OFF */
.menu ul ul a.drop, .menu ul ul a.drop:visited {
background:#ff0000;
}

/* style the second level hover  OFF OFF OFF */
.menu ul ul a.drop:hover{
background: #ff0000;
}

.menu ul ul :hover > a.drop {
background:#009999;
}

/* style the third level background OFF OFF OFF */
.menu ul ul ul a, .menu ul ul ul a:visited {
background:#e2dfa8;
}

/* style the third level hover OFF OFF OFF */
.menu ul ul ul a:hover {
background:#b2ab9b;
}

.menu ul ul ul :hover > a {
background:#b2ab9b;
}

/* 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: 24px;
left: 0px;
width: 150px;
}
/* another hack for IE5.5 */
* html .menu ul ul {
top:23px;
t\op:24px;
}

/* JONAS: Last dropdown NOT IE 5 Hacked */
.menu ul ul.last {
left: -150px;
}

/* JONAS: Last dropdown NOT IE 5 Hacked */
.menu ul ul li {
  border: 1px solid #e3e3e3;
  border-width: 0px 0px 0px 0px;
}

/* position the third level flyout menu OFF OFF OFF */
.menu ul ul ul{
left:150px;
top:0;
width:150px;
}

/* position the third level flyout menu for a left flyout OFF OFF OFF */
.menu ul ul ul.left {
left:-150px;
}

/* style the table so that it takes no part in the layout - required for IE to work */
.menu table {position:absolute; top:0px; left:0px;}


/* style the second level links */
.menu ul ul a, .menu ul ul a:visited {
background: #efefef;
text-align: left;
color: #444;
height: 24px;
line-height: 24px;
padding: 0px 10px 0px 10px;
width: 132px;
background-image: url(../images/nav_menu.gif);
background-repeat: repeat-x;
}
/* yet another hack for IE5.5 */
* html .menu ul ul a{
width:150px;
w\idth:130px;

}

/* style the top level hover */
.menu a:hover, .menu ul ul a:hover{
color:#000;
background:#f9cbb3;

}

.menu :hover > a, .menu ul ul :hover > a {
color:#000;
background:#949e7c;
background:#f9cbb3;
background-image: url(../images/nav_hover.gif);
}

/* 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;
}

/* keep the fourth level hidden when you hover on second level list OR link */
.menu ul :hover 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;
}

/* make the fourth level visible when you hover over third level list OR link */
.menu ul :hover ul :hover ul :hover ul {
visibility:visible;
}
