﻿/*Set th to default to centered to overwrite bootstrap*/
th {
    text-align: center;
}

div {
    display: block;
    unicode-bidi: isolate;
}

h1, h2, h3, h4, h5, h6{ 
    font-weight:bold;
    font-family:inherit;
}

/*Other Styles that will most likely be used again*/
.deathCertLegend {
    font-size: 13px;
    margin-bottom: inherit;
    white-space: nowrap;
}

.center {
    text-align: center;
    margin: auto;
}

.validation-error, .error {
    color: red;
}

label {
    font-weight: bold;
    padding-left: 0 !important;
}

.ActionLink.btn, .ActionLink.btn:visited{
   background-color: rgb(200,100,50);
}

.gridAlignRight {
    background-color: #0d223f;
    font-weight: bold;
    color: White;
    border-color: #666666; /*width: 20%;*/
    border-spacing: 0;
    text-align: right;
    padding: 5px;
    border: 1px solid gray;
    font-size: 13px;
}

.TopBarButtons {
    display: flex;
}

@media only screen and (max-width: 900px) {
    .btnHolder {
        width: 100% !important;
        text-align: center;
        display: flex;
        justify-content: space-evenly
    }
}

.table-label {
    font-size: 13px;
}

.form legend {
    color: #000000;
    font-size: 1.3em;
    padding: 0 10px 0 7px;
    font-weight: bold;
}

.errorLabel {
    font-family: 'Open Sans', sans-serif;
    color: Red;
    font-weight: bold;
    font-size: 13px;
}

@media (min-width: 1080px) {
    #unit-content {
        width: 1215px;
    }
}

.SmartGrid {
    border-collapse: collapse; /* Ensures no spacing between cells */
}

.SmartGrid th, .SmartGrid td {
    padding: 5px; /* Adjust as needed */
    border: 1px solid gray; /* Ensures proper cell separation */
}

.titleUnderline {
    border-bottom: 1px solid #666;
    padding-bottom: 5px;
    margin-top: 1em;
    font-size: 24px;
    color: black;
}

.barTitleStateArchives {
    border-top: 1px solid #666;
    border-bottom: 1px solid #666;
    padding: 3px 0px;
    font-size: 2em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    font-family: 'Open Sans', sans-serif;
    line-height: 1.3;
    word-wrap: break-word;
}

@media (max-width: 900px) {
    .barTitleStateArchives {
        line-height: 1.4;
    }
}

