



#map-loading {
    position: absolute;
    display: none;
    background-color: transparent;
    z-index: 990;
}

#map-loading {
    background-color: rgba(255,255,255,.6);
}

    #map-loading.show {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        background-color: rgba(255,255,255,.7);
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
    }

.sbm-flex-container > div:nth-child(3) {
    flex: 1;
}


.sbm-tabs-container {
    width: 33%;
    max-width: 500px;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    border-right: 5px solid #5f368d;
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: stretch;
}

    .sbm-tabs-container > div:nth-child(2) {
        flex: 1 1 10000px;
        display: flex;
        position: relative;
    }

        .sbm-tabs-container > div:nth-child(2) > div {
            display: none;
            flex-basis: 1 0 10000px;
            overflow-y: scroll;
            position: absolute;
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
        }

.marker-detail > .sbm-result {
    border-radius: 8px;
}

.baum-mappable-items .marker-detail > .sbm-result {
    border: 1px solid #a4a4a4;
    margin: 10px 5px;
}

.search-by-map .sbm-result {
    padding: 5px;
    overflow: hidden;
}

    .search-by-map .sbm-result .sbm-result {
        border: 2px solid #e8e8e8;
        border-radius: 8px;
    }

.highlightword {
    background-color: yellow;
    display: inline-block;
    font-weight: bold;
}

.search-by-map .sbm-result-header {
    color: #555;
    display: flex;
    gap: 5px;
    margin-bottom: 10px;
}


    .search-by-map .sbm-result-header div:nth-child(1) {
        flex-grow: 1;
        font-weight: bold;
        align-self: end;
    }

    .search-by-map .sbm-result-header .sbm-result-type {
        color: #999;
        flex-basis: 100px;
        text-align: right;
        font-weight: 700;
        white-space: nowrap;
        flex-wrap: nowrap;
    }

    .search-by-map .sbm-result-header .sbm-result-date {
        white-space: nowrap;
    }

.search-by-map .sbmi-result-commands {
    display: flex;
    align-items: flex-start;
    justify-content:flex-end;
    
}
    .search-by-map .sbmi-result-commands > .dxbl-btn-text-primary {
        padding: 1px 3px;
        margin-top: 2px;
    }

.search-by-map .sbm-result-items {
    /*margin-left: 5px;*/
    /*  display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1px 10px;*/
}

.sbmi-result-items > label:first-child {
    max-width: 250px;
}


.search-by-map .sbm-result-items > div {
    display: flex;
    flex-direction: row;
    /*white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;*/
}

.search-by-map .sbm-result-items label {
    margin-right: 10px;
    color: #555;
}

.search-by-map .sbmi-result-header {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;    
    border-bottom: 1px solid black;
    margin-top:10px;
}

.search-by-map .sbmi-result {
    border-radius: 0;
    padding-left: 15px;
}

.search-by-map .sbmi-result-type::before {
    content: "•";
    margin: 0px 3px;
}

.search-by-map .sbmi-result-type {
}

.sbmi-result-items {
    margin-left: 10px;
}

    .sbmi-result-items label {
        /*padding-right: 3px;*/
    }

.gm-style-iw.gm-style-iw-c { /* InfoWindow Container */
    padding: 35px 5px 5px 5px;
}

.gm-style-iw-d { /* InfoWindow Body*/

    height: 100%;
    width: 400px;
}
/* hide builtin close button*/
button.gm-ui-hover-effect {
    /*transform: scale(2);*/
    /*display: none !important;
    visibility: hidden;*/
}

.map-infowindow > map-infowindowbody {
    position: relative;
}

.map-infowindow > .map-infowindow-body > .map-infowindow-loading {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column; /* <-- stack vertically */
    align-items: center; /* center horizontally */
    justify-content: center; /* center vertically if parent has height */
}

.map-infowindow.data-loaded > .map-infowindow-body > .map-infowindow-loading {
    display: none;
}

.map-infowindow.data-loaded > .map-infowindow-body > .map-infowindow-body-text {
    display: block;
}


.map-infowindow .map-infowindow-body-text {
    display: none;
}

.gm-style-iw-d > div {
    height: 100%;
}

.map-infowindow {
    font-size: 12px;
    margin: 5px 10px;
}

    .map-infowindow .spinner-border {
        width: 1.5rem;
        height: 1.5rem;
    }

    .map-infowindow.data-loaded > .map-infowindow-close:hover {
        background-color: #e8e8e8;
    }

    .map-infowindow.data-loaded > .map-infowindow-close {
        position: absolute;
        top: 0;
        right: 0px;
        font-size: 24px;
        font-weight: 900;
        cursor: pointer;
        margin: 5px;
    }

    .map-infowindow.data-loaded > .map-infowindow-title {
        font-weight: bold;
        line-height: 22px;
        border-bottom: 1px solid black;
    }

    .map-infowindow.data-loaded > .map-infowindow-body {
        max-height: 400px;
        min-height: 75px;
        position: relative;
        width: 100%;
        display: flex;
        gap: 10px;
        flex-direction: column;
        margin-right: 10px;
        padding: 5px;
    }

        .map-infowindow.data-loaded > .map-infowindow-body > .map-infowindow-body-text {
            label { font-weight: bold; }
        }


.map-infowindow-image-container {
    flex: 0 0 150px;
    position: relative;
    width: 100%;
    height: 100px;
    text-align: center;
    padding-top: 50px;
    background-color: blue;
}

.map-infowindow-image {
    border: 2px solid green;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: none;
}





/* Container: stack detail rows vertically */
.pmr-detail-items {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0;
    line-height: 1;
}

    /* Each detail row */
    .pmr-detail-items > div {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        width: 100%;
        padding: 2px 4px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

        /* Remove bottom border from last item */
        .pmr-detail-items > div:last-child {
            border-bottom: none;
        }

        /* Label: consistent width, faint separator */
        .pmr-detail-items > div > label {
            flex: 0 0 100px; /* fixed width label area */
         
            max-width: 200px; /* prevent overly long labels */
            margin-right: 0.5rem;
            padding-right: 0.25rem;
            white-space: nowrap;
            line-height: 1;
            opacity: 0.8;
            text-align: left; /* align label text left */
        }

        /* Value: right-aligned, fills remaining space */
        .pmr-detail-items > div > div {
            flex: 1 1 auto;
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            line-height: 1;
        }

    /* Hide <hidden> tags entirely */
    .pmr-detail-items > hidden,
    hidden {
        display: none !important;
        visibility: hidden !important;
    }



#googlemap .google-map-autocomplete-input {
    width: 50%;
    max-width: 400px;
    margin-top: 10px;
    font-size: 1rem;
    xfont-weight: bold;
    border: 0;
    border-radius: 2px;
    background-color: rgba(255,255,255,.7);
    padding: 5px;
    text-align: center;
    user-select: none;
    cursor: pointer;
}

    #googlemap .google-map-autocomplete-input:focus {
        background-color: rgba(255,255,255,1);
        border: 1px solid black;
    }