.flex-img > div.box {
    box-sizing: border-box;
    width: calc((100% - 60px) / 3);
    margin-right: 20px;
    margin-bottom: 45px;
    overflow: hidden;
}