/***********custom css**********/ :root {
  --dark: #4A5568;
  --community-health-clinic: #3498db;
  --critical-access: #2874a6;
  --emergency-room: #1e8449;
  --hospital: #2c3e50;
  --long-term-care: #16a085;
  --preventive-care-center: #27ae60;
  --public-health-facility: #2980b9;
  --rural-hospital: #45b0a5;
  --specialty-clinic: #3aa8c1;
  --surgical-center: #5dade2;
  --trauma-center: #e74c3c;
  --urgent-care-center: #f39c12;
  --other: #95a5a6;
  --default: #34495e;
}
/******************************** FONTS ********************************/
body, p {}
.h1, h1 {
  font-size: 2rem;
}
.shadow {
  text-shadow: 2px 4px 3px rgba(0, 0, 0, 0.3);
}
.fs-16 {
  font-size: 16px;
}
.fs-18 {
  font-size: 18px;
}
.fs-20 {
  font-size: 20px;
}
.fs-22 {
  font-size: 22px;
}
.ls-1px {
  letter-spacing: 1px;
}
.ls-2px {
  letter-spacing: 2px;
}
/******************************** COLORS ********************************/
.white-bg {
  background-color: white;
}
.white-text, a.white-text {
  color: white;
}
/******************************** PADDING ********************************/
.tb-pad-150 {
  padding-top: 150px;
  padding-bottom: 150px;
}
.tb-pad-100 {
  padding-top: 100px;
  padding-bottom: 100px;
}
.tb-pad-75 {
  padding-top: 75px;
  padding-bottom: 75px;
}
.tb-pad-60 {
  padding-top: 60px;
  padding-bottom: 60px;
}
.tb-pad-50 {
  padding-top: 50px;
  padding-bottom: 50px;
}
.tb-pad-35 {
  padding-top: 35px;
  padding-bottom: 35px;
}
.tb-pad-25 {
  padding-top: 25px;
  padding-bottom: 25px;
}
.tb-pad-15 {
  padding-top: 15px;
  padding-bottom: 15px;
}
.tb-pad-10 {
  padding-top: 10px;
  padding-bottom: 10px;
}
.top-pad-150 {
  padding-top: 150px;
}
.top-pad-100 {
  padding-top: 100px;
}
.top-pad-75 {
  padding-top: 75px;
}
.top-pad-60 {
  padding-top: 60px;
}
.top-pad-50 {
  padding-top: 50px;
}
.top-pad-25 {
  padding-top: 25px;
}
.top-pad-15 {
  padding-top: 15px;
}
.top-pad-10 {
  padding-top: 10px;
}
.bot-pad-100 {
  padding-bottom: 100px;
}
.bot-pad-75 {
  padding-bottom: 75px;
}
.bot-pad-60 {
  padding-bottom: 60px;
}
.bot-pad-50 {
  padding-bottom: 50px;
}
.bot-pad-25 {
  padding-bottom: 25px;
}
.bot-pad-15 {
  padding-bottom: 15px;
}
.bot-pad-10 {
  padding-bottom: 10px;
}
/******************************** MISC ********************************/
a, a:hover {
  transition: all .5s ease-in-out;
  -webkit-transition: all .5s ease-in-out;
  -moz-transition: all .5s ease-in-out;
  -o-transition: all .5s ease-in-out;
}
.button, .button:hover {
  transition: all .5s ease-in-out;
  -webkit-transition: all .5s ease-in-out;
  -moz-transition: all .5s ease-in-out;
  -o-transition: all .5s ease-in-out;
}
.wpcf7-submit {
  transition: all .5s ease-in-out;
  -webkit-transition: all .5s ease-in-out;
  -moz-transition: all .5s ease-in-out;
  -o-transition: all .5s ease-in-out;
}
.wpcf7-submit:hover {
  transition: all .5s ease-in-out;
  -webkit-transition: all .5s ease-in-out;
  -moz-transition: all .5s ease-in-out;
  -o-transition: all .5s ease-in-out;
}
.mar-0 {
  margin: 0;
}
.all-caps {
  text-transform: uppercase;
}
a.view-more:hover, a.view-more:focus {}
a.view-more img {
  margin-bottom: 1px;
  transform: translateX(2px);
  transition: all .5s ease-in-out;
  -webkit-transition: all .5s ease-in-out;
  -moz-transition: all .5s ease-in-out;
  -o-transition: all .5s ease-in-out;
}
a.view-more:hover img {
  transform: translateX(10px);
  transition: all .5s ease-in-out;
  -webkit-transition: all .5s ease-in-out;
  -moz-transition: all .5s ease-in-out;
  -o-transition: all .5s ease-in-out;
}
a.underline-link {
  text-decoration: underline;
}
/******************************** NAVIGATION ********************************/
.sticky {
  z-index: 9999;
}
.sticky.is-stuck {
  z-index: 9999;
}
#logo-left-nav-right {
  background: #e1e6ea;
}
#main-nav.menu a {
  color: var(--dark);
  font-weight: 500;
  font-size: 18px;
}
#main-nav.menu .active > a, #main-nav.menu .is-active > a {
  background: transparent;
  color: #27ae60;
}
/******************************** OFF CANVAS ********************************/
#logo-left-nav-right {
  padding: 2% 1%;
}
#logo-left-nav-right a[aria-expanded="true"] i {
  transform: rotate(90deg);
  color: var(--green);
  transition: all .5s ease-in-out;
  -webkit-transition: all .5s ease-in-out;
  -moz-transition: all .5s ease-in-out;
  -o-transition: all .5s ease-in-out;
}
.position-top {
  height: 50px;
  -webkit-transform: translateY(-50px);
  -ms-transform: translateY(-50px);
  transform: translateY(-50px);
}
.off-canvas-content.is-open-top.has-transition-push {
  transform: translateY(50px);
}
.off-canvas {
  background: #34495e;
}
.off-canvas .drilldown a {
  background: transparent;
}
#offcanvas-nav a {
  color: white;
  font-weight: 500;
  font-size: 18px;
  text-align: center;
  padding: 1rem 1rem;
  border-bottom: 1px solid white;
  height: 51px;
}
#offcanvas-nav a:hover {
  background: #45b0a5;
}
/******************************** FOOTER ********************************/
footer.footer {
  background: #2c3e50;
}
footer #footer2 {
  color: white;
}
#footer3 h4.widgettitle {
  font-size: 22px;
  color: white;
}
#footer3 .hvr-sweep-to-right {}
#footer3 .hvr-sweep-to-right:before {
  background: #2874a6;
  border-radius: 5px;
}
#copyright-container {
  background: #34495e;
}
#copyright-container p {
  color: white;
  font-size: 12px;
}
/******************************** HOMEPAGE ********************************/
.home-page-header {
  background-color: #2874a6;
  margin-bottom: 0;
}
#aboutModal {
  background-color: #2874a6;
  padding: 55px 60px
}
#aboutModal .close-button {
  color: white;
}
#aboutModal p {
  font-size: 20px;
  margin-bottom: 0;
}
#aboutModal.reveal {
  border-radius: 5px;
  border: none;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
