/* ==========================================================================
   Map Block
   ========================================================================== */

/* Map container */
.map-block .map-container {
    height: 600px;
    width: 100%;
}

.map-block .map-container img {
    max-width: inherit !important;
}

/* Full-width override */
.map-block.full-width {
    padding-left: 0;
    padding-right: 0;
}

/* Info window styling */
.map-info-window {
    padding: 5px;
    max-width: 250px;
}

.map-info-window h3 {
    margin: 0 0 8px 0;
    padding-right: 30px;
    font-size: 16px;
}

.map-info-window p {
    margin: 0 0 10px 0;
    padding-right: 30px;
    font-size: 14px;
    line-height: 1.4;
}

/* Google Maps InfoWindow overrides - remove top padding */
.gm-style .gm-style-iw-c {
    padding: 12px 12px 12px 12px !important;
    padding-top: 12px !important;
}

.gm-style .gm-style-iw-d {
    overflow: hidden !important;
    padding: 0 !important;
}

/* Remove the inner wrapper padding */
.gm-style .gm-style-iw-chr {
    position: absolute;
    top: 0;
    right: 0;
    height: auto !important;
}

/* Move close button further right */
.gm-style .gm-ui-hover-effect {
    width: 32px !important;
    height: 32px !important;
    opacity: 1 !important;
}

.gm-style .gm-ui-hover-effect > span {
    width: 20px !important;
    height: 20px !important;
    margin: 6px !important;
}

.gm-style .gm-ui-hover-effect img {
    width: 16px !important;
    height: 16px !important;
    margin: 4px !important;
}

/* Admin placeholder */
.map-no-location {
    font-family: inherit;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1023px) {
    .map-block .map-container {
        height: 50vh;
        min-height: 400px;
    }
}
