/* legends with rset */

.reset-all-filters-field {
  display: flex;
  white-space: nowrap;
  align-items: center;
}

.disable-legend-reset-block .visualisation-legends-with-reset {
  display: none;
}

.visualisation-legends-with-reset.visualisation-legends-top {
  margin-bottom: 30px;
}

.visualisation-legends-with-reset {
  display: flex;
  align-items: center;
}

.visualisation-legends-with-reset .reset-all-filters-field {
  margin-bottom: 10px;
}

.visualisation-legends-with-reset .visulisation-legends-section {
  padding-right: 20px;
  margin-right: 20px;
  position: relative;
}

.visualisation-legends-with-reset .custom-legend-block {
  margin-top: 0;
}

.visualisation-legends-with-reset .visulisation-legends-section:after {
  content: "";
  display: block;
  width: 1px;
  background: #dbdbdb;
  height: calc(100% - 10px);
  position: absolute;
  right: 0;
  top: 0;
}

.visualisation-legends-with-reset .legend-item {
  width: auto;
  margin-right: 20px !important;
}

.visualisation-legends-with-reset .legend-item:last-child {
  margin-right: 0 !important;
}

.visualisation-legends-with-reset .custom-legend-block .symbol {
  flex-shrink: 0;
}


/* more / less legend options */

.visualisation-legends-with-more.show-all-legends-items .for-more-opt,
.visualisation-legends-with-more .for-less-opt,
.visualisation-legends-with-more .legend-hide-default {
  display: none;
}

.visualisation-legends-with-more .legend-more-opt-link {
  color: #4d4d4d;
  font-weight: 400;
  display: inline;
}

.visualisation-legends-with-more .legend-more-opt-link span {
  color: #1fa29c;
  text-decoration: underline;
}

.visualisation-legends-with-more .legend-more-opt-link span:hover {
  color: #4d4d4d;
}

.visualisation-legends-with-more .legend-more-opt-link strong {
  font-weight: 500;
}

.visualisation-legends-with-more.show-all-legends-items .for-less-opt {
  display: block;
}

.visualisation-legends-with-more.show-all-legends-items .legend-hide-default {
  display: flex;
}
