/* Optional: Makes the sample page fill the window. */
html,
body {
  /*height: 100%;*/
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
}

#container {
  /*height: 100%;*/
  width: 100%;
  height: auto;
  box-sizing: border-box;
  display: flex;
}

#sidebar {
  flex-basis: 15rem;
  flex-grow: 1;
  padding: 2rem;
  max-width: 50rem;
  /*height: 100%;*/
  /*width: 40%;*/
  /*height: auto;*/
  height: 99vh;
  box-sizing: border-box;
  overflow: auto;
  /*float: left;*/
}


/* For mobile phones: */
[ class="col-"] {
  width: 100%;
}
@media only screen and (min-width: 600px) {
  /* For tablets: */
  .col-s-1 {width: 8.33%;}
  .col-s-2 {width: 16.66%;}
  .col-s-3 {width: 25%;}
  .col-s-4 {width: 33.33%;}
  .col-s-5 {width: 41.66%;}
  .col-s-6 {width: 50%;}
  .col-s-7 {width: 58.33%;}
  .col-s-8 {width: 66.66%;}
  .col-s-9 {width: 75%;}
  .col-s-10 {width: 83.33%;}
  .col-s-11 {width: 91.66%;}
  .col-s-12 {width: 100%;}
}
@media only screen and (min-width: 768px) {
  /* For desktop: */
  .col-1 {width: 8.33%;}
  .col-2 {width: 16.66%;}
  .col-3 {width: 25%;}
  .col-4 {width: 33.33%;}
  .col-5 {width: 41.66%;}
  .col-6 {width: 50%;}
  .col-7 {width: 58.33%;}
  .col-8 {width: 66.66%;}
  .col-9 {width: 75%;}
  .col-10 {width: 83.33%;}
  .col-11 {width: 91.66%;}
  .col-12 {width: 100%;}
}

#sidebar_Side {
  align-self: center;
  /*width: 100%;*/
  height: auto;
  box-sizing: border-box;
  overflow: auto;
  /*float: left;*/
}

#map {
  /*flex-basis: 0;*/
  flex-grow: 4;
  /*height: 100%;*/
  min-height: 100vh; /* Altezza minima pari al 100% della viewport */
  box-sizing: border-box;
  width: 100%;
  height: auto;
}

#directions-panel {
  margin-top: 10px;
  width: 100%;
  height: auto;
  align-self: flex-start;
  /*float: left;*/
  box-sizing: border-box;
}

#tablewaypoints {
  text-align: center;
  color: blue;
  width: 100%;
  height: auto;
  box-sizing: border-box;
}