:root {
    --step--2: clamp(0.7813rem, 0.7775rem + 0.0167vw, 0.8rem);
    --step--1: clamp(0.9375rem, 0.925rem + 0.0556vw, 1rem);
    --step-0: clamp(1.125rem, 1.1rem + 0.1111vw, 1.25rem);
    --step-1: clamp(1.35rem, 1.3075rem + 0.1889vw, 1.5625rem);
    --step-2: clamp(1.62rem, 1.5534rem + 0.2961vw, 1.9531rem);
    --step-3: clamp(1.944rem, 1.8445rem + 0.4421vw, 2.4414rem);
    --step-4: clamp(2.3328rem, 2.189rem + 0.6391vw, 3.0518rem);
    --step-5: clamp(2.7994rem, 2.5963rem + 0.9025vw, 3.8147rem);
    --fluid-15-48: clamp(0.9375rem, 0.3291rem + 1.9784vw, 3rem);
}

.details-top {
    width: 100%;
    max-width: 900px; 
    table-layout: fixed; 

    border: 2px solid black;
    white-space: nowrap;
    overflow: hidden;
}

.details-top td {
    border: 2px solid black;
    white-space: nowrap;
    overflow: hidden;
}

.details-center {
    display: flex;
    justify-content: center;
}

.details-results {
    width: 100%;
    max-width: 900px;
    margin: 0 auto; 

    display: flex;
    flex-direction: column;
    align-items: center; 
    text-align: center;
    justify-content: center;
}

.details-results table {
    margin: 0 auto;
}

.details-results thead {
    background-color: black;
    color: white;
}

.results-table tr:nth-child(odd) {
    background-color: #f2f2f2; 
}



.results-table tr:nth-child(odd):hover {
    background-color: blue; 
}

.wid{
    width: 75%;
}
.form-actions{
    padding-right: 5em;
}

.results-count,
.results-message {
    text-align: left;
    padding-left: 1rem;
}

.results-count{
    margin-top: 0;
}

.results-table-wrap {
    width: 75%;
    margin-top: 3rem;
}

.results-table {
    width: 100%;
    max-width: none;
    table-layout: auto;

}

.results-table th,
.results-table td {
    text-align: left;
    padding-left: 1rem;
    border: 1px solid black;
}

.home-center {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 3rem;
}

.closemodal-button{
    background-color: black;
    color: white;
    z-index: 1055;
    pointer-events: auto;
}

.aod-form {
    --form-font: clamp(0.8rem, 0.65rem + 0.45vw, 1rem);
    --input-width: clamp(7rem, 18vw, 20rem);
    --row-gap: clamp(0.35rem, 0.2rem + 0.5vw, 0.75rem);
    --row-space: clamp(0.6rem, 0.35rem + 0.8vw, 1.5rem);

    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: var(--form-font);
    width: min(95vw, 1200px);
}

.aod-row {
    justify-content: center;
    gap: var(--row-gap) !important;
    /*margin-top: var(--row-space) !important;*/
    width: 100%;
    line-height: 3;
    margin-top: 0.5rem;
}

.aod-label {
    white-space: nowrap;
    font-weight: 700;
    font-size: 1em;
}

.aod-year,
.aod-number {
    width: var(--input-width);
    max-width: 100%;
    font-size: 1em;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: ;
}


.content {
    padding-top: 1.1rem;
}

.home-title {
    font-weight: 300;
    font-family: 'Source Sans Pro';
    margin-block-start: 1rem;
    white-space: wrap;
    font-size: var(--fluid-15-48);
    line-height: 1.1;
}

.details-title {
    font-weight: 300;
    font-family: 'Source Sans Pro';
    margin-block-start: 1rem;
    white-space: wrap;
    font-size: var(--fluid-15-48);
    line-height: 1.1;
}

button:focus,
button:focus-visible,
.btn:focus,
.btn:focus-visible,
.btn:active:focus {
    border: none;
}

