/* Kolab Files plugin styles for Elastic skin */

.no-viewer-message {
    text-align: center;
    padding: 2em;
    color: #71717a;
}

.no-viewer-message p {
    margin: 1em 0;
}

.download-btn {
    display: inline-block;
    padding: 0.5em 1em;
    background: #1fa37a;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    margin: 0.5em;
}

.download-btn:hover {
    background: #1d6472;
    color: white;
    text-decoration: none;
}

/* Drag-and-drop folder reordering */
#files-folder-list ul.folderlist > li:not(.virtual) > div > a.name {
    cursor: grab;
}

#files-folder-list ul.folderlist > li:not(.virtual) > div > a.name:active {
    cursor: grabbing;
}

#files-folder-list ul.folderlist.reordering {
    user-select: none;
}

#files-folder-list ul.folderlist .kolab-files-sort-placeholder {
    list-style: none;
    background: rgba(66, 139, 202, 0.12);
    border: 1px dashed #1fa37a;
    border-radius: 3px;
    margin: 2px 0;
    visibility: visible !important;
}

#files-folder-list ul.folderlist > li.ui-sortable-helper {
    opacity: 0.85;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
/* File viewer (action=open): no "Properties" side panel - the preview gets the
   full width. The Properties button (only shown on narrow screens, where it
   slides that panel in) goes with it. */
body.task-files.action-open #layout-sidebar,
body.task-files.action-open #properties-button {
    display: none !important;
}
