﻿/*
    Overrides                                                               [%overrides%]
    Basics                                                                  [%basics%]
    Grid Layout                                                             [%grid-layout%]
    Control Bar
    Grid                                                                    [%grid%]

    *** Layout Classes ***

    Flex Allignments                                                        [%flex-allignments%]

    *** Area Styles ***

    Card Containers                                                         [%card-containers%]
        Image Cards
        Icon Cards
        List Cards
        Scrollable
    Buttons                                                                 [%buttons%]
        Colors
            Primary
            Secondary
        Styles
            Classic
            Text
            Link
        Mods
            Small
            Tiny
            Pill
            Hidden
            Disabled
    Button Containers
    Sections                                                                [%section-types%]
        Main
        Bar
        Banner

    *** HTML Tags ***

    Links                                                                   [%links%]
    Lists                                                                   [%lists%]
    Tables                                                                  [%tables%]
    Section Headers                                                         [%section_headers%]
    Inputs

    *** Misc. Global Elements ***

    Loader                                                                  [%loader%]
    Block Quotes                                                            [%blockquotes%]

    *** Core Template Elements ***

    County Alerts                                                           [%county-alerts%]
    Skip to Main                                                            [%skip-to-main%]
    Google Programmable Search Engine                                       [%google-search%]
*/

/***********************************************************************/
/****************************** %overrides% ****************************/
/***********************************************************************/

/*#region Overrides*/
.card {
    background-color: inherit;
    border: none;
    border-radius: 0;
}

.modal-header,
.modal-body,
.modal-footer {
    background-color: var(--backgroundL5);
    color: var(--color);
}

.modal-header {
    border-bottom-color: var(--borderL6);
}

.modal-footer {
    border-top-color: var(--borderL6);
}

.modal .close {
    color: var(--color);
    text-shadow: 0 1px 0 var(--color-dim);
}

.captcha img {
    filter: invert(1) brightness(100%);
}

label.RadLabel {
    color: var(--color);
    font-family: var(--sansserif);
}

.alert {
    --bs-alert-color: white;
    --bs-alert-border: transparent;
}

.alert a {
    --link-color: white;
    text-decoration: underline;
}

.alert.alert-primary,
.alert.alert-info {
    --bs-alert-bg: #1E2E5C;
}

.alert.alert-success {
    --bs-alert-bg: #1A6D1A;
}

.alert.alert-warning {
    --bs-alert-bg: #895321;
}

.alert.alert-danger {
    --bs-alert-bg: #842029;
}

.alert a:hover, 
.alert a:focus {
    --link-color: #BBBBBB;
}

/*#endregion*/

/***********************************************************************/
/******************************** %basics% *****************************/
/***********************************************************************/

/*#region Basics*/
:root {
    
}

*, *:before, *:after {
    box-sizing: border-box;
}

*::selection {
    background: var(--selection);
}

html {
    width: 100%;
    height: 100%;
}

body {
    font-family: var(--sansserif);
    background-color: var(--background);
    color: var(--color);
}

body.no-scroll {
    overflow-y: hidden;
}

main {
    min-height: 100vh;
    position: relative;
    z-index: 1;
    background-color: var(--background);
    padding-bottom: 3rem;
    height: 100%;
    overflow-x: hidden; /*Necessary to prevent horizontal scrolling due to h2 backgrounds*/
    overflow-x: clip; /*Allows sticky positioning, but is not yet supported in Safari*/
}

main section {
    padding: 3rem 0;
}

main section:last-of-type {
    padding-bottom: 0;
}

main section.nospace {
    padding-block: 0;
}

section .container {
    max-width: 1300px;
    margin: 0 auto;
}

.notransition {
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -o-transition: none !important;
    transition: none !important;
}

.hidden {
    display: none !important;
}

p {
    font-size: 1.12rem;
}

hr {
}

img {
    width: 100%;
}

picture.center, 
figure.center, 
img.center {
    display: block;
    margin-inline: auto;
}

@media (max-width: 699px) {
    img.embed-right,
    img.embed-left, 
    figure.embed-right, 
    figure.embed-left, 
    picture.embed-right, 
    picture.embed-left {
        margin: 0.5rem auto;
        width: auto;
        height: auto;
        display: block;
    }
}

@media (min-width: 700px) {
    img.embed-right, 
    figure.embed-right, 
    picture.embed-right {
        float: right;
        margin: 0.5rem 0 0.5rem 1rem;
        width: auto;
        height: auto;
        z-index: 2;
        position: relative;
    }

    img.embed-left, 
    figure.embed-left, 
    picture.embed-left {
        float: left;
        margin: 0.5rem 1rem 0.5rem 0;
        width: auto;
        height: auto;
    }
}

figure.image figcaption,
figure.fig-image figcaption {
    text-align: center;
    font-size: 0.85rem;
    font-family: var(--serif);
}

/*Set styles for all figcaptions, but override ones that appear after the table, 
    thereby applying styles only to figcaptions that appear before
*/
figure.fig-table > figcaption {
    text-align: center;
    font-size: 1.2rem;
    font-family: var(--serif);
    font-weight: bold;
    margin-bottom: 1rem;
}

/*
    Override styles only for figcaptions that appear after tables
*/
figure.fig-table > table + figcaption {
    font-weight: normal;
    font-size: 0.85rem;
    margin-bottom: 0;
    text-align: left;
}

figure.fig-table > p.source {
    font-size: 0.8rem;
}

figure.fig-table > p.note {
    font-size: 0.8rem;
}
figure.fig-table > p {
    margin-bottom: 0;
}

figure.fig-table > table {
    margin-bottom: 0.25rem;
}

.dim {
    color: var(--color-dim);
}

.panel {
    background-color: var(--background);
    border: 1px solid var(--border);
    box-shadow: 0 0 20px -10px black;
    border-radius: var(--corner-radius);
    overflow: hidden;
}

p.initial::first-letter {
    color: var(--tertiary);
    float: left;
    font-family: Georgia;
    font-size: 5rem;
    line-height: 60px;
    padding-top: 8px;
    padding-right: 8px;
    padding-left: 3px;
}

ul.acrostic li {
    min-height: 5.5rem;
}

ul.acrostic li .heading {
    font-family: var(--serif);
    font-size: 1.3rem;
}

iframe.youtube {
    width: 100%;
    aspect-ratio: 16 / 9;
}

select {
    width: 100%;
    margin: 0;
    padding: 0.5rem;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

pre {
    font-family: var(--mono);
}

@media print {
    body > header, 
    body > footer, 
    body .inner-footer {
        display: none;
    }
}

audio {
    display: block;
    width: 100%;
}

p.note {
    color: var(--color-dim);
}

.accessibility-tree-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    border: 0;
    padding: 0;
    white-space: nowrap;
    clip-path: inset(100%);
    clip: rect(0 0 0 0);
    overflow: hidden;
}

button.semantic-only {
    background: none;
    color: inherit;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    outline: inherit;
}
/*#endregion*/

/***********************************************************************/
/******************************** %links% ******************************/
/***********************************************************************/

/*#region Links*/
a {
    text-decoration: none;
}

a,
a:link,
a:visited,
a:focus,
a:hover,
a:active {
    color: var(--link-color);
}

a:focus, 
a:hover {
    text-decoration: underline;
}

table a,
p a {
    text-decoration: underline;
}

.link-group a {
    transition: opacity 0.5s ease-in-out;
}

.link-group:hover a,
.link-group:focus-within a {
    opacity: 0.3;
}

.link-group:hover a:hover,
.link-group:focus-within a:focus {
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}
/*#endregion*/

/***********************************************************************/
/******************************** %lists% ******************************/
/***********************************************************************/

/*#region Lists*/

