/* ================================================================ 
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 {
	position:relative;
	z-index:100;
	font-size: 12px;
	font-weight: bold;
}


/* hack to correct IE5.5 faulty box model */
* html .menu2 {
	/*
width:746px;
*/
}

/* remove all the bullets, borders and padding from the default list styling */
.menu2 ul {
	width: 180px;
	padding: 0;
	margin: 0;
	list-style-type: none;
}

.menu2 ul ul {
	width: 150px;
}

/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu2 li {
	clear: both;
	position: relative;
	margin-bottom: 5px;
}

html>body .menu2 li {
	width: auto;	
}

/* style the links for the top level */
.menu2 a, .menu2 a:visited {
	display: block;
	font-size: 12px;
	text-decoration: none;
	color: #000;
	/*min-width: 75px;*/
	width: auto;
	padding-left: 20px;
	height: 18px;
	line-height: 18px;
}

.menu2 a.active, .menu2 a:hover {
	background-image: url(/gfx/kropelka.png);
	background-repeat: no-repeat;
}


/* a hack so that IE5.5 faulty box model is corrected */
* html .menu2 a, * html .menu2 a:visited {
	/*
width: 149px;
*/
}

/* style the second level background */
.menu2 ul ul a.drop, .menu2 ul ul a.drop:visited {
	
}

/* style the second level hover */
.menu2 ul ul a.drop:hover {
	
}

.menu2 ul ul :hover > a.drop {
	
}

/* style the third level background */
.menu2 ul ul ul a, .menu2 ul ul ul a:visited {
	
}

/* style the third level hover */
.menu2 ul ul ul a:hover {
	
}

/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu2 ul ul {
	display: none;
/*	visibility:hidden;
	position:absolute;
	top:0px;
	left:120px;*/
	height: auto;
	font-size: 12px;
	font-weight: normal;
}


.menu2 ul ul li {
	margin: 0 0 0 30px;
	float: left;
	width: auto;
	position: relative;
}

/* another hack for IE5.5 */
* html .menu2 ul ul {
/*	top:27px;*/
}


/* position the third level flyout menu */
.menu2 ul ul ul {
	left:149px;
	top:-1px;
	width:149px;
}

/* position the third level flyout menu for a left flyout */
.menu2 ul ul ul.left {
	left:-149px;
}

/* 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:#000; 
	height:auto; 
	line-height:1em; 
	width: auto;
	font-size: 12px;
	display: block;
	width: 120px;
	padding: 3px;
	background: none;
}

.menu2 ul ul a:hover {
	text-decoration: underline;
}

.menu2 ul ul li a {
}

/* yet another hack for IE5.5 */
* html .menu2 ul ul a, * html .menu2 ul ul a:visited {
	min-width:75px;
	width: auto;
}

/* style the top level hover */
.menu2 a:hover, .menu2 ul ul a:hover {
	color:#000; 
	background: transparent;
}

.menu2 :hover > a, .menu2 ul ul :hover > a {
	color:#000;
	background: transparent;
}

.menu2 :hover > a, .menu2 a.active {
	background-image: url(/gfx/kropelka.png);
	background-repeat: no-repeat;
}

/* 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;*/
	display: block;
	/*background-image: url('/gfx/podklad_pod_menu.png');
	background-repeat: no-repeat;*/
	background-color: transparent;
}

/* 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;
}
