.map {
    position: relative;
}

.map.map-lg {
    width: 100%;
    height: 100%;
}

.map.map-sm {
    width: 100%;
    height: 500px;
}

.map .loc-menu {
    padding: 16px;
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: white;
    outline: 1px solid black;
    font-size: 14px;
}

.navbar {
    height: 3rem;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.map-with-sidebar {
    height: 100%;
    position: fixed;
    height: calc(100% - 3rem);
    top: 3rem;
    bottom: 0;
    right: 0;
    left: 40rem;
}

.map-half-right > .map {
    position: fixed;
    width: 50%;
    height: calc(100% - 3rem);
    top: 3rem;
    bottom: 0;
    right: 0;
    left: 50%;
}

.map-full > .map {
    width: 100%;
    height: calc(100% - 3rem);
    position: fixed;
    top: 3rem;
    bottom: 0;
    right: 0;
    left: 0;
}

.map > canvas {
    position: relative;
    width: 100%;
    height: 100%;
}

.map-toolbar {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;

    display: flex;
    flex-direction: row;

    justify-content: space-between;
    align-items: flex-end;
}

.map-top-left {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: rgba(255,255,255,0.75);
}

.map-bottom-right {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background-color: rgba(255,255,255,0.75);
}

.map-top-center {
    position: absolute;
    top: 1rem;
    left: 0;
    right: 0;

    display: flex;
    justify-content: center;
}

.map-toolbar {
    pointer-events: none;
}

.map-toolbar__item {
    pointer-events: all;
}
