:root {

  /* pico css overrides */
  --form-element-spacing-vertical: 0.5rem !important;
  --spacing: 0.5rem !important;
  --font-size: 16px !important;

  --brand-color-button-fill: #30A5BFFF;
  --brand-color-button-text: #FFFFFFFF;
  --brand-color-button-fill-opaque: #30A5BFFF;
  --project-priority-color-fill-opaque: #FADD11FF;
  --brand-color-label-fill: #30A5BFFF;
  --brand-color-label-text: white;
  --brand-image-pos-top: 20px;
  --brand-image-pos-left: 0px;
  --brand-image-pos-width: 250px;

  --project-color-fill: #CCCCCC4D;
  --project-color-stroke: #FFFFFF60;
  --project-priority-color-fill: #FADD11FF;
  --project-priority-color-stroke: #FADD11FF;
  --priority-pin-scale: 1;

  /* service providers */
  --sp-location-pin-fill: #819AE2FF;
  --sp-location-pin-scale: 1;
  --sp-hq-pin-fill: #3C8BC7FF;
  --sp-hq-pin-scale: 1;

  --news-color: #3C8BC7FF;
  --news-priority-color: #FADD11FF;
}

body, html {
  margin: 0;
  height: 100%
}

#page-wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-wrap: nowrap;
}

#mapWrapper {
  width: 100%;
  height: 100%;
  min-width: unset !important;
  transition: width 300ms ease;
  position: relative;
  flex-shrink: 0;
}

#map {
  width: 100%;
  height: 100%;
}



/*  LOADER */
.custom-map-loader {
  display: none;
  border: 3px solid #ffffff;
  border-top: 3px solid var(--secondary);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
}

.loading-overlay {
  display: none;
  z-index: 999;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  align-items: center;
  justify-content: center;
  width: inherit;
  min-width: 100%;
  height: inherit;
  min-height: 100%;
  padding: var(--spacing);
  border: 0;
  -webkit-backdrop-filter: blur(0.25rem);
  backdrop-filter: blur(0.25rem);
  background-color: rgba(213, 220, 226, 0.7);
  color: var(--color);
}

.loading-overlay.show {
  display: flex;
}

.loading-overlay .custom-map-loader {
  border: 6px solid #ffffff;
  border-top: 6px solid hsl(205, 15%, 41%);
  width: 60px;
  height: 60px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.logos-wrapper {
  position: fixed;
  right: 5px;
  bottom: 15px;
  z-index: 1001;
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

#searchbar-wrapper {
  width:500px; 
  top: 20px; 
  right: 20px;
  position: absolute;
  font-family: Nunito Sans, sans-serif;
  z-index: 10000;
}



#searchbar-wrapper input {
  background-color: white;
  margin-bottom: 0 !important;
  background-image: none !important;
  outline: none !important;
  box-shadow: 0 3px 8px rgba(0,0,0,0.4), 0 -1px 0px rgba(0,0,0,0.05);
  border: 0;
}

#searchbar-wrapper .fa {
  display: flex; 
  align-items: center; 
  justify-content: center; 
  height: 42px;
  position: absolute;
  z-index: 2;
  width: 2.375rem;
  line-height: 2.375rem;
  text-align: center;
  pointer-events: none;
  color: var(--brand-color-button-fill) !important;
  font-weight: 900;
  padding-left: 10px;
}
#searchbar-wrapper .btn-icon {
  position: absolute;
  z-index: 2;
  line-height: 2.375rem;
  text-align: center;
  background-color: var(--brand-color-button-fill) !important;
  text-decoration: none;
  color: var(--brand-color-button-text) !important;
  padding: 0px;
  border-radius: 0 1000px 1000px 0;
  border: 1px solid var(--brand-color-button-fill);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.2s ease;
  cursor: pointer;
  right: 0px;
  font-size: 12px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0px;
  width: 50px;
  height: 42px;
  top:0
}

#searchbar-wrapper .btn-icon:hover {
  opacity: 0.8;
}

#map-search-barautocomplete-list {
  background-color: white;
  border-radius: 10px;
  margin-top: 4px;
  width: calc(100% - 12px);
  margin-left: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2), 0 -1px 0px rgba(0,0,0,0.02);
  max-height: 400px;
  overflow-y: auto;
}

#map-search-barautocomplete-list::-webkit-scrollbar {
  width: 10px;
  height: 6px;
  
}

#map-search-barautocomplete-list::-webkit-scrollbar-track {
  background: transparent;
}

