.scatter-graph {
  margin-left: 40px;
  display: flex;
}

.col-md-6 .scatter-graph {
  margin-left: 10px;
}

.scatter-legend {
  float: right;
  overflow: auto;
  margin-top: 10px;
  margin-left: 5px;
}

.scatter-legend-head {
  margin: 5px 10px 10px 10px;
  display: flex;
  flex-direction: column;
}

.scatter-legend-name {
  font-weight: bold;
}

.stateful-link {
  color: #3D5A87;
  cursor: pointer;
}

.stateful-link.disabled {
  color: rgb(197, 210, 227);
  cursor: default;
}

.scatter-legend-row {
  height: 30px;
  cursor: pointer;
  background-color: #FFF;
  border: 1px solid #DDD;
  border-radius: 3px;
  margin-top: 3px;
}

/** Like hover state for React Select */
.scatter-legend-row:hover {
  border-color: $action-color;
}

.scatter-legend-icon {
  width: 29px;
  height: 29px;
  margin: 0 10px 0 -1px;
  float: left;
  border-radius: 2px 0 0 2px;
  display: flex;
  justify-content: center;
  align-items: center;
  svg {
    color: #fff;
  }
}

.scatter-legend-entry {
  position: relative;
  display: flex;
  top: 5px;
  white-space: pre;

  .legend-label {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-right: 5px;
  }

  .num-points {
    margin-left: auto;
    margin-right: 5px;
  }
}

.scatter-legend-row {
  opacity: 0.3;
}

.scatter-legend-row.shown {
  opacity: 1;
}

.unfiltered {
  .scatter-legend-row {
    opacity: 1;
  }
}

.cluster-external-link-container {
  padding-bottom: 6px;
  margin-bottom: 8px;
  border-bottom: 1px solid #CCC;
}

.no-border {
  border-style: hidden;
  outline: none;
}

.legend-search-icon {
  border-style: hidden;
  color: $action-color;
  padding: 5px 5px 5px 5px;
}

.legend-search {
  display: flex;
  align-items: center;
  border-radius: 10px;
  border: 1px solid $action-color;
  margin-top: 5px;
  margin-bottom: 5px;
  font-weight: 500;
  height: 38px;
  width: 100%;
}
