﻿header.navbar {
    position: relative !important;
}

.badge {
    border: 1px solid #333;
}

.cerrar-filtros {
    position: absolute;
    right: 25px;
}

.nav-unshown {
    display: none;
}

#nav-close {
    display: none;
    position: fixed;
    z-index: 99;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    opacity: 0;
    transition: .3s ease-in-out;
}

#nav-content {
    overflow: auto;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 90%;
    max-width: 330px;
    height: 100%;
    background: #fff;
    transition: .3s ease-in-out;
    -webkit-transform: translateX(-105%);
    transform: translateX(-105%);
}

#nav-input:checked ~ #nav-close {
    display: block;
    opacity: .5;
}

#nav-input:checked ~ #nav-content {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);
    box-shadow: 5px 0 5px -2px #f1f1f1
}

#leaflet-map {
    width: 100%;
    height: 100vh;
    margin: 0 auto;
}

.leaflet-top.leaflet-left {
    display: none;
}

.leaflet-popup-close-button {
    display: none !important;
}

.leaflet-popup-content-wrapper, .leaflet-popup-content {    
    border-radius: 0 !important;
    margin: auto !important;
}

.leaflet-popup-content-wrapper {    
    text-align: center !important;
}
.leaflet-popup-content p {
    margin: 10px 0;
}
.info-window .map-img {
    height: 225px;
    object-fit: cover;
}
.info-window {
    font-family: 'Courier New', Courier, monospace;
}
.info-window h3 {
    font-size: 16px;
    line-height: 1.2;
}
.info-window .title {
    font-size: inherit;
    font-weight: 600;
    line-height: inherit;
    color: var(--corporativo_1);
    text-decoration: none;   
}
.info-window .map-price {
    font-size: 1rem;    
    font-weight: 700;
    color: var(--corporativo_1);
    margin-bottom: 10px;
}

@media (min-width: 1200px) and (max-width: 1440px) {
    .columna-listado {
        -ms-flex: 0 0 58.333333%;
        flex: 0 0 58.333333%;
        max-width: 58.333333%;
    }
    
    .columna-mapa {
        -ms-flex: 0 0 41.666667%;
        flex: 0 0 41.666667%;
        max-width: 41.666667%;    
    }
}
    
@media (min-width: 1441px) {
    .columna-listado {
        -ms-flex: 0 0 43.666667%;
        flex: 0 0 43.666667%;
        max-width: 43.666667%;        
    }
    
    .columna-mapa {
        -ms-flex: 0 0 56.333333%;
        flex: 0 0 56.333333%;
        max-width: 56.333333%;    
    }
}
.badges {
    margin-top: 32px;
}
.badges .badge {
    padding: 8px 18px 7px;
    border-radius: 2px;
    border: solid 1px rgba(0, 0, 0, 0.3);
    background-color: rgba(0, 0, 0, 0.1);
    color: #000;
    font-weight: 400;
}