/* Background color for the top bar */
body {
    background: rgb(11, 42, 99);
    background: linear-gradient(90deg, rgba(11, 42, 99, 1) 38%, rgba(5, 39, 89, 1) 100%);
  }
.navbar-brand {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}
.navbar-fixed-top {
  pointer-events: none;
}
/* Background color for the top bar */

/* Left side menu */
.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 9999999999;
  top: 0;
  left: 0;
  background: rgb(11, 42, 99);
  background: linear-gradient(90deg, rgba(11, 42, 99, 1) 33%, rgba(15, 77, 168, 1) 100%);
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 20px;
}

.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 1.3em;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.sidenav .ruas a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 1em;
  color: black;
  display: block;
  transition: 0.3s;
  border: 1px solid black;
  background-color: #f1f1f1;
  border-radius: 3px;
}                       

.sidenav a:hover {
  color: #1f5172;
}

.sidenav .closebtn {
  float:right;
  font-size: 36px;
}

/* Left side menu */

.label_bloqueios {
  font-size: 1.3em;
  text-decoration: underline;
  margin-top: 1em;
  margin-left: 0.5em;
  color: #f1f1f1;
  display: block;
}

.Origem-Icon {
  width: 41px;
  height: 41px;
  pointer-events: none;
}

.Destino-Icon {
  width: 25px;
  height: 41px;
  margin-right: 15px;
  vertical-align: middle;
  transform: translateX(30%);
  pointer-events: none;
}

/* pesquisa css */
.Pesquisa-wrapper input {
  pointer-events: auto;
}

.bt_pesquisa_inputs {
  pointer-events: auto;
}

.Pesquisa-wrapper label,
.Pesquisa-wrapper {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis; /* Optional: To add "..." if the text overflows */
  pointer-events: none;
}
/* pesquisa css */

/* legend css */
.legend {
  padding: 6px 8px;
  font: 14px Arial, Helvetica, sans-serif;
  background: white;
  background: rgba(255, 255, 255, 0.8);
  line-height: 24px;
  color: #555;
}

.legend h4 {
  text-align: center;
  font-size: 16px;
  margin: 2px 12px 8px;
  color: #777;
}

.legend span {
  position: relative;
}

.legend-icon {
  width: 25px;
  height: 25px;
  pointer-events: none;
}

.legend-icon-pontudo {
  width: 25px;
  height: 41px;
  pointer-events: none;
}

.leaflet-control-locate {
  top: 80px;
  right: 7px;
}

.info.legend {
  width: 150px; /* Adjust based on your needs */
  height: auto;
  padding: 10px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 5px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

#toggleLegend {
  float: right;
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  margin-right: -45px;
  margin-top: -1px;
  color: black;
  transition: transform 0.3s ease;
}
#toggleLegend.active {
  transform: rotate(180deg);
}
.info.legend {
  transition: margin-left 0.3s ease-in-out;
}

.info.legend.collapsed {
  margin-left: -150px;
}

#ruasBloqueadasBtn {
  pointer-events: auto;
}
/* legend css */

/* help icon css: */
.help-icon-container {
  position: absolute;
  top: 10px;
  right: 10px;
}

.help-icon {
  width: 24px;
  height: auto;
  cursor: pointer;
  pointer-events: auto;
}
/* help icon css: */



