/* .gallery */

.gallery {
  width: 100%;
  min-height: 100vh;
  text-align: center;
  display: block;
  background-color: #ffffff;
  /*padding: 100px 0;*/
  padding: 10px 0 0;
}

.gallery .gallery-filter {
  padding: 0 15px;
  width: 100%;
  text-align: center;
  margin-bottom: 40px;
}

.gallery .gallery-filter .filter-item {
  color: #666666;
  font-size: 17px;
  border: 1px solid #01395c;
  /*text-transform: uppercase;*/
  display: inline-block;
  /*border-radius: 20px;*/
  /*margin-right: 8px;*/
  margin: 0 8px 8px 0;
  cursor: pointer;
  padding: 8px 20px 8px 20px;
  line-height: 1.2;
  transition: all 0.3s ease;
  border-radius: 4px;
}

.gallery .gallery-filter .filter-item.active {
  color: white;
  border-color: #01395c;
  background: #01395c;
}

.gallery .gallery-item {
  width: calc(100% / 4);
  padding: 15px;
}

.gallery .gallery-item-inner img {
  width: 100%;
  /*border: 3px solid #d4dad9;*/
}

.gallery .gallery-item.show {
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.gallery .gallery-item.hide {
  display: none;
}

/* responsive */

@media (max-width: 491px) {
  .gallery .gallery-item {
    width: 50%;
  }
}

@media (max-width: 467px) {
  .gallery .gallery-item {
    width: 100%;
  }
}

@media (max-width: 467px) {
  .gallery .gallery-filter .filter-item {
    margin-bottom: 10px;
  }
}

