
.o_list_view .o_list_table {
  border-collapse: collapse;
}

.o_list_view .o_list_table .o_column_sortable:not(:empty)::after {
  position: absolute;
}

.o_list_view .o_list_table > thead > tr > th.o_column_sortable:not(:empty) {
  padding-right: 14px;
}

.o_list_view .o_list_table > thead > tr > th.o_column_sortable:not(:empty):last-child {
  padding-right: 30px !important;
}

.o_list_view .o_list_table > thead > tr > :empty, .o_list_view .o_list_table > tbody > tr > :empty, .o_list_view .o_list_table > tfoot > tr > :empty {
  padding: 0;
}

.o_list_view .o_list_table > thead > tr > :empty::after, .o_list_view .o_list_table > tbody > tr > :empty::after, .o_list_view .o_list_table > tfoot > tr > :empty::after {
  display: none;
}

.o_list_view .o_list_table > thead > tr > *, .o_list_view .o_list_table > tfoot > tr > * {
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
}

.o_list_view .o_list_table > thead {
  background-color: white;
  border: none;
}

.o_list_view .o_list_table > thead > tr:first-child > th {
  border: none;
}

.o_list_view .o_list_table > tfoot {
  border-bottom: none;
  border-top: none;
}

.o_list_view .o_list_table tbody:first-of-type > tr:first-child:not(.o_group_header) {
  box-shadow: inset 0px 5px 10px -4px rgba(0, 0, 0, 0.1);
}

.o_list_view .o_list_table .o_progressbar_cell .o_progressbar {
  display: table-row;
}

.o_list_view .o_list_table .o_progressbar_cell .o_progressbar > div {
  width: 100%;
  display: table-cell;
}

.o_list_view .o_list_table .o_progressbar_cell .o_progressbar .o_progressbar_value {
  width: 45px;
  min-width: 45px;
}

.o_list_view .o_list_table.o_list_table_grouped > tbody > tr.o_group_header {
  background-color: rgba(233, 236, 239, 0.9);
}

.o_list_view .o_list_table.o_list_table_grouped > tbody > tr.o_group_header.o_group_has_content {
  color: #6c757d;
}

.o_list_view .o_list_table.o_list_table_grouped > tbody > tr.o_group_header.o_group_has_content:hover, .o_list_view .o_list_table.o_list_table_grouped > tbody > tr.o_group_header.o_group_has_content:focus, .o_list_view .o_list_table.o_list_table_grouped > tbody > tr.o_group_header.o_group_has_content.focus {
  color: #00A09D;
}

.o_list_view .o_list_table.o_list_table_grouped > tbody > tr.o_group_header.o_group_has_content.o_group_open {
  font-weight: bold;
  color: #212529;
}

.o_list_view .o_list_table.o_list_table_grouped > tbody > tr.o_group_header.o_group_has_content.o_group_open:hover, .o_list_view .o_list_table.o_list_table_grouped > tbody > tr.o_group_header.o_group_has_content.o_group_open:focus, .o_list_view .o_list_table.o_list_table_grouped > tbody > tr.o_group_header.o_group_has_content.o_group_open.focus {
  color: #00A09D;
}

.o_list_view .o_list_table.o_list_table_grouped > tbody > tr.o_group_header:focus-within, .o_list_view .o_list_table.o_list_table_grouped > tbody > tr.o_group_header.o_group_has_content:focus-within {
  color: #00A09D;
}

.o_list_view .o_list_table .o_data_row:not(.o_selected_row) > .o_data_cell:not(.o_readonly_modifier):not(:last-child) {
  border-right: 1px solid transparent;
}

.o_list_view .o_list_table .o_data_row.o_selected_row > .o_data_cell {
  border-bottom: 1px solid #dee2e6;
}

.o_list_view .o_list_table .o_data_row.o_selected_row > .o_data_cell.o_required_modifier:not(.o_readonly_modifier) {
  border-bottom: 1px solid black;
}

.o_list_view .o_list_table .o_data_row.o_selected_row > .o_data_cell.o_required_modifier:not(.o_readonly_modifier).o_invalid_cell {
  border-bottom: 1px solid red;
}

.o_list_view .o_list_table .o_data_row.o_selected_row > .o_data_cell:not(.o_readonly_modifier):not(:last-child) {
  border-right: 1px solid #dee2e6;
}

.o_list_view .o_list_table .o_data_row.o_selected_row > .o_list_record_remove {
  border-bottom: 1px solid #dee2e6;
}

