.table {
  $size: 18px;
  margin-bottom: em(30px, $size);
  border-collapse: collapse;
  font-size: $size;

  td,
  th {
    border-width: 0;
    border-style: solid;
    border-color: #f2f2f2;
    font-weight: 400;
    text-align: left;
    vertical-align: top;
  }

  td {
    padding: em(13px, $size) em(12px, $size);
    color: black;
    font-size: $size;
    line-height: 1.5;
  }

  th {
    $size: 14px;
    padding: em(13px, $size) em(12px, $size);
    color: rgba(0, 0, 0, .5);
    font-size: $size;
    line-height: 1.42;
    border-bottom-width: 2px;
  }

  &.border-all {
    td,
    th {
      border-width: 2px;
    }
  }

  &.border-horizontal {
    tr:first-child {
      td {
        border-top-width: 2px;
      }
    }

    td {
      border-bottom-width: 2px;
    }
  }

  &.border-none {
    border-bottom: none;

    td,
    th {
      border-bottom: none;
    }
  }
}

@media screen and (max-width: $screen-xs-max) {
  .table,
  .table > td {
    font-size: 15px;
  }
}
