button i,
a i {
  vertical-align: middle;
}

.toast-badget {
  width: 20px;
  height: 20px;
  border-radius: 5px;
}

.toast {
  z-index: 999999;
}

sub {
  bottom: -0.5em !important;
}

.backbutton-top-left {
  position: absolute;
  margin: 40px;
  top: 0px;
  left: 0px;
  scale: 300%;
}

.backbutton-top-left span {
  scale: 300%;
}

.backbutton-top-left:hover {
  box-shadow: 0px 0px 1px 1px #cccccc;
}

.datasheet-link,
.element-header {
  color: #746660 !important;
  text-decoration: underline !important;
  font-weight: bold !important;
}

.select2-dropdown .select2-results .divider {
  margin: 0 !important;
}
.select2-results__options.clear-list {
  padding: 10px 12px;
  font-weight: bold;
}

.select2-results__options.clear-list li {
  padding: 10px 12px;
}

.select2-results__options.clear-list:hover {
  text-decoration: underline;
  cursor: pointer;
}

.table > :not(:first-child) {
  border-top: unset !important;
}
/* checkboxes on multiselect */
/*
.select2-results__options {
    &[aria-multiselectable=true] {

        .select2-results__option {
            &[aria-selected=true]:before {
                content: '☑';
                padding: 0 0 0 4px;
                font-size: 8px;
            }

            &:before {
                content: '◻';
                padding: 0 0 0 4px;
            }
        }
    }
}

*/
.tab {
  margin-left: 40px;
}
.dark-cover {
  width: 100%;
  height: 100%;
  z-index: 10;
  background-color: #000;
  position: fixed;

  /* RGBa with 0.6 opacity */
  background: rgba(0, 0, 0, 0.5);
  /* For IE 5.5 - 7*/
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000);
  /* For IE 8*/
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000)";
}

#sidebar-menu a {
  text-decoration: none !important;
}

.container-fluid {
  padding-left: 0px !important;
  padding-right: 0px !important;
}

.tab-content {
  margin-top: 20px;
}

.btn-sm {
  font-size: 0.81rem;
}

.page-content {
  border: 0px !important;
  border-radius: 0px !important;
}

.table > :not(caption) > * > * {
  padding: 0.5rem 0.5rem;
  background-color: var(--bs-table-bg);
  border-bottom-width: 1px;
  box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg);
}

/* Rules for sizing the icon. */
.material-icons.md-18 {
  font-size: 18px;
}
.material-icons.md-24 {
  font-size: 24px;
}
.material-icons.md-36 {
  font-size: 36px;
}
.material-icons.md-48 {
  font-size: 48px;
}

.toast {
  top: 100px !important;
  right: 100px !important;
}

.select2-container--default .select2-selection--multiple:before {
  content: " ";
  display: block;
  position: absolute;
  border-color: #888 transparent transparent transparent;
  border-style: solid;
  border-width: 5px 4px 0 4px;
  height: 0;
  right: 6px;
  margin-left: -4px;
  margin-top: -2px;
  top: 50%;
  width: 0;
  cursor: pointer;
}

.select2-results__option[aria-disabled="true"] {
  text-decoration: line-through;
}

.select2-container--open .select2-selection--multiple:before {
  content: " ";
  display: block;
  position: absolute;
  border-color: transparent transparent #888 transparent;
  border-width: 0 4px 5px 4px;
  height: 0;
  right: 6px;
  margin-left: -4px;
  margin-top: -2px;
  top: 50%;
  width: 0;
  cursor: pointer;
}

.btn-small-rounded {
  padding: 0px 5px 10px 5px;
  max-height: 23px;
  border-radius: 10px;
  font-size: 13px;
}

table {
  border-collapse: collapse;
} /* Ensure no space between cells   */
tr.strikeout td {
  position: relative;
} /* Setup a new coordinate system   */
tr.strikeout td:before {
  /* Create a new element that       */
  content: " "; /* …has no text content            */
  position: absolute; /* …is absolutely positioned       */
  left: 0;
  top: 25px;
  width: 100%; /* …with the top across the middle */
  border-bottom: 2px solid #000; /* …and with a border on the top   */
}

.header-title {
  font-size: 1rem;
  margin-top: 7px;
}

.datasheet-collection {
  margin-top: 20px;
}

.testdataaccordion {
  margin-top: 20px;
}

.pagination-rounded .page-item .page-link {
  border-radius: 30px !important;
  border: none;
  margin: 0 3px;
}

.modal-full-width {
  width: 90vw !important;
  max-width: 90vw !important;
}
.combination-switch {
  position: absolute;
}

.backround-overlay {
  opacity: 0.5;
  background-color: #000;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: red;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider.small:before {
  height: 18px;
  width: 18px;
}

.slider.small {
  width: 40px;
  height: 25px;
}

input:checked + .slider {
  background-color: green;
}

