/* All <ul> tags in the menu including the first level */
.menulist, .menulist  ul {
 margin: 0;
 padding: 0;
 list-style: none;
}

/* Submenus (<ul> tags) are hidden and absolutely positioned downwards from their parent */
.menulist ul {
 visibility: hidden;
 position: absolute;
 top: 35px; /* I'm using ems rather than px to allow people to zoom their font */
 left: 0px;
 width: 150px;
}

/* Second and third etc. level submenus - position across from parent instead */
.menulist ul ul {
 top: 0px;
 left: 155px;
}

/*
 All menu items (<li> tags). 'float: left' lines them up horizontally, and they are
 positioned relatively to correctly offset submenus. Also, they have overlapping borders.
*/
.menulist li {
 float: left;
 position: relative;
 background: transparent;
 border: 0px; /*sem pride pravy border*/
 margin-right: 0px;
}

/* Items in submenus - override float/border/margin from above, restoring default vertical style */
.menulist ul li {
 float: none;
 margin-right: 0;
 margin-bottom: -1px;
 border: 1px solid #616c7e; 
}
.menulist ul>li:last-child {
 margin-bottom: 1px;
}

/* Links inside the menu */
.menulist a, .menulist a:visited {
 display: block;
 padding: 1px;
 color: #072b61!Important;
 background-color: #dadee7;
 text-decoration:  none;
 font-size: 9px;
}

/* Lit  items: 'hover' is mouseover, 'highlighted' are parent items to visible menus */
.menulist a:hover, .menulist a.highlighted:hover, .menulist a:focus {
 color: #ffffff!Important;
 background-color: #616c7e!Important;
 font-size: 9px;
}

/*
 If you want per-item background images in your menu items, here's how to do it.
 1) Assign a unique ID tag to each link in your menu, like so: <a id="xyz" href="#">
 2) Copy and paste these next lines for each link you want to have an image:
    .menulist a#xyz {
      background-image: url(out.gif);
    }
    .menulist a#xyz:hover, .menulist a.highlighted#xyz, .menulist a:focus {
     background-image: url(over.gif);
    }
*/

.menulist a#m_1, .menulist a#m_2, .menulist a#m_3, .menulist a#m_4, .menulist a#m_5, .menulist a#m_6, .menulist a#m_7, .menulist a#m_8, .menulist a#m_9, .menulist a#m_10 {
  background-image: url(../images/bgr_menu.gif);
  height: 35px;
  padding: 0px;  
  display: inline; 
  color: white!Important; 
  text-decoration: none!Important;
  margin: 0px; 
  padding: 5px;  
  padding-top: 11px;
  border-right: 2px solid #7f8da3;   
}
.menulist a#m_1:hover, .menulist a#m_1.highlighted, .menulist a#m_1:focus,
.menulist a#m_2:hover, .menulist a#m_2.highlighted, .menulist a#m_2:focus,
.menulist a#m_3:hover, .menulist a#m_3.highlighted, .menulist a#m_3:focus,
.menulist a#m_4:hover, .menulist a#m_4.highlighted, .menulist a#m_4:focus,
.menulist a#m_5:hover, .menulist a#m_5.highlighted, .menulist a#m_5:focus,
.menulist a#m_6:hover, .menulist a#m_6.highlighted, .menulist a#m_6:focus,
.menulist a#m_7:hover, .menulist a#m_7.highlighted, .menulist a#m_7:focus,
.menulist a#m_8:hover, .menulist a#m_8.highlighted, .menulist a#m_8:focus
.menulist a#m_9:hover, .menulist a#m_9.highlighted, .menulist a#m_9:focus
.menulist a#m_10:hover, .menulist a#m_10.highlighted, .menulist a#m_10:focus
{
  color: white!Important;
  text-decoration: underline!Important;
}
	

/* Only style submenu indicators within submenus. */
.menulist a .subind {
 display:  none;
}
.menulist ul a .subind {
 display:  block;
 float: right;
}

/* 'Escaped Comment' hack for horizontal menubar width in IE5/Mac */
.menulist a {
 float: left;
}
.menulist ul a {
 float: none;
}
/* \*/
.menulist a {
 float: none;
}
/* */


/* This semi-commented section exists to fix bugs in IE/Windows (the 'Holly Hack'). \*/
* html .menulist  ul li {
 float: left;
 height: 1%;
}
* html .menulist  ul a {
 height: 1%;
}
/* End Hack */