:root,
[data-bs-theme=light] {
  --bs-body-font-family: $primary-font;
  --color-cumberland-blue: $primary-color;
  --color-tomato-orange: $primary-colorAlt;
  --color-forest-green: $secondary-colorAlt;
  --color-pewter: #97A3AE;
  --scrollbar-thumb: #97A3AE;
  --scrollbar-track: #cdcdcd;
  --marker-shadow-light: 0 0 12px rgba(0, 0, 0, 0.4);
  --marker-shadow-dark: 0 0 4px rgba(0, 0, 0, 0.18);
}

.leaflet-container {
  font-family: "Lato", Arial, sans-serif !important;
}

.primary-font {
  font-family: "Lato", Arial, sans-serif;
}

.secondary-font {
  font-family: "Oswald", Arial, sans-serif;
}

.primary-text-color {
  color: #363636 !important;
}

.secondary-text-color {
  color: #535353;
}

.tertiary-text-color {
  color: #8e8e9b;
}

html,
body {
  font-family: "Lato", Arial, sans-serif;
  color: #363636;
  margin: 0;
  padding: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #363636;
}

button,
a {
  font-family: "Lato", Arial, sans-serif;
}

/* Webkit browsers */
*::-webkit-scrollbar {
  width: 12px;
  background: var(--scrollbar-track);
}

*::-webkit-scrollbar-thumb {
  background: var(--scrollbar-track);
  background: var(--scrollbar-thumb);
  border-radius: 8px;
  background: var(--scrollbar-thumb);
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

h1 {
  font-family: "Oswald", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
}

h2 {
  font-weight: 600;
}

h3,
h4 {
  font-weight: 400;
}

h5,
h6 {
  font-weight: 200;
}

#map {
  height: 100vh;
  width: 100vw;
}

.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}

.flex-table {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.flex-row {
  display: flex;
  flex-direction: row;
  width: 100%;
}
.flex-row:nth-child(odd) {
  background-color: rgba(142, 142, 155, 0.08);
}
.flex-cell {
  flex: 1;
  padding: 10px 12px;
  min-width: 0;
  word-break: break-word;
  font-size: 1rem;
}

.text-light-grey {
  color: #8e8e9b;
}

.txt-secondary {
  color: #535353;
}

.d-flex {
  display: flex;
}

.first-column {
  width: 160px;
  flex-shrink: 0;
}

.border-bottom-1 {
  border-bottom: 1px solid #dddddd;
}

.custom-alert {
  padding: 5px 10px !important;
  display: inline-block;
  margin-bottom: 4px !important;
}

::-webkit-scrollbar-thumb {
  background: #36438B;
}

* {
  scrollbar-color: #36438B #cdcdcd;
}

::-webkit-scrollbar {
  background: #fff;
}

::-webkit-scrollbar-track {
  background: #fff;
}

* {
  scrollbar-color: #cdcdcd #fff;
}

.alert {
  font-size: 14px;
  padding: 3px 10px !important;
}

.legend-info {
  background-color: #cff4fc;
}
.legend-success {
  background-color: #d1e7dd;
}
.legend-primary {
  background-color: #cfe2ff;
}
.legend-danger {
  background-color: #f8d7da;
}
.legend-secondary {
  background-color: #e2e3e5;
}

address {
  margin-bottom: 0.2rem;
}

.gap-0 {
  gap: 0;
}

.bg-secondary {
  background-color: #FF5E3C !important;
}

.active > .page-link,
.page-link.active {
  background-color: #8e8e9b !important;
}

.accordion-body .nav-item {
  margin-right: 20px;
}
.accordion-body .nav-tabs .nav-link {
  padding-left: 0px;
  padding-right: 0px;
  color: #535353;
  border: none;
}
.accordion-body .nav-tabs .nav-link:hover {
  border-bottom: 2px solid #36438B;
  color: rgba(0, 0, 0, 0.8);
}
.accordion-body .nav-tabs .nav-link.active, .accordion-body .nav-tabs .nav-link:active {
  background-color: #fff;
  color: #000;
  border-bottom: 2px solid #36438B;
  box-shadow: none;
  background: none;
}
.accordion-body .nav-tabs .nav-link:focus {
  border-bottom: 2px solid #36438B;
}
.accordion-body .nav-tabs .nav-link:focus-visible {
  box-shadow: none;
}
.accordion-body .nav-tabs .nav-link:active:focus-within {
  background: transparent;
}
.accordion-body .nav-tabs .nav-link:focus-within {
  box-shadow: none;
}
.accordion-body .nav-tabs .nav-link.active {
  background: none;
}

.page-link {
  color: #36438B !important;
}

.active > .page-link,
.page-link.active {
  color: #fff !important;
}

.project-card {
  overflow: hidden;
}

.width-75 {
  flex: 0 0 75%;
}
.width-82 {
  flex: 0 0 82%;
}

.color-indicator {
  flex: 110px 0 0;
}

.filter-category-table .dataTable tbody {
  text-align: left !important;
  font-size: 14px !important;
}
.filter-category-table .dataTable tbody tr td:last-child {
  text-align: center !important;
}
.filter-category-table .form-select:focus, .filter-category-table .form-control:focus {
  border: 1px solid #dee2e6;
}

.alert-fixed-width {
  display: block;
  width: 50px;
}

button,
input[type=button],
input[type=submit],
input[type=reset] [role=button],
.btn,
.dropdown-toggle,
.btn.btn-outline-primary.dropdown-toggle.filter-label .btn.btn-outline-primary.dropdown-toggle.filter-label {
  outline: none !important;
  box-shadow: transparent 0 0 0 0;
  border: 1px solid transparent;
}

button:not(a):focus-within,
input[type=button]:not(a):focus,
input[type=submit]:not(a):focus,
input[type=reset]:not(a):focus,
[role=button]:not(a):focus,
.btn:focus,
.btn:focus-within,
.dropdown-toggle:focus,
.dropdown-toggle:focus-within,
.btn.btn-outline-primary.dropdown-toggle.filter-label:focus,
.btn.btn-outline-primary.dropdown-toggle.filter-label:focus-within,
.accordion-button:focus-visible,
.nav-link:focus-within,
.project-pagination .page-link:focus {
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.3);
  border-color: transparent;
}

