/* tables.css

   Styles related to the specialized tables created by the tables plugins.  
*/



/* The default style for a tabular table. */

table.plg-tabular {
  border: 1px solid black;
  background-color: white;  
}

table.plg-tabular th {
  color: black;
  font-weight: bold;
  font-size: 0.9em;
  border: 1px solid #606060;
  padding-right: 0.75ex;
  padding-left: 0.75ex;  
  padding-top: 2px;
  padding-bottom: 2px;
}

table.plg-tabular td {
  border: 1px solid #A0A0A0;
  padding-right: 0.75ex;
  padding-left: 0.75ex;   
  padding-top: 2px;
  padding-bottom: 2px;  
}

table.plg-tabular th.subhead {
  background-color: #F0F0F0;
}

table.plg-tabular td.multispan {
  /*background-color: #F0F0F0;*/
}

table.plg-tabular td.hrule {
  border-top: 1px solid black;
  height: 0px;
  padding: 0px;
  background-color: white;    
}

table.plg-tabular td.skip {
  height: 0px;
  padding: 0px;
  background-color: white;  
}

/*
  pl-tabular
  plg-tabular
  plug-tabular
*/


/* Styles for the <doctable> element*/

table.plg-doctable {
  border: none;
  border-top: 1px solid black;
  border-bottom: 1px solid black;
  border-spacing: 0px;
  border-collapse: collapse;
  border-left: none;
  border-right: none;
  padding: 1px;
}

table.plg-doctable th {
  padding: 1px 6px 1px 6px;  
  background-color: black;
  color: white;
}

table.plg-doctable th { 
  font-size: 0.9em;
  border-left: 1px solid white;
}

table.plg-doctable th:first-child {
  border-left: 1px solid black; /*inherit;*/
}

table.plg-doctable th:last-child {
  border-right: 1px solid black; 
}

table.plg-doctable td {
  padding: 1px 6px 1px 6px;
  border: 1px solid #555;
  /*border-top: 1px solid #999;*/
}

table.plg-doctable td { } 
table.plg-doctable td.col1 {} 

table.plg-doctable tr:nth-child(odd)
{
  background-color: #E8E8E8;
}

table.plg-doctable td.hrule {
  border-bottom: 0px solid black;
  border-top: 2px solid black;
  height: 0px;
  padding: 0px;
  background-color: white;    
}

table.plg-doctable td.skip {
  height: 0px;
  padding: 0px;
  border: none;
  background-color: white;  
}


/* Styles for the <algtable> */

table.plg-algtable {
  border: none;
  border: 1px solid black;
  padding: 3px;
  border-spacing: 0px;
  /*border-collapse: collapse;*/
}

table.plg-algtable th {
  font-size: 0.9em;  
  padding: 1px 6px 1px 4px;  
  background-color: #222; /*black;*/
  color: white;
}

table.plg-algtable th:last-child { 
  /*font-size: 0.9em;*/
  border-left: 1px solid white;
}

table.plg-algtable th:first-child {
  border-left: inherit;
}

table.plg-algtable td {
  padding: 2px 6px 2px 6px;
  border-bottom: 1px solid #555;
  /*border-top: 1px solid #999;*/
}

table.plg-algtable td:last-child {
  border-left: 1px solid black;
}

table.plg-algtable td { } 
table.plg-algtable td.math {
  font-style: italic;
} 

table.plg-algtable tr:nth-child(odd)
{
  background-color: #F3F0DD;
}

/*
table.plg-algtable tr > td:first-child {
  border-right: 3px solid black;
}

table.plg-algtable tr > th:first-child {
  border-right: 1px solid white;
}
*/

/* Styles for the <grouptable>. */

table.plg-grouptable {
  border-top: 1px solid black;
  border-bottom: 1px solid black;
  border-left: 1px solid black;
  border-right: 1px solid black;  
  background-color: white;
}


table.plg-grouptable th {
  background-color: black;
  color: white;
  font-weight: bold;
  font-size: 0.9em;
  padding-right: 0.75ex;
  padding-left: 0.75ex;
  min-height: 1ex;
}


table.plg-grouptable td {
  padding-right: 0.75ex;
  padding-left: 0.75ex;
}


table.plg-grouptable th.subhead {
  color: black;
  background-color: #ebe4b5; /* #A59989; #D4CCB4;*/
/*  background-color: #336699;*/
}


