.badge {
  display: inline-block;
  padding: 0.25em 0.4em;
  font-size: 75%;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.375rem;
  background-color: transparent;
}

/* Badges de éxito */
.badge-success {
  color: #fff !important;
  background-color: #28a745 !important;
}

.badge-danger {
  color: #fff !important;
  background-color: #dc3545 !important;
}
.badge-warning {
  color: #000 !important;
  background-color: #ffc107 !important;
}

.badge-info {
  color: #000 !important;
  background-color: #17a2b8 !important;
}

.badge-primary {
  color: #fff !important;
  background-color: #007bff !important;
}

.badge-secondary {
  color: #fff !important;
  background-color: #6c757d !important;
}

.badge-light {
  color: #000 !important;
  background-color: #f8f9fa !important;
}

.badge-dark {
  color: #fff !important;
  background-color: #343a40 !important;
}
.a-ds {
  color: #0061f2;
  text-decoration: none;
  cursor: pointer;
}

.overflowing_table {
  overflow-y: hidden;
  overflow-x: auto;
}

span.movement_green {
  color: green;
}

span.movement_blue {
  color: #00f;
}

span.movement_orange {
  color: orange;
}

span.movement_red {
  color: red;
  font-weight: 700;
}

span.movement {
  color: #020202;
  font-weight: 700;
}

.pagination_info {
  text-align: center;
  color: gray;
  padding: 4px;
}

.open-status {
  font-weight: 600;
  color: #ff9800;
}

.closed-status {
  color: green;
  font-weight: 600;
}

.wait-status {
  color: #00f;
  font-weight: 600;
}

.canceled-status {
  font-weight: 600;
  color: red;
}
.clickable-white:hover {
  color: #000;
  -webkit-text-decoration: underline solid !important;
  text-decoration: underline solid !important;
  text-underline-position: under !important;
}

.text-white {
  color: #fff !important;
}

.text-black {
  color: #000 !important;
}
.clickable:hover {
  cursor: pointer;
  -webkit-text-decoration: underline solid !important;
  text-decoration: underline solid !important;
  color: #000;
  text-underline-position: under !important;
}

.clickable-white {
  cursor: pointer;
  -webkit-text-decoration: underline solid !important;
  text-decoration: underline solid !important;
  color: #fff;
  text-underline-position: under !important;
}

.t-option,
.th-buton {
  width: 100px;
}

.clickable {
  cursor: pointer;
  -webkit-text-decoration: underline solid !important;
  text-decoration: underline solid !important;
  color: #00f;
  text-underline-position: under !important;
}

.pointer {
  cursor: pointer;
}

.btn-xs {
  padding: 1px;
  font-size: 13px;
  line-height: 1;
  border-radius: 2px;
  height: 25px;
  width: 25px;
  margin-right: 5px;
}

.th-buton {
  min-width: 80px;
}

.columnSelectorWrapper {
  position: relative;
  margin: 0;
  display: inline-block;
}

.columnSelector,
.hidden {
  display: none;
}

.columnSelectorButton {
  background: #99bfe6;
  border: #888 1px solid;
  color: #111;
  border-radius: 5px;
  padding: 5px;
}

#colSelect1:checked + label {
  background: #5797d7;
  border-color: #555;
}

#colSelect1:checked ~ #columnSelector {
  display: block;
}

.columnSelector {
  width: 250px;
  position: absolute;
  top: 38px;
  padding: 10px;
  background: #fff;
  border: #99bfe6 1px solid;
  border-radius: 5px;
  z-index: 5;
}

.columnSelectorScroll {
  overflow: auto;
  max-height: 200px;
}

.columnSelector label {
  display: block;
}

.columnSelector label:nth-child(1) {
  border-bottom: #99bfe6 solid 1px;
  margin-bottom: 4px;
}

.columnSelectorScroll label:nth-child(1) {
  border-bottom: none !important;
}

.columnSelector input {
  margin-right: 5px;
}

.columnSelector .disabled {
  color: #ddd;
}

#popover-target label {
  margin: 0 5px;
  display: block;
}

#popover-target input {
  margin-right: 5px;
}

#popover-target .disabled {
  color: #ddd;
}

.text-center {
  text-align: center !important;
}

.caption-table {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
}

.mb-0 {
  margin-bottom: 0;
}

.btn-download {
  margin-top: 2px !important;
  margin-bottom: -5px !important;
}

.invoice_header th {
  padding: 8px;
  text-align: center;
  font-size: 1.2em;
  font-weight: 500;
}

.td {
  font-weight: bolder !important;
  text-transform: uppercase;
}

.th {
  color: #212529 !important;
  font-size: 1.05em !important;
}

td {
  font-size: 1em !important;
}
.tan_tabla {
  min-height: 670px;
}

.text-right {
  text-align: right;
}

.tablesorter-blue {
  width: 100%;
  margin: 10px 0 15px;
  text-align: left;
  border-spacing: 0;
  border: #cdcdcd 1px solid;
  border-width: 1px 0 0 1px;
}

