body {
  font-family: var(--global-default-paragraph-paragraph-font-family);
}

.LP .table>:not(caption)>*>* {
  padding: 0 !important;
}

label {
  color: #59636e;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.form-control, .form-select {
  border-color: #ced4da;
  font-size: 14px;
}

button, a {
  cursor: pointer;
  border: none;
  text-decoration: none !important;
}

.disabled, *:disabled {
  pointer-events: none;
  opacity: 0.5;
}

tbody td.center-body-only {
  text-align: center !important;
}

thead th.center-body-only {
  text-align: left !important;
}

.input-search {
  position: relative;
}

.input-search .form-control {
  padding-right: 24px;
  border-radius: .25rem !important;
}

.input-search .btn{
  position: absolute;
  right: 4px;
  top: 0;
  background-color: none;
  border: none;
  height: 100%;
  z-index: 99;
  pointer-events: none;
  background: url('/assets/img/search.svg') no-repeat center center;
  background-size: 15px;
}

.table-filter {
  display: grid;
  width: 100%;
  gap: 12px;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}

.table {
  font-size: 13px;
  line-height: 1.4em;
  width: 100%;
  margin-bottom: 1rem;
  color: #212529;
  vertical-align: top;
  border-color: #dee2e6;
}

.table-striped>tbody>tr:nth-of-type(odd) {
  color: #212529;
}

.table small {
  color: #818b98;
}

div.dt-container div.dt-layout-full > *:only-child {
    margin-left: auto;
    margin-right: auto;
}

table.dataTable td {
  box-shadow: none !important;
}

.table.dataTable thead tr th {
  background: #e7e9eb;
  font-weight: normal;
  border-bottom: none !important;
  padding: 16px 10px;
}

.table.dataTable tbody tr:nth-of-type(even) td {
  background: #f6f8fa;
}

div.dt-container.dt-empty-footer tbody > tr:last-child > * {
  border-bottom-color: #e7e9eb;
}

.table>:not(:last-child)>:last-child>* {
  border-color: #f0f3f5;
}

table.dataTable.row-border > tbody > tr > *,
table.dataTable.display > tbody > tr > * {
  border-color: #e6e8ea;
}

div.dt-container div.dt-layout-row div.dt-layout-cell.dt-layout-end {
  margin: 16px auto;
}

div.dt-container div.dt-layout-row {
  margin: 0;
}

.dt-paging {
  font-size: 14px;
}

div.dt-container .dt-paging .dt-paging-button {
  padding: 8px;
}

.select-placeholder {
  color: #888 !important; 
}

table.dataTable thead > tr > th {
  position: relative;
  padding-right: 20px !important;
}

table.dataTable thead > tr > th span.dt-column-order {
  position: absolute !important;
  right: 0;
  opacity: 0.3;
}

.dt-ordering-asc, .dt-ordering-desc {
  display: block !important;
}

.dt-ordering-asc, .dt-ordering-desc {
  display: table-cell !important;
}

.lines-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.table-responsive {
  max-width: calc(100vw - 32px);
}

@media (max-width: 1200px) {
  .table-filter {
    display: flex;
    flex-wrap: wrap;
  }

  .table-filter > * {
    width: calc((100% - 24px)/3);
  }

  .table-filter > *:last-child {
    flex: 1;
    width: auto;
  }
}

@media (max-width: 576px) {
  .bottom-links {
    flex-direction: column;
  }

  .table-filter {
    flex-direction: column;
  }

  .table-filter > * {
    width: 100%;
  }
}
