/* DataSoft Utilities - Section Articles list
 * --------------------------------------------------
 * This is the DEFAULT stylesheet loaded on every weDocs
 * article page. It is loaded from a file, so it survives
 * plugin updates that only touch PHP files.
 *
 * To make small tweaks WITHOUT editing this file, use:
 *   Settings -> DataSoft Utilities
 * Anything entered there is added AFTER this file, so it
 * will override these rules.
 */

.dscorp-section-articles {
    margin: 30px 0;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    background: #fafafa;
}

.dscorp-section-articles-title {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 600;
}

.dscorp-section-articles-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.dscorp-section-articles-list li {
    padding: 6px 0;
    border-bottom: 1px solid #eee;
}

.dscorp-section-articles-list li:last-child {
    border-bottom: none;
}

.dscorp-section-articles-list a {
    text-decoration: none;
}

.dscorp-section-articles-list a:hover {
    text-decoration: underline;
}

/* Highlight the article currently being viewed */
.dscorp-section-articles-list .current-article a {
    font-weight: 700;
    color: #000;
    pointer-events: none;
}

/* DataSoft Utilities - Section Contents list
 * --------------------------------------------------
 * Shown on a "section" page, listing the articles
 * that belong to it (its direct children).
 */

.dscorp-section-contents {
    margin: 30px 0;
}

.dscorp-section-contents-title {
    margin: 0 0 10px 0;
}

.dscorp-section-contents-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.dscorp-section-contents-list li {
    padding: 6px 0;
    border-bottom: 1px solid #eee;
}

.dscorp-section-contents-list li:last-child {
    border-bottom: none;
}

.dscorp-section-contents-list a {
    text-decoration: none;
}

.dscorp-section-contents-list a:hover {
    text-decoration: underline;
}
