/* vim: set tabstop=2 shiftwidth=2 expandtab smarttab: */

table {
  width: 100%;
  margin: 10px auto;
  border-collapse: collapse;
}

table.gf-main-table {
  margin: -12px -16px 0;
  width: calc(100% + 32px);
}

th, td {
  text-align: left;
  padding: 6px 12px;
  border-bottom: 1px solid;
}

tfoot th, tfoot td {
  border-bottom-style: none;
  vertical-align: top;
}

th {
  text-align: center;
}

tr.double-row-top > td {
  border-bottom-style: none;
}
tr.double-row-middle > td {
  border-top-style: none;
  border-bottom-style: none;
  padding-left: 20px;
}
tr.double-row-bottom > td {
  border-top-style: none;
  padding-left: 20px;
}

table.noborder th, table.noborder td {
  border-bottom-style: none;
}

th.bordered, td.bordered {
  border-style: solid !important;
}

table.little, table.little table {
  margin: 0;
  width: auto;
}

table.little th {
  text-align: left;
}

table.little th, table.little td {
  padding: 1px;
  border-bottom-style: none;
}

/* large screens (desktop) */
@media print, screen and (min-width: 700px) {
  table {
    margin: 10px auto;
    width: auto;
  }

  table:not(.little) {
    min-width: 435px;
  }
}
