
/*******************************************************************************
=CAPSFIXES
*******************************************************************************/
body.caps #menu ul a {
	color:#fff !important;
}

body.caps #menu ul li ul li a {
	color: #666 !important;
}

body.caps #menu ul li ul li.on a {
	color: #205080 !important;
}

form #search input.query {
	width: 200px !important;
}

body#viewTag fieldset, body#tagRankings fieldset {
	width: auto !important;
	clear: none !important;
}

/*******************************************************************************
=HEADER
*******************************************************************************/
script {
	display: none;
}
#header{
	width: 100%;
	min-width:1000px; /* NECESSARY? */
	/* enforce z-index */
	z-index:100;
	position:relative;
	line-height: 1;
	background:url(images/headerBG.jpg);
}

#header div.grid, #header div.column {
  margin-bottom:0;
}

#header div.wrap {
  background:#fff url(images/img/bg_header.gif) repeat-x top;
  border-bottom:5px Solid #5bf;
  margin-bottom:3.3em;
}

#header a {
	text-decoration:none;
}
#header a:visited {
}
#header a:hover {
	text-decoration:underline;
}
#header a:active {

}

.toplink
{
	margin:0px auto;
	width:980px;
	height:20px;
	line-height:30px;
	
}
.pagetitle
{
	width:660px;
	float:left;
	color:#FFF;
	font-weight:bold;
	font-size: 26px;
}
.pagelinks
{
	width:300px;
	float:right;
}

.pagelinks ul
{
	padding: 0;
	margin: 0;
}
.pagelinks ul li
{
	list-style: none;
	display: inline;
	padding-right: 2px;
}

.pagelinks a
{
	color:#FFF;
	text-decoration:underline;
}

.pagelinks .arrow-separator
{
	background:left center url('images/arrows.jpg') no-repeat;
	padding:0px 20px 0px 20px;
}


#search div.column {
	margin-bottom: 0;
}


#topnav {
	background: #fff url(images/headerBG.jpg) repeat-x top left;
	color: #fff;
	height: auto;
	padding: 17px 0 0 0;
	border-bottom: 1px solid #d0d0d0;
}

#logo {
	float: left;
	padding-left: 10px;
	height: 81px;
}

#logo a {
	background: transparent no-repeat top left;
	height: 56px;
	width: 273px;
	display: block;
	margin:5px 0 20px;
}

div #search {
  float:right;
	display: inline;
	margin: 17px 32px 17px 0;
	background: transparent !important;
	border: none !important;
	padding:0;
}

#search input.query {
	color: #999;
	font-size: 14px;
	font-weight: bold;
	padding:7px;
	margin-right: 5px;
	width: 200px;
	margin-top: 3px;
	float: left;
	vertical-align:text-bottom;
	font-family: arial, helvetica, sans-serif;
}

#search input.active {
	color: #222;
}

#search .doSearch {
	background: transparent  url(images/search.png) no-repeat;
	height: 39px;
	width: 100px;
	border: 0 none;
	font-size: 0;
	line-height:0;
	cursor: pointer;
	float: left;
	vertical-align:text-bottom;
}




/*******************************************************************************
=MENU
*******************************************************************************/
#menu {
	overflow: visible;
	position: relative;
	top: 4px;
	height: 78px;
}

#menu a {
	text-decoration: none;
}

#menu ul {
	float: left;
	clear: none;
	list-style: none;
	padding: 0;
	margin: 0;
}

#menu li {
	font-size: 14px;
	line-height: 1.4em;
	font-weight: bold;
	float: left;
	clear: none;
	margin-right: 1px;
}

#menu li a {
	color: #fff;
	padding-right: 5px;
	display: block;
	background: transparent url(images/navSprite.gif) no-repeat right -42px;
}

#menu li a span {
	padding: 10px 11px 11px 16px;
	display: block;
	background: transparent url(images/navSprite.gif) no-repeat left -42px;
}

#menu li.hover a, #menu li.over a, #menu li.on a {
	color: #124170;
	background: transparent url(images/navSprite.gif) no-repeat right top;
}

#menu li.hover a span, #menu li.over a span, #menu li.on a span {
	color: #124170;
	background: transparent url(images/navSprite.gif) no-repeat left top;
}

#menu li ul {
	display: none;
	position: absolute;
	top: 36px;
	left: 0;
	width: 980px;
	background: #fff;
}

#menu li.hover ul, /*#menu li:hover ul, */ #menu li.on ul {
	display: block;
}

#menu li ul li {
	float: left;
	padding: 14px 0;
	font-size: 14px;
	line-height: 0.7em;
	background: #fff;
}

#menu li ul li.external {
	background: transparent url(images/externalLink.gif) no-repeat scroll 97% center;
}

#menu li ul li.external a {
	padding-right: 20px;
}

#menu li ul li.on a {
	color: #205080 !important;
	font-weight: bold;
}

#menu li ul li a {
	padding: 0 10px;
	font-weight: normal;
	color: #666 !important;
	background: transparent url(images/navSprite.gif) no-repeat right -87px !important;
}

#menu li ul li a:hover {
	text-decoration: underline;
}

#menu li ul li.last a {
	background: none !important;
}


/*******************************************************************************
=FOOTER
TODO: Refactor
*******************************************************************************/
#footer {
	background-color:#133f6c;
	color: #5bf;
	text-align: center;
	padding: 10px 0;
	border-top: 1px solid #0a3055;
	clear:both;
}
#footer div.grid {
	margin: 14px auto 0;
}
#footer div.column div.wrap, #footer div.column ul {
	font-size: 12px;
}
#footer div.column {
	margin-bottom: 0px;
	text-align: center;
}

#footer a {
	color: #fff;
	font-weight: normal;
	text-decoration:none;
}
#footer a:hover {
	color: #5bf;
	text-decoration:underline;
}
#footer ul li a {
	border-left: 1px solid #5bf;
	padding-left: 7px;
	margin-right: 7px;
}
#footer li.first a {
	border: none;
	padding: 0;
}

#footer ul {
	text-align: center;
	overflow: hidden;
	padding: 0;
	margin: 0 0 5px 0;
	list-style: none;
	line-height:1.5em;
}
#footer ul li {
	font-weight: bold;
	display: inline;
}

#footer p {
	text-align:center;
	margin-bottom:5px;
	font-size: 12px;
}

#footer #fn-serverinfo {
	font-size:12px;
	line-height:12px;
	text-align:center;
	color: #133F6C;
}



/*******************************************************************************
=IE
*******************************************************************************/

* html #indices table thead td {
	padding: 0px 10px 0; /* less top padding for IE */
}

* html #indices table td {
	line-height: 13px; /* line height too big for IE */
}

*+html #indices table thead td {
	padding: 0px 10px 0; /* less top padding for IE */
}

*+html #indices table td {
	line-height: 13px; /* line height too big for IE */
}

