/*[File Management]*****************************************************************************************/
:root {
    --file-manager-index: 1055;
}

.file-manager{ height: 92%; }
.file-manager button.close:focus {
    box-shadow: unset !important;
    background: transparent;
    outline: unset;
    border-color: unset;
}

.file-manager button:focus {
    box-shadow: unset !important;
    border-color: var(--main-color);
    background-color: var(--main-color);
    outline: unset;
}
.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-card-review i.fa-file { color: var(--file-icon-color); }
.fm-card-panel{ width: 53%; }
.fm-card-name {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.fm-card button {
    width: 50px;
    height: 50px;
    font-size: 1.4em;
}

.fm-breakcrumb{
    z-index: 2;
    /* font-size: 1.4em; */
    /* [1.0.3.2] 20/03/2023 - SoPhol.Truong: add */
    font-size: 1.2em;
    background: var(--main-color);
}

.fm-error {
    font-size: 1.2em;
    font-weight: 500;
}

.fm-item-active{ background: var(--setting-title-active-color); }
.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: rgba(0, 0, 0, 0.5);
    /* z-index: 1055 !important; */
    z-index: var(--file-manager-index) !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; }