table.plg-grouptable tr {
}

table.plg-grouptable tr:nth-child(odd) {
  background-color: #E8E8E8;
}

table.plg-grouptable tr:nth-child(even) {
  background-color: white;
}

table.plg-grouptable {
  border-left: none;
  border-right: none;
}



/* Styles for the <reftable> table. */

table.plg-reftable {
  border-top: 1px solid black;
  border-bottom: 1px solid black;
  border-left: 1px solid black;
  border-right: 1px solid black;  
  background-color: white;  
  min-width: 60%;
}

table.plg-reftable tr:nth-child(odd)
{
  background-color: #F3F0DD;
}

table.plg-reftable th {
  background-color: black;
  color: white;
  font-weight: bold;
  font-size: 0.9em;
  border: 1px solid #606060;
  padding-right: 0.75ex;
  padding-left: 0.75ex;  
  padding-top: 2px;
  padding-bottom: 2px;
}

table.plg-reftable td {
  border: 1px solid #A0A0A0;
  padding-right: 0.75ex;
  padding-left: 0.75ex;   
  padding-top: 2px;
  padding-bottom: 2px;  
}

table.plg-reftable td.refterm {
  white-space: nowrap;
  min-width: 30%;
}


table.plg-reftable th.subhead {
  background-color: #F0F0F0;
}

table.plg-reftable td.multispan {
  background-color: #F0F0F0;
}

table.plg-reftable td.code {
  font-family: 'Courier New', 'Roboto mono', monospace;
  min-width: 30%;
}

table.plg-reftable td.hrule {
  border-top: 1px solid black;
  height: 0px;
  padding: 0px;
  background-color: white;    
}

table.plg-reftable tr.skip {
  display: none;
}


/* Styles for the cmdtable table. */

table.plg-cmdtable {
  border-top: 1px solid black;
  border-bottom: 1px solid black;
  border-left: 1px solid black;
  border-right: 1px solid black;  
  background-color: white;
  min-width: 60%;
  max-width: 75%;
  margin-left: auto;
  margin-right: auto;
  border-collapse: separate;
  border-spacing: 0px;  
  padding: 2px;
}


table.plg-cmdtable tr:nth-child(odd) {
  background-color: #F3F0DD;
}

table.plg-cmdtable th {
  background-color: black;
  color: white;
  font-weight: bold;
  font-size: 0.9em;
/*  border: 1px solid #606060;*/
  padding-right: 0.75ex;
  padding-left: 0.75ex;  
  padding-top: 2px;
  padding-bottom: 2px;
}

table.plg-cmdtable td {
/*  border: 1px solid #A0A0A0;*/
  border-top: 1px solid black;
  padding-right: 0.75ex;
  padding-left: 0.75ex;   
  padding-top: 2px;
  padding-bottom: 2px;  
  vertical-align: top;
}
  

table.plg-cmdtable td.refterm {
  white-space: nowrap;
  min-width: 30%;
}


table.plg-cmdtable th.subhead {
  background-color: #F0F0F0;
}

table.plg-reftable td.multispan {
  background-color: #F0F0F0;
}

table.plg-cmdtable td.code {
  font-family: 'Courier New', 'Roboto mono', monospace;
  min-width: 30%;
}

table.plg-cmdtable td.descp {
  font-size: 0.95em;
}

table.plg-cmdtable td.hrule {
  border-top: 1px solid black;
  height: 0px;
  padding: 0px;
  background-color: white;    
}

table.plg-cmdtable tr.skip {
  display: none;
}


/* Styles for the \begin{valuestable} table. */

table.plg-valuestable {
  border: none;
  background-color: white;  
  font-size: 0.95em;
  border-spacing: 0px;
  border-collapse: separate;  
  margin-left: 32px;
  padding-bottom: 2px;
  margin-top: 2ex;
  margin-bottom: 2ex;
}


table.plg-valuestable th {
  font-size: 0.95em;
  background-color: #f0f0f0;
  color: black;
  font-weight: bold;
  border-bottom: 2px solid black;
  padding-right: 3px;
  padding-left: 3px;  
}

table.plg-valuestable td {
  font-size: 0.95em;  
  border-bottom: 1px solid #888;
  padding-right: 8px;
  padding-left: 8px;  
}

