/* VARIABLES */
.controls {
  padding: 1rem 0 3rem;
  text-align: center;
}
.controls .btn {
  margin-right: 6px;
  margin-bottom: 1.2rem;
  background: #f0f0f0;
}
@media (min-width: 992px) {
  .controls .btn {
    margin-bottom: 0;
  }
}
.controls .btn:hover {
  border: 1px solid #333;
}
.controls .btn.mixitup-control-active {
  outline: none !important;
  box-shadow: none !important;
  background: #333 !important;
  color: #fff;
  border-color: #333;
}

.control {
  position: relative;
  display: inline-block;
  width: 2.7rem;
  height: 2.7rem;
  background: #444;
  cursor: pointer;
  font-size: 0.1px;
  color: white;
  transition: background 150ms;
}
.control:hover {
  background: #3f3f3f;
}

.control[data-filter]:after {
  content: "";
  position: absolute;
  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[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 {
  background: #393939;
}

.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: 0.75rem;
}

.control[data-filter=".green"] {
  color: #91e6c7;
}

.control[data-filter=".blue"] {
  color: #5ecdde;
}

.control[data-filter=".pink"] {
  color: #d595aa;
}

.control[data-filter=none] {
  color: #2f2f2f;
}

/* Target Elements
---------------------------------------------------------------------- */
.mix,
.gap {
  display: inline-block;
  vertical-align: top;
}

.mix {
  margin-bottom: 1rem;
  position: relative;
}

/* Container Realmix - Modifs Textes */
.realmix {
  padding: 1rem;
  text-align: justify;
  font-size: 0.1px;
}
.realmix::after {
  content: "";
  display: inline-block;
  width: 100%;
}
.realmix img {
  border: 1px solid #777;
}
.realmix h2 {
  padding: 10px 0 0 0;
  color: #333;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  margin: 0;
  text-align: left;
  word-wrap: break-word;
}
.realmix p {
  font-size: 13px;
  margin-bottom: 0px;
  text-align: left;
}

/* Grid Breakpoints
---------------------------------------------------------------------- */
/* 2 Columns */
.mix,
.gap {
  width: calc(50% - 0.5rem);
}

/* 3 Columns */
@media screen and (min-width: 541px) {
  .mix,
  .gap {
    width: calc(33.3333333333% - 0.6666666667rem);
  }
}
/* 4 Columns */
@media screen and (min-width: 961px) {
  .mix,
  .gap {
    width: calc(25% - 0.75rem);
  }
}
/* 5 Columns */
@media screen and (min-width: 1281px) {
  .mix,
  .gap {
    width: calc(20% - 0.8rem);
  }
}