#photo {
    float: right;
    margin-bottom: 2em;
    margin-left: 15px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-family: "Segoe UI", Arial, sans-serif;
    font-weight: 600;
    font-size: 12px;
    color: #111827;
    background: linear-gradient(180deg, #f6f7f9, #eceff3);
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: .1rem .4rem;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(0,0,0,.06);
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .08s ease;
}

    .btn:hover {
        background: linear-gradient(180deg, #eef1f5, #e6e9ee);
        border-color: #cbd5e1;
        box-shadow: 0 2px 6px rgba(0,0,0,.08);
        transform: translateY(-2px);
    }

    .btn:active {
        background: #e2e8f0;
        box-shadow: inset 0 1px 2px rgba(0,0,0,.12);
        transform: translateY(0);
    }

    .btn:focus-visible {
        outline: 2px solid #9ca3af;
        outline-offset: 2px;
    }


.Image img {
    vertical-align: middle;
}

.Acrobat {
    font-family: 'Open Sans', sans-serif;
    font-size: .95em;
    border: 1px solid rgb(167, 167, 167);
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    padding: 5px 15px;
}

.title {
    font-size: 1.33em;
}

.hrDash {
    border-bottom: 1px dashed #666;
    border-top: none;
    border-left: none;
    border-right: none;
    height: 1px;
    margin-top: 2px;
    margin-bottom: 2px;
    text-align: center;
}

.TableCaption {
    font-size: 1.33em;
    font-weight: 500;
    padding: 10px 0;
    color: Black;
    text-align: left;
}

fieldset {
    width: auto;
    border-radius: 6px;
}

.responsive-td-two-thirds {
    width: 66.66%;
}
.responsive-td-one-half {
    width: 50%;
}

.responsive-td-one-third {
    width: 33.33%;
}

.responsive-td-one-fourth {
    width: 25%;
}

@media (max-width: 900px) {
    .responsive-table-one-third {
        width: 100%;
        border: 0;
    }

    .responsive-table td {
        display: block;
        box-sizing: border-box;
    }
    .responsive-td-one-half {
        width: 100% !important;
        display: block; /* Ensures it stacks properly */
        justify-items: stretch;
        text-align: center;
    }
    .responsive-td-one-third {
        width: 100% !important;
        display: block; /* Ensures it stacks properly */
        justify-items: stretch;
        text-align: center;
    }
    .responsive-td-two-thirds {
        width: 100% !important;
        display: block; /* Ensures it stacks properly */
        justify-items: stretch;
        text-align: center;
    }
    .responsive-td-one-fourth {
        width: 100% !important;
        display: block; /* Ensures it stacks properly */
        justify-items: stretch;
        text-align: center;
    }
}

.lblSearching {
    font-weight: bold;
    font-size: 13px;
}
/* Remove the box-sizing: border-box rule */
*, *::before, *::after {
    box-sizing: content-box; /* Set to the default value */
}

body {
    margin: 0;
    font-family: inherit; /* Reset to default font family */
    font-size: inherit; /* Reset to default font size */
    font-weight: inherit; /* Reset to default font weight */
    line-height: inherit; /* Reset to default line height */
    color: inherit; /* Reset to default text color */
    text-align: inherit; /* Reset to default text alignment */
    background-color: #FAFAFA; /* Reset to default background color */
    -webkit-text-size-adjust: none; /* Reset text size adjustment */
    -webkit-tap-highlight-color: transparent; /* Remove tap highlight color */
    max-width: 100%;
}

hr {
    margin-block-start: 0.5em;
    margin-block-end: 0.5em;
    margin-inline-start: auto;
    margin-inline-end: auto;
    opacity: inherit;
}

b, strong {
    font-weight: bold;
}

legend {
    float: inherit;
    width: inherit;
    padding: inherit;
    margin-bottom: inherit;
    font-size: inherit;
    line-height: inherit;
}

table {
    caption-side: top;
}

.form-select {
    padding: 0 0rem 0 0.5rem; /* Adds left padding */
    display: block;
    width: 90%;
}

.form-control {
    padding: 0 0rem 0 0.5rem; /* Adds left padding */
    width: 90%;
    display: block;
}

@media (max-width: 900px) {
    .form-control {
        width: 95%;
    }
    .form-select {
        width: 95%;
    }
}

#crumbs p {
    margin-top: 1em;
}

.legendLabel {
    font-size: 16px;
    padding: 0 10px 0 7px;
}

.sectionHeading {
    font-size: 24px;
    color: black;
}

.marginRows {
    margin-top: 1em;
    margin-bottom: 0.5em;
}

h2 {
    font-size: 1.5em;
}

p {
    margin-block-start: 1em;
}

@media (min-width: 1081px) {
    .MainStretch {
        width: 820px;
    }
}

ol {
    margin-top: 1em;
    margin-bottom: 1em;
}

.header-search input,
.header-search button,
.header-search select,
.header-search optgroup,
.header-search textarea {
    margin: initial;
    font-size: 13.3333px;
    line-height: initial;
}

#sosSearchButton {
    font-family: Arial, Helvetica, sans-serif
}

input[type="text" i] {
    padding-block: 1px;
    padding-inline: 2px;
}
/* ====== Cards ====== */
.card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0,0,0,.08);
    margin-bottom: 1.5rem;
}

