html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
}

#map {
  min-height: 100%;
}

.news-container {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  height: 60px;
  overflow: hidden;
  background-color: white;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.news-wrapper {
  display: flex;
  width: max-content;
  height: 100%;
}

.news-ticker {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
}

.news-ticker p {
  flex: 0 0 auto;
  margin: 0 30px;
  white-space: nowrap;
  font-size: 20px;
  color: black;
}

@keyframes newsLineTicker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.filter-container {
  display: none;
  position: absolute;
  bottom: 0px;
  background-color: white;
  margin: 10px;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  z-index: 1100;
}

.routes-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-content: space-around;
  max-height: 85vh;
  overflow-y: scroll;
  padding-right: 10px;
}

.filter-route {
  cursor: pointer;
  padding: 8px 16px;
  margin: 4px;
  border-radius: 4px;
  background-color: #e0e0e0;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  transition:
    background-color 0.3s,
    color 0.3s;
  border: 1px solid transparent;
  display: inline-block;
}

.filter-route_selected {
  background-color: #1e90ff;
  color: #ffffff;
  border: 1px solid #1c86ee;
}

.filter-route:active {
  background-color: #c0c0c0;
  color: #000;
}

.filter-management {
  display: flex;
  justify-content: space-around;
  padding-top: 20px;
}

.route-container {
  display: none;
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: white;
  border-radius: 5px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  max-width: 70%;
  cursor: pointer;
}

.route-display {
  padding: 10px;
}

.route-bus-row {
  display: flex;
  justify-content: space-between;
  padding: 5px 10px 5px 10px;
  box-sizing: border-box;
}

.route-bus-row_selected {
  border: 4px solid dodgerblue;
  margin: -4px;
}

.text_bold {
  font-size: 18px;
  font-weight: 500;
}

.text_normal {
  font-size: 14px;
}

.info {
  position: absolute;
  bottom: 70px;
  left: 10px;
  background-color: white;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.developer {
  padding-top: 2px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.developer-icons {
  display: flex;
}

.developer-icon {
  padding-left: 12px;
}

.right-bottom-container {
  position: absolute;
  display: flex;
  flex-direction: column;
  bottom: 70px;
  right: 10px;
  z-index: 1000;
}

.apply-button {
  background-color: #4caf50;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  font-size: 16px;
}

.reset-button {
  background-color: #f44336;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  font-size: 16px;
}

.emoji-button {
  cursor: pointer;
  background-color: white;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  font-size: 20px;
}

.filter-button {
  position: relative;
}

.filter-button.active::after {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  width: 12px;
  height: 12px;
  background-color: red;
  border: 2px solid white;
  border-radius: 50%;
}

.location-button {
  margin-top: 10px;
}

.route_selected {
  background-color: dodgerblue;
}

.route_not_selected {
  background-color: grey;
}

.bus-icon {
  position: relative;
}

.bus-icon_normal {
  width: 12px;
  height: 19px;
}

.bus-icon_selected {
  width: 15px;
  height: 22px;
}

.bus-icon .bus-icon-top {
  height: 35%;
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
  position: relative;
}

.bus-icon-top_normal {
  border-top: 1.5px solid black;
  border-right: 1.5px solid black;
  border-left: 1.5px solid black;
}

.bus-icon-top_selected {
  border-top: 2px solid black;
  border-right: 2px solid black;
  border-left: 2px solid black;
}

.bus-icon .bus-icon-top .bus-icon-top-stripe {
  position: absolute;
  width: 50%;
  height: 1.5px;
  background-color: black;
  top: 40%;
  left: 25%;
}

.bus-icon .bus-icon-top .bus-icon-top-left-dot {
  position: absolute;
  width: 10%;
  background-color: black;
  top: 40%;
  left: -25%;
}

.bus-icon .bus-icon-top .bus-icon-top-right-dot {
  position: absolute;
  width: 10%;
  background-color: black;
  top: 40%;
  right: -25%;
}

.bus-icon-top-dot_normal {
  height: 1.5px;
}

.bus-icon-top-dot_selected {
  height: 2px;
}

.bus-icon .bus-icon-bottom {
  height: 65%;
}

.bus-icon-bottom_normal {
  border: 1.5px solid black;
}

.bus-icon-bottom_selected {
  border: 2px solid black;
}

.bus-route-short-name {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translate(-50%, -20%);
  background-color: white;
  padding: 2px 5px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: bold;
  z-index: 1;
  white-space: nowrap;
}

.bus-route-short-name::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: white transparent transparent transparent;
}

.bus-stop-icon {
  position: relative;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: dodgerblue;
  border: 2px solid transparent;
}

.bus-stop-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  background-color: white;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
