﻿
.file-item-template {
    display: flex;
/*    flex-grow: 1;*/
    width: 100%;
}

    .file-item-template .folder-name {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
/*        max-width: 380px;*/
    }

    .file-item-template .file-details {
        display: flex;
        flex-direction: column;
        flex-grow: 1;
        max-width: 500px;
/*        max-width: calc(100% - 67px);*/
    }

        .file-item-template .file-details .file-metadata {
            display: flex;
            max-width: 500px;
        }

            .file-item-template .file-details .file-metadata .file-name {
                max-width: 420px;
                flex-grow: 1;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
            }

            .file-item-template .file-details .file-metadata .file-size {
                font-size: 10px;
                display: flex;
                align-items: center;
                padding-left: 10px;
                color: #999;
            }

        .file-item-template .file-details .upload-status {
            color: #999;
            font-size: 0.7rem;
            height: 0.8rem;
            line-height: 0.7rem;
        }

        .file-item-template .file-details .upload-status-failed {
            color: red;
            font-size: 0.7rem;
            height: 0.8rem;
            line-height: 0.7rem;
        }

.dx-treeview-item-without-checkbox.dx-state-focused > .dx-treeview-item {
    background-color: rgba(0, 0, 0, .04);
    color: #333;
}

.dx-treelist-rowsview .dx-row {
    border-bottom: 1px solid #ddd;
/*    width: 100%;*/
}

    .dx-treelist-rowsview .dx-row .dx-treelist-cell-expandable {
/*        width: 100%;*/
    }
        .dx-treelist-rowsview .dx-row .dx-treelist-cell-expandable .type-icon {
            flex: 0 0 40px;
            align-items: center;
            display: flex;
            font-size: 1.5rem;
            justify-content: center;
        }

        .dx-treelist-rowsview .dx-row .dx-treelist-cell-expandable .fa,
        .dx-treelist-rowsview .dx-row .dx-treelist-cell-expandable .fas {
            font-family: Font Awesome\ 5 Free !important;
        }

.btn-close {
    color: red;
    cursor: pointer;
}

.progressbar-container {
    display: flex;
    height: 16px;
    align-items: center;
}

.progressbar {
    height: 6px;
    background-color: #ddd;
    border-radius: 2px;
    margin-top: 3px;
    display: flex;
    flex-grow: 1;
}

    .progressbar > div {
        position: relative;
        height: 100%;
        background-color: #337ab7;
        -webkit-box-sizing: content-box;
        box-sizing: content-box;
        border-radius: 2px;
        width: 0%;
        -webkit-transition: width 1s ease-in-out;
        -moz-transition: width 1s ease-in-out;
        -o-transition: width 1s ease-in-out;
        transition: width 1s ease-in-out;
    }

.progressbar-container .percentage {
    padding-left: 20px;
    display: flex;
    flex: 0 0 100px;
}


.dx-fileuploader-files-container {
    display: none;
}

.dx-fileuploader-input-wrapper::after,
.dx-fileuploader-input-wrapper::before {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.upload-hide {
    display: none;
}

.dx-button.dx-state-hover, .dx-button.dx-state-focused {
    background-color: #E8F2F4 !important;
}