/* Search & results */
div#search {
  width: 100%;
}

input#search-box {
  width: 500px;
}

span.small-text {
  font-size: 0.75em;
  color: #999;
}

div#results-counter {
  font-size: 0.8em;
  margin-bottom: 10px;
}

div#card-list {
  width: 100%;
}

/* Collapsible sections */
section.set {
  background: #333;
  border: 1px solid #000;
}

section.set > input[type="checkbox"] {
  display: none;
}

section.set label {
  display: block;
  padding: 10px;
}
section.set label:hover {
  cursor: pointer;
  background: #444;
  color: #fff;
}
section.set label span.collapse-arrow {
  display: inline-block;
  border: solid #777;
  border-width: 0 1px 1px 0;
  padding: 3px;
  margin: 0 5px 2px -3px;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

section.set div.set-content {
  overflow-y: hidden;
  height: 0;
}

section.set > input[type="checkbox"]:checked ~ div.set-content {
  overflow: visible;
  height: auto;
  
  padding: 10px;
  background: #444;
}
section.set > input[type="checkbox"]:checked ~ label span.collapse-arrow {
  margin: 0 3px 4px -1px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

/* Cards */
div.card {
  position: relative;
  display: inline-block;
  width: 250px;
  height: 348px;
  margin-right: 5px;
}

div.card a {
  display: block;
  width: 100%;
  height: 100%;
}
div.card a:hover {
  background: #fff;
  border-radius: 12px;
}

div.card img {
  width: 100%;
  border-radius: 12px;
}
div.card img:hover {
  opacity: 0.8;
}