.card-header {
    background: #f3f4f6;
    border-bottom: 1px solid #e5e7eb;
    padding: .6rem 1rem;
    font-weight: 600;
    font-size: 1rem;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.card-body {
    padding: 1rem;
}

.btn-expand-to-fit {
    min-width: 90px;
}

/* ===== Primary (radiant blue brand) ===== */
.btn-primary {
    background: linear-gradient(135deg, #1e3a8a, #2563eb); /* deep royal → vivid sky blue */
    color: #fff !important;
    border: 1px solid #1e3a8a;
    border-radius: 8px;
    font-weight: 600;
    padding: 0.15rem .25rem;
    transition: all 0.25s ease;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

    .btn-primary:hover {
        background: linear-gradient(135deg, #2563eb, #3b82f6); /* lighter radiant blue on hover */
        border-color: #2563eb;
        box-shadow: 0 6px 14px rgba(37, 99, 235, 0.4);
        transform: translateY(-2px);
    }

/* ===== Secondary (neutral light, unchanged) ===== */
.btn-secondary {
    background: #f9fafb;
    color: #0f172a !important;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-weight: 500;
    padding: 0.15rem .25rem;
    transition: all 0.25s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

    .btn-secondary:hover {
        background: #e5e7eb;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        transform: translateY(-2px);
    }

/* ===== Top Navigation Buttons (Compact) ===== */
.topSearchBtn {
    display: inline-block;
    background: linear-gradient(135deg, #2563eb, #3b82f6); /* radiant blue */
    color: #fff !important;
    font-weight: 600;
    font-size: 0.9rem; /* slightly smaller text */
    padding: 0.2rem 0.6rem; /* compact padding */
    border: none;
    border-radius: 30px; /* still pill-like but tighter */
    text-decoration: none;
    box-shadow: 0 3px 8px rgba(37, 99, 235, 0.3);
    transition: all 0.25s ease;
}

    .topSearchBtn:hover {
        background: linear-gradient(135deg, #1d4ed8, #2563eb); /* deeper glow */
        box-shadow: 0 5px 12px rgba(37, 99, 235, 0.4);
        transform: translateY(-1px);
    }

.detail-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(2,6,23,.06);
}

.detail-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    background: #f7f9fc;
    border-bottom: 1px solid #e5e7eb;
}

.detail-card__title {
    display: grid;
    gap: 2px;
}

.detail-eyebrow {
    font-size: 12px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #64748b;
}

.detail-h2 {
    margin: 0;
    font-size: 20px;
    color: #0d223f;
    font-weight: 700;
}

/* Table: two-column definition style */
.detail-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

    .detail-table tbody tr:nth-child(odd) td {
        background: #fafafa;
    }

    .detail-table th,
    .detail-table td {
        padding: 12px 16px;
        border-top: 1px solid #e5e7eb;
    }

    .detail-table th {
        background: #0d223f;
        color: #fff;
        text-align: right;
        vertical-align: top;
        font-weight: 600;
    }

    .detail-table td {
        background: #fff;
        color: #0b1324;
        word-break: break-word;
    }

    #detailsGrid {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
}

    #detailsGrid caption.TableCaption {
        font-family: "Segoe UI", Arial, Helvetica, sans-serif;
        font-size: 1.05rem;
        font-weight: 700;
        color: #0d223f;
        text-align: left;
        padding: 12px 16px;
        background: #f8fafc;
        border-bottom: 1px solid #e5e7eb;
    }

    #detailsGrid th,
    #detailsGrid td {
        font-family: "Segoe UI", Arial, Helvetica, sans-serif;
        font-size: .95rem;
    }

    #detailsGrid th {
        background: #0d223f;
        color: #fff;
        text-align: right;
        width: 28%;
        padding: 10px 14px;
        vertical-align: top;
        border-right: 1px solid #0b1b33;
    }

    #detailsGrid td {
        padding: 10px 14px;
        vertical-align: top;
        background: #fff;
        border-bottom: 1px solid #e5e7eb;
        border-left: 0;
        border-right: 0;
    }
    /* neutral zebra for readability */
    #detailsGrid tbody tr:nth-child(even) td {
        background: #f9fafb;
    }
    /* tidy last row */
    #detailsGrid tbody tr:last-child td {
        border-bottom: 0;
    }
    /* override legacy global borders that might bleed in */
    #detailsGrid td,
    #detailsGrid th {
        border-top: 0 !important;
        border-left: 0 !important;
        border-right: 0 !important;
    }

        #detailsGrid td a {
            color: #1d4ed8;
            font-weight: 600;
            text-decoration: underline;
        }

            #detailsGrid td a:hover {
                text-decoration: none;
            }

.section-rule {
    height: 1px;
    border: 0;
    background: #e5e7eb;
    margin: 20px 0;
}

.btn-accent {
    background: #2C51BB;
    color: #fff;
    border: 1px solid #24439b;
}

    .btn-accent:hover {
        background: #24439b;
        border-color: #1d377f;
    }
