.lite {
  /* background-color: rgb(6, 156, 86); */
  background-color: #28a745 !important;
  display: inline-block;
  height: 30px;
  width: 30px;
  border-radius: 50%;
  /* border:2px solid rgba(64, 184, 92, 0.534); */
  color: white;
  line-height: 30px;
  text-align: center;
  font-weight: 500;
  -moz-box-shadow: 0 0 2px rgb(0, 0, 0);
  -webkit-box-shadow: 0 0 2px rgb(0, 0, 0);
  box-shadow: 0 0 2px rgb(0, 0, 0);
  cursor: pointer;
}
.medium {
  /* background-color: rgb(255, 104, 30); */
  background-color: #ffc107 !important;
  display: inline-block;
  height: 30px;
  width: 30px;
  border-radius: 50%;
  /* border:2px solid rgb(240, 166, 29); */
  color: white;
  line-height: 30px;
  text-align: center;
  font-weight: 500;
  -moz-box-shadow: 0 0 2px rgb(0, 0, 0);
  -webkit-box-shadow: 0 0 2px rgb(0, 0, 0);
  box-shadow: 0 0 2px rgb(0, 0, 0);
  cursor: pointer;
}
.heavy {
  /* background-color: rgb(211, 33, 44); */
  background-color: #dc3545 !important;
  display: inline-block;
  height: 30px;
  width: 30px;
  border-radius: 50%;
  /* border:2px solid rgb(216, 29, 29); */
  color: white;
  line-height: 30px;
  text-align: center;
  font-weight: 500;
  -moz-box-shadow: 0 0 2px rgb(0, 0, 0);
  -webkit-box-shadow: 0 0 2px rgb(0, 0, 0);
  box-shadow: 0 0 2px rgb(0, 0, 0);
  cursor: pointer;
}
.lite-block {
  background-color: #28a745 !important;
  display: inline-block;
  border-radius: 5px;
  /* border:2px solid rgb(32, 169, 32); */
  margin: auto;
  color: #fff;
  text-align: center;
  font-weight: 500;
  -moz-box-shadow: 0 0 2px rgb(0, 0, 0);
  -webkit-box-shadow: 0 0 2px rgb(0, 0, 0);
  box-shadow: 0 0 2px rgb(0, 0, 0);
  width: max-content;
  padding: 4px;
}
.medium-block {
  background-color: rgb(255, 104, 30);
  display: inline-block;
  border-radius: 5px;
  /* border:2px solid rgb(240, 166, 29); */
  margin: auto;
  color: #fff;
  text-align: center;
  font-weight: 500;
  -moz-box-shadow: 0 0 2px rgb(0, 0, 0);
  -webkit-box-shadow: 0 0 2px rgb(0, 0, 0);
  box-shadow: 0 0 2px rgb(0, 0, 0);
  width: max-content;
  padding: 4px;
}
.heavy-block {
  background-color: #dc3545 !important;
  display: inline-block;
  border-radius: 5px;
  /* border: 2px solid rgb(216, 29, 29); */
  margin: auto;
  color: #fff;
  text-align: center;
  font-weight: 500;
  -moz-box-shadow: 0 0 2px rgb(0, 0, 0);
  -webkit-box-shadow: 0 0 2px rgb(0, 0, 0);
  box-shadow: 0 0 2px rgb(0, 0, 0);
  width: max-content;
  padding: 4px;
}
.currency-lite {
  color: #28a745 !important;
  /* padding: .4rem; font-size: 1.0rem; */
  z-index: 1;
  text-align: center;
  vertical-align: middle;
  font-weight: 500;
}
.currency-medium {
  color: #ffc107 !important;
  /* padding: .4rem; font-size: 1.0rem; */
  z-index: 1;
  text-align: center;
  vertical-align: middle;
  font-weight: 500;
}
.currency-heavy {
  color: #dc3545 !important;
  /* padding: .4rem; font-size: 1.0rem; */
  z-index: 1;
  text-align: center;
  vertical-align: middle;
  font-weight: 500;
}
.liteInput {
  background-color: #28a745 !important;
  display: inline-block;
  text-align: center;
  font-weight: 500;
  width: max-content;
  padding: 4px;
}
.mediumInput {
  background-color: rgb(255, 104, 30);
  display: inline-block;
  text-align: center;
  font-weight: 500;
  width: max-content;
  padding: 4px;
}
.heavyInput {
  background-color: #dc3545 !important;
  display: inline-block;
  text-align: center;
  font-weight: 500;
  width: max-content;
  padding: 4px;
}
.custom-tooltip {
  --bs-tooltip-bg: #343957 !important;
  --bs-tooltip-color: var(--bs-white) !important;
  --bs-tooltip-font-size: 12px !important;
}
.headerBar{
  flex-shrink: 0;
  color: black;
  z-index: 10;
  padding: 10px;
  background-color: #343957;
  height: 48px;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 3px;
  position: absolute;
  top: 0px;
  left: 0;
}
.options-button {
  z-index: 10;
  position: relative;
  height: 26px;
  line-height: 1 !important;
  font-size: 12px !important;
  float: right;
}
/* .options-button:hover {
  top: 11px;
  cursor: pointer;
} */
.options {
  position: absolute;
  z-index: 20;
  top: 50px;
  /* left: 60px; */
  right: 0px;
  -moz-box-shadow: 0 0 3px #46627d;
  box-shadow: 0 0 20px #46627d;
  background: white;
  color: white;
  display: block;
  display: none;
}
.optionsSelected {
  position: absolute;
  z-index: 20;
  top: 42px;
  /* left: 60px; */
  right: 0px;
  -moz-box-shadow: 0 0 3px #46627d;
  box-shadow: -2px 5px 10px rgba(0, 0, 0, 0.5);
  color: white;
  display: block;
  width: 575px;
  background-color: white;
}
.options span {
  position: relative;
  padding: 5px;
  float: left;
}
.options-menu {
  position: relative;
  height: 35px;
  /* float: left; */
  /* width: 100px; */
  /* border-right: 1px solid; */
  /* height: 100%; */
  /* padding: 0px; */
  /* left: 7px; */
  /* top: 7px; */
}
.options-menu div {
  padding: 7px;
  font-family: Agenda-Light, sans-serif;
  font-weight: 100;
  /* text-rendering: optimizeLegibility; */
  /* border-radius: 5px; */
  -moz-box-shadow: 0 0 3px #ccc;
  /* -webkit-box-shadow: 0 0 3px #ccc; */
  /* box-shadow: 0 0 5px #ccc; */
  border-bottom: 1px solid #46627d66;
  width: 115px;
  padding-left: 10px;
  float: left;
  height: 100%;
  line-height: 1.8;
  font-size: 12px;
  font-weight: 400;
}
.option {
  padding: 7px;
  font-family: Agenda-Light, sans-serif;
  font-weight: 100;
  /* text-rendering: optimizeLegibility; */
  /* border-radius: 5px; */
  -moz-box-shadow: 0 0 3px #ccc;
  /* -webkit-box-shadow: 0 0 3px #ccc; */
  /* box-shadow: 0 0 5px #ccc; */
  border-bottom: 1px solid #46627d66;
  /* width: 115px; */
  padding-left: 15px;
  text-align: center;
  padding-right: 15px;
  font-size: 14px;
  font-weight: 400;
  background: rgb(6, 156, 86);
}
.optionselected {
  padding: 7px;
  font-family: Agenda-Light, sans-serif;
  font-weight: 100;
  /* text-rendering: optimizeLegibility; */
  /* border-radius: 5px; */
  -moz-box-shadow: 0 0 3px #ccc;
  /* -webkit-box-shadow: 0 0 3px #ccc; */
  /* box-shadow: 0 0 5px #ccc; */
  border-bottom: 1px solid #46627d66;
  /* width: 115px; */
  padding-left: 15px;
  text-align: center;
  padding-right: 15px;
  font-size: 14px;
  font-weight: 400;
  background: #343957;
}
.option:hover {
  /* margin-left:5px; */
  cursor: pointer;
  background: #343957;
  color: white;
}
.options-data {
  display: none;
  visibility: hidden;
}
.options-data-selected {
  position: relative;
  /* float: left; */
  width: 100%;
  /* display: none; */
  /* visibility: hidden; */
  font-family: Agenda-Light, sans-serif;
  font-weight: 100;
  /* text-rendering: optimizeLegibility; */
  /* border-left: 2px solid #46627d33; */
  /* left: 15px; */
  color: white;
  height: max-content;
}
#entireSearch {
  font-family: Agenda-Light, sans-serif !important;
  font-size: 13px;
  position: relative;
  color: black;
  padding: 5px;
  background-color: white;
  width: 200px;
  height: 26px;
  top: 0px;
  float: left;
}
.searchBuilderButton {
  position: relative !important;
  top: 0px !important;
  left: 2px !important;
  float: left;
  height: 25px;
  font-size: 12px !important;
  line-height: 1.2 !important;
  background-color: #f8f9fa !important;
  color: black !important;
}
.searchBuilderButton:hover {
  background-color: #e8e8e8 !important;
}
.column-data {
  position: relative;
}
.column-data label {
  float: left;
  width: 255px;
}
#thresholdForm {
  padding-top: 20px;
  overflow-y: auto;
  position: relative;
  max-height: 85vh; /* Adjust percentage as needed */
  height: auto;
}

