html {
    scroll-padding-top: 4rem;
}

html, body {
    font-family: Georgia, serif;
    background-color: #ffffff;
}

.h1, h1 {
    font-size: calc(1.3rem + 0.4vw);
    font-family: Tahoma, sans-serif;
    margin-top: 1rem;
    margin-bottom: 1rem;
    line-height: 1.2
}

@media (min-width:1200px) {
    .h1, h1 {
        font-size: 1.6rem;
    }
}

.h2, h2 {
    font-size: calc(1.2rem + .267vw);
    font-family: Tahoma, sans-serif;
    margin-top: 0;
    margin-bottom: .5rem;
    line-height: 1.2
}

@media (min-width:1200px) {
    .h2, h2 {
        font-size: 1.4rem;
    }
}

.h3, h3 {
    font-size: calc(1.1rem + .133vw);
    font-family: Tahoma, sans-serif;
    margin-top: 0;
    margin-bottom: .5rem;
    line-height: 1.2
}

@media (min-width:1200px) {
    .h3, h3 {
        font-size: 1.2rem
    }
}

.h4, h4 {
    font-size: calc(1.05rem + .067vw);
    font-family: Tahoma, sans-serif;
    margin-top: 0;
    margin-bottom: .5rem;
    line-height: 1.2
}

@media (min-width:1200px) {
    .h4, h4 {
        font-size: 1.1rem
    }
}

.h5, h5 {
    font-size: 1rem;
    font-family: Tahoma, sans-serif;
    margin-top: 0;
    margin-bottom: .5rem;
    line-height: 1.2
}

.h6, h6 {
    font-size: 1rem;
    font-family: Tahoma, sans-serif;
    margin-top: 0;
    margin-bottom: .5rem;
    line-height: 1.2
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #212529; /* --bs-dark */
}

    a:visited {
        color: #212529; /* --bs-dark */
    }

    a:hover {
        color: #198754; /* --bs-green */
    }

    a.external {
        background-image: url(/Assets/external-link.svg);
        background-position: center right;
        background-repeat: no-repeat;
        background-size: 0.857em;
        padding-right: 1em;
    }

        a.external:hover {
            background-image: url(/Assets/external-link-hover.svg);
        }

blockquote {
    background: #f9f9f9;
    border-left: 10px solid #ccc;
    margin: 1.5em 10px;
    padding: 0.5em 10px;
    quotes: "\201C""\201D""\2018""\2019";
}

    blockquote:before {
        color: #ccc;
        content: open-quote;
        font-size: 4em;
        line-height: 0.1em;
        margin-right: 0.25em;
        vertical-align: -0.4em;
    }

    blockquote p {
        display: inline;
    }

ul.contains-task-list {
    list-style-type: none;
}

dd {
    margin-left: 1rem;
}

.btn-primary {
    color: #fff;
    background-color: #D5E8D4;
    border-color: #82B366;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #60A917;
}

main {
    flex: 1;
    flex-direction: row;
    justify-content: center;
}

.top-row {
    background-color: #D5E8D4;
    border-bottom: 1px solid #82B366;
    height: 3.5rem;
    display: grid;
    grid-template-columns: min-content auto min-content;
    gap: 0;
    justify-content: initial;
}

    .top-row a {
        text-decoration: none;
        color: black;
    }

        .top-row a:hover {
            text-decoration: none;
        }

    .top-row .logo {
        grid-area: 1 / 1;
        white-space: nowrap;
    }

        .top-row .logo img {
            height: 3rem;
        }

    .top-row .notes {
        font-family: 'Brush Script MT', cursive;
        font-size: 2rem;
        flex: 0;
    }

    .top-row .search {
        grid-area: 1 / 3;
    }

    .top-row .title {
        grid-area: 1 / 2;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        margin-left: 1.5rem;
        font-size: calc(1.1rem + .133vw);
        font-family: Tahoma, sans-serif;
        text-align: left;
    }

        .top-row .title small {
            font-size: 80%;
        }

article {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.article-toprow {
    display: grid;
    width: 100%;
    max-width: 800px;
    color: var(--bs-secondary);
}

    .article-toprow a {
        color: var(--bs-secondary);
    }

    .article-toprow .navigation {
        grid-column: 1;
    }

        .article-toprow .navigation .arrow {
            height: 1rem;
            fill: var(--bs-secondary);
        }

    .article-toprow .last-published {
        grid-column: 2;
        grid-row: 1;
        text-align: right;
    }


.virtualCollection {
    padding-top: 1.1rem;
    width: 100%;
    max-width: 800px;
    display: grid;
    grid-template-columns: 30px auto;
}

    .virtualCollection input {
        display: none;
    }

        .virtualCollection input:checked ~ label {
            border-left: 1px solid black;
        }

        .virtualCollection input:checked ~ .menu {
            max-height: 100%;
        }

    .virtualCollection .button {
        width: 24px;
    }

    .virtualCollection label {
        border-left: 1px solid #ffffff;
        grid-column: 1;
        grid-row: 1;
        display: block;
        cursor: pointer;
    }

    .virtualCollection .title {
        grid-column: 2;
        grid-row: 1;
    }

        .virtualCollection .title a {
            text-decoration: none;
        }

    .virtualCollection .menu {
        grid-column-start: 1;
        grid-column-end: 3;
        grid-row: 2;
        max-height: 0;
        overflow: hidden;
        padding: 0 0 0 1rem;
        border-left: 1px solid black;
    }

        .virtualCollection .menu ul {
            list-style-type: none;
            padding: 0;
        }

        .virtualCollection .menu ol {
            padding: 0 0 0 1rem;
        }

        .virtualCollection .menu a {
            display: block;
            text-decoration: none;
        }

        .virtualCollection .menu .selected {
            font-weight: bolder;
        }

.content {
    padding-top: 1.1rem;
    width: 100%;
    max-width: 800px;
}

.itemList {
    display: grid;
    grid-template-columns: 2.5rem auto;
}

    .itemList a {
        text-decoration: none;
    }

    .itemList .icon {
        margin-top: 1rem;
        text-align: center;
        border-top: 1px solid var(--bs-secondary);
    }

        .itemList .icon img {
            height: 1.2rem;
        }

    .itemList .item {
        margin-top: 1rem;
        border-top: 1px solid var(--bs-secondary);
    }

@media (max-width: 640.98px) {
}

@media (min-width: 641px) {
    .top-row {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row, article {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