#map-search-barautocomplete-list::-webkit-scrollbar-thumb {
  background: #b9b9b9;
  border-radius: 8px;
}

#map-search-barautocomplete-list::-webkit-scrollbar-thumb:hover {
  background: #9e9e9e;
}

#map-search-barautocomplete-list > div {
  padding: 4px 10px;
  border-bottom: 1px solid lightgray;
}

#map-search-barautocomplete-list > div:last-of-type {
  border-bottom: 0;
}

.autocomplete-active {
  background-color: var(--brand-color-button-fill-opaque) !important;
}

.leaflet-control-zoom.leaflet-bar.leaflet-control {
  margin: 0 10px 110px 0 !important;
}

.leaflet-div-icon {
  border: 0;
  background: none;
}

.leaflet-overlay-pane {
  z-index: 503 !important;
}

.priority-project-icon-pin {
  background: var(--project-priority-color-fill-opaque);
  transform: scale(var(--priority-pin-scale));
}


.tooltiptext:after { 
  display: none !important;
}




img.leaflet-tile {
  mix-blend-mode: plus-lighter;
}

svg.leaflet-tile {
  mix-blend-mode: plus-lighter;
}

path.projects-tile {
  transition: fill 100ms, stroke 100ms, stroke-width 100ms;
}

.autocomplete-searchbar-widget-input {
  border-radius: 1000px !important;
  padding-left: 2.375rem !important;
  font-size: 14px;
}

.autocomplete-searchbar-widget-autocomplete-wrapper {
  border-radius: 10px;
  margin-top: 4px;
  width: calc(100% - 12px) !important;
  margin-left: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2), 0 -1px 0px rgba(0,0,0,0.02) !important;
  max-height: 400px !important;
}

.slimscrollbar::-webkit-scrollbar {
  width: 8px !important;
  height: 6px !important;
  
}

.slimscrollbar::-webkit-scrollbar-track {
  background: transparent !important;
}

.slimscrollbar::-webkit-scrollbar-thumb {
  background: #b9b9b9 !important;
  border-radius: 8px !important;
}

.slimscrollbar::-webkit-scrollbar-thumb:hover {
  background: #9e9e9e !important;
}


.leaflet-tooltip.project-tooltip {
  background-color: var(--brand-color-label-fill);
  border: 1px solid var(--brand-color-label-fill);
  color: var(--brand-color-label-text);
  text-transform: uppercase;
  font-weight: bold;
  border-radius: 3px;
}

.leaflet-tooltip.project-tooltip::before {
  border-top-color: var(--brand-color-label-fill);
}

.leaflet-tooltip.project-tooltip-non-priority {
  text-transform: uppercase;
  font-weight: bold;
  border-radius: 3px;
}

/* .project-pin-icon {
  transform: scale(2)
} */

.project-pin-icon-pin {
  stroke-width: 0.2px;
  stroke: black;
  cursor: pointer;
}

.project-pin-icon-shadow {
  opacity: 0.2;
}



#branding-logo-wrapper {
  display: none;
  position: absolute;
  z-index: 1001;
  left: var(--brand-image-pos-left);
  top: var(--brand-image-pos-top);
  width: var(--brand-image-pos-width);
}


#branding-logo-wrapper img {
  width: 100%;
}

.news-marker-tooltip div[data-qmod-tool="miniquotes"] {
  margin-top: -60px !important;
}





#basemap-selector-widget {
  display: block;
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 997;
  border: 2px solid white;
  border-radius: 8px;
  overflow: hidden;
  width: 80px;
  height: 80px;
  box-shadow: 0 1px 2px rgba(60,64,67,0.3), 0 1px 3px 1px rgba(60,64,67,0.15);
}


#basemap-selector-widget[data-open="true"] {
  width: min-content;
  max-width: calc(100% - 20px);
  background-color: white;
  max-height: 300px;
  height: fit-content
}

#basemap-selector-widget[data-open="true"] #basemap-picker-wrapper {
  width: min-content;
  max-height: 300px;
  display: grid;
  overflow-y: auto;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 80px;
  gap: 4px;
}

#basemap-selector-widget[data-open="true"] .basemap-card {
  width: 80px;
  margin-right: 2px;
  margin-left: 2px;
  overflow: hidden;
  display: block !important;
  border-radius: 8px;
  border: 1px solid #1d1d1d;
  outline: 0;
}

#basemap-selector-widget[data-open="true"] .basemap-card {
  order: unset !important;
  margin-right: 0;
  margin-left: 0;
}

