.list-item-input {
  height: 37px;
  border: none;
  background-color: var(--toolbar-background);
  padding: 0;
  padding-left: 15px;
  appearance: none;
  -webkit-user-select: none;
  outline: none;
  font-size: 16px;
  color: white;
  width: 100%;
  box-sizing: border-box;
  flex-shrink: 0;
  position: -webkit-sticky;
  top: 0px;
  z-index: 2;
  border-radius: 0px;
}

.list-item {
  position: relative;
  margin-left: 5px;
  margin-top: 5px;
  margin-bottom: 0px;
  padding-left: 10px;
  box-sizing: border-box;
  cursor: grab;
  z-index: 1;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.list-container {
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex-grow: 1;
  padding-bottom: 50px;
  touch-action: pan-y;
}

.label-wrapper::after {
  content: " ";
  position: absolute;
  top: -5px;
  left: -15px;
  right: -2px;
  bottom: -5px;
  opacity: 1;
  z-index: -1;
}

.list-item.selected > .label-wrapper::after {
  background: var(--header-background);
}

.label-wrapper {
  position: relative;
  display: flex;
  align-content: center;
  align-items: center;
  width: 100%;
  min-height: 14px;
}

.label-wrapper::before {
  content: " ";
  position: absolute;
  top: 50%;
  left: -13px;
  right: 0;
  /* bottom: -5px; */
  opacity: 1;
  border-radius: 3px;
  transform: translateY(-55%);
}

.list-item.parent > .label-wrapper::before {
  color: var(--highlights-body);
  content: var(--button-content, "▹");
  font-family: monospace;
  font-size: 18px;
}

.nested-list-item.collapsed {
  display: none;
}

.list-column {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.list-column.hiddenEditor,
#sortable-column.hiddenEditor {
  display: none;
}

/* for styling the scroll bar */
/* Otherwise, use `::-webkit-scrollbar-*` pseudo-elements */
@supports selector(::-webkit-scrollbar) {
  .list-column::-webkit-scrollbar {
    /* display: none; */
    /* width: 0px; */
    /* background: transparent; */
  }
  .list-column::-webkit-scrollbar-thumb {
    /* background: cornflowerblue; */
  }
}

@media (min-width: 1082px) {
  .list-column {
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .list-item-input {
    top: 0px;
  }
  .column-controls {
    top: 0px;
  }
}

.list-item.selected > .label-wrapper > .delete-button {
  display: inline-flex;
}

.li-content {
  z-index: 10;
}

.list-item.parent > .nested-list-item {
  padding-top: 5px;
}

.sortable-tag.parent > .nested-sortable {
  padding-top: 5px;
}

.nested-list-item,
.nested-sortable {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.li-content.red {
  background-color: rgba(200, 2, 2, 0.3);
  color: red;
  border-radius: 3px;
  padding: 0 5px;
}

.li-content.blue {
  background-color: rgba(0, 120, 255, 0.2);
  color: #007bff;
  border-radius: 3px;
  padding: 0 5px;
}

.li-content.green {
  background-color: rgba(40, 167, 69, 0.2);
  color: #28a745;
  border-radius: 3px;
  padding: 0 5px;
}

.li-content.yellow {
  background-color: rgba(255, 193, 7, 0.2);
  color: #d39e00;
  border-radius: 3px;
  padding: 0 5px;
}

.li-content.purple {
  background-color: rgba(111, 66, 193, 0.2);
  color: #6f42c1;
  border-radius: 3px;
  padding: 0 5px;
}

.list-tile {
  flex-direction: row;
  align-items: center;
}

.listtile-symbol {
  font-size: small;
  margin: 0px 2px;
}

.listtile-heading {
  margin-left: 5px;
}
