/* Map */

.metabuscador-gnoss .geolocation__wrapper {
    border-radius: 6px;
    overflow: hidden;
    margin-block-start: 16px;
    display: none;
}

.metabuscador-gnoss .geolocation__map {
    isolation: isolate;
}

.metabuscador-gnoss .geolocation__wrapper .map {
    height: 850px;
    z-index: -1;
}

.metabuscador-gnoss .geolocation__wrapper .leaflet-pane {
    height: fit-content;
    width: fit-content;
}

.metabuscador-gnoss .geolocation__wrapper .leaflet-popup {
    background-color: var(--white);
    padding: 8px;
    border-radius: 6px;
    width: auto;
    max-width: 350px;
    display: grid;
    padding: 0;
}

.metabuscador-gnoss .geolocation__wrapper .leaflet-popup .pointer {
    position: absolute;
    right: -80px;
    top: -40px;
}

.metabuscador-gnoss .geolocation__wrapper .leaflet-popup-content-wrapper {
    all: unset !important;
    height: 100%;
    display: block !important;
}

.metabuscador-gnoss .geolocation__wrapper .leaflet-popup .leaflet-popup-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
}

.metabuscador-gnoss .geolocation__wrapper .leaflet-popup .leaflet-popup-close-button {
    background-color: #432b33;
    border-radius: 50px;
    opacity: 0.8;
    height: 20px;
    width: 20px;
    margin-block-start: 9px;
    margin-inline-end: 9px;
}

.metabuscador-gnoss .geolocation__wrapper .leaflet-popup .leaflet-popup-close-button span {
    color: white;
    height: 20px;
    width: 20px;
    display: block;
    translate: 1px -2px;
}

.metabuscador-gnoss .geolocation__wrapper .leaflet-popup .leaflet-popup-content .resource .map-content {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.metabuscador-gnoss .geolocation__wrapper .leaflet-popup .leaflet-popup-content .resource .map-content:last-child {
    margin-bottom: 4px;
}

.metabuscador-gnoss .geolocation__wrapper .leaflet-popup .leaflet-popup-content .resource .category-btn {
    width: fit-content;
    text-transform: uppercase;
    --fsize-min-default: 12;
    --fsize-max-default: 12;
    font-weight: 600;
    border: 1px solid #454544;
    padding: 4px;
    line-height: 0.8;
    border-radius: 4px;
    margin-top: 8px;
    margin-left: 12px;
}

.metabuscador-gnoss .geolocation__wrapper .leaflet-popup .leaflet-popup-content .resource .name {
    margin-bottom: 24px;
}

.metabuscador-gnoss .geolocation__wrapper .leaflet-popup .leaflet-popup-content .resource .d-flex {
    flex-direction: column;
    gap: 8px;
    margin: 0 !important;
}

.metabuscador-gnoss .geolocation__wrapper .leaflet-popup .leaflet-popup-content .resource .d-flex .col {
    padding: 0px;
    overflow: hidden;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.metabuscador-gnoss .geolocation__wrapper .leaflet-popup .leaflet-popup-content .resource.contenido .contenido-principal.col {
    padding: 0 12px;
    padding-bottom: 8px;
}

.metabuscador-gnoss .geolocation__wrapper .leaflet-popup .leaflet-popup-content .resource .contenido-principal .datosDireccion {
    display: flex;
    flex-direction: column;
}

.metabuscador-gnoss .geolocation__wrapper .leaflet-popup .leaflet-popup-content .resource .contenido-principal .datosDireccion div span {
    display: block;
    text-align: left;
    font-size: 14px;
    color: black;
}

.metabuscador-gnoss .geolocation__wrapper .leaflet-popup .leaflet-popup-content .resource .contenido-principal .datosDireccion p {
    font-size: 14px;
    color: var(--primary);
    text-align: left;
}

.metabuscador-gnoss .geolocation__wrapper .leaflet-popup .leaflet-popup-content .resource .contenido-principal .datosDireccion div {
    margin: 6px 0;
}

.metabuscador-gnoss .geolocation__wrapper .leaflet-popup .leaflet-popup-content .resource .name h2,
.metabuscador-gnoss .geolocation__wrapper .leaflet-popup .leaflet-popup-content .resource .map-content span {
    font-weight: 600;
    margin: 0;
}

.metabuscador-gnoss .geolocation__wrapper .leaflet-popup .leaflet-popup-content .resource h2 {
    margin: 0;
    text-align: left;
    margin-bottom: 8px;
    color: var(--neutral-700);
    font-weight: 600;
}

.metabuscador-gnoss .geolocation__wrapper .leaflet-popup .leaflet-popup-content .resource h2 a {
    color: inherit;
    font-weight: inherit;
    --_bgc-hover: transparent;
    --_color-hover: var(--neutral-900);
}

.metabuscador-gnoss .geolocation__wrapper .leaflet-popup .leaflet-popup-content .resource .categorizacion a {
    color: var(--primary);
    --_bgc-hover: transparent;
    --_color-hover: var(--neutral-900);
}

.metabuscador-gnoss .geolocation__wrapper .leaflet-popup .leaflet-popup-tip-container {
    z-index: -1;
}

.metabuscador-gnoss .geolocation__wrapper .leaflet-popup .leaflet-popup-content .resource .map-content a {
    width: fit-content;
}

.metabuscador-gnoss .geolocation__wrapper .leaflet-popup .leaflet-popup-content img {
    width: 100%;
    min-width: 200px;
}

.metabuscador-gnoss .geolocation__wrapper .leaflet-popup .leaflet-popup-content img[src*="default"] {
    scale: 1.05;
}

.metabuscador-gnoss .geolocation__wrapper .leaflet-popup .leaflet-popup-content p {
    margin: 0;
}
.metabuscador-gnoss .geolocation__wrapper .leaflet-popup .leaflet-popup-content p a {
    word-break: break-all;
}

.metabuscador-gnoss .geolocation__wrapper .filters__wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-block-start: 16px;
    margin-inline-start: 16px;
    width: fit-content;
    height: fit-content;
}

.metabuscador-gnoss .geolocation__wrapper .filters__wrapper .btn__wrapper {
    width: fit-content;
    height: fit-content;
    padding: 8px;
    border-radius: 12px;
    border: 1px solid #DBDBD9;
    box-shadow: 0px 25px 15px -12px #0000000D;
    background-color: var(--white);
}

.metabuscador-gnoss .geolocation__wrapper .filters__wrapper .filter__button {
    height: fit-content;
    width: fit-content;
    font-size: 14px;
    --_color: var(--neutral-900);
    --_bg-color: var(--secondary-100);
    --_bgc-hover: var(--secondary-300);
    outline: none !important;
    display: flex;
    gap: 8px;
    align-items: center;
    line-height: 1;
}

.metabuscador-gnoss .geolocation__wrapper .filters__wrapper .filter__button:hover {
    outline: none !important;
    border-color: transparent;
}

.metabuscador-gnoss .geolocation__wrapper .filters__wrapper .filters {
    background-color: var(--white);
    padding-block: 24px 8px;
    padding-inline: 16px;
    max-width: 300px;
    border-radius: 12px;
    border: 1px solid #DBDBD9;
    box-shadow: 0px 25px 15px -12px #0000000D;
}

.metabuscador-gnoss .geolocation__wrapper .filters__wrapper .filters .facetedSearchBox input {
    background-position-x: 90px;
}

/* Filters */

.metabuscador-gnoss #panFiltrosMapa .header-facetas {
    display: flex;
    justify-content: space-between;
}

