/**
 * Royal Mail 2011/12  Generic Styles
 * Tables
 */

/* Table Styling */
table {
  width: 100%;
  border: 0;
  border-spacing: 0;
  border-collapse: collapse;
}

.form-item table {
  width: 99%;
}

table caption {
  font: 400 160% ChevinProMedium, Arial, Helvetica, sans-serif;
  margin-bottom: 14px;
  text-align: left;
}

.caption-less {
  margin-top: 39px;
}

.table-tab-div  .caption-less {
  margin-top: 0;
}

/* Table Headers */
thead th {
  background-color: #333;
  color: #fff;
  font-size: 135%;
  font-weight: 700;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #fff;
}

tbody th {
  color: #000;
  font-size: 100%;
  font-weight: 100;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #ccc;
}

thead .sub-heading th,
thead th.sub-heading,
tbody tr.sub-heading th,
tbody th.row-heading {
  background-color: #ccc;
  color: #000;
  font-size: 100%;
  font-weight: 700;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #fff;
}

th {
  padding: 12px 10px;
}

th .small {
  padding: 7px 0 0 0;
  color: #fff;
  font-size: 74%;
}

th a, th a:hover {
  color: #fff;
}

thead .sub-heading th a, thead .sub-heading th a:hover,
thead th.sub-heading a, thead th.sub-heading a:hover,
tbody tr.sub-heading th a, tbody tr.sub-heading th a:hover,
tbody th.row-heading a, tbody th.row-heading a:hover {
  color: #000;
}

td {
  font-size: 105%;
  padding: 13px 0 14px 10px;
}

td.last {
  padding: 13px 10px 14px 10px;
}

tr.border-less td {
  padding: 13px 0 0 10px;
}

tr.border-less td.last {
  padding: 13px 10px 0;
}

tr.table-img td {
  padding: 0 0 1px;
}

/*Hoverables*/
.node-bigmachinestable table td a,
td a,
tbody th,
tbody th A {
  color: #000;
  text-decoration: none;
}

tbody tr:hover A, td a:hover {
  color: #c00;
  text-decoration: underline;
}

td a.icon {
  position: relative;
  top: 2px;
}

td p img.left {
  margin: 0 10px 0 0;
}

td p a {
  font-weight: 700;
  text-decoration: none;
}

tbody tr:hover {
  background: #fff;
}

tbody tr.border-less:hover {
  background: none;
}

tbody tr.border-less:hover A {
  color: #000;
  text-decoration: none;
}

/* Table Footers */
tfoot {
  color: #666;
}

tfoot a {
  color: #c00;
  font-weight: 700;
  background: transparent url(../img/icon/arrow-black-right-4-6.png) no-repeat right center;
  padding-right: 8px;
}

tfoot a:hover {
  color: #822;
}

tfoot td {
  border-bottom: 0;
  padding: 17px 0;
}

table tfoot td a {
  text-decoration: none;
}

tfoot tr.border td {
  padding: 4px 8px 15px;
}

/* Table Rows */
tr.sub-heading td {
  font-weight: 700;
  background-color: #ccc;
  border-bottom: 1px solid #fff;
}

/* Table Cells */
td {
  border-bottom: 1px solid #ccc;
  vertical-align: top;
}

tfoot tr.border td {
  border-bottom: 1px solid #ccc;
}

tr.border-less td {
  border: none;
}

td.row-heading,
td.row-heading2Col {
  font-weight: 700;
  background-color: #ccc;
  border-bottom: 1px solid #fff;
}

td.row-heading2Col {
  padding-right: 25px;
}

/* Icon elements */
img.icon {
  position: relative;
  top: 3px;
}

tr td a.primary {
  font-size: 110%;
  color: #fff;
}

tr:hover td a.primary {
  text-decoration: none;
}

td a:hover.primary, tr:hover a.primary {
  color: #fff;
  text-decoration: none;
}

.table-tab-div caption {
  display: none;
}

/* Table within table */

table table {
  border: 0;
  border-spacing: 0;
  border-collapse: separate;
}

table table.caption-less {
  margin-top: 0;
}

table table tbody tr:hover a {
  color: #000;
  text-decoration: none;
}

table table tbody tr a:hover, table table tbody tr a:focus {
  color: #c00;
  text-decoration: underline;
}

table table tbody td {
  border: none;
}

.view-notifications-subscriptions thead {
  display: none;
}