/* Add media query for smaller screens */
/* @media screen and (max-height: 800px) {
  #thresholdForm {
    max-height: 80vh;
  }
}
@media screen and (max-height: 600px) {
  #thresholdForm {
    max-height: 80vh;
  }
} */
.thresholds {
  position: relative;
  float: left;
  width: 300px;
  padding-left: 15px;
  display: none;
  visibility: hidden;
  font-family: Agenda-Light, sans-serif;
  font-weight: 100;
  text-rendering: optimizeLegibility;
  border-left: 2px solid #46627d33;
  left: 15px;
}
.minMaxWrapperHidden {
  position: absolute;
  display: none;
  visibility: hidden;
}
.minMaxWrapper {
  position: absolute;
  width: 70%;
  background-color: white;
  z-index: 9;
  box-shadow: 5px 5px 10px grey;
  margin-left: 18%;
  margin-top: 20%;
  color: black;
  font-size: 12px;
}
.minMaxTitle {
  position: relative;
  /* width: 100px; */
  font-family: Agenda-Light, sans-serif;
  font-weight: 500;
  text-rendering: optimizeLegibility;
  color: black;
  font-size: 14px;
  border-bottom: 1px solid #343957;
}
.minMaxDescription {
  position: relative;
  font-family: Agenda-Light, sans-serif;
  font-weight: 500;
  text-rendering: optimizeLegibility;
  color: white;
  font-size: 12px;
  padding: 5px;
  border-bottom: 1px solid #343957;
  background-color: #343957;
}
.minMaxInputWrapper {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  width: 100%;
}
.minMaxWrapper input {
  position: relative;
  width: 40px !important;
  height: 40px;
  background-color: white !important;
  font-family: Agenda-Light, sans-serif;
  font-weight: 100;
  text-rendering: optimizeLegibility;
  color: black !important;
  font-size: 14px !important;
  border-radius: 0px !important;
  border: 1px solid #3439572b !important;
  margin: 7px;
}
.submitMinMax {
  position: relative;
  font-family: "Poppins", Arial, sans-serif;
  width: 100%;
  height: 30px;
  bottom: 0px;
  left: 0px;
  margin-top: 10px;
  background: rgb(94 181 129);
  color: white;
  text-align: center;
  padding: 5px;
  float: left;
  cursor: pointer;
}
.submitMinMax:hover {
  background: #343957;
  cursor: pointer;
  color: white;
}
.submit {
  position: relative;
  font-family: "Poppins", Arial, sans-serif;
  width: 100%;
  /* height: 23px; */
  bottom: 0px;
  left: 0px;
  margin-top: 10px;
  background: rgb(6 156 86 / 75%);
  color: white;
  text-align: center;
  padding: 5px;
  float: left;
  cursor: pointer;
  border: 1px;
  font-weight: 100;
  font-size: 15px;
}
.submit:hover {
  background: #343957;
  cursor: pointer;
  color: white;
}
.columnCheck {
  width: 287px !important;
  padding: 0.375rem 0.75rem;
  float: left;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  color: #343957;
  /* background-color: #343957; */
  background-clip: padding-box;
  /* border: var(--bs-border-width) solid var(--bs-border-color); */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  /* border-radius: var(--bs-border-radius); */
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  cursor: pointer;
  padding-left: 75px;
  font-size: 12px;
}
.columnCheck:hover {
  background: #637dfc;
  color: white;
}
.columnCheckSelected {
  width: 287px !important;
  padding: 0.375rem 0.75rem;
  float: left;
  font-size: 15px;
  font-weight: 400;
  /* line-height: 1.5; */
  color: var(--bs-body-color);
  background-color: var(--bs-body-bg);
  background-clip: padding-box;
  /* border: var(--bs-border-width) solid var(--bs-border-color); */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  /* border-radius: var(--bs-border-radius); */
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  background: #637dfc;
  color: white;
  cursor: pointer;
  padding-left: 30px;
  border-bottom: 1px solid #343957;
  border-left: 1px solid #343957;
}
.columnCheckSelected:hover {
  background: #637dfcbf;
}

