/* header tabs */
#tabs {
	font-size:12px;
	font-weight: bold;
	line-height:20px;
	bottom: 0;
	z-index: 0;
}
#tabs ul {
	list-style: none;
	margin-left: 0;
	padding-left: 0;
}
#tabs li {
	display: inline;
	float: left;
	position: relative;
	margin: 0;
	padding: 0;
}
#tabs a {
	float:left;
	background:url(/images/tab-left.png) no-repeat left top;
	color:#0470a0;
	padding-left: 10px;
	margin-right: 4px;
	text-decoration:none;
	color:#ffffff;
	cursor: pointer; /* IE 7 bug-fix */
}
#tabs a span {
	float:left;
	display:block;
	background:url(/images/tab-right.png) no-repeat right top;
	height: 29px;
	padding-right: 10px;
}
#tabs a span span {
	display:block;
	background:none;
	height: auto;
	padding: 4px 4px 0 4px;
}
/* Commented Backslash Hack hides rule from IE5-Mac \*/
#tabs a span {
	float: none;
}
/* End IE5-Mac hack */
#tabs a:hover span {
	color: #ffffff;
}
#tabs a:hover, #tabs li:hover a {
	background-position: 0% -29px;
	color: #fff;
}
#tabs a:hover span, #tabs li:hover a span {
	background-position: 100% -29px;
	color: #fff;
}
#tabs a.active, #tabs a.active:hover,
#tabs li.current_page_item a, #tabs li.current_page_item a:hover, #tabs li.current_page_ancestor a,
#tabs li.current_page_ancestor a:hover, #tabs li.current-cat a, #tabs li.current-cat a:hover,
#tabs li.current-cat-parent a, #tabs li.current-cat-parent a:hover {
	background-position: 0% -58px;
}
#tabs a.active span, #tabs a.active:hover span,
#tabs li.current_page_item a span, #tabs li.current_page_item a:hover span,
#tabs li.current_page_ancestor a span, #tabs li.current_page_ancestor a:hover span,
#tabs li.current-cat a span, #tabs li.current-cat a:hover span,
#tabs li.current-cat-parent a span, #tabs li.current-cat-parent a:hover span {
	background-position: 100% -58px;
	color: #000;
}
/* sub-menus */

#tabs ul ul {
  background: #838383;
  position: absolute;
  display: none;
  width:200px;
  top: 29px;
  left: 0;
  margin: 0;
  padding: 4px 0;
  line-height: 100%;
  z-index: 99;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	-moz-border-radius-bottomleft: 4px;
	-moz-border-radius-bottomright: 4px;
}

#tabs ul ul ul{
  border: 1px solid #fff;
  -moz-border-radius: 4px;
}

#tabs ul a.active ul,
#tabs ul li.current_page_item ul,
#tabs ul li.current_page_ancestor ul,
#tabs ul li.current-cat ul,
#tabs ul li.current-cat-parent ul{
  background: #fff;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

#tabs ul.active ul ul,
#tabs ul li.current_page_item ul ul,
#tabs ul li.current_page_ancestor ul ul,
#tabs ul li.current-cat ul ul,
#tabs ul li.current-cat-parent ul ul{
  border: 1px solid #ddd !important;
}

#tabs ul li ul a{
  width:180px;
  height:auto;
  float:left;
  background: none;
  margin: 0;
  padding: 4px 10px;
  color: #ffffff;
  font-weight: normal;
  font-size: 12px;
  font-weight: bold;
  text-shadow: #656565 1px 1px 1px;
  line-height: 20px;
}

#tabs ul a.active ul a,
#tabs ul li.current_page_item ul a,
#tabs ul li.current_page_ancestor ul a,
#tabs ul li.current-cat ul a,
#tabs ul li.current-cat-parent ul a{
  color: #000;
  text-shadow: none;
}

#tabs li:hover ul a span{ color: #ffffff; }

#tabs ul a.active ul a span,
#tabs ul li.current_page_item ul a span,
#tabs ul li.current_page_ancestor ul a span,
#tabs ul li.current-cat ul a span,
#tabs ul li.current-cat-parent ul a span{
  color: #666;
}

#tabs ul li ul a span, #tabs ul li ul a span span{
  margin: 0;
  padding: 0;
  height: auto;
  float: none;
}

#tabs ul ul a:hover, #tabs ul ul a:hover, #tabs ul a.active ul a:hover,
#tabs ul li.current_page_item ul a:hover, #tabs ul li.current_page_ancestor ul a:hover,
#tabs ul li.current-cat ul a:hover, #tabs ul li.current-cat-parent ul a:hover {
  background:#09c6eb url(tab-subnav-active.gif) repeat-x left top;
}

#tabs ul ul a:hover, #tabs ul ul a:hover span, #tabs ul a.active ul a:hover span,
#tabs ul li.current_page_item ul a:hover span, 
#tabs ul li.current_page_ancestor ul a:hover span,
#tabs ul ul li.current_page_parent a:hover span,
#tabs ul ul li.current_page_item a:hover span,
#tabs ul ul li.current_page_parent li.current_page_item a:hover span,
#tabs ul ul li.current-cat a:hover span,
#tabs ul ul li.current-cat-parent li.current_page_item a:hover span {
  color:#fff;
}

#tabs ul li ul a span, #tabs ul li ul a span {
  background: none;
}

#tabs ul ul ul{
  top:auto;
}

#tabs ul li ul ul {
  left:195px;
  top: 4px;
}

#tabs ul li:hover ul ul, #tabs ul li:hover ul ul ul, #tabs ul li:hover ul ul ul ul {
  display:none;
}
#tabs ul li:hover ul, #tabs ul li li:hover ul, #tabs ul li li li:hover ul, #tabs ul li li li li:hover ul {
  display:block;
}

/* active submenus */
#tabs ul ul li.current_page_parent a span, #tabs ul ul li.current_page_item a span,
#tabs ul ul li.current_page_parent li.current_page_item a span,
#tabs ul ul li.current-cat a span, #tabs ul ul li.current-cat-parent li.current_page_item a span {
  color: #2d83d5;
}

#tabs ul ul li.current_page_item li a span, #tabs ul ul li.current_page_parent li a span,
#tabs ul ul li.current-cat li a span, #tabs ul ul li.current-cat-parent li a span {
  color: #000;
}

/* IE 7 bug-fixes */
#tabs ul li:hover { z-index: 100; }
#tabs ul * li:hover { visibility: inherit; }

