.from-posts-filter-container .filters-container {
  display: flex;
  justify-content: flex-end;
}
.awards-filters .from-posts-filter-container .filters-container {
  justify-content: flex-end;
}
.from-posts-filter-container .selectdiv {
  margin-right: 20px;
  width: 12rem;
}
.from-posts-filter-container .selectdiv:last-child {
  margin-right: 0;
}
.awards-filters .from-posts-filter-container select {
  margin-left: 2rem;
}
.mobile-container  {
  display: none;
}

#from-posts-filter-select-category-selectdiv {
  width: 15rem;
}

@media (max-width: 767px) {
  .from-posts-filter-wrapper.overlay {
    position: fixed;
    width: 100vw;
    z-index: 1020;
    top: 84px;
    left: 0;
    height: 100vh;
    background: #fff;
  }
  .from-posts-filter-wrapper .btn-apply {
    width: 100%;
    padding: 2rem;
    position: absolute;
    bottom: 6rem;
  }
  .from-posts-filter-wrapper .btn-apply button {
    color: #FFFFFF;
    font-family: "Source Sans Pro";
    font-size: 1.315rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    line-height: 1.1;
    text-align: center;
    border: none;
    width: 100%;
  }

  .from-posts-filter-title-container {
    border-bottom: 1px solid #ccc;
  }
  .from-posts-filter-wrapper.overlay h2 {
    color: #20438C;
    font-family: "Source Sans Pro";
    font-size: 1.315rem;
    font-weight: bold;
    line-height: 1.1;
    padding-left: 2rem;
    padding-top: 1.5rem;
    position: relative;
  }
  .from-posts-filter-wrapper.overlay h2 span {
    position: absolute;
    color: #20438C;
    content: 'X';
    height: 22px;
    width: 22px;
    cursor: pointer;
    right: 2rem;

  }
  .overlay .mobile-container {
    display: block;
  }
  .from-posts-filter-container .filters-container {
    display: none;
    padding: 2rem;
  }
  .from-posts-filter-container .selectdiv {
    margin-right: 0;
    margin-bottom: 2rem;
    width: 100%;
  }
  #from-posts-filter-select-category {
    width: 100%;
  }
  .selectdiv.mobile-container {
    display: block;
  }
  .published-area {
    display: block;
    font-family: "Source Sans Pro";
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 1rem;
  }
  .selectdiv.mobile-container .select {
    margin: 0;
    appearance: none;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 3px;
    color: #333;
    display: block;
    font-family: "Source Sans Pro";
    font-size: 16px;
    height: 50px;
    line-height: 2.85em;
    min-width: 125px;
    padding: 0 35px 0 24px;
    -ms-word-break: normal;
    word-break: normal;
    width: 100%;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
  }
  .from-posts-filter.from-posts-filter-wrapper.overlay .selectdiv.mobile-container {
    display: none;
  }
  #from-posts-filter-select-category-selectdiv {
    width: 100%;
  }

  .from-posts-filter-wrapper .selected-filter {
    display: flex;
    margin-top: 10px;
  }
  .from-posts-filter-wrapper .selected-filter:empty {
    margin-top: 0;
  }
  .from-posts-filter-wrapper .selected-filter span {
    border-radius: 16.13px;
    background-color: #F6F6F6;
    color: #000;
    font-family: "Source Sans Pro";
    font-size: 14px;
    letter-spacing: 0;
    line-height: 18.43px;
    padding: 5px 25px 5px 10px;
    margin: auto 5px auto 0;
    position: relative;
  }
  .from-posts-filter-wrapper .selected-filter span::after {
    content: "x";
    position: absolute;
    width: 15px;
    height: 15px;
    right: 5px;
    top: calc(50% - 9px);
  }
  .from-posts-filter-wrapper .selected-filter span.clear-all {
    background-color: transparent;
    color: #20438C;
    font-family: "Source Sans Pro";
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 26px;
    padding: 5px 0;
    margin-right: 0;
  }
  .from-posts-filter-wrapper .selected-filter span.clear-all::after {
    content: '';
  }
}

@media (max-width: 480px) {
  .from-posts-filter-container .selectdiv {
    margin-right: 0;
    margin-bottom: 0.5rem;
    width: 100%;
  }
}

.from-posts .from-posts-load-more .btn-load-more {
  height: 50px;
  border-radius: 2px;
  background-color: #20438C;
  border: none;
  color: #ffffff;
  padding-left: 5.3rem;
  padding-right: 5.3rem;
  font-size: 18px;
  font-weight: 600;
  line-height: 20px;
  text-align: center;
}

.from-posts .from-posts-load-more .btn-load-more:hover {
  border: none;
}