/* GIS_portal Bubuieci */
html, body { height: 100%; margin: 0; padding: 0; }
body { display: flex; flex-direction: column; overflow: hidden; }
.container-fluid { flex: 1; min-height: 0; }
.container-fluid > .row { height: 100%; }

#map { width: 100%; height: 100%; min-height: 400px; }

/* bara laterala */
#sidebar { height: 100%; overflow-y: auto; background: #f8f9fa; border-right: 1px solid #dee2e6; }
#sidebar .list-group-item { padding: .45rem .75rem; }
#sidebar .custom-control-label { cursor: pointer; font-size: .9rem; }

/* simbolurile din legenda */
.sw { display: inline-block; width: 16px; height: 12px; margin-right: 7px; vertical-align: -1px;
      border: 1px solid rgba(0,0,0,.35); border-radius: 3px; }
.sw.ln { height: 0; border: 0; border-top: 3px solid; border-radius: 2px; vertical-align: 3px; }
.sw.pt { width: 11px; height: 11px; border-radius: 50%; border: 1px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.3); }
.legenda { margin: .25rem 0 0 2.4rem; font-size: .78rem; color: #6c757d; }
.legenda div { line-height: 1.5; }

/* rezultatele cautarii */
#rezultate .list-group-item { padding: .3rem .5rem; cursor: pointer; }
#rezultate .list-group-item:hover { background: #e9ecef; }

/* popup */
.pp-k { font-size: .7rem; font-weight: 600; color: #6c757d; text-transform: uppercase; letter-spacing: .04em; }
.pp-t { font-size: 1rem; font-weight: 700; margin: 1px 0 4px; }
.pp td { padding: 1px 0; vertical-align: top; font-size: .82rem; }
.pp td:first-child { color: #6c757d; padding-right: 10px; white-space: nowrap; }

/* ecrane mici: bara laterala deasupra hartii */
@media (max-width: 767.98px) {
  body { overflow: auto; }
  #sidebar { height: auto; max-height: 45vh; border-right: 0; border-bottom: 1px solid #dee2e6; }
  main { height: calc(100vh - 56px); }
}
