#button-bar {
	height: 30px;
	background-image: url(media/tlo_up_czarne.jpg);
}

#buttons {
	margin: 0 0 0 6px;
	padding: 0;
}

#buttons li {
	display: inline;
	float: left;
	position: relative;
	list-style: none;
}

#buttons a {
	text-align: left;
	display: block;
	height: 30px;
	width: 155px;
	padding: 0 0 0 4px;
	font-family: arial, helvetica, sans-serif;
	font-weight: bold;
	font-size: 11px;
	text-decoration: none;
	color: #ffffff;
    white-space: nowrap;
}

#buttons a.blank {
    display: block;
    height: auto;
    width: auto;
    padding: 0;
}

#buttons a:hover {
	color: #DBEDF7;
}

.sub-buttons {
	position: absolute;
	left: 6px;
	display: none;
	background: url(media/button_bar_back.gif); 
	background-repeat:repeat-x;
	background-color: #838383;
	padding: 10px 0 10px 0;
	margin: 0;
	border: solid 1px #666666;
	border-top: none;
	line-height:18px;
}

.sub-sub-buttons {
	position: absolute;
	top: 0;
	left: 144px;
	display: none;
	background: url(media/button_bar_back.gif);
	background-repeat:repeat-x;
	background-color: #838383;
	padding: 0 0 0 0;
	margin: 0;
	border: solid 1px #666666;
}

#buttons .sub-buttons a {
    background-image: none;
    height: auto;
    width: 140px;
}

#buttons .child-menu a {
	background: url(media/sub_menu_arrow.gif);
	background-repeat:no-repeat;
	background-position: right;
}

#buttons .child-menu .child-child-menu a {
	background: ;
	background-repeat:no-repeat;
	background-position: left;
}

/* to override top and left in browsers other than IE,
   which will position to the top right of the containing li,
   rather than bottom left */

#buttons li > ul {
	top: auto;
}

#buttons .sub-sub-buttons a {
	background: none;
}

#buttons li .sub-buttons li {
	float: none;
	white-space: nowrap;
	padding: 0;
	margin: 0;
}

#buttons .sub-buttons li:hover .child-menu a {
	background: none;
}

#buttons li:hover .sub-buttons, li.over .sub-buttons, .sub-buttons li.over .sub-sub-buttons {
	display: block;
}

.sub-buttons li:hover .sub-sub-buttons, li.over .sub-buttons {
	display: block;
}
