/* remove all list stylings */
.menu, .menu ul {
    margin: 0;
    padding: 0;
    border: 0;
    list-style-type: none;
    display: block;
}

.menu li {
    margin: 0;
    padding: 0;
    border: 0;
    display: block;
    float: left;	/* move all main list items into one row, by floating them */
    position: relative;	/* position each LI, thus creating potential IE.win overlap problem */
    z-index: 5;		/* thus we need to apply explicit z-index here... */
}

.menu li:hover {
    z-index: 10000;
    white-space: normal;
}

.menu li li {
    float: none;
}

.menu ul {
    visibility: hidden;
    position: absolute;
    z-index: 10;
    left: 0;
    top: 0;
}

.menu li:hover>ul {
    visibility: visible;	/* display submenu them on hover */
    top: 100%;	/* 1st level go below their parent item */
}

.menu li li:hover>ul {	/* 2nd+ levels go on the right side of the parent item */
    top: 0;
    left: 100%;
}

menu:after, .menu ul:after {
    content: ".";
    height: 0;
    display: block;
    visibility: hidden;
    overflow: hidden;
    clear: both;
}
.menu ul {
    background-image: url(empty.gif);	/* required for sticky to work in IE6 and IE7 - due to their (different) hover bugs */
    padding: 00px 30px 30px 30px;
    margin: 0px 0 0 -30px;
    /* background: #f00; */	/* uncomment this if you want to see the "safe" area.
                                                            you can also use to adjust the safe area to your requirement */
}
.menu ul ul {
    padding: 30px 30px 30px 10px;
    margin: -30px 0 0 -10px;
}
/* -- sticky.submenu.END -- */







.menu li li {	/* create borders around each item */
}
.menu ul>li + li {	/* and remove the top border on all but first item in the list */
    border-top: 0;
}

.menu li li:hover>ul {	/* inset 2nd+ submenus, to show off overlapping */
    left: 90%;
}

/* special colouring for "Main menu:", and for "xx submenu" items in ADxMenu
        placed here to clarify the terminology I use when referencing submenus in posts */
.menu>li:first-child>a, .menu li + li + li li:first-child>a {
}





.menu li {
    padding: 0;
    margin: 0;
}

.menu li.L0 {
    float: left;
    width: auto;
    line-height: 21px;
}

.menu li.L0 a {
    background-color: white;
    border-radius: 5px 5px 0 0;
    margin: 0 3px;
}
.menu li.L0 a:hover {
    text-decoration: underline;
    background-color: #676767;
    color: white !important;
}
.menu li.L0.no a {
    color: black;
    text-decoration: none;
    font-size: 12px;
    font-size: 16px;
    font-weight: normal;
    display: block;
    padding: 0 15px;
    padding: 5px 15px;
}


.menu li.L0.act a {
    background-color: #9a9a9a;
}


.menu li.L0.act a {
    color: white;
    text-decoration: none;
    font-size: 12px;
    font-size: 16px;
    font-weight: normal;
    display: block;
    padding: 0 15px;
    padding: 5px 20px;
}

.menu li.L1 {
    border-radius: 0;
    border-bottom: 1px solid white;
    width: 15em;
}
.menu li.L1:last-child {
    border: none;
} 
.menu li.L1 > a {
    background: #9a9a9a;
    display: block;
    border-radius: 0;
}
.menu li.L1 a.no{
    color: white;
}
.menu li.L1 a:hover {
    text-decoration: none;
    background-color: #676767;
    color: lime;
}
.menu li.L1 > a.act {
    background-color: #676767;
}
.menu li.L1 a.act {
    text-decoration: underline;
}