button{
    border: 2px solid black;
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY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DggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* Optional: allow wrapping only on very narrow screens */
@media (max-width: 840px) {
    .aod-row {
        flex-wrap: wrap !important;
    }
}


.nav-btn {  
    background-color: darkgrey;
    color: white;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 10% 10% 0 0;
    border: none;
}

.nav-btn.active {
    background-color: #1b6ec2;
    color: #fff;
    border-color: #0d6efd;
}

.btn-dark{
    border: none;
}

.table-content .details-top {
    width: 100%;
}

.table-nav {
    display: flex;
    justify-content: left; 
    gap: 0.1rem;
    flex-wrap: wrap;
    width: 100%;
}

.file-symbol {
    border: none;
    max-width: 100%;
    height: 25px;
    display: block;
    background-color: #eee;
}

.table > :not(caption) > tr > td:empty {
    border-bottom-width: 0;
}

.modal-dialog{
    position: absolute;
    top: 8rem;
    width: 75%;
    height: 8rem;
    align-content: center;
    background-color: darkgray;
}

.home-buttons:focus{
    border: none;
}

.btn-dark:active:focus,
.btn:active:focus{
    border: none;
}

.results-info-img{
    margin-left: 0.2rem;
    position: absolute;
    position-anchor: --test;
    bottom: calc(anchor(bottom) + 100px);
    right: anchor(right);
}

.results-info-text {
    font-size: 0.8rem;
    padding-top: 0.2rem;
}

.home-info {
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    background-color: lightyellow;
    
}

.all-results{
    max-width: 75%;
}


.reset-button{
    background-color: white;
    color: black;
    border: 1px solid black;
}

.reset-button:hover{
    background-color: gray;
}

.zstack10{
    z-index: 10;
}

.butnoborder{
    border: none;
    background-color: #eee;
}

.description-text {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    max-width: 100%;
}




@media (max-width: 768px) {
    .results-grid thead {
        display: none;
    }

    .results-grid table,
    .results-grid tbody,
    .results-grid tr,
    .results-grid td {
        display: block;
        width: 100%;
    }

    .results-grid tr {
        display: flex;
        flex-direction: column;
        gap: 0.35rem;
        height: auto !important;
        min-height: 120px;
        margin-bottom: 0.75rem;
        border: 1px solid #ddd;
        border-radius: 6px;
        padding: 0.5rem;
        background-color: #e9e9e9;
    }

    .results-grid td {
        height: auto !important;
        min-height: 1.5rem;
        white-space: normal;
        overflow-wrap: anywhere;
        line-height: 1.4;
        display: block;
        width: auto;
        border: 0;
        padding: 0.35rem 0.5rem;
    }

}

.historic-indicator{
    font-size: 0.8rem;
    margin-inline: auto;
    margin-block-start: 2rem;
    width: 65%;
    background-color: lightyellow;
    border: 1px solid black;
    text-align: start;
}

.historic-indicator-text {
    display: inline-block;
    max-width: 100%;
    text-align: start;
    padding-inline: 0.5rem;
}

.colstyle1 {
    width: 10%;
}

.colstyle2 {
    width: 20%;
}

.colstyle3 {
    width: 70%;
}

.lc-colstyle1 {
    width: 75%;
}

.lc-colstyle2 {
    width: 25%;
}

.courtName {
    white-space: wrap !important;
}

.courtCaseNumber {
    white-space: wrap !important;
}

@media (max-width: 768px) {
    .colstyle1 {
        width: 20%;
    }

    .colstyle2 {
        width: 30%;
    }

    .colstyle3 {
        width: 66%;
    }

    .lc-colstyle1 {
        width: 60%;
    }

    .lc-colstyle2 {
        width: 40%;
    }

    .datefiledfont {
        font-size: 0.9rem;
    }

    .description-text {
        font-size: 0.9rem;
        padding-left: 0.2rem !important;
    }

    .details-top td {
        white-space: wrap;
    }

    .content {
        padding-inline: 0 !important;
    }

    .details-title {
        margin-block-start: 3rem;
        font-size: 1.5rem;
    }

    .table-nav button {
        width: 49%;
    }
    .table-nav {
        justify-content: center;
    }

    .nav-btn {
        border-radius: 0;
    }

    .nav-btn-mobile-top {
        border-radius: 10% 10% 0 0;
    }

    .backtosearch-btn {
        display: inline-block;
        padding-inline-start: 9rem !important;
    }
}


