
.clone {
  --x: 0;
  --y: 0;
  --width: 0;
  --height: 0;
  box-sizing: border-box;
  position: absolute;
  width: calc(var(--width) * 1px);
  height: calc(var(--height) * 1px);
  transform: translate(calc(var(--x) * 1px), calc(var(--y) * 1px));
  background: var(--c-surface-bg);
  -webkit-box-shadow: 0 0 0.2rem 0 rgba(79, 79, 79, 0.4);
  -moz-box-shadow: 0 0 0.2rem 0 rgba(79, 79, 79, 0.4);
  box-shadow: 0 0 0.2rem 0 rgba(79, 79, 79, 0.4);
  pointer-events: none;
  will-change: transform;
}

.clone.background {
  --width: 0;
  --height: 0;
  --x: 0;
  --y: 0;
  width: 100%;
  height: calc(var(--height) * 1px);
  transform: translate(calc(var(--x) * 1px), calc(var(--y) * 1px));
  background: var(--c-surface-bg);
  z-index: 996;
}

.clone.highlighted {
  --width: 0;
  --top: 0;
  --duration: 0;
  width: calc(var(--width) * 1px);
  background: var(--c-item-selected);
  opacity: 0.5;
  border-right: 1px solid var(--c-border);
  z-index: 997;
}

.clone.text {
  background: none;
  font-size: var(--font-size-small);
  z-index: 998;
}
.clone.text .col-sort {
  display: none;
}
.clone.text .sticky {
  min-width: 2rem;
}
.clone.text .sticky pragma-checkbox {
  height: 2rem;
  width: 2rem;
}
.clone.text > div {
  display: flex;
  width: 100%;
  height: 100%;
}
.clone.text > div [role=columnheader] {
  border-bottom: 1px solid var(--c-border);
  box-shadow: none;
}
.clone.text [role=columnheader] {
  position: relative;
  border-right: 1px solid var(--c-border);
  height: 100%;
  line-height: 2rem;
  display: flex;
  flex-direction: row;
}
.clone.text [role=columnheader] span {
  font-weight: bold;
}
.clone.text [role=columnheader] .col-resize {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  padding-left: 9px;
  background: transparent;
  border-right: 1px solid var(--c-border);
}

pragma-advanced-grid .col-resize, .pragma-advanced-grid .col-resize {
  cursor: col-resize;
  height: 100%;
  width: 1rem;
  align-self: center;
  display: flex;
  flex-direction: row;
  align-items: center;
}
pragma-advanced-grid .col-resize svg, .pragma-advanced-grid .col-resize svg {
  height: 1.2rem;
  width: 1rem;
  fill: var(--c-border);
}
pragma-advanced-grid .col-resize svg:hover, .pragma-advanced-grid .col-resize svg:hover {
  fill: var(--c-focus);
}
