/**
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */

.hideOnMobile {
  display: none;
}

@media screen and (min-width: 576px) {
  .hideOnMobile {
    display: block;
  }
}

.filterCheckbox {
  justify-content: space-between;
}

.filterCheckbox,
.checkboxList {
  display: flex;
  align-items: center;
}

.filterCheckbox > div:first-child {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
}

.filterCheckbox > div > * {
  margin-bottom: 0;
  margin-right: 8px;
}

.checkboxList {
  flex-wrap: wrap;
}

.checkboxListItem {
  user-select: none;
  white-space: nowrap;
  height: 32px;
  font-size: 0.8rem;
  margin-top: 0.5rem;
  margin-right: 0.5rem;
}

.checkboxListItem:last-child {
  margin-right: 0;
}

.activeItem {
  display: flex;
  cursor: pointer;
  line-height: 1.5;
  border-radius: 6px;
  opacity: 1;
  background-color: var(--site-color-checkbox-checked-bg);
  border: 2px solid var(--ifm-color-primary-darkest);
}

.activeItem:hover {
  opacity: 0.75;
  box-shadow: 0 0 2px 1px var(--ifm-color-primary-dark);
}

.searchContainer {
  margin-left: auto;
}

.searchContainer input {
  height: 30px;
  border-radius: 15px;
  padding: 10px;
  border: 1px solid gray;
}

.showcaseList {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.showcaseFavorite {
  padding-top: 1.5rem;
  padding-bottom: 2rem;
  background-color: var(--site-color-favorite-background);
}

.showcaseFavoriteHeader {
  display: flex;
  align-items: center;
}

.showcaseFavoriteHeader > h2 {
  margin-bottom: 0;
}

.showcaseFavoriteHeader > svg {
  width: 30px;
  height: 30px;
}

.svgIconFavoriteXs,
.svgIconFavorite {
  color: var(--site-color-svg-icon-favorite);
}

.svgIconFavoriteXs {
  margin-left: 0.625rem;
  font-size: 1rem;
}

.svgIconFavorite {
  margin-left: 1rem;
}

.onToggleButton {
  display: inline-block;
  background-color: #18816a;
  color: var(--site-color-favorite-background);
  padding: 0.3rem 0.6rem;
  border-radius: 0.3rem;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: bold;
  margin-right: 0.75rem;
  border: none;
  box-shadow: none;
  cursor: pointer;
}