.o_content > .o_list_view > .table-responsive > .table > thead > tr > :not(:empty) {
  padding: 12px 4px;
}

.o_content > .o_list_view > .table-responsive > .table > tbody > tr:not(.o_list_table_grouped) > td {
  padding: 5px 4px;
}

.o_content > .o_list_view > .table-responsive > .table > tfoot > tr > :not(:empty) {
  padding: 10px 4px;
}

.o_content > .o_list_view > .table-responsive > .table > thead > tr > th.o_column_sortable:not(:empty) {
  padding-right: 13px;
}

.o_content > .o_list_view > .table-responsive > .table > thead > tr > th.o_column_sortable:not(:empty):last-child {
  padding-right: 29px !important;
}

.o_content > .o_list_view > .table-responsive > .table > thead > tr > *:first-child, .o_content > .o_list_view > .table-responsive > .table > tbody > tr > *:first-child, .o_content > .o_list_view > .table-responsive > .table > tfoot > tr > *:first-child {
  padding-left: 16px !important;
}

.o_content > .o_list_view > .table-responsive > .table > thead > tr > *:last-child, .o_content > .o_list_view > .table-responsive > .table > tbody > tr > *:last-child, .o_content > .o_list_view > .table-responsive > .table > tfoot > tr > *:last-child {
  padding-right: 16px !important;
}

.o_content > .o_list_view > .table-responsive > .table > thead > tr > *.o_list_record_selector, .o_content > .o_list_view > .table-responsive > .table > tbody > tr > *.o_list_record_selector, .o_content > .o_list_view > .table-responsive > .table > tfoot > tr > *.o_list_record_selector {
  padding-right: 5px !important;
}

@media (min-width: 1200px) {
  .o_content > .o_list_view > .table-responsive > .table:not(.o_list_table_grouped) > thead > tr > :not(:empty) {
    padding: 13px 4px;
  }
  .o_content > .o_list_view > .table-responsive > .table:not(.o_list_table_grouped) > tbody > tr:not(.o_list_table_grouped) > td {
    padding: 6px 4px;
  }
  .o_content > .o_list_view > .table-responsive > .table:not(.o_list_table_grouped) > tfoot > tr > :not(:empty) {
    padding: 11px 4px;
  }
  .o_content > .o_list_view > .table-responsive > .table:not(.o_list_table_grouped) > thead > tr > th.o_column_sortable:not(:empty) {
    padding-right: 14px;
  }
  .o_content > .o_list_view > .table-responsive > .table:not(.o_list_table_grouped) > thead > tr > th.o_column_sortable:not(:empty):last-child {
    padding-right: 30px !important;
  }
  .o_content > .o_list_view > .table-responsive > .table:not(.o_list_table_grouped) > thead > tr > *:first-child, .o_content > .o_list_view > .table-responsive > .table:not(.o_list_table_grouped) > tbody > tr > *:first-child, .o_content > .o_list_view > .table-responsive > .table:not(.o_list_table_grouped) > tfoot > tr > *:first-child {
    padding-left: 16px !important;
  }
  .o_content > .o_list_view > .table-responsive > .table:not(.o_list_table_grouped) > thead > tr > *:last-child, .o_content > .o_list_view > .table-responsive > .table:not(.o_list_table_grouped) > tbody > tr > *:last-child, .o_content > .o_list_view > .table-responsive > .table:not(.o_list_table_grouped) > tfoot > tr > *:last-child {
    padding-right: 16px !important;
  }
  .o_content > .o_list_view > .table-responsive > .table:not(.o_list_table_grouped) > thead > tr > *.o_list_record_selector, .o_content > .o_list_view > .table-responsive > .table:not(.o_list_table_grouped) > tbody > tr > *.o_list_record_selector, .o_content > .o_list_view > .table-responsive > .table:not(.o_list_table_grouped) > tfoot > tr > *.o_list_record_selector {
    padding-right: 5px !important;
  }
}

.o_content > .o_list_view > .table-responsive > .table .o_optional_columns_dropdown_toggle {
  padding: 8px 10px;
}

@media (max-width: 767.98px) {
  .o_view_controller > .o_content > .o_list_view > .table-responsive {
    overflow: auto;
  }
  .o_list_view.o_renderer_selection_banner th.o_list_record_selector > .custom-checkbox {
    z-index: 2;
  }
  .o_list_view.o_renderer_selection_banner .o_list_selection_box {
    align-items: center;
    display: -webkit-box; display: -webkit-flex; display: flex;
    justify-content: center;
    position: absolute;
    padding: 13px 4px;
    z-index: 2;
  }
}

