.data-container h1 {
  color: var(--black-1);

  font-size: 16px;
  font-weight: 500;
}

.data-container h1>a {
  color: var(--black-1);
  text-decoration: underline;
}

.main-container {
  display: flex;
  width: 100%;

  background: #f4f7fa;
  /*  padding: 10px 20px; */
}

ul {
  list-style: none;
}

.top-navigation-header {
  display: flex;
  display: grid;
  gap: 1rem;
  /* Creates space between grid items */
  padding: 1rem;
  /* The core of the responsive magic: */
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  text-align: center;
}

.top-navigation-header>.link-item {
  font-size: 11px;
  border: 1px solid lightgray;
  border-radius: 3px;
  padding: 10px;
  background: white;
  margin: 0px;
}

.top-navigation-header>.link-item i {
  font-size: 15px;
  vertical-align: middle;
  color: var(--dark-blue);
}

.top-navigation-header>.link-item a {
  text-decoration: none;
  color: black;
}

.sidebarmenu {
  width: var(--sidebarwidth);
  /* height: 100%; */
  color: #555;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.25rem;
  border-right: 1px solid lightgray;
  background: white;
}

.sidebarmenu h3.equipment-heading {
  font-weight: 500;
  font-size: 15px;
  padding: 0px 10px;
  margin: 10px 0px;
  border-radius: 2px;

  display: flex;
  flex-direction: column;
  text-align: center;
  color: var(--dark-blue);
}

.sidebarmenu .equipment-heading i {
  font-size: 2rem;
  vertical-align: middle;
  color: var(--dark-blue);
}

.sidebarmenu h3.filter-heading {
  padding: 0px 10px;
  font-size: 14px;
  font-weight: 500;
  /*    border-bottom: 1px solid var(--dark-blue); */
}

.clear-all-content>.clear-all {
  font-size: 10px;
  text-decoration: underline;
  margin-left: 10px;
  cursor: pointer;
}

.list {
  display: flex;
  flex-direction: column;
  /* gap: 0.50rem; */
  max-height: 800px;
  overflow-y: auto;
}



.list>li {
  cursor: pointer;
  letter-spacing: 1px;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border-grey-1);
  padding: 5px 0px 5px 20px;
  border: 1px solid darkgray;
  margin: 10px;
  border-radius: 5px;
}

.list-title {
  display: flex;
  font-size: 0.75rem;
  gap: 0.5rem;
  align-items: center;
  width: 100%;
  padding: 0.5rem;
  border-radius: 0.25rem;
}

.list-title>* {
  pointer-events: none;
}

.list-title .fa-chevron-down {
  margin-left: auto;
  font-size: 0.75rem;
}

/*  .list-title:hover,
  .list-title.active,
  .list.inner li:hover {
    background: #ddd;
  } */

.list>li:hover {
  background: #f2f2f2;
}

.list.inner {
  height: 0;
  /*  overflow: hidden; */
  max-height: 700px;
  transition: height 200ms ease;
}

.filter-items label {
  cursor: pointer;
}

.list.inner .content {
  /*   min-height: 100px;   */
}

.list.inner li {
  padding: 0.5rem;
  font-size: 0.6rem;
  padding-left: 2rem;

  padding: 5px 0px 5px 10px;
  padding: 10px;
}

.list.inner .input-search-li {
  padding: 0px;
  border: none;
  position: sticky;
  top: 0;
}

.list-title.active .fa-chevron-down {
  transform: rotate(180deg);
}

.content li {
  border-bottom: 1px solid lightgray;
}

.content li:last-child {
  border-bottom: 0px;
}

.content-top-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

.data-summary {
  display: flex;
  justify-content: space-evenly;
  ;
}

.data-summary>.total-item {
  border: 1px solid var(--border-grey-1);
  padding: 4px 20px;
  border: 1px solid whitesmoke;
  border-radius: 5px;
  display: flex;
  align-items: center;
  margin: 10px 10px;
  background: var(--black-1);
  text-align: center;
  min-width: 200px;
}

