/* DocMind – PDF Library: list of PDFs on the site. Inherits the theme's font and colors. */

.docmind-attachments {
    margin: 2em 0;
}

.docmind-attachments .docmind-attachments-title {
    margin-bottom: .5em;
}

.docmind-attachments-group {
    margin-bottom: 1.5em;
}

.docmind-attachments-group h3 {
    margin: 1em 0 .4em;
}

/* Folders: indented by level, with a line on the left and a folder icon before the name */
.docmind-attachments-folder {
    margin-bottom: .5em;
    padding-left: 1em;
    border-left: 2px solid rgba(128, 128, 128, .3);
}

.docmind-attachments-folder .docmind-attachments-folder {
    margin-top: .5em;
    margin-left: .5em;
}

.docmind-attachments-folder > h3 {
    display: flex;
    align-items: center;
    gap: .4em;
}

.docmind-attachments-folder > h3::before {
    content: "";
    flex: 0 0 auto;
    width: 1.1em;
    height: .95em;
    background: url("../img/folder.svg") no-repeat center / contain;
}

.docmind-attachments table {
    width: 100%;
    border-collapse: collapse;
}

.docmind-attachments th,
.docmind-attachments td {
    padding: .5em .6em;
    text-align: left;
    border-bottom: 1px solid rgba(128, 128, 128, .3);
    word-break: break-word;
}

.docmind-attachments tbody tr:nth-child(odd) {
    background: rgba(128, 128, 128, .07);
}

.docmind-attachments .docmind-size {
    width: 1%;
    white-space: nowrap;
    text-align: right;
}
