.cfourgrid {
    max-width: none;
    margin-left: -10px;
    margin-right: -10px;
}
.cfourgrid::after {
    content: '';
    display: table;
    clear: both;
}
.cfourgrid .grid-sizer {
    width: 25%;
}
.cfourgrid .grid-item {
    width: 25%;
    margin-bottom: 20px;
    height: 150px;
    box-sizing: border-box;
    padding-left: 10px;
    padding-right: 10px;
    float: left;
}
.cfourgrid .grid-item:after {
    content: "";
    display: block;
    clear: both;
}
.cfourgrid .grid-item .grid-content {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}
.cfourgrid .grid-item .grid-content img {
    width: 100%;
    position: absolute;
    top: -9999px;
    bottom: -9999px;
    left: -9999px;
    right: -9999px;
    margin: auto;
}
.cfourgrid .grid-item--width2 {
    width: 50%;
}
.cfourgrid .grid-item--width3 {
    width: 75%;
}
.cfourgrid .grid-item--width4 {
    width: 100%;
}
.cfourgrid .grid-item--height2 {
    height: 300px;
}
.cfourgrid .grid-item--height3 {
    height: 450px;
}
.cfourgrid .grid-item--height4 {
    height: 600px;
}
@media (max-width: 1199px) {
    .cfourgrid .grid-item {
        height: 122px;
    }
    .cfourgrid .grid-item--height2 {
        height: 244px;
    }
    .cfourgrid .grid-item--height3 {
        height: 366px;
    }
    .cfourgrid .grid-item--height4 {
        height: 488px;
    }
}
@media (max-width: 991px) {
    .cfourgrid .grid-item {
        height: 92px;
    }
    .cfourgrid .grid-item--height2 {
        height: 184px;
    }
    .cfourgrid .grid-item--height3 {
        height: 276px;
    }
    .cfourgrid .grid-item--height4 {
        height: 368px;
    }
}

@media (max-width: 767px) {
    .cfourgrid {
        display: block;
        height: auto !important;
    }
    .cfourgrid > *{
        position: static !important;
        width: auto !important;
        height: auto !important;
        float: none !important;
    }
    .cfourgrid .grid-item .grid-content img {
        position: static !important;
    }
}
