/*
 * SCSS for table
 */

.table {
  background-color: $table_background;
  vertical-align: middle;
  font: $font_size_small;
}

.table > tbody > tr > td,
.table > tbody > tr > th,
.table > tfoot > tr > td,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > thead > tr > th {
  padding: 10px 5px 10px 5px;
  line-height: 1;
  vertical-align: middle;
  border-top: 0px;
}

.upper-complete-row {
  border-top: 2px solid $table_border;
}

.complete-row {
  border-top: 2px solid $table_border;
  border-bottom: 2px solid $table_border;
}

.dateFilter_oldRow {
  background-color: $table_background_filter_old_row;
}

.table > thead {
  background-color: $table_header_background;
  border: 0px;
}

.table > tbody > tr > td.last_col,
.table > thead > tr > th.last_col {
  padding-right: 25px;
  text-align: right;
}

.table > tbody > tr > td.first_col,
.table > thead > tr > th.first_col {
  padding-left: 25px;
  text-align: left;
}

.table > tbody > tr > td.single_row {
  padding-top: 19px;
  padding-bottom: 19px;
  line-height: 1.5;
}

.table > tbody > tr > td.center_col,
.table > thead > tr > th.center_col {
  text-align: center;
}

.table > tbody > tr > td.upper_row {
  padding-top: 15px;
  padding-bottom: 2px;
  line-height: 1.5;
  vertical-align: bottom;
}

.table > tbody > tr > td.lower_row {
  padding-bottom: 15px;
  padding-top: 3px;
  line-height: 1;
  vertical-align: top;
  border-top: 0;
  font-size: 80%;
}

.table > tbody > tr.expandable_row_header {
  background-color: $table_background_expandable_header;
  > .center_col {
    font: $font_size_small;
  }
  > .last_col {
    font: $font_size_smaller;
  }
}

.table > tbody > tr.expandable_row_body {
  width: 100%;
  background-color: $table_background_expandable_body;
}

.table > tbody > tr.expandable_row_body > td > h3 {
  margin-top: 0px;
}

.table > tbody > tr.expandable_row_body > td > table {
  margin-bottom: 0px;
}

.table > tbody > tr > td.word-wrap {
  max-width: 250px;
}