/* stylelint-disable declaration-property-value-disallowed-list, declaration-no-important */
:root {
  --rgt-background-color: rgb(255, 255, 255);
  --rgt-shadow-color: rgb(0 0 0 / .25);
  --rgt-border-color: #eee;
  --rgt-button-color: #125082;
  --rgt-color1: #fff;
  --rgt-color2: #c5c5c5;
  --rgt-color3: #9e9e9e;
  --rgt-color4: #ff0;
  --rgt-color5: #f5f5f5;
  --rgt-border: 1px solid var(--rgt-border-color);
}

/* general */

.rgt-text-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rgt-clickable {
  cursor: pointer;
}

.rgt-disabled {
  cursor: not-allowed;
}

.rgt-disabled-button {
  cursor: not-allowed !important;
  background: var(--rgt-color2) !important;
}

.rgt-flex-child {
  flex: 1;
}

.rgt-wrapper * {
  box-sizing: border-box;
}

.rgt-wrapper ::-webkit-scrollbar-track {
  background-color: #f5f5f5;
}

.rgt-wrapper ::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  background-color: #f5f5f5;
}

.rgt-wrapper ::-webkit-scrollbar-thumb {
  background-color: #ddd;
  border: 2px solid #d8d8d8;
}

/* elements */

.rgt-wrapper {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 388px;
}

.rgt-container {
  position: relative;
  width: 100%;
}

.rgt-cell {
  display: flex;
  align-items: center;
  height: 100%;
  min-height: 48px;
}

.rgt-cell-inner {
  display: block;
  width: 100%;
  margin: 0 20px;
  gap: .938rem;
}

.rgt-cell-inner .badge {
  min-width: 4.188rem;
}

.rgt-cell-header {
  z-index: 1;
  display: flex;
  width: 100%;
  min-height: 48px;
  max-height: 48px;
  user-select: none;
}

.rgt-cell-header-virtual-col {
  z-index: 2;
  background: var(--rgt-background-color);
  border-bottom: var(--rgt-border);
}

.rgt-cell-header-inner {
  position: relative;
  display: flex;
  flex: 1;
  align-items: center;
  width: 100%;
  padding: 0 20px;
  overflow: hidden;
  background-color: transparent;
}

.rgt-cell-header-inner-checkbox {
  justify-content: center;
  padding: 0;
}

.rgt-placeholder-cell {
  position: relative;
  display: inline-block;
  width: 100%;
  height: 20px;
  margin: 0 20px;
  overflow: hidden;
  background-color: #eee;
  border-radius: 2px;
}

.rgt-placeholder-cell::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  content: "";
  background-image:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0) 0,
      rgba(255, 255, 255, .2) 20%,
      rgba(255, 255, 255, .5) 60%,
      rgba(255, 255, 255, 0)
    );
  transform: translateX(-100%);
  animation: loading 1.5s infinite;
}

@keyframes loading {
  100% {
    transform: translateX(100%);
  }
}

.rgt-resize-handle {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  width: 10px;
  height: 100%;
  cursor: w-resize;
}

.rgt-footer {
  z-index: 1;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow-x: auto;
  overflow-y: hidden;
  font-weight: 500;
  background: var(--rgt-background-color);
  border-top: var(--rgt-border);
}

.rgt-footer-items-information {
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  white-space: nowrap;
}

.rgt-footer-clear-selection-button {
  display: inline-flex;
  margin-left: 5px;
}

.rgt-footer-page-size {
  display: flex;
}

.rgt-footer-page-size-select {
  margin-right: 20px;
  margin-left: 10px;
  cursor: pointer;
  border-color: var(--rgt-border-color);
  border-radius: 4px;
}

.rgt-footer-page-input {
  flex: 1;
  max-width: 52px;
  padding: 0 0 0 5px;
  margin: 0 10px -2px;
  line-height: 22px;
  border: var(--rgt-border);
  border-radius: 4px;
  outline: none;
}

.rgt-footer-right-container {
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  white-space: nowrap;
}

.rgt-footer-pagination {
  display: flex;
}

.rgt-footer-pagination-input-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 10px 0 20px;
}

.rgt-footer-pagination-button {
  position: relative;
  display: block;
  min-width: 60px;
  min-height: 24px;
  max-height: 24px;
  padding: 0 12px;
  margin-left: 10px;
  font-size: 12px;
  color: var(--rgt-color1);
  cursor: pointer;
  background: var(--rgt-button-color);
  border: none;
  border-radius: 4px;
  outline: none;
  box-shadow: 1px 1px 1px 0 var(--rgt-shadow-color);
}

