﻿h2 {
    margin-bottom: 0.15em;
}

.box {
    margin: 0 5%;
    border: 1px solid #666;
    padding: 10px;
}

/*table { background-color: #666; }
th { text-align: center; white-space: nowrap;background: #cc9; background: #0d223f; color: #fff; }
table td { background: #fafafa; }*/


#BirthCerts_Wrapper .SmartGrid tr td,
#BirthCerts_Wrapper .SmartGrid tr th {
    border: none; /* override and exclude this one */
}

#DeathCerts_Wrapper .SmartGrid tr td,
#DeathCerts_Wrapper .SmartGrid tr th {
    border: none; /* override and exclude this one */
}

.GridPager table tbody tr td {
    border: 0px;
}

#content tr {
    background: #fafafa;
}

#content th {
    background-color: #0d223f;
    color: #fff;
    font-weight: bold;
}

/*#content input.btn { background-color: #cc9; color: #000; border: 1px solid #666; }
*/
.p1 {
    text-align: center;
}

fieldset {
    padding: 5px 15px 15px 15px;
    border: 1px solid #666;
}

legend {
    font-size: 17px;
    padding: 0 5px;
    color: #000;
    font-weight: bold;
}

a.record {
    height: 20px;
    width: auto;
    padding: 2px;
    margin: 2px 6px;
    text-decoration: none;
}

a:link.record, a:visited.record {
    background-color: rgb(196,105,49);
    color: #fff;
    border: 1px solid #666;
    text-decoration: none;
}

a:hover.record {
    text-decoration: none;
    background-color: rgb(246,247,157);
    color: #000;
    border-color: #ccc;
}

.dbSrchLnks {
    margin: 0 10px 3px;
    padding: 0 0 3px 0;
    white-space: nowrap;
    float: right;
}

    .dbSrchLnks span {
        color: #999999;
    }


/* recordset navigation */
.dbnav {
    margin: 10px 0;
    padding: 3px 0 4px 0;
    white-space: nowrap;
}

    .dbnav ul {
        text-align: left;
        list-style-type: none;
        line-height: normal;
        margin: 0;
        padding: 0;
    }

        .dbnav ul li {
            display: inline;
            white-space: nowrap;
            margin: 0;
        }

            .dbnav ul li a {
                text-decoration: none;
                margin: 0 -1px 0 0;
                padding: 3px 15px 4px 15px;
            }

                .dbnav ul li a:link, .dbnav ul li a:visited {
                    background-color: rgb(196,105,49);
                    color: #fff;
                    border: 1px solid #666;
                }

                .dbnav ul li a:hover {
                    text-decoration: none;
                    background-color: rgb(246,247,157);
                    color: #000;
                    border-color: #ccc;
                }

table.birthDeathDetail {
    width: 95%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    border-spacing: 0px;
    border-collapse: separate; /* Ensure the border-radius is applied correctly */
}

    table.birthDeathDetail th {
        text-align: center;
    }
        table.birthDeathDetail th:first-child {
            border-top-left-radius: 5px;
        }

        table.birthDeathDetail th:last-child {
            border-top-right-radius: 5px;
        }

        table.birthDeathDetail th.Numbered, td.Numbered {
            text-align: left;
            /*padding-left: 25px;*/
        }

table.birthDeathDetailMod {
    width: 95%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    border-spacing: 0px;
    border-collapse: separate; /* Ensure the border-radius is applied correctly */
}

    table.birthDeathDetailMod th {
        text-align: center;
    }

    table.birthDeathDetailMod th.Numbered, td.Numbered {
        text-align: left;
        /*padding-left: 25px;*/
    }

#BirthCerts .Details {
    padding: 10px;
    text-align: center;
    white-space: nowrap;
}

#BirthCerts th {
    font-size: 13px;
    padding: 3px;
}

#BirthCerts td {
    font-size: 13px;
    padding: 3px;
}

#DeathCerts th {
    font-size: 13px;
    padding: 3px;
}

#DeathCerts td {
    font-size: 13px;
    padding: 3px;
}

#DeathCerts .Details {
    padding: 8px;
    text-align: center;
    white-space: nowrap;
}

#BirthCerts tbody tr th {
    background-color: #0d223f;
}

#DeathCerts tbody tr th {
    background-color: #0d223f;
}

#btnHolderBirth {
    display: flex;
    gap: 10px; /* Space between buttons */
    width: 100%;
    justify-content: center; /* Center buttons in normal view */
    margin-top: 1rem;
}

#btnHolderDeath {
    display: flex;
    gap: 10px; /* Space between buttons */
    width: 100%;
    justify-content: center; /* Center buttons in normal view */
    margin-top: 1rem;
}

@media only screen and (max-width: 900px) {
    a.topSearchBtn {
        display: block;
    }

    #tblSearchWrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

        #tblSearchWrapper td {
            width: 100% !important;
            display: block;
        }
}

.sample-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .sample-list li {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
        padding: 6px 0;
        border-bottom: 1px solid #e5e7eb;
        font-size: 14px;
        line-height: 1.4;
    }

        .sample-list li:last-child {
            border-bottom: 0;
        }

.sample-label {
    white-space: nowrap;
    font-weight: 500;
}

.sample-links a {
    text-decoration: none;
    font-weight: 600;
    color: #2C51BB;
    font-size: 14px;
}

    .sample-links a:hover {
        text-decoration: underline;
    }

.sample-links .sep {
    margin: 0 4px;
    color: #64748b;
    font-size: 13px;
}

@media (max-width: 640px) {
    .sample-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }
}
.sample-card {
    width: 70%; /* adjust to taste (50–70% works well) */
    margin: 0 auto; /* centers the card horizontally */
}

@media (max-width: 768px) {
    .sample-card {
        width: 100%; /* wider on small screens */
    }
}

.search-cards {
    display: flex;
    gap: 20px; /* space between the two cards */
    justify-content: center;
    margin: 20px auto;
    flex-wrap: wrap; /* stack on smaller screens */
}

    .search-cards .card {
        flex: 1 1 45%; /* take ~45% each, shrink/grow as needed */
        max-width: 500px;
    }

@media (max-width: 900px) {
    .card {
        width: 100%;
    }

    .form-row {
        margin-bottom: 12px;
    }

    .wait {
        margin-top: 10px;
        display: flex;
        gap: 6px;
        justify-content: center;
        align-items: center;
    }
}

table.birthDeathDetail,
table.birthDeathDetailMod {
    width: 95%;
    margin: 20px auto;
    border-collapse: collapse;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 6px rgba(0,0,0,.08);
    background: #fff;
}

    table.birthDeathDetail th,
    table.birthDeathDetailMod th {
        background-color: #0d223f;
        color: #fff;
        font-weight: 600;
        text-align: center;
        padding: 10px;
    }

    table.birthDeathDetail td,
    table.birthDeathDetailMod td {
        background: #fafafa;
        border: 1px solid #e5e7eb;
        padding: 10px;
        font-size: 14px;
        line-height: 1.4;
    }