.accordion-button:focus {
  border-color: transparent;
  box-shadow: none;
  outline: none !important;
}
.accordion-button:not(.collapsed) {
  box-shadow: none;
}
.accordion-button:after {
  display: none !important;
}
.accordion-button:not(.collapsed) {
  background: transparent;
}
.accordion-button.tab-focused {
  border-radius: 0px !important;
  border-bottom: 1px solid #36438B;
  padding-bottom: 15px;
}

.material-symbols-outlined {
  font-family: "Material Symbols Outlined" !important;
}

.regionSelector {
  position: fixed;
  top: 18px;
  left: 47px;
  padding: 12px 16px;
  border-radius: 8px;
  z-index: 899 !important;
  font-size: 14px;
}
.regionSelector label {
  font-weight: 500;
  margin-right: 8px;
}
.regionSelector select {
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 14px;
}

.accordion-item {
  border: none !important;
  border-radius: 0;
}
.accordion-item .accordion-header {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  text-align: left;
  font-family: "Lato", Arial, sans-serif;
  font-weight: 400;
  font-size: 1.125rem;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  border-bottom: 1px solid #cdcdcd;
}
.accordion-item .accordion-header .accordion-button {
  padding-left: 0;
  padding-right: 0;
}
.accordion-item .accordion-button {
  position: relative;
  padding-right: 2em;
  text-align: left;
  font-size: 1.125rem;
}
.accordion-item .accordion-button::before {
  position: absolute;
  right: 0;
  top: 20px;
  transform: translateY(-50%) rotate(0deg);
}
.accordion-item .accordion-button::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-left: auto;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%23999" height="16" viewBox="0 0 24 24" width="16" xmlns="http://www.w3.org/2000/svg"><path d="M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.2s;
}
.accordion-item .accordion-button.collapsed::before {
  transform: rotate(0deg);
}
.accordion-item .accordion-button:not(.collapsed)::before {
  transform: rotate(180deg);
}
.accordion-item:last-child .accordion-body.open {
  border-bottom: none;
}
.accordion-item .accordion-body {
  padding: 0;
  font-size: 0.98rem;
}
.accordion-item .accordion-body .score-circle {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
  padding: 0px !important;
  margin: 0 10px 0 0 !important;
}
.accordion-item .accordion-body .material-symbols-outlined {
  font-size: 20px;
}
.accordion-item .accordion-body .material-symbols-outlined.info-icon {
  padding: 5px;
  border-radius: 50%;
  background: transparent;
  transition: border-color 0.18s ease-in-out, background-color 0.18s ease-in-out, box-shadow 0.18s ease-in-out;
}
.accordion-item .accordion-body .material-symbols-outlined.info-icon:hover {
  background: rgba(83, 83, 83, 0.1);
}
.accordion-item .accordion-body .material-symbols-outlined.info-icon:focus-within {
  background: rgba(83, 83, 83, 0.2);
}
.accordion-item .accordion-body.open {
  height: auto;
  padding: 20px 0px 16px 0px;
  border-bottom: 1px solid #cdcdcd;
}
.accordion-item .accordion-subtitle {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid #cdcdcd;
  margin: 0 0 12px 0;
  position: relative;
}
.accordion-item .accordion-subtitle h3 {
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
  font-weight: 600;
  padding: 30px 0px 6px 0px;
  font-family: "Lato", Arial, sans-serif;
  padding-left: 26px;
  margin-bottom: 10px;
}
.accordion-item .condition-indicator {
  font-weight: 600;
  font-family: "Lato", Arial, sans-serif;
}

