.lego-filter-part, .lego-filter-set {
  font-size: .9em;
  font-weight: bold;
}

.lego-filter-part-image {
  max-width: 150px;
  max-height: 150px;
  width: auto;
  height: auto;
}

.lego-filter-rebrickable-icon, .lego-filter-brickset-icon, .lego-filter-bricklink-icon, .lego-filter-brickowl-icon, .lego-filter-brickcat-icon, .lego-filter-lego-icon {
  background-color: #eee;
  border: 1px solid #ccc;
  padding: 2px;
  margin: 2px;
}

.lego-filter-rebrickable-icon img, .lego-filter-brickset-icon img, .lego-filter-bricklink-icon img, .lego-filter-brickowl-icon img, .lego-filter-brickcat-icon img, .lego-filter-lego-icon img {
  vertical-align: bottom;
}

.brick-finder-parts-list {
  overflow-x: scroll;
  overflow-y: hidden;
  white-space: nowrap;
}

.brick-finder-part-container {
  display: inline-block;
  width: 10em;
  margin: 3px;
}

.brick-finder-part-wrapper {
  width: 8em;
  height: 8em;
  display: inline-block;
  overflow: hidden;
  position: relative;
  border: 2px solid #ccc;
}

.brick-finder-part-image {
  max-width: 6em;
  max-height: 6em;
  display: block;
  margin: auto;
  padding-top: 0.5em
}

.brick-finder-part-number {
  color: white;
  background: rgb(0, 0, 0); /* fallback color */
  background: rgba(0, 0, 0, 0.6);
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  padding: 3px;
}

.brick-finder-part-name {
  color: white;
  background: rgb(0, 0, 0); /* fallback color */
  background: rgba(0, 0, 0, 0.5);
  font-size: 0.8em;
  line-height: 1.1;
  position: absolute;
  width: 100%;
  max-height: 1.8em;
  bottom: 0;
  left: 0;
  padding: 3px;
}

.brick-finder-color-list {
  overflow-x: scroll;
  overflow-y: hidden;
  white-space: nowrap;
}

.brick-finder-color-wrapper {
  width: 8em;
  height: 8em;
  display: inline-block;
  overflow: hidden;
  position: relative;
  border: 2px solid #ccc;
}

.brick-finder-color-image {
  max-width: 6em;
  max-height: 6em;
  display: block;
  margin: auto;
}

.brick-finder-color-name {
  color: white;
  background: rgb(0, 0, 0); /* fallback color */
  background: rgba(0, 0, 0, 0.6);
  position: absolute;
  width: 100%;
  bottom: 0;
  left: 0;
  max-height: 3em;
  padding: 3px;
}

.brick-finder-selected {
  border: solid 2px red;
}

