/* The map is loaded only after a visitor activates it. */
#map-wrapper {
    height: auto;
    padding: 54px 0;
    background: #ecefee;
}

#map-wrapper .container {
    margin-top: 0;
}

#map-wrapper .map-layout {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

#map-wrapper .info-box {
    height: 100%;
}

#map-wrapper .map-panel {
    position: relative;
    min-height: 430px;
    height: 100%;
    overflow: hidden;
    border: 1px solid #d8dedb;
    background: #f8faf9;
    box-shadow: 0 5px 7px rgba(0, 0, 0, .12);
}

#map-wrapper .map-placeholder {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 430px;
    padding: 35px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#map-wrapper .map-placeholder[hidden],
#map-wrapper .map-hide-button[hidden],
#map-wrapper .map-canvas[hidden] {
    display: none !important;
}

#map-wrapper .map-pin {
    position: relative;
    width: 38px;
    height: 38px;
    margin: 0 0 25px;
    transform: rotate(-45deg);
    border-radius: 50% 50% 50% 0;
    background: #bd0000;
}

#map-wrapper .map-pin::after {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    content: '';
}

#map-wrapper .map-placeholder h2 {
    margin: 0 0 9px;
    font-size: 28px;
    font-weight: 700;
}

#map-wrapper .map-placeholder p {
    max-width: 480px;
    margin: 0 0 18px;
    line-height: 1.5;
}

#map-wrapper .map-load-button,
#map-wrapper .map-hide-button {
    border: 0;
    border-radius: 2px;
    background: #bd0000;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

#map-wrapper .map-load-button {
    padding: 13px 24px;
    margin-bottom: 20px;
}

#map-wrapper .map-load-button:hover,
#map-wrapper .map-load-button:focus,
#map-wrapper .map-hide-button:hover,
#map-wrapper .map-hide-button:focus {
    background: #920000;
    color: #fff;
}

#map-wrapper .map-placeholder .map-privacy {
    margin-bottom: 10px;
    color: #555;
    font-size: 13px;
}

#map-wrapper .map-placeholder .map-external {
    margin-bottom: 0;
    font-size: 14px;
}

#map-wrapper .map-privacy a,
#map-wrapper .map-external a,
#map-wrapper .map-attribution a {
    color: #8f0000;
    text-decoration: underline;
}

#map-wrapper .map-canvas {
    display: block;
    width: 100%;
    height: 430px;
}

#map-wrapper .map-hide-button {
    position: absolute;
    z-index: 1000;
    top: 12px;
    right: 12px;
    padding: 8px 14px;
    font-size: 14px;
}

#map-wrapper .map-attribution {
    margin: 8px 0 0;
    font-size: 12px;
    text-align: right;
}

@media (max-width: 767px) {
    #map-wrapper {
        padding: 32px 0;
    }

    #map-wrapper .map-layout > div + div {
        margin-top: 20px;
    }

    #map-wrapper .map-placeholder {
        padding: 28px 22px;
    }
}
