/*

Theme Name: Avada Child

Description: Child theme for Avada theme

Author: ThemeFusion

Author URI: https://theme-fusion.com

Template: Avada

Version: 1.0.0

Text Domain:  Avada

*/

html {
    scroll-behavior: smooth;
}

.resolutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px; 
    grid-auto-rows: 1fr; 
}

.resolution-column {
    display: flex;
    flex-direction: column;
    box-sizing: border-box; 
    margin-bottom: 30px;
}

.resolution-column-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    height: 100%;
}

.resolutions-more-results-hidden-container {
    display: none;
    grid-column: span 1;
}

.resolutions-more-results-hidden-container.show {
    display: contents;
}

.resolutions-grid .resolution-summary {
    margin-bottom: 20px;
}

.resolutions-grid .fusion-separator {
    margin-left: auto;
    margin-right: auto;
    margin-top: 0px;
    margin-bottom: 0px;
    width: 100%;
    max-width: 100%;
}

.resolutions-grid .fusion-separator-border {
    border-color: var(--awb-color2, #ccc);
    border-top-width: 2px;
    border-top-style: solid;
    width: 100%;
    display: block;
    padding: 10px 0;
}

.facetwp-template.resolution-results .pagination {
    margin-bottom: 50px;
}

.facetwp-template.resolution-results .pagination .page-numbers {
    margin: 4px;
    width: 40px;
    height: 40px;
    font-size: 15px;
    line-height: 1;
    font-weight: 700;
    color: var(--awb-color5);
    background: var(--awb-color1);
    border-radius: 4px;
    border: 1px solid var(--awb-color1);
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}
.facetwp-template.resolution-results .pagination .page-numbers:hover {
    border: 1px solid var(--awb-color5);
}
.facetwp-template.resolution-results .pagination .page-numbers.current {
    color: var(--awb-color1);
    background: var(--awb-color5);
    border: 1px solid var(--awb-color5);
}

.facetwp-template.resolution-results .pagination .prev, 
.facetwp-template.resolution-results .pagination .next {
    width: auto;
    background: transparent;
    border: none;
}

.facetwp-template.resolution-results .pagination .prev:hover, 
.facetwp-template.resolution-results .pagination .next:hover {
    background: transparent;
    border: none;
}

@media (max-width: 1024px) {
    .resolutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .resolutions-grid {
        grid-template-columns: 1fr;
    }
}

.nsd-resolutionssearch-filter {
    display: flex;
    column-gap: 12px;
    gap: 12px;
    flex-grow: 1;
    align-items: center;
}

.nsd-resolutionssearch-filter .filter-group {
    flex-grow: 1;
}

.nsd-resolutionssearch-filter .filter-group input,
.nsd-resolutionssearch-filter .filter-group select {
    width: 100%;
}

.nsd-resolutionssearch-filter .filter-group.resolutions-filter-keyword {
    width: 20%;
}

.nsd-resolutionssearch-filter .filter-group.resolutions-filter-year {
    width: 10%;
}

.nsd-resolutionssearch-filter .filter-group.resolutions-filter-session {
    width: 60%;
}

.nsd-resolutionssearch-filter .filter-group.resolutions-filter-reset {
    width: 10%;
}

.event-date-committee-separator {
    display: inline-block;
        margin-right: 5px;
}


.tribe-events-pro .tribe-events-pro-week-grid__event--h-1 .tribe-events-pro-week-grid__event-title, .tribe-events-pro [class*=tribe-events-pro-week-grid__event--h-0] .tribe-events-pro-week-grid__event-title {
    text-overflow: unset !important;
    white-space: normal !important;
}

.tribe-events-pro [class*=tribe-events-pro-week-grid__event--h-0] .tribe-events-pro-week-grid__event-datetime {
    /* border: 0; */
    clip: unset !important;
    height: auto !important;
    margin: auto !important;
    overflow: hidden !important;
    padding: 0;
    position: relative !important;
    width: auto !important;
}

.tribe-events-calendar-list .grid-item.event-meta {
    padding: 0px;
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;   
}

.tribe-events-calendar-list .tribe-events-calendar-list__event-meta {    
    padding-left: 50px;
    width: 21%;
    border-left: 1px solid var(--awb-custom_color_9);
}

.tribe-events-calendar-list .tribe-events-calendar-list__event-meta .grid-item.event-meta {
    align-content: flex-start;
    margin: 7.5px 0px;
}

.tribe-events-calendar-list .tribe-events-calendar-list__event-meta .grid-item.event-meta .post_meta {
    padding: 3px 0px 6px 0px;
} 

@media screen and (max-width: 1024px) {
    .tribe-events-calendar-list .tribe-events-calendar-list__event-meta .grid_item.event-meta {
        padding: 30px 0px 20px 0px !important;
    }
    
    .tribe-events-calendar-list .tribe-events-calendar-list__event-meta .grid_item.resolution .item_col {
        flex-flow: column wrap;
    }
    
    .tribe-events-calendar-list .tribe-events-calendar-list__event-meta .grid_item.event-meta:first-of-type {
        padding-top: 10px !important;
    }
    
    .tribe-events-calendar-list .tribe-events-calendar-list__event-meta {
        border-left: none !important;
    }
}


/* Find My Legislator */

.legislator-map-container .fusion-column-wrapper {
    min-height: 600px !important;
    overflow: visible !important;
}


/* NEW ACCORDIAN ON VOTES */
.panel-heading .custom-panel-title.toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    pointer-events: auto !important;
}

