.row {
    clear: both;
    margin-bottom: 1rem;
}

.row:last-child {
    margin-bottom: 0;
}

.col {
    box-sizing: border-box;
    float: left;
}

.col-25 {
    width: 25%;
}

.col-40 {
    width: 40%;
}

.col-33 {
    width: 33.333%;
}

.col-50 {
    width: 50%;
}

.col-60 {
    width: 60%;
}

.col-75 {
    width: 75%;
}

.col-25,
.col-33,
.col-40,
.col-50,
.col-60,
.col-75 {
    padding-left: 0;
    padding-right: 1rem;
}

.col-50 + .col-50,
.col-75 + .col-25,
.col-25 + .col-75,
.col-60 + .col-40,
.col-40 + .col-60 {
    padding-left: 1rem;
    padding-right: 0;
}

.col-33 + .col-33 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.col-33 + .col-33 + .col-33 {
    padding-left: 1rem;
    padding-right: 0;
}

.row-3-cols {
    margin-left: -1rem;
    margin-right: -1rem;
}

.row-3-cols .col {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

@media all and (max-width: 1023px) {
    .row {
        margin-bottom: 10px;
    }

    .col {
        float: none;
        margin-bottom: 15px;
        padding: 0 !important;
    }

    .col:last-child {
        margin-bottom: 0;
    }

    .col-25,
    .col-33,
    .col-40,
    .col-50,
    .col-60,
    .col-75 {
        width: auto;
    }

    .col img {
        width: 100%;
    }

    .row-3-cols {
        margin: 0 !important;
    }

    .row-3-cols .col {
        padding: 0 !important;
    }
}