.dept-setting__container {
    position: relative;
    padding-top: 22px;
}

.dept-setting-table {
    border: none !important;
}

.dept-setting-table .tabulator-tableholder {
    background-color: var(--people-color-white) !important;
    overflow: visible !important;
    scrollbar-width: none;
}

.dept-setting-table .tabulator-tableholder::-webkit-scrollbar {
    display: none;
}

.dept-setting-table .tabulator-header {
    height: 29px !important;
    border-bottom: 1px solid var(--people-border-gray) !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    background-color: var(--people-color-white) !important;
}

.dept-setting-table .tabulator-header .tabulator-header-contents,
.dept-setting-table .tabulator-header .tabulator-headers {
    height: 29px !important;
}

.dept-setting-table .tabulator-header .tabulator-col {
    border-right: none !important;
    border-left: none !important;
    background-color: var(--people-color-white) !important;
    height: 29px !important;
    display: inline-flex !important;
    align-items: center !important;
}

.dept-setting-table .tabulator-header .tabulator-col .tabulator-col-content {
    padding: 0px 0px 0px 10px !important;
    height: 29px !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
}

.dept-setting-table .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title-holder {
    width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
}

.dept-setting-table .tabulator-col-title {
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    overflow: hidden !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    color: #333333;
}

.dept-setting-table .tabulator-row {
    background-color: transparent !important;
    border-bottom: 1px solid var(--people-border-gray) !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    background-color: var(--people-color-white) !important;
    height: 50px;
    cursor: default !important;
}

.dept-setting-table .tabulator-moving {
    background-color: var(--people-border-gray) !important;
}

.dept-setting-table .tabulator-row-placeholder {
    background-color: var(--people-bg-blue-light) !important;
}

.dept-setting-table .tabulator-cell {
    border-right: none !important;
    border-left: none !important;
    border-top: none !important;
    font-size: var(--people-font-size-s);
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
}

.dept-setting-table .cell-checkbox {
    justify-content: center !important;
}

.dept-setting-table .index-padding {
    padding: 14px 10px;
}

.dept-setting-table .font-size-14 {
    font-size: var(--people-font-size-md);
    font-weight: bold;
}

.dept-setting-table .tabulator-row .tabulator-cell {
    height: 100% !important;
    padding: 0px 0px 0px 10px !important;
}

.dept-setting-table .tabulator-col.dept-setting-padding-left-15 .tabulator-col-content,
.dept-setting-table .tabulator-cell.dept-setting-padding-left-15 {
    padding-left: 15px !important;
}

.dept-setting-table .tabulator-row .tabulator-cell .tabulator-data-tree-branch {
    width: 15px !important;
    height: 15px !important;
    border-bottom: 1px solid var(--people-color-gray-medium) !important;
    border-left: 1px solid var(--people-color-gray-medium) !important;
}

.dept-setting-table .tabulator-row .tabulator-cell .tabulator-data-tree-control {
    background: none !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    border: none !important;
    margin-right: 0px !important;
    vertical-align: bottom;
    width: 0px !important;
}

.dept-setting-table .tabulator-row .tabulator-cell .tabulator-data-tree-control-collapse,
.dept-setting-table .tabulator-row .tabulator-cell .tabulator-data-tree-control-expand {
    display: none !important;
}

.dept-setting__tree-icon {
    width: 25px !important;
    height: 25px !important;
    margin-right: 5px !important;
}

.dept-setting-table .detail-button {
    background-color: var(--people-color-orange);
    color: var(--people-color-white);
    border: none;
}

.dept-setting__represent-checkbox {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 20px !important;
    height: 20px !important;
    border: 1px solid var(--people-color-gray-slate);
    position: relative;
    border-radius: 3px;
    margin: 0px !important;
    cursor: pointer !important;
}

.dept-setting__represent-checkbox:focus {
    outline: none !important;
}

.dept-setting__represent-checkbox:checked {
    background-color: var(--people-color-orange);
    border-color: var(--people-color-orange);
}

.dept-setting__represent-checkbox:checked::after {
    content: '\2713';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--people-color-white);
    font-size: var(--people-font-size-md);
    font-weight: bold;
}

.dept-setting__represent-checkbox--disabled {
    background-color: var(--people-color-gray-medium) !important;
    border-color: var(--people-color-gray-slate) !important;
    cursor: not-allowed !important;
}

.dept-setting__represent-checkbox--disabled:not(:checked)::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 130%;
    height: 1px;
    background-color: var(--people-color-gray-slate);
    transform: translate(-50%, -50%) rotate(-45deg);
}

.dept-setting__drag-handle {
    width: 20px;
    height: 20px;
    min-width: 20px;
    background-image: url('/App/modules/people/assets/icons/icon_list.svg');
    background-size: 20px;
    background-position: center;
    background-repeat: no-repeat;
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
    flex-shrink: 0;
    cursor: move !important;
}

.dept-setting__header-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

.dept-setting__header-title-text {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dept-setting__header-info-icon {
    width: 10px;
    height: 10px;
    margin-left: 2px;
    flex-shrink: 0;
}

.dept-setting__text-ellipsis-custom {
    display: block;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.dept-setting-is-dragging,
.dept-setting-is-dragging *,
.dept-setting-is-dragging .dept-setting-table .tabulator-row,
.dept-setting-is-dragging .dept-setting-table .tabulator-cell {
    cursor: move !important;
}

.dept-setting__index-drag-handle {
    cursor: move !important;
    display: inline-flex;
    align-items: center;
    height: 100%;
}