ul.no-dots {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

/*#region Block List Items*/
ul.blocks {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

ul.blocks li {
    border-bottom: 1px solid var(--border);
    position: relative;
}

ul.blocks a {
    display: block;
}

ul.blocks a:hover,
ul.blocks a:focus {
    background-color: var(--background-hover);
}

ul.blocks a {
    transition: opacity 0.5s ease-in-out;
}

ul.blocks:hover a,
ul.blocks:focus-within a {
    opacity: 0.3;
}

ul.blocks:hover a:hover,
ul.blocks:focus-within a:focus {
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

ul.blocks .text {
    padding: 0.5rem;
}

ul.blocks ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

ul.blocks ul > li {
    padding-left: 1.5rem;
    border-bottom: none;
    border-top: 1px solid var(--border);
}

ul.blocks .badge {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
}

ul.blocks .text.right-shove {
    padding-right: 4rem;
}

/*#region Activity Items */

ul.blocks li.activity .category {
    padding: 0.5rem;
    color: var(--color);
    margin-right: 70px;
}

ul.blocks li.activity .timestamp {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    text-align: right;
    color: var(--color-dim);
}

ul.blocks li.activity a:hover, 
ul.blocks li.activity a:focus {
    text-decoration: none;
}

ul.blocks li.activity a:hover .text,
ul.blocks li.activity a:focus .text {
    text-decoration: underline;
}

/*#endregion*/

/*#region Event Items */

ul.blocks li.event.wrapper,
ul.blocks li.event > a.wrapper {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
}

ul.blocks li.event .timestamp {
    display: inline-block;
    width: 70px;
    margin-right: 1rem;
}

ul.blocks li.event .timestamp .day {
    display: block;
    text-align: center;
    font-size: 1.2rem;
}

ul.blocks li.event .timestamp .time {
    display: block;
    text-align: center;
    font-size: 1rem;
}

ul.blocks li.event .text {
    display: inline-block;
}

/*#endregion*/

/*#region Message Items */

ul.blocks li.message .text {
    font-size: 1.1rem;
    text-align: center;
    padding: 1rem;
}

/*#endregion*/

ul.blocks.grid {
    --COLUMNS: 1fr 1fr 1fr;
}

@media (min-width: 900px) {
    ul.col4 {
        columns: 4;
        -webkit-columns: 4;
        -moz-columns: 4;
    }

    ul.col3 {
        columns: 3;
        -webkit-columns: 3;
        -moz-columns: 3;
    }

    ul.col2 {
        columns: 2;
        -webkit-columns: 2;
        -moz-columns: 2;
    }
}

@media (max-width: 899px) and (min-width: 600px) {
    ul.col4 {
        columns: 2;
        -webkit-columns: 2;
        -moz-columns: 2;
    }

    ul.col3 {
        columns: 2;
        -webkit-columns: 2;
        -moz-columns: 2;
    }
}

/*#endregion*/

@media screen and (min-width: 800px) {
    #TableOfContents {
        max-width: 400px;
        min-width: 200px;
    }
}

#TableOfContents ol {
    padding: 0;
    padding-left: 1.5rem;
    margin: 0;
}

#TableOfContents ol li {
    position: relative;
    z-index: 0;
}

#TableOfContents ol a {
    display: block;
    padding: 0.25rem 0.5rem 0.25rem 2rem;
    border-radius: 5px;
    margin-left: -1.5rem;
}

#TableOfContents ol li::marker {
    color: #AAAAAA;
}

#TableOfContents ol a:hover,
#TableOfContents ol a:focus {
    background-color: var(--background-hover);
}

#TableOfContents ol a {
    transition: opacity 0.5s ease-in-out;
    z-index: -1;
    position: relative;
}

#TableOfContents ol:hover a,
#TableOfContents ol:focus-within a {
    opacity: 0.3;
}

#TableOfContents ol:hover a:hover,
#TableOfContents ol:focus-within a:focus {
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

/*#endregion*/

/***********************************************************************/
/******************************* %tables% ******************************/
/***********************************************************************/

/*#region Tables*/

table, .table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 1rem;
    color: var(--color);
}

table.fixed {
    table-layout: fixed;
}

table.clamped {
    margin-inline: auto;
}

table.pad-none td {
    padding: 0;
}

table.pad-small td {
    padding: 0.35rem;
}

table.pad-large td {
    padding: 0.5rem;
}

table.last-right th:last-child, 
table.last-right td:last-child {
    text-align: right;
}

th {
    padding: 0.5rem;
}

table:not(.borderless) thead tr,
table:not(.borderless) tbody tr {
    border: 1px solid #777777;
}

td {
    padding: 0.2rem;
}

thead tr {
    background-color: var(--primaryL7);
    color: white;
}

tbody tr.subheading {
    background-color: var(--primaryL10);
    color: white;
}

thead.center {
    text-align: center;
}

table.striped-h tbody tr:nth-child(2n) {
    background-color: var(--shading);
}

table.striped-v tbody tr td:nth-child(2n) {
    background-color: var(--shading);
}

table tfoot .source {
    font-size: 0.8rem;
    font-style: italic;
}

table tfoot .footnote {
    font-size: 0.8rem;
}

table.center-page {
    margin-inline: auto;
}

table.sortable thead th {
    cursor: pointer;
}

table tr.empty-message {
    text-align: center;
    font-size: 1.3rem;
}

table tr.empty-message td {
    padding-block: 1.3rem;
    text-align: center;
}

/*#endregion*/

/***********************************************************************/
/*************************** %section_headers% *************************/
/***********************************************************************/

/*#region Section Headers*/

h1, h2, h3, h4, h5, h6 {
    font-family: var(--serif);
    font-weight: 400;
}

h1:not(.no-clear),
h2:not(.no-clear),
h3:not(.no-clear),
h4:not(.no-clear),
h5:not(.no-clear),
h6:not(.no-clear) {
    clear: both;
}


main section h1 {
    font-size: 2.2rem;
    font-weight: 700;
}

main section h2 {
    font-size: 1.5rem;
    color: white;
}

main section h2.no-bar {
    color: var(--color);
    font-weight: bold;
}

main section h2.no-bar:before,
main section h2.no-bar:after {
    content: none;
}

main section h2.no-padding,
main section h3.no-padding {
    padding: 0;
}

main section h3 {
    font-size: 1.3rem;
    border-bottom: 2px solid var(--tertiary);
    margin-bottom: 1rem;
}

main section h3.no-decoration {
    border-bottom: none;
}

main section h3.no-decoration:before,
main section h3.no-decoration:after {
    content: none;
}

main section h4 {
    font-size: 1.2rem;
}

main section h5 {
    font-size: 1.1rem;
}

main section h6 {
    font-size: 1.0rem;
}

main section h2,
main section h3 {
    position: relative;
    padding: 1rem 0;
    z-index: 1;
}

main section h2:before,
main section h2:after,
main section h3:before {
    content: "";
    height: 100%;
    position: absolute;
    top: 0;
    z-index: -1;
}

main section h2:before {
    width: 2000px;
    right: -30px;
}

main section h2:after {
    width: 2000px;
    left: -30px;
}

main section h3:before {
    width: 30px;
    left: -30px;
    top: 2px; /*https://stackoverflow.com/a/54389914*/
}


main section h2:before,
main section h2:after {
    background-color: var(--header-background);
}

main section h3:before {
    border-bottom: 2px solid var(--tertiary);
}

h2 .subtitle {
    display: block;
    font-size: 1rem;
    font-style: italic;
    margin-top: 0.5rem;
    margin-left: 2rem;
    position: relative;
}

h2 .subtitle:before {
    content: '-';
    position: absolute;
    left: -1rem;
}

@media (min-width: 800px) {
    main section h2.drop {
        margin-top: 1rem;
    }
}

/*#endregion*/

/***********************************************************************/
/***************************** %blockquote% ****************************/
/***********************************************************************/

/*#region Blockquotes*/

figure.quote {
    width: 100%;
    padding: 10px 0;
}

figure.quote:not(.no-border) {
    border-top: 1px solid #DDDDDD;
    border-bottom: 1px solid #DDDDDD;
}