.offcanvas.offcanvas-end {
  width: 480px;
}
@media screen and (min-width: 992px) {
  .offcanvas.offcanvas-end {
    max-width: 90vw;
  }
}

.offcanvas .offcanvas-header {
  padding: 12px 16px;
  border-bottom: 1px solid #cdcdcd;
}

.offcanvas .offcanvas-body {
  padding: 0 24px;
}

.offcanvas-body {
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  font-size: 18px;
  font-weight: 600;
  z-index: 1002;
  border: 1px solid #cdcdcd;
}
@media screen and (min-width: 992px) {
  .close-button {
    position: absolute;
    top: -15px;
    right: -11px;
  }
}
.close-button {
  background: #fff;
}
.close-button:hover {
  cursor: pointer;
  background: #f1f1f1;
}
.close-button:focus {
  border-style: inset;
  border-width: 2px;
}
.close-button:focus-within {
  box-shadow: 0 0 3px 2px rgba(0, 0, 0, 0.1) !important;
  border: 1px solid #cdcdcd;
}
.close-button:before {
  content: "";
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24px' viewBox='0 -960 960 960' width='24px' fill='%23999999'%3E%3Cpath d='m256-200-56-56 224-224-224-224 56-56 224 224 224-224 56 56-224 224 224 224-56 56-224-224-224 224Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px;
}

.sidepanel-header {
  width: 100%;
  flex: 0 0 50px;
  margin-bottom: 30px;
}
.sidepanel-header h2 {
  font-size: 1.75rem;
  line-height: 40px;
  font-weight: 400;
}

.school-address {
  font-family: "Lato", Arial, sans-serif;
}

.project-note, .project-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.more-projects {
  font-size: 1rem;
  margin-top: 15px;
  margin-bottom: 10px;
  font-weight: 600;
}

.card-body {
  background-color: rgba(142, 142, 155, 0.04);
}
.card.custom-card {
  background: rgba(237, 237, 237, 0.3607843137);
}
.card.custom-card .alert {
  font-size: 14px;
}

.project-item {
  width: 48%;
  margin-bottom: 16px;
}

.offcanvas.offcanvas__mapDisplay {
  overflow: visible;
  padding: 15px 0px;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  top: 0;
  right: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100%;
  border: none;
  max-width: none;
}
@media screen and (min-width: 992px) {
  .offcanvas.offcanvas__mapDisplay {
    width: 480px;
    right: 15px;
    top: 107px;
    height: 86vh;
  }
}

.filter-category-table div.dataTables_wrapper {
  width: 100%;
  margin: 0;
}
.filter-category-table div.dataTables_wrapper .dataTables_filter {
  margin-bottom: 0.5rem;
}
.filter-category-table div.dataTables_wrapper .dataTables_length {
  margin-bottom: 0.5rem;
}
.filter-category-table div.dataTables_wrapper .dataTables_info {
  font-size: 0.9rem;
  padding-top: 0.25rem;
  color: #535353;
}
.filter-category-table div.dataTables_wrapper .dataTables_paginate .paginate_button {
  border-radius: 0.25rem;
}
.filter-category-table div.dataTables_wrapper div.dataTables_paginate ul.pagination {
  justify-content: center;
}
.filter-category-table div.dataTables_wrapper div.dataTables_paginate ul.pagination .active > .page-link,
.filter-category-table div.dataTables_wrapper div.dataTables_paginate ul.pagination .page-link.active, .filter-category-table div.dataTables_wrapper div.dataTables_paginate ul.pagination:focus {
  border: 1px solid transparent;
}
.filter-category-table div.dataTables_wrapper div.dataTables_paginate ul.pagination .page-link:hover {
  background: rgba(83, 83, 83, 0.15);
  border: 1px solid transparent;
  color: #000;
}
.filter-category-table div.dataTables_wrapper div.dataTables_paginate ul.pagination .page-link:focus {
  box-shadow: none;
  border: 1px solid transparent;
}
.filter-category-table div.dataTables_wrapper div.dataTables_paginate .offcanvas__mapDisplay .dataTables_paginate .paginate_button span.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.filter-category-table div.dataTables_wrapper div.dataTables_paginate .offcanvas__mapDisplay .dataTables_paginate .paginate_button .bi {
  font-size: 1rem;
  vertical-align: middle;
}
.filter-category-table div.dataTables_wrapper .dataTables_info {
  text-align: left;
}
.filter-category-table div.dataTables_wrapper .table-sm > :not(caption) > * > * {
  padding: 10px 15px !important;
}
.filter-category-table table.dataTable {
  width: 100% !important;
  margin-bottom: 0.75rem;
}
.filter-category-table .page-link {
  padding: 4px 8px;
}
.filter-category-table table.dataTable thead th {
  vertical-align: middle;
}

