/**
 * @file
 * Styles for Arches's tables.
 */

table {
  border: 0;
  border-spacing: 0;
  font-family: "merriweather Sans", Tahoma, sans-serif;
  color: #554f47;
  font-size: 1em;
  margin: 10px auto;
  width: 100%;
  border-top: 1px solid #d6d2c4;
}
table table {
  font-size: 1em;
}
tr {
  padding: 0.1em 0.6em;
  background: none;
  border-bottom: 1px solid #d6d2c4;
}
thead > tr {
  border-bottom: 1px solid #d6d2c4;
}
tr.odd {
  background: none;
}
table tr th {
  background: none;
  color: #554f47;
  vertical-align: top;
  border-bottom: 1px solid #d6d2c4;
  font-weight: bold;
  font-size: 1.1em;
  padding: 10px;
}
table tr th,
table tr th a,
table tr th a:hover,
table tr th a:focus {
  color: #554f47;
  font-weight: bold;
}
table tbody tr th {
  vertical-align: top;
}
tr td,
tr th {
  padding: 10px;
  text-align: left;
  vertical-align: top;
  width: 20%;
}
.tabledrag-handle:hover,
.tabledrag-handle {
  border: none;
}
[dir="rtl"] tr td,
[dir="rtl"] tr th {
  text-align: right;
}

/**
 * Responsive tables.
 */
@media screen and (max-width: 37.5em) { /* 600px */
  th.priority-low,
  td.priority-low,
  th.priority-medium,
  td.priority-medium {
    display: none;
  }
}
@media screen and (max-width: 60em) { /* 920px */
  th.priority-low,
  td.priority-low {
    display: none;
  }
}

/** Basic Table With No Styling **/

table.table-plain {
  border: 0;
}
table.table-plain tr {
  border: 0;
}
table.table-plain tr td {
  padding: 1em;
}

/** 2-column table, equal width columns **/

table.twocol {
  max-width: 100%
}
table.twocol tr {
}
table.twocol tr td {
  max-width: 50%;
}
