#capture-map .map-container {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
}

#capture-map .ll-map-sidebar {
    flex: 0 0 280px;
    width: 280px;
    max-width: 280px;
    overflow-y: auto;
    box-sizing: border-box;
}

#capture-map .ll-map-sidebar label {
    display: flex;
    align-items: center;
}

#capture-map .ll-map-sidebar label i {
    flex: 0 0 auto;
    margin-right: 12px;
    width: 1.15em;
    text-align: center;
}

#capture-map .ll-map-sidebar label span {
    display: inline-block;
}

#capture-map #map.map-wrap,
#capture-map .map-wrap#map {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    height: auto;
    min-height: 0;
    align-self: stretch;
}

#capture-map #map.leaflet-container {
    width: auto;
    height: 100%;
}

#map .leaflet-popup-content h3 {
    margin: 0 0 6px;
    font-size: 16px;
}

#map .leaflet-popup-content p {
    margin: 0;
}

@media (max-width: 767px) {
    #capture-map .map-container {
        flex-direction: column;
        height: auto;
        max-height: none;
        min-height: 0;
    }

    #capture-map .ll-map-sidebar {
        flex: 0 0 auto;
        width: 100%;
        max-width: none;
        max-height: 180px;
    }

    #capture-map #map.map-wrap,
    #capture-map .map-wrap#map {
        height: 360px !important;
        min-height: 360px;
    }
}
