.control {
    padding-left: 24px;
    cursor: pointer;
    transition: background 150ms;
}

.mixitup-control-active[data-filter]:after {
  background: #008eca !important;
  border-color: #008eca !important;
}

.checkbox {
  position: relative;
  padding-left: 5px;
  padding-bottom: 12px;
}

.control[data-filter]:after,
.control[data-toggle]:after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    left: 0px;
    bottom: 12px;
    border: 2px solid #d6d6d6;
    border-radius: 0px;
    transition: background-color 150ms, border-color 150ms;
}

.mixitup-control-active[data-toggle]:after {
  border-color: #008eca;
  background: url(./img/cd-icon-check.svg) no-repeat center center !important;
}

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

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

li.filter.mixitup-control-active {
  box-shadow: inset 0 -2px 0 #008eca;
}
li.filter.mixitup-control-active a{
  color: #008eca
}

.cd-header {
  position: relative;
  height: 150px;
  background-color: #331d35;
}
.cd-header h1 {
  color: #ffffff;
  line-height: 150px;
  text-align: center;
  font-size: 2.4rem;
  font-weight: 300;
}
@media only screen and (min-width: 1170px) {
  .cd-header {
    height: 180px;
  }
  .cd-header h1 {
    line-height: 180px;
  }
}

.cd-main-content {
  position: relative;
  /* min-height: 100vh; */
}
.cd-main-content:after {
  content: "";
  display: table;
  clear: both;
}
.cd-main-content.is-fixed .cd-tab-filter-wrapper {
  position: fixed;
  top: 88px;
  left: 0;
  width: 100%;
}

.cd-main-content.is-fixed .cd-filter {
  position: fixed;
  height:  100vh;
  overflow: hidden;
  top: 88px;
  z-index: 1000;
  left: 50%;
  margin-left: -620px;
}
.cd-main-content .cd-filter .filter-content {
    background-color: #fff;
    box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.2);
    padding: 80px 20px 20px 20px;
}
.cd-main-content.is-fixed .cd-filter .filter-content {
    background-color: #fff;
    height:  calc(100vh - 168px);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.cd-main-content.is-fixed .cd-filter-trigger {
  position: fixed;
  top: 88px;
  z-index: 3000;
  position: fixed;
  left: 50%;
  margin-left: -620px;
}


/* --------------------------------

xtab-filter

-------------------------------- */
.cd-tab-filter-wrapper {
  background-color: #ffffff;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
  z-index: 100;
}
.cd-tab-filter-wrapper:after {
  content: "";
  display: table;
  clear: both;
}

.cd-tab-filter {
  /* tabbed navigation style on mobile - dropdown */
  position: relative;
  height: 50px;
  width: 140px;
  margin: 0 auto;
  z-index: 1;
}



.cd-tab-filter a {
  text-align: right;
}

.cd-tab-filter.is-open::after {
  /* small arrow rotation */
  -webkit-transform: translateY(-50%) rotate(-180deg);
  -moz-transform: translateY(-50%) rotate(-180deg);
  -ms-transform: translateY(-50%) rotate(-180deg);
  -o-transform: translateY(-50%) rotate(-180deg);
  transform: translateY(-50%) rotate(-180deg);
}
.cd-tab-filter.is-open ul {
  box-shadow: inset 0 -2px 0 #008eca, 0 2px 10px rgba(0, 0, 0, 0.2);
}
.cd-tab-filter.is-open ul li {
  display: block;
}
.cd-tab-filter.is-open .placeholder a {
  /* reduces the opacity of the placeholder on mobile when the menu is open */
  opacity: .4;
}
@media only screen and (min-width: 768px) {
  .cd-tab-filter {
    /* tabbed navigation style on medium devices */
    width: auto;
    cursor: auto;
    background: transparent;
    position: static;
    box-shadow: none;
    text-align: center;
    padding: 0!important;

  }
  .cd-tab-filter::after {
    /* hide the arrow */
    display: none;
  }
  .cd-tab-filter ul {
    background: transparent;
    position: static;
    box-shadow: none;
    text-align: center;
    padding: 0!important
  }
  .cd-tab-filter li {
    display: inline-block;
  }
  .cd-tab-filter li.placeholder {
    display: none !important;
  }
  .cd-tab-filter a {
    display: inline-block;
    padding: 0 1em;
    width: auto;
    color: #9a9a9a;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.1rem;
  }
  .no-touch .cd-tab-filter a:hover {
    color: #008eca;
  }

  .cd-tab-filter.is-open ul li {
    display: inline-block;
  }
}
@media only screen and (min-width: 1170px) {
  .cd-tab-filter {
    /* tabbed navigation on big devices */
    width: 100%;
    float: right;
    margin: 0;
    -webkit-transition: width 0.3s;
    -moz-transition: width 0.3s;
    transition: width 0.3s;
  }
  .cd-tab-filter.filter-is-visible {
    /* reduce width when filter is visible */
    width: 80%;
  }
}


/* --------------------------------

xfilter

-------------------------------- */
.cd-filter {
  position: absolute;
  display: none;
  top: 0;
  left: 0;
  width: 300px;
  height: 100%;
  background: #ffffff;
  box-shadow: 4px 4px 20px transparent;
  z-index: 2;
  /* Force Hardware Acceleration in WebKit */
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateX(-100%);
  -moz-transform: translateX(-100%);
  -ms-transform: translateX(-100%);
  -o-transform: translateX(-100%);
  transform: translateX(-100%);
  -webkit-transition: -webkit-transform 0.3s, box-shadow 0.3s;
  -moz-transition: -moz-transform 0.3s, box-shadow 0.3s;
  transition: transform 0.3s, box-shadow 0.3s;
}
.cd-filter::before {
  /* top colored bar */
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 50px;
  width: 100%;
  background-color: #008eca;
  z-index: 2;
}
.cd-filter form {
  padding: 0;
}

.cd-filter form .cd-filter-content {
  width: 100%
}

.cd-filter form .post-archive-filter__option {
  border: 2px solid #e6e6e6 !important;
}
.cd-filter form input {
  width: 50% !important;
  border: 0px solid #e6e6e6 !important;
}
.cd-filter .cd-close {
  position: absolute;
  top: 0;
  right: 0;
  height: 50px;
  line-height: 50px;
  width: 60px;
  color: #ffffff;
  font-size: 1.0rem;
  text-align: center;
  background: #035b80;
  opacity: 0;
  -webkit-transition: opacity 0.3s;
  -moz-transition: opacity 0.3s;
  transition: opacity 0.3s;
  z-index: 3;
  text-decoration: none;
}
.no-touch .cd-filter .cd-close:hover {
  background: #32255f;
}
.cd-filter.filter-is-visible {
  display: block;
  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -o-transform: translateX(0);
  transform: translateX(0);
  box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.2);
  z-index: 20;
}
.cd-filter.filter-is-visible .cd-close {
  opacity: 1;
}
button.filter {
    background-color: #9a9a9a;
    color: #fff;
    padding: 10px 15px 6px;
    border-radius: 3px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 15px;
    margin-top: 8px;
}

