/* DEEJOS Knowledge Centre. Shared by every article. Bootstrap 3 / Font Awesome 4.7. */

html.kc-html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html.kc-html {
        scroll-behavior: auto;
    }
}

body.kc-page {
    overflow-x: visible;
    overflow-y: visible;
}

/* style.css leaves the header transparent, then pins it with .stick only after 210px.
   Knowledge pages keep it in view from the first scroll, in normal flow, so content is not covered. */
body.kc-page > header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: #fff;
    overflow: visible;
}

body.kc-page > header.kc-scrolled,
body.kc-page > header.stick {
    box-shadow: 0 2px 10px rgba(16, 42, 67, 0.12);
}

body.kc-page > header.stick {
    position: sticky;
    top: 0;
    width: 100%;
    background: #fff;
    animation: none;
    -webkit-animation: none;
}

body.kc-page > header .dropdown-menu {
    z-index: 1001;
}

.kc-article {
    color: #263443;
    font-size: 15px;
    line-height: 1.7;
    background: #fff;
}

.kc-article * {
    box-sizing: border-box;
}

.kc-article a {
    color: #8d6424;
}

.kc-article a:hover,
.kc-article a:focus {
    color: #6d4c1c;
}

.kc-article a:focus {
    outline: 3px solid #c78b32;
    outline-offset: 3px;
}

.kc-shell {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 15px;
}

.kc-hero {
    background: #f7f5f1;
    border-bottom: 1px solid #ece7df;
    padding: 28px 0 22px;
}

.kc-breadcrumb {
    font-size: 12px;
    color: #6a7179;
    margin: 0 0 12px;
}

.kc-breadcrumb a {
    color: #6a7179;
    text-decoration: none;
}

.kc-breadcrumb span {
    color: #966923;
}

.kc-eyebrow {
    margin: 0 0 12px;
    color: #956b30;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.kc-hero h1 {
    max-width: 920px;
    margin: 0 0 12px;
    color: #152d3d;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.3;
}

.kc-author {
    margin: 0;
    color: #54616b;
    font-size: 14px;
    line-height: 1.6;
}

.kc-author strong {
    color: #213646;
}

.kc-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 248px;
    gap: 32px;
    align-items: start;
    padding-top: 28px;
    padding-bottom: 48px;
}

.kc-main {
    min-width: 0;
    font-size: 15px;
    line-height: 1.7;
}

.kc-main p {
    margin: 0 0 14px;
}

.kc-main h2 {
    margin: 32px 0 12px;
    color: #152d3d;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.35;
    scroll-margin-top: calc(var(--kc-header-offset, 120px) + 20px);
}

.kc-main h3 {
    margin: 22px 0 8px;
    color: #1d394c;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    scroll-margin-top: calc(var(--kc-header-offset, 120px) + 20px);
}

.kc-main section[id] {
    scroll-margin-top: calc(var(--kc-header-offset, 120px) + 20px);
}

.kc-main ul {
    margin: 0 0 18px;
    padding-left: 20px;
}

.kc-main li {
    margin-bottom: 8px;
}

.kc-callout {
    margin: 0 0 22px;
    padding: 14px 16px;
    border-left: 4px solid #193448;
    background: #f4f7f8;
}

.kc-callout p:last-child {
    margin-bottom: 0;
}

.kc-toc {
    background: #fbfaf8;
    border: 1px solid #eee8dd;
    padding: 12px 12px 8px;
}

.kc-toc strong {
    display: block;
    margin-bottom: 4px;
    color: #172c3c;
    font-size: 13px;
}

.kc-toc a {
    display: block;
    padding: 6px 0 6px 8px;
    border-bottom: 1px solid #e9e6e0;
    color: #53616a;
    font-size: 12px;
    line-height: 1.4;
    text-decoration: none;
}

.kc-toc a:last-child {
    border-bottom: 0;
}

.kc-toc a:hover,
.kc-toc a:focus,
.kc-toc a.is-active {
    color: #8d6424;
}

.kc-toc a.is-active {
    box-shadow: inset 2px 0 0 #193448;
}

.kc-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 6px 0 22px;
    border: 1px solid #e3e7eb;
}

.kc-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    font-size: 13px;
    line-height: 1.55;
}

.kc-table thead th {
    background: #193448;
    color: #fff;
    font-weight: 600;
    text-align: left;
    vertical-align: middle;
    padding: 12px 14px;
    border: 0;
}

.kc-table tbody th,
.kc-table tbody td {
    background: #fff;
    color: #263443;
    font-weight: 400;
    text-align: left;
    vertical-align: top;
    padding: 12px 14px;
    border-top: 1px solid #e4e8ec;
    border-right: 1px solid #e4e8ec;
}

.kc-table tbody th {
    color: #233746;
    font-weight: 600;
}

.kc-table tbody td:last-child,
.kc-table tbody th:last-child {
    border-right: 0;
}

.kc-table tbody tr:nth-child(even) th,
.kc-table tbody tr:nth-child(even) td {
    background: #f7f8f9;
}

.kc-faq {
    border-top: 1px solid #e5e7e9;
}

.kc-faq-item {
    padding: 14px 0;
    border-bottom: 1px solid #e5e7e9;
}

.kc-faq-item h3 {
    margin: 0 0 6px;
    font-size: 17px;
}

.kc-faq-item p {
    margin: 0;
}

@media (min-width: 992px) {
    .kc-toc {
        position: sticky;
        top: calc(var(--kc-header-offset, 120px) + 16px);
        max-height: calc(100vh - var(--kc-header-offset, 120px) - 32px);
        overflow-y: auto;
    }
}

@media (max-width: 991px) {
    .kc-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
        padding-top: 22px;
    }

    .kc-toc {
        display: none;
    }

    .kc-hero h1 {
        font-size: 25px;
    }

    .kc-main h2 {
        font-size: 21px;
    }
}

@media (max-width: 600px) {
    .kc-hero {
        padding: 22px 0 18px;
    }

    .kc-callout {
        padding: 14px;
    }

    .kc-table {
        min-width: 640px;
    }
}

@media print {
    .kc-toc {
        display: none !important;
    }

    body.kc-page > header {
        position: static;
        box-shadow: none;
    }

    .kc-layout {
        display: block;
    }

    .kc-hero {
        background: #fff;
    }

    .kc-table-scroll {
        overflow: visible;
    }

    .kc-table {
        min-width: 0;
    }
}