figure.quote > * {
    width: 75%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

figure.quote > blockquote {
    padding: 0 30px;
    position: relative;
}

figure.quote > blockquote p:first-child:before,
figure.quote > blockquote p:last-child:after {
    font-family: var(--fontawesome);
    position: absolute;
    font-weight: 900;
    font-size: 2.5rem;
    color: #666666;
    line-height: 1;
}

figure.quote > blockquote p:first-child:before {
    content: "\f10d";
    left: -15px;
    top: 0;
}

figure.quote > blockquote p:last-child:after {
    content: "\f10e";
    right: -15px;
    bottom: 0;
}

figure.quote > blockquote + figcaption {
    text-align: right;
    margin-top: 10px;
    font-style: italic;
}

figure.quote > blockquote + figcaption:before {
    content: "--";
}

/*#endregion*/

/***********************************************************************/
/*************************** %details-summary% *************************/
/***********************************************************************/

details.panel {
    padding: 1rem;
    margin-block: 0.5rem;
}

details.panel summary {
    font-size: 1.5rem;
    position: relative;
    list-style: none;
    padding-left: 2rem;
}

details.panel summary::-webkit-details-marker {
    display: none;
}

details.panel summary:before {
    content: '';
    border-width: .5rem;
    border-style: solid;
    border-color: transparent transparent transparent var(--color);
    position: absolute;
    top: 50%;
    left: 0.5rem;
    transform: rotate(0) translateY(-50%);
    transform-origin: .25rem 0;
    transition: .25s transform ease;
}

details.panel[open] > summary:before {
    transform: rotate(90deg) translateY(-50%);
}

details.panel summary + * {
    margin-top: 1rem;
}

details.dropdown ul {
    padding: 0;
    margin: 0;
}

details.dropdown {
    position: relative;
}

details.dropdown ul {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    list-style: none;
    max-height: 200px;
    overflow-y: auto;
}

details.dropdown ul li {
    position: relative;
    z-index: 0;
}

details.dropdown ul a {
    display: block;
    padding: 0.25rem 0.5rem 0.25rem 2rem;
    border-radius: 5px;
    margin-left: -1.5rem;
}

details.dropdown ul li::marker {
    color: #AAAAAA;
}

details.dropdown ul a:hover,
details.dropdown ul a:focus {
    background-color: var(--background-hover);
}

details.dropdown ul a {
    transition: opacity 0.5s ease-in-out;
    z-index: -1;
    position: relative;
}

details.dropdown ul:hover a,
details.dropdown ul:focus-within a {
    opacity: 0.3;
}

details.dropdown ul:hover a:hover,
details.dropdown ul:focus-within a:focus {
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

/***********************************************************************/
/*************************** %card-containers% *************************/
/***********************************************************************/

/*#region Cards*/

.card-container {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.card-container-vertical {
    flex-direction: column;
}

.card-container.multiline {
    flex-wrap: wrap;
}

.card-container .card:hover,
.card-container.container .card:focus {
    text-decoration: none;
    background-color: var(--background-hover);
    border-color: var(--border-hover);
    -webkit-transition: all 1s ease;
    transition: all 1s ease;
}

.card-container .title {
    padding: 0.5rem 0 0 0;
    margin: 1rem 0 0 0;
    font-size: 1.2rem;
    transition: all 0.3s;
    font-family: var(--serif);
    font-weight: 400;
    position: relative;
}

.card-container .title:before {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    transition: all 0.3s, width 1s ease-in-out;
    background-color: var(--link);
    content: "";
}

.card-container .card {
    padding: 1rem;
    text-align: center;
    background-color: var(--background);
    transition: all 0.3s;
    border-radius: var(--corner-radius);
    overflow: hidden;
    color: var(--link-color);
}

.card-container .description {
    color: var(--color);
    font-size: 0.9rem;
}

.scrollable .card-container .card {
    scroll-snap-align: start;
}

/*#region Cards (Image)*/

.card-container.image-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(350px, 1fr));
}

.card-container-wrapper {
    container-type: inline-size;
}

@container (max-width: 1050px) {
    .card-container.image-cards {
        grid-template-columns: repeat(2, minmax(350px, 1fr));
    }
}

@container (max-width: 700px) {
    .card-container.image-cards {
        grid-template-columns: minmax(350px, 1fr);
    }
}

.card-container.image-cards .card {
    border: 1px solid var(--border);
    min-height: 185px;
}

.card-container.image-cards .card:hover .title:before,
.card-container.image-cards .card:focus .title:before {
    width: 50%;
}

/*#endregion*/

/*#region Cards (Icon)*/

.card-container.icon-cards .icon {
    text-align: center;
    font-size: 3rem;
    white-space: nowrap;
}

.card-container.icon-cards .title {
    margin-top: 0;
}

.card-container.icon-cards .card {
    flex: 1 0 0;
    border: none;
}

.card-container-vertical.icon-cards .card {
    flex: none;
}

.card-container.icon-cards.bordered .card {
    border: 1px solid var(--border);
}

.card-container.icon-cards.multiline .card {
    flex: 1 0 30%;
}

.card-container.icon-cards .card:hover .title:before,
.card-container.icon-cards .card:focus .title:before {
    width: 75%;
}

.card-container.icon-cards a {
    transition: opacity 0.5s ease-in-out;
}

.card-container.icon-cards:hover a,
.card-container.icon-cards:focus-within a {
    opacity: 0.3;
}

.card-container.icon-cards:hover a:hover,
.card-container.icon-cards:focus-within a:focus {
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

/*#endregion*/

/*#region Cards (Icon) (0 to 899px)*/

@media (max-width: 899px) {
    .card-container.icon-cards .icon {
        font-size: 2rem;
    }

    .card-container.icon-cards .title {
        font-size: 1rem;
    }
}

/*#endregion*/

/*#region Cards (Icon) (0 to 599px)*/

@media (max-width: 599px) {
    .card-container.icon-cards .card {
        flex-direction: row;
        gap: 1.5rem;
        flex: none;
    }

    .card-container.icon-cards {
        flex-direction: column;
    }

    .card-container.icon-cards .icon {
        width: 3rem;
    }

    .card-container.icon-cards .title:before {
        top: 0;
        left: -0.75rem;
        width: 1px;
        height: 100%;
    }

    .card-container.icon-cards .card:hover .title:before,
    .card-container.icon-cards .card:focus .title:before {
        width: 1px;
    }
}

/*#endregion*/

/*#region Cards (Large Icon)*/

.card-container.icon-cards-large .icon {
    text-align: center;
    font-size: 4rem;
    white-space: nowrap;
    display: grid;
    place-content: center;
}

.card-container.icon-cards-large .title {
    margin-top: 0;
    display: grid;
    place-content: center;
}

.card-container.icon-cards-large .card {
    min-height: 300px;
    flex: 1 0 0;
    border: 1px solid var(--border);
    display: grid;
    grid-template-rows: 2fr 1fr;
    place-content: center;
}

.card-container.icon-cards-large.bordered .card {
    border: 1px solid var(--border);
}

.card-container.icon-cards-large.multiline .card {
    flex: 1 0 30%;
}

.card-container.icon-cards-large .card:hover .title:before,
.card-container.icon-cards-large .card:focus .title:before {
    width: 75%;
}

.card-container.icon-cards-large a {
    transition: opacity 0.5s ease-in-out;
}

.card-container.icon-cards-large:hover a,
.card-container.icon-cards-large:focus-within a {
    opacity: 0.3;
}

.card-container.icon-cards-large:hover a:hover,
.card-container.icon-cards-large:focus-within a:focus {
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

/*#endregion*/

/*#region Cards (Large Icon) (0 to 599px)*/

@media (max-width: 599px) {
    .card-container.icon-cards-large .card {
        flex-direction: row;
        gap: 1.5rem;
        flex: none;
    }

    .card-container.icon-cards-large {
        flex-direction: column;
    }
}

/*#endregion*/

/*#region Cards (List)*/

.card-container.list-cards {
    flex-wrap: wrap;
    flex-direction: column;
}

.card-container.list-cards .card {
    width: 100%;
    border: 1px solid var(--border);
    min-height: 0;
}

.card-container.list-cards .title {
    padding: 0 0 1rem 0;
    margin: 0 0 1rem 0;
}

.card-container.list-cards .title:before {
    top: 100%;
}

.card-container.list-cards .card:hover .title:before,
.card-container.list-cards .card:focus .title:before {
    width: 50%;
}

.card-container.list-cards .description {
    color: var(--color);
}

/*#endregion*/

/*#region Cards (Icon)*/

.card-container.calendar-cards .card {
    flex: 1 0 auto;
    width: 350px;
    max-width: 350px;
    min-height: 185px;
}

.card-container.calendar-cards .title {
    text-align: left;
    font-size: 1.5rem;
    color: var(--color);
    margin-block: 0.5rem;
    padding-top: 0;
}

.card-container.calendar-cards .title:before {
    content: none;
}

.card-container.calendar-cards .date {
    text-align: left;
    color: var(--color);
}

.card-container.calendar-cards .morelink {
    text-align: left;
    margin-top: 2rem;
    font-size: 1.5rem;
}

/*#endregion*/

.card-container .compare-card .title {
    margin: 0 0 1rem 0;
    padding: 0 0 0.5rem 0;
}

.card-container .compare-card .title::before {
    top: 100%;
}

.compare-card {
    flex: 0 0 325px;
}

/*#region Card Container (Scrolling)*/

.card-container.scroll-horizontal {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 1rem;
    scroll-snap-type: x mandatory;
    width: 0;
    min-width: 100%;
    display: flex;
}

.card-container.scroll-horizontal .card {
    scroll-snap-align: start;
    flex: 0 0 350px;
}

.card-container.scroll-horizontal .card:last-of-type {
    scroll-snap-align: end;
}

/*#endregion*/

/*#region Cards (Files)*/

.card-container.file-cards {
    flex-wrap: wrap;
    flex-direction: column;
}

.card-container.file-cards .card {
    width: 100%;
    border: 1px solid var(--border);
    min-height: 0;
    text-align: left;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 0.5rem 1rem;
    gap: 1rem;
}

.card-container.file-cards .title {
    padding: 0 0 0 0;
    margin: 0 0 0 0;
}

.card-container.file-cards .title:before {
    content: none;
}

.card-container.file-cards .type {
    white-space: nowrap;
    overflow: hidden;
    transition: all ease-in-out 0.5s;
    width: 1rem;
    justify-self: end;
}

.card-container.file-cards .type i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

@media screen and (min-width: 801px) {
    .card-container.file-cards .card:hover .type, 
    .card-container.file-cards .card:focus .type {
        width: 100%;
    }
}

/*#endregion*/

/*#endregion*/

/***********************************************************************/
/***************************** %grid-layout% ***************************/
/***********************************************************************/

/*#region Sidebar Grid*/

.grid-sidebar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.grid-sidebar .mainbar {
    grid-row-start: 1;
}

@media (min-width: 800px) {
    .grid-sidebar .sidebar-left,
    .grid-sidebar .sidebar-right {
        --STATIC-WIDTH: auto;
        width: var(--STATIC-WIDTH);
    }
}

.grid-sidebar .sidebar-left > div:not(:first-of-type),
.grid-sidebar .sidebar-right > div:not(:first-of-type) {
    margin-top: 1rem;
}

.grid-sidebar .sidebar-right {
    grid-row-start: 1;
    grid-column-start: 2;
}

.grid-sidebar .sidebar-left {
    grid-row-start: 1;
    grid-column-end: -2;
}

.sidebar {
    z-index: 2;
    position: relative;
}

.sidebar:not(:first-of-type) {
    margin-top: 2rem;
}

.sidebar .header,
.sidebar .body,
.sidebar .footer {
    padding: 1rem;
}

.sidebar .header {
    border-bottom: 1px solid var(--border);
    padding-block: 0.5rem;
    font-size: 1.3rem;
    font-family: var(--serif);
    text-align: center;
    background-color: var(--background);
    color: var(--color);
    margin: 0;
    line-height: inherit;
}

.sidebar h2.header:before, 
.sidebar h2.header:after {
    content: none;
}

.sidebar .header h5 {
    margin: 0;
}

.sidebar .body {
    font-size: 0.9rem;
}

.sidebar .body.flush {
    padding: 0;
}

.sidebar .body h3 {
    padding-block: 0.5rem;
}

.sidebar .body h3:after {
    content: "";
    height: 100%;
    position: absolute;
    top: 0;
    z-index: -1;
    border-bottom: 2px solid var(--tertiary);
    width: 30px;
    right: -30px;
    top: 2px;
}

.mainbar {
    z-index: 2;
    position: relative;
}

.mainbar h3,
.mainbar h4,
.mainbar h5,
.mainbar h6 {
    clear: none;
}

@media (min-width: 800px) {
    .mainbar.scrollable {
        overflow-y: scroll;
        height: 0;
        min-height: 100%;
        scroll-snap-type: y mandatory;
    }
}

@media (max-width: 799px) {
    .grid-sidebar {
        display: flex;
        gap: 1rem;
        flex-direction: column;
    }

    .grid-sidebar > * {
        flex: 1 0 auto;
    }
}

/*#endregion*/

/***********************************************************************/
/****************************** %% ****************************/
/***********************************************************************/

.control-bar {
    padding: 1rem;
    margin-bottom: 1rem;
    position: sticky;
    top: 0;
    z-index: 2;
}

.view-bar {
    box-shadow: 0px 0px 5px var(--border);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 2;
    background: var(--background);
}

.view-bar > div {
    display: flex;
    justify-content: space-around;
}

.view-bar .item {
    text-align: center;
    background: none;
    color: inherit;
    border: none;
    padding: 1rem;
    font: inherit;
    cursor: pointer;
    outline: inherit;
    flex-grow: 1;
    position: relative;
}

.view-bar .item:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--tertiary);
    transition: all ease-in-out 0.3s;
    opacity: 0.5;
}

.view-bar .item:hover:before, 
.view-bar .item:focus:before {
    width: 75%;
    opacity: 0.5;
}

.view-bar .item.selected:before {
    width: 100%;
    opacity: 1;
}

.view-bar .item.date .weekday {
    display: block;
    font-size: 1.5em;
}

.view-bar .item.date .num {
    display: block;
    font-size: 1.2em;
}

/***********************************************************************/
/****************************** %% ****************************/
/***********************************************************************/

.gallery {
    --s: 50px; /* control the slanted part */

    display: grid;
    gap: 8px;
    place-items: center;
}

.gallery > .item {
    object-fit: cover;
    cursor: pointer;
    transition: .5s;
    display: flex;
    justify-content: center;
    position: relative;
}

.gallery > .item img {
    object-fit: cover;
    filter: brightness(50%);
}

.gallery > .item .title {
    position: absolute;
    top: 25%;
    left: 5rem;
    font-size: 2rem;
    color: white;
    font-family: var(--serif);
}

.gallery > .item .short {
    position: absolute;
    top: 50%;
    left: 5rem;
    font-size: 1.2rem;
    color: white;
    margin-right: 3rem;
}

.gallery > .item .arrow {
    position: absolute;
    bottom: 1rem;
    right: 5rem;
    font-size: 4rem;
    color: white;
    transition: right ease-in-out .5s;
}

.gallery > .item:hover .arrow {
    /*right: 3rem;*/
}

.gallery > .item:first-child {
    place-self: start;
}

.gallery > .item:last-child {
    place-self: end;
}

@media (min-width: 801px) and (max-width: 1200px) {
    .gallery > .item .title {
        top: 10%;
    }

    .gallery > .item .short {
        top: 30%;
    }
}

@media (min-width: 801px) {
    .gallery {
        height: 350px;
        grid-auto-flow: column;
    }

    .gallery > .item {
        width: 0;
        min-width: calc(100% + var(--s));
        height: 0;
        min-height: 100%;
        clip-path: polygon(var(--s) 0,100% 0,calc(100% - var(--s)) 100%,0 100%);
    }

    .gallery > .item:hover {
        width: 15vw;
    }

    .gallery > .item:first-child {
        min-width: calc(100% + var(--s)/2);
        clip-path: polygon(0 0,100% 0,calc(100% - var(--s)) 100%,0 100%);
    }

    .gallery > .item:last-child {
        min-width: calc(100% + var(--s)/2);
        clip-path: polygon(var(--s) 0,100% 0,100% 100%,0 100%);
    }
}

@media (max-width: 800px) {
    .gallery {
        grid-auto-flow: row;
        grid-auto-rows: 300px;
    }

    .gallery > .item {
        height: 0;
        min-height: 330px;
        width: 0;
        min-width: 100%;
        clip-path: polygon(0 0, 100% var(--s), 100% 100%, 0 calc(100% - var(--s)));
    }

    .gallery > .item:first-child {
        min-width: calc(100% + var(--s)/2);
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - var(--s)));
    }

    .gallery > .item:last-child {
        min-width: calc(100% + var(--s)/2);
        clip-path: polygon(0 0, 100% var(--s), 100% 100%, 0 100%);
    }
}

