@charset "UTF-8";
/* CSS Document */


/* CONTAINER FOR TABLES – Use .tablediv on every table, use width800px if more width is necessary */
.tablediv {   
    margin: 0px -1em;
	overflow-x:auto;
}

/* TABLE-LEVEL CSS */
table {
   table-layout: inherit;
   background-color:  white;
 /* 	border-collapse:collapse;    was separate */
  border-spacing: 0;
  line-height: 1.5;
  font-weight: 300;
  overflow-x: visible; overflow-y: auto;
  white-space:normal;
  margin: 0;
}
table.fixed, table.census {
	table-layout: fixed;
}
table.counties {
  width: 100%;  /* prefer this for county tables (RAF by County) */
}
.width800px {   /* don't know why i have this – check Jeffco county table */
	width: 800px;
}
@media screen and (max-width:800px) {
.width800px {
	width: 100%;
}
.tablediv, .widen {
    margin-left: -2em;
    margin-right: -2.1em;
    width: 120%;
}
}





table tr.border td, table tr.border th {
	border-top:5px solid #9b846d;  
}
table tr.border-bottom td, table tr.border-bottom th {
	border-bottom:5px solid #9b846d;  
}

table.ac tr th:nth-child(1), 
table.ac tr td:nth-child(1), table.ac tr td:nth-child(2), table.right {
	text-align:right;
}
table.ac tr:nth-child(even) td {
	text-align:left;
	white-space: normal;
}

table.ac tr:nth-child(odd) td, table.fixed tr:nth-child(odd), .nowrap  {
white-space: nowrap;
}

table tbody tr:last-child th, table tbody tr:last-child td,
table.ac tbody tr:nth-child(even) td, table.ac tbody tr:nth-child(even) td {
	border-bottom:5px solid #9b846d;  
	padding-bottom: 9px;
}
table.ac thead {
    font-weight: 600;
}
table.ac tbody th {
    font-weight: 800;
}

/* TOTAL & SUBTOTAL ROWS */
tr.total td, tr.total th {
	border-top:5px solid #9b846d;  
	background-color: #ffe5ab91;
}



p.caption + p.caption {
	margin-top:-2rem;
}


table tbody tr:first-child th {
	border-top:none;  
}


/* TEXT ALIGNMENT FOR CENSUS TABLES — ALL EXCEPT LEFT COLUMN are ALIGNED RIGHT */

table.census th, table.census td {
	text-align: right;
}
table.census th:first-child, table.census td:first-child {
	text-align:left;
}





th {
    font-size:1.12rem;
	font-weight: 600;
  text-align: left;
  white-space: nowrap;
}
table.right td, table.right th, th.right, td.right, tr.right {
	  text-align: right;
}
thead tr th, thead th a:link, thead th a:visited {   /* for Beau's law table */
    background-color: #9b846d;
    color: white;
}
th.orange, td.orange {
	background-color: #e38019;
}
th.red, td.red {
	background-color: #b54318;
	color: white;
	font-weight: 600;
}
th.gray, td.gray, tr.gray, tbody.gray tr {
	background-color: #efefef;
}
th.graydk, td.graydk, tr.graydk {
	background-color: #80807f;
}
th.stone, td.stone, tr.stone {
	background-color: #fffdf9;
}
th.white, td.white, tr.white {
	background-color: white;
}
th.yellow, td.yellow, tr.yellow {
	background-color: #ffd970;
	color: black;
}
tr.sand th, tr.sand td {  /* used on county RAL table */
	background-color: #e9dfd4;
}
td.peach, tr.peach, table.hilight-last tbody tr td:last-child, tbody tr.peach { 		/* to highlight column on cruelty tables, also jeffco page. Also for RAL tables. Keep below gray */
	background-color: #ffefc5;
}


th.border-left, td.border-left, table.hilight-last tbody tr td:last-child {  /* to separate statutes on cruelty tables */
	border-left: 3px solid #dbb68f;	
}
tbody.dingbats th a:link, tbody.dingbats th a:visited {   /* reset for AC page table */
	background-color:  white;
    color: black;
}
tbody {
  word-wrap: break-word;
}
th, td {
  padding: 7px 12px 6px;   /* I had set the bottom padding to 6px but that is not enough when bottom of table has thick border – see next item */
  border: 1px solid #d1d0cc;
  vertical-align:baseline;
}
tbody tr:last-child {  /* extra padding for last row */
	padding-bottom: 12px;
}
table.census tbody tr:last-child th, table.census tbody tr:last-child td,
table.counties tbody tr:last-child {  /* census & ral table didn't need as much padding */
	padding-bottom:8px;
}
table.counties thead th:nth-child(3), table.counties tbody th {    /* for counties table on RAL */
  text-align: left;
}
tr th:first-child {
	white-space: nowrap;
}
tr.td-right th, table.td-right td, table th.td-right, 
table.counties tr td:nth-child(1), table.counties tr td:nth-child(2) { /* for counties table on RAL */
	text-align: right;
}

table.census tr td.td-indent, table.census tr td:first-child {
	text-align:left;
}
table.census tr td.td-indent {
	padding-left: 2rem;
	white-space: nowrap;
}
table.census tr td {
	text-align: right;	
}

@media screen and (max-width: 900px) {
table { 
  margin: 0;
	   width: 100%;
}
tr td:last-child, tr th:last-child {
	width: inherit;
}
table.fixed, table.census {
	table-layout: auto;
}
table tr td {
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

}



/* TURNED OFF b/c messing up county page SN tables
tr th:first-child {
    border-left: 0px solid;
} 
tr td:last-child, tr th:last-child {
    border-right: 0px solid;
} */
/* 
tbody.dingbats tr td:first-of-type {   for dogs-at-large by county chart, to make dingbats larger 
    font-size: 1.4rem;
} */
