.menu {
	position: absolute;
	top: 110px;		/* zależy od height w klasie #onTop */
	left: 5px; 
	width: 170px;		/* min: 164px */
	min-height: 450px;
	height: auto;
	background: transparent url(img/menu/bg_wave.jpg) no-repeat top right;
	z-index:1000;
	font-size:11px;
	font-family: Tahoma, Arial, Helvetica, sans-serif;
}
/* min-height for IE */
* html .menu {height: 450px;}

/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
padding:0;
margin:0;
list-style-type:none;
width:127px;
}
/* hack for IE5.5 */
* html .menu ul {margin-left:-16px; ma\rgin-left:0;}
/* position relative so that you can position the sub levels */
.menu li {
position:relative;
background: transparent url('img/menu/menu_butt_small.jpg') no-repeat;
height:33px;	/* było 33 */
margin: 0;
}
li.sub {
background: transparent url('img/menu/menu_butt_small1.jpg') no-repeat;
}
.menu li#big {
	background: transparent url('img/menu/menu_butt_big.jpg') no-repeat;
	height:38px;
}

/* get rid of the table */
.menu table {position:absolute; border-collapse:collapse; top:0; left:0; z-index:100; font-size:1em;}

/* style the links */
.menu a, .menu a:visited {
display:block; 
text-decoration:none !important;
height:32px;
padding-top: 6px;
padding-left: 17px;
width:126px;
font-weight: bold;
color: #295583 !important;
}
.menu a#big, .menu a#big:visited {
	padding-top: 3px;
}

/* hack for IE5.5 */
* html .menu a, * html .menu a:visited {
	width:127px; w\idth:126px;
	}
/* style the link hover */
* html .menu a:hover {
	color:#3978b7; 
	background:transparent;
	margin-left: 2px;
	text-decoration:none;
}

.menu :hover > a {
margin-left: 2px;
color:#3978b7; 
background:transparent;
text-decoration:none;
}

/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul ul {
visibility:hidden;
position:absolute;
top:0;
left:127px; 
}
/* make the second level visible when hover on first level list OR link */
.menu ul :hover ul{
visibility:visible;
}
/* keep the third level hidden when you hover on first level list OR link */
.menu ul :hover ul ul{
visibility:hidden;
}
/* keep the fourth level hidden when you hover on second level list OR link */
.menu ul :hover ul :hover ul ul{
visibility:hidden;
}
/* make the third level visible when you hover over second level list OR link */
.menu ul :hover ul :hover ul{ 
visibility:visible;
}
/* make the fourth level visible when you hover over third level list OR link */
.menu ul :hover ul :hover ul :hover ul { 
visibility:visible;
}