﻿html, body {
    height: 100%;
    margin: 0;
    font-size: 1.05rem;
}
    /* Wrapping element */
    body a {
        color: #007FA3;
        text-decoration: none;
        transition: color 0.2s ease-in-out;
        font-weight: 500;
    }

        body a:hover {
            color: #005f7a; /* Slightly darker shade for hover */
            text-decoration: underline;
        }

.bg-footer {
    background: linear-gradient(180deg, #00485c 0%, #003747 100%);
}

.bg-table-cell {
    background: linear-gradient(180deg, #004357 0%, #003747 100%);
}

.text-provider {
    color: #007FA3;
}

.directory-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #007FA3;
    margin: 0 auto;
    border-radius: 2px;
    margin-top: 10px;
}

.directory-item {
    padding: 10px 0;
    border-bottom: 1px dotted #ccc;
    font-size: 1rem;
    color: #333;
}

    .directory-item:last-child {
        border-bottom: none;
    }

.provider-title {
    font-size: 2.1rem;
    color: #003747;
    border-bottom: 6px solid #007FA3;
    padding-bottom: .7rem;
    line-height: 1.3;
}

.section-title {
    font-size: 1.5rem;
    color: #003747;
}

.table-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #007FA3;
    margin: 0 auto;
    border-radius: 2px;
    margin-top: 10px;
}

table {
    border-collapse: separate;
    border-spacing: 0;
}

.table th,
.table td {
    vertical-align: middle;
    padding: 1rem;
}

.table tbody tr:hover {
    background-color: #f0faff;
}

/* Set some basic padding to keep content from hitting the edges */
.body-content {
    margin-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
}


/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    .body-content {
        padding: 0;
    }
}

.toc-link {
    display: block;
    padding: 0.5rem 0.75rem;
    border-left: 3px solid transparent;
    border-radius: 0.25rem;
    color: #003747;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

    .toc-link:hover {
        background-color: #f1f1f1;
        border-left-color: #4cb748;
        text-decoration: none;
    }

.share-block a, .share-block button {
    color: #003747;
    background-color: #f8f9fa;
    border-color: #d1d1d1;
    transition: all 0.2s ease;
}

    .share-block a:hover, .share-block button:hover {
        background-color: #e9ecef;
        color: #003747;
    }

.primary-care-directory-list {
    columns: 1;
    column-gap: 2rem;
}

@media (min-width: 768px) {
    .primary-care-directory-list {
        columns: 2;
    }
}

@media (min-width: 992px) {
    .primary-care-directory-list {
        columns: 4;
    }
}

.primary-care-directory-item {
    break-inside: avoid;
    padding: 0.5rem 0;
    border-bottom: 1px dotted #ccc;
    color: #003747;
    font-size: 1rem;
}

.services-list {
    columns: 1;
    column-gap: 2rem;
}

@media (min-width: 768px) {
    .services-list {
        columns: 2;
    }
}

.services-list li {
    break-inside: avoid;
    padding: 0.5rem 0;
    border-bottom: 1px dotted #ccc;
    font-size: 1rem;
    color: #003747;
    display: flex;
    align-items: center;
}

.services-list li:last-child {
    border-bottom: none;
}

.insurance-list li {
    padding: 0.5rem 0;
    border-bottom: 1px dotted #ccc;
    font-size: 1rem;
    color: #003747;
    display: flex;
    align-items: center;
}

.insurance-list li:last-child {
    border-bottom: none;
}

.insurance-list {
    columns: 1;
    column-gap: 2rem;
}

@media (min-width: 768px) {
    .insurance-list {
        columns: 2;
    }
}

.custom-quote {
    font-style: italic;
    color: #003747;
    font-size: 1.10rem;
    position: relative;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    margin: 1rem 0;
}

    .custom-quote::before {
        content: "“";
        font-size: 2rem;
        color: #007FA3;
        position: absolute;
        left: 0;
        top: 0;
        line-height: 1;
    }

    .custom-quote::after {
        content: "”";
        font-size: 2rem;
        color: #007FA3;
        position: absolute;
        bottom: 0;
        right: 0;
        line-height: 1;
    }

.breadcrumb-wrapper {
    font-size: 0.95rem;
    background-color: transparent;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 0;
}

    .breadcrumb a {
        color: #007FA3;
    }

    .breadcrumb .active {
        color: #003747;
        font-weight: 600;
    }

/* Footer Link Styling */
.footer-link {
    display: block;
    padding: 0.5rem 1rem;
    margin-bottom: 0.3rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    color: #ffffff;
    background-color: transparent;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

    .footer-link:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: #d1ecf1; /* softer white-blue */
        border-color: rgba(255, 255, 255, 0.2);
    }

        /* Remove ::after effect entirely */
        .footer-link::after,
        .footer-link:hover::after {
            display: none !important;
        }

    .footer-link.active-link {
        background-color: #ffffff;
        color: #003747;
        font-weight: 600;
        border-color: #ffffff;
    }


.footer-nav-links li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.6rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    width: 100%;
    transition: color 0.3s ease;
}

    .footer-nav-links a:hover {
        color: #ffffff;
        text-decoration: none;
    }

    .footer-nav-links a::after {
        content: '\203A'; /* Unicode for › */
        font-size: 1.2rem;
        line-height: 1;
    }


/* Tab Content Styling */
.tab-content {
    display: none;
}

    .tab-content.active {
        display: block;
    }