.button.expanded.about-btn {
  background: #2874a6;
  font-size: 15px;
  letter-spacing: 1px;
  margin-bottom: 0;
}
/******************************** PAGINATION ********************************/
.pagination a {
  border-radius: 90px;
  background: #EBEBEB;
  /*font-family: 'montserrat';*/
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  color: black;
  padding: 0.22rem 0.725rem;
  display: block
}
.pagination .current {
  border-radius: 90px;
  background: black;
  padding: 0.22rem 0.725rem;
  display: block;
  font-size: 14px;
}
.pagination-info {
  margin-bottom: 20px;
  padding: 10px;
  background-color: #f5f5f5;
  border-radius: 4px;
}
.pagination-info p {
  margin: 0;
  font-size: 14px;
  color: #666;
}
.table-pagination {
  margin-top: 30px;
  text-align: center;
  padding: 20px 0;
}
.table-pagination .page-numbers {
  display: inline-block;
  padding: 8px 12px;
  margin: 0 2px;
  text-decoration: none;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #fff;
  color: #333;
  transition: all 0.3s ease;
}
.table-pagination .page-numbers:hover {
  background-color: #f5f5f5;
  border-color: #999;
}
.table-pagination .page-numbers.current {
  background-color: #007cba;
  border-color: #007cba;
  color: #fff;
}
.table-pagination .page-numbers.dots {
  border: none;
  background: none;
  color: #999;
}
.table-pagination .page-numbers.prev, .table-pagination .page-numbers.next {
  font-weight: bold;
}
/******************************** MARKER / MAP  ********************************/
/********new map stuff*****/
.filter-counter p {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--dark);
  font-weight: 500;
}
#map-filters {
  position: sticky;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 5px;
  align-self: start;
  height: fit-content;
  max-height: 90vh;
  min-height: 85vh;
  overflow-y: auto;
}
#map-filters h3 {
  font-size: 12px;
  text-transform: uppercase;
}
#map-filters h4.facility-list-title {
  padding: .55rem 0.2rem;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: bold;
  color: #4A5568;
  margin-bottom: 0;
}
#map-filters .accordion-content {
  padding: .75rem;
  border: none;
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
}
#map-filters .facility-list {
  border: none;
  margin: 0;
  list-style-type: none;
  padding: 1rem;
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
}
#map-filters .accordion-title:focus, #map-filters .accordion-title:hover {
  background: white;
}
#map-filters .accordion-content [type="checkbox"] {
  margin: 0 0 0rem;
}
#map-filters .facility-list [type="checkbox"] {
  margin: 0 0 0rem;
}
#map-filters .accordion-content label {
  font-size: 13px;
  text-transform: capitalize;
}
#map-filters .facility-list label {
  font-size: 13px;
  text-transform: capitalize;
}
/* Custom scrollbar for #map-filters (WebKit browsers) */
#map-filters::-webkit-scrollbar {
  width: 8px; /* Slim but clickable */
}
#map-filters::-webkit-scrollbar-track {
  background: #4A5568; /* Light gray track */
  border-radius: 4px;
}
#map-filters::-webkit-scrollbar-thumb {
  background: #4A5568; /* Medium gray thumb */
  border-radius: 4px;
  border: 2px solid #f8f9fa; /* Creates padding illusion */
}
#map-filters::-webkit-scrollbar-thumb:hover {
  background: #4A5568; /* Darker on hover */
}
/* Firefox support */
#map-filters {
  scrollbar-width: thin; /* 'auto' or 'thin' */
  scrollbar-color: #d1d5db #f8f9fa; /* thumb / track */
}
.filter-all-btns {
  display: flex;
  flex-direction: row;
  gap: 1px;
  width: 100%;
}
#clear-filters.button {
  background: #4A5568;
  border: none;
  flex: 1;
  font-size: 12px;
  letter-spacing: 1px;
}
#select-all-filters.button {
  background: #2874a6;
  border: none;
  flex: 1;
  letter-spacing: 1px;
  font-size: 12px;
}
#map-filters .accordion-content .filter-checkbox:checked {
  background-color: #2980b9;
}
#map-filters .accordion-content .filter-checkbox {
  accent-color: #2980b9;
}
#map-filters .facility-list .filter-checkbox:checked {
  background-color: #2980b9;
}
#map-filters .facility-list .filter-checkbox {
  accent-color: #2980b9;
}
#map-filters .accordion-title {
  padding: .55rem 0.2rem;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: bold;
  color: #4A5568;
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 1px solid rgba(50, 50, 93, 0.05);
}
#clear-search.button {
  background: #4A5568;
  font-size: 12px;
  letter-spacing: 1px;
  border: none;
}
#map-search {
  margin-bottom: 0rem;
  border-radius: 0;
  box-shadow: none;
}
#map-search::placeholder {
  color: gray;
  font-size: 12px;
}
.custom-marker {
  pointer-events: auto !important;
}
#map {
  width: 100%;
  max-height: 110vh;
  min-height: 100vh;
}
/* Marker Icon Styles */
.marker-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}
/* Marker Popup Styles */
.marker-popup {
  padding: 15px;
  min-width: 200px;
  max-width: 300px;
}
.popup-title {
  margin: 0 0 10px 0;
  font-size: 16px;
  line-height: 1.3;
  color: #333;
}
.popup-link {
  text-decoration: none;
  color: var(--marker-color, #333) !important;
}
.popup-link:hover {
  text-decoration: underline;
  color: var(--marker-color, #007cba) !important;
  opacity: 0.8;
}
.popup-content {
  margin: 0 0 10px 0;
  font-size: 14px;
  line-height: 1.4;
  color: #666;
}
.popup-facility-type {
  margin: 5px 0;
  font-size: 12px;
  color: #999;
  text-transform: capitalize;
}
.popup-city {
  margin: 5px 0;
  font-size: 12px;
  color: #999;
  text-transform: capitalize;
}
.popup-state {
  margin: 5px 0;
  font-size: 12px;
  color: #999;
  text-transform: capitalize;
}
.popup-closure {
  margin: 5px 0;
  font-size: 12px;
  color: #999;
  text-transform: capitalize;
}
/* Map Legend Styles */
.map-legend {
  background: white;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  font-size: 12px;
  line-height: 1.4;
}
.legend-title {
  margin: 0 0 8px 0;
  font-size: 11px;
  color: var(--dark);
  font-weight: 700;
}
.legend-item {
  display: flex;
  align-items: center;
  margin-bottom: 4px;
}
.legend-color {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 8px;
  border: 1px solid #ccc;
}
.legend-label {
  text-transform: capitalize;
  color: #333;
}
/* Custom Popup Overrides */
.custom-popup .leaflet-popup-content-wrapper {
  border-radius: 8px;
}
.custom-popup .leaflet-popup-content {
  margin: 0;
  padding: 0;
}
.custom-popup .leaflet-popup-tip {
  background: white;
}
h1.single-title {
  font-weight: 700;
}
h2.single-type {
  font-weight: 700;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
}
h2.single-type i {
  font-size: .8rem;
}
h2 .single-loc {
  font-size: 1.25rem;
}
p.single-date {
  font-size: 16px;
  margin-bottom: 0;
}
p.single-sub {
  font-size: 16px;
  margin-bottom: 0;
}
p.single-sub-date {
  font-size: 16px;
}
hr.location-divider {
  border-bottom: 2px solid #2874a6;
}
/******************************** FORM  ********************************/
.standard-page-header {
  background: #2c3e50;
}
.acf-fields > .acf-field {
  border: none;
}
.acf-form-submit {
  padding: 16px;
}
.acf-fields > .acf-field input[type=text] {
  border-radius: 3px;
  height: 40px;
}
.acf-fields .categorychecklist-holder {
  border-radius: 3px;
}
#message {
  margin: 16px;
  border-radius: 5px;
  border: 1px solid #2874a6;
  text-align: center;
  padding: 15px;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
#message p {
  font-size: 16px;
  margin-bottom: 0;
}
.select2-container .select2-selection--single {
  height: 40px;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 40px !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 40px;
}
.acf-form .g-recaptcha {
  margin: 5px 16px;
}
/******************************** TABLE ********************************/
.sortable-table-container {
  overflow-x: auto;
  margin: 2rem auto;
  max-width: 100%;
}
#sortable-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}
#sortable-table th, #sortable-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #e0ebf2; /* Your light color */
}
#sortable-table th {
  background: #34495e; /* Your dark color */
  color: white;
  cursor: pointer;
  user-select: none;
}
#sortable-table th.asc::after {
  content: ' ↑';
}
#sortable-table th.desc::after {
  content: ' ↓';
}
#sortable-table tr:hover {
  background: #f5f8fa;
}
.table-filters {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}
.filter-group {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
}
.filter-label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
  color: #2c3e50;
}
.scrollable-checkbox-container {
  border: 1px solid #d4e3ed;
  border-radius: 4px;
  background: white;
  max-height: 200px;
  overflow-y: auto;
  padding: 8px;
}
.scrollable-checkbox-container [type=checkbox] {
  margin: 0 .5rem 0rem;
}
.checkbox-option {
  display: flex;
  align-items: center;
  padding: 1px 1px;
  margin: 1px 0;
  border-radius: 3px;
  transition: background 0.2s;
}
.checkbox-option:hover {
  background: #f0f4f7;
}
.checkbox-option input {
  margin-right: 8px;
}
.checkbox-label {
  flex: 1;
}
.term-count {
  color: #7f8c8d;
  font-size: 0.85em;
  margin-left: 5px;
}
#reset-filters {
  align-self: flex-end;
  padding: 8px 16px;
  background: #34495e;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
