﻿.table-results-container {
	border-bottom: solid 1px #CCC;
	margin: 10px 0;
	min-width: 345px;
}

table.results {
	border-collapse: collapse;
	margin: 0;
	width: 100%;
}

table.results tr {
	border-style: solid;
	border-width: 1px;
	border-color: transparent #CCC #E7E7E7;
	background-color: #F4F4FC;
	color: #039;
}

table.results tr:hover {
	border-bottom: solid 1px #40405B;
}

table.results td {
	padding: 2px 5px;
}

table.results.grid td {
	border-style: solid;
	border-width: 0 1px;
	border-color: #D7D7D7;
}

table.results tr.alternate,
table.results tr.even {
	background-color: #E1EBEF;
}

table.results tr.disabled {
	color: #999;
}

table.results tr.owned {
	background-color: #FFD998;
	border-bottom-color: #FFC767;
}

table.results tr.owned.alternate {
	background-color: #FFCC74;
}

table.results tr.owned a:hover {
	color: black;
}

table.results tr.alert {
	color: Red;	
}

table.results tr.totals {
	border-top: solid 1px #CCC;
	background-color: #FFF;
	font-weight: bold;	
}

table.results tr.header,
table.results thead tr {
	font-weight: bold;
	color: #1648A4;
	background: #F9F9F2;
	border: solid 1px #CCC;
	border-bottom-color: #BABABA;
}

table.results tr.header td,
table.results thead th {
	padding: 5px;
	text-align: left;
}

table.results thead th {
	cursor: pointer;
}

table.results thead th:hover {
	background-color: #EAEFF1;	
}

table.results tr.first { 
	background-color: #F4F4FC;
}

table.results tr.first td {
	padding-top: 5px;
}

table.results tr.footer {
	border-bottom: 1px solid #CCC;	
}

table.results td.locked a {
	padding: 0;
}

table.results td.asc a, 
table.results td.desc a {
	padding: 0 0 0 20px;
	background-repeat: no-repeat;
	background-position: left top;
	display: block;
}

table.results th.asc,
table.results th.desc,
table.results th.headerSortUp,
table.results th.headerSortDown {
	background-repeat: no-repeat;
	background-position: 5px center;
	padding-left: 25px;
}

table.results td.asc a,
table.results th.asc,
table.results th.headerSortDown { 
	background-image: url(../images/results/asc.gif); 
}

table.results td.desc a,
table.results th.desc,
table.results th.headerSortUp { 
	background-image: url(../images/results/desc.gif); 
}

table.results tr.disabled a,
table.results tr.disabled a:hover { 
	color: #999999; 
}

table.results tr.alert a { color: Red; }
table.results tr.alert a:hover { color: Red; }

table.results td.alignRight { text-align: right; }

table.results td.remove {
	margin: 0px;
	padding: 0px;
	z-index: 10;
	width: 13px; /* width for IE7 */
}

table.results td.remove a {
	position: relative;
	right: 10px;
	right: 7px;
	top: -0px;
	margin-right: 0px; /* -25px doesn't work in IE7 */
	padding: 0px 3px;
	font-size: 8px;
	font-family: Tahoma, Sans-Serif;
	border: solid 1px #ccc;
	background: white;
	color: #5F5F5F;
}

table.results td.remove a:hover {
	text-decoration: none;
	background: #CCC;
	color: white;	
}

table.results td.add {
	white-space: nowrap;	
}

table.results select,
table.results input.text {
	width: 99%;	
}

/* results info */
.resultsInfo {
	margin: 5px 5px 15px;
}

/* pager */
.pager {
	margin: 5px 0 15px;
}

.pager .controls {
	padding: 3px 10px;
	margin: 3px 0;
	border: solid 1px #CCCCCC;
	background: #F9F9F2;
}

.pager .controls input {
	vertical-align: middle;
}

.pager .controls a { color: #77ABBF; text-decoration: underline; }
.pager .controls a:hover { color: #F90; }

.pager .currentPage {
	margin-right: 15px;
}

.pager .jump {
	display: inline;
	margin-right: 10px;
}

.pager .jump label {
	line-height: 1.5em;
}

.pager .jump input.text {
	width: 2em;
	margin:  0 0 0 3px;
}

.pager .jump label {
	margin-right: 10px;
}

.pager .jump select {
	display: inline !important;
	float: none;
}

.pager .jump button {
	margin: 0 5px;
	background: #77ABBF;
	color: White;
	border: solid 1px #6193A7;
}

.pager .jump button:hover {
	background: #FF9900;
	border-color: #FF9900;
}

.pager a.prev {
	background: url(../images/results/prev.gif) no-repeat left 1px;
	padding: 2px 2px 2px 19px;
	margin-right: 7px;
}

.pager a.prev:hover {
	background-image: url(../images/results/prev_over.gif);
}

.pager a.next {
	background: url(../images/results/next.gif) no-repeat right 1px;
	padding: 2px 19px 2px 2px;
	margin-left: 7px;
}

.pager a.next:hover {
	background-image: url(../images/results/next_over.gif);
}