@media only screen and (max-width: 1199px) {
  .filter-fixed .filter-block {
    left: 15px;
  }
  .progressive-component-view .listing-view .views-row {
    width: calc(50% - 12.5px);
    margin-bottom: 40px;
  }
  .progressive-component-view .listing-view .views-row:not(:nth-child(3n)) {
    margin-right: 0;
  }
  .progressive-component-view .listing-view .views-row:not(:nth-child(2n+0)) {
    margin-right: 25px;
  }
  /* floating btn*/
  .floating-form-actions {
    left: 244px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .events-listing-view .listing-image-field img {
    height: 140px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .listing-page .region-content {
    padding-left: 280px;
  }
  .filter-fixed .filter-block {
    left: 20px;
  }
}

@media only screen and (max-width: 991px) {
  .listing-view .views-row {
    width: calc(50% - 12.5px);
    margin-bottom: 40px;
  }
  .listing-view .views-row:not(:nth-child(3n)) {
    margin-right: 0;
  }
  .listing-view .views-row:not(:nth-child(2n+0)) {
    margin-right: 25px;
  }
}

@media only screen and (min-width: 768px) {
  .responsive-menu-btn,
  .filter-close-icon {
    display: none;
  }
}

@media only screen and (max-width: 767px) {
  .listing-page .region-content {
    padding-left: 0;
  }
  .listing-page .page-content-wrapper {
    padding: 40px 20px;
  }
  .region-search-region {
    padding-bottom: 30px;
  }
  .listing-page .region-content .filter-block {
    padding: 10px 0 15px;
  }
  .filter-block {
    position: absolute !important;
    top: -75px !important;
    z-index: 1;
    right: -100%;
    left: auto !important;
    transition: all .25s;
    min-height: 100vh;
    background: #fff;
    box-shadow: -1px 0px 8px rgb(0 0 0 / 20%);
    width: 0;
    overflow: hidden;
  }
  .filter-block > * {
    width: 230px;
  }
  .show-filter {
    right: -20px;
    width: 230px;
  }
  .listing-search-component {
    justify-content: flex-start;
  }
  .listing-search-component > .form-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .listing-search-component .form-text {
    margin-top: 0;
  }
  .listing-search-component form {
    width: calc(100% - 60px);
  }
  .responsive-menu-btn {
    display: inline-block;
    width: 44px;
    height: 44px;
    position: relative;
    transition: .5s ease-in-out;
    cursor: pointer;
    margin: 0px 0 0 auto;
    background: url(../img/filter.png) no-repeat center center transparent;
    border: 1px solid var(--orange);
    border-radius: 4px;
  }
  .filter-close-icon {
    background: url(../img/ast-zz-close.png) no-repeat center center;
    width: 24px;
    height: 24px;
    display: block;
    margin-left: auto;
  }
  .sort-by-wrap {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .filter-block .fieldgroup .legend:hover,
  .filter-block .fieldgroup legend:hover {
    background: #fff;
  }
  .sort-wrapper-publications.custom-sort-wrapper {
    display: none;
  }
  .progressive-component-view .listing-view .views-row {
    width: calc(100%);
    max-width: 400px;
    margin: 0 auto 40px !important;
  }
  /* floating btn */
  .floating-form-actions {
    display: none !important;
  }
}

@media only screen and (max-width: 480px) {
  .listing-view .views-row {
    width: 100%;
    margin-bottom: 40px;
  }
  .listing-view .views-infinite-scroll-content-wrapper {
    max-width: 300px;
    margin: 0 auto;
  }
  .listing-view .views-row:not(:nth-child(2n+0)) {
    margin-right: 0;
  }
  .listing-view .views-field-field-publications-img img {
    height: 380px;
  }
}
