/*  #Gallery
---------------------------------- */
.tx-gallery-filters {
  padding: 0;
}
.tx-gallery-search {
    margin-bottom: 20px;
}
.tx-gallery-search-input {
    padding: 3px 10px;
}
.tx-gallery-search-input::placeholder {
    font-family: 'FontAwesome', 'Roboto';
}
.tx-gallery-filter {
  display: flex;
  margin: 15px 0;
  padding: 0;
  float: left;
}
.tx-gallery-filter-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin: 0 5px 5px 0;
  padding: 5px 14px;
  list-style: none;
  cursor: pointer;
  transition: all .5s;
  color: #fff;
  border-radius: 2px;
  background-color: #424242;
}
.tx-gallery-filter-item:hover {
  background-color: #111;
}
.tx-gallery-filter-item.active {
  background-color: #ff4949;
}
.tx-gallery-icons {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%);
  z-index: 5;
}
.tx-gallery-icons i {
    color: white;
    font-size: 25px;
}
.tx-gallery-overlay {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  position: absolute;
}
.tx-gallery-grid:after {
  content: '';
  display: block;
  clear: both;
}
.tx-gallery-item {
  position: relative;
  float: left;
}
.tx-gallery-item img {
    width: 100%;
}
.tx-gallery-item.card {
  background-color: transparent;
  border: none;
}
.tx-gallery-item.media {
  display: block;
}
.tx-gallery-title-bar {
    position: absolute;
    background-color: rgba(255,38,38,0.4);
    padding: 10px;
    bottom: 0;
    width: 100%;
    display: flex;
}
.tx-gallery-style-3 .tx-gallery-title-bar {
    position: relative;
    margin-top: -38px;
}
.tx-gallery-name,
.tx-gallery-categoy {
  margin: 0;
  width: 100%;
}
.tx-gallery-name,
.tx-gallery-name a,
.tx-gallery-categoy {
  color: white;
}
.tx-gallery-categoy {
  text-align: right;
}
.tx-gallery-desc {
  position: absolute;
  top: 0;
  padding: 20px;
  color: white;
}
.tx-gallery-name a:hover,
.tx-gallery-popup i:hover,
.tx-gallery-link i:hover {
  color: #ffcf20;
}
.tx-gallery-popup {
  margin-right: 15px;
}
.tx-gallery-link {
  margin-left: 15px;
}
.tx-gallery-style-2 .tx-gallery-item .tx-gallery-title-bar {
  transition: all 0.3s ease 0s;
  opacity: 0;
  margin-bottom: -50px;
}
.tx-gallery-style-2 .tx-gallery-item .tx-gallery-desc {
  transition: all 0.5s ease 0s;
  opacity: 0;
  margin-top: -30px;
}
.tx-gallery-style-2 .tx-gallery-item .tx-gallery-overlay {
  opacity: 0;
  transition: all 0.3s ease 0s;
}
.tx-gallery-style-2 .tx-gallery-item:hover .tx-gallery-overlay {
  opacity: 1;
}
.tx-gallery-style-2 .tx-gallery-item:hover .tx-gallery-icons {
  transform: scale(1);
}
.tx-gallery-style-2 .tx-gallery-item:hover .tx-gallery-title-bar {
  opacity: 1;
  margin-bottom: 0;
}
.tx-gallery-style-2 .tx-gallery-item:hover .tx-gallery-desc {
  opacity: 1;
  margin-top: 0;
}
.tx-gallery-style-2 .tx-gallery-item .tx-gallery-icons {
  transform: scale(0) translateX(-50%);
  transition: all 0.4s ease 0s;
}
.tx-gallery-style-2 .tx-gallery-item:hover .tx-gallery-icons {
  transform: scale(1) translateX(-50%);
}