/*
    Table
*/

table.bs_dtCustomTable,
table.bs_dtCustomTable tr,
table.bs_dtCustomTable td,
table.bs_dtCustomTable th {
  border-style: none;
  border: 0 solid transparent !important;
}

table.dataTable thead .sorting {
  background-image: url('../images/sort_both.png');
  background-size: 20px;
}

table.dataTable thead .sorting_asc {
  background-image: url('../images/sort_asc.png') !important;
  background-size: 17px;
  background-position: right 18px;
}

table.dataTable thead .sorting_desc {
  background-image: url('../images/sort_desc.png') !important;
  background-size: 17px;
  background-position: right 26px;
}

/*
    Rows
*/

.bs_dtCustomTable tr:nth-child(even) {
  background-color: #fff;
}

table.dataTable.stripe tbody tr.odd,
table.dataTable.display tbody tr.odd {
  background: #EAF2F6;
}

.dataTables_scrollBody thead tr {
  visibility: collapse;
}

/*
    Cells
*/

.bs_dtCustomTable th {
  text-align: left;
  color: #fff;
  background-color: #054B78;
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 140%;
}

.bs_dtCustomTable td {
  color: #000;
  border-top: none !important;
  font-weight: 600;
  font-size: 16px;
  line-height: 140%;
}

.bs_dtCustomTable td::first-letter {
  text-transform: uppercase;
}

table.bs_dtCustomTable th,
table.bs_dtCustomTable td {
  padding: 20px !important;
  font-size: 16px !important;
  font-weight: 400;
}

.bs_dtCustomTable .broadcastEdit {
  text-decoration: none !important;
  color: #054B78;
  font-weight: 600;
}

/*
    Pagination
*/

.paginate_button {
  display: inline !important;
  border: none !important;
  background: none !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
  color: black;
}

.dataTables_wrapper .dataTables_paginate .previous,
.dataTables_wrapper .dataTables_paginate .next {
  font-size: 16px !important;
  color: #054B78 !important;
  font-weight: 600;
}

.dataTables_wrapper .dataTables_paginate a.paginate_button.current {
  background: #054B78 !important;
  border-radius: 4px;
  color: #fff !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  color: #666 !important;
}

/*
    Table footer
*/

tfoot {
  display: table-header-group;
}

/*
    Table length
*/
.dataTables_length {
  color: #054B78 !important;
  margin-bottom: 20px;
}

.dataTables_wrapper .dataTables_length select {
  border: 1px solid #054B78 !important;
  margin-left: 10px !important;
  color: #054B78 !important;
}

@media screen and (max-width: 992px) {
  .bs_dtCustomTable {
    border: 0;
  }

  .bs_dtCustomTable thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }

  .bs_dtCustomTable tr {
    border-bottom: 3px solid #ddd;
    display: block;
    margin-bottom: .625em;
  }

  .bs_dtCustomTable td {
    border-bottom: 1px solid #ddd;
    display: block;
    font-size: .8em;
    text-align: right;
  }

  .bs_dtCustomTable td::before {
    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
  }

  .bs_dtCustomTable td:last-child {
    border-bottom: 0;
  }
}

.dataTables_processing {
  top: 20vh !important;
  color: #000 !important;
  font-weight: 600;
  padding-top: 0 !important;
}