#basemap-selector-widget[data-open="true"] .basemap-card.active {
  border: 3px solid var(--brand-color-button-fill) !important;
}

#basemap-selector-widget[data-open="true"] .basemap-map-wrapper {
  transition: all 150ms ease-in-out;
}

#basemap-selector-widget[data-open="true"] .basemap-card:hover .basemap-map-wrapper {
  transform: scale(1.1)
}


#basemap-selector-widget #basemap-picker-wrapper {
  width: 80px;
  height: 100%;
}

#basemap-selector-widget .basemap-card::before {
  content: '';
  background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0.8));
  position: absolute;
  z-index: 1000;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

#basemap-selector-widget .basemap-card {
  width: 80px;
  height: 80px;
  order: 2;
  display: none;
  flex-shrink: 0;
  flex-grow: 0;
  position: relative;
  cursor: pointer;
  outline: 1px solid;
}

#basemap-selector-widget .basemap-card.active {
  order: 1;
  display: block;
}

#basemap-selector-widget .basemap-card-name {
  color: white;
  z-index: 1001;
  text-align: center;
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  padding: 2px;
  font-size: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 4px;
}

#basemap-selector-widget .basemap-map-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

#basemap-selector-widget .basemap-map {
  width: 100%;
  height: 100%;
}

.leaflet-control-attribution {
  display: none !important;
}



#basemap-picker-wrapper::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

#basemap-picker-wrapper::-webkit-scrollbar-track {
  background: #f1f1f1;
}

#basemap-picker-wrapper::-webkit-scrollbar-thumb {
  background: #b9b9b9;
}

#basemap-picker-wrapper::-webkit-scrollbar-thumb:hover {
  background: #9e9e9e;
}


#menu {
  display: none;
  z-index: 998;
  height: 100%;
  width: 300px;
  background-color: white;
  border: 1px solid #ccc;
  transition: width 300ms ease-in-out;
  flex-shrink: 0;
}

#menu .toggler {
  cursor: pointer;
  position: absolute;
  top: 100px;
  left: calc(100% + 1px);
  background-color: var(--brand-color-button-fill);
  color: white;
  padding: 10px 15px;
}

#menu.closed-menu {
  width: 0;
  border: 0;
}

#menu.closed-menu .toggler {
  left: 100%;
}

#menu .menu-title {
  padding: 10px;
  font-weight: bold;
  text-align: center;
  padding-bottom: 0;
  visibility: visible;
}

#menu .content {
  width: 100%; 
  height: calc(100% - 34px); 
  overflow-y: auto; 
  display: flex; 
  justify-content: space-between; 
  flex-direction: column; 
  position: relative;
  visibility: visible;
}

#menu[data-open="false"] .menu-title, #menu[data-open="false"] .content {
  visibility: hidden;
}

#menu details:first-of-type {
  margin-top: 10px;
}

#menu summary {
  display: flex;
  justify-content: space-between;
  padding: 14px 10px;
}

#menu summary label {
  position: absolute;
  right: 30px;
}

#menu [type=checkbox][role=switch]:checked {
  background-color: var(--brand-color-button-fill) !important;
  border-color: var(--brand-color-button-fill) !important;
}

#menu .toggler i {
  transition: transform 150ms ease;
  transform: rotate(180deg);
}

#menu[data-open="true"] .toggler i {
  transform: rotate(0deg);
}

.menu-legend-icon-wrapper {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 10px;
}

.menu-legend-icon-wrapper img {
  margin-right: 0 !important;
  width: 18px;
}

.menu-legend-icon-wrapper svg {
  width: 18px;
}

.menu-dropdown-content {
  padding: 10px;
  padding-top: 0;
}

.menu-dropdown-content .legend-item {
  font-size: 14px;
  margin-bottom: 4px;
  font-weight: 300;
  display: flex;
  align-items: center;
}

#legend-item-priority-news {
  display: none;
}


#legend-item-priority-project-pin {
  display: none;
}

#legend-news-icon path {
  fill: var(--news-color)
}

#legend-sp-icon {
  fill: var(--sp-hq-pin-fill)
}

#legend-priority-news-icon path {
  fill: var(--news-priority-color)
}

.legend-icon-project {
  height: 24px;
  width: 30px;
  margin-right: 10px;
}

#legend-icon-project {
  background-color: var(--project-color-fill);
  border: 1px solid var(--project-color-stroke);
}

