/* 8. Child  */

/* Pure CSS read more toggle */
/* https://codepen.io/Idered/pen/AeBgF */

.filter-add-search {
  display: flex;
}

.filter-add-genre {
  column-count: 2;
  column-width: 50%;
}

.filter-add-group, .filter-add-genre {
  font-weight: var(--font-weight-bold);
}

.filter-add-search input {
  width: calc(100% - var(--form-height));
  max-width: calc(var(--form-width) - var(--form-height));
}

.filter-add-search button {
  width: var(--form-height);
  padding: 0;
}

.filter-add-rating, .filter-add-fsk, .filter-add-year {
  display: flex;
  justify-content: space-between;
}
.filter-add-rating select, .filter-add-fsk select, .filter-add-year select {
  width: 100%;
}
.filter-add-rating span, .filter-add-fsk span, .filter-add-year span {
  line-height: var(--form-height);
  padding: 0 .5em;
}

select[class^="filter-add-"] {
  margin-bottom: .75em;
}

ul[class^="filter-add-"] {
  padding: 0;
  list-style-type: none;
}

div.filter-format-wrapper {
  display: flex;
}

ul.filter-add-format, .filter-add-onstock {
  margin-right: 10px;
}
ul.filter-add-format li, .filter-add-onstock li {
  margin-bottom: 5px;
}

.filter-active {
  border-left: 10px solid var(--color);
  margin-bottom: 1em;
  padding-left: 1em;
}
.filter-active h2 {
  margin-bottom: .2em;
}

.filter-active-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.filter-active-list > li:before {
  content: "";
}

@keyframes filter-active-item-new {
  0% {
    background-color: transparent;
  }
  10% {
    background-color: var(--color-grey);
  }
  50% {
    background-color: var(--color-grey);
  }
  100% {
    background-color: transparent;
  }
}

.filter-active-item-new {
  animation: filter-active-item-new 3s;
}
