/* ================================================================ 
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-2007 Stu Nicholls. All rights reserved.
This stylesheet and the assocaited (x)html may be modified in any 
way to fit your requirements.
=================================================================== */

.menu { /* położenie całości menu na stronie i wszystko inne pozycjonowane względem tego. */
	font-size:0.85em;
	position:relative;
	width: 1002px;
	z-index: 1000;
	margin-left: 0px;
	padding-top:3px;
	/*background-image:url(/www_layout/menu_backgrounda.jpg); */
	/*background-repeat:x-repeat; */
}
/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
padding:0;
margin:0;
list-style-type:none;
}
.menu ul ul {
width:90px;
}
/* zeby sie nie stykaly    float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon  */
.menu li {
float:left;
width:163px; /* szerokość komórek pierwszego poziomu */
position:relative;


}

.menu ul ul ul li a {
	line-height:1em;
	font-size:12px;
	width:163px;
	padding:7px 0px;
	margin:0px;
	bottom:0px;
}
/* style the links for the top level */
.menu a, .menu a:visited {
	display:block;
	font-size:12px;
	text-decoration:none;
	color:#000000;
	width:163px;
	height:26px;
	padding-left:0px;
	line-height:17px;
	/*border-bottom: 3px solid #006699; */
	background:none;
	font-weight: bold;
	text-align: center;
	font-style: normal;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}

.menu nolink1 > a {
	
}

.menu ul li a:hover {
	color:#8c0001; /* Kolor pozycji na pierwszym poziomie po najechaniu myszką */
}
/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {
	width:163px;
	w\idth:163px;
}

/* style the second level background */
.menu ul ul a.drop, .menu ul ul a.drop:visited, .menu ul ul a.nodrop, .menu ul ul a.nodrop:visited {
	background-color:#ffffcc;        /* kolor tła dla pola które się rozwija w drugim poziomie */
}
/* style the second level hover */
.menu ul ul a.drop:hover, .menu ul ul a.nodrop:hover{
	background-color:#ffffcc;         /* kolor tła dla pola które się rozwija w drugim poziomie */

}
.menu ul ul :hover > a.drop, .menu ul ul :hover > a.nodrop {
   background-color:#ffffcc;         /* kolor tła dla pola które się rozwija w drugim poziomie */	
}
/* style the third level background */
.menu ul ul ul a, .menu ul ul ul a:visited {
	background-color:#ffffcc;         /* kolor tła dla pola które się rozwija w drugim poziomie */

}
/* style the third level hover */
.menu ul ul ul a:hover {
	background-color:#ffffcc;         /* kolor tła dla pola które się rozwija w drugim poziomie */
	font-weight:bold;
}


/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul ul {
visibility:hidden;
position:absolute;
height:0;
top:26px; /* odsunięcie od pierwszego poziomu - najczęściej wysokość pierwszego poziomu */
left:0; 
width:163px;
}

/* another hack for IE5.5 */
* html .menu ul ul {
top:26px;
t\op:26px;
}

/* position the third level flyout menu */
.menu ul ul ul{
left:163px;  /* przesunięcie trzeciego poziomu to jest szerokość drugiego + padding boczny */
top:0;
width:163px;
}
/* position the third level flyout menu for a left flyout */
.menu ul ul ul.left {
left:-163px;
}

.menu ul ul ul,.menu ul ul ul li,.menu ul ul ul li a {
background-color:#ffffcc;	
}


/* style the table so that it takes no ppart in the layout - required for IE to work */
.menu table {position:absolute; top:0; left:0; border:0px; border-collapse:collapse; }
/*.menu table td {border-collapse:collapse; } */

/* lista w dól  style the second level links */
.menu ul ul a, .menu ul ul a:visited {   
	background:none;        
	color:#000000;
	height:auto;
	line-height:1em;
	padding:7px 0px;
	text-align: center;
	width:163px;
	font-size: 12px;/* yet another hack for IE5.5 */
	font-weight: normal;
}
* html .menu ul ul a{
width:163px;
w\idth:163px;
}


/* style the top level hover */
.menu a:hover, .menu ul ul a:hover{
	color:#8c0001;
	border:0px;
	background:none;
	/*background:#fff;*/
	/*border-bottom: 3px solid #990000; */
}

.menu :hover > a {
color:#8c0001;
background-color:#ffffcc;      
font-weight:bold;
}

.menu ul :hover > a {
color:#000000; /* kolor linka pierwszego poziomu po zjechaniu niżej na podpoziomy */
background:none;  
font-weight:bold;
}

.menu ul ul :hover > a {
color:#8c0001;
background-color:#ffffcc;  
font-weight:bold;
}

/* make the second level visible when hover on first level list OR link */
.menu ul li:hover ul,
.menu ul a: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;
background:none;
}

/* make the third level visible when you hover over second level list OR link */
.menu ul :hover ul :hover ul{ 
visibility:visible;
background:none;

}