/*
  /scripts/tablesorter-site.css  (2026-11-04)

  GIMPS customizations of the tablesorter "blue" theme. Load this AFTER the stock theme.blue.css:

    <link rel="stylesheet" href="/scripts/tablesorter-2.32.0/css/theme.blue.css">
    <link rel="stylesheet" href="/scripts/tablesorter-site.css">

  Keeping these changes in their own file means the stock tablesorter files can be replaced on the
  next upgrade without losing them. Collected from the edits that were made directly to
  /scripts/tablesorter/css/theme.blue.css (2.17.8) and /scripts/tablesorter.new/css/theme.blue.css (2.31.3).

  Notes (verified 2026-11-07 against the old 2.17.8 pages):
  - On class="stdtable" tables, table.stdtable rules outrank several of the rules
    below (width, font-size, borders); the values match, so the result is the same.
  - The thead gradient is covered by the stock solid th background-color; kept for parity.
  - Zebra-widget colors intentionally differ from the nth-child striping (as in the old theme).
*/

/* overall: slightly narrower than the container, no extra margin */
.tablesorter-blue {
	width: 98%;
	margin: 0;
}

/* black cell borders */
.tablesorter-blue th,
.tablesorter-blue td {
	border-collapse: collapse;
	border: 1px solid black;
}

/* header: blue gradient, 10pt text, tight padding */
.tablesorter-blue thead {
	background: linear-gradient(to right, rgba(179,220,237,1) 0%, rgba(41,184,229,1) 50%, rgba(188,224,238,1) 100%);
	background-attachment: local;
}
.tablesorter-blue th,
.tablesorter-blue thead td {
	/* font-family: inherit; */
  font-family: Tahoma, Arial, Helvetica, sans-serif;  /* same as td, th, input in newstyle.css */
	font-size: 10pt;
	line-height: normal;
	padding: 2px;
}
.tablesorter-blue .header,
.tablesorter-blue .tablesorter-header {
	background-position: 100% 95%;
	padding: 2px;
}

.tablesorter-blue thead .sorter-false {
	padding: 2px;
}

/* body: 10pt text, tight padding, no per-cell background so the row striping below shows through */
.tablesorter-blue td {
	font-size: 10pt;
	padding: 2px;
	background-color: transparent;
}
.tablesorter-blue tbody td,
.tablesorter-blue tfoot th,
.tablesorter-blue tfoot td {
	padding: 2px;
}

/* row striping and hover */
.tablesorter-blue tbody > tr:nth-child(odd) {
	background-color: #ffffff;
}
.tablesorter-blue tbody > tr:nth-child(even) {
	background-color: #f0f0ff;
}
.tablesorter-blue tbody tr:hover {
	background-color: lightblue;
}

/* zebra widget colors (only used by pages that enable the zebra widget) */
.tablesorter-blue tbody tr.odd td {
	background-color: #ffffff;
}
.tablesorter-blue tbody tr.even td {
	background-color: #e4f3e2;
}

/* table captions (this was a site-wide rule in the old theme file, kept as-is) */
caption {
	font-weight: bold;
	font-size: 16pt;
	font-family: arial, sans-serif;
}

/* Optional extra-compact tables: add class="ts-compact" to the <table>.
   This is the 1px padding used on the work distribution map (/primenet/). */
.tablesorter-blue.ts-compact th,
.tablesorter-blue.ts-compact td,
.tablesorter-blue.ts-compact .tablesorter-header,
.tablesorter-blue.ts-compact thead .sorter-false {
	padding: 1px;
}