.gallery_collection .gallery_img{width:100%;position:relative;padding-bottom:100%}
.gallery_img .item_img{position:absolute;top:0;bottom:0;left:0;right:0;margin:auto}
.gallery_border{display:block;border:1px solid #ccc;padding:0px;overflow: hidden;}
.text{width:100%;text-align:center;position:unset;padding:5px 0;background:rgba(255,255,255,.5);font-size:15px;color:#333}
.gallery_collection .list_fy{margin-top:20px}
.gallery_collection .gallery_img img {
    -webkit-transition: all 0.35s ease-in-out;-moz-transition: all 0.35s ease-in-out;transition: all 0.35s ease-in-out;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);

}
.gallery_border:hover .gallery_img img {
    -webkit-transform: scale(1.1); -moz-transform: scale(1.1); -ms-transform: scale(1.1); -o-transform: scale(1.1);transform: scale(1.1);

}
.gallery_img img, .box_item img { object-position: center; object-fit: cover; width: auto; }
.gallery_collection { margin-top: 15px; }
.text1 { text-align: center; position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);display: none; }
.gallery_border:hover .text1 { display: block; color: #fff;}
.info {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    background: rgba(150, 150, 150, 0.6);
    visibility: hidden;
    opacity: 0;
    -webkit-transition: all 0.35s ease-in-out;
    -moz-transition: all 0.35s ease-in-out;
    transition: all 0.35s ease-in-out;
}
.gallery_border:hover {
    border:none;
}
.gallery_border:hover .gallery_img .info {
    visibility: visible;
    opacity: 1;
    background: rgba(150, 150, 150, 0.6);
}
.gallery_border:hover .gallery_img .info .title {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
}

.info .title {
    position: absolute;
    bottom: 15px;
    left: 0;
    text-transform: uppercase;
    /* color: #fff; */
    text-align: center;
    font-size: 17px;
    padding: 10px;
    background: rgba(250, 250, 250, 0.6);
    margin: 30px 0 0 0;
    -webkit-transition: all 0.35s ease-in-out;
    -moz-transition: all 0.35s ease-in-out;
    transition: all 0.35s ease-in-out;
    background: rgba(250, 250, 250, 0.6);
    -webkit-transform: translateX(-100%);
    -moz-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    -o-transform: translateX(-100%);
    transform: translateX(-100%);
    display: inline-block;
    width: 100%;
}

li.gallery_collection_li.col-md-3 {
    margin-top: 5px;
}
















