
.my-gallery-img {
    height: 190px!important;
}

/*********gallery***********/
:root {
    --color_1: #fff;
    --color_2: #d12138;
}

.box {
    text-align: center;
    overflow: hidden;
    position: relative;
    height: auto;
    width: 100%;
    margin: 0px 0px 0px 0px;
    padding: 0px 0px 0px 0px;
    float: left;
}

    .box:before {
        content: '';
        background-color: rgba(255,255,255,0.7);
        height: 75%;
        width: 75%;
        opacity: 0;
        transform: translateX(-50%) translateY(-50%) scale(0);
        position: absolute;
        left: 50%;
        top: 50%;
        z-index: 1;
        transition: all 0.3s ease 0.1s;
    }

    .box:hover:before {
        opacity: 1;
        transform: translateX(-50%) translateY(-50%) scale(1);
    }

    .box img {
        width: 100%;
        height: auto;
        transition: all 0.3s ease 0s;
    }

    .box:hover img {
        filter: hue-rotate(200deg);
    }

    .box .box-content {
        color: var(--color_1);
        background-color: rgba(0, 0, 0, 0.75);
        width: 100%;
        height: 100%;
        opacity: 1;
        transform: rotate(90deg);
        transform-origin: 100% 0%;
        position: absolute;
        left: 0;
        top: 0;
        z-index: 1;
        transition: all 0.3s;
    }

    .box:hover .box-content {
        background-color: rgba(0, 0, 0, 0.01);
        transform-origin: 0 100%;
        transform: rotate(0);
    }

    .box .content {
        width: 65%;
        transform: translateX(-50%) translateY(-50%);
        position: absolute;
        left: 50%;
        top: 50%;
    }

    .box .title {
        color: #da081d;
        font-size: 13px;
        line-height: 19px;
        font-weight: 600;
        text-shadow: 0 0 5px #fff;
        margin: 0;
    }

    .box .post {
        color: #000;
        font-size: 13px;
        line-height: 20px;
        text-transform: capitalize;
        margin-bottom: 5px;
        display: block;
        font-weight: 400;
        margin:10px 0px 0px 0px;
    }

/************box page******/

.boxpage {
    text-align: center;
    overflow: hidden;
    position: relative;
    height: auto;
    width: 100%;
    margin: 0px 0px 0px 0px;
    padding: 0px 0px 0px 0px;
    float: left;
}

    .boxpage:before {
        content: '';
        background-color: rgba(255,255,255,0.7);
        height: 75%;
        width: 75%;
        opacity: 0;
        transform: translateX(-50%) translateY(-50%) scale(0);
        position: absolute;
        left: 50%;
        top: 50%;
        z-index: 1;
        transition: all 0.3s ease 0.1s;
    }

    .boxpage:hover:before {
        opacity: 1;
        transform: translateX(-50%) translateY(-50%) scale(1);
    }

    .boxpage img {
        width: 100%;
        height: auto;
        transition: all 0.3s ease 0s;
    }

    .boxpage:hover img {
        filter: hue-rotate(200deg);
    }

    .boxpage .boxpage-content {
        color: var(--color_1);
        background-color: rgba(0, 0, 0, 0.75);
        width: 100%;
        height: 100%;
        opacity: 1;
        transform: rotate(90deg);
        transform-origin: 100% 0%;
        position: absolute;
        left: 0;
        top: 0;
        z-index: 1;
        transition: all 0.3s;
       padding: 100px 0px 0px 0px;
    }

    .boxpage:hover .boxpage-content {
        background-color: rgba(0, 0, 0, 0.01);
        transform-origin: 0 100%;
        transform: rotate(0);
    }

    .boxpage .content {
        width: 65%;
        transform: translateX(-50%) translateY(-50%);
        position: absolute;
        left: 50%;
        top: 50%;
    }

    .boxpage .title {
        color: #da081d;
        font-size: 13px;
        line-height: 19px;
        font-weight: 600;
        text-shadow: 0 0 5px #fff;
        margin: 0;
    }

    .boxpage .post {
        color: #000;
        font-size: 13px;
        line-height: 20px;
        text-transform: capitalize;
        margin-bottom: 5px;
        display: block;
        font-weight: 400;
        margin:10px 0px 0px 0px;
    }


/***********box gallery********/
.marginbo44 {
    height: auto;
    width: 100%;
    margin: 0px 0px 15px 0px;
    padding: 0px 0px 10px 0px;
    float: left;
    background: #fff;
    border-radius: 4px;
    box-shadow: rgb(0 0 0 / 10%) 0px 10px 50px;
}

.headingcatth1 {
    height: 50px;
    width: 100%;
    margin: 0px 0px 0px 0px;
    padding: 5px 10px 0px 10px;
    float: left;
    font-size: 15px;
    line-height: 23px;
    font-weight: 600;
    text-align: center;
    color: #333;
}

