

/*Gallery*/
.z-index-1{
    z-index: 1;
}

.section-gallery  .img-button{
    margin-bottom: 30px;
    background:transparent !important;     
    border: none;
    box-shadow: 0 0 1px var(--primary-color);
    width: 100%;
    height: 250px;
    position: relative;
    padding:0px;
}
.section-gallery .img-button > img{
    height:100%;
    box-shadow: 0px 1px 5px 1px rgba(0,0,0,0.4);
    width: 100%;
    object-fit: cover;
}

.section-gallery .img-button img.button-icon-img{
    height: 30px;
  }
  
.section-gallery .hover{
    position: absolute;
    height:20%;
    width: 80%;
    bottom: 0px;
    right: 0px;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}
.section-gallery .hover p{
    opacity: 1 !important;
    color:  var(--primary-text-color) !important;
    font-weight: 700;
    text-shadow:  var(--primary-color) 1px 1px 2px;
    z-index: 1;
    font: 14px;
}
.section-gallery .img-button:hover .hover:before, .section-gallery .img-button:hover .hover {
    display: flex;
}
.section-gallery .hover:before{
    z-index: 1;
    height:100%;
    background: var(--primary-color);
    box-shadow: 0px 1px 5px 1px rgba(0,0,0,0.4);
    width: 100%;
    position: absolute;
    bottom: 0px;
    right: 0px;
    opacity: .8;
    border-radius: 25px 0px 0px 0px;
    content: '';
}



.section-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;
}

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

}
