.box .post, .box .title, .box:after, .box:before {
    opacity: 0;
    transition: .6s;
}

.agileits-img, .box {
    position: relative;
    overflow: hidden;
}

    .agileits-img .wthree-pcatn h4, .agileits-img .wthree-pcatn h5, .item-desc {
        text-transform: uppercase;
        text-align: center;
    }


.box {
    text-align: center;
    transition: .3s;
    border: 1px solid #e5e5e5;
    padding: 3px;
    border-radius: 5px;
    margin: 0 0 15px;
    float: left;
    width: 100%;
}

    .box:after, .box:before {
        content: "";
        background: #130e02;
        width: calc(100% - 60px);
        height: calc(100% - 60px);
        position: absolute;
        top: 30px;
        left: 30px;
        z-index: 1;
    }

    .box:after {
        background: 0 0;
        height: 100%;
        width: 100%;
        border: 15px solid #ee1d238c;
        box-shadow: 0 0 0 20px #ee1d238c;
        left: 0;
        top: 0;
    }

    .box:hover:after, .box:hover:before {
        opacity: 1;
        animation: .6s forwards borderSkewOut;
    }

    .box:hover:before {
        opacity: .7;
    }

    .box:hover img {
        transform: scale(1);
        filter: grayscale(50%) hue-rotate(180deg);
    }

    .box .box-content {
        color: #fff;
        width: 100%;
        transform: translateY(-50%);
        position: absolute;
        top: 50%;
        left: 0;
        z-index: 2;
    }

    .box .title {
        font-size: 15px;
        line-height: 23px;
        color: #fff;
        font-weight: 500;
        margin: 0 0 3px;
        transform: translateY(100px);
    }

    .box .post {
        font-size: 16px;
        font-weight: 400;
        color: #fff;
        font-style: italic;
        margin-bottom: 10px;
        transform: translateY(50px);
        display: block;
    }

    .box:hover .icon, .box:hover .post, .box:hover .title {
        opacity: 1;
        transform: translate(0);
    }

    .box .icon li {
        display: inline-block;
        margin: 0 5px;
        transition: .3s;
    }

        .box .icon li a {
            color: #f77300;
            background: #fff;
            font-size: 20px;
            line-height: 35px;
            height: 35px;
            width: 35px;
            display: block;
            transition: .5s;
        }

.agileits-img, .agileits-img:before {
    -webkit-transition: .5s;
    -moz-transition: .5s;
    -ms-transition: .5s;
    -o-transition: .5s;
}

.agileits-img {
    background-color: #f5f5f5;
    display: block;
    box-shadow: 0 0 0 0 #555;
    transition: .5s;
    opacity: 1;
    margin: 0 0 30px;
    border: 1px solid #ececec;
    padding: 5px;
}

    .agileits-img:before {
        content: '';
        background-color: rgba(0,0,0,0);
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        position: absolute;
        transition: .5s;
    }

    .agileits-img:hover {
        cursor: pointer;
    }

        .agileits-img:hover:before {
            background-color: rgba(0,0,0,.8);
        }

        .agileits-img:hover .wthree-pcatn {
            -moz-transform: translateY(0) scale(1);
            -o-transform: translateY(0) scale(1);
            -ms-transform: translateY(0) scale(1);
            -webkit-transform: translateY(0) scale(1);
            transform: translateY(0) scale(1);
        }

    .agileits-img .wthree-pcatn {
        background-color: rgba(0,0,0,.54);
        bottom: 0;
        height: 100%;
        left: 0;
        padding: 74px 15px 0 0;
        position: absolute;
        right: 0;
        text-align: left;
        z-index: 99;
        -webkit-transition: .5s;
        -moz-transition: .5s;
        -ms-transition: .5s;
        -o-transition: .5s;
        transition: .5s;
        -moz-transform: translateY(150%) scale(1.5);
        -o-transform: translateY(150%) scale(1.5);
        -ms-transform: translateY(150%) scale(1.5);
        -webkit-transform: translateY(150%) scale(1.5);
        transform: translateY(150%) scale(1.5);
    }

        .agileits-img .wthree-pcatn h4 {
            font-size: 18px;
            color: #fff;
            font-weight: 400;
        }

        .agileits-img .wthree-pcatn h5 {
            font-size: 50px;
            color: #fff;
            font-weight: 400;
        }

.item-desc {
    background-color: rgba(0,0,0,.5);
    color: #fff;
    position: absolute;
    padding: 1em;
    z-index: 1;
    bottom: 1em;
    left: 1em;
    right: 1em;
}

ul.simplefilter {
    text-align: center;
    margin: 0 0 30px;
    padding: 0;
}

.simplefilter li {
    cursor: pointer;
    display: inline-block;
    text-transform: capitalize;
    padding: 0;
    margin: 0 .3em;
    border: 1px solid #1e5ad7;
    font-size: 1em;
    background-color: #1e5ad7;
    background-image: url(https://www.transparenttextures.com/patterns/asfalt-light.png);
    border-radius: 5px;
    transition: .3s;
    transform: translateY(0);
}

    .simplefilter li a {
        padding: 6px 8px;
        min-width: 100px;
        float: left;
        color: #fff;
        text-decoration: none;
        font-size: 15px;
    }

    .simplefilter li:hover {
        border-color: #333;
        background: #333;
        color: #fff;
    }

    .simplefilter li a:hover {
        color: #fff;
    }

    .simplefilter li.active {
        border-color: #0245f1;
        background-color: #02b875;
        color: #fff;
    }

.agileits-img a {
    display: block;
    overflow: hidden;
}

    .agileits-img a img {
        width: 100%;
        -webkit-transition: .5s;
        -moz-transition: .5s;
        transition: .5s;
    }

.agileits-img:hover img {
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -o-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2);
}

@media only screen and (max-width:800px) {
    .agileits-img .wthree-pcatn {
        height: 100%;
    }

    .agileits-img {
        margin: 0 0 10px;
    }
}
