/* Upload container */
li.attachment.uploading {
    display: none;
}

body.aiot-currently-sorting > .uploader-window {
    display: none !important;
}

.rml-upload {
    float: right;

    .rml-upload-image,
    .rml-upload-container {
        float: left;
    }

    .rml-upload-image img {
        width: auto;
        max-width: 200px;
        max-height: 89px;
    }

    .rml-upload-container {
        width: 300px;
        margin-left: 15px;
        text-align: left;
        font-size: 12px;

        strong.rml-upload-file {
            display: block;
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
        }

        .rml-upload-folder {
            font-size: 11px;

            .anticon {
                margin-right: 3px;
            }
        }

        .ant-progress-text {
            float: right;
        }

        .rml-upload-progress {
            float: left;
            margin-top: -15px;
            font-size: 1em;
            color: rgba(0, 0, 0, 0.45);
        }

        .rml-upload-deny {
            color: red;
            clear: both;
            padding-top: 10px;

            i {
                color: red;
            }
        }
    }

    .rml-upload-cancel {
        position: absolute;
        bottom: -14px;
        left: 50%;
        width: 100px;
        text-align: center;
        margin-left: -50px;
        padding: 5px 0;
        background: #de7c7c;
        color: white;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        border-radius: 0 0 10px 10px;
        cursor: pointer;
        font-size: 12px;
        line-height: 12px;
    }
}

.ant-message-bottom .rml-upload-cancel {
    top: -22px;
    bottom: initial;
    border-radius: 10px 10px 0 0;
}

/* Media > "Add new" */
.media-item {
    .filename {
        float: left;
    }

    .media-item-rml-folder {
        float: right;
        font-size: 10px;
        padding: 8px;
        color: #808080;
    }
}
