.ghost-ht-block-toc .ht_toc_placeholder {
    font-size: 18px
}

.ghost-ht-block-toc[data-htoc-state="expanded"] .htoc__itemswrap {
    margin-top: 1em;
    opacity: 1;
    max-height: 9999px
}

.ghost-ht-block-toc[data-htoc-state="closed"] .htoc__itemswrap {
    opacity: 0;
    max-height: 0;
    display: none
}

.ghost-ht-block-toc.is-style-outline, .ghost-ht-block-toc.is-style-gray, .ghost-ht-block-toc.is-style-rounded, .ghost-ht-block-toc.is-style-contrasted {
    -webkit-transition: all 1s ease-in-out;
    -o-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out
}

.ghost-ht-block-toc.is-style-outline {
    border: 1px solid var(--hmwp-color-light);
    padding: 2em
}

.ghost-ht-block-toc.is-style-outline .htoc__toggle {
    border: 1px solid var(--hmwp-color-light);
}

.ghost-ht-block-toc.is-style-gray {
    background: #DDE2EB;
    padding: 2em
}

.ghost-ht-block-toc.is-style-rounded {
    background-color: #fafafa;
    border: 1px solid #dfdfdf;
    border-radius: 10px;
    padding: 1.5em;
    margin-top: 20px;
    margin-bottom: 20px
}

.ghost-ht-block-toc.is-style-contrasted {
    background-color: #fafafa;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 1.5em;
    margin-top: 20px;
    margin-bottom: 20px
}

.ghost-ht-block-toc.is-style-contrasted li {
    padding: .5em;
    margin-bottom: 0
}

.ghost-ht-block-toc.is-style-contrasted li:nth-child(odd) {
    background-color: rgba(0, 0, 0, 0.03);
    border-radius: 4px
}

.ghost-ht-block-toc.is-style-contrasted li ul {
    margin-bottom: 0
}

.ghost-ht-block-toc.htoc--position-left, .ghost-ht-block-toc.htoc--position-right {
    max-width: 260px
}

.ghost-ht-block-toc.htoc--position-center {
    text-align: center
}

.ghost-ht-block-toc.htoc--position-left {
    float: left;
    margin-right: 2em
}

.ghost-ht-block-toc.htoc--position-right {
    float: right;
    margin-left: 2em
}

.ghost-ht-block-toc .htoc__title {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    font-size: 1em;
    font-weight: 600
}

.ghost-ht-block-toc .htoc__toggle {
    margin-left: 15px;
    background: #fff;
    padding: 8px 8px;
    border-radius: 2px;
    line-height: 1em;
    cursor: pointer;
    position: relative
}

.ghost-ht-block-toc .htoc__toggle svg {
    display: -ms-inline-flexbox;
    display: inline-flex
}

.ghost-ht-block-toc ul, .ghost-ht-block-toc ol {
    margin: 0;
    padding: 0;
    list-style-position: inside
}

.ghost-ht-block-toc ul ul, .ghost-ht-block-toc ul ol, .ghost-ht-block-toc ol ul, .ghost-ht-block-toc ol ol {
    padding: 0;
    margin: .5em 0 .5em 1em
}

.ghost-ht-block-toc ul li, .ghost-ht-block-toc ol li {
    margin-bottom: .5em
}

.ghost-ht-block-toc ul li:last-child, .ghost-ht-block-toc ol li:last-child {
    margin-bottom: 0
}

.ghost-ht-block-toc ul {
    list-style-type: disc
}

.ghost-ht-block-toc ol {
    list-style-type: decimal
}

.ghost-ht-block-toc.toc-list-style-plain ul, .ghost-ht-block-toc.toc-list-style-plain ol {
    margin: 0;
    padding: 0;
    list-style-type: none
}

.ghost-ht-block-toc.toc-list-style-plain ul ul.ht_toc_child_list, .ghost-ht-block-toc.toc-list-style-plain ol ol.ht_toc_child_list{
    padding-left: 20px;
}

.ghost-table.is-style-stripes table{
    border: none;
}

.ghost-table.is-style-stripes table thead{
    border-bottom: 2px solid var(--hmwp-color-primary);
}

.ghost-table.is-style-stripes table th,
.ghost-table.is-style-stripes table td{
    padding: 10px 15px;
    background-color: white;
    border: none;
    text-align: left;
}

.ghost-table.is-style-stripes table th[data-align="center"],
.ghost-table.is-style-stripes table td[data-align="center"]{
    text-align: center;
}

.ht-toc-clear {
    clear: both;
    width: 0;
    height: 0
}
