html,
body {
    height: 100%;
    background: #f2f2f2;
}

*,
*:before,
*:after {
    box-sizing: border-box;
}


/* Controls
---------------------------------------------------------------------- */

.control {
    position: relative;
    display: inline-block;
    font-size: 30px;
    cursor: pointer;
}

.control[data-sort]:after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-top: 2px solid;
    border-left: 2px solid;
    top: calc(50% - 6px);
    left: calc(50% - 6px);
    transform: translateY(1px) rotate(45deg);
}

.control[data-sort*=":desc"]:after {
    transform: translateY(-4px) rotate(-135deg);
}

.mixitup-control-active h3:after {
    content: ' ';
    display: block;
    margin-top: 5px;
    width: 100%;
    height: 3px;
    background: #ff787e;
}

.mixitup-control-active[data-filter]:after {
    background: transparent;
}

.control:first-of-type {
    border-radius: 3px 0 0 3px;
}

.control:last-of-type {
    border-radius: 0 3px 3px 0;
}

.control[data-filter]+.control[data-sort] {
    margin-left: .75rem;
}


/* Container
---------------------------------------------------------------------- */

.container {
    padding: 1rem;
    text-align: justify;
    font-size: 0.1px;
}

.container:after {
    content: '';
    display: inline-block;
    width: 100%;
}


/* Grid Items
---------------------------------------------------------------------- */

.item,
.gap {
    display: inline-block;
    vertical-align: top;
}

.item {
 
    border-radius: 2px;
    margin-bottom: 1rem;
    position: relative;
}


/* Grid Breakpoints
---------------------------------------------------------------------- */


/* default Columns */

.item,
.gap {
    width: calc(100%/3 - (((3 - 1) * 1rem) / 3));
}


/* 3 Columns */

@media screen and (max-width: 1281px) {
    .item,
    .gap {
        width: calc(100%/3 - (((3 - 1) * 1rem) / 3));
    }
}

@media screen and (max-width: 991px) {
    .item,
    .gap {
        width: calc(100%/2 - (((2 - 1) * 1rem) / 2));
    }
}

@media screen and (max-width: 767px) {
    .item,
    .gap {
        width: calc(100%/1 - (((1 - 1) * 1rem) / 1));
    }
}