.topnav {
  overflow: hidden;
  background-color: #9CA3A0;
  height: 5%;
  display: flex;
  justify-content: flex-end;
}

.topnav button {
  /*float: left;*/
  border-style: none;
  outline: none;
  text-align: center;
  padding: 8px 8px;
  text-decoration: none;
  height: 100%;
  color: black;
  background-color: #9CA3A0;
  font-size: 1em;
  font-weight: bolder;
  cursor: pointer;

}

.main-button {
  height: 100%;
}
.topnav .main-button button{
  color: white;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  background-color: #45a31f;;
  font-size: 1.2em;
  font-weight: bold;
  }

.service-period-container {
  font-size: 1.2em;
  font-weight: bold;
  cursor: default;
}

.service-period-container button#service_period {
    color: white;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    background-color: #72b317;;
    font-size: 0.8em;
    font-weight: normal;
    cursor: default;

}
.topnav button:hover {
  /*background-color: #ddd;*/
  color: white;
}

.topnav .main-button :hover {
  color: black
}

.topnav.english {
  direction: rtl;
}

.leaflet-control-layers {
  direction: rtl;
}

#about { padding: 8px 20px; font: 18px/20px Arial, Helvetica, sans-serif; background: white; border-radius: 5px; }

.freq-list {
  direction: rtl;
  text-align: center;
}

.freq-list.popup-list {
  max-height: 500px;
  overflow-y: auto;
}

.freq-list.popup-list p
{
  font-weight: bold;
  margin-bottom: 0px;

}

.freq-list.popup-list h4 { margin: 0 0 5px; color: #777; }

.freq-table {
  text-align: right;
  direction: rtl;
  border: solid 1px #DDEEEE;
  border-collapse: collapse;
  border-spacing: 0;
  font: normal 13px Arial, sans-serif;
  align-self: center;
}
.freq-table thead th {
  text-align: center;
  background-color: #DDEFEF;
  border: solid 1px #DDEEEE;
  color: #336B6B;
  padding: 10px;
  text-shadow: 1px 1px 1px #fff;
  max-width: 45px;
  border-bottom: solid 1px darkgrey;
}
.freq-table tbody td {
  border: solid 1px #DDEEEE;
  color: #333;
  padding: 2px;
  text-shadow: 1px 1px 1px #fff;
  word-wrap: break-word;
  max-width: 45px;
}

.freq-table tbody tr.freq-route {
  background-color: rgba(192, 198, 190, 0.3);
}

#towns {
  direction: rtl;
}
