#nav {
	float: right;
	margin: auto 0;
	list-style: none;
	position: relative;
	top: 0px;
	right: 0px;
	/*background-color: Aqua;
	background-image: url(grafika/menu.jpg);*/
	line-height: 45px;
	padding: 0px 20px 0px 0px;	
	height: auto;
	/*line-height: 30px;*/
	/*padding-bottom: 10px;*/
	/*border: 1px solid red;*/
	
	font-weight: bold;
	letter-spacing: 1px;
	color: #ffffff;
}

#nav ul {
	float: right;
	margin: auto 0;
	list-style: none;
	top: 40px;
/*position: absolute;
top: 21px;
right: 33px;*/
	/*background-color: Aqua;
	background-image: url(grafika/menu.jpg);*/
	width: 800px;
	height: auto;
	line-height: 20px;
	padding: 0;
	/*border: 1px solid red;*/
	font-weight: bold;
	letter-spacing: 1px;
	color: #ffffff;
}


#nav a {
	display: block;
	height: 47px;


  width: auto !important;
  width: 62px; 
  padding: 0px 10px 0px 10px; 
  white-space: nowrap;
	color: #6A6A6A;
	text-decoration: none;
	/*padding-top: 20px;
	padding-bottom: 20px;*/
	text-align: center;
	
}

#nav a:hover {
	/*color: Yellow;
	background-color: #B5B5B5;	*/
	background-image: url(../szablony/mp_tloh.jpg);
}

#nav li {
	float: left;
	/*white-space: nowrap;*/
}

#nav li ul {
	position: absolute;
	width: 220px;
	left: -999em;
	font: 12px Verdana, Arial, Helvetica, sans-serif;
	letter-spacing: -1px;	
	line-height: 20px;
	background-image: url(../szablony/mp_tlorozwijane.jpg);
	background-repeat: repeat-x;
	background-color: #D0D2D1;
}

#nav li ul li{
width: 220px;
}

#nav li ul a {
height: 20px;
	/*line-height: 20px;
	background-color: #C10100;*/

	width: 220px;
	text-align: left;
	color: #515151;
	padding: 5px 0px 5px 7px;
	border-bottom: 1px solid #C4C6C5;
	font-size: 11px;
}



#nav li ul a:hover {

	color: #515151;
	background-color: #E4EDCC;
	background-image: none;
}



#nav li:hover ul {
	left: auto;
}

#nav li:hover ul, #nav li.sfhover ul {
	left: auto;
}

#nav li:hover, #nav li.sfhover {
	/*background: #FF0000;*/
}








