#trip-wrap {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    height: 160px;
    overflow: auto;
}

#trip { margin-top: 0; margin-bottom: 0 }
#map-wrap { position: fixed; top: 220px; left: 0; right: 0; bottom: 0 }
#map-canvas { height: 100% }

#controls-wrap {
  position: absolute;
  width: 100%;
  top: 0;
  z-index: 42;
  text-align: center;
  pointer-events: none; /* don't block map controls in corner */
}
#controls {
  display: inline-block;
  border-bottom: 1px solid #fff;
  border-left: 1px solid #fff;
  border-right: 1px solid #fff;
  -moz-border-radius: 0 0 5px 5px;
  -webkit-border-radius: 0 0 5px 5px;
  border-radius: 0 0 5px 5px;
  background-color: rgba(255, 255, 255, 0.7);
  padding: 10px;
  margin-left: auto;
  margin-right: auto;
  pointer-events: auto;
}
#date {
  text-align: center;
}

#trip-wrap {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    height: 160px;
    overflow: auto;
    box-shadow: 0 20px 20px -20px grey;
    z-index: 1;
}

#trip { margin-top: 0; margin-bottom: 0 }
#map-wrap { position: fixed; top: 220px; left: 0; right: 0; bottom: 0 }
#map-canvas { height: 100% }

#controls-wrap {
  position: absolute;
  width: 100%;
  top: 0;
  z-index: 42;
  text-align: center;
  pointer-events: none; /* don't block map controls in corner */
}
#controls {
  display: inline-block;
  border-bottom: 1px solid #fff;
  border-left: 1px solid #fff;
  border-right: 1px solid #fff;
  -moz-border-radius: 0 0 5px 5px;
  -webkit-border-radius: 0 0 5px 5px;
  border-radius: 0 0 5px 5px;
  background-color: rgba(255, 255, 255, 0.7);
  padding: 10px;
  margin-left: auto;
  margin-right: auto;
  pointer-events: auto;
}
#date {
  text-align: center;
}

Make leg sequence vs map edge pretty
Make leg sequence vs map edge pretty
