/* CUSTOM STYLES by Jan Klubus for stylenabytoksk.sbs ---------------------- */

/* Gallery ---------------------- */

.in-galeria .filtration .btn.btn-primary.btn-primary--all {
  border-color: #444;
  color: #fff;
  background-color: #444;
}

.in-galeria .filtration .btn.mixitup-control-active,
.in-galeria
  .filtration
  .btn.btn-primary.btn-primary--all.mixitup-control-active {
  border-color: var(--color-primary-hover);
  color: #fff;
  background-color: var(--color-primary-hover);
}

.filtration__primary .btn {
  margin: 5px 3px;
}

.filtration {
  padding-bottom: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.filtration__primary {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin: -5px -3px;
  padding: 10px 0;
}

.filtration__secondary {
  max-width: 550px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin: -2px -1px;
  padding: 10px 0 30px 0;
}

/* Buttons */
.btn.btn-keyword {
  background: transparent;
  padding: 4px 5px;
  border-radius: 10px;
  font-size: 12px;
  line-height: normal;
  margin: 2px 1px;
  border-color: #999;
  color: #888;
  text-transform: lowercase;
}

.btn.btn-keyword:hover {
  border-color: #222;
  color: #222;
}

/* Gallery popup - allow description */

#cboxTitle {
  display: block !important;
  background-color: transparent;
  color: #fff;
}

@media (min-width: 768px) {
  #cboxTitle {
    font-size: 16px;
    line-height: normal;
  }
}

/* Gallery items */

.in-galeria .plus-gallery-wrap {
  text-align: center;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.in-galeria .plus-gallery-item {
  border: none;
  margin: 0;
  padding: 1px;
  width: 200px !important;
  height: 200px !important;
}

@media (max-width: 440px) {
  .in-galeria .plus-gallery-item {
    width: 140px !important;
    height: 140px !important;
  }
}

.in-galeria .plus-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.in-galeria .plus-gallery-item:hover {
  transform: scale(1.02);
}
