html, body {
    height: 100%;
}
body {
    min-height: 100%;
    margin: 0;
}
#map {
    width: 100%;
    height: 100%;    
}