html,
body {
  height: 100%;
}

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

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

.controls {
  padding: 0.5rem 0;
  float: left;
}

.controls span {
  float: left;
  margin-right: 1em;
}

.control {
  position: relative;
  display: inline-block;
  width: 2.7rem;
  height: 25px;
  background: #ffc7ce;
  cursor: pointer;
  font-size: 0.1px;
  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% - 3px);
  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;
}

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

.container {
  padding-top: 3px;
  padding-bottom: 3px;
  text-align: justify;
  float: left;
  width: 100%;
}
.container:after {
  content: "";
  display: inline-block;
  width: 100%;
}

/* Target Elements
---------------------------------------------------------------------- */

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

.mix {
  background: #fff;

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

/*.mix:before {
    content: '';
    display: inline-block;
    padding-top: 56.25%;
}*/

.mix.green {
  color: #91e6c7;
}

.mix.pink {
  color: #d595aa;
}

.mix.blue {
  color: #5ecdde;
}

/* Grid Breakpoints
---------------------------------------------------------------------- */
/* 1 Columns */

.mix,
.gap {
  width: 100%;
}

#header {
  margin-bottom: 2em;
}
#wrapper {
  /* max-width: 1500px;  */
  max-width: 100%;
  margin: 0 auto;
  padding: 1em;
}
.day_courses {
  width: 14.2%;
  float: left;
  min-width: 150px;
}
.day_courses {
  width: calc(14.2% - 5px);
  margin-right: 5px;
}
.day_courses:nth-last-child(1) {
  margin-right: 0px;
  width: 14.2%;
}

@media only screen and (max-width: 1140px) {
  #header {
    margin-bottom: 1em;
  }
  #wrapper {
    width: 100%;
    padding: 1em;
  }

  .controls span {
    width: 100%;
    margin: 5px 0;
  }

  .controls select {
    width: 100%;
  }

  .day_courses {
    width: 100%;
    float: left;
  }
  .empty_day {
    display: none;
  }
}
