﻿:root {
    --portal-header-height: 6.5rem;
    --portal-navy-900: #001420;
    --portal-navy-700: #003250;
    --portal-navy-600: #335b73;
    --portal-blue-500: #557482;
    --portal-blue-300: #a6bdc8;
    --portal-blue-100: #e1e9ed;
    --portal-green-500: #a5ce4d;
    --portal-silver-600: #5b6770;
    --portal-silver-300: #2b3738;
    --portal-divider: #c3d3da;
    --portal-surface: rgba(255, 255, 255, 0.94);
    --portal-surface-soft: rgba(255, 255, 255, 0.78);
    --portal-gradient-main: linear-gradient(107deg, var(--portal-navy-900) 0.07%, #335b73 88.83%);
    --portal-gradient-accent: linear-gradient(270deg, var(--portal-green-500) -8.48%, var(--portal-blue-300) 36.89%, var(--portal-blue-500) 100%);
    --portal-shadow-lg: 0 24px 60px rgba(0, 20, 32, 0.2);
    --portal-shadow-md: 0 18px 40px rgba(0, 20, 32, 0.12);
    --portal-radius-sm: 0.1rem;
    --portal-radius-md: 0.2rem;
    --light-highlight: rgba(225, 233, 237, 0.32);
    --bs-primary: var(--portal-navy-700);
    --bs-primary-rgb: 0, 50, 80;
    --bs-success: var(--portal-green-500);
    --bs-success-rgb: 165, 206, 77;
    --bs-body-font-family: "Lato", Arial, Helvetica, sans-serif;
    --bs-body-color: #173042;
    --bs-body-bg: #f3f7f8;
    --bs-border-color: var(--portal-divider);
}

.success-text {
    color: var(--bs-success);
}

.spinner-container {
    min-height: 50vh;
    display: flex;
    align-content: center;
    justify-content: center;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
}




.spinner-svg-wrapper {
    height: 100px;
    width: 100px;
    margin-bottom: 30px;
    overflow: hidden;
    animation: 2s linear infinite svg-animation;
}


.spinner-winner {
    position: absolute;
    top: 40%;
    bottom: 0;
    max-height: 50%;
}

svg.spinner-svg {
    max-width: 5rem;
}


@keyframes svg-animation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}


body.portal-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--bs-body-color);
    font-family: var(--bs-body-font-family);
    background: radial-gradient(circle at top right, rgba(165, 206, 77, 0.15), transparent 22%), linear-gradient(180deg, #edf3f5 0%, #f7f9fa 42%, #eef4f6 100%);
}

.portal-body main {
    flex-grow: 1;
}


header {
    height: var(--portal-header-height);
}

a {
    color: var(--portal-navy-700);
    text-decoration: none;
}

    a:hover {
        color: var(--portal-navy-900);
    }

.portal-container {
    max-width: 1280px;
    padding-left:0.5em;
    padding-right:0.5em;
}

.portal-navbar {
    min-height: var(--portal-header-height);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background: var(--portal-gradient-main);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.portal-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.95rem;
    color: #fff;
}

    .portal-brand img {
        max-width: 80vw;
        max-height: 5rem;
    }

footer .portal-brand img {
    max-width: 60vw;
    max-height: 4rem;
}

.portal-brand:hover,
.portal-brand:focus {
    color: #fff;
}

.portal-brand-mark {
    width: 0.45rem;
    height: 3.5rem;
    border-radius: var(--portal-radius-sm);
    background: var(--portal-green-500);
    box-shadow: 0 0 0 0.15rem rgba(165, 206, 77, 0.15);
}

footer .portal-brand-mark {
    height: 4.5rem;
}

.portal-navbar .nav-link {
    position: relative;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 700;
    padding: 0.75rem 0.25rem;
    letter-spacing: 0.03em;
}


