/* -------------------------------------------------------- MENU 1 verical ------------------------------------------- */
/* All <ul> tags in the menu including the first level */
.menulist1, .menulist1 ul {
 margin: 0;
 padding: 0px;
 width: 148px;
 list-style: none;
 align: left;
 
/* background: #f2f2f2 ; /* farba pozadia all menu */
/* border: 1px solid #654;*/
}

/* Submenus (<ul> tags) are hidden and absolutely positioned across from their parent */
.menulist1 ul {
 visibility: hidden;
 position: absolute;
 top: 0;
 left: 150px;
}

/* All menu items (<li> tags) are relatively positioned (to correctly offset submenus). */
.menulist1 li {
 position: relative;
}

/* Links inside the menu */
.menulist1 a {
 display: block;
 padding: 4px 4px 6px 15px;
 color: #000;
 text-decoration: none;
 border: 0px solid transparent;
 	background-image: url(../img/bg_menu.png);
	background-position: top;
	background-repeat: no-repeat;
}
/* IE fix because it doesn't support transparent borders */
* html .menulist1 a {
 border: none;
 margin: 0px;
}

/*
 Lit items: hover/focus = the current item. 'highlighted' = parent items to visible menus.
 Here, active items are given a border, and a padding tweak to 'elevate' the text within.
 Feel free to use background-image:url(file.gif) instead of background-color:#nnn here...
*/
.menulist1 a:hover, .menulist1 a.highlighted:hover, .menulist1 a:focus {
 border: none;
 margin: 0px;
}
.menulist1 a.highlighted {
 border: none;
 margin: 0px;
}

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


/* 'subind' submenu indicators, which are automatically prepended to 'A' tag contents. */
.menulist1 a .subind {
 float: right;
}

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

/* -------------------------------------------------------- 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 */


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

/* Submenus (<ul> tags) are hidden and absolutely positioned downwards from their parent */
.menulist2 ul {
 visibility: hidden;
 position: absolute;
 top: 2.5em; /* 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 */
.menulist2 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.
*/
.menulist2 li {
 float: left;
 position: relative;
 background: #c6ab7a;
 /*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;
}
.menulist2 ul>li:last-child {
 margin-bottom: 1px;
}

/* Links inside the menu */
.menulist2 a {
 display: block;
 padding: 3px;
 color: #ff6600;
 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: #FFF;
 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 */

/* -------------------------------------------------------- MENU 3 vertical ------------------------------------------- */
/* All <ul> tags in the menu including the first level */
.menulist3, .menulist3 ul {
 margin: 0;
 padding: 0px;
 width: 148px;
 list-style: none;
 align: left;
 background: #ffffff ;
 border: 1px solid #654;
}

/* Submenus (<ul> tags) are hidden and absolutely positioned across from their parent */
.menulist3 ul {
 visibility: hidden;
 position: absolute;
 top: 0;
 left: 150px;
}

/* All menu items (<li> tags) are relatively positioned (to correctly offset submenus). */
.menulist3 li {
 position: relative;
}

/* Links inside the menu */
.menulist3 a {
 display: block;
 padding: 3px 4px 3px 2px;
 color: #000;
 text-decoration: none;
 border: 1px solid transparent;
}
/* IE fix because it doesn't support transparent borders */
* html .menulist3 a {
 border: none;
 margin: 1px;
}

/*
 Lit items: hover/focus = the current item. 'highlighted' = parent items to visible menus.
 Here, active items are given a border, and a padding tweak to 'elevate' the text within.
 Feel free to use background-image:url(file.gif) instead of background-color:#nnn here...
*/
.menulist3 a:hover, .menulist3 a.highlighted:hover, .menulist3 a:focus {
 color: #000;
 background-color: #cccccc;
 padding: 2px 5px 4px 2px;
 border: 1px solid #000000;
 margin: 0;
}
.menulist3 a.highlighted {
 color: #000;
 background-color: #cccccc;
 border: 1px solid #000000;
 margin: 0;
}

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


/* 'subind' submenu indicators, which are automatically prepended to 'A' tag contents. */
.menulist3 a .subind {
 float: right;
}

/* This semi-commented section exists to fix bugs in IE/Windows (the 'Holly Hack'). \*/
* html .menulist3 li {
 float: left;
 height: 1%;
}
* html .menulist3 a {
 height: 1%;
}
/* End Hack */
/* -------------------------------------------------------- MENU 4 horizontal ------------------------------------------- */
/* All <ul> tags in the menu including the first level */
.menulist4, .menulist4  ul {
 margin: 0;
 padding: 0;
 list-style: none;
}

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

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

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

/* Items in submenus - override float/border/margin from above, restoring default vertical style */
.menulist4 ul li {
 float: none;
 margin-right: 0;
 margin-bottom: -1px;
 background: #ffffff;
 width: 160px;
 border: 1px solid #330;
}
.menulist4 ul>li:last-child {
 margin-bottom: 1px;
}

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

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

/*
 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. */
.menulist4 a .subind {
 display:  none;
}
.menulist4 ul a .subind {
 display:  block;
 float: right;
}

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