
.apostst-my-commonsk-class {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.post-categories {
    display: flex;
    padding-left: 0px;
    position: absolute;
    top: 15px;
    left: 20px;
    z-index: 9;
}
.apostst-gallery-wrapper .post-categories li {
    line-height: 0;
    list-style: none;
}
.apostst-gallery-wrapper .post-categories li a {
    background: rebeccapurple;
    color: #fff;
    font-size: 14px;
    line-height: 1;
    display: inline-block;
    padding: 6px 10px;
    border-radius: 5px;
}
.apostst-comment {
    font-size: 14px;
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 5px;
}
.apostst-menu-item {
    text-decoration: none !important;
    text-transform: capitalize;
}
.apostst-gallery-thumb a {
    width: 100%;
    height: 100%;
    display: block;
}
.apostst-title {
    padding-top: 15px;
    padding-left: 20px;
    margin-bottom: 8px;
}
.apostst-gallery-wrapper {
    margin-bottom: 30px;
}
.apostst-title .apostst-h2-title {
    font-size: 22px;
}
.apostst-desc p {
    line-height: 1.3;
    font-size: 16px;
}
.dawrap {
    display: flex;
    gap: 10px;
    justify-content: start;
    margin-top: 5px;
}
.apostst-date {
    font-size: 13px;
    display: flex;
    justify-content: center;
    gap: 5px;
    align-items: center;
}
.apostst-author {
    font-size: 13px;
    display: flex;
    justify-content: center;
    gap: 5px;
    align-items: center;
}
i {
    font-weight: 600;
    font-family: "Font Awesome 5 Free";
    font-style: initial;
}


.pb-40 {
    padding-bottom: 40px;
}


.apostst-grid-item {
    opacity: 0;
    visibility: hidden;
    max-width: 0;
    transition: 0.5s;
}
.apostst-grid-item:nth-child(odd) {
    transform: translateX(100%);
}
.apostst-grid-item:nth-child(even) {
    transform: translateY(100%);
}
.apostst-img-galleryItem-active {
    transform: translate(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
    max-width: initial !important;
}
@media (max-width: 767px) {
    .apostst-gallery-filtering-one .apostst-gallery-menu {
        text-align: center;
    }
}
.apostst-gallery-filtering-one .apostst-gallery-menu {
    display: flex;
    gap: 8px;
}
.apostst-gallery-filtering-one .apostst-gallery-menu .apostst-menu-item {
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    -webkit-transition: 0.4s;
    transition: 0.4s;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    border: 2px solid #58e80f;
    border-radius: 5px;
    z-index: 0;
    transition: all .3s;
}
.apostst-gallery-filtering-one .apostst-gallery-menu .apostst-menu-item:hover {
    border: 2px solid #0000;
    color: #fff;
}
.apostst-gallery-filtering-one .apostst-gallery-menu .apostst-menu-item::before {
    content: "";
    background-color: transparent;
    background-image: linear-gradient(150deg,#6d68fe 0%,#b446ff 100%);
    border-radius: 3px 3px 3px 3px;
    box-shadow: 0 18px 50px -6px rgba(52,82,255,.3);
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    z-index: -1;
    transition: all .3s;
}
.apostst-gallery-filtering-one .apostst-gallery-menu .apostst-menu-item:hover::before {
    width: 100%;
    height: 100%;
}
@media (max-width: 767px) {
    .apostst-gallery-filtering-one .apostst-gallery-menu .apostst-menu-item {
        margin-bottom: 15px;
    }
}
.apostst-gallery-filtering-one .apostst-gallery-menu .apostst-menu-item.active {
    color: #fff;
    background-color: transparent;
    background-image: linear-gradient(150deg,#6d68fe 0%,#b446ff 100%);
    border-radius: 3px 3px 3px 3px;
    box-shadow: 0 18px 50px -6px rgb(52 82 255 / 30%);
}
.apostst-gallery-filtering-one .apostst-gallery-wrapper {
    position: relative;
    overflow: hidden;
}
.apostst-gallery-filtering-one .apostst-gallery-wrapper .apostst-gallery-thumb {
    height: 300px;
}
.apostst-gallery-filtering-one .apostst-title .apostst-h2-title,
.apostst-gallery-filtering-one .apostst-filter-contents {
    color: #fff;
}
.apostst-gallery-filtering-one .dawrap,
.apostst-gallery-filtering-one .apostst-comment {
    justify-content: center;
}
.apostst-gallery-filtering-one .apostst-gallery-wrapper:hover .apostst-content-box::before {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
    -webkit-transition: -webkit-transform 0.5s ease-in-out;
    transition: -webkit-transform 0.5s ease-in-out;
    transition: transform 0.5s ease-in-out;
    transition: transform 0.5s ease-in-out, -webkit-transform 0.5s ease-in-out;
    -webkit-transform-origin: left;
    transform-origin: left;
}
.apostst-gallery-filtering-one .apostst-gallery-wrapper:hover .apostst-content-box .apostst-content {
    left: 0;
}
.apostst-gallery-filtering-one .apostst-gallery-wrapper .apostst-gallery-thumb img {
    width: 100%;
    height: 100%;
}
.apostst-gallery-filtering-one .apostst-content-box {
    pointer-events: none;
}
.apostst-gallery-filtering-one .apostst-gallery-wrapper .apostst-content-box::before {
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: #0009;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: -webkit-transform 0.5s ease-in-out;
    transition: -webkit-transform 0.5s ease-in-out;
    transition: transform 0.5s ease-in-out;
    transition: transform 0.5s ease-in-out, -webkit-transform 0.5s ease-in-out;
    -webkit-transform-origin: right;
    transform-origin: right;
    pointer-events: none;
}
.apostst-gallery-filtering-one .apostst-gallery-wrapper .apostst-content-box .apostst-content {
    position: absolute;
    content: "";
    left: -100%;
    top: 50%;
    text-align: center;
    width: 100%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-transition: 0.9s;
    transition: 0.9s;
}
.apostst-gallery-filtering-one .apostst-gallery-wrapper .apostst-content-box .apostst-content a .apostst-filter-heading {
    font-size: 24px;
    color: #fff;
}
@media (max-width: 767px) {
    .apostst-our-gallery-two .apostst-gallery-menu-two {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
}


.apostst-gallery-filtering-two .apostst-gallery-menu-two .apostst-menu-item {
    background: #2e659c;
    color: white;
    line-height: 1;
    border-radius: 30px;
    padding: 10px 18px;
    cursor: pointer;
  }
  
  @media (max-width: 767px) {
    .apostst-gallery-filtering-two .apostst-gallery-menu-two .apostst-menu-item {
      padding: 8px 12px;
      font-size: 14px;
      margin-bottom: 15px;
    }
  }
  
  .apostst-gallery-filtering-two .apostst-gallery-menu-two .apostst-menu-item:hover {
    background: #fbba42;
    color: #fff;
  }
  
  .apostst-gallery-filtering-two .apostst-gallery-menu-two .apostst-menu-item.active {
    background: #fbba42;
    color: #fff;
  }
  
  .apostst-gallery-filtering-two .apostst-gallery-thumb {
    position: relative;
    display: inline-block;
    height: 300px;
    width: 100%;
    -webkit-transition: .5s;
    transition: .5s;
  }
  .apostst-gallery-filtering-two .apostst-content-box {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    color: #fff;
    pointer-events: none;
}
.apostst-gallery-filtering-two .apostst-h2-title,
.apostst-gallery-filtering-two .apostst-filter-contents {
    color: rgb(255 255 255);
}

  .apostst-gallery-filtering-two .apostst-gallery-thumb:hover::before {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  
  .apostst-gallery-filtering-two .apostst-gallery-thumb img {
    width: 100%;
    height: 100%;
    border-radius: 0 30px;
  }
  
  @media (max-width: 767px) {
    .apostst-gallery-filtering-two .apostst-gallery-thumb img {
      width: 100%;
    }
  }
  
  .apostst-gallery-filtering-two .apostst-gallery-thumb::before {
    content: "";
    position: absolute;
    border-radius: 0 30px;
    -webkit-transform: scale(0);
            transform: scale(0);
    position: absolute;
    text-align: center;
    background-color: #000;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    opacity: .6;
    -webkit-transition: .5s;
    transition: .5s;
    cursor: pointer;
    pointer-events: none;
  }
  .apostst-gallery-filtering-two .apostst-gallery-thumb::after {
    content: "";
    position: absolute;
    border-radius: 0 30px;
    position: absolute;
    text-align: center;
    background-color: #000;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    opacity: .4;
    -webkit-transition: .5s;
    transition: .5s;
    cursor: pointer;
    pointer-events: none;
  }
 

  
.apostst-gallery-filtering-three .apostst-gallery-menu-three .apostst-menu-item {
    padding: 10px 15px;
    font-weight: 500;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
}
@media (max-width: 767px) {
    .apostst-gallery-filtering-three .apostst-gallery-menu-three .apostst-menu-item {
        padding: 8px 12px;
        font-size: 14px;
        margin-bottom: 15px;
    }
}
.apostst-gallery-filtering-three .apostst-gallery-menu-three .apostst-menu-item::before {
    content: "";
    position: absolute;
    width: 100%;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 60%;
    background: linear-gradient(45deg, #024ebf, #8dc315);
    z-index: -1;
    border-radius: 6px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -ms-border-radius: 6px;
    -o-border-radius: 6px;
    transition: all .3s;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -ms-transition: all .3s;
    -o-transition: all .3s;
}
.apostst-gallery-filtering-three .apostst-gallery-menu-three .apostst-menu-item.active::before {
    height: 100%;
}
.apostst-gallery-filtering-three .apostst-gallery-wrapper {
    position: relative;
    box-shadow: 0 0 10px #00000036;
    background: #ffe0e0bd;
}
.apostst-gallery-filtering-three .apostst-title {
    padding-left: 20px;
}

.apostst-gallery-filtering-three .dawrap {
    justify-content: start;
}
.apostst-gallery-filtering-three .apostst-title .apostst-h2-title, 
.apostst-gallery-filtering-three .apostst-desc p, 
.apostst-gallery-filtering-three .apostst-date, 
.apostst-gallery-filtering-three .apostst-author,
.apostst-gallery-filtering-three .apostst-comment {
    color: #000;
}
.apostst-gallery-filtering-three .apostst-comment {
    justify-content: start;
}
.apostst-gallery-filtering-three .post-categories {
    top: 12px;
    bottom: auto;
}
.apostst-gallery-filtering-three .apostst-gallery-wrapper .apostst-gallery-thumb {
    -webkit-mask-image: url(../img/mask/1.svg);
    mask-image: url(../img/mask/1.svg);
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    height: 200px;
}
.apostst-gallery-filtering-three .apostst-gallery-wrapper .apostst-gallery-thumb:hover .apostst-gallery-content a {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
}
.apostst-gallery-filtering-three .apostst-gallery-wrapper .apostst-gallery-thumb img {
    width: 100%;
    height: 200px;
}
.apostst-gallery-filtering-three .apostst-gallery-wrapper .apostst-gallery-thumb .apostst-gallery-content {
    position: absolute;
    top: 50%;
    text-align: center;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    left: 0;
    width: 100%;
}
.apostst-gallery-filtering-three .apostst-gallery-wrapper .apostst-gallery-thumb .apostst-gallery-content a {
    height: 36px;
    width: 36px;
    background: #63941e;
    display: block;
    font-size: 18px;
    margin: 0 auto;
    border-radius: 50%;
    line-height: 36px;
    color: #fff;
    -webkit-transform: scale(3);
    transform: scale(3);
    -webkit-transition: 0.5s;
    transition: 0.5s;
    opacity: 0;
}
@media (max-width: 767px) {
    .apostst-gallery-filtering-four .apostst-gallery-menu-four {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
}
.apostst-gallery-filtering-four .apostst-gallery-menu-four .apostst-menu-item {
    background: #000;
    padding: 12px 15px;
    font-weight: 500;
    line-height: 1;
    color: #fff;
    cursor: pointer;
    border-radius: 20%;
    -webkit-border-radius: 20%;
    -moz-border-radius: 20%;
    -ms-border-radius: 20%;
    -o-border-radius: 20%;
    transition: transform .3s;
    -webkit-transition: transform .3s;
    -moz-transition: transform .3s;
    -ms-transition: transform .3s;
    -o-transition: transform .3s;
}
@media (max-width: 767px) {
    .apostst-gallery-filtering-four .apostst-gallery-menu-four .apostst-menu-item {
        padding: 8px 12px;
        font-size: 14px;
        margin-bottom: 15px;
    }
}
.apostst-gallery-filtering-four .apostst-gallery-menu-four .apostst-menu-item.active {
     background: #d2691e00;
    box-shadow: 0 0 10px #d2691e;
    color: #000;
    transform: scale(.9);
}
.apostst-gallery-filtering-four .apostst-gallery-wrapper {
    position: relative;
    background: #0376253d;
    border-radius: 10px;
}
.apostst-gallery-filtering-four .apostst-gallery-wrapper:hover .apostst-gallery-thumb:before {
    opacity: 0.6;
    -webkit-transform: scale(0.2);
    transform: scale(0.2);
}
.apostst-gallery-filtering-four .apostst-gallery-wrapper:hover .apostst-gellary-content a span {
    font-size: 22px;
    opacity: 1;
}
.apostst-gallery-filtering-four .apostst-gallery-wrapper .apostst-gallery-thumb {
    -webkit-mask-image: url(../img/mask/2.svg);
    mask-image: url(../img/mask/2.svg);
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    height: 200px;
}
.apostst-gallery-menu-four {
    justify-content: center;
}
.apostst-gallery-filtering-four .dawrap {
    justify-content: start;
}
.apostst-gallery-filtering-four .apostst-comment {
    justify-content: start;
}
.apostst-gallery-filtering-four .post-categories {
    top: 13px;
    right: 15px;
    bottom: auto;
    left: auto;
}
.apostst-gallery-filtering-four .apostst-gallery-wrapper .apostst-gallery-thumb:before {
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: red;
    opacity: 0;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    pointer-events: none;
}
.apostst-gallery-filtering-four .apostst-gallery-wrapper .apostst-gallery-thumb img {
    width: 100%;
    height: 200px;
}
.apostst-gallery-filtering-four .apostst-gallery-wrapper .apostst-gellary-content {
    position: absolute;
    left: 0;
    text-align: center;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 100%;
    margin: auto;
}
.apostst-gallery-filtering-four .apostst-gallery-wrapper .apostst-gellary-content a span {
    font-size: 12px;
    color: #fff;
    -webkit-transition: 0.4s;
    transition: 0.4s;
    opacity: 0;
}
@media (max-width: 767px) {
    .apostst-gallery-filtering-five .apostst-gallery-menu-five {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
}
.apostst-gallery-filtering-five .apostst-gallery-menu-five .apostst-menu-item {
    padding: 10px 15px;
    font-weight: 500;
    color: #000;
    border-radius: 6px;
    cursor: pointer;
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
    border-left: 2px solid #00000000;
    border-right: 2px solid #00000000;
    transition: all .3s;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -ms-transition: all .3s;
    -o-transition: all .3s;
}
@media (max-width: 767px) {
    .apostst-gallery-filtering-five .apostst-gallery-menu-five .apostst-menu-item {
        padding: 8px 12px;
        font-size: 14px;
        margin-bottom: 15px;
    }
}

.apostst-gallery-filtering-five .apostst-gallery-menu-five .apostst-menu-item.active {
    border-top: 2px solid #00000000;
    border-bottom: 2px solid #00000000;
    border-left: 2px solid #000;
    border-right: 2px solid #000;
}
.apostst-gallery-filtering-five .apostst-gallery-wrapper {
    position: relative;
    overflow: hidden;
    background: #339499;
    box-shadow: 0 0 10px #17d80f52;
    border-top-left-radius: 40px;
    border-bottom-right-radius: 40px;
}
.apostst-gallery-filtering-five .dawrap,
.apostst-gallery-filtering-five .apostst-comment {
    justify-content: start;
}
.apostst-gallery-filtering-five .apostst-h2-title,
.apostst-gallery-filtering-five .apostst-filter-contents {
    color: rgb(255, 255, 255);
}
.apostst-gallery-filtering-five .post-categories {
    top: 12px;
    right: 15px;
    bottom: auto;
    left: auto;
}
.apostst-gallery-filtering-five .apostst-gallery-wrapper:hover .apostst-gallery-thumb:before {
    -webkit-transform: scale(1.8);
    transform: scale(1.8);
}
.apostst-gallery-filtering-five .apostst-grid-common .apostst-gallery-wrapper:hover .apostst-gellary-content a span {
    font-size: 22px;
    opacity: 1;
}
.apostst-gallery-filtering-five .apostst-gallery-wrapper .apostst-gallery-thumb {
    -webkit-mask-image: url(../img/mask/3.svg);
    mask-image: url(../img/mask/3.svg);
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    height: 200px;
}
.apostst-gallery-filtering-five .apostst-gallery-wrapper .apostst-gallery-thumb:before {
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 0 100px 150px 100px;
    background: red;
    opacity: 0.6;
    -webkit-transform: scale(0);
    transform: scale(0);
    -webkit-transform-origin: top left;
    transform-origin: top left;
    -webkit-transition: 1.5s;
    transition: 1.5s;
    pointer-events: none;
}
.apostst-gallery-filtering-five .apostst-gallery-wrapper .apostst-gallery-thumb img {
    width: 100%;
    height: 200px;
}
.apostst-gallery-filtering-five .apostst-grid-common .apostst-gallery-wrapper .apostst-gellary-content {
    position: absolute;
    left: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    text-align: center;
    width: 100%;
}
.apostst-gallery-filtering-five .apostst-grid-common .apostst-gallery-wrapper .apostst-gellary-content a span {
    font-size: 12px;
    color: #fff;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    opacity: 0;
    display: block;
}
@media (max-width: 767px) {
    .apostst-gallery-filtering-six .apostst-gallery-menu-six {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
}
.apostst-gallery-filtering-six .apostst-gallery-menu-six .apostst-menu-item {
    padding: 10px 15px;
    font-weight: 500;
    color: #ffffff;
    background: #e7e7e7;
    border-radius: 6px;
    display: block;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 2;
}
.apostst-gallery-filtering-six .apostst-gallery-menu-six .apostst-menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    width: 100%;
    height: 100%;
    transform-origin: 50% 100%;
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    transition: clip-path 0.2s, -webkit-clip-path 0.2s;
    transition-timing-function: cubic-bezier(0.7, 0, 0.2, 1);
    z-index: -1;
}
.apostst-gallery-filtering-six .apostst-gallery-menu-six .apostst-menu-item.active::before {
      transition-duration: 0.3s;
    -webkit-clip-path: polygon(0 0, 100% 0, 0 0, 0% 100%);
    clip-path: polygon(0 0, 100% 0, 0 0, 0% 100%);
}
.apostst-gallery-filtering-six .apostst-gallery-menu-six .apostst-menu-item.active {
    color: #000;
}

@media (max-width: 767px) {
    .apostst-gallery-filtering-six .apostst-gallery-menu-six .apostst-menu-item {
        padding: 8px 12px;
        font-size: 14px;
        margin-bottom: 15px;
    }
}

.apostst-gallery-filtering-six .apostst-gallery-wrapper {
    position: relative;
    overflow: hidden;
    background: #99333d;
    border-radius: 10px;
    box-shadow: 0 0 20px #99333d30;
}
.apostst-gallery-filtering-six .dawrap 
.apostst-gallery-filtering-six .apostst-comment {
    justify-content: start;
}
.apostst-gallery-filtering-six .post-categories {
    top: 15px;
    bottom: 0;
}
.apostst-gallery-filtering-six .apostst-h2-title,
.apostst-gallery-filtering-six .apostst-filter-contents {
    color: rgb(255, 255, 255);
}
.apostst-gallery-filtering-six .apostst-gallery-wrapper:hover .apostst-gallery-thumb:before {
    -webkit-transform: scale(2);
    transform: scale(2);
    opacity: 0.7;
}
.apostst-gallery-filtering-six .apostst-gallery-wrapper:hover .apostst-gallery-content a span {
    font-size: 22px;
    opacity: 1;
}
.apostst-gallery-filtering-six .apostst-gallery-wrapper .apostst-gallery-thumb {
    -webkit-mask-image: url(../img/mask/5.svg);
    mask-image: url(../img/mask/5.svg);
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    height: 200px;
}
.apostst-gallery-filtering-six .apostst-gallery-wrapper .apostst-gallery-thumb:before {
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 50%;
    -webkit-transform: scale(0.2);
    transform: scale(0.2);
    opacity: 0;
    -webkit-transition: 1.5s;
    transition: 1.5s;
    pointer-events: none;
}
.apostst-gallery-filtering-six .apostst-gallery-wrapper .apostst-gallery-thumb img {
    width: 100%;
    height: 200px;
}
.apostst-gallery-filtering-six .apostst-gallery-wrapper .apostst-gallery-content {
    position: absolute;
    content: "";
    left: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    text-align: center;
    width: 100%;
}
.apostst-gallery-filtering-six .apostst-gallery-wrapper .apostst-gallery-content a span {
    display: block;
    font-size: 12px;
    color: #fff;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    opacity: 0;
}
@media (max-width: 767px) {
    .apostst-gallery-filtering-seven .apostst-gallery-menu-seven {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
}
.apostst-gallery-filtering-seven .apostst-gallery-menu-seven .apostst-menu-item {
    padding: 10px 15px;
    color: #cf1996;
    margin: 0 5px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    transition: all .3s;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -ms-transition: all .3s;
    -o-transition: all .3s;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 0 5px;
}
.apostst-gallery-filtering-seven .apostst-gallery-menu-seven .apostst-menu-item.active {
    color: #fff;
    background: none;
    -webkit-text-fill-color: #fff;
    font-weight: 500;
}
@media (max-width: 767px) {
    .apostst-gallery-filtering-seven .apostst-gallery-menu-seven .apostst-menu-item {
        padding: 8px 12px;
        font-size: 14px;
        margin-bottom: 15px;
    }
}

.apostst-gallery-filtering-seven .apostst-gallery-wrapper {
    overflow: hidden;
    background: #4e4a0c;
    padding: 10px;
    border-radius: 10px;
    border: 2px dashed #30ff07;
}
.apostst-gallery-filtering-seven .apostst-gallery-menu-seven .apostst-menu-item::before,
.apostst-gallery-filtering-seven .apostst-gallery-menu-seven .apostst-menu-item::after {
    content: "";
    position: absolute;
    top: 0;
    width: 0;
    height: 100%;
    z-index: -1;
    transition: all .5s;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -ms-transition: all .5s;
    -o-transition: all .5s;
}
.apostst-gallery-filtering-seven .apostst-gallery-menu-seven .apostst-menu-item.active::before,
.apostst-gallery-filtering-seven .apostst-gallery-menu-seven .apostst-menu-item.active::after {
    content: "";
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background: #4e4a0c;
    z-index: -1;
}
.apostst-gallery-filtering-seven .apostst-gallery-menu-seven .apostst-menu-item::before {
   left: 0;
}
.apostst-gallery-filtering-seven .apostst-gallery-menu-seven .apostst-menu-item::after {
   right: 0;
}
.apostst-gallery-filtering-seven .dawrap 
.apostst-gallery-filtering-seven .apostst-comment {
    justify-content: start;
}

.apostst-gallery-filtering-seven .post-categories {
    top: 15px;
    bottom: auto;
}
.apostst-gallery-filtering-seven .apostst-gallery-wrapper:hover .apostst-gallery-content a span {
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
    opacity: 1;
    visibility: visible;
}
.apostst-gallery-filtering-seven .apostst-gallery-wrapper:hover .apostst-gallery-thumb:before {
    bottom: 0;
}
.apostst-gallery-filtering-seven .apostst-gallery-wrapper .apostst-gallery-thumb {
    position: relative;
    -webkit-mask-image: url(../img/mask/4.svg);
    mask-image: url(../img/mask/4.svg);
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    height: 200px;
}
.apostst-gallery-filtering-seven .apostst-gallery-wrapper .apostst-gallery-thumb:before {
    position: absolute;
    content: "";
    bottom: 100%;
    width: 100%;
    height: 100%;
    background: #0000008c;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    pointer-events: none;
}
.apostst-gallery-filtering-seven .apostst-gallery-wrapper .apostst-gallery-thumb img {
    width: 100%;
    height: 200px;
}
.apostst-gallery-wrapper .apostst-gallery-thumb img {
    width: 100%;
    object-fit: cover;
}
.apostst-gallery-filtering-seven .apostst-gallery-wrapper .apostst-gallery-content {
    position: absolute;
    content: "";
    left: 0;
    top: 50%;
    width: 100%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    text-align: center;
}
.apostst-gallery-filtering-seven .apostst-h2-title,
.apostst-gallery-filtering-seven .apostst-filter-contents {
    color: rgb(255, 255, 255);
}
.apostst-gallery-filtering-seven .apostst-gallery-wrapper .apostst-gallery-content a span {
    font-size: 24px;
    display: inline-block;
    color: #fff;
    -webkit-transform: translateY(130px);
    transform: translateY(130px);
    -webkit-transition: 0.5s;
    transition: 0.5s;
    opacity: 0;
    visibility: hidden;
    font-size: 20px;
}
@media (max-width: 767px) {
    .apostst-gallery-filtering-eight .apostst-gallery-menu-eight {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
}
.apostst-gallery-filtering-eight .apostst-gallery-menu-eight .apostst-menu-item {
    background: rebeccapurple;
    border: 0;
    padding: 10px 15px;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
    clip-path: polygon(0% 15%, 15% 15%, 15% 0%, 85% 0%, 85% 15%, 100% 15%, 100% 85%, 85% 85%, 85% 100%, 15% 100%, 15% 85%, 0% 85%);
    transition: all .3s linear;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    -ms-transition: all .3s linear;
    -o-transition: all .3s linear;
}
@media (max-width: 767px) {
    .apostst-gallery-filtering-eight .apostst-gallery-menu-eight .apostst-menu-item {
        padding: 8px 12px;
        font-size: 14px;
        margin-bottom: 15px;
    }
}
.apostst-gallery-filtering-eight .apostst-gallery-menu-eight .apostst-menu-item:hover {
    background: #63941e;
}
.apostst-gallery-filtering-eight .apostst-gallery-menu-eight .apostst-menu-item.active {
    background: #63941e;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.apostst-gallery-filtering-eight .apostst-gallery-wrapper {
     overflow: hidden;
    background: #183a1d;
    border-radius: 10px;
    box-shadow: 0 0 20px #183a1d4d;
    padding: 10px;
}
.apostst-gallery-filtering-eight .dawrap,
.apostst-gallery-filtering-eight .apostst-comment {
    justify-content: start;
}
.apostst-gallery-filtering-eight .post-categories {
    top: 15px;
    bottom: auto;
}
.apostst-gallery-filtering-eight .apostst-gallery-wrapper:hover .apostst-gallery-content a span {
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
    opacity: 1;
    visibility: visible;
}
.apostst-gallery-filtering-eight .apostst-gallery-wrapper:hover .apostst-gallery-thumb:before {
    bottom: 0;
}
.apostst-gallery-filtering-eight .apostst-gallery-wrapper .apostst-gallery-thumb {
    position: relative;
    -webkit-mask-image: url(../img/mask/6.svg);
    mask-image: url(../img/mask/6.svg);
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    height: 200px;
}
.apostst-gallery-filtering-eight .apostst-gallery-wrapper .apostst-gallery-thumb:before {
    position: absolute;
    content: "";
    bottom: 100%;
    width: 100%;
    height: 100%;
    background: #0000008c;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    pointer-events: none;
}
.apostst-gallery-filtering-eight .apostst-gallery-wrapper .apostst-gallery-thumb img {
    width: 100%;
    height: 200px;
}
.apostst-gallery-filtering-eight .apostst-gallery-wrapper .apostst-gallery-content {
    position: absolute;
    content: "";
    left: 0;
    top: 50%;
    width: 100%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    text-align: center;
}
.apostst-gallery-filtering-eight .apostst-h2-title,
.apostst-gallery-filtering-eight .apostst-filter-contents {
    color: rgb(255, 255, 255);
}
.apostst-gallery-filtering-eight .apostst-gallery-wrapper .apostst-gallery-content a span {
    font-size: 24px;
    color: #fff;
    -webkit-transform: translateY(130px);
    transform: translateY(130px);
    -webkit-transition: 0.5s;
    transition: 0.5s;
    display: inline-block;
    opacity: 0;
    visibility: hidden;
    font-size: 18px;
}
@media (max-width: 767px) {
    .apostst-gallery-filtering-nine .apostst-gallery-menu-nine {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
}
.apostst-gallery-filtering-nine .apostst-gallery-menu-nine .apostst-menu-item {
    padding: 10px 15px;
    font-weight: 500;
    color: #000000;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all .3s;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -ms-transition: all .3s;
    -o-transition: all .3s;
}
@media (max-width: 767px) {
    .apostst-gallery-filtering-nine .apostst-gallery-menu-nine .apostst-menu-item {
        padding: 8px 12px;
        font-size: 14px;
        margin-bottom: 15px;
    }
}

.apostst-gallery-filtering-nine .apostst-gallery-wrapper {
    overflow: hidden;
    background: #3c2317;
    border-radius: 10px;
    padding: 5px;
}
.apostst-gallery-filtering-nine .dawrap
.apostst-gallery-filtering-nine .apostst-comment {
    justify-content: start;
}
.apostst-gallery-filtering-nine .apostst-h2-title,
.apostst-gallery-filtering-nine .apostst-filter-contents {
    color: #fff;
}
.apostst-gallery-filtering-nine .post-categories {
    top: 15px;
    bottom: auto;
}
.apostst-gallery-filtering-nine .apostst-gallery-menu-nine .apostst-menu-item::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #1478ff;
    clip-path: polygon(50% 0,50% 0,50% 50%,50% 100%,50% 100%,50% 50%);
    opacity: 1;
    transition: .4s;
}

.apostst-gallery-filtering-nine .apostst-gallery-menu-nine .apostst-menu-item.active::before {
    clip-path: polygon(25% -70%,75% -70%,120% 50%,75% 170%,25% 170%,-20% 50%);
}

.apostst-gallery-filtering-nine .apostst-gallery-menu-nine .apostst-menu-item.active {
    box-shadow: 0 0 0 5px rgb(0 70 255 / 26%);
    background: #0000;
    color: #fff;
    margin: 0 8px;
}
.apostst-gallery-filtering-nine .apostst-gallery-wrapper:hover .apostst-gallery-thumb:before {
    bottom: 0;
}
.apostst-gallery-filtering-nine .apostst-gallery-wrapper .apostst-gallery-thumb {
    position: relative;
    -webkit-mask-image: url(../img/mask/7.svg);
    mask-image: url(../img/mask/7.svg);
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    height: 200px;
}
.apostst-gallery-filtering-nine .apostst-gallery-wrapper .apostst-gallery-thumb:before {
    position: absolute;
    content: "";
    bottom: 100%;
    width: 100%;
    height: 100%;
    background: #2b2b2bad;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    pointer-events: none;
}
.apostst-gallery-filtering-nine .apostst-gallery-wrapper .apostst-gallery-thumb img {
    width: 100%;
    height: 200px;
}
.apostst-gallery-filtering-nine .apostst-gallery-wrapper .apostst-gallery-content {
    position: absolute;
    content: "";
    left: 0;
    top: 50%;
    width: 100%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    text-align: center;
}
.apostst-gallery-filtering-nine .apostst-gallery-wrapper .apostst-gallery-content a span {
    font-size: 24px;
    color: #fff;
    -webkit-transform: translateY(130px);
    transform: translateY(130px);
    -webkit-transition: 0.5s;
    transition: 0.5s;
    display: inline-block;
    opacity: 0;
    visibility: hidden;
    font-size: 16px;
}
@media (max-width: 767px) {
    .apostst-gallery-filtering-ten .apostst-gallery-menu-ten {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
}
.apostst-gallery-filtering-ten .apostst-gallery-menu-ten .apostst-menu-item {
    padding: 10px 15px;
    margin: 0 13px;
    font-weight: 500;
    color: #000000;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    transition: all .3s;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -ms-transition: all .3s;
    -o-transition: all .3s;
}
.apostst-gallery-filtering-ten .apostst-gallery-menu-ten .apostst-menu-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% + 13px);
    height: 100%;
    border: 2px solid #f09180;
    transition: all .3s;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -ms-transition: all .3s;
    -o-transition: all .3s;
}
.apostst-gallery-filtering-ten .apostst-gallery-menu-ten .apostst-menu-item::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 100%;
    height: calc(100% + 10px);
    border: 2px solid #f09180;
    transition: all .3s;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -ms-transition: all .3s;
    -o-transition: all .3s;
}
.apostst-gallery-filtering-ten .apostst-gallery-menu-ten .apostst-menu-item.active::before {
    height: calc(100% + 10px);
}
.apostst-gallery-filtering-ten .apostst-gallery-menu-ten .apostst-menu-item.active::after {
    width: calc(100% + 13px);
}
@media (max-width: 767px) {
    .apostst-gallery-filtering-ten .apostst-gallery-menu-ten .apostst-menu-item {
        padding: 8px 12px;
        font-size: 14px;
        margin-bottom: 15px;
    }
}
.apostst-gallery-filtering-ten .apostst-gallery-wrapper {
     overflow: hidden;
    background: #002b5b;
    border-radius: 10px;
    box-shadow: 0 0 20px #002b5b69;
}
.apostst-gallery-filtering-ten .dawrap 
.apostst-gallery-filtering-ten .apostst-comment {
    justify-content: start;
}
.apostst-gallery-filtering-ten .post-categories {
    top: 15px;
    bottom: auto;
}
.apostst-gallery-filtering-ten .apostst-gallery-wrapper:hover .apostst-gallery-content a span {
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
    opacity: 1;
    visibility: visible;
}
.apostst-gallery-filtering-ten .apostst-gallery-wrapper:hover .apostst-gallery-thumb:before {
    bottom: 0;
}
.apostst-gallery-filtering-ten .apostst-gallery-wrapper .apostst-gallery-thumb {
    position: relative;
    -webkit-mask-image: url(../img/mask/8.svg);
    mask-image: url(../img/mask/8.svg);
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    height: 200px;
}
.apostst-gallery-filtering-ten .apostst-gallery-wrapper .apostst-gallery-thumb:before {
    position: absolute;
    content: "";
    bottom: 100%;
    width: 100%;
    height: 100%;
    background: #2b2b2bad;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    pointer-events: none;
}
.apostst-gallery-filtering-ten .apostst-gallery-wrapper .apostst-gallery-thumb img {
    width: 100%;
    height: 200px;
}
.apostst-gallery-filtering-ten .apostst-gallery-wrapper .apostst-gallery-content {
    position: absolute;
    content: "";
    left: 0;
    top: 50%;
    width: 100%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    text-align: center;
}
.apostst-gallery-filtering-ten .apostst-gallery-wrapper .apostst-gallery-content a span {
    font-size: 24px;
    color: #fff;
    -webkit-transform: translateY(130px);
    transform: translateY(130px);
    -webkit-transition: 0.5s;
    transition: 0.5s;
    display: inline-block;
    opacity: 0;
    visibility: hidden;
    font-size: 16px;
}
.apostst-gallery-filtering-ten .apostst-h2-title,
.apostst-gallery-filtering-ten .apostst-filter-contents {
    color: rgb(255, 255, 255);
}
@media (max-width: 767px) {
    .apostst-gallery-filtering-eleven .apostst-gallery-menu-eleven {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
}
.apostst-gallery-filtering-eleven .apostst-gallery-menu-eleven .apostst-menu-item {
    background: #000;
    padding: 10px 15px;
    font-weight: 500;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    transition: all .3s;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -ms-transition: all .3s;
    -o-transition: all .3s;
    z-index: 2;
    overflow: hidden;
}
@media (max-width: 767px) {
    .apostst-gallery-filtering-eleven .apostst-gallery-menu-eleven .apostst-menu-item {
        padding: 8px 12px;
        font-size: 14px;
        margin-bottom: 15px;
    }
}
.apostst-gallery-filtering-eleven .apostst-gallery-wrapper {
    overflow: hidden;
    background: #6f711a;
    border-radius: 10px;
    padding: 10px;
}
.apostst-gallery-filtering-eleven .apostst-gallery-menu-eleven .apostst-menu-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 50%;
    background: rgb(255, 255, 255);
    z-index: -1;
    opacity: 0;
    transition: all .4s;
    -webkit-transition: all .4s;
    -moz-transition: all .4s;
    -ms-transition: all .4s;
    -o-transition: all .4s;
}
.apostst-gallery-filtering-eleven .apostst-gallery-menu-eleven .apostst-menu-item::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 50%;
    background: rgb(255, 255, 255);
    z-index: -1;
    opacity: 0;
    transition: all .4s;
    -webkit-transition: all .4s;
    -moz-transition: all .4s;
    -ms-transition: all .4s;
    -o-transition: all .4s;
}
.apostst-gallery-filtering-eleven .apostst-gallery-menu-eleven .apostst-menu-item.active::after,
.apostst-gallery-filtering-eleven .apostst-gallery-menu-eleven .apostst-menu-item.active::before {
    width: 100%;
    opacity: 1;
}
.apostst-gallery-filtering-eleven .apostst-gallery-menu-eleven .apostst-menu-item.active {
    color: #000;
}
.apostst-gallery-filtering-eleven .dawrap,
.apostst-gallery-filtering-eleven .apostst-comment {
    justify-content: start;
}
.apostst-gallery-filtering-eleven .post-categories {
    top: 15px;
    bottom: auto;
}
.apostst-gallery-filtering-eleven .apostst-gallery-wrapper:hover .apostst-gallery-content a span {
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
    opacity: 1;
    visibility: visible;
}
.apostst-gallery-filtering-eleven .apostst-gallery-wrapper:hover .apostst-gallery-thumb:before {
    bottom: 0;
}
.apostst-gallery-filtering-eleven .apostst-h2-title,
.apostst-gallery-filtering-eleven .apostst-filter-contents {
    color: rgb(255, 255, 255);
}
.apostst-gallery-filtering-eleven .apostst-gallery-wrapper .apostst-gallery-thumb {
    position: relative;
    -webkit-mask-image: url(../img/mask/9.svg);
    mask-image: url(../img/mask/9.svg);
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    height: 200px;
}
.apostst-gallery-filtering-eleven .apostst-gallery-wrapper .apostst-gallery-thumb:before {
    position: absolute;
    content: "";
    bottom: 100%;
    width: 100%;
    height: 100%;
    background: #2b2b2bad;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    pointer-events: none;
}
.apostst-gallery-filtering-eleven .apostst-gallery-wrapper .apostst-gallery-thumb img {
    width: 100%;
    height: 200px;
}
.apostst-gallery-filtering-eleven .apostst-gallery-wrapper .apostst-gallery-content {
    position: absolute;
    content: "";
    left: 0;
    top: 50%;
    width: 100%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    text-align: center;
}
.apostst-gallery-filtering-eleven .apostst-gallery-wrapper .apostst-gallery-content a span {
    font-size: 18px;
    color: #fff;
    -webkit-transform: translateY(130px);
    transform: translateY(130px);
    -webkit-transition: 0.5s;
    transition: 0.5s;
    display: inline-block;
    opacity: 0;
    visibility: hidden;
}
@media (max-width: 767px) {
    .apostst-gallery-filtering-twelve .apostst-gallery-menu-twelve {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
}
.apostst-gallery-filtering-twelve .apostst-gallery-menu-twelve .apostst-menu-item {
    background: #000;
    border: 0;
    padding: 10px 15px;
    margin: 0 5px;
    font-weight: 500;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 5px 5px rgb(128, 128, 128);
}
@media (max-width: 767px) {
    .apostst-gallery-filtering-twelve .apostst-gallery-menu-twelve .apostst-menu-item {
        padding: 8px 12px;
        font-size: 14px;
        margin-bottom: 15px;
    }
}
.apostst-gallery-filtering-twelve .apostst-gallery-menu-twelve .apostst-menu-item:hover {
    background: #0c7bd4;
}
.apostst-gallery-filtering-twelve .apostst-gallery-menu-twelve .apostst-menu-item.active {
    background: #0c7bd4;
}
.apostst-gallery-filtering-twelve .apostst-gallery-wrapper {
    overflow: hidden;
    background: #e31b5f;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 0 20px #00000017;
}
.apostst-gallery-filtering-twelve .apostst-h2-title,
.apostst-gallery-filtering-twelve .apostst-filter-contents {
    color: rgb(255, 255, 255);
}
.apostst-gallery-filtering-twelve .dawrap,
.apostst-gallery-filtering-twelve .apostst-comment {
    justify-content: start;
}
.apostst-gallery-filtering-twelve .post-categories {
    top: 15px;
    bottom: auto;
}
.apostst-gallery-filtering-twelve .apostst-gallery-wrapper:hover .apostst-gallery-content a span {
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
    opacity: 1;
    visibility: visible;
}
.apostst-gallery-filtering-twelve .apostst-gallery-wrapper:hover .apostst-gallery-thumb:before {
    bottom: 0;
}
.apostst-gallery-filtering-twelve .apostst-gallery-wrapper .apostst-gallery-thumb {
    position: relative;
    -webkit-mask-image: url(../img/mask/10.svg);
    mask-image: url(../img/mask/10.svg);
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    height: 200px;
}
.apostst-gallery-filtering-twelve .apostst-gallery-wrapper .apostst-gallery-thumb:before {
    position: absolute;
    content: "";
    bottom: 100%;
    width: 100%;
    height: 100%;
    background: #2b2b2bad;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    pointer-events: none;
}
.apostst-gallery-filtering-twelve .apostst-gallery-wrapper .apostst-gallery-thumb img {
    width: 100%;
    height: 200px;
}
.apostst-gallery-filtering-twelve .apostst-gallery-wrapper .apostst-gallery-content {
    position: absolute;
    content: "";
    left: 0;
    top: 50%;
    width: 100%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    text-align: center;
}
.apostst-gallery-filtering-twelve .apostst-gallery-wrapper .apostst-gallery-content a span {
    font-size: 18px;
    color: #fff;
    -webkit-transform: translateY(130px);
    transform: translateY(130px);
    -webkit-transition: 0.5s;
    transition: 0.5s;
    display: inline-block;
    opacity: 0;
    visibility: hidden;
}
@media (max-width: 767px) {
    .apostst-gallery-filtering-thirteen .apostst-gallery-menu-thirteen {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
}
.apostst-gallery-filtering-thirteen .apostst-gallery-menu-thirteen .apostst-menu-item {
    padding: 10px 15px;
    font-weight: 500;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
@media (max-width: 767px) {
    .apostst-gallery-filtering-thirteen .apostst-gallery-menu-thirteen .apostst-menu-item {
        padding: 8px 12px;
        font-size: 14px;
        margin-bottom: 15px;
    }
}
.apostst-gallery-filtering-thirteen .apostst-gallery-wrapper {
    position: relative;
    overflow: hidden;
    background-color: #fff;
    -webkit-transition: 5s;
    transition: 5s;
}
.apostst-gallery-filtering-thirteen .apostst-gallery-menu-thirteen .apostst-menu-item::before {
    position: absolute;
    content: " ";
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1fd1f9;
    background-image: linear-gradient(315deg, #1fd1f9 0%, #b621fe 74%);
    transition: all 0.3s ease;
}

.apostst-gallery-filtering-thirteen .apostst-gallery-menu-thirteen .apostst-menu-item.active {
    background: transparent;
    box-shadow: 4px 4px 6px 0 rgba(255,255,255,.5),
              -4px -4px 6px 0 rgba(116, 125, 136, .2), 
    inset -4px -4px 6px 0 rgba(255,255,255,.5),
    inset 4px 4px 6px 0 rgba(116, 125, 136, .3);
    color: #fff;
}

.apostst-gallery-filtering-thirteen .apostst-gallery-menu-thirteen .apostst-menu-item.active::before {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
    box-shadow: 4px 4px 6px 0 rgba(255,255,255,.5),
              -4px -4px 6px 0 rgba(116, 125, 136, .2), 
    inset -4px -4px 6px 0 rgba(255,255,255,.5),
    inset 4px 4px 6px 0 rgba(116, 125, 136, .3);
}
.apostst-gallery-filtering-thirteen .apostst-h2-title,
.apostst-gallery-filtering-thirteen .apostst-filter-contents {
    color: rgb(0, 0, 0);
}
.apostst-gallery-filtering-thirteen .apostst-gallery-wrapper .apostst-gallery-thumb img {
    width: 100%;
    height: 200px;
}
.apostst-gallery-filtering-thirteen .apostst-gallery-wrapper:hover .apostst-box-content:before {
    top: 3%;
    opacity: 0.5;
}
.apostst-gallery-filtering-thirteen .apostst-gallery-wrapper:hover .apostst-box-content:after {
    bottom: 3%;
    opacity: 0.5;
}
.apostst-gallery-filtering-thirteen .apostst-gallery-wrapper:hover .apostst-box-content .apostst-content {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    opacity: 1;
}
.apostst-gallery-filtering-thirteen .apostst-gallery-wrapper .apostst-box-content {
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
}
.apostst-gallery-filtering-thirteen .apostst-gallery-wrapper .apostst-box-content::before {
    position: absolute;
    content: "";
    left: 0;
    right: 0;
    top: -20%;
    margin: auto;
    width: 95%;
    height: 47%;
    background: red;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    opacity: 0;
}
.apostst-gallery-filtering-thirteen .apostst-gallery-wrapper .apostst-box-content::after {
    position: absolute;
    content: "";
    left: 0;
    right: 0;
    bottom: -20%;
    margin: auto;
    width: 95%;
    height: 47%;
    background: red;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    opacity: 0;
}
.apostst-gallery-filtering-thirteen .apostst-gallery-wrapper .apostst-box-content .apostst-content {
    position: absolute;
    width: 100%;
    height: 68px;
    left: 0;
    text-align: center;
    z-index: 1;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    opacity: 0;
    -webkit-transition: 0.5s;
    transition: 0.5s;
}
.apostst-gallery-filtering-thirteen .apostst-gallery-wrapper .apostst-box-content .apostst-content .apostst-popup-img a {
    display: inline-block;
    color: #000;
    height: 36px;
    font-size: 18px;
    background: #fff;
    width: 36px;
    line-height: 36px;
    text-align: center;
    border-radius: 50%;
    -webkit-transition: 0.5s;
    transition: 0.5s;
}
.apostst-gallery-filtering-thirteen .apostst-gallery-wrapper .apostst-box-content .apostst-content .apostst-popup-img a:hover {
    background: #000;
    color: #fff;
}
.apostst-gallery-filtering-thirteen .apostst-gallery-wrapper .apostst-box-content .apostst-content .apostst-title .apostst-filter-heading {
    font-size: 22px;
    color: #fff;
    margin-top: 8px;
}
@media (max-width: 767px) {
    .apostst-gallery-filtering-fourteen .apostst-gallery-menu-fourteen {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
}
.apostst-gallery-filtering-fourteen .apostst-gallery-menu-fourteen .apostst-menu-item {
    padding: 10px 15px;
    font-weight: 500;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
}
.apostst-gallery-menu-fourteen {
    justify-content: center;
}
.apostst-gallery-filtering-fourteen .apostst-gallery-menu-fourteen .apostst-menu-item {
    color: #0e838d;
    border: 2px solid #0e838d;
    transition: all .3s;
    will-change: transform;
}
@media (max-width: 767px) {
    .apostst-gallery-filtering-fourteen .apostst-gallery-menu-fourteen .apostst-menu-item {
        padding: 8px 12px;
        font-size: 14px;
        margin-bottom: 15px;
    }
}

.apostst-gallery-filtering-fourteen .apostst-gallery-menu-fourteen .apostst-menu-item.active {
    margin: 0 15px;
    transform: scale(1.2);
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -ms-transform: scale(1.2);
    -o-transform: scale(1.2);
}
.apostst-gallery-filtering-fourteen .apostst-gallery-wrapper {
    position: relative;
    overflow: hidden;
    -webkit-perspective: 1000px;
    perspective: 1000px;
    background-color: #fff;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}
.apostst-gallery-filtering-fourteen .apostst-gallery-wrapper .apostst-gallery-thumb {
    -webkit-transform: rotateY(0);
    transform: rotateY(0);
    -webkit-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
}
.apostst-gallery-filtering-fourteen .apostst-gallery-wrapper .apostst-gallery-thumb img {
    width: 100%;
    display: block;
    height: 200px;
}
.apostst-gallery-filtering-fourteen .apostst-gallery-wrapper:hover .apostst-gallery-thumb {
    transform: rotateY(-180deg);
    -webkit-transform: rotateY(-180deg);
    -moz-transform: rotateY(-180deg);
    -ms-transform: rotateY(-180deg);
    -o-transform: rotateY(-180deg);
}
.apostst-gallery-filtering-fourteen .apostst-gallery-wrapper:hover .apostst-box-content {
    -webkit-transform: rotateY(0deg);
    transform: rotateY(0deg);
}
.apostst-gallery-filtering-fourteen .apostst-gallery-wrapper .apostst-box-content {
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    text-align: center;
    width: 100%;
    background: #0000009e;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-transform: rotateY(90deg);
    transform: rotateY(90deg);
    -webkit-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
}
.apostst-gallery-filtering-fourteen .apostst-gallery-wrapper .apostst-box-content .apostst-popup-img a {
    color: #fff;
    font-size: 20px;
}
.apostst-gallery-filtering-fourteen .apostst-gallery-wrapper .apostst-box-content .apostst-title .apostst-filter-heading {
    font-size: 22px;
    display: block;
    margin-top: 10px;
    color: #fff;
}
@media (max-width: 767px) {
    .apostst-gallery-filtering-fifteen .apostst-gallery-menu-fifteen {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
}
.apostst-gallery-filtering-fifteen .apostst-gallery-menu-fifteen .apostst-menu-item {
    padding: 10px 15px;
    margin: 0 5px;
    font-weight: 500;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    background: linear-gradient(0deg, rgba(255,27,0,1) 0%, rgba(251,75,2,1) 100%);
}
@media (max-width: 767px) {
    .apostst-gallery-filtering-fifteen .apostst-gallery-menu-fifteen .apostst-menu-item {
        padding: 8px 12px;
        font-size: 14px;
        margin-bottom: 15px;
    }
}

.apostst-gallery-filtering-fifteen .apostst-gallery-menu-fifteen .apostst-menu-item::before,
.apostst-gallery-filtering-fifteen .apostst-gallery-menu-fifteen .apostst-menu-item::after {
    content: '';
    position: absolute;
    height: 2px;
    width: 0;
    background: #f0094a;
    box-shadow: -1px -1px 5px 0px #fff,
   7px 7px 20px 0px #0003,
   4px 4px 5px 0px #0002;
    transition: 400ms ease all;
}
.apostst-gallery-filtering-fifteen .apostst-gallery-menu-fifteen .apostst-menu-item::before {
    top: 0;
    right: 0;
}
.apostst-gallery-filtering-fifteen .apostst-gallery-menu-fifteen .apostst-menu-item::after {
    bottom: 0;
    left: 0;
}
.apostst-gallery-filtering-fifteen .apostst-gallery-menu-fifteen .apostst-menu-item.active::before,
.apostst-gallery-filtering-fifteen .apostst-gallery-menu-fifteen .apostst-menu-item.active::after {
    width: 100%;
    transition: 800ms ease all;
}
.apostst-gallery-filtering-fifteen .apostst-gallery-menu-fifteen .apostst-menu-item.active {
    color: #f0094a;
    background: transparent;
    box-shadow: none;
}
.apostst-gallery-filtering-fifteen .apostst-gallery-wrapper {
    position: relative;
    overflow: hidden;
    -webkit-perspective: 1000px;
    perspective: 1000px;
    box-shadow: 0 0 10px #00000026;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
}
.apostst-gallery-filtering-fifteen .apostst-gallery-wrapper .apostst-gallery-thumb {
    -webkit-transform: rotateY(0);
    transform: rotateY(0);
    -webkit-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
    height: 280px;
}
.apostst-gallery-filtering-fifteen .apostst-h2-title,
.apostst-gallery-filtering-fifteen .apostst-filter-contents {
    color: rgb(255 255 255);
}
.apostst-gallery-filtering-fifteen .dawrap,
.apostst-gallery-filtering-fifteen .apostst-comment {
    justify-content: center;
}
.apostst-gallery-filtering-fifteen .apostst-gallery-wrapper .apostst-gallery-thumb img {
    width: 100%;
    display: block;
    height: 100%;
}
.apostst-gallery-filtering-fifteen .apostst-gallery-wrapper:hover .apostst-gallery-thumb {
    -webkit-transform: rotateY(-90deg);
    transform: rotateY(-90deg);
}
.apostst-gallery-filtering-fifteen .apostst-gallery-wrapper:hover .apostst-content-box {
    -webkit-transform: rotateY(0deg);
    transform: rotateY(0deg);
}
.apostst-gallery-filtering-fifteen .apostst-gallery-wrapper .apostst-content-box {
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    text-align: center;
    width: 100%;
    background: #0000009e;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-transform: rotateY(90deg);
    transform: rotateY(90deg);
    -webkit-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
}

.apostst-gallery-filtering-fifteen .apostst-gallery-wrapper .apostst-box-content .apostst-popup-img a {
    color: #fff;
    font-size: 20px;
}
.apostst-gallery-filtering-fifteen .apostst-gallery-wrapper .apostst-box-content .apostst-title .apostst-filter-heading {
    font-size: 22px;
    display: block;
    margin-top: 10px;
    color: #fff;
}
@media (max-width: 767px) {
    .apostst-gallery-filtering-sixteen .apostst-gallery-menu-sixteen {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
}
.apostst-gallery-filtering-sixteen .apostst-gallery-menu-sixteen .apostst-menu-item {
    background: #583101;
    border: 2px dotted #06ff19;
    padding: 10px 15px;
    margin: 0 5px;
    font-weight: 500;
    color: #000000;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    z-index: 1;
    overflow: hidden;
}
.apostst-gallery-filtering-sixteen .apostst-gallery-menu-sixteen .apostst-menu-item.active {
    border: 2px dotted #583101;
    color: #fff;
}
@media (max-width: 767px) {
    .apostst-gallery-filtering-sixteen .apostst-gallery-menu-sixteen .apostst-menu-item {
        padding: 8px 12px;
        font-size: 14px;
        margin-bottom: 15px;
    }
}

.apostst-gallery-filtering-sixteen .apostst-gallery-menu-sixteen .apostst-menu-item::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #ffffff;
    z-index: -1;
    transform: scale(1);
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transition: all .5s ease-in-out;
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
}
.apostst-gallery-filtering-sixteen .apostst-gallery-menu-sixteen .apostst-menu-item.active::before {
    transform: scale(0);
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
}
.apostst-gallery-filtering-sixteen .apostst-gallery-wrapper {
    position: relative;
    text-align: center;
    overflow: hidden;
    -webkit-perspective: 600px;
    perspective: 600px;
    box-shadow: 0 0 5px #00000059;
}
.apostst-gallery-filtering-sixteen .apostst-gallery-wrapper .apostst-gallery-thumb {
    width: 100%;
    height: 350px;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}
.apostst-gallery-filtering-sixteen .apostst-gallery-wrapper .apostst-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.apostst-gallery-filtering-sixteen .apostst-gallery-wrapper:hover .apostst-gallery-thumb {
    -webkit-filter: grayscale(0.9);
    filter: grayscale(0.9);
}

.apostst-gallery-filtering-sixteen .apostst-content-box {
    position: absolute;
    top: 20%;
    left: 0;
    background: #fff;
    pointer-events: none;
}
.apostst-gallery-filtering-sixteen .dawrap,
.apostst-gallery-filtering-sixteen .apostst-comment {
    justify-content: center;
}
.apostst-gallery-filtering-sixteen .apostst-gallery-thumb a {
    height: 100%;
}
.apostst-gallery-filtering-sixteen .apostst-gallery-wrapper:hover .apostst-box-content .apostst-popup-img {
    bottom: 10%;
    opacity: 1;
    visibility: visible;
}
.apostst-gallery-filtering-sixteen .apostst-gallery-wrapper:hover .apostst-box-content .apostst-title {
    opacity: 1;
}
.apostst-gallery-filtering-sixteen .apostst-gallery-wrapper .apostst-box-content .apostst-popup-img {
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    position: absolute;
    left: 50%;
    bottom: -30%;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: 0.5s;
    transition: 0.5s;
}
.apostst-gallery-filtering-sixteen .apostst-gallery-wrapper .apostst-box-content .apostst-popup-img a {
    color: #fff;
    background: #ffa300;
    font-size: 16px;
    line-height: 30px;
    height: 30px;
    width: 30px;
    border-radius: 50%;
    -webkit-box-shadow: 0 0 0 2px #fff;
    box-shadow: 0 0 0 2px #fff;
    display: block;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
.apostst-gallery-filtering-sixteen .apostst-gallery-wrapper .apostst-box-content .apostst-popup-img a:hover {
    color: #fff;
    text-shadow: 0 0 5px #000;
    border-radius: 10%;
}
.apostst-gallery-filtering-sixteen .apostst-gallery-wrapper .apostst-box-content .apostst-title {
    width: 100%;
    opacity: 0;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    position: absolute;
    top: 50%;
    left: 0;
    z-index: 2;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
}
.apostst-gallery-filtering-sixteen .apostst-gallery-wrapper .apostst-box-content .apostst-title .apostst-filter-heading {
    font-size: 18px;
    font-weight: 600;
    text-transform: capitalize;
    color: #ffa300;
}
@media (max-width: 767px) {
    .apostst-gallery-filtering-seventeen .apostst-gallery-menu-seventeen {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
}
.apostst-gallery-menu-seventeen {
    justify-content: center;
}
.apostst-gallery-filtering-seventeen .apostst-gallery-menu-seventeen .apostst-menu-item {
    padding: 10px 15px;
    margin: 0 8px;
    font-weight: 500;
    color: #000000;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    transition: all .3s;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -ms-transition: all .3s;
    -o-transition: all .3s;
    box-shadow: 0 0 5px #000;
}
.apostst-gallery-filtering-seventeen .apostst-gallery-menu-seventeen .apostst-menu-item::before,
.apostst-gallery-filtering-seventeen .apostst-gallery-menu-seventeen .apostst-menu-item::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 25%;
    height: 3px;
    background: red;
    transition: all .3s;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -ms-transition: all .3s;
    -o-transition: all .3s;
}
.apostst-gallery-filtering-seventeen .apostst-gallery-menu-seventeen .apostst-menu-item::before {
    top: 0;
}
.apostst-gallery-filtering-seventeen .apostst-gallery-menu-seventeen .apostst-menu-item::after {
    bottom: 0;
}
.apostst-gallery-filtering-seventeen .apostst-gallery-menu-seventeen .apostst-menu-item.active::before {
    width: 100%;
}
.apostst-gallery-filtering-seventeen .apostst-gallery-menu-seventeen .apostst-menu-item.active::after {
    width: 100%;
}

@media (max-width: 767px) {
    .apostst-gallery-filtering-seventeen .apostst-gallery-menu-seventeen .apostst-menu-item {
        padding: 8px 12px;
        font-size: 14px;
        margin-bottom: 15px;
    }
}
.apostst-gallery-filtering-seventeen .apostst-gallery-wrapper {
    height: 330px;
    position: relative;
    -webkit-perspective: 1000px;
    perspective: 1000px;
}
.apostst-gallery-filtering-seventeen .apostst-gallery-wrapper .post-categories {
    top: 39px;
    left: 50%;
    transform: translateX(-50%);
}
.apostst-gallery-filtering-seventeen .apostst-gallery-wrapper .apostst-gallery-thumb {
    -webkit-transform: rotateY(0);
    transform: rotateY(0);
    -webkit-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
    -webkit-clip-path: polygon(0 25%, 50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%);
    clip-path: polygon(0 25%, 50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%);
    height: 100%;
}
.apostst-gallery-filtering-seventeen .apostst-gallery-wrapper .apostst-gallery-thumb img {
    width: 100%;
    display: block;
    height: 340px;
}
.apostst-gallery-filtering-seventeen .apostst-gallery-wrapper:hover .apostst-gallery-thumb {
    -webkit-transform: rotateY(-90deg);
    transform: rotateY(-90deg);
}
.apostst-gallery-filtering-seventeen .apostst-gallery-wrapper:hover .apostst-box-content {
    -webkit-transform: rotateY(0deg);
    transform: rotateY(0deg);
}
.apostst-gallery-filtering-seventeen .apostst-content-box {
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    text-align: center;
    width: 100%;
    background: #0000009e;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
    -webkit-clip-path: polygon(0 25%, 50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%);
    clip-path: polygon(0 25%, 50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%);
}
.apostst-gallery-filtering-seventeen .apostst-h2-title {
    color: rgb(255 255 255);
}
.apostst-gallery-filtering-seventeen .apostst-filter-contents {
    color: #fff;
}
.apostst-gallery-filtering-seventeen .dawrap,
.apostst-gallery-filtering-seventeen .apostst-comment {
    justify-content: center;
}

@media (max-width: 767px) {
    .apostst-gallery-filtering-eighteen .apostst-gallery-menu-eighteen {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
}
.apostst-gallery-menu-eighteen {
    justify-content: center;
}
.apostst-gallery-filtering-eighteen .apostst-gallery-menu-eighteen .apostst-menu-item {
    border: 3px solid #3f51b5;
    padding: 10px 15px;
    margin: 0 5px;
    font-weight: 500;
    color: #000000;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.apostst-gallery-filtering-eighteen .apostst-gallery-menu-eighteen .apostst-menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #37474f;
    z-index: -1;
    opacity: 0;
    -webkit-transform: rotate3d(0, 0, 1, -45deg) translate3d(0, -3em, 0);
    transform: rotate3d(0, 0, 1, -45deg) translate3d(0, -3em, 0);
    -webkit-transform-origin: 0% 100%;
    transform-origin: 0% 100%;
    transition: transform 0.5s, opacity 0.5s, background-color 0.5s;
    -webkit-transition: transform 0.5s, opacity 0.5s, background-color 0.5s;
    -moz-transition: transform 0.5s, opacity 0.5s, background-color 0.5s;
    -ms-transition: transform 0.5s, opacity 0.5s, background-color 0.5s;
    -o-transition: transform 0.5s, opacity 0.5s, background-color 0.5s;
}
.apostst-gallery-filtering-eighteen .apostst-gallery-menu-eighteen .apostst-menu-item.active::before {
    opacity: 1;
    background-color: #3f51b5;
    -webkit-transform: rotate3d(0, 0, 1, 0deg);
    transform: rotate3d(0, 0, 1, 0deg);
    -webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
    transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
}
@media (max-width: 767px) {
    .apostst-gallery-filtering-eighteen .apostst-gallery-menu-eighteen .apostst-menu-item {
        padding: 8px 12px;
        font-size: 14px;
        margin-bottom: 15px;
    }
}
.apostst-gallery-filtering-eighteen .apostst-gallery-menu-eighteen .apostst-menu-item.active {
    color: #fff;
    border-color: #3f51b5;
} 

.apostst-gallery-filtering-eighteen .apostst-gallery-wrapper {
    overflow: hidden;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
}
.apostst-gallery-filtering-eighteen .apostst-content-box {
    background: #000;
}
.apostst-gallery-filtering-eighteen .apostst-h2-title {
    color: rgb(255 255 255);
}
.apostst-gallery-filtering-eighteen .apostst-filter-contents {
    color: rgb(255, 255, 255);
}
.apostst-gallery-filtering-eighteen .apostst-gallery-wrapper:hover .apostst-gallery-thumb {
    -webkit-transform: scale(0.7) rotate(-30deg);
    transform: scale(0.7) rotate(-30deg);
    border-radius: 30px;
    overflow: hidden;
    -webkit-box-shadow: 0 0 22px -8px #000;
    box-shadow: 0 0 22px -8px #000;
}
.apostst-gallery-filtering-eighteen .apostst-gallery-wrapper .apostst-gallery-thumb {
    -webkit-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
    overflow: hidden;
}
.apostst-gallery-filtering-eighteen .apostst-gallery-wrapper .apostst-gallery-thumb img {
    width: 100%;
    height: 200px;
}
@media (max-width: 767px) {
    .apostst-gallery-filtering-nineteen .apostst-gallery-menu-nineteen {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
}
.apostst-gallery-filtering-nineteen .apostst-gallery-menu-nineteen .apostst-menu-item {
    background: #000;
    border: 0;
    padding: 10px 15px;
    margin: 0 5px;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
    border-radius: 6px;
    position: relative;
    transition: all .3s;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -ms-transition: all .3s;
    -o-transition: all .3s;
}
.apostst-gallery-filtering-nineteen .apostst-gallery-menu-nineteen .apostst-menu-item::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border: 2px solid red;
    border-radius: 6px;
    opacity: 0;
    transform: scale(0);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transition: all .3s;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -ms-transition: all .3s;
    -o-transition: all .3s;
}
.apostst-gallery-filtering-nineteen .apostst-gallery-menu-nineteen .apostst-menu-item.active::before {
    opacity: 1;
    width: calc(100% + 35px);
    height: calc(100% + 25px);
    transform: translate(-50%, -50%) scale(1);
    -webkit-transform: translate(-50%, -50%) scale(1);
    -moz-transform: translate(-50%, -50%) scale(1);
    -ms-transform: translate(-50%, -50%) scale(1);
    -o-transform: translate(-50%, -50%) scale(1);
}
@media (max-width: 767px) {
    .apostst-gallery-filtering-nineteen .apostst-gallery-menu-nineteen .apostst-menu-item {
        padding: 8px 12px;
        font-size: 14px;
        margin-bottom: 15px;
    }
}
.apostst-gallery-filtering-nineteen .apostst-gallery-menu-nineteen .apostst-menu-item.active {
   background: #8c0702;
   transform: scale(.7);
   -webkit-transform: scale(.7);
   -moz-transform: scale(.7);
   -ms-transform: scale(.7);
   -o-transform: scale(.7);
}
.apostst-gallery-filtering-nineteen .apostst-gallery-wrapper {
    position: relative;
    overflow: hidden;
    will-change: transform;
}
.apostst-gallery-filtering-nineteen .apostst-content-box {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}
.apostst-gallery-filtering-nineteen .apostst-gallery-wrapper::after {
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: #0000006b;
    -webkit-transition: 0.5s;
    transition: 0.5s;
}
.apostst-gallery-filtering-nineteen .apostst-h2-title,
.apostst-gallery-filtering-nineteen .apostst-filter-contents {
    color: rgb(255, 255, 255);
}
.apostst-gallery-filtering-nineteen .apostst-gallery-wrapper:hover .apostst-gallery-thumb {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
}
.apostst-gallery-filtering-nineteen .apostst-gallery-wrapper:hover .apostst-gallery-thumb:before {
    opacity: 0.6;
}
.apostst-gallery-filtering-nineteen .apostst-gallery-wrapper:hover .apostst-gallery-content .apostst-filter-heading {
    -webkit-transform: translateX(0);
    transform: translateX(0);
}
.apostst-gallery-filtering-nineteen .apostst-gallery-wrapper:hover .apostst-gallery-search a {
    opacity: 1;
}
.apostst-gallery-filtering-nineteen .apostst-gallery-wrapper .apostst-gallery-thumb {
    -webkit-transition: 0.5s;
    transition: 0.5s;
    height: 280px;
}
.apostst-gallery-filtering-nineteen .apostst-gallery-wrapper .apostst-gallery-thumb:before {
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: #4f8c00;
    opacity: 0;
    -webkit-transition: 0.5s;
    transition: 0.5s;
}
.apostst-gallery-filtering-nineteen .apostst-gallery-wrapper .apostst-gallery-thumb img {
    width: 100%;
    height: 100%;
}
.apostst-gallery-filtering-nineteen .apostst-gallery-wrapper .apostst-gallery-content {
    position: absolute;
    top: 0;
    left: 0;
}
.apostst-gallery-filtering-nineteen .apostst-gallery-wrapper .apostst-gallery-content .apostst-filter-heading {
    color: #fff;
    padding: 15px 0 0 20px;
    -webkit-transform: translateX(-185px);
    transform: translateX(-185px);
    -webkit-transition: 0.5s;
    transition: 0.5s;
    font-size: 22px;
}
.apostst-gallery-filtering-nineteen .apostst-gallery-wrapper .apostst-gallery-search {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    content: "";
    left: 0;
    text-align: center;
    width: 100%;
}
.apostst-gallery-filtering-nineteen .apostst-gallery-wrapper .apostst-gallery-search a {
    font-size: 18px;
    background: #fff;
    height: 50px;
    width: 50px;
    line-height: 50px;
    display: inline-block;
    border-radius: 50%;
    color: #000;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    opacity: 0;
}
.apostst-gallery-filtering-nineteen .apostst-gallery-wrapper .apostst-gallery-search a:hover {
    background: #8c0702;
    color: #fff;
}
@media (max-width: 767px) {
    .apostst-gallery-filtering-twenty .apostst-gallery-menu-twenty {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
}
.apostst-gallery-filtering-twenty .apostst-gallery-menu-twenty .apostst-menu-item {
    padding: 10px 15px;
    margin: 0 5px;
    font-weight: 500;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    transition: all .3s;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -ms-transition: all .3s;
    -o-transition: all .3s;
    z-index: 2;
    overflow: hidden;
}
.apostst-gallery-filtering-twenty .apostst-gallery-menu-twenty .apostst-menu-item::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: '';
    background: blue;
    -webkit-clip-path: polygon(0% 0%, 100% 0, 100% 50%, 100% 100%, 0% 100%);
    clip-path: polygon(0% 0%, 100% 0, 100% 50%, 100% 100%, 0% 100%);
    transition: clip-path 0.4s cubic-bezier(0.2, 1, 0.8, 1), -webkit-clip-path 0.4s cubic-bezier(0.2, 1, 0.8, 1);
    z-index: -1;
}
.apostst-gallery-filtering-twenty .apostst-gallery-menu-twenty .apostst-menu-item:hover::before,
.apostst-gallery-filtering-twenty .apostst-gallery-menu-twenty .apostst-menu-item.active::before {
    background: blue;
    -webkit-clip-path: polygon(0% 0%, 75% 0%, 100% 50%, 75% 100%, 0% 100%);
    clip-path: polygon(0% 0%, 75% 0%, 100% 50%, 75% 100%, 0% 100%);
}

.apostst-gallery-filtering-twenty .apostst-gallery-menu-twenty .apostst-menu-item:hover,
.apostst-gallery-filtering-twenty .apostst-gallery-menu-twenty .apostst-menu-item.active {
    padding-right: 38px;
}
@media (max-width: 767px) {
    .apostst-gallery-filtering-twenty .apostst-gallery-menu-twenty .apostst-menu-item {
        padding: 8px 12px;
        font-size: 14px;
        margin-bottom: 15px;
    }
}
.apostst-gallery-filtering-twenty .apostst-gallery-wrapper {
    position: relative;
    overflow: hidden;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    will-change: transform;
    box-shadow: 0 0 10px #00000045;
}
.apostst-gallery-filtering-twenty .apostst-gallery-wrapper:hover {
    -webkit-box-shadow: 0 0 25px -6px #000;
    box-shadow: 0 0 25px -6px #000;
}
.apostst-gallery-filtering-twenty .apostst-content-box {
    z-index: 9;
    position: relative;
    will-change: transform;
}
.apostst-gallery-filtering-twenty .apostst-gallery-wrapper:before {
    position: absolute;
    content: "";
    background: #4cd137;
    width: 100%;
    height: 100%;
    opacity: 0.7;
    -webkit-transform: skew(-45deg) translateX(150%);
    transform: skew(-45deg) translateX(150%);
    left: -30px;
    bottom: 0;
    z-index: 1;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    pointer-events: none;
}
.apostst-gallery-filtering-twenty .apostst-gallery-wrapper:hover:before {
    -webkit-transform: skew(-45deg) translateX(0);
    transform: skew(-45deg) translateX(0);
}
.apostst-gallery-filtering-twenty .apostst-gallery-wrapper:hover .apostst-gallery-thumb:before {
    opacity: 0.5;
}
.apostst-gallery-filtering-twenty .apostst-gallery-wrapper:hover .apostst-gallery-thumb {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
    -webkit-filter: grayscale(0.7) blur(2px);
    filter: grayscale(0.7) blur(2px);
}
.apostst-gallery-filtering-twenty .apostst-gallery-wrapper:hover .apostst-gallery-content {
    opacity: 1;
    -webkit-transform: translate(-50%, -50%) rotate(0deg);
    transform: translate(-50%, -50%) rotate(0deg);
    left: 50%;
    -webkit-transition: all 500ms 100ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition: all 500ms 100ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.apostst-gallery-filtering-twenty .apostst-gallery-wrapper:hover .apostst-gallery-content .apostst-filter-heading {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
}
.apostst-gallery-filtering-twenty .apostst-gallery-wrapper .apostst-gallery-thumb {
    width: 100%;
    height: 100%;
    -webkit-transform: scale(1);
    transform: scale(1);
    transition: all .3s;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -ms-transition: all .3s;
    -o-transition: all .3s;
}
.apostst-gallery-filtering-twenty .apostst-gallery-wrapper .apostst-gallery-thumb img {
    width: 100%;
    height: 200px;
}
.apostst-gallery-filtering-twenty .apostst-gallery-wrapper .apostst-gallery-thumb:before {
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: #000;
    opacity: 0;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    pointer-events: none;
}
.apostst-gallery-filtering-twenty .apostst-gallery-wrapper .apostst-gallery-content {
    position: absolute;
    color: #fff;
    text-align: center;
    width: 100%;
    opacity: 0;
    -webkit-transform: translate(-50%, -50%) rotate(180deg);
    transform: translate(-50%, -50%) rotate(180deg);
    top: 50%;
    left: 100%;
    z-index: 1;
    -webkit-transition: all 300ms 0 cubic-bezier(0.6, -0.28, 0.735, 0.045);
    transition: all 300ms 0 cubic-bezier(0.6, -0.28, 0.735, 0.045);
}
.apostst-gallery-filtering-twenty .apostst-gallery-wrapper .apostst-gallery-content .apostst-filter-heading {
    color: #fff;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    font-size: 22px;
    margin-bottom: 10px;
    -webkit-transform: translateY(-25px);
    transform: translateY(-25px);
    transition: 0.5s;
    opacity: 0;
}
.apostst-gallery-filtering-twenty .apostst-gallery-wrapper .apostst-gallery-content a {
    color: #fff;
    font-size: 18px;
    text-align: center;
    line-height: 35px;
    height: 35px;
    width: 35px;
    border: 2px solid #fff;
    border-radius: 50% 50% 0 0;
    display: inline-block;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}
.apostst-gallery-filtering-twenty .apostst-gallery-wrapper .apostst-gallery-content a:hover {
    background: #009432;
    -webkit-box-shadow: 0 0 10px #fff;
    box-shadow: 0 0 10px #fff;
}
@media (max-width: 767px) {
    .apostst-gallery-filtering-twenty-one .apostst-gallery-menu-twenty-one {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
}
.apostst-gallery-filtering-twenty-one .apostst-gallery-menu-twenty-one .apostst-menu-item {
    background: #ffffff;
    border: 0;
    padding: 10px 15px;
    margin: 0 8px;
    font-weight: 500;
    color: #000000;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    cursor: pointer;
    position: relative;
}
.apostst-gallery-filtering-twenty-one .apostst-gallery-menu-twenty-one .apostst-menu-item.active {
    border-top-right-radius: 0px;
    border-bottom-left-radius: 0px;
}
.apostst-gallery-filtering-twenty-one .apostst-gallery-menu-twenty-one .apostst-menu-item::before,
.apostst-gallery-filtering-twenty-one .apostst-gallery-menu-twenty-one .apostst-menu-item::after {
    content: " ";
    width: 10px;
    height: 10px;
    position: absolute;
    border: 0px solid #fff;
    transition: all 1s;
}
.apostst-gallery-filtering-twenty-one .apostst-gallery-menu-twenty-one .apostst-menu-item::before {
    bottom: -1px;
    right: -1px;
    border-bottom: 5px solid black;
    border-right: 5px solid black;
}
.apostst-gallery-filtering-twenty-one .apostst-gallery-menu-twenty-one .apostst-menu-item::after {
    top: -1px;
    left: -1px;
    border-top: 5px solid black;
    border-left: 5px solid black;
}
.apostst-gallery-filtering-twenty-one .apostst-gallery-menu-twenty-one .apostst-menu-item.active::before,
.apostst-gallery-filtering-twenty-one .apostst-gallery-menu-twenty-one .apostst-menu-item.active::after {
    width: 105%;
    height: 114%;
}
@media (max-width: 767px) {
    .apostst-gallery-filtering-twenty-one .apostst-gallery-menu-twenty-one .apostst-menu-item {
        padding: 8px 12px;
        font-size: 14px;
        margin-bottom: 15px;
    }
}

.apostst-gallery-filtering-twenty-one .apostst-gallery-wrapper {
    position: relative;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    -webkit-box-shadow: 0 0 15px 0 #ddd;
    box-shadow: 0 0 15px 0 #ddd;
}
.apostst-gallery-filtering-twenty-one .apostst-gallery-wrapper:hover .apostst-gallery-thumb {
    height: 85%;
}
.apostst-gallery-filtering-twenty-one .apostst-gallery-wrapper:hover .apostst-gallery-thumb:before {
    opacity: 0.6;
}
.apostst-gallery-filtering-twenty-one .apostst-gallery-wrapper:hover .apostst-gallery-content {
    -webkit-transform: translateY(-6px);
    transform: translateY(-6px);
}
.apostst-gallery-filtering-twenty-one .apostst-gallery-wrapper:hover .apostst-gallery-thumb .apostst-gallery-hover {
    bottom: 50%;
    -webkit-transform: translateY(50%) rotate(0);
    transform: translateY(50%) rotate(0);
    opacity: 1;
}
.apostst-gallery-filtering-twenty-one .apostst-gallery-wrapper:hover .apostst-gallery-thumb .apostst-gallery-hover a {
    font-size: 32px;
}
.apostst-gallery-filtering-twenty-one .apostst-gallery-wrapper .apostst-gallery-thumb {
    position: relative;
    height: 100%;
    -webkit-transition: 0.5s;
    transition: 0.5s;
}
.apostst-gallery-filtering-twenty-one .apostst-gallery-wrapper .apostst-gallery-thumb img {
    width: 100%;
    height: 200px;
}
.apostst-gallery-filtering-twenty-one .apostst-gallery-wrapper .apostst-gallery-thumb:before {
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    height: 200px;
    width: 100%;
    background: #000;
    opacity: 0;
    -webkit-transition: 0.5s;
    transition: 0.5s;
     pointer-events: none;
}

.apostst-gallery-filtering-twenty-one .apostst-gallery-wrapper .apostst-gallery-thumb .apostst-gallery-hover {
    position: absolute;
    content: "";
    bottom: 10%;
    -webkit-transform: translateY(-10%) rotate(360deg);
    transform: translateY(-10%) rotate(360deg);
    left: 0;
    text-align: center;
    width: 100%;
    opacity: 0;
    -webkit-transition: 0.5s;
    transition: 0.5s;
}
.apostst-gallery-filtering-twenty-one .apostst-gallery-wrapper .apostst-gallery-thumb .apostst-gallery-hover a {
    display: block;
    color: #fff;
    font-size: 22px;
    -webkit-transition: 0.5s;
    transition: 0.5s;
}
.apostst-gallery-filtering-twenty-one .apostst-gallery-wrapper .apostst-gallery-content {
    position: absolute;
    left: 0;
    bottom: 0;
    text-align: center;
    width: 100%;
    -webkit-transform: translateY(55px);
    transform: translateY(55px);
    -webkit-transition: 0.5s;
    transition: 0.5s;
}
.apostst-gallery-filtering-twenty-one .apostst-gallery-wrapper .apostst-gallery-content .apostst-filter-heading {
    color: #000;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    font-size: 22px;
}
@media (max-width: 767px) {
    .apostst-gallery-filtering-twenty-two .apostst-gallery-menu-twenty-two {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
}
.apostst-gallery-filtering-twenty-two .apostst-gallery-menu-twenty-two .apostst-menu-item {
    background: #000;
    border: 0;
    padding: 10px 15px;
    margin: 0 5px;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
    position: relative;
    z-index: 2;
    border-radius: 30vmin;
    -webkit-border-radius: 30vmin;
    -moz-border-radius: 30vmin;
    -ms-border-radius: 30vmin;
    -o-border-radius: 30vmin;
}
.apostst-gallery-filtering-twenty-two .apostst-gallery-menu-twenty-two .apostst-menu-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 43%;
    height: 100%;
    border-radius: 30vmin;
    background: #92003b;
    z-index: -1;
    transition: all .3s;
}
.apostst-gallery-filtering-twenty-two .apostst-gallery-menu-twenty-two .apostst-menu-item.active::before {
    width: 100%;
}
@media (max-width: 767px) {
    .apostst-gallery-filtering-twenty-two .apostst-gallery-menu-twenty-two .apostst-menu-item {
        padding: 8px 12px;
        font-size: 14px;
        margin-bottom: 15px;
    }
}
.apostst-gallery-filtering-twenty-two .apostst-gallery-wrapper {
    overflow: hidden;
}
.apostst-gallery-filtering-twenty-two .apostst-gallery-wrapper:hover .apostst-gallery-thumb {
    -webkit-transform: scale(0.7) rotate(-20deg);
    transform: scale(0.7) rotate(-20deg);
    border-radius: 30px;
    overflow: hidden;
    -webkit-box-shadow: 0 0 22px -8px #000;
    box-shadow: 0 0 22px -8px #000;
}
.apostst-gallery-filtering-twenty-two .apostst-content-box {
    background: #06ffd6;
    opacity: 0;
    height: 0;
    transform: translateY(-100%);
    transition: all .5s;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -ms-transition: all .5s;
    -o-transition: all .5s;
}
.apostst-gallery-filtering-twenty-two .apostst-gallery-wrapper:hover .apostst-content-box {
    opacity: 1;
    transform: translateY(0);
    height: auto;
}
.apostst-gallery-filtering-twenty-two .apostst-gallery-wrapper .apostst-gallery-thumb {
    -webkit-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
    overflow: hidden;
}
.apostst-gallery-filtering-twenty-two .apostst-gallery-wrapper .apostst-gallery-thumb img {
    width: 100%;
    height: 200px;
}
@media (max-width: 767px) {
    .apostst-gallery-filtering-twenty-three .apostst-gallery-menu-twenty-three {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
}
.apostst-gallery-filtering-twenty-three .apostst-gallery-menu-twenty-three .apostst-menu-item {
    background: #000;
    border: 0;
    padding: 10px 15px;
    margin: 0 5px;
    font-weight: 500;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 15px rgb(0 0 0 / 20%);
    z-index: 2;
}
.apostst-gallery-filtering-twenty-three .apostst-gallery-menu-twenty-three .apostst-menu-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 490%;
    width: 140%;
    background: #78c7d2;
    -webkit-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
    -webkit-transform: translateX(-98%) translateY(-25%) rotate(45deg);
    transform: translateX(-98%) translateY(-25%) rotate(45deg);
    z-index: -1;
}
.apostst-gallery-filtering-twenty-three .apostst-gallery-menu-twenty-three .apostst-menu-item.active::before {
    -webkit-transform: translateX(-9%) translateY(-25%) rotate(45deg);
    transform: translateX(-9%) translateY(-25%) rotate(45deg);
}
@media (max-width: 767px) {
    .apostst-gallery-filtering-twenty-three .apostst-gallery-menu-twenty-three .apostst-menu-item {
        padding: 8px 12px;
        font-size: 14px;
        margin-bottom: 15px;
    }
}
.apostst-gallery-filtering-twenty-three .apostst-gallery-wrapper {
    overflow: hidden;
    -webkit-clip-path: polygon(50% 0%, 90% 20%, 100% 60%, 75% 100%, 25% 100%, 0% 60%, 10% 20%);
    clip-path: polygon(50% 0%, 90% 20%, 100% 60%, 75% 100%, 25% 100%, 0% 60%, 10% 20%);
}
.apostst-gallery-filtering-twenty-three .apostst-gallery-wrapper:hover .apostst-gallery-thumb {
    -webkit-filter: grayscale(1);
    filter: grayscale(1);
    -webkit-transform: scale(1.2) rotate(360deg);
    transform: scale(1.2) rotate(360deg);
}
.apostst-gallery-filtering-twenty-three .apostst-gallery-wrapper .apostst-gallery-thumb {
    height: 310px;
    -webkit-transition: 0.6s ease-in-out;
    transition: 0.6s ease-in-out;
}
.apostst-gallery-filtering-twenty-three .apostst-gallery-wrapper .apostst-gallery-thumb img {
    width: 100%;
    height: 100%;
}
.apostst-gallery-filtering-twenty-three .apostst-gallery-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #06060673;
}
.apostst-gallery-filtering-twenty-three .apostst-gallery-wrapper .post-categories {
    top: 35px;
    left: 50%;
    transform: translateX(-50%);
}
.apostst-gallery-filtering-twenty-three .apostst-gallery-wrapper .apostst-h2-title,
.apostst-gallery-filtering-twenty-three .apostst-gallery-wrapper .apostst-filter-contents {
    color: rgb(255, 255, 255);
}
.apostst-gallery-filtering-twenty-three .apostst-gallery-wrapper .apostst-content-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    pointer-events: none;
}
.apostst-gallery-filtering-twenty-three .apostst-gallery-wrapper .apostst-gallery-thumb a {
    width: 100%;
    height: 100%;
}
@media (max-width: 767px) {
    .apostst-gallery-filtering-twenty-four .apostst-gallery-menu-twenty-four {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
}
.apostst-gallery-filtering-twenty-four .apostst-gallery-menu-twenty-four .apostst-menu-item {
    background: #e7e7e7;
    padding: 10px 15px;
    margin: 0 5px;
    font-weight: 500;
    color: #000000;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid #000;
    box-shadow: inset 0 0 0 0px #000;
    transition: border-radius 0.3s, box-shadow 0.3s, color 0.3s;
    transition-timing-function: cubic-bezier(0.7, 0, 0.2, 1);
    position: relative;
}
.apostst-gallery-filtering-twenty-four .apostst-gallery-menu-twenty-four .apostst-menu-item.active {
    color: #e7e7e7;
    border-radius: 50%;
    box-shadow: inset 0 0 0 40px #000;
    transition-delay: 0s, 0s, 0.2s;
}
@media (max-width: 767px) {
    .apostst-gallery-filtering-twenty-four .apostst-gallery-menu-twenty-four .apostst-menu-item {
        padding: 8px 12px;
        font-size: 14px;
        margin-bottom: 15px;
    }
}
.apostst-gallery-filtering-twenty-four .apostst-gallery-wrapper {
     position: relative;
    box-shadow: 0 0 10px #0003;
    border-radius: 10px;
}
.apostst-gallery-filtering-twenty-four .apostst-gallery-wrapper .post-categories {
    left: 50%;
    transform: translateX(-50%);
}
.apostst-gallery-filtering-twenty-four .apostst-gallery-wrapper:hover .apostst-gallery-thumb:before {
    opacity: 0.5;
}

.apostst-gallery-filtering-twenty-four .apostst-gallery-wrapper:hover .apostst-gallery-content .apostst-filter-heading {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
}
.apostst-gallery-filtering-twenty-four .apostst-gallery-wrapper:hover .apostst-gallery-content a {
    -webkit-transform: translateY(5px);
    transform: translateY(5px);
    opacity: 1;
}
.apostst-gallery-filtering-twenty-four .apostst-gallery-wrapper .apostst-gallery-thumb {
    -webkit-clip-path: polygon(0% 15%, 15% 15%, 15% 0%, 85% 0%, 85% 15%, 100% 15%, 100% 85%, 85% 85%, 85% 100%, 15% 100%, 15% 85%, 0% 85%);
    clip-path: polygon(0% 15%, 15% 15%, 15% 0%, 85% 0%, 85% 15%, 100% 15%, 100% 85%, 85% 85%, 85% 100%, 15% 100%, 15% 85%, 0% 85%);
    -webkit-transition: 0.5s;
    transition: 0.5s;
}
.apostst-gallery-filtering-twenty-four .apostst-gallery-wrapper .apostst-gallery-thumb img {
    width: 100%;
    height: 200px;
}
.apostst-gallery-filtering-twenty-four .apostst-gallery-wrapper .apostst-gallery-thumb:before {
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: #000;
    opacity: 0;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    pointer-events: none;
}
.apostst-gallery-filtering-twenty-four .apostst-gallery-wrapper .apostst-gallery-content {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    left: 0;
    text-align: center;
    width: 100%;
}
.apostst-gallery-filtering-twenty-four .apostst-gallery-wrapper .apostst-gallery-content .apostst-filter-heading {
    color: #fff;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    font-size: 22px;
    margin-bottom: 10px;
    -webkit-transform: translateY(-25px);
    transform: translateY(-25px);
    transition: 0.5s;
    opacity: 0;
}
.apostst-gallery-filtering-twenty-four .apostst-gallery-wrapper .apostst-gallery-content a {
    display: block;
    -webkit-transform: translateY(25px);
    transform: translateY(25px);
    color: #fff;
    font-size: 20px;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    opacity: 0;
}
@media (max-width: 767px) {
    .apostst-gallery-filtering-twenty-five .apostst-gallery-menu-twenty-five {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
}
.apostst-gallery-menu-twenty-five  {
    justify-content: center;
}
.apostst-gallery-filtering-twenty-five .apostst-gallery-menu-twenty-five .apostst-menu-item {
    padding: 10px 15px;
    margin: 0 5px;
    font-weight: 500;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    background-color: transparent;
    border: 2px solid #c8c8c8;
    color: #000000;
    position: relative;
}
.apostst-gallery-filtering-twenty-five .apostst-gallery-menu-twenty-five .apostst-menu-item.active {
    color:#3498db;
}
.apostst-gallery-filtering-twenty-five .apostst-gallery-menu-twenty-five .apostst-menu-item::before,
.apostst-gallery-filtering-twenty-five .apostst-gallery-menu-twenty-five .apostst-menu-item::after {
    content: "";
    border-style: solid;
    border-color: #3498db;
    position: absolute;
    z-index: 5;
    box-sizing: content-box;
    transition: all .5s;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -ms-transition: all .5s;
    -o-transition: all .5s;
    border-radius: 6px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -ms-border-radius: 6px;
    -o-border-radius: 6px;
}
.apostst-gallery-filtering-twenty-five .apostst-gallery-menu-twenty-five .apostst-menu-item::before {
    width: 0;
    height: 100%;
    border-width: 2px 0 2px 0;
    top: -1px;
    left: 0;
    transition-delay: 0.05s;
}
.apostst-gallery-filtering-twenty-five .apostst-gallery-menu-twenty-five .apostst-menu-item::after {
    width: 100%;
    height: 0;
    border-width: 0 2px 0 2px;
    top: 0;
    left: -1px;
}
.apostst-gallery-filtering-twenty-five .apostst-gallery-menu-twenty-five .apostst-menu-item.active::before {
    width: 100%;
}
.apostst-gallery-filtering-twenty-five .apostst-gallery-menu-twenty-five .apostst-menu-item.active::after {
    height: 100%;
}
@media (max-width: 767px) {
    .apostst-gallery-filtering-twenty-five .apostst-gallery-menu-twenty-five .apostst-menu-item {
        padding: 8px 12px;
        font-size: 14px;
        margin-bottom: 15px;
    }
}

.apostst-gallery-filtering-twenty-five .apostst-gallery-wrapper {
    position: relative;
    overflow: hidden;
}
.apostst-gallery-filtering-twenty-five .apostst-gallery-wrapper:hover .apostst-gallery-thumb {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}
.apostst-gallery-filtering-twenty-five .apostst-gallery-wrapper .apostst-gallery-thumb {
    width: 100%;
    height: 350px;
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: all 0.5s ease 0;
    transition: all 0.5s ease 0;
    -webkit-transition: 0.5s;
    transition: 0.5s;
}
.apostst-gallery-filtering-twenty-five .apostst-gallery-wrapper .apostst-gallery-thumb img {
    width: 100%;
    height: 100%;
}
.apostst-gallery-filtering-twenty-five .apostst-gallery-thumb a {
    height: 100%;
}
.apostst-gallery-filtering-twenty-five .apostst-h2-title,
.apostst-gallery-filtering-twenty-five .apostst-filter-contents {
    color: rgb(255, 255, 255);
}
.apostst-gallery-filtering-twenty-five .apostst-content {
    margin-top: 50px;
}
.apostst-gallery-filtering-twenty-five .apostst-content-box {
    width: 100%;
    height: 100%;
    background: rgb(47 50 54 / 75%);
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.45s ease-out 0;
    -webkit-transition: all 0.45s ease-out 0 ;
    -moz-transition: all 0.45s ease-out 0 ;
    -ms-transition: all 0.45s ease-out 0 ;
    -o-transition: all 0.45s ease-out 0 ;
}
.apostst-gallery-filtering-twenty-five .apostst-content-box::before {
    content: "";
    width: 90%;
    height: 90%;
    border: 1px solid #fff;
    position: absolute;
    top: 5%;
    left: 5%;
    pointer-events: none;
}
.apostst-gallery-filtering-twenty-five .dawrap,
.apostst-gallery-filtering-twenty-five .apostst-comment {
    justify-content: center;
}
.apostst-gallery-filtering-twenty-five .apostst-gallery-wrapper:hover .apostst-content-box {
    opacity: 1;
    -webkit-transform: rotateY(0deg) scale(1);
    transform: rotateY(0deg) scale(1);
}
.apostst-gallery-filtering-twenty-five .apostst-gallery-wrapper .apostst-gallery-content .apostst-sub-icon {
    display: inline-block;
    padding: 0;
    margin: 0;
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}
.apostst-gallery-filtering-twenty-five .apostst-gallery-wrapper .apostst-gallery-content .apostst-sub-icon a {
    display: block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background: #fff;
    font-size: 18px;
    color: #f53877;
    -webkit-transition: all 0.5s ease 0;
    transition: all 0.5s ease 0;
}
.apostst-gallery-filtering-twenty-five .apostst-gallery-wrapper .apostst-gallery-content .apostst-sub-icon a:hover {
    background: #f53877;
    color: #fff;
}
.apostst-gallery-filtering-twenty-five .apostst-gallery-wrapper .apostst-gallery-content .apostst-sub-con {
    text-align: center;
    position: absolute;
    padding: 0 25px;
    width: 100%;
    bottom: 8%;
}
.apostst-gallery-filtering-twenty-five .apostst-gallery-wrapper .apostst-gallery-content .apostst-sub-con .apostst-filter-heading {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    text-transform: capitalize;
    margin: 0 0 5px;
}
@media (max-width: 767px) {
    .apostst-gallery-filtering-twenty-six .apostst-gallery-menu-twenty-six {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
}
.apostst-gallery-filtering-twenty-six .apostst-gallery-menu-twenty-six .apostst-menu-item {
    background: #000;
    border: 0;
    padding: 10px 15px;
    margin: 0 5px;
    font-weight: 500;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
}
@media (max-width: 767px) {
    .apostst-gallery-filtering-twenty-six .apostst-gallery-menu-twenty-six .apostst-menu-item {
        padding: 8px 12px;
        font-size: 14px;
        margin-bottom: 15px;
    }
}
.apostst-gallery-filtering-twenty-six .apostst-gallery-menu-twenty-six .apostst-menu-item:hover {
    background: #8c0702;
}
.apostst-gallery-filtering-twenty-six .apostst-gallery-menu-twenty-six .apostst-menu-item.active {
    background: #8c0702;
}
.apostst-gallery-filtering-twenty-six .apostst-gallery-wrapper {
    position: relative;
    overflow: hidden;
}
.apostst-gallery-filtering-twenty-six .apostst-gallery-wrapper:hover .apostst-gallery-thumb:before {
    opacity: 0.7;
    left: -70.5%;
}
.apostst-gallery-filtering-twenty-six .apostst-gallery-wrapper:hover .apostst-gallery-thumb:after {
    opacity: 0.7;
    right: -70.5%;
}
.apostst-gallery-filtering-twenty-six .apostst-gallery-wrapper:hover .apostst-gallery-thumb .apostst-gallery-item:before {
    opacity: 0.7;
    top: -71%;
}
@media (min-width: 992px) and (max-width: 1199px) {
    .apostst-gallery-filtering-twenty-six .apostst-gallery-wrapper:hover .apostst-gallery-thumb .apostst-gallery-item:before {
        top: -70.6%;
    }
}
.apostst-gallery-filtering-twenty-six .apostst-gallery-wrapper:hover .apostst-gallery-thumb .apostst-gallery-item:after {
    opacity: 0.7;
    bottom: -71%;
}
@media (min-width: 992px) and (max-width: 1199px) {
    .apostst-gallery-filtering-twenty-six .apostst-gallery-wrapper:hover .apostst-gallery-thumb .apostst-gallery-item:after {
        bottom: -70.6%;
    }
}
.apostst-gallery-filtering-twenty-six .apostst-gallery-wrapper:hover .apostst-gallery-content .apostst-filter-heading {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
}
.apostst-gallery-filtering-twenty-six .apostst-gallery-wrapper:hover .apostst-gallery-content a {
    -webkit-transform: translateY(5px);
    transform: translateY(5px);
    opacity: 1;
}
.apostst-gallery-filtering-twenty-six .apostst-gallery-wrapper .apostst-gallery-thumb {
    -webkit-transition: 0.5s;
    transition: 0.5s;
}
.apostst-gallery-filtering-twenty-six .apostst-gallery-wrapper .apostst-gallery-thumb img {
    width: 100%;
    height: 200px;
}
.apostst-gallery-filtering-twenty-six .apostst-gallery-wrapper .apostst-gallery-thumb:before {
    position: absolute;
    content: "";
    left: -125%;
    top: 0;
    height: 100%;
    width: 100%;
    background: -webkit-gradient(linear, left top, right top, from(#fdbb2d), color-stop(#1a2a6c), to(#b21f1f));
    background: linear-gradient(to right, #fdbb2d, #1a2a6c, #b21f1f);
    opacity: 0;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    pointer-events: none;
}
.apostst-gallery-filtering-twenty-six .apostst-gallery-wrapper .apostst-gallery-thumb:after {
    position: absolute;
    content: "";
    right: -125%;
    top: 0;
    height: 100%;
    width: 100%;
    background: -webkit-gradient(linear, left top, right top, from(#b21f1f), color-stop(#1a2a6c), to(#fdbb2d));
    background: linear-gradient(to right, #b21f1f, #1a2a6c, #fdbb2d);
    opacity: 0;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    pointer-events: none;
}
.apostst-gallery-filtering-twenty-six .apostst-gallery-wrapper .apostst-gallery-thumb .apostst-gallery-item:before {
    position: absolute;
    content: "";
    top: -125%;
    left: 0;
    height: 100%;
    width: 100%;
    background: -webkit-gradient(linear, left top, right top, from(#fdbb2d), color-stop(#1a2a6c), to(#b21f1f));
    background: linear-gradient(to right, #fdbb2d, #1a2a6c, #b21f1f);
    opacity: 0;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
.apostst-gallery-filtering-twenty-six .apostst-gallery-wrapper .apostst-gallery-thumb .apostst-gallery-item:after {
    position: absolute;
    content: "";
    bottom: -125%;
    left: 0;
    height: 100%;
    width: 100%;
    background: -webkit-gradient(linear, left top, right top, from(#b21f1f), color-stop(#1a2a6c), to(#fdbb2d));
    background: linear-gradient(to right, #b21f1f, #1a2a6c, #fdbb2d);
    opacity: 0;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
.apostst-gallery-filtering-twenty-six .apostst-gallery-wrapper .apostst-gallery-content {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    left: 0;
    text-align: center;
    width: 100%;
}

@media (max-width: 767px) {
    .apostst-gallery-filtering-twenty-seven .apostst-gallery-menu-twenty-seven {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
}
.apostst-gallery-menu-twenty-seven {
    justify-content: center;
}
.apostst-gallery-filtering-twenty-seven .apostst-gallery-menu-twenty-seven .apostst-menu-item {
    padding: 10px 15px;
    margin: 0 5px;
    font-weight: 500;
    color: #000000;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: inset 0 0 1em rgb(0 170 170 / 50%), 0 0 1em rgb(0 170 170 / 50%);
    border: #0dd solid 2px;
    transition: all .3s;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -ms-transition: all .3s;
    -o-transition: all .3s;
}
@media (max-width: 767px) {
    .apostst-gallery-filtering-twenty-seven .apostst-gallery-menu-twenty-seven .apostst-menu-item {
        padding: 8px 12px;
        font-size: 14px;
        margin-bottom: 15px;
    }
}
.apostst-gallery-filtering-twenty-seven .apostst-gallery-menu-twenty-seven .apostst-menu-item.active {
    background-color: #0dd;
    box-shadow: inset 0 0 0 rgba(0, 170, 170, 0.5), 0 0 1.5em rgba(0, 170, 170, 0.7);
}
.apostst-gallery-filtering-twenty-seven .apostst-gallery-wrapper {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 10px #0000001c;
}
.apostst-gallery-filtering-twenty-seven .apostst-content-box {
    position: relative;
    z-index: 9;
}
.apostst-gallery-filtering-twenty-seven .apostst-gallery-wrapper:hover .apostst-gallery-content .apostst-filter-heading {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
}
.apostst-gallery-filtering-twenty-seven .apostst-gallery-wrapper:hover .apostst-gallery-content a {
    -webkit-transform: translateY(5px);
    transform: translateY(5px);
    opacity: 1;
}
.apostst-gallery-filtering-twenty-seven .apostst-gallery-wrapper .apostst-gallery-thumb {
    -webkit-transition: 0.5s;
    transition: 0.5s;
}
.apostst-gallery-filtering-twenty-seven .apostst-gallery-wrapper .apostst-gallery-thumb img {
    width: 100%;
    height: 200px;
}
.apostst-gallery-filtering-twenty-seven .apostst-gallery-wrapper .apostst-gallery-thumb:before {
    position: absolute;
    content: "";
    left: -125%;
    top: 0;
    height: 100%;
    width: 100%;
    background: -webkit-gradient(linear, left top, right top, from(#59c173), color-stop(#a17fe0), to(#5d26c1));
    background: linear-gradient(to right, #59c173, #a17fe0, #5d26c1);
    opacity: 0;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
.apostst-gallery-filtering-twenty-seven .apostst-gallery-wrapper .apostst-gallery-thumb:after {
    position: absolute;
    content: "";
    right: -125%;
    top: 0;
    height: 100%;
    width: 100%;
    background: -webkit-gradient(linear, left top, right top, from(#a17fe0), to(#5d26c1));
    background: linear-gradient(to right, #a17fe0, #5d26c1);
    opacity: 0;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
.apostst-gallery-filtering-twenty-seven .apostst-gallery-wrapper .apostst-gallery-thumb .apostst-gallery-item:before {
    position: absolute;
    content: "";
    top: -125%;
    left: 0;
    height: 100%;
    width: 100%;
    background: -webkit-gradient(linear, left top, right top, from(#a8c0ff), to(#3f2b96));
    background: linear-gradient(to right, #a8c0ff, #3f2b96);
    opacity: 0;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
.apostst-gallery-filtering-twenty-seven .apostst-gallery-wrapper .apostst-gallery-thumb .apostst-gallery-item:after {
    position: absolute;
    content: "";
    bottom: -125%;
    left: 0;
    height: 100%;
    width: 100%;
    background: -webkit-gradient(linear, left top, right top, from(#a8c0ff), to(#3f2b96));
    background: linear-gradient(to right, #a8c0ff, #3f2b96);
    opacity: 0;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
.apostst-gallery-filtering-twenty-seven .apostst-gallery-wrapper .apostst-gallery-content {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    left: 0;
    text-align: center;
    width: 100%;
}
.apostst-gallery-filtering-twenty-seven .apostst-gallery-wrapper .apostst-gallery-content .apostst-filter-heading {
    color: #fff;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    font-size: 22px;
    margin-bottom: 10px;
    -webkit-transform: translateY(-25px);
    transform: translateY(-25px);
    transition: 0.5s;
    opacity: 0;
}
.apostst-gallery-filtering-twenty-seven .apostst-gallery-wrapper .apostst-gallery-content a {
    display: block;
    -webkit-transform: translateY(25px);
    transform: translateY(25px);
    color: #fff;
    font-size: 20px;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    opacity: 0;
}
@media (max-width: 767px) {
    .apostst-gallery-filtering-twenty-eight .apostst-gallery-menu-twenty-eight {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
}
.apostst-gallery-filtering-twenty-eight .apostst-gallery-menu-twenty-eight .apostst-menu-item {
    background: none;
    border: 0;
    padding: 10px 15px;
    font-weight: 500;
    color: #4361ee;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
}
.apostst-gallery-filtering-twenty-eight .apostst-gallery-menu-twenty-eight .apostst-menu-item::before,
.apostst-gallery-filtering-twenty-eight .apostst-gallery-menu-twenty-eight .apostst-menu-item::after {
    box-sizing: inherit;
    position: absolute;
    content: '';
    border: 2px solid transparent;
    width: 0;
    height: 0;
    transition: all .3s;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -ms-transition: all .3s;
    -o-transition: all .3s;
}
.apostst-gallery-filtering-twenty-eight .apostst-gallery-menu-twenty-eight .apostst-menu-item::before {
    top: 0;
    left: 0;
}
.apostst-gallery-filtering-twenty-eight .apostst-gallery-menu-twenty-eight .apostst-menu-item.active::before {
    border-top-color: #4361ee;
    border-right-color: #4361ee;
    transition: width 0.3s ease-out, height 0.3s ease-out 0.3s;
}
.apostst-gallery-filtering-twenty-eight .apostst-gallery-menu-twenty-eight .apostst-menu-item::after {
    bottom: 0;
    right: 0;
}
.apostst-gallery-filtering-twenty-eight .apostst-gallery-menu-twenty-eight .apostst-menu-item.active::after {
    border-bottom-color: #4361ee;
    border-left-color: #4361ee;
    transition: border-color 0s ease-out 0.6s, width 0.3s ease-out 0.6s, height 0.3s ease-out 1s;
}
.apostst-gallery-filtering-twenty-eight .apostst-gallery-menu-twenty-eight .apostst-menu-item.active::before,
.apostst-gallery-filtering-twenty-eight .apostst-gallery-menu-twenty-eight .apostst-menu-item.active::after {
    width: 100%;
    height: 100%;
}
@media (max-width: 767px) {
    .apostst-gallery-filtering-twenty-eight .apostst-gallery-menu-twenty-eight .apostst-menu-item {
        padding: 8px 12px;
        font-size: 14px;
        margin-bottom: 15px;
    }
}
.apostst-gallery-filtering-twenty-eight .apostst-gallery-wrapper {
    position: relative;
    border: 1px solid #000000;
}
.apostst-gallery-filtering-twenty-eight .apostst-gallery-wrapper:before {
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0);
    -webkit-transition: all 0.5s linear 0;
    transition: all 0.5s linear 0;
    pointer-events: none;
}
.apostst-gallery-filtering-twenty-eight .apostst-gallery-wrapper:hover:before {
    background: rgba(0, 0, 0, 0.5);
}
.apostst-gallery-filtering-twenty-eight .apostst-gallery-wrapper:hover .apostst-gallery-content {
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
    -webkit-transition-delay: 0;
    transition-delay: 0;
    background-color: rgba(255, 255, 255, 0);
}
.apostst-gallery-filtering-twenty-eight .apostst-gallery-wrapper:hover .apostst-gallery-content .apostst-filter-heading {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
}
.apostst-gallery-filtering-twenty-eight .apostst-gallery-wrapper:hover .apostst-gallery-content a {
    -webkit-transform: translateY(5px);
    transform: translateY(5px);
    opacity: 1;
}
.apostst-gallery-filtering-twenty-eight .apostst-gallery-wrapper .apostst-gallery-thumb {
    -webkit-transition: 0.5s;
    transition: 0.5s;
}
.apostst-gallery-filtering-twenty-eight .apostst-gallery-wrapper .apostst-gallery-thumb img {
    width: 100%;
    height: 200px;
}
.apostst-gallery-filtering-twenty-eight .apostst-gallery-wrapper .apostst-gallery-content {
    width: 80%;
    height: 80%;
    position: absolute;
    top: 10%;
    left: 10%;
    background-color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.8);
    padding: 5%;
    color: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-transform: scale(1, 0);
    transform: scale(1, 0);
    -webkit-transition: all 0.4s ease 0.6s;
    transition: all 0.4s ease 0.6s;
}
.apostst-gallery-filtering-twenty-eight .apostst-gallery-wrapper .apostst-gallery-content .apostst-filter-heading {
    color: #fff;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    font-size: 22px;
    margin-bottom: 10px;
    -webkit-transform: translateY(-35px);
    transform: translateY(-35px);
    transition: 0.5s;
    opacity: 0;
}
.apostst-gallery-filtering-twenty-eight .apostst-gallery-wrapper .apostst-gallery-content a {
    display: block;
    -webkit-transform: translateY(35px);
    transform: translateY(35px);
    color: #fff;
    font-size: 20px;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    opacity: 0;
}
@media (max-width: 767px) {
    .apostst-gallery-filtering-twenty-nine .apostst-gallery-menu-twenty-nine {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
}
.apostst-gallery-filtering-twenty-nine .apostst-gallery-menu-twenty-nine .apostst-menu-item {
    padding: 10px 15px;
    margin: 0 5px;
    font-weight: 500;
    color: #fff;
    border-radius: 30vmin;
    cursor: pointer;
    position: relative;
    background-image: linear-gradient(to right, #25aae1, #40e495);
    box-shadow: 0 4px 15px 0 rgba(49, 196, 190, 0.75);
}
.apostst-gallery-filtering-twenty-nine .apostst-gallery-menu-twenty-nine .apostst-menu-item::before {
    content: '';
    display: block;
    background: linear-gradient(to left, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.4) 50%);
    background-size: 210% 100%;
    background-position: right bottom;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    border-radius: 50px;
    transition: all 1s;
    -webkit-transition: all 1s;
}
.apostst-gallery-filtering-twenty-nine .apostst-gallery-menu-twenty-nine .apostst-menu-item.active::before {
    background-position: left bottom;
}
@media (max-width: 767px) {
    .apostst-gallery-filtering-twenty-nine .apostst-gallery-menu-twenty-nine .apostst-menu-item {
        padding: 8px 12px;
        font-size: 14px;
        margin-bottom: 15px;
    }
}
.apostst-gallery-filtering-twenty-nine .apostst-gallery-wrapper {
    position: relative;
}
.apostst-gallery-filtering-twenty-nine .apostst-gallery-wrapper:before {
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0);
    -webkit-transition: all 0.5s linear 0;
    transition: all 0.5s linear 0;
    pointer-events: none;
}
.apostst-gallery-filtering-twenty-nine .apostst-gallery-wrapper:hover:before {
    background: rgba(0, 0, 0, 0.5);
}
.apostst-gallery-filtering-twenty-nine .apostst-gallery-wrapper:hover .apostst-gallery-content {
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
    -webkit-transition-delay: 0;
    transition-delay: 0;
    background-color: rgba(255, 255, 255, 0);
}
.apostst-gallery-filtering-twenty-nine .apostst-gallery-wrapper:hover .apostst-gallery-content .apostst-filter-heading {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
}
.apostst-gallery-filtering-twenty-nine .apostst-gallery-wrapper:hover .apostst-gallery-content a {
    -webkit-transform: translateY(5px);
    transform: translateY(5px);
    opacity: 1;
}
.apostst-gallery-filtering-twenty-nine .apostst-gallery-wrapper .apostst-gallery-thumb {
    -webkit-transition: 0.5s;
    transition: 0.5s;
}
.apostst-gallery-filtering-twenty-nine .apostst-gallery-wrapper .apostst-gallery-thumb img {
    width: 100%;
    height: 200px;
}
.apostst-gallery-filtering-twenty-nine .apostst-gallery-wrapper .apostst-gallery-content {
    width: 80%;
    height: 80%;
    position: absolute;
    top: 10%;
    left: 10%;
    background-color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.8);
    padding: 5%;
    color: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-transform: scale(1, 0);
    transform: scale(1, 0);
    -webkit-transition: all 0.4s ease 0.6s;
    transition: all 0.4s ease 0.6s;
}
.apostst-gallery-filtering-twenty-nine .apostst-gallery-wrapper .apostst-gallery-content .apostst-filter-heading {
    color: #fff;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    font-size: 22px;
    margin-bottom: 10px;
    -webkit-transform: translateY(-35px);
    transform: translateY(-35px);
    transition: 0.5s;
    opacity: 0;
}
.apostst-gallery-filtering-twenty-nine .apostst-gallery-wrapper .apostst-gallery-content a {
    display: block;
    -webkit-transform: translateY(35px);
    transform: translateY(35px);
    color: #fff;
    font-size: 20px;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    opacity: 0;
}
@media (max-width: 767px) {
    .apostst-gallery-filtering-thirty .apostst-gallery-menu-thirty {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
}
.apostst-gallery-filtering-thirty .apostst-gallery-menu-thirty .apostst-menu-item {
    background: #0000;
    padding: 10px 15px;
    margin: 0 5px;
    font-weight: 500;
    color: #000000;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    box-shadow: 0 0 5px #00000078;
}
.apostst-gallery-filtering-thirty .apostst-gallery-menu-thirty .apostst-menu-item::before {
    transition: all 0.8s cubic-bezier(0.7, -0.5, 0.2, 2);
    content: '';
    width: 2%;
    height: 100%;
    background: #ff5964;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}
.apostst-gallery-filtering-thirty .apostst-gallery-menu-thirty .apostst-menu-item.active::before {
    background: #ff5964;
    width: 100%;
}
.apostst-gallery-filtering-thirty .apostst-gallery-menu-thirty .apostst-menu-item.active {
    color: #fff;
}
@media (max-width: 767px) {
    .apostst-gallery-filtering-thirty .apostst-gallery-menu-thirty .apostst-menu-item {
        padding: 8px 12px;
        font-size: 14px;
        margin-bottom: 15px;
    }
}
.apostst-gallery-filtering-thirty .apostst-gallery-wrapper {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 10px #00000040;
}
.apostst-gallery-filtering-thirty .apostst-gallery-wrapper:before {
    position: absolute;
    content: "";
    left: 50%;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    top: 0;
    height: 100%;
    width: 0;
    background: -webkit-gradient(linear, left top, right top, from(#b92b27), to(#1565c0));
    background: linear-gradient(to right, #b92b27, #1565c0);
    -webkit-transition: all 0.5s linear 0;
    transition: all 0.5s linear 0;
}
.apostst-gallery-filtering-thirty .apostst-gallery-wrapper:hover:before {
    width: 100%;
    opacity: 0.9;
    left: 0;
}
.apostst-gallery-filtering-thirty .apostst-gallery-wrapper:hover .apostst-gallery-thumb {
    opacity: 0.1;
}
.apostst-gallery-filtering-thirty .apostst-content-box {
    position: relative;
    z-index: 9;
}
.apostst-gallery-filtering-thirty .apostst-gallery-wrapper:hover .apostst-gallery-content {
    -webkit-transform: translateY(-50%) scale(1);
    transform: translateY(-50%) scale(1);
    opacity: 1;
}
.apostst-gallery-filtering-thirty .apostst-gallery-wrapper .apostst-gallery-thumb {
    width: 100%;
    height: auto;
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}
.apostst-gallery-filtering-thirty .apostst-gallery-wrapper .apostst-gallery-thumb img {
    width: 100%;
    height: 200px;
}
.apostst-gallery-filtering-thirty .apostst-gallery-wrapper .apostst-gallery-content {
    position: absolute;
    color: #fff;
    width: 100%;
    top: 50%;
    -webkit-transform: translateY(-50%) scale(3);
    transform: translateY(-50%) scale(3);
    left: 0;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    opacity: 0;
    z-index: 1;
}
.apostst-gallery-filtering-thirty .apostst-gallery-wrapper .apostst-gallery-content .apostst-filter-heading {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: capitalize;
    margin: 0 0 10px;
    text-align: center;
}
.apostst-gallery-filtering-thirty .apostst-gallery-wrapper .apostst-gallery-content a {
    color: #de4a4a;
    background: #fff;
    font-size: 16px;
    line-height: 30px;
    height: 30px;
    width: 30px;
    border-radius: 5px;
    display: block;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    margin: 0 auto;
    text-align: center;
}
.apostst-gallery-filtering-thirty .apostst-gallery-wrapper .apostst-gallery-content a:hover {
    color: #fff;
    background: #de4a4a;
    -webkit-box-shadow: 0 0 10px -3px rgba(0, 0, 0, 0.7);
    box-shadow: 0 0 10px -3px rgba(0, 0, 0, 0.7);
}
@media (max-width: 767px) {
    .apostst-gallery-filtering-thirty-one .apostst-gallery-menu-thirty-one {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
}
.apostst-gallery-filtering-thirty-one .apostst-gallery-menu-thirty-one .apostst-menu-item {
    background: #000;
    border: 0;
    padding: 10px 15px;
    margin: 0 5px;
    font-weight: 500;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
}
@media (max-width: 767px) {
    .apostst-gallery-filtering-thirty-one .apostst-gallery-menu-thirty-one .apostst-menu-item {
        padding: 8px 12px;
        font-size: 14px;
        margin-bottom: 15px;
    }
}
.apostst-gallery-filtering-thirty-one .apostst-gallery-menu-thirty-one .apostst-menu-item:hover {
    background: #8c0702;
}
.apostst-gallery-filtering-thirty-one .apostst-gallery-menu-thirty-one .apostst-menu-item.active {
    background: #8c0702;
}
.apostst-gallery-filtering-thirty-one .apostst-gallery-wrapper {
     position: relative;
    text-align: center;
    box-shadow: 0 0 10px #00000029;
    border-radius: 10px;
    overflow: hidden;
}
.apostst-gallery-filtering-thirty-one .apostst-gallery-wrapper:hover .apostst-gallery-content {
    background: rgba(0, 0, 0, 0.8);
}
.apostst-gallery-filtering-thirty-one .apostst-gallery-wrapper:hover .apostst-gallery-content a {
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    opacity: 1;
}
.apostst-gallery-filtering-thirty-one .apostst-gallery-wrapper .apostst-gallery-thumb {
    -webkit-transition: 0.5s;
    transition: 0.5s;
}
.apostst-gallery-filtering-thirty-one .apostst-gallery-wrapper .dawrap,
.apostst-gallery-filtering-thirty-one .apostst-gallery-wrapper .apostst-comment {
    justify-content: center;
}
.apostst-gallery-filtering-thirty-one .apostst-gallery-wrapper .apostst-gallery-thumb img {
    width: 100%;
    height: 200px;
}
.apostst-gallery-filtering-thirty-one .apostst-gallery-wrapper .apostst-gallery-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-transition: all 0.5s ease 0;
    transition: all 0.5s ease 0;
}
.apostst-gallery-filtering-thirty-one .apostst-gallery-wrapper .apostst-gallery-content a {
    border: 4px solid #fff;
    position: relative;
    top: 0;
    width: 100%;
    height: 100%;
    line-height: 40px;
    font-size: 18px;
    display: inline-block;
    color: #fff;
    -webkit-transition: all 0.5s ease 0;
    transition: all 0.5s ease 0;
    opacity: 0;
}
.apostst-gallery-filtering-twenty-seven > .container-fluid > .row > .col-xl-3 {
    padding: 0 !important;
}
.apostst-gallery-filtering-twenty-seven .apostst-gallery-wrapper:hover .apostst-gallery-thumb:after {
    opacity: 0.6;
    right: -72.5%;
    top: 0;
    pointer-events: none;
}
.apostst-gallery-filtering-twenty-seven .apostst-gallery-wrapper:hover .apostst-gallery-thumb:before {
    opacity: 0.6;
    left: -68.5%;
    top: 0;
    pointer-events: none;
}

.apostst-gallery-filtering-twenty-nine > .container > .row > .col-xl-3 {
    padding: 0 !important;
}
.apostst-gallery-filtering-thirty > .container-fluid > .row > .col-xl-3 {
    padding: 0 !important;
}
.apostst-filter-contents{
    color: rgb(0, 0, 0);
    padding: 20px;
    padding-top: 0;
}
.apostst-filter-contents .post-categories a {
    color: white;
    font-weight: 500;
    background: rebeccapurple;
    padding: 5px 8px;
    line-height: 1;
    border-radius: 5px;
    font-size: 13px;
}
.apostst-h2-title{
    color: rgb(0, 0, 0);
}

/* Ferdaussk added for load more button */
  .box {
    width: calc(25% - 20px);
  }
  .hidden {
    display: none;
  }
  .load-more {
    display: block;
    cursor: pointer;
    color: white;
    background: #332c2c;
    padding: 10px 10px;
    border-radius: 4px;
  }
  .load-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }