#fressi-ryhmaliikunta-list .club-filter {
  max-width: 250px;
  padding: 1em 0;
}

#fressi-ryhmaliikunta-list .select-wrap,
#fressi-ryhmaliikunta-list .select-input-wrap {
  position: relative;
}

#fressi-ryhmaliikunta-list .select-wrap label {
  font-size: 14px;
  color: #666;
}

#fressi-ryhmaliikunta-list .select-input-wrap select {
  cursor: pointer;
  min-width: 16px;
  height: 45px;
  box-sizing: border-box;
  font-size: 14px;
  color: inherit;
  user-select: none;
  border-radius: 0;
  -moz-appearance: none;
  -webkit-appearance: none;
  padding: 0 14px;
  background-color: #f0f0f0;
  border: 0;
  border-bottom: 1px solid #ccc;
  width: 100%;
  transition: border-color 0.4s ease-in-out, background-color 0.4s ease-in-out;
}

#fressi-ryhmaliikunta-list .select-input-wrap select:focus,
#fressi-ryhmaliikunta-list .select-input-wrap select:focus:hover {
  border-color: #ffa300;
}

#fressi-ryhmaliikunta-list .select-input-wrap svg {
  fill: currentColor;
  width: 1em;
  height: 1em;
  display: inline-block;
  font-size: 1.5rem;
  user-select: none;
  color: #444;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  right: 7px;
  pointer-events: none;
}

.ryhmaliikunta-table {
  display: flex;
  flex-flow: row wrap;
  align-items: self-start;
  margin: -1rem;
  position: relative;
}

.ryhmaliikunta-table.loading:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(255, 255, 255, 0.7);
}

.ryhmaliikunta-box {
  margin: 1rem;
  max-width: calc(33% - 1.9rem);
  flex: 100%;
  background: #fff;
  box-shadow: 1px 1px 20px rgba(0, 0, 0, 0.1);
}

.ryhmaliikunta-box.hidden {
  display: none;
}

.ryhmaliikunta-box__inner {
  padding: 1rem;
}

.ryhmaliikunta-box__info {
  text-transform: uppercase;
  font-size: 12px;
  line-height: 1.5em;
}

.ryhmaliikunta-box__classname {
  cursor: pointer;
}

.ryhmaliikunta-box__description {
  max-height: 100px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.ryhmaliikunta-box__description:after {
  content: "";
  background: linear-gradient(0, white, transparent);
  height: 100px;
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.show-description .ryhmaliikunta-box__description {
  max-height: 100%;
  overflow: visible;
}

.show-description .ryhmaliikunta-box__description:after {
  height: 0;
}

.ryhmaliikunta-box__classname {
  border-bottom: 1px solid;
}

.ryhmaliikunta-box__button {
  display: block;
  margin-top: 1rem;
  font-size: 14px;
  text-align: center;
}

.ryhmaliikunta-load-more-button {
  margin: 2rem auto 0 auto;
  display: block;
  background-color: transparent;
  color: #ff9c00;
  border: 2px solid;
}

.ryhmaliikunta-load-more-button.hidden {
  display: none;
}
