    html,
    body,
    #map {
      height: 100%;
      width: 100%; 
      margin: 0;
      padding: 0;
	  top: 0;
	  position: absolute;
    }  
	* {box-sizing: border-box;}
.footer {
  overflow: hidden;
  background-color: black;
  padding: 20px 10px;
}

.footer a {
  float: left;
  color: white;
  text-align: center;
  padding: 12px;
  text-decoration: none;
  font-size: 18px; 
  line-height: 25px;
  border-radius: 4px;
}

.footer a.logo {
  font-size: 25px;
  font-weight: bold;
}

.footer a:hover {
  background-color: #ddd;
  color: black;
}

.footer a.active {
  background-color: dodgerblue;
  color: white;
}

.footer-left {
  float: left;
}
label {
  cursor: pointer;
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid;
  border-radius: 4px;
  background: #336600;
  color: #FFF;
  font-family: arial;
  -webkit-transition: background-color 0.1s, color 0.1s;
  z-index: 999999;
  position: absolute;
}

label:hover {
  background: #33CC00;
  color: #000;
}

.route_details {
  -webkit-transition: height .3s ease;
  height: 0;
  top: 95px;
  overflow: scroll;
  width: 200px;
  background: rgba(0,0,0,0.3);
  z-index: 9999;
  position: absolute;
}
.filters {
  -webkit-transition: height .3s ease;
  height: 200px;
  top: 50px;
  overflow: scroll;
  width: 300px;
  right: 0px;
  background: rgba(0,0,0,0.3); 
  z-index: 9999;
  position: absolute;
}

input:checked + .route_details{
  height: 90%;
}


.loc {
position: absolute;
left: 40%;
top: 10%;
background-color: rgba(50, 115, 220, 0.3);
z-index: 99999;
}


@media screen and (max-width: 500px) {
  .footer a {
    float: none;
    display: block;
    text-align: left;
  }
  
  .footer-right {
    float: none;
  }
}
.header {
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.3);
  position: absolute;
  z-index: 9999;
}

.header a {
  float: left;
  color: black;
  text-align: center;
  padding: 12px;
  text-decoration: none;
  font-size: 18px; 
  line-height: 25px;
  border-radius: 4px;
}

.header a.logo {
  font-size: 25px;
  font-weight: bold;
  z-index: 9999;
}

.header a:hover {
  background-color: #ddd;
  color: black;
}

.header a.active {
  background-color: dodgerblue;
  color: white;
}

.header-right {
  float: right;
}


@media screen and (max-width: 500px) {
  .header a {
    float: none;
    display: block;
    text-align: left;
  }
  
  .header-right {
    float: none;
  }
}