﻿.gf-no-data-found {
  background-image: url(/no-data-found.png);
  background-repeat: no-repeat;
  background-position-x: center;
  background-position-y: inherit;
  min-height: 250px;
}

.gf-grid-column {
  word-wrap: break-word;
  white-space: normal;
}

.gf-grid-pagination {
  display: flex;
  justify-content: center;
}

.gf-main-container {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.gf-grid-container {
  flex: 1;
  overflow: auto;
}

.gf-nav-pagination {
  margin-top: auto;
}

.pagination > li > a {
  margin-top: 15px;
  min-width: 45px;
  height: 35px;
  width: auto;
}

span.gf-filter-icon-wrapper:hover {
  cursor: pointer;
}

.gf-search-icon-wrapper {
  margin-left: 5px;
}

.gf-filter-icon-wrapper {
  margin-left: 5px;
}

.gf-filter-icon-wrapper-selected {
  margin-left: 5px;
  color: #ff6012;
}

.gf-search-button-margin {
  margin-bottom: 9px;
}

.gf-filter-option {
  transform: scale(1.2);
}

.gf-grid-actions {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.gf-input-group .gf-form-control {
  flex-grow: 1;
}

.gf-grid-control {
  border: 1px solid #000000 !important;
  padding-left: 6px !important;
}

.gf-horizontal-scrollbar {
  overflow-x: hidden;
}

.gf-horizontal-scrollbar th {
  min-width: 90px !important;
}

.gf-horizontal-scrollbar::-webkit-scrollbar {
  height: 5px !important;
}

.gf-vertical-scrollbar {
  overflow-x: scroll;
  overflow-y: scroll;
  max-height: 400px;
}

.gf-vertical-scrollbar::-webkit-scrollbar {
  width: 5px !important;
}

.gf-vertical-scrollbar::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 10px;
}

.gf-vertical-scrollbar::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}

.frozen-column {
  position: unset;
  z-index: 1;
  background-color: #fff;
}

.table,
.table > thead > tr > th {
  white-space: nowrap;
}

.gf-side-bar-container {
  width: 100%;
}

.gf-side-bar-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: calc(15 * 42px); /* Set the maximum height to display 10 items */
  overflow-y: auto; /* Enable vertical scrolling */
}

.gf-side-bar-item {
  /* Add styles for non-selected items */
  background-color: #f8f9fa;
  color: #212529;
  cursor: pointer;
  padding: 10px 15px; /* Add padding to make the menu items larger */
  width: 100%; /* Make sure the background color covers the whole row width */
  box-sizing: border-box;
  position: relative; /* Add position relative for the pseudo-element */
}

.gf-side-bar-button {
  background-color: #f8f9fa;
  color: #212529;
  cursor: pointer;
  padding: 10px 15px;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  border: none;
}

.gf-side-bar-item-selected {
  /* Add styles for selected items */
  background-color: #ffd7b5;
  color: #ffffff;
  font-weight: 600;
  color: black;
}

.gf-side-bar-button-selected {
  /* Add styles for selected items */
  background-color: #ff6700;
  color: #ffffff;
  font-weight: 600;
  color: black;
}

.gf-side-bar-item-selected::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5%; /* Set the width of the small bar */
  background-color: #ff6700; /* Set the small bar color */
}

.gf-side-bar-item-hover {
  /* Add styles for hover effect */
  background-color: #ced4da;
}

.gf-side-bar-button:hover {
  background-color: #ced4da;
}

.gf-custom-button {
  margin-bottom: 10px;
  margin-right: 8px;
  margin-top: 5px;
  border: none;
  box-shadow: 0 1px 2px 0 #00000024, 0 0 2px 0 #0000001f;
}

.fa-arrow-up {
  display: inline !important;
}

div.control select + div.text-muted {
  display: none;
}

/* block wrapper */
.search-hint-btn {
  width: 32px;
  height: 35px;
  background-color: #43007a;
  border: none;
  border-radius: 6px;
  padding: 0;
  margin-left: 10px; /* spacing from search icon */
  cursor: pointer;
  display: inline-block;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  line-height: 38px;
  /* Optional transition effect */
  transition: background-color 0.3s ease;
}

/* Optional hover effect */
.search-hint-btn:hover {
  background-color: #752bb3;
}