.total-item>.total-item-icon {
  font-size: 2rem;
  margin-right: 10px;
  color: wheat;
}

.total-item>.total-item-desc {
  color: whitesmoke;
}

.total-item>.total-item-desc {
  font-size: 10px;

}

.total-item>.total-item-desc>.num {
  font-size: 30px;
  display: block;
}

.data-container-main {
  display: flex;
  flex-direction: column;
  width: calc(100% - var(--sidebarwidth));
}

.data-container {
  height: 100%;
  background: white;
  border: 1px solid lightgray;
  margin: 20px 20px;
  /*   width: calc(100% - var(--sidebarwidth) - 40px); */
  border-radius: 5px;
  min-height: 800px;
}

.input-box {
  margin: auto;
  position: relative;
  height: 35px;
  background: #fff;
  float: left;
  border-radius: 8px;
}

.input-search-li {}

.input-search-li .input-box {
  border: 1px solid lightgrey;
  margin-bottom: 5px;
  border-radius: 4px;
  width: 100%;
}

.input-search-li .input-box input {
  border: none;
  padding: 0px 5px;
  /*  border-left: 1px solid lightgrey;
  border-top: 1px solid lightgrey;
  border-bottom: 1px solid lightgrey;
  border-right: 1px solid lightgrey; */
}

.input-box i,
.input-box .button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

/* .input-box i {
  left: 20px;
  font-size: 30px;
  color: #707070;
} */

.input-box input {
  height: 100%;
  width: 100%;
  outline: none;
  font-size: 12px;
  font-weight: 400;
  border: none;
  padding: 0px 46px 0 25px;
  background-color: transparent;
  border-left: 1px solid #f2f2f2;
  border-top: 1px solid #f2f2f2;
  border-bottom: 1px solid #f2f2f2;
  border-right: 1px solid #f2f2f2;
  border-radius: 5px;
}

.input-box .button {
  right: 0;
  font-size: 12px;
  font-weight: 400;
  color: #fff;
  border: none;
  padding: 5px 20px;
  border-radius: 3px;
  background-color: var(--dark-blue);
  cursor: pointer;
}

.input-box .search-data-icon {


  background-color: unset;
  cursor: pointer;
  padding: 0px 45px 0 5px !important;

}

.input-box .search-data-icon>i {
  font-size: 14px;
  background: var(--dark-blue);
  color: white;
  padding: 10px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  /* height: 50px; */
  /* width: 100%; */
  vertical-align: middle;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  right: 0;
}

.input-box .button:active {
  transform: translateY(-50%) scale(0.98);
}

.input-box-filter {
  border: none;
}

.search-bar-container {
  display: flex;
  justify-content: space-around;
  margin: 0px 10px;
  align-items: center;
  justify-content: center;
}

.data-content-container {
  max-height: 900px;
  overflow-y: auto;
  width: 95%;
  /* max-width: 600px; */
  /* overflow-x: scroll; */
  margin: auto;
  overflow-y: auto;
  /* max-height: 600px; */
  /*   border: 1px solid #f2f2f2; */
}

.records-page-content label {
  font-size: 10px;
}

#record-per-page {
  border: 1px solid lightgrey;
  border-radius: 2px;
}


.rwd-table {
  color: #333;
  border-radius: 2px;
  margin: auto;
  min-width: 300px;
  max-width: 100%;
  border-collapse: collapse;
  width: 90%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0px 10px;
}

/* th:nth-child(2),
td:nth-child(2) {
  position: sticky;
  left: 0;
  background: white;
  z-index: 2;
  box-shadow: 1spx 0 5px rgba(0, 0, 0, 0.05);  border-right: 1px solid #ddd;
} */


.rwd-table tr {
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  /* background-color: #f5f9fc; */
}

.rwd-table tr:nth-child(odd):not(:first-child) {
  /*  background-color: #ebf3f9; */
}

.rwd-table th {
  display: none;
  font-size: 11px;
  font-weight: 500;
  color: black;
}

.rwd-table td {
  display: block;
  font-size: 10px;
}

.rwd-table td:first-child {
  margin-top: .5em;
}

