.galleries {
    display: flex;
    flex-wrap: wrap;
}

.galleries .gallery {
    flex: 0 0 33%;
    padding: 10px;
    display: flex;
    flex-direction: column;
}

.galleries .gallery .team-box > div {
    height: 100%;
}

.galleries .gallery .team-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-list-a-img {
    display: block;
    width: 100%;
    height: 230px;
}

.gallery-list-a-img div {
    position: relative;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.15);
    height: 100%;
    width: 100%;
}

.gallery-list-a-img div .fa {
    font-size: 35px;
    padding: 10px;
    color: orange;
    border: orange solid 2px;
    border-radius: 50%;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.gallery-list-a-img:hover div .fa {
    transition: .3s;
    color: white;
}

.gallery-list-a-img:hover div {
    transition: .3s;
    background-color: rgba(0, 0, 0, 0);
}

@media only screen and (max-width: 991px) {
    .galleries .gallery {
        flex: 1 0 50%;
    }
}

@media only screen and (max-width: 767px) {
    .galleries .gallery {
        flex: 1 0 100%;
    }
}