/***********************************************************************/
/****************************** %% ****************************/
/***********************************************************************/

.image-links.grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 300px 300px;
    width: 100%;
    gap: 0.5rem;
}

.image-links.grid > a {
    display: block;
    position: relative;
    overflow: hidden;
}

.image-links.grid > a .text {
    position: absolute;
    font-size: 1.5rem;
    font-family: var(--serif);
    color: white;
    text-shadow: 1px 0 0 #000, 0 -1px 0 #000, 0 1px 0 #000, -1px 0 0 #000;
    z-index: 3;
}

.image-links.grid a img {
    transition: .35s ease-in-out;
    object-fit: cover;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.image-links.grid a:before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #0E1C2E;
    opacity: 0.50;
    z-index: 2;
}

.image-links.grid > a:hover img {
    transform: scale(1.2);
}

@media (min-width: 801px) {
    .image-links.grid > a:nth-of-type(1) .text {
        top: 1rem;
        left: 1rem;
    }

    .image-links.grid > a:nth-of-type(2) .text {
        top: 1rem;
        right: 1rem;
        text-align: right;
    }

    .image-links.grid > a:nth-of-type(3) .text {
        bottom: 1rem;
        left: 1rem;
    }

    .image-links.grid > a:nth-of-type(4) .text {
        bottom: 1rem;
        right: 1rem;
        text-align: right;
    }
}

@media (max-width: 800px) {
    .image-links.grid {
        grid-template-columns: 1fr;
        grid-template-rows: 300px 300px 300px 300px;
    }

    .image-links.grid > a .text {
        bottom: 1rem;
        left: 1rem;
    }
}

@media (prefers-color-scheme: light) {
    .image-links.grid a:before {
        background-color: #0E1C2E;
        opacity: 0.50;
    }

    .image-links.grid > a .text {
        /*color: black;
        text-shadow: 1px 0 0 #FFFFFF, 0 -1px 0 #FFFFFF, 0 1px 0 #FFFFFF, -1px 0 0 #FFFFFF;*/
    }
}

/***********************************************************************/
/****************************** %bio_slider% ***************************/
/***********************************************************************/

.bio_slider {
    height: 400px;
    position: relative;
    padding: 0;
}

.bio_slider .container {
    position: relative;
}

