*::-moz-any-link br,*:-moz-any-link br { 
/*a workarround for mozilla*/
display:none;
}
div#menu * {
  border-collapse: collapse;
  cursor: pointer; /*because IE displays the text cursor if the link is inactive*/
}
div#menu {
   background: white;
   font: 13px Arial, sans-serif;
   height: 12px;
   white-space: nowrap;
}
div#menu .a {
   background: white;
   border: none;
   color: blue;
   text-decoration: none;
}
div#menu .a table {
   display: block;
   font: 13px Verdana, sans-serif;
   white-space: nowrap;
}
div#menu table, div#menu table a {
   display: none;
}

div#menu .a:hover, div#menu div.menuitem:hover {
   background: #7DA6EE;
   border: none;
   color: #0000FF;
   /* margin-right:-1px; resolves a problem with Opera not displaying the right border*/
   /*celý řádek je v poznámce kvůli tomu, aby po najetí myši na odkaz v podnabídce neuskočily sousední nabídky doleva*/
   /*nabídka a podnabídky po najetí kurzorem*/
}

div#menu .a:hover table, div#menu div.menuitem:hover table {
   background: #FFFFFF;
   border: 1px solid #708090;
   display: block;
   position: absolute;
   white-space: nowrap;
}

div#menu .a:hover table a, div#menu div.menuitem:hover table a {
   border-left: none;
   border-right: 1px solid white; /*resolves a jump problem*/
   color: #000000;
   display: block;
   padding: 1px 12px;
   text-decoration: none;
   white-space: nowrap;
   z-index: 1000;
}

div#menu .a:hover table a:hover, div#menu div.menuitem:hover table a:hover {
   background: #7DA6EE;
   border: 1px solid #000000;
   /*border-left: none;*/
   color: #000000;
   display: block;
   padding: 0px 12px;
   text-decoration: none;
   z-index: 1000;
/*div id="menu" +  a(po najetí myši na něj) + table + a(po najetí myši na něj)*/
}

td {
   border-width: 0px;
   padding: 0px 0px 0px 0px;
}
.menuitem {
   float: left;
   margin: 1px 20px 1px 1px;
   padding: 1px 1px 1px 1px;
}
.menuitem * {
   padding: 0px 0px 0px 0px;
}
#moz::-moz-cell-content {
  height: auto; 
  visibility: visible;
}
#holder {
  width: 100%;  /*table id="holder"*/
}