/* 顏色、按鈕、表單、分頁、彈窗的外觀改由 admin-ds.css（前台設計系統）負責；這裡只留版面 */
.sidebar-icon-only .sidebar-category {
    display: none;
}

.icon-only-sidebar-category {
    display: none;
}

.sidebar-icon-only .icon-only-sidebar-category {
    display: block;
}

.nav-header {
    padding: 10px 15px 0px 15px;
}

.preview-item-content {
    padding-top: 5px;
}

.necessary-input-dot {
    width: 10px;
    height: 10px;
    border-radius: 20px;
    background-color: #C97300;
}

.table-contents {
    background: #F5F5F7;
    padding: 10px 20px;
}

.ctl-collapse {
    float: right;
    cursor: pointer;
}

.editor-breadcrumb {
    position: absolute;
    margin-top: -25px;
    line-height: 25px;
}

@media screen and (min-width: 993px) {
    #sidebar {
        height: 100vh;
        position: fixed;
        overflow-y: auto;
    }

    #sidebar::-webkit-scrollbar {
        width: 5px;
    }
    
    #sidebar::-webkit-scrollbar-thumb {
        background-color: #d3d3d3;
        background-image: linear-gradient(to top, #d3d3d3 0%, #b5b5b5 100%);
    }
    
    .container-main .container-fluid {
        margin-left: 240px;
    }

    .sidebar-icon-only .container-fluid {
        margin-left: 70px !important;
    }
}

.red {
    color: red;
}