.rwd-table td:last-child {
  margin-bottom: .5em;
}

.rwd-table td:before {
  content: attr(data-th) ": ";
  font-weight: bold;
  width: 120px;
  display: inline-block;
  color: #000;
}

.rwd-table th,
.rwd-table td {
  text-align: left;
}



.rwd-table tr {
  border-color: #bfbfbf;
}


.rwd-table td {

  border-bottom: 1px solid #ddd;
}

.rwd-table th {
  border-right: 1px solid darkgray;
  border-bottom: 1px solid darkgray;
  border-top: 1px solid darkgray;
}

.rwd-table th:first-child {
  border-left: 1px solid #ddd;
}

.rwd-table td:first-child {
  border-left: 1px solid #ddd;
}

.rwd-table td:last-child {


  border-right: 1px solid darkgray;
}

tr.sticky {
  position: sticky;
  top: 0;
  background-color: #f1f1f1;
  z-index: 1;
  border-top: none;
  background: #f2f2f2;
  color: #fff;
  border: 1px solid darkgray;
}

tr:nth-child(even) {
  background: whitesmoke;
}

.rwd-table tr.sticky {}

#page_navigation {
  float: right;
  margin-right: 20px;
}

#page_navigation>.pagination {
  display: flex;
  margin: 5px 0px;
}

#page_navigation>.pagination>li {
  padding: 4px 12px;
  margin: 0px 2px;
  font-size: 14px;
  border-radius: 4px;
  background: white;
  border-left: 1px solid lightgray;
  border-right: 1px solid lightgray;
  border-top: 1px solid lightgray;
  border-bottom: 1px solid lightgray;
}

#page_navigation>.pagination>li:first-child {
  border-left: 1px solid lightgray;
}

#page_navigation>.pagination>li>a {
  text-decoration: none;
  color: black;
}

#page_navigation>.pagination>li.active {
  background: var(--dark-blue);
}

#page_navigation>.pagination>li>a.active_page {
  color: white;
}

.pagination-count-records {
  display: flex;
  justify-content: end;
  align-items: center;
}

.pagination-count-records>.count-records h3 {
  font-size: 12px;
  font-weight: 500;

}

.pagination-count-records>.count-records-no-data h3 {
  margin-right: 40px;

}

.pagination>.disabled {
  background: gray !important;

}

.pagination>.disabled>a {
  color: white !important;

}

#loading-overlay {
  position: absolute;
  /* top: 0; */
  z-index: 100;
  width: 100%;
  height: 200px;
  display: none;
  /*   background: rgba(0, 0, 0, 0.6); */
}


.cv-spinner {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px var(--dark-blue-2) solid;
  border-top: 4px var(--darkbgcolor1) solid;
  border-radius: 50%;
  animation: sp-anime 0.8s infinite linear;
}