.tablesorter-blue th,
.tablesorter-blue td {
  border-width: 0 1px 1px 0;
}
.tablesorter-blue th,
.tablesorter-blue thead td {
  font: 12px/18px Arial, Sans-serif;
  font-weight: 700;
  border-collapse: collapse;
  padding: 4px;
  text-shadow: 0 1px 0 rgba(204, 204, 204, 0.7);
}

.tablesorter-blue tbody td,
.tablesorter-blue tfoot th,
.tablesorter-blue tfoot td {
  padding: 4px;
  vertical-align: top;
}
.tablesorter-blue .header,
.tablesorter-blue .tablesorter-header {
  background-image: url(data:image/gif;base64,R0lGODlhFQAJAIAAACMtMP///yH5BAEAAAEALAAAAAAVAAkAAAIXjI+AywnaYnhUMoqt3gZXPmVg94yJVQAAOw==);
  background-repeat: no-repeat;
  background-position: center right;
  padding: 4px 18px 4px 4px;
  white-space: normal;
  cursor: pointer;
}

.tablesorter-blue .headerSortUp,
.tablesorter-blue .tablesorter-headerSortUp,
.tablesorter-blue .tablesorter-headerAsc {
  background-color: #9fbfdf;
  background-image: url(data:image/gif;base64,R0lGODlhFQAEAIAAACMtMP///yH5BAEAAAEALAAAAAAVAAQAAAINjI8Bya2wnINUMopZAQA7);
}
.tablesorter-blue .headerSortDown,
.tablesorter-blue .tablesorter-headerSortDown,
.tablesorter-blue .tablesorter-headerDesc {
  background-color: #8cb3d9;
  background-image: url(data:image/gif;base64,R0lGODlhFQAEAIAAACMtMP///yH5BAEAAAEALAAAAAAVAAQAAAINjB+gC+jP2ptn0WskLQA7);
}

.tablesorter-blue thead .sorter-false {
  background-image: none;
  cursor: default;
  padding: 4px;
}
.tablesorter-blue tfoot .tablesorter-headerSortUp,
.tablesorter-blue tfoot .tablesorter-headerSortDown,
.tablesorter-blue tfoot .tablesorter-headerAsc,
.tablesorter-blue tfoot .tablesorter-headerDesc {
  background-image: none;
}

.tablesorter-blue td {
  padding: 4px;
  vertical-align: top;
}

.tablesorter-blue tbody > tr.hover > td,
.tablesorter-blue tbody > tr:hover > td,
.tablesorter-blue tbody > tr:hover + tr.tablesorter-childRow > td,
.tablesorter-blue
  tbody
  > tr:hover
  + tr.tablesorter-childRow
  + tr.tablesorter-childRow
  > td,
.tablesorter-blue tbody > tr.even.hover > td,
.tablesorter-blue tbody > tr.even:hover > td,
.tablesorter-blue tbody > tr.even:hover + tr.tablesorter-childRow > td,
.tablesorter-blue
  tbody
  > tr.even:hover
  + tr.tablesorter-childRow
  + tr.tablesorter-childRow
  > td {
  background-color: #d9d9d9;
  color: #000;
}
.tablesorter-blue tbody > tr.odd.hover > td,
.tablesorter-blue tbody > tr.odd:hover > td,
.tablesorter-blue tbody > tr.odd:hover + tr.tablesorter-childRow > td,
.tablesorter-blue
  tbody
  > tr.odd:hover
  + tr.tablesorter-childRow
  + tr.tablesorter-childRow
  > td {
  background-color: #bfbfbf;
  color: #000;
}
.tablesorter-blue .tablesorter-processing {
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-image: url(data:image/gif;base64,R0lGODlhFAAUAKEAAO7u7lpaWgAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQBCgACACwAAAAAFAAUAAACQZRvoIDtu1wLQUAlqKTVxqwhXIiBnDg6Y4eyx4lKW5XK7wrLeK3vbq8J2W4T4e1nMhpWrZCTt3xKZ8kgsggdJmUFACH5BAEKAAIALAcAAAALAAcAAAIUVB6ii7jajgCAuUmtovxtXnmdUAAAIfkEAQoAAgAsDQACAAcACwAAAhRUIpmHy/3gUVQAQO9NetuugCFWAAAh+QQBCgACACwNAAcABwALAAACE5QVcZjKbVo6ck2AF95m5/6BSwEAIfkEAQoAAgAsBwANAAsABwAAAhOUH3kr6QaAcSrGWe1VQl+mMUIBACH5BAEKAAIALAIADQALAAcAAAIUlICmh7ncTAgqijkruDiv7n2YUAAAIfkEAQoAAgAsAAAHAAcACwAAAhQUIGmHyedehIoqFXLKfPOAaZdWAAAh+QQFCgACACwAAAIABwALAAACFJQFcJiXb15zLYRl7cla8OtlGGgUADs=) !important;
}
.tablesorter-blue tbody tr.odd > td {
  background-color: #ebf2fa;
}
.tablesorter-blue tbody tr.even > td {
  background-color: #fff;
}

.tablesorter-blue td.primary,
.tablesorter-blue tr.odd td.primary {
  background-color: #99b3e6;
}
.tablesorter-blue tr.even td.primary,
.tablesorter-blue td.secondary,
.tablesorter-blue tr.odd td.secondary {
  background-color: #c2d1f0;
}

.tablesorter-blue tr.even td.secondary,
.tablesorter-blue td.tertiary,
.tablesorter-blue tr.odd td.tertiary {
  background-color: #d6e0f5;
}
.tablesorter-blue tr.even td.tertiary {
  background-color: #ebf0fa;
}

caption {
  background-color: #fff;
}
.tablesorter-blue .tablesorter-filter-row {
  background-color: transparent;
}

.tablesorter-blue .tablesorter-filter-row td {
  line-height: normal;
  text-align: center;
  transition: line-height 0.1s ease;
}
.tablesorter-blue .tablesorter-filter-row .disabled {
  opacity: 0.5;
  filter: alpha(opacity=50);
  cursor: not-allowed;
}

.tablesorter-blue .tablesorter-filter-row.hideme td {
  padding: 2px;
  margin: 0;
  line-height: 0;
  cursor: pointer;
}

.tablesorter-blue .tablesorter-filter-row.hideme * {
  height: 1px;
  min-height: 0;
  border: 0;
  padding: 0;
  margin: 0;
  opacity: 0;
  filter: alpha(opacity=0);
}

.tablesorter-blue input.tablesorter-filter,
.tablesorter-blue select.tablesorter-filter {
  width: 98%;
  height: auto;
  margin: 0;
  padding: 4px;
  background-color: #fff;
  border: 1px solid #bbb;
  color: #333;
  box-sizing: border-box;
  transition: height 0.1s ease;
}
.tablesorter .filtered {
  display: none;
}
.tablesorter .tablesorter-errorRow td {
  text-align: center;
  cursor: pointer;
  background-color: #e6bf99;
}
.th {
  height: 35px !important;
  font-weight: 900;
}
.fixed_header_tbody {
  display: block;
  overflow: auto;
  max-height: 200px;
}

.tablesorter-blue thead th {
  font: 12px/18px Arial, Sans-serif !important;
  font-weight: 700 !important;
  color: #000 !important;
  background-color: #99bfe6;
  border-collapse: collapse;
  padding: 4px;
  text-shadow: 0 1px 0 rgb(204 204 204 / 70%);
}

.tablesorter-blue > :not(caption) > * > * {
  box-shadow: none !important;
}
.tablesorter-blue td input {
  width: 100%;
  box-sizing: border-box;
  padding: 4px;
  font-size: 1em;
  border: 1px solid #cdcdcd;
  border-radius: 4px;
}
.valInput {
  min-width: 90px;
  width: 100px;
  background-color: #a4ffb873;
  font-weight: 700;
}
.overflowing_table {
  .table-container {
    max-height: 500px;
    overflow-y: auto;
    overflow-x: auto;

    .table {
      width: 100%;
      border-collapse: collapse;
      table-layout: auto;

      th,
      td {
        white-space: normal;
        text-align: center;
        vertical-align: bottom;
        min-width: 50px;
        word-wrap: break-word;
        padding: 4px;
        max-width: 300px;
      }

      th {
        vertical-align: middle !important;
      }
      .sticky-thead {
        position: sticky;
        top: 0;
        z-index: 100;
        background-color: white;
      }
    }
  }
  &.sticky-table {
    .table-container {
      .table {
        .sticky-thead {
          position: sticky;
          top: 0;
          z-index: 100;
          background-color: white;
        }
      }
    }
  }
}

.full-width {
  width: 100% !important;
  margin: 1px;
}

.custom-checkbox-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.custom-checkbox {
  width: 35px;
  height: 35px;
  position: relative;
  display: inline-block;
}

.custom-checkbox input[type="checkbox"] {
  width: 35px;
  height: 35px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  position: absolute;
  top: 0;
  left: 0;
}

.custom-checkbox input[type="checkbox"] + .checkmark {
  width: 35px;
  height: 35px;
  background-color: #eee;
  border: 1px solid #ccc;
  position: absolute;
  top: 0;
  left: 0;
}

.custom-checkbox input[type="checkbox"]:checked + .checkmark {
  background-color: #2196f3;
  border: 1px solid #2196f3;
}

.custom-checkbox .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.custom-checkbox input[type="checkbox"]:checked + .checkmark:after {
  display: block;
}

.custom-checkbox .checkmark:after {
  left: 12px;
  top: 7px;
  width: 10px;
  height: 20px;
  border: solid white;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}
