/**
 * Describes dropdown menu of www.pate.pl website. 
 * Created on 2005/04/01
 *
 * @author 		Jakub Pawlowicz	
 * @version 	1.0, 04 January 2005
 */

/**
 * www.pate.pl site's menu definition. Code was borrowed from the great Suckerfish Dropdown Menu.
 * More information about this method can be found on www.htmldog.com/articles/suckerfish/dropdowns.
 * 
 * @see http://www.htmldog.com/articles/suckerfish/dropdowns
 * @see /common/images/polishDropdownMenu.png
 * @see /common/images/englishDropdownMenu.png
 */

/**
 * Menu lists
 */
#menu {
	width:220px;
	height: 43px;
}

#menu {
	margin:0 auto;
}
/**
 * Menu's anchor style
 */
#menu li li a {
	display: block;
	width:162px;
	padding-top:5px;
	border:none;
	
	color:#fff;
	text-decoration:none;
	text-align:center;
	font-size:12px;
}

#menu li li a:hover {
	color:#f00;
	text-decoration:none;
	border:none;
}

#menu #logo {
	height:42px;
	background:transparent url(/common/images/logopate.png) top left no-repeat;
}

#menu #logo #logoAnchor {
	height:42px;
	/*Hides link's text*/
	text-indent: -9999em;
	overflow: hidden;
	white-space: nowrap; 
}

/**
 * Menu's list items style
 */
#menu li {
  position: relative;
  width: 220px;
  height: 43px;
}
 
#menu li li {
	/* width needed or else Opera goes nuts */
	width:162px;
	height:25px;
}

/**
 * second-level lists
 */
#menu li ul { 
	position: absolute;
	margin-left: 30px;
	width:162px;
	height:180px;
	top: 43px;
	z-index: 10;
	/* using left instead of display to hide menus because display: none isn't read by screen readers */
	left:-999em;
	background:transparent url(/common/images/menubg.png) left top no-repeat;
}

/**
 * lists nested under hovered list items
 */
#menu li:hover ul, #menu li.sfhover ul { 
	left: auto;
}