body.dragging, body.dragging * {
    cursor: move !important;
}

.sortable-dragged {
    position: absolute;
    opacity: 0.75;
    background: rgba(255, 250, 144, 0.25);
    z-index: 2000 !important;
}

.sortable-placeholder {
    position: relative;
    margin: 0;
    padding: 0;
    height: 16px;
    background: rgba(255, 250, 144, 0.5);
}
.sortable-placeholder:before {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    margin-top: -5px;
    left: -5px;
    top: -4px;
    border: 5px solid transparent;
    border-left-color: red;
    border-right: none;
}

.wikicontent {
    clear: both;
}

.wikisidebar {
    height: 100%;
    resize: horizontal;
  /*  overflow: auto; */
    max-width: 75% !important;
    min-width: 384px !important;
}

.wikipage {
    padding-bottom: 5px;
    padding-top: 5px;
    text-align: left;
    white-space: nowrap;
    line-height: normal !important;
}

li.wikipage.active {
    width: -webkit-fill-available;
}

.wikibranch {
    width: calc(100% - 24px);
    display: inline-block;
}
.wikibranch:hover {
    cursor: move;
    background: rgba(255, 250, 144, 0.25);
}

.wikilink {
    padding-top: 3px;
    padding-bottom: 3px;
    padding-left: 10px;
    padding-right: 10px;
    white-space: nowrap;
    z-index: 1;
}
.wikilink.active {
    box-shadow: 0 0 10px #777777 inset;
	margin-right: 30px;
}

a.wikilink {
	width: inherit !important;
}

a.wikilink.wikitable {
	line-height: 1rem !important;
}

#wikitree {
    list-style-type: none;
}
#wikitree .indent, .separator {
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    border: 0;
    background: transparent;
    padding-right: 3px;
    padding-left: 3px;
    cursor: default;
    color: transparent;
}
#wikitree .branch, #wikitree .action, #wikitree .sortable-handle, #wikilist .action, #wikiedition .action, .expandAll, .collapseAll, .gotoSelected {
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    border: 0;
    background: transparent;
    padding-right: 3px;
    padding-left: 3px;
    cursor: pointer;
    position: relative;
    z-index: 2;
}
#wikitree .sortable-handle, .actionBigger {
    font-size: 1.2em !important;
    padding-right: 5px !important;
    padding-left: 5px !important;
}
#wikitree li:last-child, #wikilist li:last-child {
    margin-bottom: 0px !important;
}
#wikitree button a .fa, #wikilist button a .fa, #wikiedition button a .fa {
    color: var(--link-color-primary);
}
