/* ================================================================ 
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_drop2.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.
=================================================================== */
/* style the outer div to give it width */
.menu {
	width:900px; 
	height:38px; 
	z-index: 3; 
	position:absolute; 
	margin:0 auto; 
	margin-left: 0px;  
	background:none; 
	color:#fff; 
	display:inline; 
	font-size: 12px;
	font-weight: normal;
	border-top: 1px solid #fff;
	border-bottom: 1px solid #fff;
	line-height:normal;
	font-family:Verdana, Arial, Helvetica, sans-serif;
}
/* 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:auto;
font-size: 12px;
}
/* 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:auto;
position:relative;
}
/* style the links for the top level */
.menu li a, .menu li a:visited {
	display:block;
	float: left;
	width: auto;
	height: 28px;
	color: #fff;
	text-decoration: none;
	padding-top:10px;
	padding-left: 15px;
	padding-right: 22px;
}
/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {
/*width:130px;
w\idth:139px;*/
}

.menu ul ul li a, .menu ul ul li a:visited {
display:block;
border-top:1px solid #fff;
vertical-align: left;  

}

/* style the second level background */
.menu ul ul a.drop, .menu ul ul a.drop:visited {
background: #666666;
	filter:alpha(opacity=90);
	-moz-opacity:0.9;
	-khtml-opacity: 0.9;
	opacity: 0.9;
}
/* style the second level hover */
.menu ul ul a.drop:hover{
	background: #444444;
	filter:alpha(opacity=90);
	-moz-opacity:0.9;
	-khtml-opacity: 0.9;
	opacity: 0.9;
}
.menu ul ul :hover > a.drop {
	background:#444444;
	filter:alpha(opacity=90);
	-moz-opacity:0.9;
	-khtml-opacity: 0.9;
	opacity: 0.9;
}
/* style the third level background */
.menu ul ul ul a, .menu ul ul ul a:visited {
background:#000;
}
/* style the third level hover */
.menu ul ul ul a:hover {
background:#474747;
}
.menu ul ul ul :hover > a {
background:#474747;
}

/* 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:38px;
left:0; 
width:auto;
}
/* another hack for IE5.5 */
* html .menu ul ul {
/*top:30px;
t\op:31px;*/
}

/* position the third level flyout menu */
.menu ul ul ul{
left:220px; 
top:0;
width:auto;
}
/* position the third level flyout menu for a left flyout */
.menu ul ul ul.left {
left:-220px;
}

/* style the table so that it takes no part in the layout - required for IE to work */
.menu table {position:absolute; top:0; left:0;}

/* style the second level links */
.menu ul ul a, .menu ul ul a:visited {
	background-color: #000;
	filter:alpha(opacity=90);
	-moz-opacity:0.9;
	-khtml-opacity: 0.9;
	opacity: 0.9;
	color:#fff; 
	height:auto; 
	line-height:1em; 
	padding:5px 10px; 
	width:200px;
	vertical-align: left;
/* yet another hack for IE5.5 */
}
* html .menu ul ul a{
/*width:130px;
w\idth:129px;*/
}


/* style the top level hover */
.menu a:hover, .menu ul ul a:hover, .menu a:active, .menu ul ul a:active{
	color:#fff; 
	background:#474747;
	/*filter:alpha(opacity=90);
	-moz-opacity:0.9;
	-khtml-opacity: 0.9;
	opacity: 0.9;*/
}
.menu :hover > a, .menu ul ul :hover > a, .menu :active > a, .menu ul ul :active > a{
	color:#fff;
	background:#474747;
	/*filter:alpha(opacity=90);
	-moz-opacity:0.9;
	-khtml-opacity: 0.9;
	opacity: 0.9;*/
}

/* make the second level visible when hover on first level list OR link */
.menu ul li:hover ul,
.menu ul a:hover ul,
.menu ul a.aktywny:hover {
visibility:visible; 
}
/* keep the third level hidden when you hover on first level list OR link */
.menu ul :hover ul ul{
visibility:hidden;
}
/* keep the fourth level hidden when you hover on second level list OR link */
.menu ul :hover ul :hover ul ul{
visibility:hidden;
}
/* make the third level visible when you hover over second level list OR link */
.menu ul :hover ul :hover ul{ 
visibility:visible;
}
/* make the fourth level visible when you hover over third level list OR link */
.menu ul :hover ul :hover ul :hover ul { 
visibility:visible;
}

/* zaznaczone */
.aktywny {
	color:#fff; 
	background:#ffc000 !important;
	/*filter:alpha(opacity=90);
	-moz-opacity:0.9;
	-khtml-opacity: 0.9;
	opacity: 0.9;*/
}


.menu #flags {
	float: right;
	width: auto;
	margin-top: 12px;
	margin-right: 10px;
	}
	.menu #flags a {
		width: auto;
		background-color: none;
	}
