:root {
    --arb-grey: #363636;
    --arb-grey-green: #9db0a5;
    --arb-green: #688073;
    --arb-green-hover: #46564d;
    --arb-green-darker: #425249;
    --arb-green-light: rgb(226, 230, 232);
    --arb-terracotta: #d4451d;
    --arb-terracotta-hover: #b64f20;
    --arb-terracotta-darker: #ab4a1e;

    --arb-body-font: "Open Sans", "Helvetica Neue Light", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    --arb-heading-font: "Open Sans", "Helvetica Neue Light", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.6;
    margin: 2rem 0 1rem 0;
}

figcaption {
    font-size: 80%;
    color: #AAA;
    font-style: italic;

}

p {
    line-height: 1.6;
}

a.badge {
    font-weight: normal !important;
}

header h6 {
    margin-top: 0;
}

.card-product, .card-topic {
    border-top: 4px solid var(--arb-terracotta);
    border-radius: 0 0 10px 10px;
    flex: 1;
}

.card-product h4, .card-topic h4 {
    color: var(--arb-terracotta);
}

.card-product .btn, .card-topic .btn {
    padding: 0.25rem 1rem;
}

.card-topic .card-footer {
    background: unset;
    border-top: unset;
}

.card-img-top {
    border-radius: 0;
}

.card-quote {
    background-color: var(--arb-terracotta);
    color: white;
    font-style: italic;
}

.card-quotee {
    background-color: var(--arb-green-light);
    color: var(--arb-green-darker);
}

.section-body {
    padding: 3rem 0 6rem;
}


.section-body .row:not(:last-child) {
    margin-bottom: 3rem;
}

.section-body + .container-xl {
    margin-top: -6rem;
}

blockquote {
    background-color: rgba(0, 0, 0, 0.1);
    border-left: 5px solid rgba(0, 0, 0, 0.2);
    padding: 0.75rem 1rem;
    font-style: italic;
    font-size: 1.2rem;
}

cite {
    font-size: 1rem;
    color: #666;
}

p.meta {
    font-size: 90%;
    color: #555;
}
.meta-date, .meta-author {
    font-weight: 600;
}

/* Default grid, as used by the Article field type */
.article-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-column-gap: 2rem;
    grid-row-gap: 0rem;
}

.article-grid + .article-grid {
    margin-top: 1rem;
}

.article-grid figure, .article-grid img {
    margin: 0;
    width: 100%;
    max-width: 100%;
}

.article-grid .arb-col-1 { grid-column: span 1; }
.article-grid .arb-col-2 { grid-column: span 2; }
.article-grid .arb-col-3 { grid-column: span 3; }
.article-grid .arb-col-4 { grid-column: span 4; }
.article-grid .arb-col-5 { grid-column: span 5; }
.article-grid .arb-col-6 { grid-column: span 6; }
.article-grid .arb-col-7 { grid-column: span 7; }
.article-grid .arb-col-8 { grid-column: span 8; }
.article-grid .arb-col-9 { grid-column: span 9; }
.article-grid .arb-col-10 { grid-column: span 10; }
.article-grid .arb-col-11 { grid-column: span 11; }
.article-grid .arb-col-12 { grid-column: span 12; }

.article-grid div p {
    margin-top: 0;
}

.fixed-top {
    position: absolute;
}

.header-sticky {
    position: fixed;
}

.alert {
    margin-bottom: 0;
    border: none;
}

@media only screen and (max-width: 600px) {
    .article-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .article-grid .arb-col-1,
    .article-grid .arb-col-2,
    .article-grid .arb-col-3,
    .article-grid .arb-col-4,
    .article-grid .arb-col-5,
    .article-grid .arb-col-6,
    .article-grid .arb-col-7,
    .article-grid .arb-col-8,
    .article-grid .arb-col-9,
    .article-grid .arb-col-10,
    .article-grid .arb-col-11,
    .article-grid .arb-col-12 {
        grid-column: span 1;
        margin-bottom: 1rem;
    }
}

.knowledgebase__form .col-form-label {
    margin: auto auto;
    padding-top: 0;
    padding-bottom: 0;
}

.knowledgebase__form label {
    color: var(--arb-green-darker);
    margin-bottom: 0;
}

.knowledgebase__questions details summary {
    font-size: 1.3rem;
    color: var(--arb-green);
}

.knowledgebase__questions details[open] summary {
    border-bottom: 2px solid var(--arb-green);
    padding-bottom: 0.5rem;
}

.knowledgebase__questions details summary:focus {
    outline: none;
}

.knowledgebase__questions details:not([open]) .knowledgebase__questions__button--less{
    display: none;
}

.knowledgebase__questions details[open] .knowledgebase__questions__button--more{
    display: none;
}

.three-column-grid {
    display: grid;
}

.two-column-grid {
    display: grid;
}

@media only screen and (min-width: 600px) {
    .three-column-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .two-column-grid {
        grid-template-columns: 1fr 1fr;
        grid-gap: 30px;
    }

    figure[style*="float: right"], figure[style*="float: left"] {
        width: 45% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

}

figure, figure img {
    max-width: 100% !important;
    object-fit: contain;
}

figure[style*="float: right"], figure[style*="float: left"] {
    margin-left: auto !important;
    margin-right: auto !important;
}

.anchor-link, .card-title a.anchor-link {
    display: none;
}

.section-body .anchor-link {
    display: none;
    margin-left: .2em;
    color: #999;
    font-size: 50% !important;
    text-decoration: none !important;
    float:right;
}

/*body.loggedin .section-body .anchor-link {*/
/*    display: inline;*/
/*}*/

*[id] {
    scroll-margin-top: 3em;
}

html {
    scroll-behavior: smooth;
}
