#file-preview-portlet {

    #search-results-content {

        > ul {
            margin: 15px 0 0 0;
            list-style: none;

            > li {
                margin-bottom: 50px;

                h2 {
                    margin: 0;
                }
            }
        }

        .search-results-image {
            box-shadow: 0 0 2px #cccccc;
            display: block;
            margin-left:auto;
            margin-right:auto;
        }

        icon {
            max-width: 128px;
            max-height: 128px;
            background: #efefef;
            line-height: 128px;
            font-size: 3em;
            display: block;
            text-align: center;
        }

        h2,
        .item-abstract {
            -webkit-hyphens: auto;
            -moz-hyphens: auto;
            hyphens: auto;
            margin-top: 7px;
        }

        dl {
            margin-top: 7px;
            margin-bottom: 7px;
        }

        dt {
            float: left;
            margin-right: 5px;
            color: #999;
            font-weight: inherit;
        }

        dd {
            margin-bottom: 2px;
        }

        .extra-column {
            text-align: center;
        }

        .sidebar {
            font-size: 1.6em;
            padding: 8px 0;
            &.not-last {
                border-bottom: 1px dotted #cccccc;
            }
            a, span {
                text-decoration: none;
                padding: 5px;
            }
            a {
                cursor: pointer;
            }
            .move-file {
                cursor: move;
            }
            &:hover {
                background-color: aliceblue;
            }
        }

        .search-result-image-link:hover {
            text-decoration: none;
        }

        .error-icon {
            font-size: 120px;
            height: 128px;
            width: 100px;
            text-align: center;
            line-height: 128px;
            font-weight: lighter;
        }

        .missing-file-box {
            margin: 10px 0 0 0;
        }

        .invalid-file {
            opacity: 0.5;
        }

        .item-authors span {
            margin-right: 5px;
            &.author-name.csv:after {
                content: ",";
            }
        }

        .placeholder {
            background: #fff;
            height: 80px;
            border: 1px dashed #ccc !important;
        }
    }

    .checkbox-visible.table-cell {
        font-size: 1.4em;
        text-align: center;

        .concealable {
            cursor: pointer;

            .icon-ok {
                color: green;
                vertical-align: middle;
            }
            .icon-remove {
                color: red;
                vertical-align: middle;
            }
        }

        .not-concealable {
            .icon-ok {
                color: gray;
                vertical-align: middle;
            }
            .icon-remove {
                color: darkgray;
                vertical-align: middle;
            }
        }
    }

    .table-header.checkbox-visible {
        width: 10%;
    }

    .table-header.metadata-key {
        width: 25%;
    }

    .table-title {
        font-size: 1.2em;
        margin-bottom: 10px;
    }

    .metadata-editable.table-cell:hover {
        text-decoration: underline;
        cursor: pointer;
        background-color: aliceblue;
    }

}

#_20_documentLibraryContainer {

    .navigation-pane,
    #_20_addButtonContainer,
    #_20_allRowIdsCheckbox,
    #_20_syncNotification,
    #_20_showSyncMessageIcon,
    #_20_breadcrumbContainer li,
    .dropdown:not(#_20_sortButtonContainer),
    .entry-selector,
    .entry-action,
    .subscribe-action,
    .table-cell.first,
    .table-cell.last,
    .table-first-header,
    .table-last-header {
        display: none;
    }

    #_20_breadcrumbContainer li.visible {
        display: inline;
    }

    .context-pane {
        margin-left: 0;
        width: 100%;
    }
}

#select-file-dialog {

    .share-folder-label {
        margin-right: 1em;
        display: inline;
        vertical-align: middle;
    }

    .yui3-widget-ft.modal-footer {
        border-top: none;
        padding-bottom: 0;
        background-color: white;
    }

    .nav.nav-tabs {
        margin-bottom: 0;
    }

    li.tab {
        cursor: pointer;
    }

}