html,
body {
  margin: 0;
  height: 100%;
}

#map {

  top: 0;
  bottom: 0;
  width: 100%;
}