#reset-filters:hover {
  background: #2c3e50;
}
/* Scrollbar styling */
.scrollable-checkbox-container::-webkit-scrollbar {
  width: 8px;
}
.scrollable-checkbox-container::-webkit-scrollbar-track {
  background: #f1f1f1;
}
.scrollable-checkbox-container::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}
th[data-sort] {
  cursor: pointer;
  position: relative;
  padding-right: 20px !important;
}
th[data-sort]:hover {
  background: #f0f4f7;
}
th[data-sort].asc::after, th[data-sort].desc::after {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
}
th[data-sort].asc::after {
  content: '↑';
}
th[data-sort].desc::after {
  content: '↓';
}
/******************************** MAP CLUSTERS ********************************/
.marker-cluster-small {
  background-color: rgba(52, 152, 219, 0.3);
  border: 2px solid rgba(52, 152, 219, 0.6);
}
.marker-cluster-small div {
  background-color: rgba(52, 152, 219, 0.8);
  color: white;
  font-weight: bold;
}
.marker-cluster-medium {
  background-color: rgba(22, 160, 133, 0.3);
  border: 2px solid rgba(22, 160, 133, 0.6);
}
.marker-cluster-medium div {
  background-color: rgba(22, 160, 133, 0.8);
  color: white;
  font-weight: bold;
}
.marker-cluster-large {
  background-color: rgba(44, 62, 80, 0.3);
  border: 2px solid rgba(44, 62, 80, 0.6);
}
.marker-cluster-large div {
  background-color: rgba(44, 62, 80, 0.8);
  color: white;
  font-weight: bold;
}
.marker-cluster {
  background-clip: padding-box;
  border-radius: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
}
.marker-cluster:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.marker-cluster div {
  width: 34px;
  height: 34px;
  margin-left: 3px;
  margin-top: 3px;
  text-align: center;
  border-radius: 17px;
  font-size: 13px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}