.export-data {
  position: relative;
}
#export-data button {
  background: #343957;
  border-radius: 0px !important;
  padding-left: 5px;
  border: 1px;
  font-size: 12px;
}
#export-data button:hover {
  background: #637dfc;
}

.export-data div button {
  padding: 5px;
  float: none;
  /* padding-bottom: 10px; */
  line-height: 3;
  width: 115.8px;
  padding-left: 35px;
}
.dt-length {
  display: none;
  visibility: hidden;
}
.form-select-sm{
  margin-top: 24px;
  height: 26px;
  font-size: 12px !important;
}
.dtLengthDisplay {
  width: fit-content !important;
  display: flex !important;
  visibility: visible !important;
  position: relative !important;
  top: 0px !important;
  right: 0px !important;
  float: right !important;
}
.dt-length select {
  position: relative;
  color: black;
  height: 26px;
  font-size: 12px;
}
.dt-length select:hover {
  background: white;
  color: black;
}
.dt-paging {
  position: relative;
  top: -2px;
  border-radius: 0px !important;
  font-size: 12px !important;
  float: right;
}
.page-link {
  background-color: #f8f9fa !important;
  color: #343957 !important;
  font-size: 12px !important;
}
.active > .page-link {
  background-color: #637dfc !important;
  color: white !important;
  border: 0px solid !important;
}
.search {
  position: relative;
  flex: 1;
  box-shadow: 0 0 40px rgba(51, 51, 51, 0.1);
  margin-left: -90px;
  width: 200px;
  left: 155px;
}

