.menulist, .menulist ul {
 margin: 0;
 padding: 0;
 width: 100%;
 list-style: none;
}

/*
 Submenus (<ul> tags) are hidden and absolutely positioned across from their parent.
 They don't *have* to touch their parent menus, but is' a good idea as CSS-only fallback
 mode requires menus to touch/overlap (when JS is disabled in the browser).
*/
.menulist ul {
 display: none;
 position: absolute;
 top: -1px;
 left: 175px;
}

/*
 All menu items (<li> tags) are relatively positioned to correctly offset their submenus.
 They have borders that are slightly overlaid on one another to avoid doubling up.
*/
.menulist li {
 position: relative;
 border: 1px solid #330;
 border-bottom:2px solid #0a5a83;
 background: #FED;
 margin-bottom: -1px;
}
.menulist ul li {
 z-index: 2;
}
.menulist ul>li:last-child {
 margin-bottom: 1px; /* Mozilla fix */
}

/* Links inside the menu */
.menulist a {
 display: block;
 padding: 3px;
 color: #fff;
 text-decoration: none;
 font-weight: bold;
 background-color: #0086cb;
}

/*
 Lit items: 'hover' is mouseover, 'highlighted' are parent items to visible menus.
*/
.menulist a:hover, .menulist a.highlighted:hover, .menulist a:focus {
 color: #FFF;
 background-color: #0373ad;
 text-decoration: none;
}
.menulist a.highlighted {
 color: #FFF;
 background-color: #0373ad;
 text-decoration: none;
}

/*
 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. */
.menulist a .subind {
position:absolute ;
right:1px;
text-decoration: none;
}

/*
 HACKS: IE/Win:
 A small height on <li> and <a> tags and floating prevents gaps in menu.
 * html affects <=IE6 and *:first-child+html affects IE7.
 You may want to move these to browser-specific style sheets.
*/
*:first-child+html .menulist li {
 float: left;
 width: 100%;
}

* html .menulist li {
 float: left;
 height: 1%;
}
* html .menulist a {
 height: 1%;
}
/* End Hacks */

/*=====================================*/

.moje, .moje ul {
 margin: 0;
 padding: 0;
 list-style: none;
 position: relative;
}

/*
 Submenus (<ul> tags) are hidden and absolutely positioned across from their parent.
 They don't *have* to touch their parent menus, but is' a good idea as CSS-only fallback
 mode requires menus to touch/overlap (when JS is disabled in the browser).
*/
.moje ul {
 display: none;
 position: absolute;
 top: 20px;
 left: 0px;
 background-color: #0373AD;
}
.moje ul ul{
	opacity: 0.8;
	left: 100px;
	background-color: #0373AD;
}
/*
 All menu items (<li> tags) are relatively positioned to correctly offset their submenus.
 They have borders that are slightly overlaid on one another to avoid doubling up.
*/
.moje li {
 position: relative;
 margin-bottom: -1px;
 float: left;
 white-space: nowrap;
 background-color:#0086CB;
 color: #fff;
 opacity: 0.8;
}
.moje li:hover {
	background-color: #0373AD;
}
.moje ul ul li {
	background-color: #0373AD;
}
/*.moje ul li {
 z-index: 100;
}
.moje ul ul li {
 z-index: 101;
}
.moje ul>li:last-child {
 margin-bottom: 1px; /* Mozilla fix */
}*/

/* Links inside the menu */
.moje a {
 display: block;
 padding: 5px 5px 5px 0px;
 color: #ffffff;
 font-size: 12px;
 text-decoration: none;
 font-weight: bold;
}

/*
 Lit items: 'hover' is mouseover, 'highlighted' are parent items to visible menus.
*/
.moje a:hover, .moje a.highlighted:hover, .moje a:focus {
 color: #fff;
 text-decoration: none;
}
.moje a.highlighted {
 color: #FFF;
 text-decoration: none;
}

/*
 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:
    .moje a#xyz {
      background-image: url(out.gif);
    }
    .moje a#xyz:hover, .moje a.highlighted#xyz, .moje a:focus {
     background-image: url(over.gif);
    }
*/


/* 'subind' submenu indicators, which are automatically prepended to 'A' tag contents. */
/*.moje a .subind {
position: absolute;
right:1px;
text-decoration: none;
color: #fff;
}*/

/*
 HACKS: IE/Win:
 A small height on <li> and <a> tags and floating prevents gaps in menu.
 * html affects <=IE6 and *:first-child+html affects IE7.
 You may want to move these to browser-specific style sheets.
*/
/*:first-child+html .moje li {
 float: left;
}

* html .moje li {
 float: left;
 height: 1%;
}
* html .moje a {
 height: 1%;
}
 End Hacks */