.panel-heading .custom-panel-title .fusion-toggle-heading {
    flex-grow: 1;
    pointer-events: auto !important;
    cursor: default;
    text-decoration: none !important;
    color: inherit !important;
}

.panel-heading .custom-panel-title .fusion-toggle-heading a.fusion-heading-link {
    pointer-events: auto !important;
    cursor: pointer !important;
    text-decoration: underline !important;
    color: var(--awb-color-3) !important;
}

.fusion-panel .panel-heading .custom-panel-title .fusion-toggle-icon-wrapper {
    flex-shrink: 0;
    margin-left: 10px;
    position: relative;
    z-index: 5;
    pointer-events: auto !important;
}

.fusion-panel .panel-heading .custom-panel-title .fusion-toggle-icon-wrapper a.fusion-custom-accordion-toggle {
    pointer-events: auto !important;
    cursor: pointer !important;
    display: block;
    width: var(--awb-icon-size);
    height: var(--awb-icon-size);
    line-height: var(--awb-icon-size);
    text-align: center;
    text-decoration: none !important;
    color: var(--awb-icon-color) !important;
}

.fusion-custom-accordion-toggle .active-icon {
    display: none;
}
.fusion-custom-accordion-toggle.active .active-icon {
    display: inline-block;
}

.fusion-custom-accordion-toggle .inactive-icon {
    display: inline-block;
}
.fusion-custom-accordion-toggle.active .inactive-icon {
    display: none;
}


/* Tribe Events / Meetings */

/* Week View */

.fusion-body .fusion-wrapper #main .tribe-events .tribe-events-pro-week-grid__header-column-weekday {
    text-transform: uppercase !important;
}

.fusion-body #main .tribe-events .tribe-events-pro-week-grid__header-column-daynum {
    font-weight: 900 !important;
    color: var(--awb-color8) !important;
}

.fusion-body .tribe-events .tribe-events-pro-week-grid__event-link .tribe-events-pro-week-grid__event-link-inner {
    background-color: var(--awb-color2);
    color: var(--awb-color8);
}

.tribe-events-header__messages {
    margin-top: 20px !important;
}

.tribe-common.tribe-events.tribe-events-widget.tribe-events-view--shortcode.tribe-events-widget-events-week .tribe-events-widget-events-week__view-more {
    display: none;
}