.gap-0 {
  gap: 0 !important;
}

.project-pagination .active > .page-link,
.project-pagination .page-link.active, .project-pagination:focus {
  border: 1px solid transparent;
}
.project-pagination .page-link:hover {
  border: 1px solid transparent;
  background: rgba(83, 83, 83, 0.1);
  color: #000;
}
.project-pagination .page-link:focus, .project-pagination .page-link.active {
  border: 1px solid transparent;
}

.project-funding-chart {
  margin-top: 16px;
  margin-bottom: 16px;
}
.project-funding-chart .chart-canvas {
  margin: 0 auto;
}

.back-to-prev-filter {
  background: transparent;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  text-align: center;
  border: 1px solid transparent;
  transition: border-color 0.18s ease-in-out, background-color 0.18s ease-in-out, box-shadow 0.18s ease-in-out;
}
.back-to-prev-filter .back-icon {
  transition: color 0.18s ease-in-out, transform 0.18s ease-in-out;
  font-size: 32px;
  color: #535353;
  border-radius: 50%;
  outline: 1px solid transparent;
  border-radius: 50%;
}
.back-to-prev-filter:hover {
  cursor: pointer;
  background: rgba(83, 83, 83, 0.1);
}

#statusIndicator {
  position: fixed;
  top: 10px;
  right: 10px;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  z-index: 899;
}

.sidepanel-content .alert {
  color: #000;
  min-width: 125px;
  text-align: center;
}
.sidepanel-content .alert-success {
  background-color: #00b050;
  border-color: transparent;
}
.sidepanel-content .alert-secondary {
  background-color: #EB0000;
  border-color: transparent;
}
.sidepanel-content .alert-primary {
  background-color: #ffff00;
  border-color: transparent;
}
.sidepanel-content .alert-danger {
  background-color: #FF5E3C;
  border-color: transparent;
}
.sidepanel-content .alert-info {
  background-color: #92d050;
  border-color: transparent;
}
.sidepanel-content .alert-warning {
  min-width: auto;
}

.leaflet-marker-icon:focus {
  outline-offset: 2px;
  border-radius: 50%;
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  box-shadow: -2px -2px 15px rgba(0, 0, 0, 0.2) !important;
  margin: -14px auto 0 !important;
  border: 1px solid var(--popup-border-color, rgba(191, 191, 191, 0.7254901961));
}

.leaflet-popup-content {
  margin: 0 !important;
}

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

.col {
  flex: 1;
  min-width: 160px;
}

.section-heading {
  font-size: 16px;
  margin-top: 30px;
  margin-bottom: 6px;
  color: #cccccc;
}

.leaflet-marker-shadow {
  margin-left: -4px !important;
}

.leaflet-popup.custom-right-popup {
  margin-left: 0 !important;
  margin-top: -28px !important;
  transform: translateX(0);
}
.leaflet-popup.custom-right-popup .leaflet-popup-content-wrapper {
  border-radius: 8px;
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.2);
}
.leaflet-popup.custom-right-popup .leaflet-popup-tip-container {
  left: -8px !important;
  right: auto;
  top: 50% !important;
  transform: translateY(-50%) rotate(180deg);
}
.leaflet-popup.custom-right-popup .leaflet-popup-tip {
  margin: 0;
}

.popup-img {
  margin-top: 5px;
}
.popup-title {
  font-family: "Oswald", Arial, sans-serif;
  color: #36438B;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
  margin: 0;
}
.popup-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  padding: 15px 15px 0 15px;
}
.popup-card {
  min-width: 300px;
  font-size: 14px;
}
.popup-card .popup-description {
  font-size: 16px;
  padding: 0 15px;
}
.popup-distance {
  background: rgba(0, 117, 255, 0.2);
  color: rgba(60, 180, 229, 0.01);
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 11px;
  margin: 8px 0 12px 0;
  border: 1px solid rgba(0, 117, 255, 0.3);
  text-align: center;
  font-weight: 500;
}
.popup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 10px;
  row-gap: 6px;
  padding: 0 15px;
}
.popup-label {
  font-weight: 600;
  font-size: 14px;
}
.popup-value {
  font-size: 14px;
  word-break: break-word;
  color: #000;
  margin-top: 6px;
}
.popup-actions {
  margin-top: 10px;
}
.popup-actions a {
  color: rgba(60, 180, 229, 0.01);
  text-decoration: underline;
}
.popup-actions a:hover {
  opacity: 0.9;
}
.popup-bottom {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--popup-bottom-border, rgba(191, 191, 191, 0.7254901961));
}
.popup-bottom-wrapper {
  padding: 0 15px;
  display: grid;
  grid-template-columns: auto auto;
  gap: 8px;
  align-items: start;
}
.popup-bottom-col {
  text-align: left;
}
.popup-bottom-label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}
.popup-bottom-value {
  font-size: 15px;
}
.popup-bottom-sep {
  width: 1px;
  height: 36px;
  justify-self: center;
}
.popup-bottom-sub {
  font-size: 14px;
  margin-top: 2px;
}
.popup-footer {
  text-align: right;
  padding: 15px;
}

