// Footer tools (aspx only, extra footer div)
// --------------------------------
.grid .footerTools,
.legacy-grid-wrapper .footerTools{
  padding: 10px 15px;
  background: @color-background-default;
  border-bottom: 1px solid @color-border-grid;
  border-right: 1px solid @color-border-grid;
  border-left: 1px solid @color-border-grid;
  border-radius: 0 0 @border-radius-default @border-radius-default;
}

//Edge case: In aspx, we sometimes have a grid within a form(built with table), this applies the float: left incorrectly to the grid
table.form tr td table.data-grid tr td {
  float: none;
  padding: 5px 15px;
  box-sizing: border-box;
  vertical-align: middle;
}

table.form table.data-grid th {
  padding: 5px 15px;
  box-sizing: border-box;
  vertical-align: middle;
}

.financial .grid .splitRow td {
    min-height: 88px;
    line-height: 16px;
    padding: 15px 0;
    border-left: none;
    border-bottom: 1px solid @color-border-grid;
    background-color: @color-specialize-filter-bg;
    box-shadow: inset 0 10px 6px -6px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;

    &:first-child {
        background-color: @color-specialize-filter-bg;
        border-left: 1px solid @color-border-grid;
    }

    &:last-child {
        border-right: 1px solid @color-border-grid;
    }
}

.financial .grid .splitRow.last td {

    &:first-child {
        border-bottom-left-radius: @border-radius-default;
    }

    &:last-child {
        border-bottom-right-radius: @border-radius-default;
    }
}

.financial .grid .splitRow td.currency {
    text-align: right;
    padding-right: 14px;
}

.grid tbody tr td.checkbox-wrapper {
    text-align: center;
    padding-left: 5px;
}

.simple-table-footer .footerTools.footerTools--wrap-by-div {
    border: 1px solid @color-border-grid;
    border-top: 0;
    border-radius: 0 0 @border-radius-default @border-radius-default;
    background: @theme-grey1;
}