﻿body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
    /*padding: 20px;*/
    line-height: 1.6;
    height: auto;
    max-width: 100%;
}

.container {
    max-width: 80%;
    margin: 0 auto;
    margin-left: 50px !important;
    margin-right: auto !important;
}

h2 {
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.accordion-item {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.accordion-header {
    background: #f8f9fa;
    padding: 15px 20px;
    cursor: pointer;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    /*justify-content: space-between;*/
    align-items: center;
    transition: background-color 0.3s ease;
    user-select: none;
}
@media only screen and (min-height: 844px) and (orientation: portrait) {
    .accordion-header {
        background: #f8f9fa;
        padding: 2px 5px;
        cursor: pointer;
        border-bottom: 1px solid #dee2e6;
        display: flex;
        /*justify-content: space-between;*/
        align-items: center;
        transition: background-color 0.3s ease;
        user-select: none;
    }
}
    .accordion-header:hover {
        background: #e9ecef;
    }

    .accordion-header h4 {
        margin: 0;
        color: #333;
        font-weight: 600;
    }

.accordion-icon {
    font-size: 18px;
    color: #6c757d;
    transition: transform 0.3s ease;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: white;
}

    .accordion-content.expanded {
        max-height: 1000px; /* Adjust based on content */
        overflow-y: auto;
    }

    .accordion-content .content-inner {
        padding: 20px;
    }

@media only screen and (min-height: 844px) and (orientation: portrait) {
    .accordion-content .content-inner {
        padding: 5px;
    }
}

.accordion-header.expanded .accordion-icon {
    transform: rotate(180deg);
}

.download-button {
    background-color: #007b8a; /* Teal background */
    color: #fff; /* White text */
    padding: 10px 24px; /* Balanced padding */
    border: none; /* No border */
    border-radius: 6px; /* Rounded corners */
    font-size: 9px; /* Readable font size */
    font-weight: 500; /* Slight boldness for emphasis */
    letter-spacing: 0.9px; /* Slight spacing for clarity */
    text-transform: uppercase; /* Consistent label styling */
    cursor: pointer; /* Pointer on hover */
    transition: background 0.3s ease; /* Smooth hover transition */
    margin-left: auto;
}

.download-button:hover {
    background-color: #005f66; /* Slightly darker on hover */
}

.anchor-download-button {
    display: inline-block; 
    background-color: #007b8a;
    color: #fff;
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-left: auto;
    text-decoration: none; 
}

/*.icon-bar {
    display: flex;*/
    /*    gap: 8px;
    align-items: flex-start;
}

.icon {
    width: 28px;
    height: 28px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    transition: transform 0.2s ease;
}*/
 .icon-bar
{
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
/* Keep icons fixed size */
.icon {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
}

/* Text container next to icons */
.icon-text {
    flex: 1 1 auto; /* take remaining space, allow shrink */
    min-width: 200px; /* desktop min width */
    overflow-wrap: anywhere;
    word-break: break-word;
}
/* On tablets & phones, allow full shrink */
@media (max-width: 1024px) {
    .icon-text {
        min-width: 0;
        width: 100%;
    }
}
/* Link styling */
.icon-text .attachmentlink {
    display: inline-block;
    max-width: 100%;
    white-space: normal; /* allow wrapping */
}

    .icon:hover {
        transform: scale(1.1);
    }

/* Eye Icon (Preview) */
.icon-eye {
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4b..."); /* shortened for clarity */
    /* Replace with full base64 or use actual .svg file path */
}

/* Download Icon */
.icon-download {
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4b..."); /* shortened for clarity */
}

.noBullets {
    list-style-type: none;
}

.itemLabel {
    font-size: 12pt;
    color: black;
    font-weight: bold;
}

.attachmentlink {
    color: #1976d2;
    font-size: 10pt;
    font-weight: bold;
   /* font-family: Times New Roman, Times;*/
}


.alpha {
    font-weight: bold;
    margin-right: 4px;
    text-transform: none;
}

.alphaWithIndent {
    font-weight: bold;
    margin-right: 4px;
    text-transform: none;
    padding-left: 30px; 
    display: inline-block;
}

.numberWithIndent {
    font-weight: bold;
    margin-right: 4px;
    text-transform: none;
    padding-left: 60px;
    display: inline-block;
}

.smallAlphaWithIndent {
    font-weight: bold;
    margin-right: 4px;
    text-transform: none;
    padding-left: 90px;
    display: inline-block;
}

.uniform-table {
    margin-left: auto;
    margin-right: auto;
    border-collapse: collapse;
    border-spacing: 10px;
    width: 100%;
    table-layout: fixed;
}

    .uniform-table td {
        width: 20%; /* Or use %: e.g., 20% */
        /*height: 40px;*/ /* Fixed row height */
        text-align: left; /* Optional: center text */
        vertical-align: middle; /* Align content vertically */
        /*border: 1px solid #ccc;*/ /* Optional: border for visibility */
        overflow: hidden; /* Prevent overflow artifacts */
        text-overflow: ellipsis; /* Add “...” for clipped text */
        white-space: nowrap; /* Keep text on one line */
    }

.seal-image {
    max-width: 150px;
    margin-bottom: 12px;
}

.header {
    display: flex;
    align-items: center; /* Vertically center logo and text */
    gap: 20px; /* Space between logo and title */
    padding: 20px;
    border-bottom: 4px solid #000; /* Thick black line */
}

.logo {
    max-width: 120px;
    height: auto;
}

.title-block h1 {
    font-size: 20px;
    margin: 0;
    text-transform: uppercase;
    color: #333;
}

.title-block h2 {
    font-size: 20px;
    margin: 4px 0 0;
    color: #555;
    font-weight: normal;
}

.styled-table {
    width: 100%;
    border: 2px solid black; /* Outer border */
    border-collapse: separate; /* Prevents merging cell borders */
    border-spacing: 0; /* Removes gaps between cells */
    text-align: center;
}

    .styled-table th,
    .styled-table td {
        border: none; /* No inner borders */
        padding: 12px;
    }
.table-wrapper {
    border: 3px solid #ccc;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    background-color: #f9f9f9; /* Optional */
}
@media only screen and (min-height: 844px) and (orientation: portrait) {
    .table-wrapper {
        border: 1px solid #ccc;
        padding: 1px;
        margin-bottom: 10px;
        border-radius: 2px;
        background-color: #f9f9f9;
    }
}

.center-div 
{
    display: flex;
    justify-content: center;
}

.black-bordered {
    border: 2px solid black;
    padding: 16px;
    width: 100%;
    box-sizing: border-box;
    /* Key additions */
    overflow-wrap: break-word; /* Break long words */
    word-break: break-word; /* Fallback for older browsers */
    white-space: normal; /* Allow wrapping */
}

/* Default: hide on large screens */
.floating-player {
    /*display: none;*/
}

/* Show & float on small screens */
@media screen and (min-width: 1024px) {
    .floating-player {
        display: block;
        position: fixed;
        top: 16px;
        right: 16px;
        z-index: 9999;
        box-shadow: 0 4px 8px rgba(0,0,0,0.3);
        border-radius: 4px;
        background: #000;
    }
}

/*.floating-player {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 9999;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    border-radius: 4px;
}*/

.trigger-box {
    width: auto;
    height: auto;
    cursor: pointer;
    background-color: black; /* black background */
    color: #fff; /* White text */
    padding: 10px 24px; /* Balanced padding */
    border: none; /* No border */
    border-radius: 6px; /* Rounded corners */
    font-size: 9px; /* Readable font size */
    font-weight: 500; /* Slight boldness for emphasis */
    letter-spacing: 0.9px; /* Slight spacing for clarity */
    text-transform: uppercase; /* Consistent label styling */
    cursor: pointer; /* Pointer on hover */
    transition: background 0.3s ease; /* Smooth hover transition */
}

    .trigger-box:hover {
        background-color: lightslategray; /* Teal background */
        color: #fff; /* White text */
    }


/*.wrap-left {
    display: inline-block !important;
    white-space: normal;
    text-align: left;
    max-width: 100%;
    min-width: 500px;*/
    /*border: 1px solid red;*/ /* test visibility */
/*}*/
.wrap-left {
    display: block;
    white-space: normal;
    text-align: left;
    max-width: 100%;
    min-width: 500px; /* desktop/tablet default */
    overflow-wrap: anywhere;
}
/* On small devices, let it shrink fully */
@media (max-width: 1024px) {
    .wrap-left {
        min-width: 0;
        width: 100%;
    }
}
h5 {
    text-align: left;
}

.underlined-text {
    text-decoration: underline !important;
}

pre {
    white-space: pre-wrap; /* Wraps long lines */
    word-break: break-word; /* Breaks long words if needed */
}

.agenda-headerfooter {
    margin-bottom: 16px;
    font-size: 12pt;
}

.pdfAndHtmlSpacing {
    margin-top: 12px;
    font-size: 10pt;
}

.county-logo-container .county-logo
 {
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: contain;
    width: 100%;
    height: 100%;
    float: left;
    margin-bottom: 4px;
}

.county-logo-container
{
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(246, 247, 248, .5);
    font-size: 6rem;
    margin-bottom: .5rem;
    height: 200px;
    width: 100%;
    position: relative;
    float: left;
    border-bottom: 3px solid #000;
    vertical-align: bottom;
    margin-left: 0px;
    margin-top: 20px;
}

.html-agenda-header {
    display: flex;
    margin-top: 40px;
    font-size: 1.7em;
    height: 200px;
    border-bottom: 3px solid #000;
    vertical-align: bottom;
    padding-top: 128px;
    text-transform: uppercase;
    margin-left: 0px;
}
.html-agenda-header, .html-agenda-meeting-header {
    font-weight: 700;
    /*font-family: "Times New Roman", Times, serif;*/
    /*line-height: 1.428571429;*/
}

.link-span {
    color: black; /* Blue color like default links */
    /*text-decoration: underline;*/
    cursor: pointer;
}

    .link-span:hover {
        color: #0056b3; /* Darker blue on hover */
        text-decoration: underline;
    }

.indented-section {
    padding-left: 40px; /* Moves content to the right */
    text-indent: 0; /* Keeps "A." aligned normally */
}
.spinner-icon {
    margin-right: 8px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg)
    }
}
.download-spinner {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    background-color: navy;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}
.btn-action {
    min-width: 120px; /* uniform width */
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
}

    .btn-action:focus {
        box-shadow: 0 0 0 0.2rem rgba(13,110,253,.25);
    }

.child-grid-wrapper {
    background-color: #f8f9fa;
    border-radius: 5px;
    margin: 5px 0;
}

.title-text-grid .dx-datagrid {
    font-size: 0.9em;
}

.title-text-grid .dx-datagrid-headers {
    background-color: #e9ecef;
    font-weight: 600;
}

.badge {
    font-size: 0.75em;
}
.responsive-main {
    padding-left: 15px;
    padding-right: 15px;
    margin: 0 auto;
    max-width: 960px;
}

@media (max-width: 576px) {
    .responsive-main {
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}
