

/* -------------------------------------------------------- MENU 2 horizontal ------------------------------------------- */

/*

Here's a demo stylesheet used to format a menu and its content.
Feel free to alter the menu layout however you want. All you have to do is ensure the script
has the correct CSS property name (like 'visibility' or 'display') that you want it to change.

One good resource for UL/LI formatting: http://www.alistapart.com/articles/taminglists/
Consult your favourite CSS reference for editing fonts/borders/etc.

Otherwise, even if you're not very experienced at CSS, you can just go through and change
the #RGB border/background colours where suitable to customise for your site!

*/



/* HORIZONTAL FREESTYLE MENU LAYOUT */
.menulist2 li.first-item
{
	margin:0;
	padding:0;
	background: url('../images/subtop.gif');
	width:170px;
	height:15px;
}

.menulist2 li.last-item
{
	margin:0;
	padding:0;
	background: url('../images/subbottom.gif');
	width:170px;
	height:15px;
	font-size:0px;
}

.menulist2 li.first {
 float:left;
 /*line-height: 20px;*/
 padding: 0 8px 0 8px;
}

.menulist2 li.first a
{
	color:#ffffff;
    text-decoration: none;
	font-size:11px;
    font-weight: bold;
}

.menulist2 li.second a
{
	color:#ffffff;
    text-decoration: none;
	font-size:11px;
    font-weight: bold;
}

.menulist2 li.odrazka
{
	background: url('../images/top_menu_odrazka.png') no-repeat right;
}

.menulist2 ul li.odrazka
{
	background: #037ba2 url('../images/odrazka.png') no-repeat bottom;
	
}


/* All <ul> tags in the menu including the first level */
.menulist2, .menulist2  ul {
 margin-left: 15px;
 margin-top: 20px;
 padding: 0;
 list-style: none;
}

/* Submenus (<ul> tags) are hidden and absolutely positioned downwards from their parent */
.menulist2 ul {
 margin:0;
 visibility: hidden;
 position: absolute;
 top: 44px; /* I'm using ems rather than px to allow people to zoom their font */
 left: 0px;
 width: 170px;
/* background-color:#037ba2;*/
}

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

/*
 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.
*/
.menulist2 li {
 float: left;
 position: relative;
 padding:10px;
 /*background: #333333;*/
 /*border: 1px solid #330;*/
 margin-right: -1px;
}

/* Items in submenus - override float/border/margin from above, restoring default vertical style */
.menulist2 ul li {
 float: none;
 margin-right: 0;
 /*margin-bottom: -1px;*/
 padding-left:20px;
 background-color:#037ba2;
}
.menulist2 ul>li:last-child {
/* margin-bottom: 1px;*/
}

/* Links inside the menu */
.menulist2 a {
 display: block;
 padding: 3px;
 color: #ffffff;
 text-decoration:  none;
}

/* Lit  items: 'hover' is mouseover, 'highlighted' are parent items to visible menus */
.menulist2 a:hover, .menulist2 a.highlighted:hover, .menulist2 a:focus {
 color: #ffffff;
 /*background-color: #666666;*/
}
.menulist2  a.highlighted2 {
 color: #fff;
 background-color: #666666;
}

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

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

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


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