.search input {
  height: 60px;
  text-indent: 25px;
  border: 2px solid #d6d4d4;
}

.search input:focus {
  box-shadow: none;
  border: 2px solid #34495e;
}

.search .fa-search {
  position: absolute;
  top: 20px;
  left: 11px;
  z-index: 5;
  margin-top: -15px;
}
.fixedMachineColumnsToggle {
  position: relative;
  height: 26px;
  font-size: 12px !important;
  line-height: 10px !important;
  width: 110px;
  float: right;
}
.fixedColumnsToggleActual {
  display: none;
  visibility: none;
}
.fixedColumnSelector {
  position: relative;
  height: 27px;
  background: #f8f9fa;
  color: black;
  border-radius: 5px;
  font-size: 12px;
  float: right;
}
.fixedColumnsApply {
  font-family: "Poppins", Arial, sans-serif;
  position: absolute;
  width: 88px;
  height: 30px;
  left: 40px;
  line-height: 26px;
  top: 0px;
  background: rgb(6, 156, 86);
  color: white;
  text-align: center;
}
#main-table_wrapper > div:nth-child(3) {
  background: #343957;
}
#columnSelect > div:nth-child(25) {
  margin-bottom: 10px;
}
#defaultSortColumn {
  position: relative;
  width: 360px;
  float: left;
  padding-left: 10px;
  background: #343957;
  color: white;
  /* height: 47px; */
  line-height: 0px;
  /* padding-top: 12px; */
  font-size: 11px;
  border-bottom: 1px solid;
  z-index: 10;
  padding: 5px;
  padding-left: 30px;
}
#defaultSortOrder {
  position: relative;
  padding-left: 5px;
  width: 215px;
  float: left;
  background: #343957;
  color: white;
  font-size: 11px;
  margin-bottom: 20px;
  border-bottom: 1px solid;
  z-index: 10;
  padding: 5px;
}
.columnSort {
  background: #089c56;
  color: white;
}
.machinesPageLength {
  position: relative;
  top: 0px;
  right: 0px;
  float: right;
  width: fit-content;
}

