@media screen and (max-width: 992px) {
    #main_view {
        position: relative;
    }
    #local_map_div {
        display: none;
        position: absolute;
        height: 80vh;
        width: 100%;
        top: 40px;
    }
}

@media screen and (min-width: 992px) {
    #local_map_div {
        display: flex;
        flex: 1;
        flex-grow: 1;
        min-height: 60vh;
        height: 90vh;
        max-height: 100vh;
        position: sticky;
        top: 20px;
    }
}

#local_map_div {
    z-index: 2;
    flex-direction: column;
    background-color: lightgray;
    justify-content: center;
    align-items: center;
}

.leaflet-popup-close-button {
    display: none;
}

.leaflet-popup-content {
    margin: 5px;
}

.leaflet-popup-content > div{
    display: flex;
    flex-direction: column;
    line-height: 0;
    max-width: 500px;
}

.leaflet-popup-content button {
    /* max-width: 10px; */
    /* width: 12.5vw; */
    /* text-wrap: wrap; */
    display: inline-block;
    max-width: 200px;
}

#map_button_wrapper, #map_notice {
    width: 80%;
    text-align: center;
    margin: 0 auto;
    background-color: white;
    padding: 10px;
}

#map_accept {
    background-color: lightgray;
}

#map_accept:hover {
    background-color: darkgray;
}


.marker {
    width: 1.5rem;
    height: 1.5rem;
    display: block;
    left: -0.75rem;
    top: -0.75rem;
    position: relative;
    border-radius: 1.5rem 1.5rem 0;
    transform: rotate(45deg);
    border: 2px solid #FFFFFF;
    box-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}

.marker_text_big, .marker_text_small {
  position:absolute;
  color: #fff;
  font-weight:bold;
  width: 1.5rem;
  height: 1.5rem;
  display: block;
  left: -0.75rem;
  top: -0.6rem;
  text-align: center;
  text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
  font-family: Arial, Helvetica, sans-serif;
}

.marker_text_big {
  font-size:0.8rem;
}

.marker_text_small {
  font-size:0.9rem;
}