div, body, td, header, h1, h2 {
	padding:0;
	margin:0;
	font-family: Arial, Verdana, Helvetica, Sans-serif;
	font-size: 12px;
}

a {
	color:#318ff0;
}

img {
  border:0px;
}

#logo img {
	width:40px;
	height:40px;
	margin-right:5px;
	padding-bottom:7px;
	vertical-align: middle;
}

header {
	display:block;
	margin-bottom:30px;
	font-size:10px;
	font-family:Verdana, Helvetica, Sans-serif;
}

header strong{
	font-size:11px;
}

header #logo {
	padding: 5px;
	padding-left: 15px;
}

header h1 {
	font-family: Georgia, Times, 'Times New Roman', Serif;
	font-size: 48px;
}

div#content {
	padding-left: 45px;
	padding-right: 45px;
}

nav ul {
	background-image:url(../img/g.png);
	margin: 0 auto;
	list-style: none;
	border-top:1px solid #AFAFAF;
	border-bottom:1px solid #AFAFAF;
}

nav ul li {
	display:inline;
}
nav ul li img {
	vertical-align:middle;
	padding-right:5px;
}

nav ul li a {
	margin-right: 20px;
	width: 140px;
	font-size: 14px;
	line-height: 44px;
	text-align: center;
	text-decoration: none;
}

ul#mainav {
	margin: 0 auto;
	list-style: none;
	border-bottom:1px solid black;
}

ul#mainav li:hover {
	background-color:#AFAFAF;
}

ul.targetsnav {
	margin: 0 auto;
	list-style: none;
	border:0px;
	padding:0px;
	margin-bottom:20px;
}

ul.targetsnav li {
	margin: 0 auto;
	display:inline;
	padding:10px;
}

ul.targetsnav li.type {
  color:#FF0000;
}

ul.target {
	height:200px;
}

ul#results, ul.target {
	margin: 0 auto;
	padding:0px;
	position:relative;
	list-style: none;
	width:100%;
}

ul#results li {
	margin: 0 auto;
	display:block;
	padding:0px;
}

ul#results li ul.target li.al {
	position: absolute;
	top:65px;
	background-color:white;
	overflow-x:hidden;
	overflow-y:hidden;
	right:0px;
}

ul#results li ul.target li.al:hover {
	overflow-y:auto;
}

ul#results .img img, ul#results .gdt img {
	border: 1px solid black;
}

ul#results li ul.target li.sg,
ul#results li ul.target li.gdt,
ul#results li ul.target li.tm,
ul#results li ul.target li.spice {
	position: absolute;
	bottom: 100px;
	left:0px;
}

ul#results li ul.target li.sg {
	left:103px;
}
ul#results li ul.target li.tm{
	left: 52px;
}

ul#results li ul.target li.gdt {
  bottom:0px;
}

ul#results li ul.target li.img {
	position: absolute;
	top:0px;
	right:0px;
}

ul#results li ul.target li.img img{
	width:60px;
	height:60px;
}

ul#results > li {
	width:210px;
	margin: 0 auto;
	border-radius: 5px;
	background-color:#F3F3F3;
	border: 1px solid #ACACAC;
	margin:10px;
	padding:5px;
	display:block;
	float:left;
}

ul#results li ul.target .title {
	font-weight:bold;
	padding:0px;
	margin:0px;
	padding-bottom:10px;
	display:block;
	width:80px;
	font-size:18px;
}

ul#results li ul.target .range {
	font-size:9px;
	color:#3A3A3A;
}

ul#results li ul.target .al {
	border:1px solid black;
	height:130px;
	position:absolute;
	top:0px;
	right:0px;
}

ul.targetsnav li a {
	text-decoration:none;
	font-size:14px;
	padding:5px;
	border:1px solid #FAFAFA;
}

ul.targetsnav li a:hover, ul.targetsnav li a.selected{
	border-radius:15px;
	color:white;
	background-color:#ACACAC;
	border:1px solid #A0A0A0;
}
ul.targetsnav {
	width:670px;
	height:28px;
	padding:5px;
	padding-top:20px;
	border-radius:15px;
  	background-color:#FAFAFA;
	border:1px solid #ACACAC;
}