.marker-cluster span {
  line-height: 30px;
}
/********************************  ********************************/
.mobile-filter-toggle {
  display: none;
  background: #007cba;
  color: white;
  border: none;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  letter-spacing: 1px;
  width: 100%;
  transition: background-color 0.3s ease;
  margin-bottom: 0;
}
.mobile-filter-toggle:hover {
  background: #005a87;
}
.toggle-icon {
  margin-left: 8px;
  transition: transform 0.3s ease;
}
.mobile-filter-toggle.active .toggle-icon {
  transform: rotate(180deg);
}
@media (max-width: 768px) {
  .mobile-filter-toggle {
    display: block;
  }
  #map-filters {
    display: none;
  }
  #map-filters.show {
    display: block;
  }
}
/********************************  ********************************/
/* Large only */
@media screen and (min-width: 64em) and (max-width: 74.9375em) {}
/* Large and up */
@media screen and (min-width: 64em) {}
/* Medium and up */
@media screen and (min-width: 40em) {
  #logo-left-nav-right .custom-logo {
    max-width: 360px;
  }
  #logo-left-nav-right {
    padding: 2px;
  }
}
/* Medium only */
@media screen and (min-width: 40em) and (max-width: 63.9375em) {
  /***************** END OF MEDIUM ONLY ************/
}
/* Tablet landscape only */
@media (min-width: 768px) and (max-width: 1112px) and (orientation: landscape) {}
/* Small only */
@media screen and (max-width: 39.9375em) {
  .table-pagination .page-numbers {
    padding: 6px 8px;
    font-size: 12px;
  }
  .pagination-info {
    text-align: center;
  }
  #sortable-table td::before {
    content: attr(data-title);
    display: inline-block;
    font-weight: bold;
    margin-right: 10px;
  }
  #aboutModal.reveal {
    z-index: 999999;
  }
  /************** END OF SMALL ONLY ***********/
}