.img100 {
width:100%;
}

.mtop0{margin-top: 0px;}
.mtop5{margin-top: 5px;}
.mtop10{margin-top: 10px;}
.mtop15{margin-top: 15px;}
.mtop20{margin-top: 20px;}
.mtop30{margin-top: 30px;}
.mtop40{margin-top: 40px;}
.mtop50{margin-top: 50px;}
.mtop60{margin-top: 60px;}
.mtop80{margin-top: 80px;}
.mtop90{margin-top: 90px;}
.mtop100{margin-top: 100px;}

.mbot0{margin-bottom: 0px;}
.mbot5{margin-bottom: 5px;}
.mbot10{margin-bottom: 10px;}
.mbot20{margin-bottom: 20px;}
.mbot30{margin-bottom: 30px;}
.mbot40{margin-bottom: 40px;}
.mbot50{margin-bottom: 50px;}
.mbot60{margin-bottom: 60px;}
.mbot70{margin-bottom: 70px;}
.mbot80{margin-bottom: 80px;}
.mbot90{margin-bottom: 90px;}
.mbot100{margin-bottom: 100px;}

.econtentblock h2 {
font-size:1.4rem;
border:0px;
}

.econtentblock h3, h4 {
font-size:1.2rem;
border:0px;
}

.econtentblock h5, h6 {
font-size:1rem;
border:0px;
}

    .rdb-wrapper {
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        line-height: 1.6;
        color: #333;
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .rdb-wrapper * {
        box-sizing: border-box;
    }
    
    .rdb-header {
        background: linear-gradient(135deg, #262626 0%, #404040 100%);
        color: white;
        padding: 30px;
        margin-bottom: 30px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        border-radius: 8px;
    }
    
    .rdb-header h1 {
        font-size: 2em;
        margin: 0 0 10px 0;
        padding: 0;
        color: #ffffff;
    }
    
    .rdb-header p {
        font-size: 1.1em;
        opacity: 0.9;
        margin: 0;
        padding: 0;
        color: #ffffff;
    }
    
    .rdb-search-section {
        background: white;
        padding: 25px;
        border-radius: 8px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        margin-bottom: 30px;
    }
    
    .rdb-search-form {
        display: grid;
        grid-template-columns: 1fr 1fr auto;
        gap: 15px;
        align-items: end;
    }
    
    .rdb-form-group {
        display: flex;
        flex-direction: column;
    }
    
    .rdb-form-group label {
        margin-bottom: 5px;
        font-weight: 600;
        color: #555;
    }
    
    .rdb-search-hint {
        font-size: 0.85em;
        color: #666;
        margin-top: 3px;
        min-height: 1.2em;
    }
    
    .rdb-form-group input,
    .rdb-form-group select {
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 1em;
        font-family: inherit;
    }
    
    .rdb-btn {
        padding: 10px 25px;
        background: #4a4a4a;
        color: white;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        font-size: 1em;
        transition: background 0.3s;
        text-decoration: none;
        display: inline-block;
        text-align: center;
    }
    
    .rdb-btn:hover {
        background: #333333;
    }
    
    .rdb-btn-secondary {
        background: #666666;
        margin-left: 10px;
    }
    
    .rdb-btn-secondary:hover {
        background: #555555;
    }
    
    .rdb-results-info {
        background: white;
        padding: 15px;
        border-radius: 8px;
        margin-bottom: 20px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    
    .rdb-record-card {
        background: white;
        padding: 25px;
        margin-bottom: 20px;
        border-radius: 8px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        transition: transform 0.2s, box-shadow 0.2s;
    }
    
    .rdb-record-card-link {
        text-decoration: none;
        color: inherit;
        display: block;
    }
    
    .rdb-record-card-link:hover .rdb-record-card {
        transform: translateY(-2px);
        box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    }
    
    .rdb-record-card-link:focus {
        outline: 2px solid #4a4a4a;
        outline-offset: 2px;
        border-radius: 8px;
    }
    
    .rdb-record-card-link:focus .rdb-record-card {
        transform: translateY(-2px);
        box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    }
    
    .rdb-record-header {
        margin-bottom: 15px;
        padding-bottom: 15px;
        border-bottom: 2px solid #ecf0f1;
    }
    
    .rdb-record-title {
        font-size: 1.5em;
        color: #262626;
        margin: 0 0 5px 0;
        padding: 0;
    }
    
    .rdb-record-meta {
        display: flex;
        gap: 20px;
        flex-wrap: wrap;
        font-size: 0.9em;
        color: #7f8c8d;
    }
    
    .rdb-meta-item {
        display: flex;
        align-items: center;
        gap: 5px;
    }
    
    .rdb-badge {
        display: inline-block;
        padding: 4px 12px;
        background: #4a4a4a;
        color: white;
        border-radius: 15px;
        font-size: 0.85em;
        font-weight: 600;
    }
    
    .rdb-record-content {
        margin: 15px 0;
    }
    
    .rdb-record-content h3 {
        color: #262626;
        margin: 0 0 8px 0;
        padding: 0;
        font-size: 1.1em;
    }
    
    .rdb-record-content p {
        color: #555;
        margin: 0 0 10px 0;
        padding: 0;
    }
    
    .rdb-custom-fields {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
        margin: 15px 0;
        padding: 15px;
        background: #ecf0f1;
        border-radius: 5px;
    }
    
    .rdb-custom-field {
        display: flex;
        flex-direction: column;
    }
    
    .rdb-custom-field-label {
        font-weight: 600;
        color: #555;
        font-size: 0.9em;
        margin-bottom: 3px;
    }
    
    .rdb-custom-field-value {
        color: #262626;
    }
    
    .rdb-attachments-section {
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid #ecf0f1;
    }
    
    .rdb-attachments-section h3 {
        color: #262626;
        margin: 0 0 10px 0;
        padding: 0;
        font-size: 1.1em;
    }
    
    .rdb-attachments-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
        margin-top: 10px;
    }
    
    .rdb-attachment-item {
        text-align: center;
        padding: 10px;
        background: #ecf0f1;
        border-radius: 5px;
        transition: background 0.3s;
    }
    
    .rdb-attachment-item:hover {
        background: #d5dbdb;
    }
    
    .rdb-attachment-item img {
        max-width: 100%;
        height: 180px;
        object-fit: cover;
        border-radius: 4px;
        margin-bottom: 8px;
        display: block;
        margin-left: auto;
        margin-right: auto;
        cursor: pointer;
    }
    
    .rdb-attachment-item a {
        color: #4a4a4a;
        text-decoration: none;
        font-size: 0.9em;
        display: block;
        width: 100%;
        height: 100%;
    }
    
    .rdb-attachment-item a:hover {
        text-decoration: none;
    }
    
    .rdb-attachment-item a:focus {
        outline: 2px solid #4a4a4a;
        outline-offset: 2px;
    }
    
    .rdb-attachment-icon {
        font-size: 3em;
        color: #666666;
        margin-bottom: 10px;
    }
    
    .rdb-attachment-desc {
        font-size: 0.85em;
        color: #7f8c8d;
        margin-top: 5px;
    }
    
    .rdb-links-list {
        list-style: none;
        margin: 10px 0 0 0;
        padding: 0;
    }
    
    .rdb-links-list li {
        padding: 10px;
        background: #ecf0f1;
        margin-bottom: 8px;
        border-radius: 4px;
    }
    
    .rdb-links-list a {
        color: #4a4a4a;
        text-decoration: none;
        font-weight: 600;
    }
    
    .rdb-links-list a:hover {
        text-decoration: underline;
    }
    
    .rdb-link-desc {
        font-size: 0.9em;
        color: #7f8c8d;
        margin-top: 3px;
    }
    
    .rdb-no-results {
        background: white;
        padding: 40px;
        text-align: center;
        border-radius: 8px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    
    .rdb-no-results h2 {
        color: #7f8c8d;
        margin: 0 0 10px 0;
        padding: 0;
    }
    
    .rdb-no-results p {
        margin: 0;
        padding: 0;
    }
    
    .rdb-back-link {
        display: inline-block;
        margin-bottom: 20px;
        color: #4a4a4a;
        text-decoration: none;
        font-weight: 600;
    }
    
    .rdb-back-link:hover {
        text-decoration: underline;
    }
    
    .rdb-btn-group {
        display: flex;
        gap: 10px;
    }
    
    .rdb-pagination {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        margin: 30px 0;
        flex-wrap: wrap;
    }
    
    .rdb-pagination a,
    .rdb-pagination span {
        padding: 8px 12px;
        background: white;
        border: 1px solid #ddd;
        border-radius: 4px;
        text-decoration: none;
        color: #4a4a4a;
        transition: background 0.3s, color 0.3s;
    }
    
    .rdb-pagination a:hover {
        background: #4a4a4a;
        color: white;
    }
    
    .rdb-pagination a:focus {
        outline: 2px solid #4a4a4a;
        outline-offset: 2px;
    }
    
    .rdb-pagination .rdb-current-page {
        background: #4a4a4a;
        color: white;
        font-weight: bold;
        border-color: #4a4a4a;
    }
    
    .rdb-pagination .rdb-disabled {
        opacity: 0.5;
        cursor: not-allowed;
        pointer-events: none;
    }
    
    .rdb-pagination-info {
        color: #666;
        font-size: 0.9em;
        text-align: center;
        margin-bottom: 10px;
    }
    
    @media (max-width: 768px) {
        .rdb-search-form {
            grid-template-columns: 1fr;
        }
        
        .rdb-custom-fields {
            grid-template-columns: 1fr;
        }
        
        .rdb-btn-group {
            flex-direction: column;
        }
        
        .rdb-btn-secondary {
            margin-left: 0;
        }
    }
    
    /* Lightbox styles */
    .rdb-lightbox {
        display: none;
        position: fixed;
        z-index: 9999;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        align-items: center;
        justify-content: center;
    }
    
    .rdb-lightbox.rdb-active {
        display: flex;
    }
    
    .rdb-lightbox-content {
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        animation: rdbZoomIn 0.3s;
        cursor: default;
        transform-origin: center center;
    }
    
    .rdb-lightbox-content.rdb-zoomed {
        cursor: move;
    }
    
    @keyframes rdbZoomIn {
        from {
            transform: scale(0.8);
            opacity: 0;
        }
        to {
            transform: scale(1);
            opacity: 1;
        }
    }
    
    .rdb-lightbox-close {
        position: absolute;
        top: 20px;
        right: 35px;
        color: #f1f1f1;
        font-size: 40px;
        font-weight: bold;
        cursor: pointer;
        background: none;
        border: none;
        padding: 0;
        line-height: 1;
        transition: color 0.3s;
        z-index: 10001;
    }
    
    .rdb-lightbox-close:hover,
    .rdb-lightbox-close:focus {
        outline: 2px solid #f1f1f1;
        outline-offset: 2px;
    }
    
    .rdb-lightbox-caption {
        position: absolute;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        color: #f1f1f1;
        text-align: center;
        padding: 10px 20px;
        background-color: rgba(0, 0, 0, 0.7);
        border-radius: 5px;
        max-width: 80%;
        z-index: 10001;
    }
    
    .rdb-lightbox-container {
        position: relative;
        width: 90vw;
        height: 90vh;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }
    
    .rdb-lightbox-zoom-controls {
        position: absolute;
        top: 20px;
        left: 20px;
        display: flex;
        gap: 10px;
        z-index: 10001;
    }
    
    .rdb-zoom-btn {
        background: rgba(0, 0, 0, 0.7);
        color: #f1f1f1;
        border: 1px solid #f1f1f1;
        border-radius: 4px;
        padding: 8px 12px;
        cursor: pointer;
        font-size: 18px;
        transition: background 0.3s;
    }
    
    .rdb-zoom-btn:hover {
        background: rgba(0, 0, 0, 0.9);
    }
    
    .rdb-zoom-btn:focus {
        outline: 2px solid #f1f1f1;
        outline-offset: 2px;
    }
    
    .rdb-download-btn {
        background: rgba(0, 0, 0, 0.7);
        color: #f1f1f1;
        border: 1px solid #f1f1f1;
        border-radius: 4px;
        padding: 8px 12px;
        cursor: pointer;
        font-size: 14px;
        transition: background 0.3s;
        text-decoration: none;
        display: inline-block;
    }
    
    .rdb-download-btn:hover {
        background: rgba(0, 0, 0, 0.9);
    }
    
    .rdb-download-btn:focus {
        outline: 2px solid #f1f1f1;
        outline-offset: 2px;
    }

.minutes-archive-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.minutes-page-title {
    font-size: 32px;
    color: #262626;
    margin-bottom: 10px;
    font-weight: 700;
}

.minutes-page-description {
    color: #565758;
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.6;
}

.minutes-year-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.minutes-year-btn {
    padding: 10px 20px;
    background: #f5f5f5;
    border: 2px solid #e0e0e0;
    color: #262626;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s;
    text-decoration: none;
}

.minutes-year-btn:hover {
    background: #262626;
    color: #fff;
    border-color: #262626;
}

.minutes-year-btn.active {
    background: #262626;
    color: #fff;
    border-color: #262626;
}

.minutes-year-section {
    margin-bottom: 40px;
    display: none;
}

.minutes-year-section.active {
    display: block;
}

.minutes-year-title {
    font-size: 28px;
    color: #262626;
    margin-bottom: 20px;
    font-weight: 700;
    padding-bottom: 10px;
    border-bottom: 3px solid #262626;
}

.minutes-items-grid {
    display: grid;
    gap: 20px;
}

.minutes-item-card {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s;
    display: block;
    text-decoration: none;
    color: inherit;
}

.minutes-item-card:hover {
    border-color: #262626;
    box-shadow: 0 4px 12px rgba(38, 38, 38, 0.1);
    transform: translateY(-2px);
    cursor: pointer;
}

.minutes-item-card:focus {
    outline: 3px solid #4a9eff;
    outline-offset: 2px;
}

.minutes-item-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.minutes-item-info {
    flex: 1;
}

.minutes-item-title {
    font-size: 18px;
    color: #262626;
    margin-bottom: 8px;
    font-weight: 600;
    line-height: 1.4;
}

.minutes-item-date {
    color: #565758;
    font-size: 14px;
    font-weight: 500;
}

.minutes-item-link {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: #262626;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
    gap: 8px;
    pointer-events: none;
}

.minutes-item-card:hover .minutes-item-link {
    background: #000;
}

.minutes-item-link svg {
    width: 16px;
    height: 16px;
}

.minutes-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #565758;
}

.minutes-empty-icon {
    font-size: 64px;
    margin-bottom: 15px;
    opacity: 0.5;
}

.minutes-empty-text {
    font-size: 18px;
    color: #565758;
}

@media (max-width: 768px) {
    .minutes-page-title {
        font-size: 26px;
    }
    
    .minutes-year-title {
        font-size: 22px;
    }
    
    .minutes-item-card {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .minutes-item-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        width: 100%;
    }
    
    .minutes-item-link {
        width: 100%;
        justify-content: center;
    }
}

.agenda-archive-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.agenda-page-title {
    font-size: 32px;
    color: #262626;
    margin-bottom: 10px;
    font-weight: 700;
}

.agenda-page-description {
    color: #565758;
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.6;
}

.agenda-year-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.agenda-year-btn {
    padding: 10px 20px;
    background: #f5f5f5;
    border: 2px solid #e0e0e0;
    color: #262626;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s;
    text-decoration: none;
}

.agenda-year-btn:hover {
    background: #262626;
    color: #fff;
    border-color: #262626;
}

.agenda-year-btn.active {
    background: #262626;
    color: #fff;
    border-color: #262626;
}

.agenda-year-section {
    margin-bottom: 40px;
    display: none;
}

.agenda-year-section.active {
    display: block;
}

.agenda-year-title {
    font-size: 28px;
    color: #262626;
    margin-bottom: 20px;
    font-weight: 700;
    padding-bottom: 10px;
    border-bottom: 3px solid #262626;
}

.agenda-items-grid {
    display: grid;
    gap: 20px;
}

.agenda-item-card {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s;
    display: block;
    text-decoration: none;
    color: inherit;
}

.agenda-item-card:hover {
    border-color: #262626;
    box-shadow: 0 4px 12px rgba(38, 38, 38, 0.1);
    transform: translateY(-2px);
    cursor: pointer;
}

.agenda-item-card:focus {
    outline: 3px solid #4a9eff;
    outline-offset: 2px;
}

.agenda-item-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.agenda-item-info {
    flex: 1;
}

.agenda-item-title {
    font-size: 18px;
    color: #262626;
    margin-bottom: 8px;
    font-weight: 600;
    line-height: 1.4;
}

.agenda-item-date {
    color: #565758;
    font-size: 14px;
    font-weight: 500;
}

.agenda-item-link {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: #262626;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
    gap: 8px;
    pointer-events: none;
}

.agenda-item-card:hover .agenda-item-link {
    background: #000;
}

.agenda-item-link svg {
    width: 16px;
    height: 16px;
}

.agenda-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #565758;
}

.agenda-empty-icon {
    font-size: 64px;
    margin-bottom: 15px;
    opacity: 0.5;
}

.agenda-empty-text {
    font-size: 18px;
    color: #565758;
}

@media (max-width: 768px) {
    .agenda-page-title {
        font-size: 26px;
    }
    
    .agenda-year-title {
        font-size: 22px;
    }
    
    .agenda-item-card {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .agenda-item-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        width: 100%;
    }
    
    .agenda-item-link {
        width: 100%;
        justify-content: center;
    }
}

        .contact-person {
            margin-bottom: 20px;
        }
        .contact-person strong {
            display: block;
            margin-bottom: 5px;
        }

/* Waterboard Info Section */
.waterboard-info {
    padding: 4rem 0;
    background: #f8f9fa;
}

.waterboard-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

.waterboard-section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #333;
}

