/* 
 *		Horizontal, top-2-bottom menu
 *		Copyright Aleksandar Vacic, www.aplus.co.yu, some rights reserved http://creativecommons.org/licenses/by/2.0/
 */


/* - - - ADxMenu: BASIC styles - - - */

/* remove all list stylings */
.menu, .menu ul {
	margin: 0;
	padding: 0;
	border: 0;
	list-style-type: none;
	display: block;
}

/* move all list items into one row, by floating them */
.menu li {
	margin: 0;
	padding: 0;
	border: 0;
	display: block;
	float: left;
}

/* define new starting point for the nested UL, thus making positioning it a piece of cake */
.menu li:hover {
	position: relative;
}

/* force the submenu items into separate rows, while still keeping float:left (which resolves IE6 white-gap problem) */
.menu li li {
	width: 100%;
}

/* fix the position for 2nd level submenus.
	first make sure no horizontal scrollbars are visible on initial page load by sliding them all into top-left corner  */
.menu li li div {
	top: 0;
	left: 0;
}

/* ...and then place the submenu where it should be when shown */
.menu li li:hover div {
	left: 100%;
}

/* initialy hide all sub menus */
.menu div {
	display: none;
	position: absolute;
	z-index: 10;
}

/* display them on hover */
.menu li:hover>div {
	display: block;
}

/* -- float.clear -- force containment of floated LIs inside of UL */
.menu:after, .menu ul:after {
	content: ".";
	height: 0;
	display: block;
	visibility: hidden;
	overflow: hidden;
	clear: both;
}
/* IE7 float clear: */
.menu, .menu ul {
	min-height: 0;
}
/* -- float.clear.END --  */

/* sticky submenu: it should not disappear when your mouse moves a bit outside the submenu
	YOU SHOULD NOT STYLE the background of the ".menu div" or this feature may not work properly!
	if you do it, make sure you 110% know what you do */
	
.menu div {
	padding: 10px 30px 30px 30px;
	margin: -10px 0 0 -30px;
	/*background: #f00;*/		/* uncomment this if you want to see the "safe" area. you can also use to adjust the safe area to your requirement */
}

/* - - - ADxMenu: DESIGN styles - - - */

.menu {		/* navigation background style */
	position:relative;
	top:0px;
	color: #333;
	background:url(../images/nav-bg-teal.gif) 0 0 repeat; position:relative;
	/*background: #fff;*/	 /* uncomment this if you want to use a color instead of background image */
	border: 1px solid #1e7297;
}

.menu ul {	/* drop down menu style */
	width: 150px;
	background: #fff;
	border:1px solid #ccc;
}

.menu li li:hover>div {	/* inset 2nd+ submenus, to show off overlapping */
	top: 5px;
	left: 90%;
}

.menu ul a:hover { /* drop down hover style (IE6 included) */
	background: #eee;
	font-weight:normal;
}

.menu li:hover>a { 	/* first level hover button style (IE6 excluded) */
	color: #000;
	background: url(../images/nav2-teal.gif) 100% 0 no-repeat;
	/*background: #eee;*/	 /* uncomment this if you want to use a color instead of background image */
}

.hover2 li:hover>a {	/* drop down hover style (IE6 excluded) */
	color: #000;
	background: #eee;
}

.menu a {	/* first level button style (IE6 included) */
	color: #333;
	padding: 6px;
	display: block;
	text-decoration: none;
	font-weight:bold;
}

.menu a:hover {		/* first level button hover style (IE6 included) */
	color: #000;
	background: url(../images/nav2-teal.gif) 100% 0 no-repeat;
	/*background: #eee;*/	 /* uncomment this if you want to use a color instead of background image */
	text-decoration: none;
	font-weight:bold;
}

.menu ul a {	/* remove inheritance from submenus (IE6 included)*/
	color: #333;
	background: #fff;
	font-weight:normal;
}

.active a {	/* first level menu active state style (IE6 included) */
	color: #000;
	background: url(../images/nav2-teal.gif) 100% 0 no-repeat;
	font-weight: bold;
	text-decoration: none;
}


/* Fix for IE5/Mac \*//*/
.menu a {
	float: left;
}
.menu {
	display: inline-block;
}
/* End Fix */

/*]]>*/