﻿/* ================================================================
   building-map.css
   Styles for the _BuildingMap partial view.
   Uses Foundation breakpoints (640px = medium, 1024px = large).
   ================================================================ */

/* Map container and facade image share the same height rhythm */
#building-map,
#building-facade-img {
    width: 100%;
    height: 260px; /* small (mobile) */
    border-radius: 6px;
    overflow: hidden;
    object-fit: cover; /* keeps facade image proportions */
}

@media screen and (min-width: 640px) {
    #building-map,
    #building-facade-img {
        height: 360px; /* medium (tablet) */
    }
}

@media screen and (min-width: 1024px) {
    #building-map,
    #building-facade-img {
        height: 450px; /* large (desktop) */
    }
}

/* Toggle button group */
.building-map-section .button-group {
    margin-bottom: 0.75rem;
}

/* Active state — filled Foundation primary */
.building-map-section .map-view-btn.is-active {
    background-color: #2e3332;
    color: white;
    border-color: #2e3332;
    border-top-left-radius: .5em;
    border-bottom-left-radius: .5em;
    border-top-right-radius: .5em;
    border-bottom-right-radius: .5em;
}

/* Coordinates footnote */
#map-coords-label {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #6c757d;
}
.button-group.hollow .button, .button-group.hollow .button.disabled, .button-group.hollow .button.disabled:focus, .button-group.hollow .button.disabled:hover, .button-group.hollow .button[disabled], .button-group.hollow .button[disabled]:focus, .button-group.hollow .button[disabled]:hover {
    border: 1px solid #2e3332;
    border-top-left-radius: .5em;
    border-bottom-left-radius: .5em;
    border-top-right-radius: .5em;
    border-bottom-right-radius: .5em;
    margin-right:5px;
    /*color: #2e3332;*/
}