.attendance-title {
  font-size: 18px;
}

.border-right {
  border-right: 1px solid var(--popup-bottom-border, rgba(191, 191, 191, 0.7254901961));
  height: 100%;
  margin-right: 10px;
}

.custom-popup .leaflet-popup-content-wrapper {
  margin-left: 10px;
}

.school-title {
  margin: 0;
  font-size: 18px;
  width: 94%;
  line-height: 26px;
}
.sidepanel-header .school-logo + .school-title, .sidepanel-header:has(.school-logo) .school-title {
  width: 74%;
}

.distance-info {
  background: rgba(0, 117, 255, 0.15);
  color: #3CB4E5;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  margin: 10px 0 15px 0;
  border: 1px solid rgba(0, 117, 255, 0.25);
  text-align: center;
  font-weight: 500;
}

.table-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 14px;
  padding: 0 15px;
}
.table-row.column-half {
  grid-template-columns: 1fr 1fr;
}
.table-row.column-one-third {
  grid-template-columns: 35% auto;
}

.divider {
  margin: 20px 0;
  border: none;
  border-top: 1px solid var(--popup-bottom-border, #bfbfbf);
}

.section-title {
  margin-top: 16px;
  margin-bottom: 16px;
  font-weight: 500;
  padding: 0 15px;
}

.utilization-details {
  margin-bottom: 8px;
  font-size: 14px;
  display: grid;
  grid-template-columns: 50% auto;
  gap: 10px;
  padding: 0 15px;
}

.assessment-details {
  display: grid;
  grid-template-columns: 150px auto;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 8px;
  padding: 0 15px;
}

.faculty-details {
  display: grid;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 8px;
  padding: 0 15px;
  grid-template-columns: 150px auto;
}
.faculty-details.single-column {
  grid-template-columns: 1fr;
}

.detail-label {
  font-weight: 500;
}

.leaflet-container a.leaflet-popup-close-button {
  top: -24px !important;
  right: -10px !important;
  color: transparent !important;
  text-decoration: none !important;
  font-size: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
  background: #fff !important;
  box-shadow: inset 0 0 0 0 transparent;
  border: 1px solid #cdcdcd !important;
  font: unset !important;
  font-size: 0 !important;
  outline: none !important;
}
.leaflet-container a.leaflet-popup-close-button:hover {
  background: #f1f1f1 !important;
}
.leaflet-container a.leaflet-popup-close-button:focus {
  border-style: inset;
  border-width: 2px;
}
.leaflet-container a.leaflet-popup-close-button:focus-within {
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1) !important;
  border: 1px solid #cdcdcd;
}
.leaflet-container a.leaflet-popup-close-button:before {
  content: "";
  width: 16px !important;
  height: 16px !important;
  font-size: 16px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24px' viewBox='0 -960 960 960' width='24px' fill='%23999999'%3E%3Cpath d='m256-200-56-56 224-224-224-224 56-56 224 224 224-224 56 56-224 224 224 224-56 56-224-224-224 224Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.details-button:focus {
  border-style: inset;
  border: 3px solid transparent;
  padding-top: 4px;
  padding-bottom: 4px;
}

.location-marker {
  position: relative !important;
  background: none !important;
  border: none !important;
}
.location-marker .location-pin {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}
.location-marker .location-pin::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.marker-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #fff;
  transition: all 0.2s ease;
}