.waterboard-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.waterboard-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    flex: 1;
    max-width: 450px;
    text-align: center;
}

.waterboard-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #69796B;
    margin-bottom: 2rem;
    text-align: center;
}

.waterboard-list {
    list-style: none;
    margin-bottom: 2.5rem;
    text-align: left;
    padding: 0;
}

.waterboard-item {
    margin-bottom: 1rem;
}

.waterboard-link {
    background: #f8f9fa;
    padding: 1.25rem;
    border-radius: 8px;
    border-left: 4px solid #69796B;
    transition: all 0.3s ease;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: block;
}

.waterboard-link:hover,
.waterboard-link:focus {
    background: #e9ecef;
    transform: translateX(5px);
    color: #333;
    outline: 2px solid #69796B;
    outline-offset: 2px;
}

.waterboard-date {
    color: #666;
    font-size: 0.9rem;
    font-style: italic;
    margin-top: 0.5rem;
}

.waterboard-btn {
    background: #69796B;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(105, 121, 107, 0.3);
}

.waterboard-btn:hover,
.waterboard-btn:focus {
    background: #5a6a5c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(105, 121, 107, 0.4);
    outline: 3px solid #333;
    outline-offset: 2px;
}

/* Mobile Responsive */
@media (max-width: 639px) {
    .waterboard-cards {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .waterboard-card {
        max-width: 100%;
    }

    .waterboard-section-title {
        font-size: 2rem;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .waterboard-card {
        border: 3px solid currentColor;
    }

    .waterboard-link:focus,
    .waterboard-btn:focus {
        outline: 3px solid !important;
        outline-offset: 2px !important;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .waterboard-link,
    .waterboard-btn {
        transition: none !important;
    }
    
    .waterboard-link:hover,
    .waterboard-link:focus {
        transform: none !important;
    }

    .waterboard-btn:hover,
    .waterboard-btn:focus {
        transform: none !important;
    }
}