* {
  box-sizing: border-box;
}

.container.kl-demos-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
section.kl-demo-list {
  width: 100%;
  min-height: 100px;
  overflow: auto;
}

.kl-demo-list .no-results {
  font-size: 18px;
  color: #949494;
  font-weight: bold;
  text-align: center;
}

.kl-demo-card {
  width: 254px;
  position: relative;
  display: inline-block;
  text-align: left;
}

.kl-demo-card:hover {
  transform: scale(0.98);
}

.kl-demo-card a:hover {
  text-decoration: none;
}

.kl-demo-card a:hover h4 {
  color: #009968;
}

.kl-demo-card img {
  width: 100%;
  height: 157px;
}

.kl-demo-card-container {
  margin: 12px 24px;
  text-align: center;
  min-width: 254px;
}

.kl-demo-card h4 {
  margin: 4px 0px;
  width: 236px;
  white-space: nowrap;
  color: #2d3741;
}

.kl-demo-card footer {
  padding: 4px 8px;
  background: rgba(45, 56, 63, 0.05);
  height: 84px;
}

.kl-demo-card footer p {
  color: #565555;
}

.kl-demo-list .kl-demo-card {
  height: 243px;
  margin: 0 auto;
  overflow: hidden;
  border: #dcdfe3 1px solid;
}

.kl-demo-header {
  padding: 0px 4px;
  top: 30px;
  z-index: 1;
}

.kl-demo-header .search-panel {
  justify-content: center;
  display: flex;
  text-align: center;
  margin-left: 25%;
  margin-right: 25%;
  margin-top: 24px;
  margin-bottom: 4px;
}

.kl-demo-header .search-panel input {
  flex: 1;
  padding: 6px 12px;
  border-radius: 0;
  font-size: 14px;
  min-width: 245px;
  max-width: 800px;
  height: auto;
}

.kl-demo-header .cat-panel {
  text-align: center;
  margin-bottom: 20px;
}

.kl-demo-header .cat-item {
  display: inline-block;
  cursor: pointer;
  border: solid 1px #959b9f;
  padding: 4px 8px;
  margin: 6px 4px;
  color: #2d3741;
  user-select: none;
}

.kl-demo-header .cat-item:hover,
.kl-demo-header .cat-item:focus {
  color: #009968;
  border-color: #00c980;
  outline: none;
}

.kl-demo-header .cat-item.active {
  color: white;
  background-color: #009968;
  border-color: #009968;
}

.kl-demo-card-container .label {
  font-size: inherit;
  position: absolute;
  right: 0;
  border-radius: 0px;
  background-color: #ff6d66;
  margin: 0;
}

#try-kronograph {
  max-width: 1080px;
  align-self: center;
  background-color: rgba(255, 136, 56, 0.1);
}

@media (max-width: 635px) {
  .kl-demo-card-container {
    width: 100%;
    margin: 12px 0px;
  }

  .kl-demo-card:nth-child(n + 1) {
    margin: 0px;
  }

  .kl-demo-card img {
    height: inherit;
  }
}
