/* ================================================================ 
This copyright notice must be untouched at all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk/menus/padding.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the assocaited (x)html may be modified in any 
way to fit your requirements.
=================================================================== */

.menu {font-size:0.9em; padding-bottom:0px; width:100%;}

.menu ul {padding:0;margin:0;list-style-type:none; height:20px; font-weight:bold}

.menu ul ul {width:15em; font-weight:normal}

.menu ul li {float:left;height:20px;line-height:20px; display:block;}

.menu ul ul li {display:block;width:15em;height:auto; line-height:1em;}

.menu a, .menu a:visited {display:block;float:left;height:100%; width:auto; font-size:1em;text-decoration:none;color:#000;background:#949e7c url(grafika/top_grad.gif) center center; padding:0 1em 0 1em; border-left:1px solid #eee; border-right:1px solid #000;}

* html .menu a, * html .menu a:visited {width:1em; w\idth:4em;}

.menu ul ul a, .menu ul ul a:visited {display:block;background:#CCCCCC url('grafika/sub_grad.gif'); width:12em;height:100%;line-height:1em; border-bottom:1px solid #666666;; border-left-width:1px; border-right-width:1px; border-top-width:1px; padding-left:0.7em; padding-right:0.7em; padding-top:0.5em; padding-bottom:0.5em}
* html .menu ul ul a, * html .menu ul ul a:visited  {width:14em; w\idth:12em;}

.menu table {border-collapse:collapse; padding:0; margin:-1px; width:0; height:0; font-size:1em; z-index:1;}

.menu ul ul ul a, .menu ul ul ul a:visited {background:#CCCCCC url('grafika/sub_grad.gif');}

.menu ul ul ul ul a, .menu ul ul ul ul a:visited {background-position: 0% 0%; background-color:#CCCCCC; background-repeat:repeat; background-attachment:scroll}

.menu ul :hover a.sub1 {background:#999999 url('grafika/sub_sipka0.gif') no-repeat;}

.menu ul ul :hover a.sub2 {background:#999999 url('grafika/sub_sipka0.gif') no-repeat;}

/* style the level hovers */
/* first */
* html .menu a:hover {background:#d4d8bd url('grafika/top_grae.gif') center; position:relative; z-index:100}
.menu li:hover {position:relative;}
.menu :hover > a {background:#d4d8bd url('grafika/top_grae.gif') center;}
/* second */
* html .menu ul ul a:hover{color:#FF9900;background:#99CCCC; position:relative; z-index:110; font-weight:bold}
.menu ul ul li:hover {position:relative;}
.menu ul ul :hover > a {color:#FF9900;background:#99CCCC; font-weight:bold }
/* third */
* html .menu ul ul ul a:hover {background:#99CCCC; position:relative; z-index:120}
.menu ul ul ul :hover > a {background:#99CCCC;}
/* fourth */
.menu ul ul ul ul a:hover {background:#99CCCC; position:relative; z-index:130}

.menu ul ul {visibility:hidden;position:absolute;height:0;top:1.9em; left:0; width:14em;}

.menu ul ul ul{left:12em;top:0;width:14em;}

.menu ul :hover ul{visibility:visible; height:auto; padding:0 3em 3em 3em; background:transparent url(grafika/trans000.gif); left:-3em;}

.menu ul :hover ul ul{visibility:hidden;}

.menu ul :hover ul :hover ul ul{visibility:hidden;}

.menu ul :hover ul :hover ul{visibility:visible; left:9em;}

.menu ul :hover ul :hover ul :hover ul {visibility:visible;}