.inpage {
    padding: 50px 0;
    background: #ffffff;
}

.cat_listing {
    margin: 0 -19px;
}

.cat_listing li {
    width: 25%;
    padding: 0 19px;
    display: flex;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.cat_img {
    position: relative;
    overflow: hidden;
    width: 100%;
    border-radius: 6px;
    transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
}

.cat_img img {
    border-radius: 6px;
}

.cta_txt {
    position: relative;
    padding: 16px 0;
    width: 100%;
    border-bottom: 1px solid #f2ce14;
    min-height: 85px;
    align-items: center;
    display: flex;
}

.cta_txt span {
    width: 23px;
    height: 23px;
    text-align: center;
    /*border: 1px solid #929293;*/
    border-radius: 100%;
    display: inline-block;
    line-height: 20px;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.cat_tit {
    font-weight: bold;
    font-size: 18px;
    letter-spacing: 0.4px;
    color: #222324;
    width: calc(100% - 23px);
}

.cat_box {
    display: flex;
    flex-wrap: wrap;
}

.cat_img:after {
    position: absolute;
    top: 0;
    content: "";
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background: rgb(15 50 78 / 78%);
    transition: all .5s linear;
   /* transform: translateY(100%);*/
    transition: transform .48s cubic-bezier(.165, .84, .44, 1);
    border-radius: 6px;
    height: 101%; opacity: 0;
}

.cat_img:before {
    position: absolute;
    top: 0;
    content: "";
    background: url(../images/hover_icon.png);
    width: 62px;
    height: 62px;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    opacity: 0;
    transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    z-index: 1;
   background-size: cover;
}

.cat_box:hover .cat_img:before {
    opacity: 1;
}

.cat_box:hover .cat_img {
    box-shadow: 0 3px 6px rgb(0 0 0 / 16%), 0 3px 6px rgb(0 0 0 / 23%);
}

.cat_box:hover .cat_img:after {
/*    transform: translateY(0px);*/
  /*  transition: transform .38s cubic-bezier(.165, .84, .44, 1);*/
 opacity: 1;
}

.cta_txt:after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    height: 1px;
    width: 0;
    background-color: #ffd911;
    -webkit-transition: width .5s ease;
    -o-transition: width .5s ease;
    transition: width .5s ease;
}

.cta_txt:hover:after {
    width: 100%;
}

.cta_txt:hover span {
    background: #0f324e;
    border-color: #0f324e;
}

.cta_txt:hover span img {
    filter: invert(1) brightness(10);
}

.cta_txt:hover .cat_tit {
    color: #0f324e;
}

/* Media Query */


@media(max-width:1480px) {}

@media(max-width:1366px) {}

@media(max-width:1280px) {}

@media(max-width:1120px) {

    .cat_tit {
        font-size: 16px;
    }

    .cat_listing li {
        padding: 0 13px;
    }

    .cat_listing {
        margin: 0 -13px;
    }

}

@media(max-width:992px) {

    .cat_listing li {
        width: 33.3%;
    }
}

@media(max-width:768px) {

    .cat_tit {
        font-size: 14px;
        line-height: 20px;
    }

    .cta_txt {
        min-height: 75px;
    }
    .cat_img:before{width: 45px;height: 45px;}
}

@media(max-width:680px) {
    .cat_listing li {
        width: 50%;
    }
}

@media(max-width:580px) {.cat_img:before{width: 35px;height: 35px;}}

@media(max-width:480px) {

    .cat_listing li {
        padding: 0 6px;
    }

    .cat_listing {
        margin: 0 -13px;
    }

    .cat_tit {
        font-size: 13px;
        padding-right: 10px;
        line-height: 16px;
    }

    .cta_txt {
        min-height: 60px;
    }

    section.inpage.category_page {
        padding-bottom: 20px;
    }
}

@media(max-width:360px) {}
