.img-button-title{
    position: absolute;
    right: 0;
    bottom: 0;
}
.img-button-title h4{
    font-size: 1.5rem;
    font-weight: 600;
    z-index: 1;
    color: var(--primary-text-color);
}

.img-button .img-button-title {
    display: none;
}

.img-button:hover .img-button-title {
    display: block;
}

.img-button-content{
    position: relative;
}

.img-button-content .img-button-item{
    height: 200px;
}

.gallery .img-button{
    margin-bottom: 30px;
    background:transparent !important;
    border: none;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.2);
    width: 100%;
    height: 250px;
    position: relative;
    padding:0px;
}
.gallery .img-button img{
    height:100%;
    width: 100%;
    object-fit: cover;
    border-radius: 5px;
}
.gallery  .button-icon-img{
    max-width: 30px;
}

.gallery span{
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 300;
    line-height: 1.5;
    color:rgba(0, 0, 0, 0.3);
    display: inline-block;
    margin-bottom: 20px;
}

.gallery .modal h3{
    color: #333333;
    font-size: 18px;
    font-weight: 700;
}
.gallery .modal span{
    margin-bottom: 1.5em;
    font-size: 16px;
    display: block;
    color: #333333;
}
.gallery .modal p{
    font-size: 16px;
    margin-top: 1.5em;

}
