
#nav {padding:0; margin:0; top:1px; list-style:none; height:44px; background:transparent; position:relative; z-index:500; font-family:arial, verdana, sans-serif;}
#nav li.top {display:block; float:left;}
#nav li a.top_link {display:block; float:left; height:42px; line-height:38px; color:#303232; text-decoration:none; font-size:1.0em; font-weight:bold; cursor:pointer ;background:transparent url(../images/tlacitkog.jpg) no-repeat;}
#nav li a.top_link span {float:left; display:block; width:129px; height:43px;background:url(../images/tlacitko.jpg) right top no-repeat;}
#nav li a.top_link span.down {float:left; display:block; width:129px; height:43px; background:url(../images/tlacitko.jpg) no-repeat right top;}
#nav li a.top_link span.ruka {float:left; display:block; width:131px; height:43px; background:url(../images/tlacitko-ruka.jpg) no-repeat right top;}
#nav li a.top_link span.konec {float:left; display:block; width:128px; height:43px; background:url(../images/tlacitko-konec.jpg) no-repeat right top;}

#nav li a.top_link:hover {color:#fff; background: url(../images/tlacitko-hover.jpg) no-repeat;}
#nav li a.top_link:hover span {background:url(../images/tlacitko-hover.jpg) no-repeat right top;}
#nav li a.top_link:hover span.down {background:url(../images/tlacitko-hover.jpg) no-repeat right top;}
#nav li a.top_link:hover span.ruka {background:url(../images/tlacitko-hover.jpg) no-repeat right top;}
#nav li a.top_link:hover span.konec {background:url(../images/tlacitko-hover.jpg) no-repeat right top;}

#nav li:hover > a.top_link {color:#fff; background: url(../images/tlacitko-hover.jpg) no-repeat;}
#nav li:hover > a.top_link span {background:url(../images/tlacitko-hover.jpg) no-repeat right top;}
#nav li:hover > a.top_link span.down {background:url(../images/tlacitko-hover.jpg) no-repeat right top;}
#nav li:hover > a.top_link span.ruka {background:url(../images/tlacitko-hover.jpg) no-repeat right top;}
#nav li:hover > a.top_link span.konec {background:url(../images/tlacitko-hover.jpg) no-repeat right top;}


/* Default list styling */

#nav li:hover {position:relative; z-index:200;}

/* keep the 'next' level invisible by placing it off screen. */
#nav ul, 
#nav li:hover ul ul,
#nav li:hover ul li:hover ul ul,
#nav li:hover ul li:hover ul li:hover ul ul,
#nav li:hover ul li:hover ul li:hover ul li:hover ul ul
{position:absolute; left:-9999px; top:-9999px; width:0; height:0; margin:0; padding:0; list-style:none;}

#nav li:hover ul.sub
{left:0; top:39px; background: #fff; padding:3px; border:1px solid #3a93d2; white-space:nowrap; width:auto; height:auto; z-index:400; text-align : left;}

#nav li:hover ul.sub li
{display:block; height:20px; position:relative; float:left; width:140px; font-weight:normal;z-index:400;}
#nav li:hover ul.sub li a
{display:block; font-size:11px; height:20px; width:140px; line-height:20px; text-indent:5px; color:#000;text-decoration:none;z-index:400;}
#nav li ul.sub li a.fly
{background:#fff url(../images/arrow.gif) 80px 7px no-repeat; width:90px;} /*width 90px*/


#nav li:hover ul.sub li a:hover 
{background:#3a93d2; color:#fff;}
#nav li:hover ul.sub li a.fly:hover
{background:#3a93d2 url(../images/arrow_over.gif) 80px 7px no-repeat; color:#fff; width:90px;}/*width 90px*/

#nav li:hover ul li:hover > a.fly {background:#3a93d2 url(../images/arrow_over.gif) 80px 7px no-repeat; color:#fff; width:90px;} 

#nav li:hover ul li:hover ul,
#nav li:hover ul li:hover ul li:hover ul,
#nav li:hover ul li:hover ul li:hover ul li:hover ul,
#nav li:hover ul li:hover ul li:hover ul li:hover ul li:hover ul
{left:90px;top:-4px; background: #fff; padding:3px; border:1px solid #3a93d2; white-space:nowrap; width:auto;z-index:400; height:auto;}

