/*
 * Created on 5.1.2005
 * (c) Jan Ptacek
 *
 * Three kinds of <li> elements get styled here
 * 		top-level - always visible
 * 		1-level   - pulled down
 * 		n-level   - pulled left - n is from {2, ... }
 *
 *
 * Additional style is attached in menu.horizontal/script.js
 *		to emulate :first-child
 *		to add background-image indicating submenu presence
 */

* {
	border: 0px;
	margin: 0px;
}

.hmenuALIB {								/* top-level menu */
	position: relative; 				/* to let submenus be absolute positioned */
	height: 39px;
	z-index: 20;

	display: block;
	margin: 0px;
	padding: 0px;
	border: 0px;
	list-style: none;
}

.hmenuALIB ul {								/* 1-level menu */
	position: absolute;					/* ie: out of flow, so do not strech height of top-level menu */
	top: 39px;
	left: 0px;							/* due to box model */
	padding: 0px;
	margin: 0px;
	list-style: none;
	display: none;
}

.hmenuALIB ul ul {							/* n-level menu */
	left: 100px;
	top: 0px;
        line-height:10px;
        height: 10px;
        padding: 0px;
	margin: 0px;
        font-size: 3px;
        						/* */
}

.hmenuALIB li {								/* top-level menu lineup */
	position: relative;					/* to position submenus */
	float: left;
	border: 0px solid black;
	border-left: 0px solid black;
	
}

.hmenuALIB ul li {							/* 1 or n-level menu lineup */
	clear: left;						/* we do not want float left here */
										/* but we want excesive space eater effect */
										/* of float: left, co just move next block */
										/* to next line with clear */
	border: 0px solid black;
	border-top: 0px solid black;

	padding: 0px;
	margin: 0px
	line-height: 6px;
	height: 13px;
}


.hmenuALIB li a {							/* all-level menu anchors */
	display: block;						/* to fill full square */
	/*float:left;*/							/* to lineup well */
	border: 0px solid #ccc;
	padding: 0px 0px 0px 0px;
	margin: 0px;
	text-decoration: none;
	color: black;
	vertical-align: bottom;
	line-height:39px;
	width: 100px;
	font-size: 10px;
}

.hmenuALIB li a:hover {
	/* background-color: #cc3300;  */
	background-color: #f5ad1e;
	background-image: inherit;
	background-position: top right;
	background-repeat: no-repeat;
	color: white;

}

.hmenuALIB ul li a {						/* 1 or n-level menu anchors */
	display: block;						/* all same width */
	width: 100px;
	line-height: 6px;
	height: 13px;
        background-position: top right;
        background-repeat: no-repeat;

        padding: 0px;
        margin: 0px;
        border: 0px;
}