#hlavni_menu_cz {height:30px; position:relative; z-index:100; text-align:center;}
#hlavni_menu_cz .konec {float:left}

/* The menu styling */
/* Remove the padding, margins and bullets from the lists */
.menu_cz, .menu_cz ul {list-style-type:none; padding:0; margin:0; font-family:arial, sans-serif;}

/* Set up the top level list items and float left to place inline */
.menu_cz li.top {display:block; float:left; position:relative;}

/* Style and position the table so it takes no part in the menu function. The font size is necessary for IE5.5 */
.menu_cz table {border-collapse:collapse; width:0; height:0; position:absolute; top:0; left:0;}

/* Default top link link styling */
.menu_cz li.top a.top_link {display:block; float:left; height:35px;}
.menu_cz li.top a span {position:absolute; left:-9999px; top:0; z-index:0; font-size:10px;} /* move the link text off screen */

/* pre-load the hover images into the lists */
.menu_cz li.p1 {width:118px; background:url("../menu/pic/home_1.png") no-repeat;}
.menu_cz li.p2 {width:118px; background:url("../menu/pic/onas_1.png") no-repeat;}
.menu_cz li.p3 {width:118px; background:url("../menu/pic/roky_1.png") no-repeat;}
.menu_cz li.p4 {width:118px; background:url("../menu/pic/ostatni_1.png") no-repeat;}


/* set up the normal unhovered images in the links */
.menu_cz li a#home_cz {width:118px; background:url("../menu/pic/home_0.png") no-repeat;}
.menu_cz li a#onas_cz {width:118px; background:url("../menu/pic/onas_0.png") no-repeat;}
.menu_cz li a#roky_cz {width:118px; background:url("../menu/pic/roky_0.png") no-repeat;}
.menu_cz li a#ostatni_cz {width:118px; background:url("../menu/pic/ostatni_0.png") no-repeat;}


/* Style the list OR link hover. Depends on which browser is used */
.menu_cz a:hover {visibility:visible;} /* for IE6 */
.menu_cz li:hover { position:relative; z-index:200;} /* for IE7 */

/* make the links transparent on hover so that the hover images in the lists show through (no flicker) */
.menu_cz li a#home_cz:hover, .menu_cz li:hover a#home_cz,
.menu_cz li a#onas_cz:hover, .menu_cz li:hover a#onas_cz,
.menu_cz li a#roky_cz:hover, .menu_cz li:hover a#roky_cz,
.menu_cz li a#ostatni_cz:hover, .menu_cz li:hover a#ostatni_cz {background:transparent;}



/* keep the 'next' level invisible by placing it off screen. */
.menu_cz ul, 
.menu_cz :hover ul ul, 
.menu_cz :hover ul :hover ul ul,
.menu_cz :hover ul :hover ul :hover ul ul,
.menu_cz :hover ul :hover ul :hover ul :hover ul ul {position:absolute; left:-9999px; top:-9999px; width:0; height:0;}

/* set up the first drop down sub level */
.menu_cz :hover ul.sub {left:0; top:35px; background: #fff; padding:3px 0; border:1px solid #888; white-space:nowrap; width:125px; height:auto;}
.menu_cz :hover ul.sub li {display:block; height:20px; position:relative; float:left; width:122px;}
.menu_cz :hover ul.sub li a {display:block; font-size:12px; height:20px; width:119px; line-height:20px; text-indent:5px; color:#000; text-decoration:none; border:3px solid #fff; border-width:0 0 0 3px;}
.menu_cz :hover ul.sub li a.fly {background:#fff url("../menu/pic/arrow.gif") 112px 7px no-repeat;}
.menu_cz :hover ul.sub li a:hover {background:#37a237; color:#fff;}
.menu_cz :hover ul.sub li a.fly:hover {background:#37a237 url("../menu/pic/arrow_over.gif") 112px 7px no-repeat; color:#fff;}
.menu_cz :hover ul li:hover > a.fly {background:#37a237 url("../menu/pic/arrow_over.gif") 112px 7px no-repeat; color:#fff;} 

/* set up the flyout levels when hovering */
.menu_cz :hover ul :hover ul,
.menu_cz :hover ul :hover ul :hover ul,
.menu_cz :hover ul :hover ul :hover ul :hover ul,
.menu_cz :hover ul :hover ul :hover ul :hover ul :hover ul
{left:120px; top:-4px; background: #fff; padding:3px 0; border:1px solid #888; white-space:nowrap; width:125px; z-index:200; height:auto; z-index:300;}