.fusion-button.view-calendar-button {
    position: absolute;
    right: 20px;
    z-index: 1; 
}

.fusion-widget-area {
    position: relative;
}

.tribe-events-pro .tribe-events-pro-week-grid__header-column-title {
    border-bottom: 1px solid var(--awb-color2);
}

.tribe-common.tribe-events.tribe-events-widget.tribe-events-view--shortcode.tribe-events-widget-events-week .tribe-events-pro-week-grid__header-column {
    border-left-width: 2px;
    border-right-width: 2px;
    border-left-color: transparent;
    border-right-color: transparent;
}

.tribe-events-pro .tribe-events-pro-week-grid__events-day {
    border:  none !important;
    padding: 4px;
}

.fusion-body .tribe-events .tribe-events-pro-week-grid__event-link .tribe-events-pro-week-grid__event-link-inner {
    background-color: var(--awb-color2) !important;
    color: var(--awb-color8) !important;
}

.fusion-body .tribe-events .tribe-events-pro-week-grid__event-link .tribe-events-pro-week-grid__event-link-inner:hover {
    background-color: var(--awb-color3) !important;
    color: var(--awb-color8) !important;
}

.fusion-body #main .tribe-events-pro .tribe-events-pro-week-grid__event-title {
    font-weight: 600 !important;
}



/* FacetWP */

.facetwp-type-search .facetwp-icon {
    display: none !important;
}

.search-filter-query__spinner-icon svg {
    display: none !important;
}

.search-filter-query__spinner-icon {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.5);
    background-image: url(https://devwplegislature.ulstercountyny.gov/wp-content/uploads/2025/03/Rolling@1x-1.0s-200px-200px.svg);
    background-repeat: no-repeat;
    background-position: center center;
    z-index: 1000;
    transform: translateX(-50%);
}

.facetwp-loading::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5); 
    background-image: url('https://devwplegislature.ulstercountyny.gov/wp-content/uploads/2025/03/Rolling@1x-1.0s-200px-200px.svg');
    background-size: 80px;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1000; 
}

.facetwp-loading-noicon::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5); 
    z-index: 1000;
}

.resolutions-filters-facet .facetwp-facet.facetwp-facet-year,
.resolutions-filters-facet .facetwp-facet.facetwp-facet-reset {
  width: 90px;
  flex-shrink: 0; 
}

.resolutions-filters-facet .facetwp-facet:not(.facetwp-facet-year):not(.facetwp-facet-reset) {
  flex-grow: 1; 
}

.resolutions-row .facetwp-facet-reset {
    display: none !important;
}

.facetwp-facet {
    margin-bottom: 0 !important;
}

.fs-wrap {
    width: 100% !important; 
}

.facetwp-input-wrap {
    display: block !important;
    position: relative;
}

.facetwp-type-search .facetwp-icon:before {
    content: "\f002" !important; 
    font-family: "Font Awesome 5 Pro" !important;
    font-weight: 900 !important; 
    background: none !important;
    background-image: none !important;
    width: auto;
    height: auto;
    font-style: normal;
}

.facetwp-type-search .facetwp-icon {
    right: 10px;
    height: auto;
    line-height: 1;
    position: absolute;
    cursor: pointer;
    opacity: 0.5;
    top: 50%;
    transform: translateY(-50%);
}

.facetwp-type-fselect .fs-label-wrap {
    border-width: var(--form_border_width-top) var(--form_border_width-right) var(--form_border_width-bottom) var(--form_border_width-left) !important;
    border-color: var(--form_border_color) !important;
    border-radius: var(--form_border_radius) !important;
    background-color: var(--form_bg_color) !important;
    font-size: var(--form_text_size) !important;
    color: var(--form_text_color) !important;
    height: 50px !important;
    display: flex !important;
    align-self: center !important;
    align-items: center !important;
}

.facetwp-template {
    position: relative; 
    min-height: 300px;
}