.bio_slider .slide {
    display: flex;
    column-gap: 5rem;
    padding: 2rem;
    height: 400px;
    position: absolute;
    top: 0;
    letter-spacing: 0;
    width: 100%;
    transition: opacity 1s;
    z-index: 1;
}

.bio_slider .slide-shield {
    height: 400px;
    width: 100%;
    z-index: 2;
}

.bio_slider .slide.active {
    z-index: 3;
}

.bio_slider .slide img {
    height: 100%;
    width: auto;
    flex: 0 0 auto;
}

.bio_slider .slide .text {
    flex: 1 0 auto;
    position: relative;
}

.bio_slider .slide .name {
    font-size: 3.5rem;
    position: absolute;
    top: 2rem;
    left: 0rem;
    font-family: var(--serif);
}

.bio_slider .slide .title {
    font-size: 1.8rem;
    position: absolute;
    top: 7rem;
    left: 0rem;
}

.bio_slider .slide .bio {
    font-size: 1rem;
    position: absolute;
    top: 200px;
    left: 0;
}

.bio_slider .slide .bio a {
    display: block;
    text-align: right;
}

.bio_slider .slide.active .bio {
    z-index: 5;
}

.bio_slider .slide:not(.active) {
    opacity: 0;
}

.bio_slider .slide-left,
.bio_slider .slide-right {
    position: absolute;
    top: 0;
    height: 100%;
    width: 25px;
    z-index: 4;
    font-size: 2rem;
    opacity: 0.25;
    cursor: pointer;
}

.bio_slider .slide-left {
    left: 0;
}

.bio_slider .slide-right {
    right: 0;
}

.bio_slider .slide-left i,
.bio_slider .slide-right i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.bio_slider .slide-left i {
    left: 0;
}

.bio_slider .slide-right i {
    right: 0;
}

.bio_slider .slide-left:hover,
.bio_slider .slide-right:hover {
    opacity: 0.75;
}

.bio_slider .slide-pips {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 6;
}

.bio_slider .slide-pip {
    display: inline-block;
    font-size: 0.6rem;
    padding: 0 5px;
}

@media (max-width: 1000px) {
    .bio_slider .slide {
        column-gap: 2.5rem;
    }

    .bio_slider .slide .name {
        font-size: 2.5rem;
        top: 0.5rem;
        left: 0rem;
    }

    .bio_slider .slide .title {
        font-size: 1.3rem;
        top: 4rem;
        left: 0rem;
    }

    .bio_slider .slide .bio {
        font-size: 0.9rem;
        position: absolute;
        top: 125px;
        left: 0;
    }
}

@media (max-width: 700px) {
    .bio_slider {
        height: 600px;
    }

    .bio_slider .container {
        height: 100%;
    }

    .bio_slider .slide {
        flex-direction: column;
        row-gap: 1rem;
        align-items: center;
        height: 600px;
    }

    .bio_slider .slide img {
        width: 200px;
        height: auto;
    }

    .bio_slider .slide .text {
        position: static;
    }

    .bio_slider .slide .name {
        font-size: 2.5rem;
        position: static;
    }

    .bio_slider .slide .title {
        font-size: 1.3rem;
        position: static
    }

    .bio_slider .slide .text {
        width: 100%;
    }

    .bio_slider .slide .bio {
        font-size: 0.9rem;
        position: static;
    }
}

/***********************************************************************/
/****************************** %% ****************************/
/***********************************************************************/

.bio-block > div {
    display: grid;
    column-gap: 1rem;
}

.bio-block > div {
    grid-template-columns: 300px auto;
    grid-template-areas: 'headshot bio';
}

.bio-block:nth-of-type(odd) > div {
    grid-template-columns: auto 300px;
    grid-template-areas: 'bio headshot';
}

.bio-block .headshot {
    grid-area: headshot;
}

.bio-block .bio {
    grid-area: bio;
}

.bio-block h2 {
    font-size: 3.0rem;
}

.bio-block h3 {
    font-size: 0.9rem;
    padding-top: 0;
}

.bio-block {
    position: relative;
    padding-block: 5rem;
}

.bio-block:after {
    content: "";
    position: absolute;
    border-top: 1px solid var(--border);
    width: 100%;
    top: 13.5rem;
    left: 0;
    z-index: -1;
}

@media (max-width: 700px) {
    .bio-block > div,
    .bio-block:nth-of-type(odd) > div {
        grid-template-columns: auto 300px auto;
        grid-template-rows: auto auto;
        grid-template-areas:
            'bio bio bio'
            '. headshot .';
    }
}

/***********************************************************************/
/****************************** %% ****************************/
/***********************************************************************/

/*#region Inputs*/

input {
    background-color: var(--background);
    border: 2px solid var(--border);
    color: var(--color);
}

.input-search {
    position: relative;
}

.input-search input {
    padding-left: 2rem;
}

.input-search:before {
    font-family: var(--fontawesome);
    content: "\f002";
    color: var(--color);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0.5rem;
}

.input-results-count {
    float: right;
    color: var(--color-dim);
}

/*#endregion*/

/***********************************************************************/
/******************************* %buttons% *****************************/
/***********************************************************************/

/*#region Buttons*/

.bttn {
    font-family: var(--serif);
    text-align: center;
    font-size: 1.2rem;
    line-height: normal;
    display: inline-block;
    cursor: pointer;
    transition: 1s;
    border: none;
}

.bttn .subtext {
    font-size: 0.9rem;
    display: block;
    font-family: var(--sansserif);
    margin-top: 0.5rem;
}

.bttn,
.bttn:hover,
.bttn:focus {
    text-decoration: none;
    font-weight: 400;
}

/* Bootstrap Styling */
.btn {
    font-family: var(--serif);
    text-align: center;
    font-size: 1.2rem;
    line-height: normal;
    display: inline-block;
    cursor: pointer;
    transition: 1s;
}

/***********************************************************************/
/***************************** %bttn_colors% ***************************/
/***********************************************************************/

/*#region Button (Primary)*/

.bttn.bttn-primary {
    background-color: var(--bttn-background);
    color: var(--bttn-color);
}

.bttn-primary:hover,
.bttn-primary:focus {
    background-color: var(--bttn-background-hover);
    color: white;
}

.bttn-primary.bttn-ghost {
    background-color: transparent;
    border: 1px solid var(--primaryL10);
}

.bttn-primary.bttn-ghost:hover,
.bttn-primary.bttn-ghost:focus {
    border-color: var(--tertiary);
    color: var(--bttn-hover);
}

.bttn.bttn-primary + .bttn.bttn-close {
    background-color: var(--bttn-background);
    color: var(--bttn-color);
}

.bttn.bttn-primary + .bttn.bttn-close:hover,
.bttn.bttn-primary + .bttn.bttn-close:focus {
    background-color: var(--bttn-background-hover);
    color: black;
}

.btn.btn-primary {
    background-color: var(--primaryL5);
    border: 1px solid var(--primaryL5);
    color: #fff;
}

.btn.btn-primary:hover, .btn.btn-primary:focus {
    background-color: var(--primaryL10);
    color: #fff;
}

.btn.btn-outline-primary {
    color: var(--primaryL5);
    background-color: transparent;
    border: 1px solid var(--primaryL5);
}

.btn.btn-outline-primary:hover, .btn.btn-outline-primary:focus {
    background-color: var(--primaryL8);
    border: 1px solid var(--primaryL8);
    color: #fff;
}

/*#endregion*/

/*#region Button (Secondary)*/

.bttn-secondary {
}

.bttn-secondary {
}

/*#endregion*/

/***********************************************************************/
/***************************** %bttn_styles% ***************************/
/***********************************************************************/

/*#region Button (Classic)*/

.bttn-classic, .btn {
    padding: 15px 30px;
}

.bttn-classic .text {
}

.bttn-classic .subtext {
}

.bttn-classic span.icon {
    padding: 0 5px;
}