.boxgall {
    text-align: center;
    overflow: hidden;
    position: relative;
    height: auto;
    width: 100%;
    margin: 0px 0px 0px 0px;
    padding: 0px 0px 0px 0px;
    float: left;
}

    .boxgall:before {
        content: '';
        background-color: rgba(255,255,255,0.7);
        height: 75%;
        width: 75%;
        opacity: 0;
        transform: translateX(-50%) translateY(-50%) scale(0);
        position: absolute;
        left: 50%;
        top: 50%;
        z-index: 1;
        transition: all 0.3s ease 0.1s;
    }

    .boxgall:hover:before {
        opacity: 1;
        transform: translateX(-50%) translateY(-50%) scale(1);
    }

.box img {
    width: 100%;
    height: auto;
    transition: all 0.3s ease 0s;
}

.boxgall:hover img {
    filter: hue-rotate(200deg);
}

.boxgall .boxgall-content {
    color: var(--color_1);
    background-color: rgba(0, 0, 0, 0.75);
    width: 100%;
    height: 100%;
    opacity: 1;
    transform: rotate(90deg);
    transform-origin: 100% 0%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    transition: all 0.3s;
}

.boxgall:hover .boxgall-content {
    background-color: rgba(0, 0, 0, 0.01);
    transform-origin: 0 100%;
    transform: rotate(0);
    top: 50%;
}

.boxgall .content {
    width: 65%;
    transform: translateX(-50%) translateY(-50%);
    position: absolute;
    left: 50%;
    top: 50%;
}

.boxgall .title {
    color: #000;
    font-size: 14px;
    line-height: 25px;
    font-weight: 600;
    text-shadow: 0 0 5px #fff;
    margin: 0;
}

.boxgall .post {
    color: #000;
    font-size: 16px;
    line-height: 20px;
    text-transform: capitalize;
    margin-bottom: 5px;
    display: block;
    font-weight: 400;
}



/*--  Demo8 --*/
.agileits-img {
    /*background-color: #f5f5f5;*/
    display: block;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 0 0 #555;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
    filter: alpha(opacity=100);
    margin: 0px 0px 20px 0px;
    border: 1px solid #ececec;
    padding: 5px;
    /*border-radius: 0px 100px 0px 100px;*/
}

    .agileits-img:before {
        content: '';
        background-color: rgba(0, 0, 0, 0);
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        position: absolute;
        -webkit-transition: all 0.5s;
        -moz-transition: all 0.5s;
        -ms-transition: all 0.5s;
        -o-transition: all 0.5s;
        transition: all 0.5s;
    }

    .agileits-img:hover {
        cursor: pointer;
    }

        .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, 0.54);
        bottom: 0;
        height: 100%;
        /*top:50%;*/
        left: 0;
        padding: 74px 15px 0px 0px;
        position: absolute;
        right: 0;
        text-align: left;
        z-index: 99;
        -webkit-transition: all 0.5s;
        -moz-transition: all 0.5s;
        -ms-transition: all 0.5s;
        -o-transition: all 0.5s;
        transition: all 0.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: #ffffff;
            text-align: center;
            font-weight: 400;
            /* letter-spacing: 2px; */
            text-transform: uppercase;
        }

        .agileits-img .wthree-pcatn h5 {
            font-size: 50px;
            color: #ffffff;
            text-align: center;
            font-weight: 400;
            /* letter-spacing: 2px; */
            text-transform: uppercase;
        }

.item-desc {
    background-color: rgba(0,0,0,0.5);
    color: white;
    position: absolute;
    text-transform: uppercase;
    text-align: center;
    padding: 1em;
    z-index: 1;
    bottom: 1em;
    left: 1em;
    right: 1em;
}
/* Filter controls */
ul.simplefilter {
    text-align: center;
    margin: 0px 0px 20px 0px;
    padding: 0px;
}

.simplefilter li {
    cursor: pointer;
    display: inline-block;
    text-transform: capitalize;
    padding: 0;
    margin: 0 0.3em;
    border: 1px solid #0057aa;
    font-size: 15px;
    line-height: 23px;
    background: #0057aa;
    background-image: url(https://www.transparenttextures.com/patterns/debut-light.png);
    transition: all 0.3s ease;
    transform: translateY(0px);
    border-radius: 5px;
}

    .simplefilter li a {
        padding: 6px 8px;
        min-width: 100px;
        float: left;
        color: #fff;
        text-decoration: none;
    }

    .simplefilter li:hover {
        border-color: #172356;
        background: rgba(255, 82, 0, 0);
        color: #172356;
    }

    .simplefilter li a:hover {
        color: #172356;
    }

    .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 all;
        -moz-transition: .5s all;
        transition: .5s all;
		height: 230px;
    }

.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: 0px 0px 10px 0px;
    }
}