.facetwp-loading::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5); /* Semi-transparent background */
    background-image: url('https://devwplegislature.ulstercountyny.gov/wp-content/uploads/2025/03/Rolling@1x-1.0s-200px-200px.svg'); /* Replace with your loading image path */
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1000; /* Ensure it's on top */
}

.facetwp-template.resolution-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns on desktop */
    grid-gap: 20px; /* Adjust gap as needed */
}

.resolution-group {
    grid-column: 1 / -1; /* full width for session heading */
}

@media (max-width: 768px) {
    .facetwp-template.resolution-results {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
    }
}

@media (max-width: 480px) {
    .facetwp-template.resolution-results {
        grid-template-columns: 1fr; /* 1 column on phone */
    }
}



/* Search & Filter Pro */

.search-filter-query-posts {
    position: relative;
    min-height: 300px;
}

.search-filter-query__spinner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,.3);
    text-align: center;
    z-index: 1;
}


/* Votes */

.voted_container {
    margin: 0px;
    padding: 35px 0px;
    border-top: 1px solid #dedede;
    display: flex;
    flex-flow: row wrap;
    justify-content: stretch;
    align-items: stretch;
}
.voted_container .voted_header, 
.voted_container .voted_roll {
    margin: 0px;
    padding: 0px;
    display: flex;
    flex-flow: row wrap;
    justify-content: stretch;
    align-items: stretch;
}
.voted_container .voted_header {
    width: 12%;
    border-right: 1px solid #dedede;
    align-content: flex-start;
}
.voted_container .voted_roll {
    width: 88%;
    align-content: center;
}
.voted_container .voted_roll .voted_legislator {
    padding: 2px 40px;
    width: 25%;
}
.voted_container .voted_icon, 
.voted_container .voted_title {
    width: 100%;
    text-align: center;
}
.voted_container .voted_icon {
    height: 28px;
}
.voted_container .voted_icon i {
    width: 20px;
    height: 20px;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
    color: var(--awb-color1);
    border-radius: 20px;
}
.voted_container.voted_yes .voted_icon i,
.voted_container .voted_icon.voted_yes i {
    background: var(--awb-custom_color_3);
}
.voted_container.voted_no .voted_icon i,
.voted_container .voted_icon.voted_no i {
    background: var(--awb-custom_color_7);
}
.voted_container.abstained .voted_icon i,
.voted_container .voted_icon.abstained i {
    background: var(--awb-color8);
}
.voted_container.no_vote .voted_icon i,
.voted_container .voted_icon.no_vote i {
    background: var(--awb-custom_color_12);
}
.voted_container .voted_title {
    font-size: 16px;
    line-height: 1;
    font-weight: 700;
    text-align: center;
}
.voted_roll a {
    text-decoration: underline !important;
}
.voted_roll a:hover {
    text-decoration: none !important;
}


/* Resolutions */

.resolution-button-pdf,
.resolution-button-law-file,
.resolution-button-supporting-documents {
    margin: 5px 0 !important;
} 

.resolutions-more-results {
    display: none;
    margin-top: 80px;
}

.resolution-title {
    text-transform: uppercase;    
    padding: 0;
    margin: 0;
    font-weight: 900;
    font-size: 18px;
}

.resolution-title a {
    text-decoration: none; 
    color: var(--awb-color5);
}

.resolution-summary {
    padding-top: 0;
    margin-top: 0;
    margin-bottom: 10px;
}

.resolutions-for-session-title {
    margin-top: 0px;
    margin-bottom: 40px;
}

.resolution-link {
    font-weight: bold;
    color: var(--awb-color5);
}

.resolution-link:hover {
    color: var(--awb-color4);
}

.resolutions-more-results .resolution-column {
    margin-bottom: 80px;
}

#resolution-session.dimmed {
    background-color: var(--awb-color2);
    color: var(--awb-color8);
    cursor: wait;
}





