/**
 * @file
 * Table Styling
 */


table {
  border: 1px solid;
  border-spacing: 0;
  border-collapse: collapse;
  font-size: inherit;
  font: 100%;
  margin: 10px 0;
  padding: 0;
  width: 100%;
}


table,
thead,
tbody,
tr,
th,
td {
  border-color: #ccc;
}


table.sticky-header {
  z-index: 10;
}


table,
td,
th {
  vertical-align: middle;
}


caption,
th,
td {
  text-align: left;
}


thead th {
  color: #494949;
  font-weight: 700;
}


td,
th {
  border-bottom: 0;
  margin: 0;
  padding: 5px 7px;
}


tbody {
}


tr.even,
tr.odd {
  border-bottom: 0;
}


/* Table row striping with classes and nth-child selector */
th
tr.odd,
tr.info,
tr:nth-child(2n+2) {
  background-color: #f5f5f5;
  background-color: rgba(0, 0, 0, 0.1);
}


tr.even, table.noStripes tr {
  background-color: #fff;
  border-bottom: 1px dotted #AAAAAA;
}


tr.drag {
}


tr.drag-previous {
}


tr.odd td.active {
  background-color: #eee;
}


tr.even td.active {
  background-color: #f7f7f7;
  background-color: rgba(0, 0, 0, 0.2);
}

/*
 * Ministry of Natural Resources
 */
.view-tree-regions table {
  float: left;
}


/*
 * Forum tables
 */

/* Core sets white-space to nowrap, which makes no sense at all */
#forum td.created,
#forum td.posts,
#forum td.topics,
#forum td.last-reply,
#forum td.replies,
#forum td.pager {
  white-space: normal;
}
