.sidebar-layout {
    display: flex;
    align-items: stretch
}

/* .sidebar-layout .right-side {
    max-width: 50%;
    min-width: 50%;
    padding: 1em 3em
}

.sidebar-layout .left-side {
    padding: 0 35px 4em 35px;
    width: 50%;
}

.right-side {
    line-height: 1.5em;
    color: #58595B
} */


@media (min-width: 1000px) {
    .sidebar-layout {
        flex-direction: row
    }
}

@media (max-width: 999PX) {
    .sidebar-layout {
        flex-direction: column
    }
}

.sidebar-layout .margin-left {
    flex-grow: 1
}

@media (min-width: 1000px) {
    .sidebar-layout .content {
        padding: 0 35px 4em 35px;
        width: 700px
    }
}

@media (max-width: 999px) {
    .sidebar-layout .content {
        padding: 0 2em
    }
}

@media (min-width: 1000px) {
    .sidebar-layout .sidebar {
        max-width: 350px;
        min-width: 350px;
        padding: 1em 3em
    }
}

@media (max-width: 999px) {
    .sidebar-layout .sidebar {
        padding: 1.5em
    }
}

.sidebar-layout .margin-right {
    flex-grow: 1;
    background: #BBBBBB
}

@media (min-width: 1000px) {

    .sidebar-layout .content h2,
    .sidebar-layout .left-side h2,
    .sidebar-layout .right-side h2,
    .chevron-headers {
        margin-top: 3rem
    }

    .sidebar-layout .content h2::before,
    .sidebar-layout .left-side h2::before,
    .sidebar-layout .right-side h2::before,
    .chevron-headers::before {
        content: url("/HKITheme/img/double-chevron.svg");
        width: 25px;
        height: 25px;
        margin-left: -35px;
        margin-right: 10px;
        margin-bottom: -27px;
        display: block
    }
}

.sidebar {
    line-height: 1.5em;
    background: #BBBBBB;
    color: #2F2F2F
}

@media (min-width: 1000px) {
    .sidebar {
        font-size: 1.35em
    }
}

.sidebar blockquote {
    font-size: 1.25em;
    position: relative;
    z-index: 1;
    line-height: 1.5em;
    color: #575757
}

@media (min-width: 1000px) {
    .sidebar blockquote {
        margin: 0em;
        margin-top: 3em;
        margin-bottom: 2em
    }
}

@media (max-width: 999px) {
    .sidebar blockquote {
        margin: 1em;
        margin-bottom: 2em
    }
}

.sidebar blockquote::before {
    content: url("/HKITheme/img/quotes-start.svg");
    position: absolute;
    z-index: -1;
    top: -20px;
    left: -20px
}

.sidebar blockquote::after {
    content: url("/HKITheme/img/quotes-end.svg");
    display: inline-block;
    vertical-align: top;
    position: relative;
    z-index: -1;
    right: 20px;
    top: 10px;
    height: 0.5em;
    width: 1px
}

.sidebar h2 {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.15em;
    line-height: 1.25em;
    margin-bottom: .25em
}

.sidebar p {
    margin-top: .25em
}

.sidebar .subscription-form,
.sidebar .sfnewsletterForm.sfSubscribe {
    text-align: right;
    max-width: 500px;
    border: none;
    padding: 0
}

.sidebar .subscription-form h2,
.sidebar .sfnewsletterForm.sfSubscribe h2 {
    font-size: 1.15em;
    text-align: left;
    margin-top: 1em
}

.sidebar .subscription-form p.sfnewsletterDescription,
.sidebar .sfnewsletterForm.sfSubscribe p.sfnewsletterDescription {
    color: inherit;
    text-align: left
}

.sidebar .subscription-form .sfnewsletterFieldsList,
.sidebar .sfnewsletterForm.sfSubscribe .sfnewsletterFieldsList {
    padding-left: 0;
    list-style: none
}

.sidebar .subscription-form .sfMessage,
.sidebar .sfnewsletterForm.sfSubscribe .sfMessage {
    display: none
}

.sidebar .subscription-form label,
.sidebar .sfnewsletterForm.sfSubscribe label {
    float: left;
    clear: left
}

.sidebar .subscription-form label em.sfNote,
.sidebar .sfnewsletterForm.sfSubscribe label em.sfNote {
    color: inherit;
    font-size: 12px
}

.sidebar .subscription-form input[type=text],
.sidebar .sfnewsletterForm.sfSubscribe input[type=text] {
    border-radius: 0;
    clear: left;
    width: 50%
}

.sidebar .subscription-form button,
.sidebar .subscription-form input[type="submit"],
.sidebar .sfnewsletterForm.sfSubscribe button,
.sidebar .sfnewsletterForm.sfSubscribe input[type="submit"] {
    margin-top: 5px;
    padding: 5px 20px;
    border: none;
    background: #63656A;
    color: white;
    font-size: .8em;
    text-transform: uppercase
}

.sidebar .infobox {
    font-size: .8em;
    background: #e1e1e1
}

#toc {
    position: sticky;
    top: 50px;
    font-size: .8em;
    background: #e1e1e1;
    padding: .125em 1em .125em 0
}

#toc::before {
    content: "Table of Contents";
    display: block;
    text-align: center;
    font-variant: small-caps;
    padding-top: .5em
}

#toc .toc-list {
    margin-top: .5em;
    padding-left: 40px;
    list-style-type: decimal
}

#toc .toc-list-item {
    position: relative;
    line-height: 1.5em;
    margin-bottom: .25em
}

#toc .toc-link {
    color: #2F2F2F;
    text-decoration: none
}

#toc .is-active-li::before {
    content: '';
    display: block;
    position: absolute;
    left: -40px;
    right: -1em;
    height: 100%;
    background: white;
    z-index: -1
}