/* 
 *		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;
}

.menu ul {
	border:1px solid #CCCCCC;
	width: 100px;
}

/* 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: 100000;
}

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

.menu a {
	text-decoration: none;
}

/* -- 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: 12px 0 0 -30px !important;
	margin: 12px 0 0 -110px;
	/*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 {
      padding-top:5px;
      margin-left:22px !important;
      margin-left:9px ;
      float:left;
      width:758px !important;
      width:762px;
      b ackground: #666666;
      line-height:normal;
      background: url(../images/nav-bg.gif) repeat-x;
      }
      
    .menu ul {
        margin:0;
        padding:10px 10px 0 50px;
        list-style:none;
        background-color:white;
      }
      
    .menu li {
      display:inline;
      margin:0;
      padding:0;
      }
      
    .menu span {
      float:left;      
      margin:3px 0px 0px 0px;
      padding:0 0 0 4px;
      text-decoration:none;
      }
      
    .menu span a {
      float:left;
      display:block;
      padding:2px 15px 4px 6px;
      color: white;
      font-weight: bold;
      }
      
     .menu li li:hover span >div {	/* inset 2nd+ submenus, to show off overlapping */
	top: 5px;
	left: 90%;
	}
	
	/* Commented Backslash Hack hides rule from IE5-Mac \*/
	.menu a span {float:none;}
	/* End IE5-Mac hack */
	.menu span a:hover {
		color:#FF9834;
	}
      
	.menu a:hover {
		background-position:0% -42px;
	}
      
	.menu span a:hover {
		background-position:100% -42px;
		color: #5a5360;
	}

	.menu .active span {
		background:url("../images/tableft.gif") no-repeat left top;
		background-position:0% -42px;
	}
	.menu .active span a {
		background:url("../images/tabright.gif") no-repeat right top;
		background-position:100% -42px;
		font-weight: bold;
		color: #5a5360;
	}
	
	.menu .active span ul a {
		background: none;
	}

	.menu span ul a,
	.menu .active span ul a {
		color: gray;
	}
	
	.menu span ul a:hover {
	    color: #5a5360;
	}
	
        
