.caption-overlay {
    position: absolute;
    padding: 0.5em 0.5em 0.5em 1em;
    background: rgba(255,255,255,0.66);
    z-index: 99999;
    margin: 1em 0 0 0em;
    border-radius: 0px 6px 6px 0px;
    color: #000;
    font-size: 12px;
}



/* ===== AUTOCOMPLETE STYLES ===== */

body div.autocomplete {
  line-height: 140%;
  padding: 0.25em;
  background: #FFF;
  border: 1px solid #666;
  text-align: left;
  width:100% !important;
}
  div.autocomplete>div {
    padding: 0.2em 0;
    width:100% !important;
  }
  div.autocomplete>div.selected {
    color: #03447A;
    background: #DFDFDF;
  }

  div.autocomplete-w1 div.autocomplete {
    overflow-y: auto;
    height: 350px;
  }

/* ===== Plant Search Page ===== */
div.autocomplete {
	background-color: #cecece;
}
	div.autocomplete>div {
		font-size: 90%;
		color: #333;
		padding: 0.15em 0.3em;
	}
	div.autocomplete>div:hover,
	div.autocomplete>div:focus,
	div.autocomplete>div.selected {
		color: #ffffff;
		background-color: #0d1f67;
	}





.sidebarM {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  background-color: #f7f7f7;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}

.sidebarM a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.sidebarM a:hover {
  color: #818181;
}

.sidebarM .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 14px;
}

.openbtn {
  font-size: 20px;
  cursor: pointer;
  background-color: #111;
  color: white;
  padding: 10px 15px;
  border: none;
}

.openbtn:hover {
  background-color: #444;
}

#main {
  transition: margin-left .5s;
  padding: 16px;
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
/*@media screen and (max-height: 450px) {
  .sidebar {padding-top: 15px;}
  .sidebar a {font-size: 18px;}
  .filterButton {}
}

@media screen and (min-height: 451px) {
  .sidebar {display:none;}
   .filterButton {display:none;}
}*/

@media screen and (max-width: 950px) {
  .sidebarM {padding-top: 15px;}
  .sidebarM a {font-size: 18px;}
  .filterButton {}
}

@media screen and (min-width: 951px) {
  .sidebarM {display:none;}
   .filterButton {display:none;}
}


/* Plant filter accordion (sidebar + mobile flyout) */
.plant-filter-group {
  margin-top: 0.85rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid #e9e9e9;
}
.plant-filter-summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  list-style: none;
  padding: 0.4rem 0;
  font-weight: 600;
}
.plant-filter-summary::-webkit-details-marker,
.plant-filter-summary::marker {
  display: none;
  content: "";
}
.plant-filter-summary-text {
  flex: 1 1 auto;
}
.plant-filter-chevron {
  margin-left: auto;
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}
.plant-filter-group[open] > .plant-filter-summary .plant-filter-chevron {
  transform: rotate(180deg);
}
.plant-filter-active-dot {
  display: none;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: currentColor;
  flex: 0 0 auto;
}
.plant-filter-group.has-active .plant-filter-active-dot {
  display: inline-block;
}
.plant-filter-group-body {
  padding: 0.15rem 0 0.4rem;
}
.plant-filter-summary:focus {
  outline: none;
}
.plant-filter-summary:focus-visible {
  outline: 2px solid #0d1f67;
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .plant-filter-chevron {
    transition: none;
  }
}
.plant-filter-group .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
