/* Controls
---------------------------------------------------------------------- */

.controls {
    text-align: center;
    padding: 1rem;
    background: #333;
    font-size: 0.1px;
    border-radius: 2px;
}

.control-group {
    display: inline-block;
    margin-left: .75rem;
    vertical-align: top;
}

.control {
    position: relative;
    display: inline-block;
    width: 2.7rem;
    background: #444;
    cursor: pointer;
    font-size: 0.1px;
    color: white;
    transition: background 150ms;
}

.control-text {
    width: auto;
    font-size: 1.25rem;
    padding: 1rem 2rem;
    font-family: "Open Sans";
    font-weight: 700;
    letter-spacing: 1px;
}

.control:not(.mixitup-control-active):hover {
    background: #3f3f3f;
}

.control-color:after {
    width: 10px;
    height: 10px;
    top: calc(50% - 6px);
    left: calc(50% - 6px);
    border: 2px solid currentColor;
    border-radius: 2px;
    background: currentColor;
    transition: background-color 150ms, border-color 150ms;
}

.control-shape[data-toggle=".right-handed"]:after,
.control-shape[data-toggle=".left-handed"]:after {
    width: 10px;
    height: 10px;
    top: calc(50% - 5px);
    left: calc(50% - 5px);
    background: white;
    border-radius: 2px;
}

.control-shape[data-toggle=".left-handed"]:after {
    border-radius: 10px;
}

.control-shape[data-toggle=".triangle"]:after {
    border: 6px solid transparent;
    border-bottom: 9px solid white;
    top: calc(50% - 10px);
    left: calc(50% - 6px);
}

.control-size:after {
    width: 8px;
    height: 8px;
    top: calc(50% - 4px);
    left: calc(50% - 4px);
    border: 2px solid white;
    border-radius: 2px;
}

.control-size[data-toggle=".medium"]:after {
    width: 12px;
    height: 12px;
    top: calc(50% - 6px);
    left: calc(50% - 6px);
}

.control-size[data-toggle=".large"]:after {
    width: 16px;
    height: 16px;
    top: calc(50% - 8px);
    left: calc(50% - 8px);
}
.control-sort {
  width: auto;
  font-size: .01rem;
  padding: 1rem 2rem;
  font-weight: 700;
  letter-spacing: 1px;
}
.control-sort:after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-top: 2px solid;
    border-left: 2px solid;
    top: calc(50% - 5px);
    left: calc(50% - 5px);
    transform:  translateY(2px) rotate(45deg);
}

.control-sort[data-sort*=":desc"]:after {
    transform:  translateY(-3px) rotate(-135deg);
}

.mixitup-control-active {
    background: #b2d340;
}

.control:first-of-type {
    border-radius: 3px 0 0 3px;
}

.control:last-of-type {
    border-radius: 0 3px 3px 0;
}

/* Container
---------------------------------------------------------------------- */

.container {
    padding: 1rem;
    text-align: justify;
}

.container:after {
    content: '';
    display: inline-block;
    width: 100%;
}

/* Target Elements
---------------------------------------------------------------------- */

.mix,
.gap {
    display: inline-block;
    vertical-align: top;
}

.mix {
    background: #fff;
    margin-bottom: 1rem;
    position: relative;
}
/* Grid Breakpoints
---------------------------------------------------------------------- */

/* 2 Columns */

.mix,
.gap {
    width: calc(100%/2 - (((2 - 1) * 1rem) / 2));
}

/* 3 Columns */

@media screen and (min-width: 541px) {
    .mix,
    .gap {
        width: calc(100%/3 - (((3 - 1) * 1rem) / 3));
    }

    .mix.triangle:after {
        font-size: 2vw;
    }
}

/* 4 Columns */

@media screen and (min-width: 961px) {
  .mix,
  .gap {
      width: calc(100%/3 - (((3 - 1) * 1rem) / 3));
      overflow: hidden;
  }

  .mix.triangle:after {
      font-size: 2vw;
  }
}

/* 5 Columns */

@media screen and (min-width: 1281px) {
  .mix,
  .gap {
      width: calc(100%/3 - (((3 - 1) * 1rem) / 3));
  }

  .mix.triangle:after {
      font-size: 2vw;
  }
}

/* 6 Columns */

@media screen and (min-width: 1401px) {
  .mix,
  .gap {
      width: calc(100%/3 - (((3 - 1) * 1rem) / 3));
  }

  .mix.triangle:after {
      font-size: 2vw;
  }
}