table.tablesorter {
	font-family:Arial, Verdana, Helvetica, Sans-serif;
	background-color: #CDCDCD;
	margin: 10px 0pt 15px;
	font-size: 8pt;
	width: 100%;
	text-align: left;
	border-collapse: collapse;
}

table.tablesorter thead tr th, table.tablesorter tfoot tr th {
	background-color: #E6EEEE;
	border: 1px solid #AFAFAF;
	border-collapse: collapse;
	font-size: 8pt;

	padding: 4px;
		padding-right:18px;
}

table.tablesorter thead tr .header {
	background-image: url(../img/bg.gif);
	background-repeat: no-repeat;
	background-position: center right;
	cursor: pointer;
}

table.tablesorter tbody td {
	color: #3D3D3D;
	padding: 4px;
	border: 1px solid #AFAFAF;
	border-collapse:collapse;
	background-color: #FFF;
	vertical-align: top;
}

table.tablesorter tbody tr:nth-child(odd) td {
	background-color: #F0F0F6;
}

table.tablesorter thead tr .headerSortUp {
	background-image: url(../img/asc.gif);
}

table.tablesorter thead tr .headerSortDown {
	background-image: url(../img/desc.gif);
}

table.tablesorter thead tr .headerSortDown, table.tablesorter thead tr .headerSortUp {
	background-color: #8dbdd8;
}

div#footer {
  border-top:1px solid black;
  height:280px;
  background-image:url(../img/bg-footer.png);
  background-repeat:repeat-x;
  margin:0px; clear:both;
  color:#CACACA;
  background-color:#494949;
}

div#footer ul#logos {
  list-style:none;
  padding:0px;
}

div#footer  ul#logos li {
  text-align:center; height:100px;

  float:left; width:160px;
}

div#footer a {
  text-decoration:none;
  color:#CACACA;
}

div#footer ul#logos li img.small{
    padding:4px; background-color:white;
}

div#footer ul#logos li img {
  display:inline;
  border:1px solid black;
}

div#footer div {
   font-size:9px;
   padding:10px;
   width:600px;
}

div#footer div div#footertext{
  display:block; clear:both;
}

div#footer img {
  width:51px; height:52px;
}

div#footer img.small {
  width:44px; height:44px;
}

ul#grouptype > li {
  display:table-cell; width:600px;
}
ul#grouptype li {
   margin:10px;
   font-size:14px;
}
div#content h2 {
  font-size:16px;
}
.tablesorter tr.cancelled td{
   color:#660000;
}

/*Lightbox*/

#lightbox{	position: absolute;	left: 0; width: 100%; z-index: 100; text-align: center; line-height: 0;}
#lightbox img{ width: auto; height: auto;}
#lightbox a img{ border: none; }

#outerImageContainer{ position: relative; background-color: #fff; width: 250px; height: 250px; margin: 0 auto; }
#imageContainer{ padding: 10px; }

#loading{ position: absolute; top: 40%; left: 0%; height: 25%; width: 100%; text-align: center; line-height: 0; }
#hoverNav{ position: absolute; top: 0; left: 0; height: 100%; width: 100%; z-index: 10; }
#imageContainer>#hoverNav{ left: 0;}
#hoverNav a{ outline: none;}

#prevLink, #nextLink{ width: 49%; height: 100%; background-image: url(data:image/gif;base64,AAAA); /* Trick IE into showing hover */ display: block; }
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(../img/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(../img/nextlabel.gif) right 15% no-repeat; }

#imageDataContainer{ font: 10px Verdana, Helvetica, sans-serif; background-color: #fff; margin: 0 auto; line-height: 1.4em; overflow: auto; width: 100%	; }

#imageData{	padding:0 10px; color: #666; }
#imageData #imageDetails{ width: 70%; float: left; text-align: left; }
#imageData #caption{ font-weight: bold;	}
#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em;	}
#imageData #bottomNavClose{ width: 66px; float: right;  padding-bottom: 0.7em; outline: none;}

#overlay{ position: absolute; top: 0; left: 0; z-index: 90; width: 100%; height: 500px; background-color: #000; }