.search-hint-btn::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background: #ffffff;
  background-repeat: no-repeat;
  background-size: contain;
  cursor: pointer;
  vertical-align: middle;
  clip-path: shape(
    from 91.89% 44.66%,
    line to 89.33% 38.98%,
    line to 83.78% 36.36%,
    line to 89.33% 33.75%,
    line to 91.89% 28.07%,
    line to 94.44% 33.75%,
    line to 100% 36.36%,
    line to 94.44% 38.98%,
    line to 91.89% 44.66%,
    close,
    move to 77.78% 24.77%,
    line to 73.89% 16.36%,
    line to 65.67% 12.39%,
    line to 73.89% 8.41%,
    line to 77.78% 0%,
    line to 81.67% 8.41%,
    line to 89.89% 12.39%,
    line to 81.67% 16.36%,
    line to 77.78% 24.77%,
    close,
    move to 33.33% 100%,
    curve to 26.94% 97.33% with 30.81% 100%/28.69% 99.11%,
    curve to 24.33% 90.8% with 25.2% 95.55%/24.33% 93.37%,
    hline to 42.33%,
    curve to 39.72% 97.33% with 42.33% 93.37%/41.46% 95.55%,
    curve to 33.33% 100% with 37.98% 99.11%/35.85% 100%,
    close,
    move to 15.33% 83.75%,
    vline to 76.93%,
    hline to 51.33%,
    vline to 83.75%,
    hline to 15.33%,
    close,
    move to 15.89% 70%,
    curve to 4.28% 57.78% with 11% 66.74%/7.13% 62.67%,
    curve to 0% 41.25% with 1.43% 52.9%/0% 47.39%,
    curve to 9.89% 17.27% with 0% 32.01%/3.3% 24.02%,
    curve to 33.33% 7.16% with 16.48% 10.53%/24.3% 7.16%,
    curve to 56.78% 17.27% with 42.37% 7.16%/50.19% 10.53%,
    curve to 66.67% 41.25% with 63.37% 24.02%/66.67% 32.01%,
    curve to 62.44% 57.78% with 66.67% 47.39%/65.26% 52.9%,
    curve to 50.78% 70% with 59.63% 62.67%/55.74% 66.74%,
    hline to 15.89%,
    close
  );
}

/* Modal popup base */
.gf-search-hint-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

/* Popup box */
.gf-search-hint-content {
  background-color: #fff;
  margin: 10% auto;
  border-radius: 8px;
  width: 500px;
  max-width: 90%;
  font-family: "Segoe UI", sans-serif;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Header */
.gf-search-hint-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #43007a;
  padding: 10px 15px;
  border-radius: 8px 8px 0 0;
}

.gf-search-hint-title {
  font-size: 20px;
  font-weight: bold;
  color: #fff;
}

.gf-search-hint-close {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
}

.gf-search-hint-img::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 40px;
  background: #fff;
  border-radius: 0 0 8px 8px;
}

.gf-search-hint-body {
  padding: 10px 15px;
  font-size: 14px;
  color: #333;
}

.gf-search-hint-body ol {
  padding-left: 18px;
}

.gf-search-hint-img {
  margin-left: 160px;
  display: inline-block;
  min-width: 125px;
  background-size: contain;
  white-space: nowrap;
  width: 100px;
  padding-left: 100px;
  background-image: url(/buttonbulbicon.png);
  background-repeat: no-repeat;
  background-position: 50% 0;
  height: 100px;
}

.search-input-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}

.styled-input {
  width: 100%;
  padding-left: 12px;
  font-size: 15px !important;
}

.search-placeholder-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background: #707070;
  background-repeat: no-repeat;
  background-size: contain;
  clip-path: shape(
    from 91.89% 44.66%,
    line to 89.33% 38.98%,
    line to 83.78% 36.36%,
    line to 89.33% 33.75%,
    line to 91.89% 28.07%,
    line to 94.44% 33.75%,
    line to 100% 36.36%,
    line to 94.44% 38.98%,
    line to 91.89% 44.66%,
    close,
    move to 77.78% 24.77%,
    line to 73.89% 16.36%,
    line to 65.67% 12.39%,
    line to 73.89% 8.41%,
    line to 77.78% 0%,
    line to 81.67% 8.41%,
    line to 89.89% 12.39%,
    line to 81.67% 16.36%,
    line to 77.78% 24.77%,
    close,
    move to 33.33% 100%,
    curve to 26.94% 97.33% with 30.81% 100%/28.69% 99.11%,
    curve to 24.33% 90.8% with 25.2% 95.55%/24.33% 93.37%,
    hline to 42.33%,
    curve to 39.72% 97.33% with 42.33% 93.37%/41.46% 95.55%,
    curve to 33.33% 100% with 37.98% 99.11%/35.85% 100%,
    close,
    move to 15.33% 83.75%,
    vline to 76.93%,
    hline to 51.33%,
    vline to 83.75%,
    hline to 15.33%,
    close,
    move to 15.89% 70%,
    curve to 4.28% 57.78% with 11% 66.74%/7.13% 62.67%,
    curve to 0% 41.25% with 1.43% 52.9%/0% 47.39%,
    curve to 9.89% 17.27% with 0% 32.01%/3.3% 24.02%,
    curve to 33.33% 7.16% with 16.48% 10.53%/24.3% 7.16%,
    curve to 56.78% 17.27% with 42.37% 7.16%/50.19% 10.53%,
    curve to 66.67% 41.25% with 63.37% 24.02%/66.67% 32.01%,
    curve to 62.44% 57.78% with 66.67% 47.39%/65.26% 52.9%,
    curve to 50.78% 70% with 59.63% 62.67%/55.74% 66.74%,
    hline to 15.89%,
    close
  );
  pointer-events: none;
  opacity: 0.8;
  z-index: 10;
}