.rgt-cell-checkbox {
  box-sizing: border-box;
  justify-content: center;
  padding: 0 16px;
  background: var(--rgt-background-color);
}

.rgt-sort-icon {
  display: inline-flex;
  margin-left: 5px;
  font-size: 16px;
}

.rgt-container-overlay {
  position: absolute;
  top: 99px;
  right: 0;
  bottom: 57px;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 700;
  color: var(--rgt-color3);
  pointer-events: none;
}

.rgt-column-sort-ghost {
  z-index: 2;
}

.rgt-header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;

}

.rgt-search-highlight {
  background: var(--rgt-color4);
}

.rgt-columns-manager-wrapper {
  position: relative;
  z-index: 3;
  display: inline-flex;
  padding: 10px;
}

.rgt-columns-manager-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  cursor: pointer;
  background: transparent;
  border: none;
  border-radius: 50%;
  outline: none;
  transition: background .2s ease;
}

.rgt-columns-manager-button:hover,
.rgt-columns-manager-button-active {
  background: var(--rgt-color5);
}

.rgt-columns-manager-popover {
  position: absolute;
  top: 80%;
  right: 50%;
  display: inline-flex;
  flex-direction: column;
  min-width: 200px;
  padding: 10px 0;
  background: var(--rgt-background-color);
  border-radius: 2px;
  box-shadow: 1px 1px 4px 0 var(--rgt-shadow-color);
  transition: transform .1s ease-out;
  transform: scale(0);
  transform-origin: top right;
}

.rgt-columns-manager-popover-open {
  transform: scale(1);
}

.rgt-columns-manager-popover-row {
  position: relative;
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
}

.rgt-columns-manager-popover-title {
  padding: 0 20px;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
}

.rgt-columns-manager-popover-row > label {
  width: 100%;
  padding: 5px 40px 5px 20px;
}

.rgt-columns-manager-popover-row > input {
  position: absolute;
  right: 20px;
  margin: 0;
  pointer-events: none;
}

.rgt-columns-manager-popover-row:hover {
  background: var(--rgt-color5);
}

.rgt-columns-manager-popover-body {
  display: inline-flex;
  flex-direction: column;
  width: 100%;
  max-width: 300px;
  height: 100%;
  max-height: 290px;
  overflow: auto;
}

.rgt-search-container {
  z-index: 1;
  display: inline-flex;
  flex: 1;
  width: 100%;
  padding: 10px 10px 10px 20px;
}

.rgt-search-label {
  display: inline-flex;
  align-items: center;
  margin-right: 5px;
  font-size: 16px;
  font-weight: 500;
  line-height: 30px;
}

.rgt-search-icon {
  display: inline-block;
  margin-right: 5px;
  font-size: 22px;
  color: var(--rgt-color2);
  transform: rotate(-35deg);
}

.rgt-search-input {
  flex: 1;
  width: 100%;
  padding: 0;
  margin-right: 10px;
  font-size: 16px;
  line-height: 30px;
  border: none;
  outline: none;
}

.rgt-cell-editor-inner {
  position: relative;
  width: 100%;
  height: 30px;
}

.rgt-cell-editor-input {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 0;
  font-family: inherit;
  font-size: 16px;
  border: none;
  border-bottom: var(--rgt-border);
  outline: none;
}

.rgt-cell-header-sticky {
  position: sticky;
  top: 0;
}

.rgt-cell-header-not-sticky {
  position: relative;
}

.rgt-cell-header-pinned {
  position: sticky;
  z-index: 2;
}

.rgt-cell-header-pinned-left {
  left: 0;
}

.rgt-cell-header-pinned-right {
  right: 0;
}

.rgt-cell-pinned {
  position: sticky;
  z-index: 1;
}

.rgt-cell-pinned-left {
  left: 0;
}

.rgt-cell-pinned-right {
  right: 0;
}

[data-row-index] > div {
  padding: 0;
}
.rgt-row-hover {
  cursor: pointer;
  background: var(--bs-bg-rgt-hover);
}

.rgt-border-line::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 2px;
  height: 20px;
  content: "";
  background-color: var(--bs-rgt-border-line);
  transform: translateY(-50%);
}

.rgt-border-line:first-child::before {
  display: none;
}

/* stylelint-enable declaration-property-value-disallowed-list, declaration-no-important */