.search-highlight .marker-dot {
  transform: scale(1.2);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

@keyframes markerBounce {
  0% {
    transform: rotate(-45deg) translateY(0);
  }
  50% {
    transform: rotate(-45deg) translateY(-5px);
  }
  100% {
    transform: rotate(-45deg) translateY(0);
  }
}
.marker-bounce .marker-pin {
  animation: markerBounce 0.6s ease-in-out;
}

.marker-clear-border .marker-pin {
  outline: none !important;
}

.school-type-legend {
  position: fixed;
  right: -248px;
  left: auto;
  bottom: 2%;
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 8px;
  padding: 8px 7px;
  font-size: 1rem;
  gap: 16px;
  z-index: 899;
  font-family: "Lato", Arial, sans-serif;
  transition: right 250ms ease;
}
@media (orientation: landscape) {
  .school-type-legend {
    bottom: 60%;
  }
}
@media screen and (min-width: 992px) {
  .school-type-legend {
    bottom: 20px;
    right: auto;
    left: 15px;
    bottom: 10px;
    padding: 8px 18px;
  }
}
.school-type-legend .slider-handle {
  padding: 0;
  background: transparent;
  padding: 0px 8px;
}
.school-type-legend .slider-handle .material-symbols-outlined {
  font-weight: 300;
  font-size: 16px;
  color: #353535;
  line-height: 34px;
}
@media screen and (min-width: 992px) {
  .school-type-legend .slider-handle {
    display: none;
  }
}
.school-type-legend.open {
  right: 0px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
}
.legend-icon {
  width: 14px;
  height: 14px;
  border-radius: 50%;
}
.legend-icon.big {
  width: 16px;
  height: 16px;
}
.legend-icon.es {
  background: #36438B;
}
.legend-icon.ms {
  background: #FF5E3C;
}
.legend-icon.hs {
  background: #DCDC19;
}

.leaflet-control-zoom {
  top: 90px !important;
}

.region-notification {
  position: fixed;
  bottom: 20px;
  left: 30px;
  padding: 12px 20px;
  border-radius: 5px;
  z-index: 10000;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.35s ease;
  text-align: left;
  color: #008445;
  pointer-events: none;
}
.region-notification.visible {
  opacity: 1;
}

.sr-only {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

.map-filter-panel {
  background: #fff;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  z-index: 899;
  position: absolute;
  bottom: 0;
  padding: 15px 24px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow-y: auto;
  height: 50vh;
}
@media screen and (min-width: 992px) {
  .map-filter-panel {
    width: 480px;
    height: 86vh;
    top: 107px;
    bottom: auto;
    right: 15px;
    border-radius: 8px;
  }
}

.filter-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: opacity 220ms ease, transform 220ms ease, max-height 220ms ease;
  will-change: opacity, transform;
}
.filter-section__header {
  min-height: 34px;
}
.filter-label {
  font-family: "Lato", Arial, sans-serif;
  font-size: 1.15rem;
  margin-bottom: 0px;
  flex-shrink: 0;
}
.filter-select {
  font-size: 16px;
  /* neutralize subtle shadow on inputs */
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: none;
  background: #f5f5f7;
  font-weight: 500;
  color: #222;
}

.school-type-toggle,
.district-toggle {
  display: flex;
  gap: 20px;
  overflow-x: auto;
}
@media screen and (min-width: 768px) {
  .school-type-toggle,
  .district-toggle {
    overflow-x: hidden;
  }
}
.school-type-btn,
.district-btn {
  background: #f6f6f6;
  color: #535353;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  padding: 10px 20px;
  border: 1px solid #dbdbdb;
  transition: background 0.2s, color 0.2s, transform 0.3s ease;
  min-width: 145px;
}
@media screen and (min-width: 768px) {
  .school-type-btn,
  .district-btn {
    min-width: unset;
  }
}
.school-type-btn.active,
.district-btn.active {
  color: #000;
}
.school-type-btn.es:hover, .school-type-btn.es.active, .school-type-btn.es:focus,
.district-btn.es:hover,
.district-btn.es.active,
.district-btn.es:focus {
  background: #36438B;
  color: #fff;
}
.school-type-btn.es:focus-visible,
.district-btn.es:focus-visible {
  outline: 1px solid #36438B;
  outline-offset: 1px;
}
.school-type-btn.ms:hover, .school-type-btn.ms.active, .school-type-btn.ms:focus,
.district-btn.ms:hover,
.district-btn.ms.active,
.district-btn.ms:focus {
  background: #FF5E3C;
  color: #fff;
}
.school-type-btn.ms:focus-visible,
.district-btn.ms:focus-visible {
  outline: 1px solid #FF5E3C;
  outline-offset: 1px;
}
.school-type-btn.hs:hover, .school-type-btn.hs.active, .school-type-btn.hs:focus,
.district-btn.hs:hover,
.district-btn.hs.active,
.district-btn.hs:focus {
  background: #DCDC19;
  color: #535353;
}
.school-type-btn.hs:focus-visible,
.district-btn.hs:focus-visible {
  outline: 1px solid #DCDC19;
  outline-offset: 1px;
}

.district-btn {
  min-width: unset;
}
.district-btn.es:hover, .district-btn.es.active {
  background: rgba(83, 83, 83, 0.15);
  color: #000;
}
.district-btn.es:focus-visible {
  outline-offset: 1px;
}

.legislative-district-toggle {
  display: flex;
  gap: 20px;
  overflow-x: auto;
}
@media screen and (min-width: 768px) {
  .legislative-district-toggle {
    overflow-x: hidden;
  }
}

.school-name {
  font-family: "Oswald", Arial, sans-serif;
}

.offcanvas-backdrop {
  background-color: #fff;
}

/* Animated hide state when the panel is toggled off (uses d-none for consistency) */
.filter-section.d-none {
  opacity: 0;
  transform: translateY(-6px);
  max-height: 0 !important;
  pointer-events: none;
}
.filter-section:not(.d-none) {
  opacity: 1;
  transform: translateY(0);
}

.legend-color-box {
  width: 12px;
  height: 12px;
  display: inline-block;
  border-radius: 3px;
}
.legend-color-box.allocated-color {
  background: #3cb4e5;
}
.legend-color-box.spent-color {
  background: #008445;
}
.legend-label {
  font-size: 14px;
}

.top-bar {
  display: flex;
  align-items: center;
  height: auto;
  padding: 10px;
  position: fixed;
  left: 0;
  width: 100%;
  z-index: 999;
  background-color: #fff;
  justify-content: space-between;
}
@media screen and (min-width: 768px) {
  .top-bar {
    padding: 10px 32px;
  }
}
.top-bar__logo {
  height: 45px;
  width: auto;
  display: block;
}
@media screen and (min-width: 768px) {
  .top-bar__logo {
    height: 64px;
  }
}

.btn.btn-primary {
  background-color: #36438B;
  color: #fff;
  border-color: transparent;
}
.btn.btn-primary:hover, .btn.btn-primary:focus {
  background-color: rgb(39.7305699482, 49.2953367876, 102.2694300518);
  color: #fff;
}
.btn.btn-primary:active {
  background-color: rgb(32.5958549223, 40.4430051813, 83.9041450777) !important;
  color: #fff !important;
}
.btn.btn-outline-primary {
  border: 1px solid #36438B;
  color: #363636;
  border-color: transparent;
}
.btn.btn-outline-primary:hover, .btn.btn-outline-primary:focus {
  background-color: #36438B;
  color: #fff;
}
.btn.btn-outline-primary:active {
  background-color: #36438B !important;
  color: #fff !important;
}

.clear-filter-btn {
  border: 1px solid transparent;
  transition: border-color 0.18s ease-in-out, background-color 0.18s ease-in-out, box-shadow 0.18s ease-in-out;
  color: #363636;
}
.clear-filter-btn:hover {
  background: rgba(83, 83, 83, 0.1);
  box-shadow: 0 2px 1px 0px rgba(83, 83, 83, 0.2);
}
.clear-filter-btn:focus-within {
  background: rgba(83, 83, 83, 0.2);
  box-shadow: 0 2px 1px 0px rgba(83, 83, 83, 0.3);
}

/* Chart and legend layout styles */
.sidepanel-header-row {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
}
.sidepanel-header-left {
  flex: 1;
  min-width: 0;
}
.sidepanel-header-chart {
  flex: 0 0 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sidepanel-header-chart-canvas {
  max-width: 110px;
  max-height: 110px;
}

.sidepanel-chart {
  height: 180px;
}

.canvas-full {
  width: 100%;
  height: 100%;
}

.summary-preamble {
  margin: 0 0 0.5rem 0;
}

.category-chart-wrapper {
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.filter-totals {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}
.filter-category-canvas {
  width: 100%;
  max-width: 360px;
  max-height: 260px;
}
.filter-category-legend {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
  margin-bottom: 8px;
}

.chart-canvas {
  width: 100%;
  max-width: 440px;
  height: 240px;
}

.year-chart-wrapper {
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.small-message-box {
  padding: 1rem;
}

.filter-legend-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
}
.filter-legend-item:hover {
  background: rgba(0, 0, 0, 0.03);
}
.filter-legend-item.highlight {
  background: rgba(0, 0, 0, 0.06);
}

.legend-item-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.legend-value {
  color: #444;
}

/* Search styles: compact/expandable input and suggestion list */
.search-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  flex-basis: 50%;
}
@media screen and (min-width: 768px) {
  .search-container {
    flex-basis: 350px;
  }
}

.search-label {
  font-weight: 600;
  color: #333333;
  margin-left: 6px;
  font-size: 0.95rem;
}

/* Clear button: hidden by default, shown when input has text */
#clearSearchBtn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 4px;
  border-radius: 6px;
  border: 1px solid transparent;
  color: #535353;
  cursor: pointer;
  border-radius: 50%;
  margin-right: 5px;
}
#clearSearchBtn .material-symbols-outlined {
  font-weight: 300;
  font-size: 22px;
}

