:root {
  --archagam-fs-14: 14px;
}
.agenda-tab._bg_color.nav-link {
  color: rgb(var(--bg_color));
}

.agenda-tab._bg_color.nav-link.active {
  color: #fff;
  background-color: rgb(var(--bg_color));
}

span#selected-result-year {
  color: rgb(var(--bg_color));
}

.table-style_two .accordion-item .accordion-button {
  background-color: rgba(var(--bg_color), 0.2);
  border-radius: 6px;
  box-shadow: none;
}

/* Table CSS */

.table ._bg_color {
  background-color: rgb(var(--bg_color));
  color: #fff;
}

.table-style_two .accordion-item.archagam_not_found_container {
  column-count: 1;
}

.table-style_two .accordion-item {
  column-count: 2;
}

#archagam_tab_content .table tbody tr {
  border-bottom: 0;
}

#archagam_tab_content .table tbody tr:not(:last-child) {
  border-bottom: 1px solid #ddd;
}

.agenda_main {
  break-inside: avoid;
}

.agenda_main .table > thead > tr > th {
  border: 0;
  letter-spacing: 0.5px;
}

.agenda_main .table > thead > tr > th:nth-child(1) {
  border-radius: 8px 0 0 0;
}

.agenda_main table > tbody > tr:last-child td:first-child {
  border-radius: 0 0 0 8px;
}

.agenda_main .table > thead > tr > th:nth-child(3) {
  border-radius: 0 8px 0 0;
}

.agenda_main table > tbody > tr:last-child td:last-child {
  border-radius: 0 0 8px 0;
}

.agenda_main .table > thead {
  font-size: 0.875rem;
}

.agenda_main table td {
  border: 0;
  background-color: rgb(var(--bg_color), 0.05);
}

.agenda_main table :is(td, td a) {
  font-size: var(--archagam-fs-14);
}

.archagam_skeleton {
  background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
  background-size: 200% 100%;
  animation: skeleton_loading 1.5s infinite linear;
  border-radius: 4px;
}

.archagam_skeleton_lg {
  height: 50px;
}

.archagam_skeleton_heading {
  height: 40px;
}

.archagam_skeleton_td :is(th, td, tr) {
  height: 42px;
  border-radius: 0;
}

@keyframes skeleton_loading {
  0% {
    background-position: 100% 0;
  }

  100% {
    background-position: -100% 0;
  }
}

@media (max-width: 992px) {
  .table-style_two .accordion-item {
    column-count: 1;
  }
}

@media (max-width: 520px) {
  :root {
    --archagam-fs-14: 12px;
  }
  .table-style_two .accordion-item .accordion-button {
    padding-inline: 12px;
    padding-block: 10px;
  }
  .agenda_main .accordion-body {
    padding-inline: 0;
  }
  .archagam_table {
    row-gap: 1rem;
  }
}

@media (max-width: 375px) {
  .agenda_main .table > thead > tr > th {
    font-size: 12px;
  }
}
