﻿/* ===== HEADER ===== */
.usa-header--extended .usa-navbar {
    overflow: visible;
}

.usa-header + .usa-section,
.usa-header + main {
    border-top: none;
}

.usa-footer {
    background-color: var(--ledta-primary);
}

.usa-footer__secondary-section {
    background-color: var(--ledta-primary);
}

    .usa-footer__secondary-section a, .usa-footer__primary-section h1, .usa-footer__primary-section p {
        color: #fff;
    }

.usa-footer__primary-section {
    background-color: var(--ledta-primary);
    margin-bottom: 5rem;
    max-width: 100%;
}

    .usa-footer__primary-section h2 {
        text-transform: uppercase;
        color: #fff;
    }

.usa-footer__nav {
    background-color: var(--ledta-secondary);
    max-width: 100%;
}

    .usa-footer__nav p {
        margin-bottom: 0;
        text-align: center;
        color: #fff;
        font-weight: 700;
        padding: 1rem;
    }

.usa-footer__logo {
    text-align: center;
}

.usa-footer .grid-row {
    justify-content: space-between;
}

/* ===== INTRO SECTION ===== */
.intro h1 {
    margin-top: 0;
    margin-bottom: 2rem;
}

/* ===== SHARED STYLES ===== */

.usa-card__categories {
    font-size: var(--ledta-font-size-small);
    color: var(--ledta-text-primary);
}

.usa-card__category {
    display: inline-block;
    background: #f0f0f0;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    margin-right: 0.5rem;
    margin-bottom: 0.25rem;
}

/* ===== CARD VIEW ===== */
.card-view .usa-card__heading a {
    color: inherit;
    text-decoration: none;
    pointer-events: none;
}

.card-view .usa-card__container {
    border: none;
}

.card-view .usa-card__header {
    background: none;
}

.card-view .usa-card-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-view .usa-card__footer {
    margin-top: 1rem;
}

.card-view .usa-card__categories {
    display: none;
}

/* Override some usa styles that cause too much separation (MC): */
.small__label-description {
    display: block;
    font-size: .93rem;
    margin-bottom: 1px; /* .5rem;*/
}

.usa-error-message {
    padding-top: 1px;
    padding-bottom: 1px;
}

.usa-character-count__status {
    font-size: .93rem;
    padding-top: 1px;
}
/* End of styles that override (MC) */

.online-description {
    font-family: Source Sans Pro Web, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif;
    max-width: 30rem;
}

/* ===== LIST VIEW ===== */
.list-view .usa-card-group {
    display: block;
    list-style: none;
    padding: 0;
    margin: 0;
}

.list-view .usa-card {
    width: 100%;
    margin-bottom: 1rem;
}

.list-view .usa-card__container {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 1rem;
    border: none;
}

.list-view .usa-card__header {
    flex: 0 0 250px;
    margin-right: 1rem;
}

.list-view .usa-card__body {
    flex: 1;
    margin-right: 1rem;
}

.list-view .usa-card__footer {
    display: none;
}

.list-view .usa-card__header {
    background: none;
    border-bottom: none;
}

.list-view .usa-card__heading {
    font-size: 1.1rem;
    margin: 0 0 0.5rem 0;
}

    .list-view .usa-card__heading a {
        color: var(--ledta-tertiary);
        font-size: 1rem;
    }

.list-view .usa-card__body p {
    margin: 0.5rem 0 0.5rem 0;
    font-size: 0.9rem;
}

.list-view .usa-card__categories {
    display: block;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .list-view .usa-card__container {
        flex-direction: column;
        align-items: flex-start;
    }

    .list-view .usa-card__header {
        flex: none;
        margin-right: 0;
        margin-bottom: 0.5rem;
        width: 100%;
    }

    .list-view .usa-card__body {
        flex: none;
        margin-right: 0;
        margin-bottom: 1rem;
        width: 100%;
    }

    .list-view .usa-card__footer {
        display: block;
        width: 100%;
    }
}