table.plg-valuestable tr:nth-child(odd) {
  background-color: #F0F0F0;
}

table.plg-valuestable tr:nth-child(even) {
  background-color: white;
}

table.plg-valuestable th {
  padding-left: 6px;
  background-color: black;
  color: white;
}

table.plg-valuestable td.value {
  padding-right: 20px;
  white-space: nowrap;
  min-width: 0.75in;
  font-family: 'Courier New', 'Roboto mono', monospace;
}

table.plg-valuestable td.hrule {
  border-color: black;
  padding-top: 0px;
}

table.plg-valuestable tr.skip {
  display: none;
}

table.plg-valuestable tr:has(+ tr.skip) td {
  border-bottom: none;
}


table.plg-valuestable.nozebra tr:nth-child(odd) {
  background-color: white;
}

table.plg-valuestable.nozebra tr:nth-child(even) {
  background-color: white;
}


/* ----------------------------------------------------------
 * Extended table class styles for use with tabular that can
 * producing various looks. 
 * ---------------------------------------------------------- */
 
/* Simple style */
table.simple {
  border-collapse: collapse;
}

table.simple td {
  border: 1px solid black;
}

table.simple th {
  border: 1px solid black;
}

table.small td, 
table.small th {
  font-size: 0.9em;
}

table.tiny td, 
table.tiny th {
  font-size: 0.8em;
}

 
/* Light gray zebra stripes. */
table.plg-tabular.zebra tr:nth-child(odd) {
  background-color: #E0E0E0;
}

table.plg-tabular.zebra tr:nth-child(even) {
  background-color: white;
}

table.plg-tabular.zebra th {
  background-color: black;
  color: white;
}


/* Tan zebra stripes. */
table.plg-tabular.tan-zebra th {
  background-color: black;
  color: white;
}

table.plg-tabular.tan-zebra tr:nth-child(odd) {
  background-color: #F3F0DD; /*#f3f2eb;*/
}

table.plg-tabular.zebra tr:nth-child(even) {
  background-color: white;
}


/* Turn off zebra stripes on tables with stripes by default. */
table.plg-tabular.nozebra th {
  background-color: black;
  color: white;
}

table.plg-tabular.nozebra tr:nth-child(odd) {
  background-color: inherit;
}

table.plg-tabular.nozebra tr:nth-child(even) {
  background-color: inherit;
}



/* Single ruled borders. */
table.plg-tabular.ruled {
  border: 1px solid black;
  border-collapse: collapse;
  border-spacing: 0px;
}

table.plg-tabular.ruled td,
table.plg-tabular.ruled th {
  border: none;
  border-left: 1px solid black;
  border-top: 1px solid black;
  padding-top: 2px;
  padding-bottom: 2px;
}

table.plg-tabular.ruled td:last-child,
table.plg-tabular.ruled th:last-child {
  border-right: 1px solid black;
}

table.plg-tabular.ruled tr:last-child td,
table.plg-tabular.ruled tr:last-child th {
  border-bottom: 1px solid black;
}



/* Double ruled borders. */
table.plg-tabular.dblruled {
  border: 3px double black;
  border-collapse: collapse;
}

table.plg-tabular.dblruled td,
table.plg-tabular.dblruled th {
  border: 3px double black;
  padding-top: 2px;
  padding-bottom: 2px;
}

/* white ruled header style. */
table.plg-tabular.whitebar th {
  border-left: 1px solid white;
  border-right: 1px solid white;
}

table.plg-tabular.whitebar th:first-child {
  border-left: inherit;
}

table.plg-tabular.whitebar th:last-child {
  border-right: inherit;
}

/* Cell spaced style. */
table.plg-tabular.spaced {
  border: none;
  border-spacing: 2px;  
}

table.plg-tabular.spaced td,
table.plg-tabular.spaced th {
  border: none;
  padding-top: 2px;
  padding-bottom: 2px;
}


/* Framed table styles. */
table.plg-tabular.framed {
  border: 1px solid black;
  padding: 3px;
  border-collapse: separate;
}

table.plg-tabular.halfframed {
  padding: 3px;
  border-top: 1px solid black;
  border-bottom: 1px solid black;  
  border-left: none;
  border-right: none;
  border-collapse: separate;
}


