.leaflet-control-attribution {
  position: fixed;
  bottom: 0;
  right: 0;
  border-radius: 5px 0 0 0;
}

.leaflet-control-attribution a {
  outline: none;
}

.leaflet-control-attribution img {
  padding: 5px;
  height: 30px;
}

.leaflet-popup-content-wrapper {
  border-radius: 4px;
}

.leaflet-popup-content {
  margin: 6px;
}

.leaflet-sidebar {
  height: 83.5vh !important;
}

/** {
  box-sizing: border-box;
}*/

/*html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: transparent;
  font-family: sans-serif;
  font-size: 97%;
}

#container {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  margin: 0; 
  padding: 0 0 1px 0;
  overflow: hidden;
}*/

#filter-bar {
/*   height: 55px; */
  padding: 5px 10px 5px 10px;
  background-color: rgba(255, 255, 255, 0.75);
/*   background-color: rgba(255, 255, 255, 0.6); */
/*   border-bottom: 2px solid #f7c100; */
/*   border-radius: 10px 10px 0 0; */
}

#filter-bar select {
  vertical-align: top;
}

#filter-bar .right {
  float: right;
}

.sub-filter {
  display: inline-block;
  vertical-align: top;
}

.sub-filter .title {
  display: inline-block;
  height: 40px;
  line-height: 40px;
  vertical-align: middle;
  text-align: center;
  font-size: 94%;
  font-weight: bold;
}

.sub-filter .custom-select {
  background-color: #f9f9f9;
  max-width: 120px;
  margin-right: 8px;
}

.sub-filter-btn {
  display: inline-block;
  height: 40px;
  padding-left: 2px;
  vertical-align: middle;
}

.sub-filter-btn  .custom-control {
  margin-top: 5px;
}

.sub-filter-btn  .custom-control-indicator {
  border: 1px solid black;
  margin-top: 8px;
}

.custom-control-input:focus ~ .custom-control-indicator {
    box-shadow: none !important;
}

.sub-filter-btn .custom-control-input:checked ~ .custom-control-indicator {
  background-color: #00aa5a;
}

.sub-filter-btn .custom-select{
  height: 24px;
  margin-top: 5px;
  padding: 0 20px 0 0;
}

.sub-filter2 {
  width: 19vw;
  height: 40px
}

.sub-filter2 .title {
  width: 16.6vw;
  height: 10px;
  line-height: 7px;
  text-align: center;
  font-size: 10px;
  font-weight: bold;
/*   border-bottom: 1px solid black; */
}

.sub-filter2 .fx {
  width: 16.6vw;;
  height: 15px;
  border-width: 1px 1px 0 1px;
  border-style: solid;
  border-radius: 3px 3px 0 0;
  position: fixed;
}

.sub-filter2 .sub-filter-btn {
  padding-left: 6px;
}

.sub-filter-btn  .custom-control-indicator {
  border: 1px solid black;
  margin-top: 5px;
}

#map {
  display: block;
  flex: 1;
  margin: 0;
  padding: 0;
  z-index: 1;
/*   opacity: 0.8; */
  border-top: 2px solid #f7c100;
  border-left: 2px solid #f7c100;
}

.sm-bar {
  display: flex;
  align-items: center;
  height: 20px;
  margin-top: 5px;
  font-weight: bold;
  line-height: 12px;
}

#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: #f7c100;
}

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

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

#sidebar #targa {
  border: 2px solid #f7c100;
  padding: 3px;
}

#sidebar #atc-logos img {
  max-height: 20vh;
}

.scale-bar {
  display: block;
  margin: 8px 21px 0 25px; /* AS SCALE-BAR LEFT/RIGHT TRANSLATE */
/*   width: 100%; */
  }
  
.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);
}

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

#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;
}

.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%;
}
