

.mapboxgl-popup {
    transform: unset !important;
    left: 0.75rem !important;
    top: 0.75rem !important;
    right: 0.75rem !important;
    max-width: 262px !important;
    overflow-y: auto;
    pointer-events: auto !important;
    box-shadow: 0 1px 2px rgb(0 0 0 / 10%);
    z-index: 5;
}

@media (min-width: 500px) {
    .mapboxgl-popup {
        max-width: 300px !important;
        right: unset;
    }
}

@media (min-width: 768px) {
    .mapboxgl-popup {
        left: calc(375px + 0.75rem) !important;
        bottom: 2.25rem !important;
        pointer-events: none !important;
    }
}

@media (min-width: 1025px) {
    .mapboxgl-popup {
        left: calc(375px + 6.25rem) !important;
        top: 6.25rem !important;
        bottom: 6.25rem !important;
    }
}

.mapboxgl-popup-tip {
    display: none;
}

.mapboxgl-popup .mapboxgl-popup-close-button {
    background-color: #DBDBD3;
    color: #1A2D38;
    padding: 0 8px;
    font-size: 34px;
    line-height: 1;
    transition: background-color .2s ease-in-out;
    z-index: 1;
}

.mapboxgl-popup .mapboxgl-popup-close-button:hover {
    background-color: #DBDBD3;
    opacity: 0.5;
}

.mapboxgl-popup .mapboxgl-popup-content {
    padding: 0;
    background: unset;
    box-shadow: none;
    border-left: 1px solid #DBDBD3;
    background-color: rgba(251,251,249,.94);
    border-radius: 0;
    width: 100%;
    overflow: auto;
}

.mapboxgl-popup-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.c-interactive-map__popup-body {
    padding: 38px 40px;
}


.c-interactive-map__legend.btn {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 3;
    padding: 16px 24px !important;
}

.mapbox__inner {
    position: relative;
}

.mapboxgl-marker {
    padding: 0;
    background: transparent;
}

.mapbox__content {
    background-color: white;
    z-index: 99;
    position: absolute;
    top: 0;
    height: 100%;
    width: 400px;
    left: 80px;
    padding: 80px;
    overflow: auto;
}


.mapbox__map {
    height: 500px;
    max-height: 75vh;
}

.mapbox-btn-reset{
    background: none;
	color: inherit;
	border: none;
	padding: 0;
	font: inherit;
	cursor: pointer;
	outline: inherit;
}

.mapbox-btn-reset:hover{
    background: transparent;
    box-shadow: 0px 0px 0px transparent;
    border: 0px solid transparent;
    text-shadow: 0px 0px 0px transparent;
    color: black;
}

.mapbox-btn-reset:active {
    outline: none;
    border: none;
}

.category-filter__button,
.mapboxgl-marker ,
.radius-filter__button {
    /* Reset */
    background: none;
	color: inherit;
	border: none;
	padding: 0;
	font: inherit;
	cursor: pointer;
	outline: inherit;

    color: black;
}

.category-filter__button:hover,
.mapboxgl-marker:hover,
.radius-filter__button:hover {
    background: transparent;
    box-shadow: 0px 0px 0px transparent;
    border: 0px solid transparent;
    text-shadow: 0px 0px 0px transparent;
    color: black;
}

.category-filter__button:focus-visible,
.mapboxgl-marker:focus-visible,
.radius-filter__button:focus-visible {
    outline: 2px solid black;
}

.category-filter__button:active,
.mapboxgl-marke:active,
.radius-filter__button:active {
    /* outline: none; */
    border: none;
}

.category-filter__button:focus,
.mapboxgl-marker:focus,
.radius-filter__button:focus {
    background: none;
    color: inherit;
} 

/* Filter Items */
.category-filter__button{
    display: inline-flex;
    align-items: center;
}

.radius-filter__list {
    display: flex;
    flex-wrap: wrap;
    margin: -5px -15px;
}

.radius-filter__item {
    flex: 0 0 50%;
    max-width: 50%;
}

.radius-filter__button {
    display: inline-flex;
    align-items: center;
    padding: 5px 15px;
}

.radius-filter__icon {
    width: 25px;
    margin-right: 11px;
}

.radius-filter__icon svg {
    width: 100%;
    height: 100%;
}




.mapbox__legend-toggle {
 display: block;
}
@media (min-width: 768px) {
    .mapbox__legend-toggle {
        display: none;
    }
}
