/* Free header overflow to allow TOC list floating */
#header-main:has(.ab-table-content-selection[data-state="opened"]) {
    overflow: visible !important;
}

.ab-scroll-and-table-contents {
    display: none !important;
}

body.page_type---practice-areas .ab-scroll-and-table-contents,
body.post_type---post .ab-scroll-and-table-contents {
    display: block !important;
}

#header-main.mobile-menu-open .ab-scroll-and-table-contents {
    display: none !important;
    visibility: hidden;
    pointer-events: none;
}

.AB-BL10 .ab-scroll-and-table-contents {
    background: var(--neutral-gray);
    padding-bottom: 12px;
    position: relative;
    z-index: 99;
}
.AB-BL10 .ab-scroll-and-table-contents.ab-scroll-and-table-contents--only-scroll {
    padding-top: 0;
    padding-bottom: 0;
}
.AB-BL10 .ab-scroll-container {
    width: 100%;
    height: 3px;
    background-color: #e4cec8;
    position: relative;
}
.AB-BL10 .ab-scroll-container:after {
    content: "";
    background-color: #933a25;
    position: absolute;
    left: 0;
    height: 3px;
    top: 0;
    width: 0;
    transition: all 0.3s ease-in-out;
}
.AB-BL10 .ab-scroll-container[data-scroll="25"]::after {
    width: 25%;
}
.AB-BL10 .ab-scroll-container[data-scroll="50"]::after {
    width: 50%;
}
.AB-BL10 .ab-scroll-container[data-scroll="75"]::after {
    width: 75%;
}
.AB-BL10 .ab-scroll-container[data-scroll="100"]::after {
    width: 100%;
}
.AB-BL10 .ab-table-contents-container {
    display: flex;
    justify-content: center;
    align-items: center;
}
.AB-BL10 .ab-schedule-free-consultation {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 176px;
    height: 52px;
    flex-grow: 1;
    background: #933925;
    padding: 6px 20px;
    text-decoration: none;
    border: none;
    font-family: quasimoda, sans-serif;
    font-weight: 700;
    font-size: 15px;
    line-height: 20px;
    letter-spacing: 0px;
    text-align: center;
    color: #ffffff;
}
.AB-BL10 .ab-schedule-free-consultation:focus,
.AB-BL10 .ab-schedule-free-consultation:hover {
    text-decoration: none;
    border: none;
    outline: none;
}
.AB-BL10 .ab-table-contents-title {
    color: #0a1d35;
    text-align: right;
    font-family: quasimoda, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 22px;
    color: #0a1d35;
    display: none;
}
.AB-BL10 .ab-table-content-selection {
    width: 363px;
    max-width: 363px;
    min-height: 42px;
    position: relative;
    user-select: none;
}
.AB-BL10 .ab-table-content-selection[data-state="closed"] .ab-table-content-list {
    display: none !important;
}
.AB-BL10 .ab-table-content-selection[data-state="opened"] .ab-table-content-selected-item {
    opacity: 0;
    visibility: hidden !important;
    z-index: -1;
    position: relative;
}
.AB-BL10 .ab-table-content-selected-item {
    border-radius: 5px;
    border: 1px solid #e8e5de;
    background: #fff;
    padding: 13px 15px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
    color: #933a25;
    font-family: quasimoda, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 22px;
    transition: all 0.3s ease-in-out;
}
.AB-BL10 .ab-table-content-selected-item:after {
    content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="11" height="6" viewBox="0 0 11 6" fill="none"><path d="M0 0.904462L0.976248 0L5.50001 4.19107L10.0238 0L11 0.904462L5.50001 6L0 0.904462Z" fill="%23003764"/></svg>');
    display: flex;
    justify-content: center;
    align-self: center;
    margin-left: auto;
}
.AB-BL10 .ab-table-content-list {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    border-radius: 5px;
    border: 1px solid #e8e5de;
    background: #fff;
    box-shadow: 0 15px 50px 0 rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    list-style: none;
    margin: 0;
    padding: 0;
    transition: all 0.3s ease-in-out;
    max-height: 75vh;
    overflow-y: auto;
}
.AB-BL10 .inner.mobile-open .ab-scroll-and-table-contents {
    z-index: -1;
}
.AB-BL10 .ab-table-content-list .ab-table-content-item {
    padding: 13px 15px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
    color: #333;
    font-family: quasimoda, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 22px;
    cursor: pointer;
    margin-bottom: 0;
}
.AB-BL10 .ab-table-content-list .ab-table-content-item:hover,
.AB-BL10 .ab-table-content-list .ab-table-content-item[selected] {
    color: #933a25;
}
.AB-BL10 .ab-table-content-list .ab-table-content-item:first-child::after {
    content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="11" height="6" viewBox="0 0 11 6" fill="none"><path d="M0 5.09554L0.976248 6L5.50001 1.80893L10.0238 6L11 5.09554L5.50001 4.76837e-07L0 5.09554Z" fill="%23003764"/></svg>');
    margin-left: auto;
    display: flex;
    justify-content: center;
    align-self: center;
    align-self: center;
}
.AB-BL10 .ab-table-content-list .ab-table-content-item:not(:last-child) {
    border-bottom: 1px solid #e8e5de;
}
.AB-BL10 .ab-ellipsis-one-lines {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.AB-BL10 .ab-ellipsis-two-lines {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media screen and (max-width: 768px) {
    .AB-BL10 .inner.sticky-nav.sticky-in {
        background: #fff;
        box-shadow: none;
    }
    .AB-BL10 .ab-table-content-selection[data-state="opened"] .ab-table-content-selected-item {
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 1;
    }
    .AB-BL10 .ab-table-content-selection[data-state="opened"] .ab-table-content-selected-item:after {
        transform: rotate(-180deg);
    }
    .AB-BL10 .ab-table-content-selection {
        position: static;
    }
    .AB-BL10 .ab-table-content-list {
        top: 52px;
    }
    .AB-BL10 .ab-table-contents-container {
        position: relative;
        width: 100%;
        margin: 6px 0 9px;
        gap: 10px;
        z-index: 10;
    }
    .AB-BL10 .ab-table-content-selected-item {
        margin-right: 9px;
    }
    .AB-BL10 .ab-table-content-list {
        left: 9px;
        right: 9px;
    }
    .AB-BL10 .ab-table-content-selected-item {
        padding: 13px 10px;
    }
    .AB-BL10 .ab-scroll-and-table-contents {
        background: #fff;
        padding-bottom: 0;
    }
    .AB-BL10 .ab-table-content-list .ab-table-content-item:first-child::after {
        display: none;
    }
}
@media screen and (min-width: 991px) {
    .AB-BL10 .ab-scroll-and-table-contents {
        margin-top: -1px;
        padding-top: 7px;
        padding-bottom: 13px;
    }
    .AB-BL10 .ab-scroll-container {
        height: 5px;
    }
    .AB-BL10 .ab-scroll-container:after {
        height: 5px;
    }
    .AB-BL10 .ab-table-contents-title {
        display: block;
    }
    .AB-BL10 .ab-schedule-free-consultation {
        display: none;
    }
    .AB-BL10 .ab-table-contents-container {
        margin-top: 10px;
        justify-content: flex-end;
        gap: 20px;
    }
    .AB-BL10 .ab-table-content-selection {
        margin-top: 0;
    }
    .AB-BL10 .ab-table-content-list {
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        overflow-y: auto;
    }
    .AB-BL10 .ab-table-content-list {
        max-height: 85vh;
    }
}
@media screen and (min-width: 1200px) {
    .AB-BL10 #ela-main_nav-link-library {
        height: 41px;
    }
}

@media screen and (max-width: 859px) {
    html:not(.mobile-open) .AB-BL10 #top-header.top-header-1 {
        overflow: visible;
    }
    .AB-BL10 .sticky-on-scroll {
        display: none !important;
    }
}
