/* ============================================================
   CMS OBJECT: Sticky Bar
   Views: _StickyBar.cshtml
   Dependencies: Bootstrap 5 scrollspy, jQuery, theme.css animations
   ============================================================ */

.cms-sticky-bar {
    height: 46px;
    padding-bottom: 1px;
    border-color: rgba(187, 187, 187, .95) !important;
}

.cms-sticky-bar__track,
.cms-sticky-bar__container {
    max-width: 1200px;
}

.cms-sticky-bar h2 {
    color: #f58025;
}

.cms-sticky-bar__container--fixed {
    position: fixed !important;
    top: 0;
    right: 0;
    left: 0;
    width: 100% !important;
    max-width: none !important;
    z-index: 9999;
    background: rgba(255, 255, 255, .95);
    border-bottom: 1px solid rgba(187, 187, 187, .95);
    animation-duration: .5s;
}

.cms-sticky-bar li:nth-child(1) a {
    animation-delay: .35s;
}

.cms-sticky-bar li:nth-child(2) a {
    animation-delay: .5s;
}

.cms-sticky-bar li:nth-child(3) a {
    animation-delay: .65s;
}

.cms-sticky-bar li:nth-child(n+4) a {
    animation-delay: .8s;
}

.cms-sticky-bar .nav-link {
    height: 45px;
    color: #333;
    font-size: 14px;
    vertical-align: top;
}

.cms-sticky-bar .nav-link.active {
    color: #f58025;
}

.cms-sticky-bar .nav-link::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -2px;
    left: 0;
    height: 2px;
    transition: bottom .15s linear;
}

.cms-sticky-bar .nav-link.active::after {
    bottom: 0;
    background: #fdd0ad;
}

.cms-sticky-bar .nav-link:hover,
.cms-sticky-bar .nav-link:focus {
    background: none;
    opacity: 1;
}

.cms-sticky-bar .nav-link:hover::after,
.cms-sticky-bar .nav-link:focus::after {
    bottom: 0;
    background: #f58025;
}

.cms-sticky-bar--feature-navigation h2 {
    margin: 5px 20px 12px 15px !important;
}

.cms-sticky-bar--feature-navigation .nav-link {
    position: relative;
    overflow: hidden;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    margin-right: 20px !important;
    margin-left: 20px !important;
}

.cms-sticky-bar--snapshot {
    height: auto;
    position: relative;
}

.cms-sticky-bar--snapshot .cms-sticky-bar__container {
    position: static;
    max-width: 100%;
}

.cms-sticky-bar__editor-item {
    border: none;
    border-left: 3px solid #f58025;
    border-radius: 8px;
    transition: box-shadow .2s ease, transform .2s ease;
    overflow: hidden;
}

.cms-sticky-bar__editor-item:hover {
    box-shadow: 0 .35rem 1rem rgba(0, 0, 0, .08);
    transform: translateY(-1px);
}

.cms-sticky-bar__editor-item--deleted {
    opacity: .5;
    background-color: #f8f9fa;
    border-left-color: #6c757d;
}

.cms-sticky-bar__editor-item--deleted:hover {
    box-shadow: none;
    transform: none;
}

.cms-sticky-bar__editor-item--deleted .cms-sticky-bar__editor-item-text,
.cms-sticky-bar__editor-item--deleted .cms-sticky-bar__editor-item-title,
.cms-sticky-bar__editor-item--deleted .cms-sticky-bar__editor-item-link {
    text-decoration: line-through;
    color: #6c757d;
}

.cms-sticky-bar__editor-item--deleted .badge {
    background-color: #6c757d !important;
    color: white !important;
}

.cms-sticky-bar__editor-drag-handle:hover {
    opacity: 1 !important;
    color: var(--bs-primary);
}

.cms-sticky-bar__editor-drag-handle {
    cursor: grab;
    opacity: .6;
}

.cms-sticky-bar__editor-list .badge {
    font-weight: 500;
    font-size: .8rem;
}

.cms-sticky-bar__editor-item-link {
    color: #6c757d;
    max-width: 100%;
}

.cms-sticky-bar__editor-item-link:hover {
    color: #f58025;
    text-decoration: underline !important;
}

@media (max-width: 991.98px) {
    .cms-sticky-bar .nav-link {
        margin-right: .5rem !important;
        margin-left: .5rem !important;
    }

    .cms-sticky-bar--feature-navigation .nav-link {
        margin-right: 10px !important;
        margin-left: 10px !important;
    }
}
