@media (min-width: 1200px) {
    .modal-lg {
        width: 1100px !important;
    }
}

.modal-file-manager .modal-header .modal-title {
    float: left;
}

.modal-file-manager .modal-content {
    border-radius: 4px;
}

.modal-file-manager .modal-body {
    padding: 0;
}

.file-manager {
    width: 100%;
    max-width: 100%;
    display: table;
}

.file-manager-content {
    height: 422px;
    overflow-y: auto;
}

.file-manager-left {
    width: 250px;
    display: table-cell;
    border-right: 1px solid #eee;
    vertical-align: top;
    padding: 15px;
}

.file-manager-right {
    display: table-cell;
    vertical-align: top;
    padding: 15px;
}

.file-manager-left .btn-upload {
    display: block;
    font-size: 14px;
    position: relative;
    cursor: pointer !important;
    padding: 8px 14px;
}

.file-manager-left .btn-upload span {
    cursor: pointer !important;
    z-index: 10 !important;
}

.file-manager-left .btn-upload input {
    cursor: pointer !important;
}

.col-file-manager {
    float: left;
    width: auto;
    padding: 5px;
}

.file-box {
    display: block;
    width: 100%;
    border: 1px solid #eee;
    cursor: pointer;
    text-align: center;
    position: relative;
    border-radius: 2px;
}

.file-box .image-container {
    display: block;
    width: 122px;
    height: 100px;
    overflow: hidden;
    text-align: center;
    border-radius: 2px;
}

.file-box .icon-container {
    padding: 10px;
    height: 110px;
}

.file-box .image-container img {
    margin: 0 auto;
    position: relative;
    width: auto;
    min-width: 100%;
    max-width: none;
    height: 100%;
    margin-left: 50%;
    transform: translateX(-50%);
    object-fit: cover;
}

.file-box .file-name {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    font-size: 12px;
    line-height: 14px;
    background-color: #f4f4f4;
    padding: 2px;
    display: block;
    text-align: center;
    word-break: break-all;
}

#audio_file_manager .file-box, #video_file_manager .file-box {
    height: 132px;
    text-align: center;
    text-overflow: ellipsis;
    overflow: hidden;
}

.file-icon {
    width: 80px;
    margin: 0 auto;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
}

.file-manager .selected {
    box-shadow: 0 0 3px rgba(40, 174, 141, 1);
    border: 1px solid rgba(40, 174, 141, 1);
}

.file-manager-footer {
    margin-left: 235px;
}

.btn-file-delete {
    display: none;
}

.btn-file-select {
    display: none;
}

.file-manager-list-item-name {
    width: 100%;
    padding: 0 5px;
    margin: 0;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
}

.input-file-label {
    width: 190px;
    background-color: #5bc0de;
    color: #fff;
    text-align: center;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    padding: 0 5px;
    font-size: 12px;
}

.loader-file-manager {
    display: none;
    position: relative;
    width: 100%;
    text-align: center;
    margin-top: 10px;
}

.loader-file-manager img {
    position: relative;
    width: 50px;
    height: 50px;
}

.file-manager-search {
    position: absolute;
    margin-left: 235px;
}

.file-manager-search input {
    border-radius: 2px;
    width: 300px;
}

.dm-uploaded-files .bg-success {
    background-color: #28a745;
}

.file-manager-file-types {
    width: 100%;
    position: relative;
    margin: 0;
    left: 0;
    right: 0;
    top: 15px;
    text-align: center;
}

.file-manager-file-types span {
    display: inline-block;
    font-size: 11px;
    margin-right: 2px;
    margin-bottom: 2px;
    color: #979ba1 !important;
    padding: 2px 4px;
    border: 1px dashed #dce0e6 !important;
    border-radius: 2px;
}

@media (max-width: 900px) {
    .file-manager-left {
        display: block !important;
        width: 100% !important;
        float: left;
    }

    .file-manager-right {
        display: block !important;
        width: 100% !important;
        float: left;
    }

    .file-manager-footer {
        margin-left: 0 !important;
    }

    .file-manager-search {
        position: relative;
        margin: 0;
        margin-top: 5px;
        display: block;
    }

    .file-manager-search input {
        width: 100%;
    }
}