#legend-icon-priority-project {
  background-color: var(--project-priority-color-fill);
  border: 1px solid var(--project-priority-color-stroke);
}






#wrapper-company-logos-carosol {
  display: none;
  margin-top: 30px; 
  margin-bottom: 10px;
  height: 100px;
  overflow: hidden;
  position: relative;
  scroll-behavior: smooth;
}

.company-logos-carousal-wrapper {
  display: flex;
  flex-wrap: nowrap;
}

.carousel-image-wrapper {
  width: 300px;
  flex-shrink: 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

#service-provider-details-popup {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.4);
  justify-content: center;
  align-items: center;
  display: none;
  z-index: 3001;
}

#service-provider-details-popup.open {
  display: flex;
}

#service-provider-details-popup-content {
  background-color: white;
  min-width: 400px;
  min-height: 300px;
  padding: 20px;
  max-width: calc(100% - 100px);
  max-height: calc(100% - 100px);
  overflow-y: auto;
}

@media (max-width: 600px) {
  #service-provider-details-popup-content {
    max-width: 100%;
    max-height: 100%;
    min-width: unset;
  }
}

#service-provider-details-popup-content::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

#service-provider-details-popup-content::-webkit-scrollbar-track {
  background: #f1f1f1;
}

#service-provider-details-popup-content::-webkit-scrollbar-thumb {
  background: #b9b9b9;
}

#service-provider-details-popup-content::-webkit-scrollbar-thumb:hover {
  background: #9e9e9e;
}

#service-provider-details-popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

#service-provider-details-popup-title {
  font-weight: bold;
}

#service-provider-details-popup-close-btn {
  font-family: helvetica;
  font-size: 20px;
  opacity: 0.8;
  cursor: pointer;
}

#service-provider-details-popup-close-btn:hover {
  opacity: 1;
}

.service-provider-location-pin {
  background: var(--sp-location-pin-fill);
  /* transform: scale(var(--sp-location-pin-scale)); */
}

.service-provider-location-pin, .service-provider-location-pin::after {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  position: relative;
}

.service-provider-location-pin:after {
  position: absolute;
  content: "";
  background: -moz-radial-gradient(center, ellipse cover, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.25) 25%, rgba(255,255,255,0) 100%);
  background: -webkit-radial-gradient(center, ellipse cover, rgba(255,255,255,0.5) 0%,rgba(255,255,255,0.25) 25%,rgba(255,255,255,0) 100%);
  background: -o-radial-gradient(center, ellipse cover, rgba(255,255,255,0.5) 0%,rgba(255,255,255,0.25) 25%,rgba(255,255,255,0) 100%);
  background: -ms-radial-gradient(center, ellipse cover, rgba(255,255,255,0.5) 0%,rgba(255,255,255,0.25) 25%,rgba(255,255,255,0) 100%);
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.5) 0%,rgba(255,255,255,0.25) 25%,rgba(255,255,255,0) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#80ffffff', endColorstr='#00ffffff',GradientType=1 );
}

.service-provider-location-pin:before {
  position: absolute;
  left: 3.5px;
  top: 9px;
  content: "";
  width: 2px;
  height: 10px;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
  z-index: -1;
  background: linear-gradient(90deg, silver 33%, black 50%, gray 100%);
  background: -moz-gradient(90deg, silver 33%, black 50%, gray 100%);
  background: -o-gradient(90deg, silver 33%, black 50%, gray 100%);
}

.service-provider-hq-pin path {
  fill: var(--sp-hq-pin-fill);
}

.sp-tooltip-content {
  white-space: pre !important;
  font-size: 12px !important;
  text-transform: none;
  line-height: 14px;
  font-weight: initial;
}

.sp-tooltip-content.loading {
  padding-bottom: 10px !important;
}

.sp-tooltip-content .simple-css-loader {
  top: unset !important;
  bottom: 0px;
}



#mobile-search-overlay {
  background-color: transparent;
  pointer-events: none;
}

#mobile-search-overlay-header, #mobile-search-overlay-footer {
  display: none;
}

#map-autocomplete-search {
  pointer-events: auto !important;
}

#searchbar-wrapper {
  width: 500px;
  overflow: visible;
  height: 42px;
  background-color: white;
  border-radius: 1000px;
}

#searchbar-search-icon {
  display: none;
}

#map-autocomplete-search, #searchbar-wrapper .btn-icon {
  display: block;
}

#filters-wrapper {
  top: 70px;
  right: 20px;
  position: absolute;
  z-index: 1002;
}

