.files,
#postFormFiles_list {
    padding-left: 0;
}

ul.files {
    list-style: none;
    margin: 0 0 5px;
    padding: 0;

    li.file-preview-item {
        padding-left: 24px;
        display: none;

        .file-fileInfo {
            padding-right: 20px;
        }
    }
}

// File upload list for posts
.contentForm-upload-list {
    padding-left: 0;

    li:first-child {
        margin-top: 10px;
    }
}

.file_upload_remove_link,
.file_upload_remove_link:hover {
    color: @danger;
    cursor: pointer;
}

.file-preview-item {
    text-overflow: ellipsis;
    overflow: hidden;
}

.post-files {
    margin-top: 10px;
    margin-bottom: 10px;

    video {
        border-radius: 4px;
    }

    .jp-audio {
        margin-bottom: 10px;
    }

    .col-media {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    img {
        vertical-align: top;
        padding: 2px;
        height: 150px;
        width: 100%;
        object-fit: cover;
        border-radius: 4px;
    }
}

& when (@isFluid) {
    @media  (min-width: 1200px) and (max-width: 1700px) {
        .post-files img {
            height: 100px;
        }
    }

    @media (min-width: 992px) and (max-width: 1199px) {
        .post-files img {
            height: 80px;
        }
    }

    @media (max-width: 991px) {
        .post-files img {
            height: 100px;
        }
    }
}

& when not(@isFluid) {
    @media (max-width: 650px) {
        .post-files img {
            height: 100px;
        }
    }
}


.post-file-list {
    padding: 10px;
    padding-bottom: 1px;
    margin-bottom: 10px !important;

    a, a:active, a:focus, a:hover {
        color: @link;
    }
}


#wallStream.mobile {
    .post-files {
        margin-top: 10px;
        display: flex;
        overflow-x: auto;

        img {
            max-width: 190px;
            height:100px;
            width:auto;
        }
    }
}

.file-preview-content {
    cursor: pointer;
}

//
// Profile image upload
//
.image-upload-container {
    position: relative;

    .image-upload-buttons {
        display: none;
        position: absolute;
        right: 5px;
        bottom: 5px;
    }

    input[type="file"] {
        position: absolute;

        //background-color: red;
        opacity: 0;
    }

    .image-upload-loader {
        display: none;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        padding: 20px;
        background: #f8f8f8;
    }
}


// Mime-Types
.mime {
    background-repeat: no-repeat;
    background-position: 0 0;
    padding: 1px 0 4px 26px;
}

.mime-word {
    background-image: url("../img/mime/word.png");
}

.mime-excel {
    background-image: url("../img/mime/excel.png");
}

.mime-powerpoint {
    background-image: url("../img/mime/powerpoint.png");
}

.mime-pdf {
    background-image: url("../img/mime/pdf.png");
}

.mime-zip {
    background-image: url("../img/mime/zip.png");
}

.mime-image {
    background-image: url("../img/mime/image.png");
}

.mime-file {
    background-image: url("../img/mime/file.png");
}

.mime-photoshop {
    background-image: url("../img/mime/photoshop.png");
}

.mime-illustrator {
    background-image: url("../img/mime/illustrator.png");
}

.mime-video {
    background-image: url("../img/mime/video.png");
}

.mime-audio {
    background-image: url("../img/mime/audio.png");
}

@media (max-width: 480px) {
    .jp-current-time {
        margin-left: 0 !important;
    }

    .jp-audio {
        width: auto !important;
        margin-left: 0 !important;
    }

    .jp-audio .jp-controls {
        padding: 2px 12px 0 !important;
    }

    .jp-audio .jp-progress {
        left: 3px !important;
        top: 45px !important;
        width: 200px !important;
    }

    .jp-audio .jp-volume-controls {
        position: absolute !important;
        top: 15px !important;
        left: 170px !important;
    }

    .jp-audio .jp-time-holder {
        left: 3px !important;
        top: 60px !important;
        width: 200px !important;
    }

    .jp-audio .jp-toggles {
        left: 210px !important;
        top: 45px !important;
        width: auto !important;
    }

    .jp-playlist ul {
        padding: 0 0 0 0 !important;
    }
}

div.jp-type-playlist div.jp-playlist a.jp-playlist-current, div.jp-type-playlist div.jp-playlist a:hover {
    color: @link !important;
}

.jp-details, .jp-playlist {
    border-top: 1px solid @info;
}

.jp-audio, .jp-audio-stream, .jp-video {
    border: 1px solid @info;
}