.data-not-found {
  text-align: center;
  width: 200px;
  margin: auto;
  height: 200px;

  border-radius: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.data-not-found>.data-not-found-text h3 {
  color: #36454F;
  font-weight: 500;
}

.data-not-found>.data-not-found-icon i {
  font-size: 40px;
  color: indianred;
}

.filter-toggle {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1000;

  background: var(--dark-blue-2);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;

  cursor: pointer;
  font-size: 18px;
}

.filter-selected-count {
  font-size: 10px;
  margin-left: 5px;
  color: var(--dark-blue-2);
}

.more-content {
  display: none;
  /* Initially hide the full content */
}

.show-hide-link {
  margin-left: 5px;
  cursor: pointer;
  color: blue;
  text-decoration: underline;
}

.clear-search-equipment {
  display: none;
  padding: 10px;
  font-size: 13px;
  float: right;
  margin-right: 10px;
  cursor: pointer;
}

.selected-filters {

  flex-direction: column;
  gap: 5px;
  padding: 10px;
  /* background: #f2f2f2; */
  border-radius: 5px;
  margin: 0px 10px;
  border: 1px solid lightgray;
  display: none;

}

.selected-filters .heading {
  font-weight: 500;
  color: var(--dark-blue-2);
  font-size: 12px;
}

/* category row */
.filter-category {
  padding: 0px 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

/* category title */
.filter-title {
  font-weight: 500;
  color: #333;
  margin-right: 5px;
  font-size: 12px;
}

/* CHIP */
.filter-chip {
  font-size: 12px;
  display: flex;
  align-items: stretch;
  border: 1px solid #d1d5db;
  border-radius: 5px;
  overflow: hidden;
  background: #f1f5f9;
}

/* TEXT */
.chip-text {
  padding: 4px 8px;
  display: flex;
  align-items: center;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 250px;
}

/* ICON BUTTON */
.remove-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  background: #e2e8f0;
  border-left: 1px solid #d1d5db;
  cursor: pointer;
  transition: .2s;
}

.remove-btn:hover {
  background: #ef4444;
  color: white;
}

.remove-btn i {
  font-size: 12px;
}

.sortable {
  cursor: pointer;
}

tr:first-child th:first-child {
  border-top-left-radius: 10px;
}

/* Top-right corner */
tr:first-child th:last-child {
  border-top-right-radius: 10px;
}
th[data-column="equipment_name"] { min-width: 150px; }

.sort-icons {
  font-size: 10px;
  margin-left: 5px;
  display: inline-block;
}

.sort-icons span {
  color: #cfcfcf;
  /* dull arrows */
  display: block;
  line-height: 8px;
}

.sort-icons .active {
  color: #000;
  /* active arrow */
}

@keyframes sp-anime {
  100% {
    transform: rotate(360deg);
  }
}

@media screen and (max-width: 801px) {
  .content-top-main {
    flex-direction: column;
  }

  .search-bar-container {
    flex-direction: column;
  }
}

@media screen and (max-width: 768px) {
  .filter-panel {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 999;

    transform: translateX(-100%);
    transition: transform 0.35s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
  }

  .filter-panel.show {
    transform: translateX(0);
  }

  .filter-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    border: 2px solid var(--border-grey-1);
  }

  .data-container-main {
    width: 100%;
  }

  .data-content-container {
    width: 100%;
  }

  .data-container {
    padding: 0px;
    margin: 5px;
  }

  .rwd-table td:first-child {
    background: var(--border-grey-1);
    border: 1px solid #ddd;
  }
}

@media screen and (max-width: 740px) {
  .data-summary {
    flex-direction: column;
    align-items: center;
  }

  .data-summary>.total-item {
    margin: 5px 10px;
  }

}

@media screen and (max-width: 601px) {
  .rwd-table tr:nth-child(2) {
    border-top: none;
  }

  .content-top-main {
    flex-direction: column;
    text-align: center;
  }

  .pagination-count-records {
    flex-direction: column;
  }

  .rwd-table td {

    padding: 10px;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
  }

  .rwd-table td:before {

    font-weight: 500;
    font-size: 11px;
  }

}

@media screen and (min-width: 600px) {
  .rwd-table tr:hover:not(:first-child) {
    background-color: #d8e7f3;
  }

  .rwd-table td:before {
    display: none;
  }

  .rwd-table th,
  .rwd-table td {
    display: table-cell;
    padding: 5px;
  }

  .rwd-table th:first-child,
  .rwd-table td:first-child {
    /* padding-left: 0; */
  }

  .rwd-table th:last-child,
  .rwd-table td:last-child {
    padding-right: 0;
  }

  .rwd-table th,
  .rwd-table td {
    padding: 5px !important;
  }


}







/* Responsive */
@media screen and (max-width: 500px) {
  .input-box {
    /* height: 50px; */
    margin: 0 8px;
  }



  #page_navigation {
    float: unset;
    margin-right: 0px;
  }

  .data-container h1 {

    font-size: 12px;

  }

  #page_navigation>.pagination>li {
    padding: 6px 12px;

    font-size: 12px;
  }



  .input-box i {
    left: 12px;
    font-size: 25px;
  }

  .input-box input {
    padding: 0 112px 0 50px;
  }

  .input-box .button {
    /*   right: 12px; */
    font-size: 14px;
    padding: 8px 18px;
  }
}