.waterfall{
    padding: 0 0 30px 0;
}
.waterfall .list-group {
    margin-right: 14px;
}
.waterfall .list-group > li:first-child {
    padding: 0;
    background-color: white;
}
.waterfall .list-group > li:first-child img {
    width: 100%;
    border-top-right-radius: 4px;
    border-top-left-radius: 4px;
}
.waterfall .list-group > li {
    background-color: #f5f5f5;
}

.list-group-item:first-child, .list-group-item:last-child{
    border-radius: 0;
}

.waterfall .list-group > li{
    background-color: #f1f1f1;
}

.media-heading{
    color: #747474;
    height: 25px;
    line-height: 25px;
    font-size: 15px;
    margin: 0;
}

.list-group-item{
    border: 1px solid #eee;
}

@media (min-width: 768px) {
  .waterfall .list-group {
    width: 346px;
  }
}
@media (min-width: 992px) {
  .waterfall .list-group {
    width: 299px; }
}
@media (min-width: 1200px) {
  .waterfall .list-group {
    width: 273px;
  }
}

@media (max-width: 767px) {
    .waterfall {
        margin-top: 30px;
        padding:0;
    }
    .waterfall .list-group {
        width: calc(50% - 6px);
        margin-right: 5px;
    }

    .media-heading{
        font-size: 12px;
        height: auto;
        overflow: hidden;
        line-height: 20px;
        text-align: justify;
    }
    .list-group-item{
        padding: 5px;
    }
}
