/*
-----------------------------------------------
Navigation
----------------------------------------------- */

/* navigation (horizontal subnavigation)
----------------------------------------------- */
ul.nav,
ul.nav * { margin:0;padding:0;}
ul.nav {
  position:relative;
  max-width:100%;
  height:2em;
  font-size:.9em;
  }
ul.nav li {
	cursor:pointer;
	float:left;
	text-align:center;
	list-style-type:none;
	font-weight:normal;
}
ul.nav li ul {
	cursor:default;
	width:100%;
	max-width:100%;
	position:absolute;
	height:auto;
	top:2em;
	background-position:0 0 !important;
	left:-9000px;
}
ul.nav li ul li {
	padding:0;
	border:none;
	width:auto;
	max-width:none;
}
ul.nav li a {
	color:#fff;
	/*background:#666;*/
	font-weight:bold;
	text-decoration:none;
	display:block;
	float:left;
	padding:0 .6em;
	height:2em;
	line-height:2em;
}
ul.nav li ul li a {
	position:relative !important; /* ie Mac */
	cursor:pointer !important;
	white-space:nowrap;
	line-height:2em;
	height:2em;
	font-weight:normal;
	color:#666;
	background-position:0 50% !important;
}

ul.nav li:hover a,
ul.nav li a:hover,
ul.nav li a:focus {color:#000; background:#ccc;}
ul.nav li a:active {color:#666; background:#fff;}
ul.nav li:hover ul {left:0;z-index:10}
ul.nav li ul,
ul.nav li {background:#ccc !important}
ul.nav li:hover ul li a {color:#444;}
ul.nav li:hover ul li a:hover {color:#000; background:#fff;}
ul.nav li:hover ul li a:active {color:#666; background:#fff;}

ul.nav li.current a {color:#666; background:#fff; cursor:default; font-weight:bold;}
ul.nav li.current ul {left:0;z-index:5}
ul.nav li.current ul,
ul.nav li.current {background:#ccc !important}
ul.nav li.current ul li a {color:#444; background:#ccc; font-weight:normal;}
ul.nav li.current ul li a:hover {color:#000; background:#fff;}
ul.nav li ul li.current a,
ul.nav li ul li.current a:hover,
ul.nav li.current:hover ul li a:active {color:#666; background:#fff;}


/* navigation (vertical subnavigation)
----------------------------------------------- */
ul.nav {
  background: #000 url(../img/bg_tiles.gif) repeat-x center top;
}
ul.main li {
  position:relative;
  top:0;
  left:0;
}
ul.main li ul {
  border-top:0;
}
ul.main li ul li {
  float:left;
}
ul.main li a {
	height:2em;
	line-height:2em;
	border:0;
	color:#fff;
	background: #000 url(../img/bg_tiles.gif) repeat-x center top;
}
ul.main li ul li a {
  width:15em;
  line-height:2em;
  height:2em;
  text-align:left;
  color:#fff;
  border-bottom:1px solid #fff;
  font-size:.9em;
  /*border-top:1px solid #444;
  background:#444;*/
}
ul.main li a:focus {color:#fff; background:#666;}
ul.main li ul li a:hover {
  color:#fff;
  background:#555;
}
ul.main li:hover a {
  color:#000;
  background: #ff5100 url(../img/bg_tiles.gif) repeat-x center -50px;
}
ul.main li:hover ul li a {color:#fff; background: #000;}
ul.main li:hover ul li a:hover {color:#000; background: #FFBD00;}
ul.main li:hover a:active {background:#ff5100;}
ul.main li:hover ul li a:active {color:#fff; background:#ff5100;}


/* secondary list
----------------------------------------------- */
ul.nav li.secondary {
	float:right;
	color:#cde;
	background:transparent !important;
}
ul.nav li.secondary span.status {
	float:left;
	padding:0 1em;
	line-height:2em;
	height:2em;
	font-size:0.9em;
}
ul.nav li.secondary span.status a {
	float:none;
	display:inline;
	padding:0;
	height:auto;
	line-height:auto;
	color:#cde;
	background:transparent;
}
ul.nav li.secondary span.status a:hover {
	color:#fff;
	background:transparent;
}
ul.nav li.secondary span.status span {
	text-transform:capitalize;
}
ul.nav li.secondary:hover a {
	color:#fff;
	background:#666;
}
ul.nav li.secondary:hover a:hover {
	color:#000;
	background: #ff5100 url(../img/bg_tiles.gif) repeat-x center -50px;
}
ul.nav li.secondary:hover a:active {background:#444;}



/* verticle menu
----------------------------------------------- */
#menu-v {
/*width: 12em;
background: #eee;*/
}

#menu-v ul {
list-style: none;
/*margin: 0;
padding: 0;*/
}

#menu-v a, #menu-v h2 {
/*font: bold 11px/16px arial, helvetica, sans-serif;
display: block;
border-width: 1px;
border-style: solid;
border-color: #ccc #888 #555 #bbb;*/
margin: 0;
padding: 2px 3px;
}

/*#menu-v h2 {
color: #fff;
background: #000;
text-transform: uppercase;
}

#menu-v a {
color: #000;
background: #efefef;
text-decoration: none;
}

#menu-v a:hover {
color: #a00;
background: #fff;
}*/

#menu-v li {
position: relative;
}

#menu-v ul ul li {
line-height:1.5em;
margin:0;
/*border-bottom:#fff solid 1px!important;*/
}
/*#menu-v ul ul ul li a {
border-bottom:#fff solid 1px;
}*/
#menu-v ul ul ul {
position: absolute;
top: 0;
right: 100%;
width: 100%;
width:15em;
}
#menu-v ul ul ul li {
line-height:1.5em;
height:1.5em;
margin:0;
}

div#menu-v ul ul ul,
div#menu-v ul ul li:hover ul ul
{display: none;}

div#menu-v ul ul li:hover ul,
div#menu-v ul ul ul li:hover ul
{display: block;}
