.vxn-ecosistemi-sidebar {
  width: 100%;
  /* height: 100%; */
  overflow-x: hidden;
  overflow-y: auto;
}

.vxn-ecosistemi-sidebar .group-label {
  font-weight: bold;
  margin: 1rem 0;
  border-bottom: 1px solid black;
}

.vxn-ecosistemi-sidebar .group-label div:first-child{
  padding: 0 0.2rem;
}

.vxn-ecosistemi-sidebar .group-field, .vxn-ecosistemi-sidebar .group-field-list {
  padding: 0 0.6rem;
}

.vxn-ecosistemi-sidebar .group-field div:first-child {
  font-weight: bold;
}

.legend-img {
  max-width: 18px;
  margin: 0 5px 0 0;
  vertical-align: middle;
}

.leaflet-control-layers-selector {
  margin-left: 15px;
  vertical-align: text-bottom;
}

.leaflet-control-layers-list {
  padding: 2px;
}

.dot {
  height: 15px;
  width: 15px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
}

@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {
    /* IE10+ CSS here */
    .img-fluid, .legend-img {
      width: 100%;
    }
}

.ente-popup {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.ente-popup .logo {
  width: 30px;
  flex-grow: 0;
  flex-shrink: 0;
  margin: 0 5px 0 0;
/*   overflow: hidden; */
}

.ente-popup .logo img {
  width: 100%;
/*   height: 100%;  */
}

.ente-popup .name {
  width: 100%;
  font-weight: bold;
  font-size: 110%;
}

#sidebar {
  width: 35vw;
}

#sidebar h1 {
  margin: 0;
  padding: 2px 0;
  font-size: 2vw;
  font-weight: bold;
}

#sidebar .text-center{
  display: block;
  text-align: center;
}

#sidebar .ente-container {
  display: flex;
  flex-direction: row;
}

#sidebar .ente-info h1 {
  color: #a83250;
}

#sidebar .ente-logo {
  max-height: 7vw;
  padding: 5px 20px 0 0;
  text-align: center;
}

#sidebar .ente-logo img {
  height: 100%;
}

.scale-bar {
  display: block;
  margin: 8px 21px 0 25px; /* AS SCALE-BAR LEFT/RIGHT TRANSLATE */
/*   width: 100%; */
}

.scale-bar .bar {
  background-color: #bdd7ee;
}

.scale-bar .circle {
  background-color: #5b9bd5;
  border-color: #41719c;
}

.scale-bar .popover-content {
  display: none;
}

.smile-container {
  display: flex;
  flex-direction: columns;
}

.smile-container-center {
  width: 100%;
  text-align: center;
  justify-content: center;
  align-items: center;
}

.smile-container img{
  width: 20px;
  height: 20px;
  margin: 5px;
}

.scale-bar .title {
/*   font-size: 1.1vw; */
  font-weight: bold;
}

.scale-bar .bar {
  width: 100%;
  height: 10px;
  border-radius: 3px;
  margin: 3px 0 2px 0;
}

.scale-bar .bar .circle {
  position: relative;
  top: -4px;
  left: -9px;
  width: 18px;
  height: 18px;
  border-width: 3px;
  border-style: solid;
  border-radius: 50%;
}

.scale-bar .bar .circle .value {
  position: relative;
  width: 18px; /* AS .CIRCLE */
  top: 16px;
  left: -3px; /* AS .CIRCLE BORDER */
  text-align: center;
  line-height: 14px; /* AS SCALE_LABEL */
}

.scale-label {
  width: 100%;
  height: 14px;
}

.scale-label .left{
  display: inline-block;
  width: 50%;
  text-align: left;
  /* transform: translate(-21px, 0); */
  transform: translate(-30px, 0);
}

.scale-label .right{
  display: inline-block;
  width: 50%;
  text-align: right;
  transform: translate(25px, 0);
}

.popover {
  z-index: 2000 !important;
}

#i1 .bar {
  background-color: #23d285;
}

#i1 .circle {
  background-color: #00af62;
  border-color: #168151;
}

/* DEMO DATA */


#p-compl .bar {
  background-color: #bdd7ee;
}

#p-compl .circle {
  background-color: #5b9bd5;
  border-color: #41719c;
}

#p-regole .bar {
  background-color: #ffd966;
}

#p-regole .circle {
  background-color: #c8aa50; /* val 200 */
  border-color: #96803c;  /* val 150 */
}

#p-risul .bar {
  background-color: #7030a0;
}

#p-risul .circle {
  background-color: #60298a;
  border-color: #4e2170;
}

#p-serv .bar {
  background-color: #ff0000;
}

#p-serv .circle {
  background-color: #bf0000;
  border-color: #9d0000;
}

#p-control .bar {
  background-color: #0070c0;
}

#p-control .circle {
  background-color: #00528d;
  border-color: #004170;
}

/* DEMO DATA */

.leaflet-top, .leaflet-bottom {
  z-index: 800;
}

#filter-bar {
    display: flex;
    justify-content: center;
    padding-top: 10px;
    padding-bottom: 10px;
}
  
@media screen and (max-width: 800px) {
    #filter-bar {
        display: block;
    }

    #sidebar {
        width: 85vw;
    }
}