/* Stack elements on smaller screens */
/* @media screen and (max-width: 816px) {
  .headerBar {
    position: sticky;
    top: 0;
    flex-direction: column;
  }
  #main-table_wrapper > div:nth-child(3) {
    width: 103%;
  }
  div.dt-container div.dt-layout-full {
    width: 106vw;
  }
  .mt-2 {
    margin-top: 0.5rem !important;
    width: 106vw;
  }
  .search {
    width: 100%;
  }
  .search input {
    width: 85vw !important;
    margin-left: -67px;
  }
  .search .fa-search {
    left: -56px;
  }
  .searchBuilderButton {
    width: 100%;
    margin-left: -112px;
    margin-top: 5px;
  }
  .fixedColumnSelector {
    width: 100%;
  }
  .fixedMachineColumnsToggle {
    width: 100%;
  }
  .options-button {
    width: 95vw;
  }
  .fixedColumnSelector {
    text-align: center;
  }

  .machinesPageLength {
    width: 100%;
  }
  .table-container {
    margin-top: -47px;
    position: relative;
    height: 50px;
  }
  .dt-length {
    width: 100%;
  }
  .dt-length select {
    text-align: center;
  }
  .form-select {
    padding: 0px !important;
  }
  .dataTables_wrapper {
    height: 100%;
  }

  .dataTables_scrollHead {
    position: sticky;
    z-index: 2;
    background: #fff;
  }

  .dt-scroll-body {
    position: relative;
    overflow: auto;
    width: 100%;
    height: 100% !important;
  }
  .dataTables_scrollBody table {
    width: 100%;
  }
} */
.dataTables_scrollBody, .dataTables_scrollHead {
  overflow-x: auto;
  padding-right: 17px; 
  box-sizing: border-box; 
}
.thresholdRow {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
}

.thresholdColumn1 {
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: end;
  color: black;
  margin-right: 10px;
  font-size: 14px;
  padding: 5px;
  font-weight: 500;
  cursor: default;
}
.thresholdColumn2 {
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: start;
  color: black;
  padding: 5px;
  margin-right: 95px;
}
.sliders_control {
  position: relative;
  min-height: 30px;
  width: 260px;
  margin-top: 9px;
}

.sliders_control .form_control_container {
  position: absolute;
  top: 5px;
  width: 25px; /* Match the new input width */
  transform: translateX(-12.5px); /* Half of the new width (25/2) */
  transition: transform 0.1s ease-in-out;
  display: block;
}

.form_control_container__time__input {
  width: 44px;
  text-align: center;
}
.form_control_container__time__input::-webkit-inner-spin-button,
.form_control_container__time__input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.form_control {
  position: relative;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #635a5a;
}
.form_control_container__time {
  float: left;
  margin-right: 8px;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  pointer-events: all;
  width: 15px;
  height: 15px;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #c6c6c6;
  cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
  -webkit-appearance: none;
  pointer-events: all;
  width: 15px;
  height: 15px;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #c6c6c6;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb:hover {
  background: #f7f7f7;
}

input[type="range"]::-webkit-slider-thumb:active {
  box-shadow: inset 0 0 3px #387bbe, 0 0 9px #387bbe;
  -webkit-box-shadow: inset 0 0 3px #387bbe, 0 0 9px #387bbe;
}

input[type="number"] {
  width: 25px;
  text-align: center;
  font-size: 10px;
  border: 0;
  background-color: #343957;
  color: #ffffff;
  padding: 0;
  border-radius: 25%;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  opacity: 1;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  height: 5px;
  width: 100%;
  position: absolute;
  background-color: #c6c6c6;
  pointer-events: none;
}

input[id^="fromSlider_"] {
  height: 0px;
  z-index: 1;
  margin-top: 3px;
}
.slider-markers {
  position: absolute;
  top: 6px;
  height: 20px;
  pointer-events: none;
}

.slider-marker {
  position: absolute;
  width: 1px;
  height: 5px;
  background-color: #c6c6c6;
  transform: translateX(-50%);
}

.marker-label {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  color: #8a8383;
  white-space: nowrap;
}

/* DATATABLES SEARCH BUILDER */
.modal-content {
  background-color: white;
  color: black;
  border-radius: 5px;
  font-size: 12px !important;
}
.modal-header {
  padding: 10px 15px !important;
}
.modal-title {
  font-size: 14px !important;
}
.closeSearchBuilder {
  background-color: #343957 !important;
  padding: 5px !important;
  font-size: 12px !important;
}
.closeSearchBuilder:hover {
  background-color: #637dfc !important;
  color: white !important;
}
.dtsb-button {
  background-color: #28a745 !important;
  color: white !important;
  font-size: 12px !important;
  padding: 5px !important;
  border-radius: 5px !important;
  border: 0px solid !important;
}
.dtsb-clearGroup {
  background-color: #dc3545 !important;
  color: white !important;
  font-size: 12px !important;
  padding: 5px !important;
  border-radius: 5px !important;
  border: 0px solid !important;
}
.dtsb-delete {
  background-color: #dc3545 !important;
  color: white !important;
  font-size: 12px !important;
  padding: 5px !important;
  border-radius: 5px !important;
  border: 0px solid !important;
}