#legend-wrapper {
  top: 120px;
  right: 20px;
  position: absolute;
  z-index: 1002;
}

.floating-map-btn {
  border-radius: 100%;
  width: 42px;
  height: 42px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2), 0 -1px 0px rgba(0,0,0,0.02);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: white;
}


.floating-map-btn img {
  width: 18px;
}

.custom-map-control-wrapper.open {
  z-index: 9999 !important;
}

.custom-map-control-wrapper.open .floating-map-btn {
  display: none;
}

.custom-map-control-wrapper.open .custom-map-control-wrapper-content {
  display: block;
}



.custom-map-control-wrapper-content {
  display: none;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2), 0 -1px 0px rgba(0,0,0,0.02);
  padding: 10px;
  background-color: white;
  border-radius: 20px;
  min-width: 300px;
}

#legend-wrapper .custom-map-control-wrapper-content {
  min-width: 200px;
}

.custom-map-control-wrapper-header {
  margin-bottom: 8px;
}

.custom-map-control-wrapper-title {
  font-weight: 700;
  padding-right: 20px;
}

.custom-map-control-wrapper-header-close-btn {
  position: absolute;
  right: 10px;
  top: 8px;
  font-size: 18px;
  cursor: pointer;
}

.custom-map-control-wrapper-footer {
  display: flex;
  justify-content: space-between;
}

.filters-footer-btn {
  background-color: var(--brand-color-button-fill);
  color: var(--brand-color-button-text);
  padding: 4px 12px;
  border-radius: 1000px;
  cursor: pointer;
  border: 1px solid;
}

#filters-footer-reset-btn {
  background-color: white;
  color: #333;
}

#legend-body {
  max-height: calc(100vh - 400px);
  overflow-y: auto;
  padding-right: 4px;
  min-height: 25px;
}

.custom-map-control-wrapper-body .filters-item {
  margin-bottom: 10px;
}

.custom-map-control-wrapper-body label {
  font-size: 11px;
  text-transform: uppercase;
  margin-bottom: 0;
}

#filter-commodities-wrapper .input-icon,
#filter-stage-wrapper .input-icon {
  display: none;
}
#filter-commodities-wrapper input[type="search"],
#filter-stage-wrapper input input[type="search"],
#filter-location-wrapper input input[type="search"] {
  background-position: center left 0.5rem;
  font-size: 14px;
}
#filter-commodities-wrapper summary,
#filter-stage-wrapper summary, 
#filter-location-wrapper input {
  border-radius: 1000px;
  height: 36px;
  border-color: lightgray;
}
#filter-location-wrapper .location-search-widget-autocomplete-wrapper {
  position: absolute !important;
  width: 100% !important;
  max-width: unset !important;
}

#filter-location-wrapper .input-icon {
  opacity: 0.5;
}
#filter-location-wrapper input {
  font-size: 14px;
  color: #848484;
}
#filter-location-wrapper input::placeholder {
  color: #848484;
}

#filters-count-badge {
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 100%;
  padding: 2px;
  background-color: var(--brand-color-button-fill-opaque);
  color: var(--brand-color-button-text);
  font-size: 9px;
  font-weight: bold;
  display: none;
  text-align: center;
  width: 16px;
  height: 16px;
  pointer-events: none;
}

#filters-wrapper.open #filters-count-badge {
  display: none !important
}

#legend-map-icon img {
  filter: brightness(0.4);
} 

.multiselect-current-text, .location-search-widget-input {
  font-size: 12px !important;
}

.help-btn {
  margin-left: 2px;
  transform: translateY(-1px);
  opacity: 0.4;
  cursor: pointer;
}

.legend-row {
  display: flex;
  margin-bottom: 3px;
  align-items: center;
}

.legend-row.interactive {
  transition: background-color 150ms ease;
  cursor: pointer;
}

.legend-row.interactive:hover {
  background-color: #f0f0f0;
}

.legend-rectangular-icon {
  width: 26px;
  height: 14px;
  margin-right: 4px;
  text-align: center;
}


.legend-svg-icon {
  height: 100%;
  transform: translateY(-4px);
}

.legend-row span {
  font-size: 12px;
}

.marker-cluster {
  display: none !important;
}

#priority-rows-wrapper {
  padding: 4px;
  border: 1px solid #dfdfdf;
  border-radius: 0.25rem;
}

#priority-rows-header {
  font-size: 12px;
  margin-bottom: 2px;
  font-weight: bold;
}