.portal-navbar .nav-text {
    position: relative;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 700;
    padding: 0.75rem 0.25rem;
    letter-spacing: 0.03em;
}




    .portal-navbar .nav-link::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0.35rem;
        height: 0.12rem;
        background: var(--portal-green-500);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.2s ease;
    }

    .portal-navbar .nav-link:hover,
    .portal-navbar .nav-link:focus,
    .portal-navbar .nav-link.active {
        color: #fff;
    }

        .portal-navbar .nav-link:hover::after,
        .portal-navbar .nav-link:focus::after,
        .portal-navbar .nav-link.active::after {
            transform: scaleX(1);
        }

.profile-item {
    display:flex;
    margin-left:4rem !important;
}

    .portal-navbar .nav-under .nav-link:after {
        bottom:-0.35rem;
    }

.portal-navbar .nav-under .nav-link {
    display:inline
}
    .portal-toggler {
        border-color: rgba(255, 255, 255, 0.2);
    }

        .portal-toggler .navbar-toggler-icon {
            filter: invert(1);
        }

    .portal-hero,
    .dashboard-hero {
        position: relative;
        overflow: hidden;
        background: var(--portal-gradient-main);
    }

    .portal-hero {
        padding: 5rem 0 4rem;
        color: rgba(255, 255, 255, 0.76);
    }

        .portal-hero::before,
        .dashboard-hero::before {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(120deg, rgba(0, 20, 32, 0.8), rgba(0, 50, 80, 0.48)), url("../images/business-insurance-client-meeting.png") center/cover;
            opacity: 0.24;
        }

        .portal-hero > .container,
        .dashboard-hero > .container {
            position: relative;
            z-index: 1;
        }

    .portal-eyebrow {
        margin-bottom: 1rem;
        color: var(--portal-green-500);
        font-size: 0.85rem;
        font-weight: 900;
        letter-spacing: 0.22em;
        text-transform: uppercase;
    }

    .portal-hero-title {
        max-width: 11ch;
        font-weight: 900;
        line-height: 1.02;
    }

    .feature-card, .side-card {
        padding: 2rem;
        border: 1px solid rgba(195, 211, 218, 0.7);
    }

    .feature-card, .side-card {
        background: var(--portal-surface-soft);
    }

        .feature-card h3,
        .side-card h3,
        .policy-card h3 {
            font-weight: 900;
            color: var(--portal-navy-900);
        }

        .side-card.text-white h3 {
            color: white;
        }

    .card-panel, .feature-card, .side-card {
        border-radius: 0.5rem;
        background: var(--portal-surface);
        box-shadow: var(--portal-shadow-lg);
    }

    .card-panel {
        overflow: hidden;
    }

        .card-panel::before {
            content: "";
            display: block;
            height: 0.4rem;
            background: var(--portal-gradient-accent);
        }

    .portal-section-label {
        color: var(--portal-blue-500);
        font-size: 0.8rem;
        font-weight: 900;
        letter-spacing: 0.18em;
        text-transform: uppercase;
    }

    .portal-section-label::before {
        content: "/ ";
    }

    .form-label,
    .form-check-label {
        font-weight: 700;
    }

    .form-control {
        border: 1px solid var(--portal-divider);
        border-radius: var(--portal-radius-md);
        min-height: 3.5rem;
        padding-inline: 1.25rem;
    }

        .form-control:focus {
            border-color: var(--portal-green-500);
            box-shadow: 0 0 0 0.25rem rgba(165, 206, 77, 0.2);
        }

    .btn-portal {
        --portal-button-icon: url("../images/button-arrow-navy.svg");
        display: inline-flex;
        align-items: center;
        /* background-color: var(--portal-blue-500);*/
        color: var(--portal-navy-900);
        background: rgba(225, 233, 237, 0.55);
        border-color: var(--portal-blue-300);
        font-weight: 700;
        justify-content: center;
        gap: 0.85rem;
        border-radius: var(--portal-radius-md);
        line-height: 1;
        padding: 0.95rem 1rem 0.95rem 1.25rem;
        transition: backgroundColor 1s ease,color 1s ease;
    }


        .btn-portal::after {
            content: "";
            display: block;
            width: 1rem;
            height: 1rem;
            flex: 0 0 auto;
            background: center / contain no-repeat var(--portal-button-icon);
            transition: transform 0.2s ease;
        }

        .btn-portal.buy-quote-previous::before {
            content: "";
            display: block;
            width: 1rem;
            height: 1rem;
            flex: 0 0 auto;
            background: center / contain no-repeat var(--portal-button-icon);
            transform: scaleX(-1);
        }

        .btn-portal.buy-quote-previous::after {
            display: none;
        }

    .no-icon::after {
        display: none;
    }

    .btn-portal.btn-primary {
        --portal-button-icon: url("../images/button-arrow-navy.svg");
        border: 1px solid var(--portal-navy-700);
        color: var(--portal-navy-700);
        background: var(--portal-blue-100);
        font-weight: 700;
        box-shadow: 0 12px 30px rgba(0, 20, 32, 0.18);
    }

    .btn-portal:hover,
    .btn-portal:focus {
        color: var(--portal-navy-900);
        border: 1px solid var(--portal-green-500);
        background: rgba(165,206,77,0.1);
        transform: translateY(-1px);
        transition: transform 0.5s ease;
    }

    .btn-portal.btn-primary:hover,
    .btn-portal.btn-primary:focus {
        color: var(--portal-navy-900);
        border: 1px solid var(--portal-navy-700);
        background: var(--portal-green-500);
        transform: translateY(-1px);
        transition: transform 0.5s ease;
    }



    .btn-portal:hover::after,
    .btn-portal:focus::after {
        --portal-button-icon: url("../images/button-arrow-navy.svg");
        transform: rotate(-30deg);
        transition: transform 0.1s ease 0.1s;
    }

    .btn-portal.advisor-help-button,
    .btn-portal.advisor-help-button:hover::after,
    .btn-portal.advisor-help-button:focus::after {
        --portal-button-icon: url("../images/button-phone-navy.svg");
    }

    .portal-footer {
        background: var(--portal-gradient-main);
    }

    .banner-card {
        box-shadow: var(--portal-shadow-md);
    }


    .banner-card,
    .summary-tile {
        border-radius: 0.5rem;
        border: 1px solid rgba(255, 255, 255, 0.12);
    }

    .banner-card {
        padding: 1.75rem;
        color: #fff;
        background: rgba(255, 255, 255, 0.12);
        backdrop-filter: blur(16px);
    }

        .banner-card h2 {
            font-weight: 900;
            color: #fff;
        }




    .detail-content {
        position: relative;
        z-index: 2;
        padding-bottom: 1rem;
    }


    .banner-card,
    .summary-tile,
    .policy-card {
        box-shadow: var(--portal-shadow-md);
    }

        .banner-card .portal-eyebrow {
            color: var(--portal-blue-300);
            font-size: 0.8rem;
            font-weight: 900;
            letter-spacing: 0.1em;
            text-transform: uppercase;
        }



    .question-response-text {
        text-align: center;
        font-weight: bold;
    }

    .questionTable {
        border: 2px solid var(--portal-blue-500);
        border-radius: 0.4em;
        border-spacing: 0;
        margin-bottom: 1.5em;
        border-collapse: separate;
        background: var(--light-highlight);
    }


        .questionTable input, .questionTable select {
            background-color: white;
        }

        .questionTable > tbody > tr > td, .questionTable > thead > tr > th {
            border-bottom: 1px solid var(--portal-blue-300);
            border-left: 1px solid var(--portal-blue-300);
            padding: 0.8em;
            margin: 0 0 0 0;
        }

            .questionTable > tbody > tr > td:first-child, .questionTable > thead > tr > th:first-child {
                border-left: 0;
            }

            .questionTable > thead > tr > td:last-child, .questionTable > thead > tr > th:last-child {
                text-align: center
            }

        .questionTable > thead > tr > th {
            background-color: var(--portal-blue-500);
            color: rgb(245, 245, 245);
        }

        .questionTable > tbody > tr:last-child > td {
            border-bottom: 0;
        }

    .highlight > td {
        background-color: white !important;
    }

    .questionTable .question-level-1 {
        padding-left: 3em;
    }

    .questionTable .question-level-2 {
        padding-left: 6em;
    }

    .questionTable .question-level-3 {
        padding-left: 9em;
    }

    .questionTable .question-level-4, .questionTable .question-level-5, .questionTable .question-level-6, .questionTable .question-level-7 {
        padding-left: 12em;
    }



    .questionTable > tbody > tr > td:nth-child(2) {
        text-wrap: nowrap;
        text-align: right
    }

    .questionTable .form-check {
        display: inline;
        margin: 0.5em;
    }

    .questionTable .form-check-input {
        float: none;
    }



    .sticky-headers > .detail-section-header {
        position: -webkit-sticky;
        position: sticky;
        z-index: 1030;
        background-color: white;
        top: calc(var(--portal-header-height));
    }

    .sticky-headers > .stack-list > article > .questionTable > thead > tr > th {
        position: -webkit-sticky;
        position: sticky;
        z-index: 1020;
        top: calc(var(--portal-header-height) + 2rem);
    }

    .mq-table-heading {
        display: flex;
        align-items: baseline;
        flex-wrap: wrap;
        gap: 0.75rem;
        text-align: left;
    }

        .mq-table-heading > span {
            font-size: 1rem;
            font-weight: 900;
        }

        .mq-table-heading > small {
            color: rgba(255, 255, 255, 0.8);
            font-size: 0.8rem;
            font-weight: 700;
        }








    .hero-copy {
        max-width: 38rem;
    }



    .card-auth-card {
        border: 2px solid var(--portal-blue-100);
        border-radius: 0.5em;
        padding: 1em;
    }

        .card-auth-card .item-heading {
            display: flex;
            justify-content: space-between;
        }


    .validation-group {
        border: 2px solid var(--portal-silver-600);
        padding: 1em;
        margin-bottom: 1em;
        border-radius: 0.5em;
    }

        .validation-group.success {
            border-color: var(--portal-green-500);
            color: #3d6d2d;
        }

        .validation-group.error {
            border-color: darkred;
            color: darkred;
        }


    .buy-quote-actions {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
    }

    .buy-quote-navigation-actions {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 1rem;
    }



    .confirm-box {
        border: 2px solid #dd7474;
        padding: 1em;
        margin-top: 1.5em;
        margin-bottom: 0.5em;
        font-weight: 700;
        border-radius: 0.5em;
        display: flex;
    }

        .confirm-box > * {
            flex-shrink: 1;
            margin-top: auto;
            margin-bottom: auto;
            padding-left: 1rem;
            padding-right: 1rem;
        }

            .confirm-box > *:first-child {
                flex-grow: 1;
                padding-left: 0.5rem;
            }


        .confirm-box:has(input:checked) {
            border-color: var(--portal-green-500);
        }




        .confirm-box input {
            transform: scale(1.3);
            -ms-transform: scale(1.3);
            -webkit-transform: scale(1.3);
            -o-transform: scale(1.3);
            -moz-transform: scale(1.3);
            transform-origin: 0 0;
            -ms-transform-origin: 0 0;
            -webkit-transform-origin: 0 0;
            -o-transform-origin: 0 0;
            -moz-transform-origin: 0 0;
        }





    .detail-section {
        margin: 0;
        padding: 1em;
        border: 1px solid rgba(195, 211, 218, 0.75);
        background: var(--light-highlight);
        margin-bottom: 1em;
    }

        .detail-section p {
            padding-left: 1em;
            padding-right: 1em;
        }

        .detail-section h5 {
            margin: 0;
            color: var(--portal-navy-600);
            font-weight: 900;
        }


    .detail-section-header h2,
    .detail-section-header h3,
    .detail-section-header h4 {
        color: var(--portal-navy-900);
        font-weight: 900;
    }

    .detail-field-grid-custom .form-select {
        border: 1px solid var(--portal-divider);
        border-radius: var(--portal-radius-md);
        min-height: 3.5rem;
        padding-inline: 1.25rem;
    }

    .detail-field-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 0.8rem;
    }

        .detail-field-grid div {
            padding: 0.4rem 0.8rem;
        }

        .detail-field-grid dt, .detail-field-grid-custom dt {
            color: var(--portal-silver-300);
            opacity: 0.5;
            font-size: 0.7rem;
            font-weight: 600;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }

        .detail-field-grid dd {
            margin: 0;
            color: var(--portal-navy-900);
            font-weight: 700;
            overflow-wrap: anywhere;
        }

    .total-box {
        display: flex;
        flex-direction: row;
        margin-left: auto;
        max-width: 300px;
        right: 0px;
        border-radius: 0.2rem;
        color: var(--portal-navy-900);
        background: var(--portal-blue-100);
        border: 1px solid rgba(195, 211, 218, 0.75);
    }

        .total-box .detail-field-grid {
            grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        }

        .total-box dd {
            text-align: right;
            padding-right: 1em;
        }

    .detail-stack-list {
        display: flex;
        flex-direction: column;
        gap: 0.85rem;
    }

    .detail-empty-state {
        margin: 0;
        color: var(--portal-silver-600);
    }

    .quote-coverage-groups {
        display: grid;
        gap: 1.25rem;
    }

    .quote-coverage-group {
        padding: 1.25rem;
        border: 1px solid var(--portal-divider);
        border-radius: 0.5rem;
        background: var(--portal-surface-soft);
    }

    .quote-coverage-group-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        margin-bottom: 1.25rem;
    }

    .quote-product-logo-tile {
        display: flex;
        flex: 0 0 auto;
        align-items: center;
        justify-content: center;
        padding: 0.4rem;
        border: 1px solid var(--portal-divider);
        border-radius: 0.25rem;
        background: #fff;
    }

        .quote-product-logo-tile img {
            display: block;
            max-width: 15rem;
            max-height: 4rem;
            object-fit: contain;
        }

    .quote-coverage-summary {
        margin-bottom: 1.25rem;
    }

    .quote-coverage-benefits {
        padding-top: 1rem;
        border-top: 1px solid var(--portal-divider);
    }

    .portal-surface {
        border-radius: 0.5rem;
        background: var(--portal-surface);
    }

    .portal-table {
        --bs-table-bg: transparent;
        --bs-table-border-color: var(--portal-divider);
        margin-bottom: 0;
    }

        .portal-table thead th {
            color: var(--portal-silver-600);
            font-size: 0.8rem;
            font-weight: 900;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }

    .policy-type {
        color: var(--portal-silver-600);
        font-size: 0.95rem;
    }

    .policy-card {
        padding: 1.6rem;
        border: 1px solid rgba(195, 211, 218, 0.7);
        border-radius: 0.5rem;
        background: rgba(255, 255, 255, 0.72);
    }

    .policy-card-cancelled {
        border-color: var(--bs-danger);
        border-left-width: 0.35rem;
        background: rgba(248, 215, 218, 0.35);
    }

        .policy-card h3 {
            font-weight: 900;
            color: var(--portal-navy-900);
        }

    .policy-status-cancelled {
        background-color: var(--bs-danger);
        color: var(--bs-white);
    }

    .policy-status-positive {
        background-color: var(--bs-success);
        color: var(--portal-navy-900);
    }

    .documentrow{
        display:flex;
        flex-direction:row;

    }
    .documentrow > :first-child{
        flex-grow:1;
        padding-right:0.5rem;
    }

     .documentPrevious .documentrow{
         margin-top:0px;
         padding-top:0px;
     }
     
      .documentPrevious{
        text-align:right;
        margin-bottom:2rem;
    }

    .quote-list-group + .quote-list-group {
        margin-top: 2rem;
        padding-top: 2rem;
        border-top: 1px solid var(--portal-divider);
    }

    .quote-card-recommended {
        border-color: var(--portal-green-500);
        border-left-width: 0.35rem;
        background: rgba(245, 250, 234, 0.92);
        box-shadow: 0 12px 28px rgba(0, 20, 32, 0.08);
    }

    .quote-recommended-banner {
        align-self: flex-start;
        padding: 0.35rem 0.65rem;
        border-radius: 0.2rem;
        background: var(--portal-green-500);
        color: var(--portal-navy-900);
        font-size: 0.78rem;
        font-weight: 900;
        text-transform: uppercase;
    }

    .policy-type {
        margin-bottom: 0.45rem;
        font-weight: 900;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .policy-meta li + li {
        margin-top: 0.9rem;
    }

    .policy-logo-list {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
        align-items: center;
        gap: 1.5rem;
    }

        .policy-logo-list img {
            display: block;
            width: 100%;
            max-width: 12rem;
            max-height: 5rem;
            object-fit: contain;
        }

    .policy-assistance-contact {
        margin-bottom: 1rem;
        font-weight: 700;
    }

    .policy-wallet-card-text {
        color: var(--portal-silver-600);
        white-space: pre-line;
    }

    .policy-detail-heading {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
    }

    .policy-product-logo-tile {
        display: flex;
        flex: 0 0 auto;
        align-items: center;
        justify-content: center;
        padding: 0.5rem;
        border: 1px solid var(--portal-divider);
        border-radius: 0.25rem;
        background: rgba(255, 255, 255, 0.65);
    }

        .policy-product-logo-tile img {
            display: block;
            max-width: 15rem;
            max-height: 4rem;
            object-fit: contain;
        }

    @media (max-width: 575.98px) {
        .policy-detail-heading {
            align-items: flex-start;
        }

        .policy-product-logo-tile {
            width: 5.5rem;
            height: 3.5rem;
        }
    }

    .portal-gradient-card {
        background: var(--portal-gradient-main);
    }

    @media (max-width: 767.98px) {
        .feature-card,
        .portal-surface {
            padding: 1.5rem;
        }



        .buy-quote-hero {
            padding-block: 1rem !important;
        }

            .buy-quote-hero .row {
                --bs-gutter-y: 0.75rem;
            }

            .buy-quote-hero h1 {
                margin-bottom: 0.5rem !important;
                font-size: 1.75rem;
                overflow-wrap: anywhere;
            }

            .buy-quote-hero .detail-hero-copy {
                margin-bottom: 0 !important;
            }

        .buy-quote-content .portal-surface {
            padding: 1rem !important;
            margin-bottom: 1rem !important;
            overflow-wrap: anywhere;
        }

        .buy-quote-content .feature-card,
        .buy-quote-content .side-card {
            min-width: 0;
            padding: 0.75rem !important;
            margin-bottom: 1rem !important;
        }

        .buy-quote-content .detail-section-header {
            margin-block: 0.75rem !important;
        }

        .buy-quote-content .detail-section,
        .buy-quote-content .confirm-box,
        .buy-quote-content .validation-group {
            padding: 0.75rem;
        }

        .buy-quote-content .detail-section,
        .buy-quote-content .confirm-box {
            margin-block: 0.75rem;
        }

            .buy-quote-content .detail-section p {
                padding-inline: 0;
            }

        .buy-quote-content .detail-field-grid {
            grid-template-columns: minmax(0, 1fr);
            gap: 0.5rem;
        }

            .buy-quote-content .detail-field-grid > div {
                min-width: 0;
                padding: 0.25rem 0;
            }

        .buy-quote-content .form-control,
        .buy-quote-content .detail-field-grid-custom .form-select {
            min-width: 0;
            min-height: 3rem;
            padding-inline: 0.75rem;
        }

        .buy-quote-content .card-auth-card .item-heading,
        .buy-quote-content .buy-quote-actions,
        .buy-quote-content .d-flex.flex-row {
            flex-direction: column !important;
            align-items: stretch;
            gap: 0.75rem;
        }

        .buy-quote-content .buy-quote-navigation-actions {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            width: 100%;
            gap: 0.75rem;
        }

            .buy-quote-content .buy-quote-navigation-actions > .btn-portal {
                width: 100%;
                padding-inline: 0.5rem;
                gap: 0.4rem;
                font-size: 0.875rem;
                white-space: nowrap;
            }

                .buy-quote-content .buy-quote-navigation-actions > .btn-portal:nth-child(n + 3) {
                    grid-column: 1 / -1;
                }

        .buy-quote-content .btn-portal {
            width: 100%;
            min-width: 0;
            padding: 0.8rem 0.9rem;
            white-space: normal;
        }

        .buy-quote-content .table-responsive {
            max-width: 100%;
        }

        .buy-quote-content .questionTable {
            width: 100%;
            max-width: 100%;
            table-layout: fixed;
        }

            .buy-quote-content .questionTable > tbody > tr > td,
            .buy-quote-content .questionTable > thead > tr > th {
                padding: 0.5rem;
                overflow-wrap: anywhere;
            }

                .buy-quote-content .questionTable > tbody > tr > td:nth-child(2) {
                    white-space: normal;
                    text-wrap: wrap;
                }

            .buy-quote-content .questionTable input,
            .buy-quote-content .questionTable select,
            .buy-quote-content img,
            .buy-quote-content svg {
                max-width: 100%;
            }

            .buy-quote-content .questionTable .question-level-1,
            .buy-quote-content .questionTable .question-level-2,
            .buy-quote-content .questionTable .question-level-3,
            .buy-quote-content .questionTable .question-level-4,
            .buy-quote-content .questionTable .question-level-5,
            .buy-quote-content .questionTable .question-level-6,
            .buy-quote-content .questionTable .question-level-7 {
                padding-left: 0.75rem;
            }
    }


    .portal-nav-section{
        display:flex;
        justify-content:end;
        margin-bottom:-2rem;
    }

.portal-section-link {
    display:flex;
    font-weight: 900;
    font-size: 1.1em;
    margin-top: 1em;
    margin-bottom:1em;
    cursor: pointer;
    
    --portal-button-icon: url("../images/button-arrow-navy.svg");
}




    .portal-section-link::after {
        content: "";
        display: block;
        width: 1rem;
        height: 1rem;
        flex: 0 0 auto;
        
        margin-top: 0.3rem;
        margin-left:1rem;
        background: center / contain no-repeat var(--portal-button-icon);
        transition: transform 0.2s ease;
    }

    .portal-section-link:hover::after,
    .portal-section-link:focus::after {
        --portal-button-icon: url("../images/button-arrow-navy.svg");
        transform: rotate(-30deg);
        transition: transform 0.1s ease 0.1s;
    }


    .footer-links{
        display:flex;
        flex-direction:row;
        gap:3rem;
        align-items:end;
        justify-content:end;
    }

.footer-link-section > h4 {
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.48);
}

    .footer-link-section {
        display: flex;
        flex-direction:column;
        gap: 0.85rem 1.5rem;
    }

        .footer-link-section a {
            color: rgba(255, 255, 255, 0.88);
            font-weight: 700;
        }

            .footer-link-section a:hover {
                color: var(--portal-green-500);
            }
