
select {
  margin: 10px 0 0 10px;
}

section {
  margin: 10px;
}

.palettes {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.palette {
  position: relative;
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 150px;
  padding: 8px 0;
}

.palette:after {
  content: attr(data-title);
  position: absolute;
  pointer-events: none;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  opacity: .2;
}

.palette .color {
  position: relative;
  flex: 1;
  padding: 0 8px;
}

.color:after {
  position: absolute;
  top: 0;
  content: attr(data-color);
  pointer-events: none;
  font-size: 12px;
  text-shadow: rgba(255, 255, 255, .5) 1px 1px;
}

.color-buttons {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  display: none;
}

.color:hover .color-buttons {
  display: flex;
}

.color-buttons button {
  outline: none;
  border: none;
  font-size: 12px;
  margin: 1px;
  padding: 4px;
  cursor: pointer;
  opacity: .5;
  text-shadow: rgba(255, 255, 255, .5) 1px 1px;
  box-shadow: rgba(0, 0, 0, .5) 1px 1px;
}

.color-buttons button:hover {
  opacity: .8;
}

.top-bar {
  display: flex;
  padding: 8px;
  flex-direction: row;
  justify-content: space-between;
}

.search-button {
  margin-left: 6px;
}

.search-toggle, .search-button {
  background-color: rgb(89, 124, 155);
  border: none;
  color: white;
  padding: 4px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 11px;
}

.checkbox, .radio-group {
  align-items: center;
  font-size: 10px;
  color: #333333;
  width: 300px;
}
.radio-group {
  display: flex;
  justify-content: space-between;
}

.checkbox {
  padding: 8px 8px 0 0;
  width: 150px;
}

.settings {
  display: flex;
  flex-direction: column;
}

.settings .row {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
}

.right {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