/* Recent News & Notices Post Cards */

#recent-news-post-cards .fusion-content-tb p,
#recent-notices-post-cards .fusion-content-tb p{
    word-wrap: break-word;
}

#recent-news-post-cards .fusion-content-tb p,
#recent-notices-post-cards .fusion-content-tb p {
    margin-top: 0;
}




/* Buttons */

.fusion-button-yellow {
    background: var(--awb-custom_color_1);
    color: var(--awb-color5);
    border-radius: 30px !important;
    font-weight: bold;
    padding-top: var(--button_padding-top, 13px);
    padding-right: var(--button_padding-right, 29px);
    padding-bottom: var(--button_padding-bottom, 13px);
    padding-left: var(--button_padding-left, 29px);
    line-height: var(--button_line_height, 1);
    font-size: var(--button_font_size, 14px);
}

.view-all-resolutions-button .search-filter-input-button {
    background: var(--awb-custom_color_1);
    color: var(--awb-color5);
    border-radius: 30px !important;
    font-weight: bold;
    padding-top: var(--button_padding-top, 13px);
    padding-right: var(--button_padding-right, 29px);
    padding-bottom: var(--button_padding-bottom, 13px);
    padding-left: var(--button_padding-left, 29px);
    line-height: var(--button_line_height, 1);
    font-size: var(--button_font_size, 14px);
    border: none;
    transition: all .2s;
}

.view-all-resolutions-button .search-filter-input-button:hover {
    background: var(--awb-color6) !important;
    color: var(--awb-color1)  !important;
}

.fusion-button i {
    font-size: 11px;
}

.yellow-icon i {
    color: var(--awb-custom_color_1) !important;
}





/* Staff */

.staff-name {
    text-decoration: underline;
}

.staff-phone {}

.staff-email .fusion-title-heading {
    display: inline-block;
    position: relative;
}

.staff-email .fusion-title-heading::after {
    content: "\f0e0"; 
    font-family: "Font Awesome 5 Pro";
    font-weight: 900; 
    margin-left: 5px; 
    text-decoration: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -20px;
    font-size: 13px;
}

.staff-email .fusion-title-heading a {
    text-decoration: underline;
}

.fusion-content-boxes.content-boxes-icon-on-side.committee-heading-with-icon .heading {
    margin: 0;
}


.committee-email, .committee-phone {
    display: inline !important;
    padding: 0;
    margin: 0 !important;
}

.fusion-nothing-found {
    font-size: var(--body_typography-font-size) !important;
    font-weight: normal !important;
}

.no-border {
    border: none !important;
}

/* Voting Record */

.voting-record-posts {
    list-style: none;
    margin: 0;
    padding: 0; 
}

.voting-record-committees {
    list-style: none;
    margin: 0 0 20px;
    padding: 0; 
}

.voting-record-posts-per-committee {
    list-style: none;
    margin: 0;
    padding: 0; 
    display: flex;
    flex-wrap: wrap; 
    gap: 20px;
    row-gap: 5px;
}

.voting-record-post.voted-yes {
    position: relative;
    padding-left: 25px;
}

.voting-record-post.voted-yes::before {
    content: "\f058"; /* Checkmark */
    font-family: "Font Awesome 5 Pro";
    font-weight: 300;
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    color: green;
    font-size: 16px;
}

.voting-record-post.abstained {
    position: relative;
    padding-left: 25px;
}

.voting-record-post.abstained::before {
    content: "\f10c"; /* Circle */
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    color: orange;
    font-size: 16px;
}

.voting-record-post.voted-no {
    position: relative;
    padding-left: 25px;
}

.voting-record-post.voted-no::before {
    content: "\f058"; /* Times circle */
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    color: red;
    font-size: 16px;
}

.voting-record-post.no-vote {
    position: relative;
    padding-left: 25px;
}

