.financial-sheet{ &--receivable-aging-summary{ .financial-sheet__table{ .bigcapital-datatable{ .tbody, .thead{ .tr .td.customer_name ~ .td, .tr .th.customer_name ~ .th{ text-align: right; } } .tbody{ .tr:not(.no-results) { .td{ border-bottom: 0; padding-top: 0.4rem; padding-bottom: 0.4rem; } &.row-type--total{ font-weight: 500; .td{ border-top: 1px solid #333; border-bottom: 3px double #333; } } &:not(:first-child) .td{ border-top: 1px solid transparent; } } } } } } }