#non-priority-rows-wrapper {
  padding: 4px;
}



@media only screen and (max-width: 600px) {

  .logos-wrapper {
    display: none;
  }

  #propertiesWrapper {
    height: 70vh !important;
  }

  #branding-logo-wrapper {
    display: none !important;
  }

  #searchbar-wrapper {
    width: 42px;
    overflow: hidden;
    height: 42px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2), 0 -1px 0px rgba(0,0,0,0.02);
    top: 10px;
    right: 10px;
    border-radius: 100%;
  }

  #filters-wrapper {
    right: 10px;
    top: 60px;
  }

  #legend-wrapper {
    top: 110px;
    right: 10px;
  }

  .custom-map-control-wrapper.open {
    /* top: 10px !important; */
  }

  #legend-body {
    max-height: 25vh !important;

  }

  .custom-map-control-wrapper-content {
    min-width: calc(100vw - 20px) !important;
  }

  #searchbar-search-icon {
    padding-left: 4px !important;
  }
  
  #searchbar-wrapper.open {
    width: calc(100% - 20px);
    overflow: visible;
    box-shadow: none;
    border-radius: 0;
    background-color: transparent;
  }

  #searchbar-wrapper.open #searchbar-search-icon {
    display: none;
  }
  
  #searchbar-wrapper.open #map-autocomplete-search {
    display: flex;
  }

  #searchbar-wrapper.open .btn-icon {
    display: block;
  }

  #searchbar-wrapper.open #seachbar-search-icon {
    display: none;
  }

  #map-autocomplete-search, #searchbar-wrapper .btn-icon {
    display: none;
  }

  #mobile-search-overlay {
    display: none;
    z-index: 9999;
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0;
    box-sizing: border-box;
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2), 0 -1px 0px rgba(0,0,0,0.02);
    overflow: hidden;
    cursor: pointer;
    pointer-events: auto;
  }

  #mobile-search-overlay.open {
    background-color: white;
    pointer-events: auto;
    top: 0;
    left: 0;
    padding: 10px;
    border-radius: 0;
    width: 100%;
    height: 100%;
    box-shadow: none;
  }
  
  #map-autocomplete-search {
    width: 100% !important;
    box-sizing: border-box;
    position: relative;
    top: unset;
    right: unset !important;
    pointer-events: none;
  }

  #map-autocomplete-search .fa-search {
    padding-left: 0;

  }
  

  #mobile-search-overlay.open #map-autocomplete-search .fa-search {
    padding-left: 10px !important;

  }
  
  #mobile-search-overlay.open #map-autocomplete-search {
    display: block;
    pointer-events: auto;
  }
  
  #mobile-search-overlay-header {
    display: none;
    text-align: center;
    padding-right: 40px;
    margin-bottom: 10px;
    position: relative;
  }

  #mobile-search-overlay.open #mobile-search-overlay-header {
    display: block;
  }


  #mobile-search-overlay-title {
    font-size: 18px;
    padding: 10px 0;
  }

  #mobile-search-overlay-close-btn {
    position: absolute;
    font-size: 30px;
    top: 0;
    right: 0;
    cursor: pointer;
  }

  #mobile-search-overlay-footer {
    display: none;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    justify-content: flex-end;
    padding: 10px;
    box-sizing: border-box;
  }

  #mobile-search-overlay.open #mobile-search-overlay-footer {
    display: flex;
  }

  #mobile-search-overlay-show-results-btn {
    padding: 6px 12px;
    border-radius: 4px;
    background-color: #333;
    color: white;
    cursor: pointer;
  }

  #mobile-search-overlay:not(.open).has-filter::after {
    content: "1";
    position: fixed;
    width: 14px;
    height: 14px;
    background-color: #30A5BF;
    top: 10px;
    right: 10px;
    z-index: 999;
    font-size: 10px;
    border-radius: 50%;
    text-align: center;
    color: white;
  }

  #filters-wrapper.open.no-searchbar {
    top: 10px !important;
  }
  
  #filters-wrapper.open.has-searchbar {
    top: 60px !important;
  }
  
  #legend-wrapper.open.no-searchbar {
    top: 10px !important;
  }
  
  #legend-wrapper.open.has-searchbar {
    top: 60px !important;
  }


}


/* easy way to hide tooltips on mobile devices */
@media (hover: none) {
  .leaflet-tooltip-pane { display: none; }
}

    
@media only screen and (max-width: 320px) {
  .multiselect-widget-btn {
    min-width: unset !important;
  }
}