html, body { width: 100%; height: 100%; margin: 0px; } h1, h2 { font-family: Lato; } #map { width: 100%; height: 100%; } .panel { position: absolute; top: 70px; right: 10px; z-index: 1000; padding: 5px 10px; background-color: rgba(255, 255, 255, 1); border: 2px solid rgba(0, 0, 0, 0.2); width: 56px; }