.voting-record-post.no-vote::before {
    content: "\f111"; /* Empty circle */
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    color: gray;
    font-size: 16px;
}


/* Legislator Single */

.nsd-attendance-filter,
.nsd-voting-filter,
.nsd-resolutions-filter,
.nsd-meetings-filter {
    position: absolute;
    right: 0;
}

.attendance-row {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  gap: 1rem;
}

.attendance-item {
  flex: 1 1 calc(50% - 0.5rem); /* two items per row with gap */
  display: flex;
  flex-direction: column;
  padding: 1rem;
  box-sizing: border-box;
}

.voting-totals {
    padding: 40px;
}

.vote-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.vote-item {
  flex: 1 1 calc(50% - 0.5rem); /* Two columns with gap */
  box-sizing: border-box;
  padding: 10px;
  
}

.vote-item.voted_yes {
   background: var(--awb-color2); 
}

.vote-item.voted_no {
   background: var(--awb-custom_color_5); 
}

.vote-item.abstained {
   background: var(--awb-custom_color_9); 
}

.vote-item.no_vote {
   background: var(--awb-custom_color_9); 
}

.pipe {
    padding: 0 5px;
}

.resolution-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.resolution-item {
    flex: 0 0 calc(50% - 16px);
    box-sizing: border-box;
    margin-bottom: 16px;
}

.sponsor-label {
    font-weight: normal;
    font-size: 0.85em;
    color: #666;
    margin-left: 6px;
}

.summary-title {
    margin-top: 0.3em;
}



/* Legislators on Committee Single Screen */

.legislators_items {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding: 10px 0;
    margin: 0;
}

.legislators_item {
    padding: 6px 0;
    box-sizing: border-box;
    display: block;
    align-items: center;
}

.legislator-chair,
.legislator-deputy {
    font-weight: bold;
}

