.map { position: absolute; top: 0; left: 0; bottom: 0; right: 0; z-index: 1; } #mapSelection img { display: inline; width: 1em; height: 1em; vertical-align: -0.15em; } /* modify the cursor for the Leaflet map */ .leaflet-container { cursor: crosshair; } #panorama { position: absolute; z-index: 1; visibility: hidden; } #noPano { display: flex; justify-content: center; align-items: center; position: absolute; z-index: 2; visibility: hidden; background: #cccccc; } #noPano>p { text-align: center; } #control { position: absolute; top: 10px; right: 10px; width: 125px; z-index: 3; } #placeControl { position: absolute; right: 10px; z-index: 3; width: 100px; visibility: hidden; } #deleteButton { display: none; } @media screen and (max-width: 999px) and (min-height: 600px) { #map.selected { height: 50%; } #panorama, #noPano { left: 0; bottom: 0; right: 0; height: 50%; } #placeControl { top: calc(50% + 10px); } .hideOnMobile { display: none; } } @media screen and (min-width: 1000px), (max-height: 599px) { #map.selected { top: 0; bottom: 0; left: 0; width: 50%; } #panorama, #noPano { top: 0; bottom: 0; right: 0; width: 50%; } #placeControl { top: 10px; } #modified.selected { right: calc(50% + 10px); } #control.selected { right: calc(50% + 10px); } }