/* ================================================================ 
This copyright notice must be untouched at all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk/menus/final_drop.html
Copyright (c) 2005-2008 Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any 
way to fit your requirements.
=================================================================== */

/*
 * Modified by MBMprojekt Marcin Matras to fit specific requirements
 */

.menu2 {
	font-size: 11pt;
	z-index: 100;
}

.menu2 ul.prawa {
	float: right;
}

/* remove all the bullets, borders and padding from the default list styling */
.menu2 ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu2 li {
	float: left;
	width: 80px;
	height: 30px;
	position: relative;
	margin-left: 10px;
	line-height: 0.9em;
}

/* style the links for the top level */
.menu2 a, .menu2 a:visited {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	text-decoration: none;
	color: #fff;
	width: 80px;
	height: 30px;
	font-size: 9pt !important;
	background-image: url(/gfx/_mbm/button.png);
	background-position: bottom center;
	background-repeat: no-repeat;
}


/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu2 ul ul {
	visibility: hidden;
	width: 170px;
	position: absolute;
	height:0;
	top: 30px;
	padding-top: 2px;
	left: 0;
	height: auto;
	font-weight: normal;
}

.menu2 ul ul li {
	width: 155px;
	padding: 1px 5px 1px 10px;
	line-height: 1.5em;
	margin: 0;
	position: relative;
	background-image: url(/gfx/_mbm/podmenu_srodek.png) !important;
	background-repeat: repeat !important;
	min-height: 15px !important;
	height: auto !important;	
}

html>body .menu2 ul ul li {
	width: 155px;
}


/* position the third level flyout menu */
.menu2 ul ul ul {
	left:170px;
	top: 8px;
	width:170px;
}

/* style the table so that it takes no ppart in the layout - required for IE to work */
.menu2 table {
	position:absolute; 
	top:0; 
	left:0; 
	border-collapse:collapse;
}

/* style the second level links */
.menu2 ul ul a, .menu2 ul ul a:visited {
	color: #fff; 
	height: auto; 
	line-height: 1em; 
	width: auto;
	background: none;
}

.menu2 ul ul a.strzalka, .menu2 ul ul a.strzalka:hover {
	background-image: url(/gfx/_mbm/menu_strzalka.png);
	background-position: right center;
	background-repeat: no-repeat;
}

.menu2 ul ul a.bold {font-weight: bold;}

.menu2 ul ul a:hover {
	color: #000080;
}

.menu2 ul ul li a {
	display: block !important;
	text-align: left !important;
	margin: 0 !important;
	padding: 0 !important;
	min-height: 15px !important;
	height: auto !important;
}

/* style the top level hover */
.menu2 a:hover, .menu2 ul ul a:hover {
	background-image: url(/gfx/_mbm/button_a.png);
}

.menu2 :hover > a, .menu2 ul ul :hover > a {
	background-image: url(/gfx/_mbm/button_a.png);
}

/* make the second level visible when hover on first level list OR link */
.menu2 ul li:hover ul, .menu2 ul a:hover ul {
	visibility: visible;
}

/* keep the third level hidden when you hover on first level list OR link */
.menu2 ul :hover ul ul {
	visibility:hidden;
}

/* make the third level visible when you hover over second level list OR link */
.menu2 ul :hover ul :hover ul {
	visibility:visible;
}

.menu2 ul ul :hover > a {
	color: #000080;
	background-image: url(/gfx/_mbm/menu_strzalka.png);
	background-position: right center;
	background-repeat: no-repeat;
}

.menu2 ul ul li.podmenu_gora {
	min-height: 5px !important;
	height: 5px !important;
	min-height: 5px !important;
	margin: 0;
	padding: 0;
	width: 170px;
	list-style-image: none !important;
	background-image: url(/gfx/_mbm/podmenu_srodek.png) !important;
	background-repeat: repeat !important;
}

.menu2 ul ul ul li.podmenu2_gora {
	min-height: 12px !important;
	height: 12px !important;
	margin: 0 !important;
	padding: 0 !important;
	width: 170px;
	list-style-image: none !important;
	background-image: url(/gfx/_mbm/podmenu2_gora.png) !important;
	background-repeat: no-repeat !important;
}

.menu2 ul ul li.podmenu_dol {
	width: 170px !important;
	height: 8px !important;
	margin: 0;
	list-style-image: none !important;
	background-image: url(/gfx/_mbm/podmenu_dol.png) !important;
	background-repeat: no-repeat !important;
}
