#map {
  width: 100%;
  /* height: 50vh; */
  height: 500px;
  border-radius: 20px;
  position: relative;
  outline: none;
}

#map-area {
  border-radius: 20px;
  box-shadow: 3px 3px 6px rgb(0 0 0 / 20%);
  position: relative;
  margin-top: 2rem;
}

.btn-google {
  border: none;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(63, 63, 68, 0.1);
  background-color: #ffffff;
  padding: 8px;
}

.btn-google:hover,
.btn-google:focus {
  background: #ececec;
  /* color: var(--text-white); */
}

#legenda {
  display: flex;
  padding-top: 20px;
  padding-bottom: 20px;

  font-size: 16px;
  color: #313131;
  line-height: 1.2;
  text-align: start;
  font-weight: 700;
  justify-content: space-between;
  column-gap: 32px;
  row-gap: 16px;
  flex-wrap: wrap;
}
#legenda .legendaItem {
  display: flex;
  align-items: center;
  column-gap: 16px;
}

#legenda #legendaIcon {
  height: 52px;
  width: 36px;
  min-width: 36px;
  vertical-align: middle;
  display: inline-block;
  height: 32px;
}

#legenda #legendaIcon.verificado {
  background: url(images/verificado.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
#legenda #legendaIcon.nao_verificado {
  background: url(images/nao_verificado.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

#legenda #legendaIcon.detran {
  background: url(images/detran.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
#legenda #legendaIcon.detranAgencia {
  background: url(images/detran-ag.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
#legenda #legendaIcon.detranPontoDeAtendimento {
  background: url(images/detran-pa.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

#legenda #legendaIcon.clinica {
  background: url(images/clinica.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

#legenda #legendaIcon.cfc {
  background: url(images/cfc.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
#legenda #legendaIcon.despachante {
  background: url(images/despachante.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
#legenda #legendaIcon.ecv {
  background: url(images/ecv.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.marker-cluster div {
  background-color: rgba(51, 102, 51, 0.8) !important;
  /* #336633; */
}

.marker-cluster {
  background-color: rgba(147, 196, 139, 0.6) !important;
  /* #93C48B */
}

.legend {
  font-size: 12px;
}

.leaflet-popup-content table th {
  text-align: center;
  border-bottom: 1px solid #ddd;
  padding-bottom: 12px;
}
/* .leaflet-popup-content table td {
  border-bottom: 1px solid #ddd;
} */
.leaflet-popup-content table tr:nth-last-child(2) td,
.leaflet-popup-content table tr:nth-last-child(1) td {
  border-bottom: none;
}
.leaflet-popup-content table td:first-child,
#resultTable .extraContent td:first-child {
  font-weight: 500;
  vertical-align: top;
  padding-right: 8px;
  min-width: 104px;
}

tr.collapse.popupExtraInfo {
  display: table-row;
}

tr[aria-expanded="false"].popupExtraInfo {
  display: table-row;
  opacity: 0;
  line-height: 0px;
  transition: all 0.5s ease;
}

tr[aria-expanded="true"].popupExtraInfo {
  display: table-row;
  opacity: 1;
  line-height: inherit;
  transition: all 0.5s ease;
}

.popupExtraInfo[aria-expanded="false"] td {
  padding-top: 0px;
  padding-bottom: 0px;
  transition: all 0.5s ease-in-out;
}

.popupExtraInfo[aria-expanded="true"] td {
  padding-top: 4px;
  padding-bottom: 4px;
  transition: all 0.5s ease-in-out;
}

.popupExtraInfo.title {
  cursor: pointer;
  padding-top: 16px;
  text-align: center;
  line-height: 32px;
  font-weight: 400;
  border-bottom: 1px solid #ddd !important;
}

.popupExtraInfo i {
  font-size: 24px;
  float: left;
  line-height: 32px;
  width: 24px;
  text-align: center;
}

.popupExtraInfo.collapsed i {
  transition-duration: 500ms;
}

.popupExtraInfo:not(.collapsed) i {
  transform: rotate(90deg);
  transition-duration: 500ms;
}
