.grid .grid-item{margin-bottom:30px;box-sizing:border-box;min-height:1px;display:inline-block!important;overflow:hidden}.grid .grid-item:nth-last-child(1),.grid .grid-item:nth-last-child(2),.grid .grid-item:nth-last-child(3){margin-bottom:0}.grid .grid-item *{box-sizing:border-box}.grid .grid-item-content{border-radius:15px;overflow:hidden;position:relative;height:100%}.gallery-item-image{overflow:hidden;border-radius:15px;height:100%}.grid .grid-item img{height:100%;max-width:100%;object-fit:cover;width:100%}.grid .grid-item .gallery-item-overlay{background-color:#de9f570a;position:absolute;top:0;left:0;bottom:0;right:0;display:flex;align-items:center;justify-content:center;transition:all .3s ease-in-out;-webkit-transition:all .3s ease-in-out;-moz-transition:all .3s ease-in-out}.grid .grid-item .gallery-item-overlay svg{color:#fff;transform:scale(0);transition:all .5s ease-out;transition:all .3s ease-in-out;-webkit-transition:all .3s ease-in-out;-moz-transition:all .3s ease-in-out}.grid .grid-item:hover .gallery-item-overlay{background:rgba(222,160,87,.8)}.grid .grid-item:hover .gallery-item-overlay svg{transform:scale(1);transition:all .5s ease-out}@media screen and (min-width:768px) and (max-width:991px){.grid .grid-item{padding-bottom:0 10px 20px}}@media (max-width:767px){.grid .grid-item{padding-bottom:20px;margin:0}.grid .grid-item:last-child{padding-bottom:0}}