.metabuscador-gnoss #panFiltrosMapa .header-facetas .limpiar-filtros {
    color: var(--primary);
}

.metabuscador-gnoss #panFiltrosMapa .header-facetas .limpiar-filtros a {
    display: inline-block;
    background-repeat: no-repeat;
    background-image: url('/sites/default/files/inline-images/delete_forever.svg');
    background-size: 20px;
    background-position-y: 2px;
    background-position-x: 10px;
    padding-left: 36px;
}

.metabuscador-gnoss #panFiltrosMapa ul {
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.metabuscador-gnoss #panFiltrosMapa ul li {
    list-style: none;
    background-color: var(--secondary-100);
    border-radius: 40px;
    padding: 4px 28px 2px 8px;
    width: fit-content;
    --_fsize-min: 14;
    --_fsize-max: 14;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    position: relative;
}

.metabuscador-gnoss #panFiltrosMapa ul li:hover {
    background-color: var(--secondary-200);
}

.metabuscador-gnoss #panFiltrosMapa ul li a {
    display: block;
    width: 20px;
    height: 20px;
    position: absolute;
    right: 2px;
    top: 3px;
}

.metabuscador-gnoss #panFiltrosMapa ul li:hover a {
    background-color: var(--secondary-200);
}

.metabuscador-gnoss #panFiltrosMapa ul li a:hover {
    --_bgc-hover: var(--secondary-200);
}

.metabuscador-gnoss #panFiltrosMapa ul li a span.material-symbols-outlined {
    color: var(--secondary-900);
    content: url(/sites/default/files/inline-images/cancel.svg);
    display: block;
    width: 20px;
    height: 20px;
}

/* Markers */
.metabuscador-gnoss .geolocation__wrapper .leaflet-marker-icon.marker-cluster  {
    background-color: var(--white);;
    border: 2px solid #68696C;
    box-shadow: 0 0 0px 2px #68696c9e;
}

.metabuscador-gnoss .geolocation__wrapper .leaflet-marker-icon.marker-cluster div {
    margin-left: -3px;
    margin-top: -3px;
    background-color: transparent;
}

