#masonry{overflow:hidden;width:100%}#masonry ul{width:100%;margin:0;padding:0}#masonry li{float:left;list-style:none;width:32.5%;height:300px;margin-right:5px;margin-bottom:5px;line-height:0;overflow:hidden;background-position:100% 30%;background-repeat:no-repeat;background-size:cover}#masonry li:first-child{width:55%;height:350px}#masonry li img{min-width:100%;min-height:100%}#masonry li:nth-child(2){width:500px;height:350px}#masonry li a{display:flex;width:100%;height:100%}#masonry li a:hover{background-image:url(https://cdn2.hubspot.net/hubfs/3823653/Enercept%20April%202018/residential/image-popup-icon.png);background-repeat:no-repeat;background-position:center;background-color:#000;opacity:.5}@media only screen and (max-width:414px){#masonry li{width:100% !important}#masonry li:first-child{width:100% !important}#masonry li:nth-child(2){width:100% !important}}@media only screen and (min-device-width :768px) and (max-device-width :1024px){#masonry li:first-child{width:58% !important}#masonry li:nth-child(2){width:40% !important}}