button.filter.mixitup-control-active {
    background-color: #008eca;
}

@media only screen and (min-width: 1170px) {

  .cd-filter form {
    margin-top: 50px
  }
}

.cd-filter-trigger {
  position: absolute;
  top: 0;
  left: 0;
  height: 50px;
  line-height: 50px;
  width: 60px;
  /* image replacement */
  overflow: hidden;
  text-indent: 100%;
  color: transparent;
  white-space: nowrap;
  background: transparent url("./img/cd-icon-filter.svg") no-repeat center center;
  z-index: 30;
  text-decoration: none;
}
.cd-filter-trigger.filter-is-visible {
  pointer-events: none;
}

.cd-filter-trigger {
  width: auto;
  left: 2%;
  text-indent: 0;
  color: #9a9a9a;
  text-transform: uppercase;
  font-size: 1.1rem;
  font-weight: 700;
  padding-left: 24px;
  background-position: left center;
  -webkit-transition: color 0.3s;
  -moz-transition: color 0.3s;
  transition: color 0.3s;
}
.no-touch .cd-filter-trigger:hover {
  color: #008eca;
}
.cd-filter-trigger.filter-is-visible, .cd-filter-trigger.filter-is-visible:hover {
  color: #ffffff !important;
}


/* --------------------------------

xcustom form elements

-------------------------------- */
.cd-filter-block {
  margin-bottom: 1.6em;
}
.cd-filter-block h4 {
  /* filter block title */
  position: relative;
  margin-bottom: .2em;
  padding: 10px 0 10px 20px;
  color: #9a9a9a;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1.1rem;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: pointer;
}
.no-touch .cd-filter-block h4:hover {
  color: #008eca;
}
.cd-filter-block h4::before {
  /* arrow */
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 16px;
  height: 16px;
  background: url("./img/cd-icon-arrow.svg") no-repeat center center;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  -webkit-transition: -webkit-transform 0.3s;
  -moz-transition: -moz-transform 0.3s;
  transition: transform 0.3s;
}
.cd-filter-block h4.closed::before {
  -webkit-transform: translateY(-50%) rotate(-90deg);
  -moz-transform: translateY(-50%) rotate(-90deg);
  -ms-transform: translateY(-50%) rotate(-90deg);
  -o-transform: translateY(-50%) rotate(-90deg);
  transform: translateY(-50%) rotate(-90deg);
}
.cd-filter-block input, .cd-filter-block select,
.cd-filter-block .radio-label::before,
.cd-filter-block .checkbox-label::before {
  /* shared style for input elements */

  border-radius: 0;
  background-color: #ffffff;
  border: 2px solid #e6e6e6;
}
.cd-filter-block input[type='search'],
.cd-filter-block input[type='text'],
.cd-filter-block select {
  width: 100%;
  padding: .8em;
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  appearance: none;
  box-shadow: none;
}
.cd-filter-block input[type='search']:focus,
.cd-filter-block input[type='text']:focus,
.cd-filter-block select:focus {
  outline: none;
  background-color: #ffffff;
  border-color: #008eca;
}
.cd-filter-block input[type='search'] {
  /* custom style for the search element */
  border-color: transparent;
  background-color: #e6e6e6;
  /* prevent jump - ios devices */
  font-size: 1.6rem !important;
}
.cd-filter-block input[type='search']::-webkit-search-cancel-button {
  display: none;
}
.cd-filter-block .cd-select {
  /* select element wrapper */
  position: relative;
}
.cd-filter-block .cd-select::after {
  /* switcher arrow for select element */
  content: '';
  position: absolute;
  z-index: 1;
  right: 14px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  display: block;
  width: 16px;
  height: 16px;
  background: url("./img/cd-icon-arrow.svg") no-repeat center center;
  pointer-events: none;
}
.cd-filter-block ul {
   padding: 0px !important;
   margin: 0px !important;
}
.cd-filter-block select {
  cursor: pointer;
  font-size: 1.1rem;
}
.cd-filter .post-search-filter {
  margin-top: 10px;
  border: 2px solid #e6e6e6 !important;
}
.cd-filter-block select::-ms-expand {
  display: none;
}
.cd-filter-block .list li {
  position: relative;
  margin-bottom: .5em;
  list-style: none;
}
.cd-filter-block .list li:last-of-type {
  margin-bottom: 0;
}
.cd-filter-block input[type=radio],
.cd-filter-block input[type=checkbox] {
  /* hide original check and radio buttons */
  position: absolute;
  left: 0;
  top: 0;
  margin: 0;
  padding: 0;
  opacity: 0;
  z-index: 2;
}
.cd-filter-block .checkbox-label,
.cd-filter-block .radio-label {
  padding-left: 28px;
  padding-bottom: 0px !important;
  font-size: 1.1rem;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.cd-filter-block .checkbox-label::before, .cd-filter-block .checkbox-label::after,
.cd-filter-block .radio-label::before,
.cd-filter-block .radio-label::after {
  /* custom radio and check boxes */
  content: '';
  display: block;
  position: absolute;
  top: 40%;
  left: 2px;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}
.cd-filter-block .checkbox-label::before,
.cd-filter-block .radio-label::before {
  width: 16px;
  height: 16px;
  left: 0;
}
.cd-filter-block .checkbox-label::after,
.cd-filter-block .radio-label::after {
  /* check mark - hidden */
  display: none;
}
.cd-filter-block .checkbox-label::after {
  /* check mark style for check boxes */
  width: 16px;
  height: 16px;
  background: url("./img/cd-icon-check.svg") no-repeat center center;
}
.cd-filter-block .radio-label::before,
.cd-filter-block .radio-label::after {
  border-radius: 50%;
}
.cd-filter-block .radio-label::after {
  /* check mark style for radio buttons */
  width: 6px;
  height: 6px;
  background-color: #ffffff;
  left: 8px;
}
.cd-filter-block input[type=radio]:checked + label::before,
.cd-filter-block input[type=checkbox]:checked + label::before {
  border-color: #008eca;
  background-color: #008eca;
}
.cd-filter-block input[type=radio]:checked + label::after,
.cd-filter-block input[type=checkbox]:checked + label::after {
  display: block;
}
.placeholder {
  margin-bottom: 0px !important
}
/* Pagination Controls
---------------------------------------------------------------------- */
.controls-pagination {
  font-size: 0.1px;
  text-align: justify;
}
.controls-pagination:after {
  content: '';
  display: inline-block;
  width: 100%;
}
.load-more-wrapper {
  text-align: center;
  padding: 1rem;
}
.load-more {
  display: inline-block;
  font-size: 1rem;
  font-weight: bold;
  padding: 1rem;
  min-width: 8rem;
  cursor: pointer;
  background-color: #008eca;
  color: #FFF;
  box-shadow: 0 0 8px rgb(0 0 0 / 5%);
  border-radius: 3px;
}
.load-more:disabled {
  opacity: .5;
  background-color: #aaa;
  color: #e6e5e5;
  cursor: default;
  display: none;
}
.mixitup-page-list,
.mixitup-page-stats {
    display: inline-block;
    vertical-align: middle;
}
.mixitup-page-list {
    text-align: left;
    margin-bottom: 20px;
}
.mixitup-page-stats {
    font-size: .9rem;
    color: #101010;
    font-weight: bold;
}
.mixitup-control {
    position: relative;
    display: inline-block;
    text-align: center;
    width: 2.7rem;
    height: 2.7rem;
    background: #fff;
    border: 2px solid #eaeaea;
    margin-right: 1px;
    cursor: pointer;
    font-size: .9rem;
    color: #101010;
    font-weight: bold;
    transition: color 150ms, border-color 150ms;
    vertical-align: middle;
}
.mixitup-control-truncation-marker {
  border: 0px solid #eaeaea !important;
}

.mixitup-control:first-child {
    border-radius: 3px 0 0 3px;
}

.mixitup-control:last-child {
    border-radius: 0 3px 3px 0;
}

.mixitup-control:not(.mixitup-control-active):hover {
    color: #008eca;
}

.mixitup-control-active {
    border-bottom-color: #008eca;
    border-top: 2px solid #eaeaea;
    border-left: 2px solid #eaeaea;
    border-right: 2px solid #eaeaea;
    cursor: default;
}
button.filter.mixitup-control-active {
  border: 0px solid #eaeaea !important;
}
button.control.mixitup-control-active {
  border: 0px solid #eaeaea !important;
}

.mixitup-control:disabled {
    background: #eaeaea;
    border: 2px solid #eaeaea;
    color: #aaa;
    cursor: default;
}

.mixitup-control-truncation-marker {
    background: transparent;
    pointer-events: none;
    line-height: 2.2em;
}


@-moz-document url-prefix() {
  /* hide custom arrow on Firefox - select element */
  .cd-filter-block .cd-select::after {
    display: none;
  }
}

@media only screen and (max-width: 768px) {
  .cd-main-content.is-fixed .cd-tab-filter-wrapper, .cd-main-content.is-fixed .cd-filter-trigger, .cd-main-content.is-fixed .cd-filter {
    top: 0 !important
  }
  .cd-main-content.is-fixed .cd-filter .filter-content {
    height: 100vh !important;
  }
  .cd-main-content.is-fixed .cd-filter-trigger {
    left: 0% !important;
    margin-left: 20px !important;
  }
  .cd-main-content.is-fixed .cd-filter {
    width: 100% !important;
    left: 0% !important;
    margin-left: 0px !important;
  }
  .cd-filter {
    width: 100% !important
  }
  .cd-tab-filter {
    width: 100% !important;
    text-align: right !important;
  }
  .is-fixed button.filter{
    margin-right: 20px !important
  }
  .cd-filters ul {
    margin: 0px !important;
    padding: 0px !important
  }
}


@media ( max-width: 480px ) {
  .cd-main-content.is-fixed .cd-tab-filter-wrapper, .cd-main-content.is-fixed .cd-filter-trigger, .cd-main-content.is-fixed .cd-filter {
    top: 0 !important
  }
  .cd-main-content.is-fixed .cd-filter .filter-content {
    height: 100vh !important;
  }
  .cd-main-content.is-fixed .cd-filter-trigger {
    left: 0% !important;
    margin-left: 20px !important;
  }
  .cd-main-content.is-fixed .cd-filter {
    width: 100% !important;
    left: 0% !important;
    margin-left: 0px !important;
  }
  .cd-filter {
    width: 100% !important
  }
  .cd-tab-filter {
    width: 100% !important;
    text-align: right !important;
  }
  .is-fixed button.filter{
    margin-right: 20px !important
  }
  .cd-filters ul {
    margin: 0px !important;
    padding: 0px !important
  }
}