input:focus + .slider {
  box-shadow: 0 0 1px green;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

input:checked + .slider.small:before {
  -webkit-transform: translateX(14px);
  -ms-transform: translateX(14px);
  transform: translateX(14px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.invalid {
  text-decoration: line-through;
}

.remove-val::before {
  bottom: 10px;
  position: relative;
  color: red;
  cursor: pointer;
}

.add-val::before {
  bottom: 10px;
  position: relative;
  color: green;
  cursor: pointer;
}

tr.invalid td {
  white-space: nowrap;
}

.applus-header-text {
  color: #ff6900 !important;
}
.title {
  color: rgb(252, 103, 49);
  font-weight: 600;
  margin-bottom: 2vh;
  padding: 0 8%;
  font-size: initial;
}

#details {
  font-weight: 400;
}

.info {
  padding: 5% 8%;
}

.info .col-5 {
  padding: 0;
}

#heading {
  color: grey;
  line-height: 6vh;
}

#progressbar {
  margin-bottom: 3vh;
  color: rgb(252, 103, 49);
  padding-left: 0px;
  margin-top: 3vh;
}

#progressbar li {
  list-style-type: none;
  font-size: x-small;
  width: 20%;
  float: left;
  position: relative;
  font-weight: 400;
  color: rgb(160, 159, 159);
}

#progressbar .step#step1:before {
  content: "";
  color: rgb(252, 103, 49);
  width: 24px;
  height: 24px;
  margin-left: 100% !important;
  margin-top: -11px !important;
}

#progressbar li.step .progress-number {
  position: absolute;
  margin-top: -58px !important;
  margin-left: 7px;
  z-index: 100;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
}

#progressbar li.first-step .progress-number {
  position: absolute;
  margin-top: -37px !important;
  margin-left: -17px;
  z-index: 100;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
}

#progressbar .first-step:before {
  content: "";
  color: #fff;
  width: 24px;
  height: 24px;
}

#progressbar li#step0 {
  width: 24px;
  margin-right: -24px;
  margin-top: -10px;
}

#progressbar .step:before {
  content: "";
  color: #fff;
  width: 24px;
  height: 24px;
  margin-left: 100% !important;
  margin-top: -11px !important;
}

#progressbar li:before {
  line-height: 29px;
  display: block;
  font-size: 12px;
  background: #ddd;
  border-radius: 50%;
  margin: auto;
  z-index: -1;
  margin-bottom: 1vh;
}

#progressbar li.step:after {
  content: "";
  height: 2px;
  background: #ddd;
  position: absolute;
  left: 0%;
  right: 0%;
  margin-bottom: 2vh;
  top: 1px;
  z-index: 1;
}

.progress-track {
  padding: 0 8% 0% 4%;
}

#progressbar li.step:after {
  margin-left: 24px;
}

#progressbar li.step.active {
  color: black;
}

#progressbar li.active:before,
#progressbar li.active:after {
  background: rgb(252, 103, 49);
}

#progressbar li.semi-active:after {
  background: rgb(252, 103, 49);
}

.step-header {
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 0px;
}

.step-description {
  font-size: 10px;
  font-weight: 400;
  margin-bottom: 0px;
}

.testdata-collection-toggle {
  background-color: antiquewhite;
  border-radius: 2px;
  border: 1px solid;
}

table.no-data thead tr {
  background-color: #f1f5f7;
}

.axisLabel {
  position: relative;
  font-size: 20px;
  /* Additional styles as needed */
}

.xaxisLabel {
  bottom: 3px;
  left: 0;
  right: 0;
  text-align: center;
}

.yaxisLabel {
  top: -50%;
  transform: rotate(-90deg);
  transform-origin: 0 0;
  margin-left: -20px;
}

.chart {
  margin: 30px;
  margin-left: 40px;
}

.legendContainerParent {
  margin: 30px;
}

.flot-y-axis {
  margin-left: -20px;
  top: -7px !important;
  left: -7px !important;
}

td.hidden {
  display: none;
}

th.hidden {
  display: none;
}

/* Maintenance Popup Styling */
.info-popup-maintenance {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 500px;
  background-color: var(--bs-light);
  border: 1px solid var(--bs-info);
  border-radius: 0.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  z-index: 1050;
  padding: 15px 20px;
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

/* Close Button */
.info-popup-maintenance .close-btn {
  cursor: pointer;
}

/* Fade-out effect */
.fade-out {
  opacity: 0 !important;
  transform: translateX(-50%) translateY(-20px);
}

.modal-fullscreen {
  min-width: 100vw;
}

.mdi-pdf-download::before {
  content: '';
  display: inline-block;
  width: 1em;
  height: 1em;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'><path fill='currentColor' d='M14,2H6C4.89,2 4,2.89 4,4V20C4,21.11 4.89,22 6,22H18C19.11,22 20,21.11 20,20V8L14,2Z' /><text x='12' y='10.5' font-family='Arial' font-size='6' fill='white' text-anchor='middle' font-weight='bold'>PDF</text><path fill='white' d='M12 16L9.75 13.75L11.16 12.34L12 13.17L12.84 12.34L14.25 13.75L12 16ZM17 19H7V17H17V19Z'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
}

.cursor-pointer {
  cursor: pointer;
}

.hover-highlight:hover {
  color: var(--bs-primary);
}
