.table-responsive {
  width: -webkit-fill-available;
  width: -moz-available;
  width: fill-available;
  padding: 0px;
  position: relative;
}
.table thead .sorting,
.table thead .sorting_asc,
.table thead .sorting_desc {
  white-space: nowrap;
}
.table thead .sorting:after,
.table thead .sorting_asc:after,
.table thead .sorting_desc:after {
  font-family: var(--font-icon-family) !important;
  display: inline-block !important;
  vertical-align: middle !important;
  margin-left: 4px !important;
  line-height: 1 !important;
  font-size: 1em !important;
}
.table thead .sorting_asc:after {
  content: var(--icon-sorting-asc);
  /* sort-by-attributes */
}
.table thead .sorting_desc:after {
  content: var(--icon-sorting-desc);
  /* sort-by-attributes-alt */
}
.table thead .sorting:after {
  opacity: 0.2;
  content: var(--icon-sorting-default);
  /* sort */
}
.table thead tr .check::before,
.table thead tr .check::after,
.table thead tr .check.sorting::before,
.table thead tr .check.sorting::after,
.table thead tr .check.sorting_asc::before,
.table thead tr .check.sorting_asc::after,
.table thead tr .check.sorting_desc::before,
.table thead tr .check.sorting_desc::after {
  content: none !important;
  display: none !important;
}
.dataTables_wrapper {
  width: -webkit-fill-available;
  width: -moz-available;
  width: fill-available;
  position: relative;
}
.dataTables_wrapper .top {
  width: 100%;
}
.dataTables_wrapper .topInner {
  background: var(--color-table-bg);
  border-top: 1px solid var(--color-line);
  border-left: 1px solid var(--color-line);
  border-right: 1px solid var(--color-line);
  border-radius: var(--border-radius-table) var(--border-radius-table) 0px 0px;
  padding-top: var(--table-padding-laterals);
  padding-left: var(--table-padding-laterals);
  padding-right: var(--table-padding-laterals);
  padding-bottom: var(--table-padding-laterals);
  color: var(--color-text-aux);
  display: flex;
  align-items: center;
}
.dataTables_wrapper .topInner .dataTables_filter {
  width: 40%;
  position: relative;
  max-width: 500px;
  min-width: 380px;
}
.dataTables_wrapper .topInner .dataTables_filter label input {
  padding: 6px 10px 6px 28px;
  width: 100%;
  border-radius: var(--border-radius-form);
  border: 1px solid var(--color-line);
}
.dataTables_wrapper .topInner .dataTables_filter .icon {
  position: absolute;
  top: 7px;
  left: 7px;
  color: var(--color-table-icon);
}
.dataTables_wrapper .topInner .dataTables_length {
  width: 20%;
}
.dataTables_wrapper .topInner .dataTables_length label {
  padding: 0px 15px;
  font-size: 12px;
}
.dataTables_wrapper .topInner .dataTables_length label select {
  width: 50px;
}
.dataTables_wrapper select {
  border: 1px solid;
  border-radius: 5px;
  padding: 5px 4px;
  border-color: var(--color-line);
  margin: 0px 5px;
  color: var(--color-text-aux);
}
.dataTables_wrapper select option {
  color: var(--color-text-aux);
}
.dataTables_wrapper .middle {
  position: relative;
  width: 100%;
}
.dataTables_wrapper .middle .middleInner {
  padding: var(--table-padding-laterals);
  background: var(--color-table-bg);
  border-left: 1px solid var(--color-line);
  border-right: 1px solid var(--color-line);
}
.dataTables_wrapper .bottom {
  position: relative;
  width: 100%;
}
.dataTables_wrapper .bottomInner {
  padding-top: 10px;
  position: relative;
  background: var(--color-table-bg);
  border-bottom: 1px solid var(--color-line);
  border-left: 1px solid var(--color-line);
  border-right: 1px solid var(--color-line);
  border-bottom-left-radius: var(--border-radius-form);
  border-bottom-right-radius: var(--border-radius-form);
  padding-left: var(--table-padding-laterals);
  padding-right: var(--table-padding-laterals);
  padding-bottom: var(--table-padding-laterals);
  display: flex;
  align-items: end;
  justify-content: space-around;
  color: var(--color-text-aux);
}
.dataTables_wrapper .bottomInner .dataTables_info {
  width: 70%;
  padding-top: 0;
  color: var(--color-text-aux);
  font-size: 12px;
  opacity: 0.5;
}
.dataTables_wrapper .dataTables_paginate {
  width: 100%;
  align-items: center;
  justify-content: flex-end;
  margin: 0;
  white-space: nowrap;
  text-align: right;
  display: flex;
}
.dataTables_wrapper .dataTables_paginate.paging_simple {
  gap: 7px;
}
.dataTables_wrapper .dataTables_paginate > a {
  cursor: pointer;
  position: relative;
  margin-top: 0;
  padding: 5px;
  border-radius: 5px;
  border: 1px solid var(--color-line);
}
.dataTables_wrapper .dataTables_paginate span {
  padding: 0px 3px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dataTables_wrapper .dataTables_paginate span > a {
  width: 29px;
  height: 29px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  margin: 0 3px;
}
.dataTables_wrapper .dataTables_paginate span > a:hover {
  background-color: var(--color-line);
}
.table-footer .table-footer-trash {
  margin-top: 5px;
  font-size: 0.85em;
  color: var(--color-table-text-bottom);
  display: flex;
  align-items: center;
  position: relative;
  padding-left: var(--table-padding-laterals);
  padding-right: var(--table-padding-laterals);
  gap: 5px;
}
.table-footer .table-footer-trash a {
  font-size: 1em;
  color: var(--color-text-aux);
  padding-left: 0px;
  padding-right: 0px;
}
.table-wrapper-inner.active {
  background-color: var(--color-line);
  position: absolute;
  max-height: 90vh;
  z-index: 10;
  top: 90px;
  overflow-y: auto;
  width: -webkit-fill-available;
  width: -moz-available;
  width: fill-available;
  display: block;
}
.dropdown-actions {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.dropdown-actions .dropdown-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-btn-table);
}
.dropdown-actions .dropdown-trigger:hover {
  color: var(--color-btn-table-hover);
}
.dropdown-actions .dropdown-trigger.active .icon {
  color: var(--color-table-btn-icon-active);
}
.dropdown-actions .dropdown-actions-menu {
  position: absolute;
  top: calc(100% - 1px);
  right: 0;
  min-width: 100px;
  padding: 6px 6px;
  margin: 0;
  list-style: none;
  border: 1px solid var(--dropdown-line-color);
  border-radius: var(--box-border-radius);
  background: var(--dropdown-bg-white);
  box-shadow: var(--dropdown-shadow);
  z-index: var(--dropdown-z-index);
}
.dropdown-actions .dropdown-actions-menu li {
  width: 100%;
}
.dropdown-actions .dropdown-actions-menu li .dropdown-action-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  font-size: 1em;
  color: var(--dropdown-text-color);
}
.dropdown-actions .dropdown-actions-menu li .dropdown-action-item:hover {
  background: var(--dropdown-bg-hover);
  color: var(--dropdown-text-color);
}
.dropdown-actions .dropdown-actions-menu li .dropdown-action-item:hover .icon {
  color: var(--dropdown-text-color);
}
.dropdown-actions .dropdown-actions-menu li .dropdown-action-item:hover .icon-trash {
  color: var(--color-danger);
}
.dropdown-actions .dropdown-actions-menu li .dropdown-action-item .icon {
  font-size: 1em;
  color: var(--dropdown-text-secondary-color);
}
.state-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.85em;
  line-height: 1;
  font-weight: 600;
  text-transform: capitalize;
  border: 1px solid transparent;
}
.state-pill.state-pill-active {
  background: var(--state-pill-active-bg);
  color: var(--state-pill-active-text);
}
.state-pill.state-pill-inactive {
  background: var(--state-pill-inactive-bg);
  color: var(--state-pill-inactive-text);
}
.state-pill.state-pill-danger {
  background: var(--state-pill-danger-bg);
  color: var(--state-pill-danger-text);
}
.state-pill.state-pill-info {
  background: var(--state-pill-info-bg);
  color: var(--state-pill-info-text);
}
.state-pill.state-pill-warning {
  background: var(--state-pill-warning-bg);
  color: var(--state-pill-warning-text);
}
.table {
  width: -webkit-fill-available;
  width: -moz-available;
  width: fill-available;
  background: var(--color-table-bg);
  border-collapse: collapse !important;
  position: relative;
  box-sizing: border-box;
  border: 0;
  /* display: inline-block; */
}
.table thead {
  padding-top: 5px;
  border-bottom: 1px solid var(--color-line);
  border-collapse: collapse;
}
.table thead tr {
  border-collapse: collapse;
}
.table thead th {
  color: var(--color-table-text-thead);
  font-size: 0.7em;
  text-align: left;
  padding: 8px 5px;
  border-collapse: collapse;
  font-weight: 500;
}
.table thead th.col-id {
  width: 30px;
}
.table thead th.col-actions {
  width: 150px;
}
.table thead th.colActions {
  padding-right: 25px !important;
  text-align: right;
}
.table tbody tr {
  border-collapse: collapse;
}
.table tbody tr:nth-child(even) {
  background-color: var(--color-table-even);
  border-radius: var(--table-border-radius-row);
}
.table tbody tr.even {
  background-color: var(--color-table-even);
  border-radius: var(--table-border-radius-row);
}
.table tbody tr a {
  color: var(--color-text);
}
.table tbody tr td {
  font-size: 0.87em;
  padding: 8px 5px;
  border-collapse: collapse;
}
.table tbody tr td:first-child {
  border-top-left-radius: var(--table-border-radius-row);
  border-bottom-left-radius: var(--table-border-radius-row);
}
.table tbody tr td:last-child {
  border-top-right-radius: var(--table-border-radius-row);
  border-bottom-right-radius: var(--table-border-radius-row);
}
.table .colId {
  padding-left: 5px;
  padding-right: 5px;
}
.table .colState {
  text-align: center;
}
.table .colState .state {
  justify-content: center;
  font-size: 15px;
}
.table .colState .state[state='1'] {
  color: var(--color-success);
}
.table .colState .state[state='1'] .icon-eye-close {
  display: none;
}
.table .colState .state[state='0'] {
  color: var(--color-gray);
}
.table .colState .state[state='0'] .icon-eye-open {
  display: none;
}
.table .btnDelete:hover .icon,
.table .btnDeleteFn:hover .icon {
  color: var(--color-danger);
}
.table .colCatsa[state='1'] {
  opacity: 1;
}
.table .colCatsa[state='0'] {
  opacity: 0.7;
}
.table .colCats .content {
  display: flex;
  flex-wrap: wrap;
}
.table .check {
  width: 10px;
  padding-right: 0px !important;
}
.table .check:after {
  display: none !important;
}
.table .colImg {
  display: flex;
  gap: 10px;
}
.table .colImg img {
  border-radius: var(--table-image-border-radius);
  max-height: 54px;
  border: 1px solid var(--color-table-border-image);
}
.table a {
  display: flex;
  align-items: center;
}
.table a span {
  margin-left: 10px;
}
.table a:hover {
  color: var(--color-btn-table-hover);
}
.table .categorysList {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  line-height: 21px;
}
.table .categorysList a {
  margin-left: 5px;
}
.table .actions .btns,
.table .colActions .btns {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 5px;
  position: relative;
}
.table .actions .btns .hoverDelete:hover .icon,
.table .colActions .btns .hoverDelete:hover .icon {
  color: var(--color-danger) !important;
}
.table .actions a,
.table .colActions a {
  font-size: 16px;
  padding: 10px;
  color: var(--color-btn-table);
}
.table .actions a:hover,
.table .colActions a:hover {
  color: var(--color-btn-table-hover);
}
.table .boxAmount {
  display: flex;
  margin-left: 7px;
  position: relative;
}
.table .boxAmount .inputTable {
  border: 1px solid var(--color-line);
  border-radius: var(--border-radius-btn);
  font-size: 14px;
  padding: 6px 30px 6px 10px;
  width: 50px;
  height: 17px;
}
.table .boxAmount .chevrons {
  display: flex;
  flex-direction: column;
  position: absolute;
  right: 2px;
  top: 2px;
}
.table .boxAmount .chevrons button {
  width: 23px;
  height: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: var(--color-btn-amount);
  border-radius: 4px;
  font-size: 11px;
}
.table .boxAmount .chevrons button:first-child {
  margin-bottom: 1px;
}
.tableForm {
  width: -webkit-fill-available;
  width: -moz-available;
  width: fill-available;
  margin: 0px;
  border-collapse: collapse;
  border: none;
}
.tableForm thead tr {
  background: var(--color-table-form-head-bg);
}
.tableForm .col {
  padding: 5px;
  font-size: 11px;
  border: 1px solid var(--color-table-form-line);
  border-top: none;
  border-right: none;
}
.tableForm .col.colId {
  width: 30px;
  text-align: right;
}
.tableForm tbody .rowInit {
  background-color: var(--color-table-form-row-init);
}
.tableForm tbody .rowInit td {
  padding: 0px;
}
.tableForm tbody .rowInit td.colId {
  padding: 5px;
}
.tableForm tbody .rowInit td.colActions {
  text-align: center;
  padding-left: 5px;
  padding-right: 5px;
}
.tableForm tbody .rowInit td.colActions .btn {
  max-height: 10px;
  max-width: 10px;
  padding-left: 10px;
  padding: 5px 10px;
  justify-content: center;
  font-size: 14px;
}
.tableForm tbody tr td input[type="text"] {
  width: -webkit-fill-available;
  width: -moz-available;
  width: fill-available;
  border: 0;
  font-size: 14px;
  padding: 5px;
  background-color: transparent;
}
.tableForm tbody tr td input[type="text"]:focus {
  background-color: var(--color-table-form-row-init-hover);
}
.tableForm tbody tr td [type="buttom"]:focus {
  outline: 1px solid orange !important;
}
.macroTable {
  width: -webkit-fill-available;
  width: -moz-available;
  width: fill-available;
  max-width: 1000px;
  min-height: 300px;
  height: 60vh;
  overflow: auto;
  position: relative;
}
.macroTable .macroTableHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 15px 0px;
  width: -webkit-fill-available;
  width: -moz-available;
  width: fill-available;
}
.macroTable .macroTableHeader .left {
  display: flex;
  align-items: center;
  gap: 7px;
}
.macroTable .macroTableHeader .left .search {
  position: relative;
  /* border: 1px solid #d1d2d4; */
  background-color: var(--color-table-search-bg);
  border-radius: 5px;
  min-width: 250px;
  padding: 5px;
  gap: 7px;
  display: flex;
  align-items: center;
}
.macroTable .macroTableHeader .left .search .icon {
  font-size: 17px;
  z-index: 1;
}
.macroTable .macroTableHeader .left .search .searchInput {
  z-index: 0;
  font-size: 14px;
  width: 88%;
  border: 0;
  background: transparent;
}
.macroTable .macroTableHeader .left .pages,
.macroTable .macroTableHeader .left .actions {
  padding: 4px 5px 4px 4px;
  border: 1px solid var(--color-table-search-bg);
  border-radius: 5px;
}
.macroTable .macroTableHeader .left .pages select,
.macroTable .macroTableHeader .left .actions select {
  border: 0px;
  background: transparent;
  color: var(--color-text);
}
.macroTable .macroTableHeader .middle {
  display: flex;
  align-items: center;
  gap: 7px;
}
.macroTable .macroTableHeader .right {
  display: flex;
  align-items: center;
  gap: 7px;
}
.macroTable .macroTableHeader .right .actions {
  display: flex;
  align-items: center;
  gap: 7px;
}
.macroTable .macroTableHeader .right .actions .btn {
  border-color: var(--color-table-search-bg);
}
.macroTable .macroTableBody {
  background-color: var(--color-table-body-bg);
  border: 1px solid var(--color-line);
  height: calc(100% - var(--table-macro-head-height-mobile));
  border-radius: var(--table-image-border-radius);
  overflow-x: auto;
}
.macroTable .macroTableBody .macroTableInner {
  border-collapse: collapse;
  border: none;
}
.macroTable .macroTableBody .macroTableInner thead tr th {
  border: 1px solid var(--color-line);
  border-top: 0;
  background-color: var(--color-table-header-row-bg);
  font-size: 12px;
  font-weight: normal;
  padding: 4px 10px;
}
.macroTable .macroTableBody .macroTableInner thead tr th:first-child {
  border-left: 0;
}
.macroTable .macroTableBody .macroTableInner thead tr th.colName {
  min-width: 250px;
}
.macroTable .macroTableBody .macroTableInner thead tr th.colTitle {
  min-width: 250px;
}
.macroTable .macroTableBody .macroTableInner thead tr th.colDescription {
  min-width: 250px;
}
.macroTable .macroTableBody .macroTableInner thead tr th.colSummary {
  min-width: 250px;
}
.macroTable .macroTableBody .macroTableInner thead tr th.colTextarea {
  min-width: 250px;
}
.macroTable .macroTableBody .macroTableInner tbody tr:first-child td {
  padding: 0;
  background: var(--color-table-highlight);
}
.macroTable .macroTableBody .macroTableInner tbody tr td {
  background: var(--color-table-bg);
  border: 1px solid var(--color-line);
  font-size: 12px;
  font-weight: normal;
  padding: 0 5px;
}
.macroTable .macroTableBody .macroTableInner tbody tr td:first-child {
  border-left: 0;
}
.macroTable .macroTableBody .macroTableInner tbody tr td.colCheck {
  position: relative;
}
.macroTable .macroTableBody .macroTableInner tbody tr td.colCheck input {
  width: 16px;
  height: 16px;
}
.macroTable .macroTableBody .macroTableInner tbody tr td.colCheck.active {
  background-color: var(--color-table-check-active-bg);
}
.macroTable .macroTableBody .macroTableInner tbody tr td .tableInput {
  width: -webkit-fill-available;
  width: -moz-available;
  width: fill-available;
  padding-left: 5px;
  border: 0;
  background: transparent;
  font-size: 12px;
  font-weight: normal;
  min-height: var(--table-cell-height);
  display: flex;
  align-items: center;
  box-sizing: border-box;
}
.macroTable .macroTableBody .macroTableInner tbody tr td .tableInput.error {
  border: 1px solid red;
  color: var(--color-text);
}
.macroTable .macroTableBody .macroTableInner tbody tr td .tableInput[type="checkbox"] {
  min-height: 14px;
}
.macroTable .macroTableBody .macroTableInner tbody tr td .tableInput:focus {
  background-color: var(--color-table-input-focus-bg);
}
.macroTable .macroTableBody .macroTableInner tbody tr td.colBadgePoint .out {
  display: flex;
  align-items: center;
  gap: 5px;
}
.macroTable .macroTableBody .macroTableInner tbody tr td.colBadgePoint .out::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--color-table-check-active-bg);
}
.macroTable .macroTableBody .macroTableInner tbody tr td.colBadgePoint .out.high::before {
  background-color: var(--color-danger);
}
.macroTable .macroTableBody .macroTableInner tbody tr td.colBadgePoint .out.normal::before {
  background-color: var(--color-blue);
}
.macroTable .macroTableBody .macroTableInner tbody tr td .boxJson {
  width: -webkit-fill-available;
  width: -moz-available;
  width: fill-available;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  /* flex-direction: column; */
  padding: 0px;
  gap: 5px;
}
.macroTable .macroTableBody .macroTableInner tbody tr td.colTextarea {
  padding: 5px;
}
.macroTable .macroTableBody .macroTableInner tbody tr td.colTextarea .boxTextarea {
  width: -webkit-fill-available;
  width: -moz-available;
  width: fill-available;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  /* flex-direction: column; */
  padding: 0px;
  gap: 5px;
  max-width: 250px;
}
.macroTable .macroTableBody .macroTableInner tbody tr td.colTextarea .btnBoxTableTextarea.active {
  background-color: var(--color-success);
}
.btnActionMobile {
  display: none !important;
}
@media (max-width: 470px) {
  .dataTables_wrapper {
    overflow-x: auto;
  }
  .dataTables_wrapper .top {
    width: -webkit-fill-available;
    max-width: none;
    min-width: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: flex-start;
    background: var(--color-white);
  }
  .dataTables_wrapper .top .dataTables_filter {
    width: -webkit-fill-available;
    width: -moz-available;
    width: fill-available;
    max-width: none;
    min-width: 130px;
  }
  .dataTables_wrapper .top .dataTables_length {
    width: auto;
  }
  .dataTables_wrapper .top .dataTables_length label {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0;
  }
  .dataTables_wrapper .top .dataTables_length label select {
    padding-left: 0;
    padding-right: 0;
    margin: 0;
  }
  .dataTables_wrapper .top .dataTables_length .reg {
    display: none;
  }
  .dataTables_wrapper .top .topActions select {
    width: 125px;
    margin: 0;
  }
  .dataTables_wrapper .top .dataTables_paginate {
    width: auto;
  }
  .dataTables_wrapper .table-responsive {
    position: fixed;
    /* height: 90vh; */
    width: calc(100vw - 75px);
    height: calc(100vh - 170px);
    overflow: auto;
  }
  .dataTables_wrapper .table thead tr[role='row'] {
    position: relative;
  }
  .dataTables_wrapper .table tbody .actions {
    position: relative;
    display: flex;
    justify-content: flex-end;
  }
  .dataTables_wrapper .table tbody .actions .btns {
    display: none;
  }
  .dataTables_wrapper .table tbody .actions .btns.on {
    display: flex;
    position: absolute;
    background: var(--color-white);
    top: -1px;
    right: 45px;
    border: 1px solid var(--color-line);
    border-radius: 6px;
  }
  .dataTables_wrapper .table tbody .actions .btnActionMobile {
    font-size: 18px;
    padding: 5px;
    width: 22px;
    display: inline-flex !important;
  }
  .dataTables_wrapper .table tbody .actions .btnActionMobile[state='1'] .icon {
    rotate: 45deg;
    color: var(--color-danger);
  }
  .dataTables_wrapper .dataTables_info .m1,
  .dataTables_wrapper .dataTables_info .m2 {
    display: none;
  }
}
