/* Na podstawie wlasnego rozwiazania. */
/* Konrad Fedorczyk - czlonek dzielnej zalogi dzialu komputeryzacji:) */

/* Basic root level declaration: */
ul.horizontal li {
	float: left;
}
ul.horizontal, ul.horizontal ul {
	list-style: none;
	margin: 0px 0;
	padding: 0px 0;
	z-index: 1;
}
ul.horizontal li ul li {
	clear: both;
}
ul.horizontal ul {
	display: none; 
	position: absolute;
}
/* Zero level button apperance: */
/* NORMAL: */
ul.horizontal li a {
	display: block;
	width: 150px;
	height: 32px;
	color: White;
	text-align: center;
	font: bolder 8pt/32px "Tahoma", Helvetica, sans-serif;
	text-decoration: none;
	outline: none;
	background-color: #505057;
}
/* HOVER */
ul.horizontal li a:hover {
	background-color: #63636D;
}
/* First level button apperance: */
/* NORMAL: */
ul.horizontal li ul li a {
	color: White;
	background-color: Black;
	font-size: 8pt;
	font-weight: normal;
}
/* HOVER: */
ul.horizontal li ul li a:hover {
	background-color: #5A5A5A;
}
/* Second level button apperance: */
/* NORMAL: */
ul.horizontal li ul li ul li a {
	background-color: #5A5A5A;
}
/* HOVER: */
ul.horizontal li ul li ul li a:hover {
	background-color: #949494;
}
ul.horizontal li .double {
	line-height: 11pt
}
ul.horizontal li span.double {
	display: block;
}
/* Button mockup level0 */
ul.horizontal li div {
	display: block;
	width: 150px;
	height: 32px;
	color: White;
	text-align: center;
	font: bolder 8pt/32px "Tahoma", Helvetica, sans-serif;
	text-decoration: none;
	cursor: default;
}
ul.horizontal li div:hover, ul.horizontal li div.hover  {
	background-color: #63636D;
	height: 32px;
}
/* Button mockup level1 */
ul.horizontal li ul li div {
	background-color: black;
	display: block;
	width: 150px;
	height: 32px;
	color: White;
	text-align: center;
	font: normal 8pt/32px "Tahoma", Helvetica, sans-serif;
	text-decoration: none;
	cursor: default;
}
/* That should not interest you, at least you know what you're doing! */
ul.horizontal li ul li ul {
	left: 150px; /* Button width + one border (firefox) */
}
ul.horizontal li ul li ul li {
	position: relative;
	bottom: 32px; /* Button height + borders (IE + firefox) */
}
/* First button look to avoid double borders */
ul.horizontal li ul li ul li:first-child a, ul.horizontal li ul li ul li.amenu_ie_bhack a {
	border-width: 1px 1px 1px 1px;
}
/* Auto opener magic: */
ul.horizontal li:hover ul.lvl1, ul.horizontal li.over ul.lvl1 {
	display: block;
}
ul.horizontal li ul li:hover ul.lvl2, ul.horizontal li ul li.over ul.lvl2 {
	display: block;
}
/* IE alternatives: */
* html ul.horizontal li ul li ul {
	left: 150px; /* Buton width - one border (ie) */
}