.metabuscador-gnoss .geolocation__wrapper .leaflet-marker-icon.marker-cluster div span {
    font-weight: bold;
    color: black;
}

.metabuscador-gnoss .geolocation__wrapper .leaflet-marker-icon.marker-cluster::after {
    display: none;
}

.metabuscador-gnoss .geolocation__wrapper .leaflet-marker-icon {
    height: 44px !important;
    width: 44px !important;
    padding: 8px;
    display: grid;
    place-items: center;
    background-color: var(--primary);
    border-radius: 50%;
    border: 2px solid var(--white);
}

.metabuscador-gnoss .geolocation__wrapper .leaflet-marker-icon::after {
    content: url("../resources/other.svg");
    display: block;
    height: 24px;
    width: 24px;
}

.metabuscador-gnoss .geolocation__wrapper .leaflet-marker-icon.museum::after {
    content: url("../resources/museum.svg");
}

.metabuscador-gnoss .geolocation__wrapper .leaflet-marker-icon.museum {
    background-color: var(--museum-color);
}

.metabuscador-gnoss .geolocation__wrapper .leaflet-marker-icon.governmentoffice::after {
    content: url("../resources/info.svg");
}

.metabuscador-gnoss .geolocation__wrapper .leaflet-marker-icon.governmentoffice {
    background-color: var(--governmentoffice-color);
}

.metabuscador-gnoss .geolocation__wrapper .leaflet-marker-icon.hairsalon::after {
    content: url("../resources/hair_salon.svg");
}

.metabuscador-gnoss .geolocation__wrapper .leaflet-marker-icon.hairsalon {
    background-color: var(--hairsalon-color);
}

.metabuscador-gnoss .geolocation__wrapper .leaflet-marker-icon.parking::after {
    content: url("../resources/parking.svg");
}

.metabuscador-gnoss .geolocation__wrapper .leaflet-marker-icon.parking {
    background-color: var(--parking-color);
}

.metabuscador-gnoss .geolocation__wrapper .leaflet-marker-icon.governmentbuilding::after {
    content: url("../resources/edificio.svg");
}

.metabuscador-gnoss .geolocation__wrapper .leaflet-marker-icon.governmentbuilding {
    background-color: var(--governmentbuilding-color);
}

.metabuscador-gnoss .geolocation__wrapper .leaflet-marker-icon.taxistand::after {
    content: url("../resources/taxi.svg");
}

.metabuscador-gnoss .geolocation__wrapper .leaflet-marker-icon.taxistand {
    background-color: var(--taxistand-color);
}

.metabuscador-gnoss .geolocation__wrapper .leaflet-marker-icon.pharmacy::after {
    content: url("../resources/pharmacy.svg");
}

.metabuscador-gnoss .geolocation__wrapper .leaflet-marker-icon.pharmacy {
    background-color: var(--pharmacy-color);
}

.metabuscador-gnoss .geolocation__wrapper .leaflet-marker-icon.stop::after {
    content: url("../resources/parada.svg");
}

.metabuscador-gnoss .geolocation__wrapper .leaflet-marker-icon.stop {
    background-color: var(--stop-color);
}

.metabuscador-gnoss .geolocation__wrapper .leaflet-marker-icon.newsarticle::after {
    content: url("../resources/newspaper.svg");
}

.metabuscador-gnoss .geolocation__wrapper .leaflet-marker-icon.newsarticle {
    background-color: var(--newsarticle-color);
}

.metabuscador-gnoss .geolocation__wrapper .leaflet-marker-icon.organization::after {
    content: url("../resources/city.svg");
}

.metabuscador-gnoss .geolocation__wrapper .leaflet-marker-icon.organization {
    background-color: var(--organization-color);
}

.metabuscador-gnoss .geolocation__wrapper .leaflet-marker-icon.webpage::after {
    content: url("../resources/content_web.svg");
}

.metabuscador-gnoss .geolocation__wrapper .leaflet-marker-icon.webpage {
    background-color: var(--notice-color);
}

.metabuscador-gnoss .geolocation__wrapper .leaflet-marker-icon.transparency::after {
    content: url("../resources/transparencia.svg");
}

.metabuscador-gnoss .geolocation__wrapper .leaflet-marker-icon.transparency {
    background-color: var(--transparency-color);
}

.metabuscador-gnoss .geolocation__wrapper .leaflet-marker-icon.event::after {
    content: url("../resources/event.svg");
}

.metabuscador-gnoss .geolocation__wrapper .leaflet-marker-icon.event {
    background-color: var(--event-color);
}

.metabuscador-gnoss .geolocation__wrapper .leaflet-marker-icon.userLocalization {
    content: url("../resources/pin-point.svg");
    padding: 4px;
}