
.comment > a:first-child {
    text-decoration: none;
}

.contenteditable {
    background: azure;
    padding: 10px;
    border: solid 1px orange;
}

.linkicon {
    width: 17px;
    height: 17px;
    margin-left: -22px;
    margin-top: 4px;
    float: left;
    vertical-align: text-bottom;
    opacity: 0.8;
    background-image: url(/images/link.png);
    transition: opacity 0.5s ease-in-out;
}

.link-hidden {
    opacity: 0.1;
}

.postcontent > h3 {
    cursor: pointer;
    transition: opacity 0.5s ease-in-out;
}

    .postcontent > h3:hover {
        opacity: 0.85;
    }

.document-outline {
    display: none;
}

@media (min-width: 1500px) {
    #ArticleBody {
        padding-right: 290px !important;
    }

    .document-outline {
        display: block;
        position: absolute;
        margin-top: 0;
        top: 40px;
        right: 10px;
        width: 250px;
        font-size: 0.75em !important;
        line-height: 1.4em;
        overflow-y: auto;
        height: calc(100vh - 120px);
        overflow-x: hidden;        
    }

    .document-outline-header {
        font-size: 1.1rem;
        margin-bottom: 10px;
        margin-top: 20px;
        font-weight: bold;
    }

    .document-outline-content {        
    }

    .document-outline a {
        display: block;
        text-decoration: none;
        padding: 5px 0px 6px 8px;
        border-left: 1.5px #eee solid;
    }

    .document-outline-content a.active {
        border-left: 3px steelblue solid;
    }

    .document-outline a.outline-level1 {
        padding-left: 10px;
        font-weight: bold;
    }

    .document-outline a.outline-level2 {
        padding-left: 25px !important;
        font-weight: normal;
    }

    .document-outline a.outline-level3 {
        padding-left: 30px !important;
        font-weight: normal;
    }

    .document-outline a.outline-level4 {
        padding-left: 45px;
        font-weight: normal;
    }
}

.comment-dialog {
    margin: 1.5em !important;
    text-align: left;
    margin: 2em auto;
    background: var(--surface);
    padding: 0 0.3em 0.3em 0.3em;
    transition: background-color 0.25s ease;
}

.comment-dialog-header {
    text-align: center;
    font-size: 1.4em;
    font-weight: bold;
    padding: 0.2em 0;
    margin: 0 -0.2em;
    background: linear-gradient(to bottom, var(--dialog-header-from), var(--surface));
    color: var(--dialog-header-fg);
}


.comment-dialog-content {
    padding: 0.3em 1em;
}

.comment-dialog input[type=text],
.comment-dialog input[type=email],
.comment-dialog textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    font-family: 'Trebuchet MS', 'Trebuchet', sans-serif;
    font-size: 1.05em;
    font-weight: bold;
    margin-bottom: 8px;
    padding: 5px 10px;
    color: var(--input-color) !important;    
    background: var(--input-bg);
}

.comment-dialog textarea {
    font-size: 1em;
}

.comment-directions {
    width: 100%;
    color: var(--text-muted);
    background: var(--surface2);
    text-align: center;
    font-size: 0.8em;
    padding: 10px 10px;
    margin-top: 13px;
    transition: background-color 0.25s ease, color 0.25s ease;
}

@media (max-width: 639px) {
    .linkicon {
        display: none;
    }
}


textarea.comment-textbox, textarea.comment-textbox:focus {
    background-color: #333 !important;
    color: #e9e9e9 !important;
    font-family: Consolas, monospace !important;
    font-size: 1.03em !important;
    font-weight: 500 !important;
}

        .edit-toolbar {
            margin-top: 15px;
            background: #656565;
            color: white;
            padding: 5px 10px 16px;
            height: 2.8em;
        }

            .edit-toolbar > * {
                color: white;
                padding: 6px 11px;
                margin-left: 1px;
                float: left;
                display: block;
            }

            .edit-toolbar > div > a {
                color: #eee;
            }

            .edit-toolbar > a:focus, .edit-toolbar > a:hover {
                background-color: #888 !important;
                color: white !important;
                text-decoration: none;
            }

        a.post-pager-item, a.post-pager-item:visited {
            display: block;
            text-decoration: none;
            background: var(--pager-bg);
            border: 2px var(--pager-color) solid;
            color: var(--pager-color);
            padding: 7px 15px;
            float: left;
            margin: 2px;
            border-radius: 4px;
            transition: background-color 0.2s ease, color 0.2s ease;
        }

            a.post-pager-item:hover {
                color: white;
                background: var(--pager-color);
            }



        #CategoryHeader {
            display: flex;
            flex-direction: row;
            justify-content: space-between;
        }

        .donate-buttons {
            display: flex;
            flex-direction: row;
        }

        img.da-content-image {
            display: block;
            margin: 0 auto;
            width: 100%;
            max-width: 680px;
        }


        @media (max-width: 600px) {
            .donate-buttons {
                flex-direction: column;
            }
        }