/*
  MWD (DMX): https://www.wrike.com/open.htm?id=546599420
  add blog post search
*/
.mwd-tags-search__container {
    margin-bottom: 40px;
    position: relative;
    padding: 0 15px;
}
@media (min-width: 600px) {
    .mwd-tags-search__container {
        padding: 0;
    }
}

input.mwd-tags-search__search-input {
    border: none;
    border-bottom: 2px solid #111;
    color: #595959 !important;
}

@media (min-width: 600px) {
    .mwd-tags-search__search-area {
        width: 50%;
    }
}

.mwd-tags-search__search-area .search-btn {
    position: absolute;
    right: 0;
    height: 100%;
    z-index: 4;
    background: none;
    cursor: pointer;
    border: none;
    padding: 0 1em;
}

.mwd-tags-search__search-area .search-btn i.fa.fa-search {
    color: #878787;
}
@media (min-width: 600px) {
    .mwd-tags-search__search-area .search-btn i.fa.fa-search {
        font-size: 25px;
    }
}

.mwd-tags-search__results-dropdown {
    border: 1px solid #111;
    position: absolute;
    background-color: #fff;
    z-index: 10;
    width: 91.2%;
    display: none;
}
@media (min-width: 600px) {
    .mwd-tags-search__results-dropdown {
        width: 50%;
    }
}

.mwd-tags-search__result {
    border-bottom: 1px solid #111;
    padding: 9px;
}

.mwd-tags-search__result-image-container {
    margin-right: 10px;
}

.mwd-tags-search__result-image {
    width: 60px;
}

.mwd-tags-search__headline {
    margin-bottom: 15px;
    padding: 0 15px;
}
@media (min-width: 600px) {
    .mwd-tags-search__headline {
        padding: 0;
    }
}

.mwd-tags-search__headline strong {
    font-weight: 900;
}

.mwd-tags-search__headline a {
    font-style: italic;
}

@media(max-width: 600px) {
    .mwd-mobile-centered-hl {
        text-align: center !important;
        padding-bottom: 0 !important;
    }
}


/*
  MWD: https://www.wrike.com/open.htm?id=546599420
  DMX: add tag filter possibility to blog
*/
.mwd-tags-filter__container {
  display: flex;
  flex-direction: column;
  padding: 0 15px;
  margin-bottom: 30px;
}
@media (min-width: 600px) {
  .mwd-tags-filter__container {
      flex-direction: row;
      padding: 0;
  }
}

.mwd-tags-filter__form {
  width: 100%;
  height: 100%;
  max-height: 95px;
  overflow: hidden;
}

@media (min-width: 600px) {
  .mwd-tags-filter__form {
      width: 90%;
      max-height: 45px;
  }
}

.mwd-tags-filter__form--open {
  max-height: 100%;
  margin-bottom: 0;
}

.mwd-tags-filter__filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-bottom: 25px;
}

.mwd-filter {
  margin: 0 10px 15px 0;
  width: 48%;
}
.mwd-filter:nth-child(even) {
  margin-right: 0;
}
@media (min-width: 600px) {
  .mwd-filter {
      margin: 0 20px 20px 0;
      width: auto;
  }
  .mwd-filter:nth-child(even) {
      margin-right: 20px;
  }
}

.mwd-filter:last-child {
  margin-right: 0;
}

.mwd-filter label {
  width: 100%;
  padding: 7px 0;
  margin: 0;
  background-color: #F08080;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  line-height: 20px;
  text-align: center;
  text-transform: capitalize;
  transition: background-color 0.25s ease-in-out;
  cursor: pointer;
}
@media (min-width: 600px) {
  .mwd-filter label {
      width: 180px;
      font-size: 18px;
  }
}

.mwd-filter label:hover {
  background-color: #FBB5B0;
}

.mwd-filter input[type="radio"],
.mwd-filter input[type="checkbox"] {
  display: none;
}

.mwd-filter input[type="radio"]:checked ~ label,
.mwd-filter input[type="checkbox"]:checked ~ label {
  background-color: #FBB5B0;
}

.mwd-tags-filter__restore {
    text-align: center;
    font-style: italic;
    margin-top: 5px;
}

.mwd-tags-submit {
  display: none;
}

.mwd-tags-filter__show-more {
  line-height: 1rem;
  border: 2px solid #000;
  width: 100%;
  height: 34px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
@media (min-width: 600px) {
  .mwd-tags-filter__show-more {
      width: 130px;
      justify-content: flex-start;
      padding-left: 15px;
  }
}

.mwd-tags-filter__show-more::after {
  content: '';
  background-image: url("data:image/svg+xml,%3Csvg class='show-more__icon' width='1792' height='1792' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1395 1312q0 13-10 23l-50 50q-10 10-23 10t-23-10L896 992l-393 393q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l466-466q10-10 23-10t23 10l466 466q10 10 10 23zm0-384q0 13-10 23l-50 50q-10 10-23 10t-23-10L896 608l-393 393q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l466-466q10-10 23-10t23 10l466 466q10 10 10 23z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  top: 4px;
  right: 15px;
  width: 20px;
  height: 22px;
  transform: rotateX(180deg);
  transition: transform 0.25s ease-in-out;
}
.mwd-tags-filter__show-more--open::after {
  transform: rotate(0);
}