#searchToggleBtn .material-symbols-outlined {
  font-weight: 300;
  font-size: 24px;
  color: #36438B;
}

.search-container.has-value #clearSearchBtn {
  display: inline-flex;
}

.school-search-input::placeholder {
  opacity: 1;
}

.search-container.expanded.show-list .school-search-list {
  display: block;
}

.school-search-empty {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  z-index: 1200;
  background: #fff;
  border: 1px solid #dddddd;
  padding: 10px 12px;
  border-radius: 6px;
  color: #666666;
}
.school-search-input {
  width: 100%;
  padding: 10px 50px 10px 46px;
  border-radius: 6px;
  border: 1px solid #cdcdcd;
  background: #fff;
  outline: none;
}
.school-search-list {
  position: absolute;
  top: calc(100% + 6px);
  right: auto;
  z-index: 1200;
  max-height: 260px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #dddddd;
  list-style: none;
  margin: 0;
  padding: 6px 0;
  border-radius: 6px;
  display: none;
  width: 100%;
  left: 0;
}
.school-search-list li {
  padding: 8px 12px;
  cursor: pointer;
  font-size: 1rem;
}
.school-search-list li:hover, .school-search-list li.highlight {
  background: #f1f5ff;
}

.search-container.show-empty .school-search-empty {
  display: block;
}