.bttn.bttn-classic.bttn-closeable {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.bttn.bttn-classic + .bttn.bttn-close {
    padding: 15px 30px 15px 5px;
    margin-left: -4px;
}

/*#endregion*/

/*#region Button (Text)*/

.bttn-text {
    background-color: transparent;
    color: #2F4172;
}

.bttn-text:hover,
.bttn-text:focus {
    color: #AA3939;
    background-color: transparent;
}

/*#endregion*/

/*#region Button (Link)*/

.bttn-link {
    background-color: transparent;
    color: var(--link);
    font-family: var(--sansserif);
    font-size: 1rem;
}

.bttn-link:hover,
.bttn-link:focus {
    background-color: transparent;
    color: var(--link);
    text-decoration: underline;
}

/*#endregion*/

/*#region Button (Icon)*/

.bttn-icon {
    background-color: transparent;
    color: var(--link);
}

.bttn-icon:hover,
.bttn-icon:focus {
    background-color: transparent;
    color: var(--link);
    text-shadow: 0 0 2px white;
}

@media (prefers-color-scheme: light) {
    .bttn-icon:hover,
    .bttn-icon:focus {
        text-shadow: 0 0 5px black;
    }
}

/*#endregion*/

/***********************************************************************/
/****************************** %bttn_mods% ****************************/
/***********************************************************************/

/*#region Button (Small)*/

.bttn.bttn-small {
    font-size: 1rem;
    padding: 10px 20px;
}

.bttn.bttn-small.bttn-closeable {
    padding: 10px 5px 10px 20px;
}

.bttn.bttn-small + .bttn.bttn-close {
    font-size: 1em;
    padding: 10px 20px 10px 10px;
}

/*#endregion*/

/*#region Button (Tiny)*/

.bttn.bttn-tiny {
    padding: 5px 12px;
    font-size: 1rem;
}

/*#endregion*/

/*#region Button (Pill)*/

.bttn.bttn-pill {
    border-radius: 1000px;
}

.bttn.bttn-pill + .bttn.bttn-close {
    border-radius: 1000px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/*#endregion*/

/*#region Button (Disabled)*/

.bttn.bttn-disabled, 
.bttn:disabled{
    pointer-events: none;
    background-color: #757575;
    color: black;
}

.bttn.bttn-disabled:after, 
.bttn:disabled:after {
    border-color: lightgray;
}

/*#endregion*/

/*#region Button (Hidden)*/

.bttn-hidden {
    display: none !important;
}

.bttn-hidden + .bttn-close {
    display: none;
}

/*#endregion*/

/***********************************************************************/
/*************************** %bttn_containers% *************************/
/***********************************************************************/

/*#region Button Containers*/

.bttn-container {
    margin-bottom: 1rem;
}

.bttn-container.bttn-container-same-height {
    display: flex;
    align-items: stretch;
}

.bttn-container.bttn-container-same-height > .bttn-classic {
    display: flex;
    align-items: center;
    justify-content: center;
}

.bttn-container + .bttn-container {
    margin-top: 15px;
}

.bttn-container + p {
    margin-top: 15px;
}

.bttn-container.bttn-container-full-width .bttn {
    display: block;
    width: 100%;
}

.bttn-container.bttn-container-full-width .bttn:not(:first-child) {
    margin-left: 0;
    margin-top: 20px;
}

.bttn-container.bttn-container-banner .bttn {
    display: block;
    max-width: 60%;
    margin-inline: auto;
}

.bttn-container-uniform {
    display: flex;
}

.bttn-container-uniform .bttn-classic {
    flex-grow: 1;
}

@media (max-width: 800px) {
    .bttn-container-uniform {
        flex-flow: column;
    }

    .bttn-container.bttn-container-uniform .bttn:not(:first-child) {
        margin-left: 0;
        margin-top: 30px;
    }

    .bttn-container.bttn-container-banner .bttn {
        display: block;
        width: 100%;
        max-width: 100%;
        margin-inline: 0;
    }
}

.bttn-container .bttn:not(:first-child) {
    margin-left: 30px;
}

/*#endregion*/

/*#endregion*/

/***********************************************************************/
/*************************** %flex-alignment% **************************/
/***********************************************************************/

/*#region Flex Alignment*/

.flex-container {
    display: flex;
}

.flex-center-vertical {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.flex-center-horizontal {
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.flex-center-both {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-justify-right {
    display: flex;
    justify-content: flex-end;
}

.flex-justify-left {
    display: flex;
    justify-content: flex-start;
}

.flex-justify-center {
    display: flex;
    justify-content: center;
}

.flex-push-left {
    margin-right: auto !important;
}

.flex-push-right {
    margin-left: auto !important;
}

.flex-push-center {
    margin-left: auto !important;
    margin-right: auto !important;
}

.text-large {
    font-size: 2rem;
}

/*#endregion*/

:root {
    --abs-margin: 0;
}

.abs-0-00 {
    --abs-margin: 0;
}

.abs-0-25 {
    --abs-margin: 0.25rem;
}

.abs-0-50 {
    --abs-margin: 0.5rem;
}

.abs-0-75 {
    --abs-margin: 0.75rem;
}

.abs-1-00 {
    --abs-margin: 1rem;
}

.abs-container {
    position: relative;
}

.abs-n, .abs-e, .abs-s, .abs-w, .abs-ne, .abs-se, .abs-sw, .abs-nw {
    position: absolute;
}

.abs-s {
    bottom: var(--abs-margin);
}

.abs-n {
    top: var(--abs-margin);
}

.abs-e {
    right: var(--abs-margin);
    top: 50%;
    transform: translateY(-50%);
}

.abs-w {
    left: var(--abs-margin);
    top: 50%;
    transform: translateY(-50%);
}

.abs-ne {
    top: var(--abs-margin);
    right: var(--abs-margin);
}

.abs-se {
    bottom: var(--abs-margin);
    right: var(--abs-margin);
}

.abs-sw {
    bottom: var(--abs-margin);
    left: var(--abs-margin);
}

.abs-nw {
    top: var(--abs-margin);
    left: var(--abs-margin);
}

/***********************************************************************/
/******************************** %grid% *******************************/
/***********************************************************************/

.grid {
    display: grid;
    --COLUMNS: auto;
    --ROWS: auto;
    grid-template-columns: var(--COLUMNS);
    grid-template-rows: var(--ROWS);
}

@media (max-width: 700px) {
    .grid-collapse {
        grid-template-columns: 1fr;
    }
}

/***********************************************************************/
/******************************* %loader% ******************************/
/***********************************************************************/

/*#region Loader*/

.loader {
    width: 9px;
    height: 9px;
    background: var(--tertiary);
    box-shadow: -18px -9px,0 -9px,18px -9px, -18px 0, 18px 0, -18px 9px,0 9px,18px 9px, -18px 18px,0 18px,18px 18px;
    animation: loader 2s infinite;
    color: var(--tertiary);
    transform: scale(1.4);
}

@keyframes loader {
    10% {
        box-shadow: -18px -9px,0 -9px,18px -9px, -18px 0, 18px 0, -18px 9px #0000,0 9px,18px 9px #0000, -18px 18px,0 18px,18px 18px;
    }

    20% {
        box-shadow: -18px -9px,0 -9px,18px -9px, -18px 0, 18px 0, -18px 9px,0 9px,18px 9px #0000, -18px 18px #0000,0 18px,18px 18px;
    }

    30% {
        box-shadow: -18px -9px,0 -9px #0000,18px -9px, -18px 0 #0000, 18px 0, -18px 9px,0 9px #0000,18px 9px, -18px 18px #0000,0 18px,18px 18px #0000;
    }

    40% {
        box-shadow: -18px -9px,0 -9px,18px -9px, -18px 0 #0000, 18px 0 #0000, -18px 9px,0 9px,18px 9px, -18px 18px,0 18px,18px 18px;
    }

    50% {
        box-shadow: -18px -9px,0 -9px,18px -9px, -18px 0, 18px 0 #0000, -18px 9px #0000,0 9px,18px 9px, -18px 18px,0 18px,18px 18px;
    }

    60% {
        box-shadow: -18px -9px,0 -9px #0000,18px -9px, -18px 0, 18px 0, -18px 9px #0000,0 9px,18px 9px, -18px 18px #0000,0 18px,18px 18px;
    }

    70% {
        box-shadow: -18px -9px,0 -9px #0000,18px -9px #0000, -18px 0, 18px 0, -18px 9px,0 9px,18px 9px, -18px 18px #0000,0 18px,18px 18px;
    }

    80% {
        box-shadow: -18px -9px #0000,0 -9px,18px -9px, -18px 0, 18px 0, -18px 9px,0 9px,18px 9px, -18px 18px,0 18px,18px 18px #0000;
    }

    90% {
        box-shadow: -18px -9px #0000,0 -9px,18px -9px, -18px 0, 18px 0, -18px 9px,0 9px #0000,18px 9px, -18px 18px,0 18px,18px 18px #0000;
    }
}

/*#endregion*/

/***********************************************************************/
/******************************** %main% ******************************/
/***********************************************************************/

@media (prefers-color-scheme: light) {
    main {
        box-shadow: 0 5px 10px var(--primaryL3);
    }
}

/***********************************************************************/
/**************************** %county_alerts% **************************/
/***********************************************************************/

/*#region Countywide Alerts*/

#CountyAlertHolder {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    color: var(--color);
}

#CountyAlertHolder .item-wrapper {
    width: 100%;
    background: var(--background);
}

#CountyAlertHolder .item {
    padding: 1rem 1rem;
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    position: relative;
}

#CountyAlertHolder .item:before {
    content: '';
    width: 5000px;
    height: 1px;
    background-color: white;
    position: absolute;
    left: -2000px;
    bottom: 0;
}

#CountyAlertHolder .item a {
    color: var(--link);
}

