.what-did-inner{
    padding: 0 15px;
    max-width: 1655px;
    margin: 0 auto;
    margin-bottom: 50px;
}

.what-did-inner .top-block{
    display: flex;
    justify-content: center;
    /*flex-wrap: wrap;*/
}
.what-did-inner .bottom-block{
    display: flex;
    justify-content: center;
    /*margin-top: 2%;*/
}

.what-did-inner .vertical-img .img-block img{
    max-width: 295px;
    width: 100%;
}
.what-did-inner .square-img .img-block img{
    max-width: 295px;
    width: 100%;
}
.what-did-inner .horizontal-img .img-block img{
    max-width: 737px;
    width: 100%;
}
.what-did-inner .square-img{
    display: flex;
}
.what-did-inner .square-img.m-top{
    /*margin-top: 4.5%;*/
}

.what-did-inner .img-block{
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    /*margin-right: 2%;*/
}
.what-did-inner .vertical-img .img-block{
    /*margin-right: 4%;*/
}
.what-did-inner .img-block::before{
    content: "";
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top:0;
    bottom: 0;
    background-color: rgba(0,0,0,.4);
}
.what-did-inner .img-block .text{
    position: absolute;
    bottom: 15px;
    right: 15px;
    left:15px;
    color:#fff;
    font-family: Roboto Condensed;
    font-style: normal;
    font-weight: normal;
    font-size: 20px;
    line-height: 24px;
}

.images-block.visible-xs{
    display: none;
}

@media (max-width:1160px) {
    .what-did-inner .img-block .text{
        font-size: 16px;
        line-height: 20px;
    }
}

@media (max-width:767px) {
    .images-block.hidden-xs{
        display: none;
    }
    .images-block.visible-xs{
        display: block;
    }

    .what-did-inner .horizontal-img .img-block img{
        max-width: 620px;
    }

    .what-did-inner{
        margin-top: 30px;
    }

    .what-did-inner .square-img.m-top{

    }

    .what-did-inner .square-img .img-block.no-margin{

    }

    .what-did-inner .horizontal-img .img-block{

    }

    .what-did-inner .square-img.m-top-double{

    }
}