﻿:root {
    --brand-ink: #283751;
    --brand-gold: #DDA852;
}

.septem-auth-band {
    min-height: 100vh;
    background: radial-gradient(900px 500px at 20% 10%, rgba(221,168,82,.14), transparent 60%), linear-gradient(180deg, rgba(40,55,81,.94) 0%, rgba(19,27,41,.96) 100%);
    position: relative;
    overflow: hidden;
}

.text-septem-ink {
    color: var(--brand-ink) !important;
}

#articleContent img {
    max-width: 100%;
    height: auto;
}

#articleContent iframe {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border: 0;
}

.help-illustration {
    width: 50%;
    height: auto;
}

.kb-category {
    color: #283751;
    padding-bottom: 0.75rem !important;
    padding-top: 1rem !important;
}

.sidenav.bg-white .sidenav-item.open:not(.sidenav-item-closing) > .sidenav-toggle, .sidenav.bg-white .sidenav-item.active > .sidenav-link {
    color: #283751;
}

.sidenav-link {
    padding: 0.375rem !important;
    padding-left: 0.75rem !important;
}

    .sidenav-link.active {
        font-weight: bold !important;
        background-color: #e7ebed;
        color: #283751 !important;
        border-radius: 8px;
    }

.kb-search-group .input-group-text {
    background-color: #fff;
    border-right: 0;
}

.kb-search-group .form-control {
    border-left: 0;
}

.kb-search-group .input-group-text,
.kb-search-group .form-control {
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.kb-search-group {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    width: 100%;
}

    .kb-search-group .input-group-prepend {
        display: flex;
        flex: 0 0 auto;
    }

    .kb-search-group .input-group-text {
        display: flex;
        align-items: center;
        white-space: nowrap;
    }

    .kb-search-group .form-control {
        flex: 1 1 auto;
        min-width: 0;
    }

    .kb-search-group:focus-within .input-group-text,
    .kb-search-group:focus-within .form-control {
        border-color: #80bdff;
    }

    .kb-search-group:focus-within {
        border-radius: 0.25rem;
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    }

    .kb-search-group .form-control:focus {
        box-shadow: none;
    }

.kb-search-wrap {
    position: relative;
}

.kb-search-results-card {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    z-index: 1050;
    max-height: 360px;
    overflow: hidden;
}

.kb-search-results-list {
    max-height: 280px;
    overflow-y: auto;
}

.kb-search-result-item {
    display: block;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #eef1f3;
    text-decoration: none !important;
}

    .kb-search-result-item:last-child {
        border-bottom: 0;
    }

    .kb-search-result-item:hover {
        background-color: #f8f9fa;
    }

.kb-search-result-title {
    font-weight: 600;
    color: #283751;
}

.kb-search-result-snippet {
    color: #6c757d;
    font-size: 0.875rem;
}

    .kb-search-result-snippet mark {
        background-color: #fff3bf;
        color: #283751;
        padding: 0;
    }

@media (max-width: 991.98px) {
    .sidenav-inner {
        display: none;
    }

    .col-lg-4 {
        position: relative;
        z-index: 20;
    }

    .sidenav-vertical {
        overflow: visible;
    }

    #articleContent {
        position: relative;
        z-index: 1;
    }
}

@media (min-width: 992px) {
    .kb-shell-card {
        height: 90vh;
        max-height: 90vh;
    }

        .kb-shell-card .row.no-gutters {
            height: 100%;
        }

        .kb-shell-card .col-lg-4,
        .kb-shell-card .col-lg-8 {
            height: 100%;
        }

        .kb-shell-card .sidenav-vertical {
            display: flex;
            flex-direction: column;
        }

        .kb-shell-card .sidenav-inner {
            flex: 1 1 auto;
            min-height: 0;
            overflow-y: auto;
            overflow-x: hidden;
        }

    #articleContent {
        overflow-y: auto;
    }
}