#CountyAlertHolder .item .close {
    margin-left: auto;
    color: black;
    cursor: pointer;
}

/*#endregion*/

/***********************************************************************/
/**************************** %skip_to_main% ***************************/
/***********************************************************************/

/*#region Skip to Main Link*/

#skipToMain {
    position: absolute;
    display: inline-block;
    left: 50%;
    transform: translate(-50%, -100%);
    padding: 5px 15px 10px 15px;
    color: black;
    background-color: white;
    z-index: 999;
}

#skipToMain:focus {
    transform: translateX(-50%);
}

/*#endregion*/

/***********************************************************************/
/**************************** %section-types% **************************/
/***********************************************************************/

/*#region Main Section*/
.main-section img {
    position: relative;
    width: 100%;
    z-index: 2;
}

.main-section h2:after {
    background-color: transparent;
}

.main-section .carousel-control-prev, .main-section .carousel-control-next {
    z-index: 3;
}

.carousel-control-next:hover,
.carousel-control-next:focus {
    background: linear-gradient(90deg, rgba(0,0,0,0) 25%, rgba(0,0,0,0.5) 100%);
}

.carousel-control-prev:hover,
.carousel-control-prev:focus {
    background: linear-gradient(90deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 75%);
}

.RadSwitch:hover .k-switch-handle,
.RadSwitch:focus .k-switch-handle {
    background-color: #888888 !important;
}

/*#endregion*/
/*#region Bar Section*/
.section-bar {
    box-shadow: 0 -5px 10px var(--border), 0 5px 10px var(--border);
    padding-block: 0;
}

/*#endregion*/

/*#region Banner Section*/

.banner-section {
    padding-top: 0;
}

.banner-section .image-wrapper {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
    background-image: var(--IMAGE); /*To be defined in page, must be full path*/
    background-position: var(--IMAGE-ALIGN);
    background-size: cover;
    display: block;
}

.banner-section .image-wrapper .text {
    height: 40%;
    width: 100%;
    font-family: var(--serif);
    font-size: 3.5rem;
    background-color: rgba(0, 0, 0, 0.65);
    
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    display: grid;
    place-items: center;
}

.banner-section .image-wrapper:hover .text {
    background-color: rgba(0, 0, 0, 0.75);
}

@media (prefers-color-scheme: light) {
    .banner-section .image-wrapper .text {
        color: var(--secondaryL5);
    }
}

.banner-section .content-wrapper {
    position: relative;
}

.banner-section .search-wrapper {
    position: absolute;
    height: 250px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    z-index: 20;
}

@media (max-width: 599px) {
    .banner-section .image-wrapper {
        height: 300px;
    }

    .banner-section .search-wrapper {
        height: 200px;
    }
}

@media (min-width: 600px) {
    .banner-section .card-container {
        position: absolute;
        width: calc(100% - 30px);
        top: 100%;
        transform: translateY(-50%);
        pointer-events: auto;
    }

    .banner-section .image-wrapper {
        position: absolute;
        top: 0;
        left: 0;
    }

    .banner-section .content-wrapper {
        height: 400px;
        pointer-events: none;
    }

    .banner-section .card-container .card {
        position: relative;
        overflow: visible;
    }

    .banner-section .card-container .card:before {
        position: absolute;
        top: 0;
        left: 0;
        content: '';
        width: 100%;
        height: 100%;
        box-shadow: 0 5px 10px var(--border);
        clip-path: polygon(-10% 50%, 110% 50%, 110% 110%, -10% 110%);
        border-radius: var(--corner-radius);
    }
}

/*#endregion*/

/*#region Hero Section*/

.hero-section {
    padding-top: 0;
}

.hero-section .image-wrapper {
    width: 100%;
    height: 500px;
    overflow: hidden;
    position: relative;
    background-image: var(--IMAGE); /*To be defined in page, must be full path*/
    background-position: var(--IMAGE-ALIGN);
    background-size: cover;
    background-repeat: no-repeat;
    display: block;
}

.hero-section .image-wrapper:after {
    content: '';
    width: 100%;
    height: 500px;
    position: absolute;
    top: 0;
    left: 0;
    background-color: black;
    opacity: 0.10;
}

.hero-section .text {
    width: 100%;
    max-width: 500px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding-block: 1.5rem;
    left: calc((100vw - 1300px) / 2);
    position: absolute;
    display: grid;
    place-items: center start;
    color: white;

    border-top: 7px solid var(--primaryL8);
}

@media (prefers-color-scheme: dark) {
    .hero-section .text {
        border-top-color: var(--primaryL5);
    }
}

@media (max-width: 1300px) {
    .hero-section .text {
        left: 1rem;
    }
}

@media (max-width: 599px) {
    .hero-section .image-wrapper {
        height: 500px;
    }
}

/*#endregion*/

/*#region Hero Section Gallery*/

.hero-gallery-section {
    padding-top: 0;
}

.hero-gallery-section > .image-wrapper {
    --s: 50px; /* control the slanted part */

    display: grid;
    place-items: center;
}

