/* 
 *		Horizontal, top-2-bottom menu
 *		Copyright Aleksandar Vacic, www.aplus.co.yu, some rights reserved http://creativecommons.org/licenses/by-sa/2.0/
 */

/*		------	Basic style	------		*/

#menu {
	display: block;
  width: 700px;
  letter-spacing: 4px;
}
  #menu img {
   border: 0;
  }
#menu ul {
	margin: 0;
	padding: 0 0 0 5px;
	border: 0;
	list-style-type: none;
  height: 19px;
}

#menu li {
	margin: 0;
	padding: 0 0 0 10px;
  padding: 0;
	border: 0;
	display: block;
	float: left;
}
#menu li span {
 padding: 0 0 0 10px;
}
#menu a {
	display: block;
  padding: 3px 10px 3px 10px;
	text-decoration: none;
	text-align: center;
	color: white;
}

#menu li li {
	width: 100%;
}

/* fix the position for 2nd level submenus. first make sure no horizontal scrollbars are visible on initial page load... */
#menu li li ul {
	top: 0;
	left: 0;
}

/* ...and then place it where it should be when shown */
#menu li li:hover ul {
	left: 100%;
}

/* initialy hide all sub menus */
#menu li ul {
	display: none;
	position: absolute;
	z-index: 10;
 	width: 250px;
	padding-top: 10px;
	padding-bottom: 5px;
  margin: 0;
  padding: 0;
}

/* display them on hover */
#menu li:hover>ul {
	display: block;
}

/* this is needed if you want to style #menu div - force containment of floated LIs inside of main UL */
#menuList:after {
	content: ".";
	height: 0;
	display: block;
	visibility: hidden;
	overflow: hidden;
	clear: both;
}

#menu li ul li {
 border: 0;
 padding: 0 0 0 0px;
 margin: 0;
}
#menu li ul a {
	text-align: left;
	padding-top: 3px;
	padding-bottom: 3px;
}