/* Toggle button that sits to the left of the input */
.search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 4px;
  border-radius: 6px;
  border: 1px solid transparent;
  background: transparent;
  color: #36438B;
  cursor: pointer;
  position: absolute;
  border-radius: 50%;
  transition: border-color 0.18s ease-in-out, background-color 0.18s ease-in-out, box-shadow 0.18s ease-in-out;
}
.search-btn.pos-left-inside {
  left: 6px;
}
.search-btn:hover {
  background: rgba(83, 83, 83, 0.1);
}
.search-btn:focus-within {
  background: rgba(83, 83, 83, 0.2);
}

.search-toggle-btn:focus {
  outline: none;
}
.search-toggle-btn svg,
.search-toggle-btn .bi {
  display: block;
  font-size: 18px;
  line-height: 1;
}

.map-filter-panel .dropdown .btn.btn-outline-primary {
  border: none;
  border-radius: 0;
  border-bottom: 1px dashed transparent;
}
.map-filter-panel .dropdown .btn.btn-outline-primary.show {
  background-color: transparent !important;
  color: #363636 !important;
}
.map-filter-panel .dropdown .btn.btn-outline-primary:hover {
  background-color: transparent !important;
  color: #363636 !important;
}
.map-filter-panel .dropdown .btn.btn-outline-primary:focus {
  box-shadow: none;
  background-color: transparent;
  color: #363636 !important;
}
.map-filter-panel .dropdown .btn.btn-outline-primary:focus-visible {
  box-shadow: none;
  background-color: transparent;
  color: #363636 !important;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.5);
}
.map-filter-panel .dropdown .btn.btn-outline-primary:active {
  background-color: transparent !important;
  color: #363636 !important;
}
.map-filter-panel .dropdown .dropdown-toggle:focus {
  outline: none;
}
.map-filter-panel .dropdown .dropdown-item:hover, .map-filter-panel .dropdown .dropdown-item:active, .map-filter-panel .dropdown .dropdown-item.active {
  background: #f6f6f6;
  color: #535353;
}
.map-filter-panel .dropdown.hs-attendance-area-dropdown {
  display: inline-block;
  width: auto;
  margin: 0 auto;
}
@media screen and (min-width: 992px) {
  .map-filter-panel .dropdown.hs-attendance-area-dropdown {
    width: 335px;
    padding-left: 75px;
    margin: unset;
  }
}
.map-filter-panel .dropdown.hs-attendance-area-dropdown .btn.btn-outline-primary {
  border-radius: 6px;
}
.map-filter-panel .dropdown.hs-attendance-area-dropdown .dropdown-label {
  padding-right: 14px;
  padding-top: 7px;
}
.map-filter-panel .dropdown.hs-attendance-area-dropdown .dropdown-toggle {
  position: relative;
  padding-left: 5px !important;
  padding-right: 15px !important;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 260px;
  border: 1px solid #cdcdcd;
}
.map-filter-panel .dropdown.hs-attendance-area-dropdown .dropdown-toggle::after {
  position: absolute;
  right: 10px;
  top: 16px;
}
.map-filter-panel .dropdown.hs-attendance-area-dropdown .dropdown-menu {
  max-height: 200px;
  overflow-y: auto;
  overflow-x: hidden;
  width: 300px;
}
.map-filter-panel .dropdown.hs-attendance-area-dropdown .dropdown-item {
  white-space: normal;
  word-break: break-word;
}
.map-filter-panel .dropdown.main-filter-dropdown {
  width: 70%;
}
@media screen and (min-width: 768px) {
  .map-filter-panel .dropdown.main-filter-dropdown {
    width: auto;
  }
}
.map-filter-panel .dropdown.main-filter-dropdown .btn.btn-outline-primary {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media only screen and (max-width: 767px) and (orientation: portrait) {
  .map-filter-panel .dropdown-toggle::after {
    display: none;
  }
}

@media only screen and (max-width: 767px) and (orientation: portrait) {
  .filter-section__wrapper {
    max-width: 70%;
  }
  .filter-section__wrapper::after {
    display: inline-block;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.35em solid;
    border-right: 0.35em solid transparent;
    border-bottom: 0;
    border-left: 0.35em solid transparent;
  }
}

/*# sourceMappingURL=style.css.map */