.hero-gallery-section > .image-wrapper > .item {
    object-fit: cover;
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-gallery-section > .image-wrapper > .item img {
    object-fit: cover;
}

.hero-gallery-section > .image-wrapper > .item:first-child {
    place-self: start;
}

.hero-gallery-section > .image-wrapper > .item:last-child {
    place-self: end;
}

.hero-gallery-section > .image-wrapper {
    height: 300px;
    grid-auto-flow: column;
}

.hero-gallery-section > .image-wrapper > .item {
    width: 0;
    min-width: calc(100% + var(--s));
    height: 0;
    min-height: 100%;
    clip-path: polygon(var(--s) 0,100% 0,calc(100% - var(--s)) 100%,0 100%);
}

.hero-gallery-section > .image-wrapper > .item:first-child {
    min-width: calc(100% + var(--s)/2);
    clip-path: polygon(0 0,100% 0,calc(100% - var(--s)) 100%,0 100%);
}

.hero-gallery-section > .image-wrapper > .item:last-child {
    min-width: calc(100% + var(--s)/2);
    clip-path: polygon(var(--s) 0,100% 0,100% 100%,0 100%);
}

.hero-gallery-section .text {
    width: 100%;
    max-width: 1300px;
    height: 300px;
    position: absolute;
    top: 0;
    left: calc((100vw - 1300px) / 2);
    position: absolute;
    display: grid;
    place-items: center start;
    color: white;
}

.hero-gallery-section .image-wrapper:after {
    content: '';
    width: 100%;
    height: 300px;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #0E1C2E;
    opacity: 0.60;
}

@media (max-width: 1300px) {
    .hero-gallery-section .text {
        left: 0;
    }
}

@media (prefers-color-scheme: light) {
    .hero-gallery-section .image-wrapper:after {
        background-color: #4E6585;
        opacity: 0.60;
    }
}

@media (max-width: 599px) {
    .hero-gallery-section .image-wrapper {
        height: 300px;
    }
}

/*#endregion*/

section.highlight {
    text-align: center;
    background-color: var(--primaryL10);
    color: white;
}

section.highlight.no-center {
    text-align: left;
}

section.highlight p {
    font-size: 1.2rem;
}

section.highlight h2 {
    font-size: 1.8rem;
}

section.highlight h2:before,
section.highlight h2:after {
    content: none;
}

section.hightlight > a {
    display: block;
    width: 100%;
    height: 100%;
}

@media (prefers-color-scheme: light) {
    section.highlight .bttn.bttn-primary {
        border: 1px solid var(--secondaryL7);
    }

    section.highlight .bttn.bttn-primary:hover,
    section.highlight .bttn.bttn-primary:focus {
        border-color: var(--bttn-border);
    }

    section.highlight .bttn.bttn-primary.bttn-ghost:hover,
    section.highlight .bttn.bttn-primary.bttn-ghost:focus {
        --bttn-border: var(--tertiary);
    }

    section.highlight a {
        --link-color: white;
    }
}

@media (prefers-color-scheme: dark) {
    section.highlight {
        text-align: center;
        background-color: var(--backgroundL6);
    }
}

section.split img {
    position: relative;
    width: 100%;
    z-index: 2;
}

section.disclaimer, 
section.minor-footer {
    border-top: 1px solid var(--border);
    color: #555555;
    padding-top: 2rem;
    text-align: center;
}

section.disclaimer {
    font-size: 0.8rem;
    margin-bottom: -2rem;
}

section.minor-footer {
    font-size: 1.0rem;
    margin-bottom: -1rem;
}

@media (prefers-color-scheme: dark) {
    section.disclaimer, 
    section.minor-footer {
        color: #888888;
    }
}

section.note {
    padding-block: 0;
    text-align: center;
}

section.inner-footer {
    border-top: 1px solid var(--border);
}

section.inner-footer > div {
    display: grid;
    grid-template-columns: auto auto auto auto;
    gap: 1rem;
}

section.inner-footer.right-image > div {
    grid-template-columns: auto auto auto;
    grid-auto-columns: 150px;
    grid-auto-flow: column;
}

section.inner-footer.left-image > div {
    grid-template-columns: 150px auto auto auto;
    gap: 1.8rem;

}

@media (max-width: 799px) {
    section.inner-footer > div,
    section.inner-footer.right-image > div, 
    section.inner-footer.left-image > div {
        grid-template-columns: auto;
        grid-template-rows: auto;
        grid-auto-flow: row;
        text-align: center;
    }

    section.inner-footer img {
        width: 150px;
    }
}

section.contact .content {
    display: grid;
    grid-auto-columns: auto;
    grid-auto-flow: column;
    gap: 1rem;
}

section.contact .content-headshot {
    grid-template-columns: 150px 1fr 1fr 1fr;
}

section.contact .content-headshot .headshot {
    display: flex;
    align-items: center;
    flex-direction: column;
    z-index: 10;
    text-align: center;
}

@media (max-width: 799px) {
    section.contact .content {
        display: grid;
        grid-template-columns: auto;
        grid-auto-rows: auto;
        gap: 1rem;
        grid-auto-flow: row;
    }

    section.contact .content-headshot .headshot img {
        width: 150px;
    }
}

section.story {
    padding: 0;
}

section.story > div {
    display: flex;
    grid-gap: 3rem;
    padding: 3rem;
}

section.story p {
    font-size: 1rem;
    text-align: left;
    margin: 0;
}

@media (max-width: 799px) {
    section.story > div {
        flex-direction: column;
    }
}

/***********************************************************************/
/******************************** %charts% *****************************/
/***********************************************************************/

.bar-chart {
    display: grid;
}

.bar-chart .chart-bar {
    border: 1px solid var(--color-dim);
}

.bar-chart-figure {
    padding: 1rem 2rem;
    border: 1px solid var(--color-dim);
}

.bar-chart-figure figcaption {
    text-align: center;
    font-family: var(--serif);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

@media (min-width: 800px) {
    .bar-chart .chart-bar {
        height: 20px;
    }

    .bar-chart .chart-bar .inner-bar {
        height: 19px;
        background-color: var(--color-dim);
    }

    .bar-chart .chart-scale-label {
        justify-self: end;
        transform: translateX(50%);
    }

    .bar-chart .chart-scale-line {
        border-right: 1px dashed var(--color-dim);
    }

    .bar-chart .chart-label {
        margin-right: 1rem;
    }

    .bar-chart .chart-label span {
        text-align: right;
        float: right;
        width: 75px;
    }

    .bar-chart .chart-bar .value {
        display: none;
    }
}

@media (max-width: 799px) {
    .bar-chart .chart-bar {
        width: 75%;
        justify-self: center;
        display: flex;
        align-items: center;
        flex-direction: column-reverse;
    }

    .bar-chart .chart-bar .inner-bar {
        width: 100%;
        background-color: var(--color-dim);
    }

    .bar-chart .chart-scale-label {
        align-self: end;
        transform: translateY(50%);
    }

    .bar-chart .chart-scale-line {
        border-top: 1px dashed var(--color-dim);
    }

    .bar-chart .chart-label {
        writing-mode: vertical-rl;
        transform: rotate(180deg);
        place-self: start center;
        margin-top: 1rem;
        text-align: center;
    }

    .bar-chart .chart-label span {
        display: none;
    }

    .bar-chart .chart-bar .value {
        font-size: 0.8rem;
    }
}

/***********************************************************************/
/***************************** %video-grids% ***************************/
/***********************************************************************/

.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem 1rem;
    align-items: start;
}

.video-grid .video {
    text-align: left;
}

.video-grid .img-container {
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
    margin-bottom: 0.5rem;
    border-radius: 0.75rem;
    transition: border .25s ease-in-out;
    border: transparent;
}

.video-grid .img-container img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateY(-50%) translateX(-50%);
    transition: transform .25s ease-in-out;
}

.video-grid .video:hover .img-container,
.video-grid .video:focus .img-container {
    border: 1px solid var(--link);
}

.video-grid .video:hover .img-container img,
.video-grid .video:focus .img-container img {
    transform: translateY(-50%) translateX(-50%) scale(110%);
}

@media (max-width: 1099px) {
    .video-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 799px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 599px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
}

/***********************************************************************/
/**************************** %google-search% **************************/
/***********************************************************************/

/*#region Google Programmable Search Engine*/

#GoogleSearch {
    all: initial;
}

#GoogleSearch *:not(svg, title, path) {
    all: unset;
}

#GoogleSearchContainer {
    position: relative;
}

#GoogleSearch input {
    font-size: 2rem;
    padding: 0.5rem 1rem !important;
    text-align: center;
    width: calc(100% - 150px) !important;
    border-radius: 10px;
    background-position: 1rem center !important;
    font-family: var(--sansserif);
    background: white !important;
}

@media (prefers-color-scheme: light) {
    #GoogleSearch input {
        box-shadow: 0 5px 10px #CCCCCC !important;
    }

    #GoogleSearch .gsc-search-button-v2 {
        --bttn-background: var(--primaryL9);
    }
}

@media (prefers-color-scheme: dark) {
    #GoogleSearch .gsc-search-button-v2 {
        --bttn-background: var(--primaryL5);
    }
}

#GoogleSearch input::placeholder {
    font-size: 1.5rem;
}

#GoogleSearch .gsc-search-button {
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    display: inline-block;
}

#GoogleSearch .gsc-search-button-v2 {
    font-family: var(--serif) !important;
    text-align: center !important;
    font-size: 1.2rem !important;
    line-height: normal !important;
    display: inline-block !important;
    cursor: pointer !important;
    transition: 1s !important;
    border: none !important;
    background-color: var(--bttn-background) !important;
    padding: 15px 0 !important;
}

#GoogleSearch .gsc-search-button-v2:hover,
#GoogleSearch .gsc-search-button-v2:focus {
    background-color: var(--tertiary) !important;
    color: black !important;
}

#GoogleSearch svg {
    stroke: var(--secondaryL5) !important;
}

@media (max-width: 599px) {
    #GoogleSearch input {
        font-size: 1.5rem;
    }

    #GoogleSearch input::placeholder {
        text-align: right;
        font-size: 1.2rem;
    }
}

.gsst_a {
    position: absolute !important;
    top: 1.75rem !important;
    transform: translateY(-50%) !important;
    right: 1rem !important;
    font-size: 2rem !important;
    cursor: pointer !important;
}

.gssb_c {
    position: absolute !important;
    top: 4rem !important;
    left: 0 !important;
    border: 1px solid var(--border) !important;
    border-radius: 10px !important;
    box-shadow: 0 0 20px -10px black !important;
    overflow: hidden;
    border-collapse: separate !important;
}

.gccs_b,
.gssb_c * {
    border: none !important;
    background-color: transparent !important;
}

.gssb_c tr tr tr td {
    padding: 0.5rem 0 !important;
}

.gsc-completion-container {
    font-family: var(--sansserif) !important;
    font-size: 1.1rem !important;
    background-color: var(--background) !important;
}

.gsc-completion-container > tbody > tr {
    border-bottom: 1px solid var(--border) !important;
}

.gsc-completion-container > tbody > tr td {
    color: var(--secondaryL5);
    cursor: pointer;
}

.gsc-completion-container > tbody > tr:hover td {
    text-decoration: underline;
    background-color: var(--background-hover) !important;
}

/* Results Page*/

.gsc-control-cse {
    background-color: var(--background) !important;
    border: none !important;
    font-family: var(--sansserif) !important;
    font-size: 1rem !important;
}

.gsc-webResult.gsc-result {
    background-color: transparent !important;
    border: none !important;
}

.gsc-cursor-box {
    text-align: center !important;
    font-size: 1.5rem;
}

.gsc-cursor-page {
    color: var(--link) !important;
    background-color: transparent !important;
}

.gcsc-find-more-on-google {
    color: var(--link) !important;
}

.gcsc-find-more-on-google-magnifier {
    fill: var(--link) !important;
}

/*#endregion*/

/***********************************************************************/
/***************************** %breadcrumbs% ***************************/
/***********************************************************************/

#BreadcrumbsContainer {
    border-bottom: 1px dotted #CCCCCC;
    padding-block: 1rem;
    background-color: var(--background);
    position: relative;
    z-index: 1;
}

#BreadcrumbsContainer i {
    padding-inline: 0.5rem;
}

@media (min-width: 600px) {
    #BreadcrumbsMobile {
        display: none;
    }
}

@media (max-width: 599px) {
    #Breadcrumbs {
        display: none;
    }
}

/***********************************************************************/
/***************************** %icons% ***************************/
/***********************************************************************/

.w-icon {
    width: 70px;
}
