/*[File Management]*****************************************************************************************/
:root {
    --file-manager-index: 1055;
}

.file-manager{ height: 92%; }
.modal-body.file-manager{ overflow-y: scroll; }
.fm-card-review{ font-size: 2em; }
/* icon folder color */
.fm-card-review i.fa-folder { color: var(--folder-icon-color); }
/* icon file color */
.fm-item-active .fm-card-review i.fa-file{ color: #ffffff; }
.fm-card-review i.fa-file { color: var(--file-icon-color); }
.fm-card-panel{ width: 65%; }
.fm-card-name {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.fm-card button {
    width: 49px;
    height: 49px;
    font-size: 1.4em !important;
}

.fm-breakcrumb{
    z-index: 2;
    font-size: 1.5em;
    background: #636f72;
    align-self: flex-start;
}

.fm-error {
    font-size: 1.2em;
    font-weight: 500;
}

.fm-item-active{
    background: var(--selected-list-color);
    color: white;
}
.fm-active{ animation: fm-active 0.25s linear; }

@keyframes fm-active {
    from{

       transform: rotate(0deg), scale(1);
    }
    50%{
       transform: scale(0.6);
    }
    to{

        transform: rotate(360deg), scale(1);
    }
}

.modal-fm-background{
    background: #323232cc;
    z-index: 1055 !important;
}

#fileManagerModal button.close{
    color: white;
    font-size: 29px !important;
}

.file-manager i.fa.fa-chevron-right.text-secondary {
    color: #888888 !important;
}

.fm-path-chunk {
    display: flex;
    align-items: center;
}

.fm-path-chunk span {
    max-width: 115px;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    text-overflow: ellipsis;
}

@media screen and (min-width: 1200px) {
    .fm-path-chunk span {
        max-width: 200px;
    }
}

/* HieuLe update scroll bar breadcumb path */
#fileManagerModal .fm-path::-webkit-scrollbar-thumb {
    background: #b4b4b4;
    border-radius: 5px;
}

#fileManagerModal .fm-path::-webkit-scrollbar-track {
    background: #f0f0f0;
    width: 0px;
    border-radius: 5px;
}

#fileManagerModal .fm-path::-webkit-scrollbar {
    width: 0;
    height: 5px;
}
#fileManagerModal .modal-footer .btn {
    display: flex;
    align-items: center;
    justify-content: center;
}
#fileManagerModal .modal-footer {
    padding: 0.25rem;
}
/* New Folder Modal */
#newFolderModal { z-index: calc(var(--file-manager-index) + 1) !important; }
/* [Domino][1.0.5.G] 04/04/2024 - SoPhol.Truong: Update */
#fileManagerModal button[tag="copy"] a,
#fileManagerModal button[tag="paste"] a,
#fileManagerModal button[tag="delete"] a {
    width: 30px;
    height: 30px;
}
/* Copy */
#fileManagerModal button[tag="copy"] a {
    background-image: url("/theme/domino/img/Icon_Copy_Enabled_30x30.png");
}
#fileManagerModal button[tag="copy"]:disabled a {
    background-image: url("/theme/domino/img/Icon_Copy_Disabled_30x30.png");
}
/* Paste */
#fileManagerModal button[tag="paste"] a {
    background-image: url("/theme/domino/img/Icon_Paste_Enabled_30x30.png");
}
#fileManagerModal button[tag="paste"]:disabled a {
    background-image: url("/theme/domino/img/Icon_Paste_Disabled_30x30.png");
}
/* Delete */
#fileManagerModal button[tag="delete"] a {
    background-image: url("/theme/domino/img/Icon_Delete_Enabled_30x30.png");
}
#fileManagerModal button[tag="delete"]:disabled a {
    background-image: url("/theme/domino/img/Icon_Delete_Disabled_30x30.png");
}