@media (min-width: 1024px) {
    .legislators_items {
        flex-direction: row;
    }
    .legislators_item {
        width: 25%;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .legislators_items{
        flex-direction: row;
    }
    .legislators_item{
        width: 33.33%;
    }
}

@media (max-width: 767px){
    .legislators_items{
        flex-direction: row;
    }
    .legislators_item{
        width: 50%;
    }
}


/* Meetings on Committee Single  */

.meeting-container {
    display: flex;
    width: 100%;
}

.meeting-date-column {
    width: 40px;
    min-width: 40px;
    justify-content: flex-start;
    align-items: flex-start;
    margin-right: 15px;
    text-align: center;
}

.meeting-date-month {
    font-size: 17px;
    font-weight: normal;
    text-transform: uppercase;
    line-height: 1;
}

.meeting-date-day {
    font-size: 26px;
    font-weight: bold;
    line-height: 1;
}

.meeting-info-column {
    flex-grow: 1;
    flex-wrap: wrap;
}

.meeting-video-icon {
    margin-right: 7px;
    padding: 2px 6px;
    font-family: "Font Awesome 6 Pro" !important;
    content: "\f03d" !important;
    font-size: 10px;
    line-height: 1;
    font-weight: 900;
    font-style: normal;
    background: var(--awb-custom_color_1);
    color: var(--awb-color8);
    border-radius: 20px;
}

.meeting-info-column .pipe {
    margin: 0 7px;
    display: inline-block;
    font-size: 10px;
    color: var(--awb-color7);
}

.meeting-title {
    width: 100%;
    color: var(--awb-color7);
    font-size: 16px;
    font-weight: 700;
    
}

.meeting-title-link {
    text-decoration: none !important;
}

.meeting-time {
   color: var(--awb-color7); 
   font-size: 13px;
}

.meeting-link {
    color: var(--awb-color7); 
    font-size: 13px;
}

.meeting-video-icon {
    display: inline-block;
}

.meeting-agenda-button .fusion-button-text,
.meeting-video-button .fusion-button-text,
.meeting-audio-button .fusion-button-text,
.meeting-minutes-button .fusion-button-text,
.meeting-agenda-button-dark .fusion-button-text,
.meeting-video-button-dark .fusion-button-text,
.meeting-audio-button-dark .fusion-button-text,
.meeting-minutes-button-dark .fusion-button-text {
    position: relative;
    font-weight: bold;
}

.meeting-agenda-button .fusion-button-text::before {
    content: "";
    display: block;
    width: 54px;
    height: 52px;
    background-image: url('/wp-content/uploads/2025/03/Agenda-Title-Icon.png');
    background-size: contain; 
    background-repeat: no-repeat;
    position: relative; 
    top: -15px; 
    left: 60%;
    transform: translateX(-50%);
}

.meeting-video-button .fusion-button-text::before {
    content: "";
    display: block;
    width: 54px;
    height: 52px;
    background-image: url('/wp-content/uploads/2025/03/Video-Title-Icon.png');
    background-size: contain; 
    background-repeat: no-repeat;
    position: relative; 
    top: -15px; 
    left: 60%;
    transform: translateX(-50%);
}

.meeting-video-button i,
.meeting-agenda-button i {
    display: inline-block;
    margin-top: 52px;
    color: var(--awb-custom_color_1) !important;
}

.meeting-agenda-button-dark .fusion-button-text::before,
.meeting-video-button-dark .fusion-button-text::before,
.meeting-video-minutes-dark .fusion-button-text::before {
    content: "";
    display: block;
    width: 54px;
    height: 52px;
    background-size: contain; 
    background-repeat: no-repeat;
    position: relative; 
    top: -15px; 
    left: 60%;
    transform: translateX(-50%);
}

.meeting-agenda-button-dark .fusion-button-text::before {
    background-image: url('/wp-content/uploads/2025/03/Agenda-Dark.png');
}

.meeting-video-button-dark .fusion-button-text::before {
    background-image: url('/wp-content/uploads/2025/03/Video-Dark.png');
}

.meeting-video-minutes-dark .fusion-button-text::before {
    background-image: url('/wp-content/uploads/2025/03/Minutes-Dark.png');
}

.meeting-video-button-dark i,
.meeting-agenda-button-dark i,
.meeting-video-minutes-dark i {
    display: inline-block;
    margin-top: 52px;
    color: var(--awb-color8) !important;
}

/* Past Meetings on Committee Single */

#past-meetings {
    margin-bottom: 30px;    
}

.past-meeting-date {
    width: 100%; 
    flex-grow: 1;
    font-weight: normal;
    font-size: var(--awb-typography3-font-size);
    font-weight: 600;
    margin: 0;
}

.attendance-attended-row,
.attendance-absent-row {    
    border-top: 1px solid var(--awb-color2); 
    padding: 10px 0;
}

.attendance-attended-column,
.attendance-absent-column {
    padding: 30px 0;
    text-align: center;
    font-weight: bold;
}

.attendance-attended-column-data,
.attendance-absent-column-data {
    padding: 30px 0;
}

.attendance-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Default: 4 columns */
    gap: 0px;
    width: 100%;
}

.attendance-item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    text-align: left;
    min-width: 150px;
    box-sizing: border-box;
    border-right: 1px solid #ccc; /* Add right border by default */
    padding: 5px 10px 5px 40px;
}

/* Remove right border from last items in each row */
.attendance-item:nth-child(4n) {
    border-right: none;
}

/* Medium Screens: 3 columns */
@media (max-width: 1024px) {
    .attendance-list {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on medium screens */
    }

    .attendance-item:nth-child(3n) {
        border-right: none; /* Remove border from last item in row */
    }
}

/* Small Screens: 2 columns */
@media (max-width: 768px) {
    .attendance-list {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on small screens */
    }

    .attendance-item:nth-child(2n) {
        border-right: none; /* Remove border from last item in row */
    }
}

/* Individual link styling */
.legislator-link {
    display: block;
    width: 100%;
}




