/* CSS Document */

#menu {
/* width: 12em;  set width of menu */
background: #eee;
z-index:40;

} 

#menu ul { /* remove bullets and list indents */
list-style: none;
margin: 0;
padding: 0;
}

/* style, color and size links and headings to suit */
#menu a, #menu h2 {
display: block;
margin: 0;
padding: 0px 3px;
}

#menu h2 {
background-image:url(../img/obrazy/menu.jpg);
font-weight:bold;
}

#menu a {
margin:0px 0px 0px 0px;
background-image:url(../img/obrazy/menu.jpg); 
text-decoration: none;
}

#menu a:hover {

background-image:url(../img/obrazy/menu2.jpg); 
}

#menu li {
/* make the list elements a containing block for the nested lists */
position: relative;
background-image:url(../img/obrazy/uvod_37.jpg); background-repeat:no-repeat; background-position:bottom;
} 

#menu ul ul ul {
position: absolute;
top: 0;
right: 100%; /* to position them to the right of their containing block */
width: 100%; /* width is based on the containing block */
}

div#menu ul ul ul, 
div#menu ul ul li:hover ul ul, 
div#menu ul ul ul ul,
div#menu ul ul ul li:hover ul ul
{display: none;}

div#menu ul ul li:hover ul,
div#menu ul ul ul li:hover ul,
div#menu ul ul ul li:hover ul,
div#menu ul ul ul ul li:hover ul
{display: block;}


