.listing_container {
  padding: 25px 20px;
}

.listing_container.one .main_content {
    /* max-width: 768px; */
    padding-left: 0px;
    max-width: 792px;
    margin: 0px auto;
    display: block;
    padding: 0;
}

.listing_content {
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  color: #542400;
  padding-bottom: 90px;
}

.listing_headline {
  text-align: center;
  margin-bottom: 20px;
  font-family: "Montserrat-SemiBold";
  font-size: 50px;
  line-height: 56px;
  font-weight: normal;
  letter-spacing: 0.2px !important;
}

.listing_introtext {
  font-size: 18px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: 'Montserrat-Light';
  font-weight: 400;
  text-align: center;
  max-width: 602px;
  margin: auto;
}

.fwpl-row.blog_post_item {
  gap: 15px;
}

.fwpl-item.blog_post_image {
  width: 260px;
  height: 140px;
  overflow: hidden;
  background-color: lightgray;
}

.blog_post_image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.blog_post_cat .fwpl-term {
  font-size: 16px;
  font-family: 'Montserrat-SemiBold';
  color: #0D7093;
  pointer-events: none;
  cursor: default;
  margin-bottom: 5px;
  display: inline-block;
  margin-top: 5px;
}

.fwpl-item.blog_post_title a {
  display: block;
  color: #333333 !important;
  font-family: 'Montserrat-SemiBold' !important;
  font-weight: normal !important;
  text-decoration: none;
  margin-bottom: 5px;
}

.fwpl-item.blog_post_date {
  position: absolute;
  bottom: -10px;
  text-align: right;
  right: 0;
  font-size: 14px;
  font-family: 'Montserrat-Light';
  color: rgba(51,51,51,.8);
}

.facetwp-page {
  text-decoration: none;
  color: #000 !important;
  font-size: 14px;
  font-family: 'Montserrat-Light';
  padding: 3px 10px !important;
  margin-left: 10px !important;
  margin-right: 10px !important;
}

.facetwp-page.first-page, .facetwp-page.last-page {
  color: #0d7093 !important;
}

.facetwp-page.prev, .facetwp-page.next {
  color: #fff !important;
  background-color: #0d7093 !important;
  font-family: 'Montserrat-SemiBold' !important;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.facetwp-page.last.active {
  background-color: #0d7093 !important;
}

.facetwp-page:hover {
  background-color: #919192;
  text-decoration: none;
}

.facetwp-page.prev:hover, .facetwp-page.next:hover {
  opacity: 0.6;
}

.facetwp-page.first-page:hover, .facetwp-page.last-page:hover {
  background-color: #0d7093;
  color: #fff !important;
}

.listing_content .wp-caption-text {
  text-align: left;
  font-family: 'space';
  font-weight: 400;
  font-size: 14px;
  line-height: 28px;
  color: #79716b;
}

.blog_media_item_right a {
  text-decoration: none;
}

/* FacetWP */
.face_list_intro {
  margin-top: 50px;
  display: block;
  font-family: 'ibm';
  font-weight: 400;
  font-size: 14px;
  line-height: 16.41px;
  margin-bottom: 15px;
}

.facetwp-facet {
  margin: 0 auto;
  display: inherit;
  gap: 80px;
  color: #000;
}

.facetwp-facet.facetwp-type-dropdown {
  margin: 30px auto;
  display: inherit;
  line-height: 20.42px;
  font-weight: 500;
  color: #000;
  font-size: 14px !important;
  font-family: 'Montserrat-Semibold' !important;
  /*text-transform: uppercase;*/
}

select.facetwp-dropdown {
  line-height: 20.42px !important;
  font-weight: 500 !important;
  color: #000 !important;
  font-size: 14px !important;
  font-family: 'Montserrat-Semibold' !important;
  /*text-transform: uppercase;*/
  background-color: transparent !important;
  background-image: url('select_arrow.svg') !important;
  background-position: center right+10px !important;
  padding: 8px 30px 8px 10px !important;
}

.face_result_count {
  max-width: 880px;
  margin: 20px auto;
}

.face_result_count .facetwp-facet-ergebnisse, .face_result_count .facetwp-facet-results {
  font-family: 'Montserrat-Light';
  font-size: 32px;
  padding: 0 15px;
}

.face_result_count .facetwp-facet-results {
  margin-top: 60px;
}

.face_result_count .facetwp-facet-ergebnisse b, .face_result_count .facetwp-facet-results b {
  font-family: 'Montserrat-Semibold';
  color: #000;
}

.face_list_filter {
  display: inline-flex;
  gap: 15px;
  width: 100%;
}

.face_list_content .facetwp-template {
  max-width: 1230px;
  padding: 0 15px;
  margin: auto;
}

.face_list_pager {
  text-align: center;
  margin: 0px 15px 0px;
}

.facetwp-load-more {
  font-family: 'space';
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: #005141;
  background-color: transparent;
  padding: 16px 76px;
  border: 2px solid #005141;
}

.facetwp-load-more:hover {
  opacity: 0.8;
  color: #fff;
  background-color: #005141;
}

.facetwp-template[data-name="events"] .facet_image {
  height: 240px;
  background: lightgray;
}

.facetwp-template[data-name="events"] .event_bg_image {
  height: 100%;
  width: 100%;
}

.event_bg_image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.facet_image .item_date {
  font-size: 20px;
  font-weight: 700;
  font-family: 'ibm';
  line-height: 23.44px;
  color: #542400;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 9px 20px 9px 40px;
  background-image: url('assets/images/Calendar.svg');
  background-size: 20px;
  background-repeat: no-repeat;
  background-position: 15px;
  content: "";
}

.fwpl-result {
  background: transparent;
  border-radius: 4px;
  /* padding-bottom: 50px; */
}

.fwpl-item.facet_title a {
  padding: 15px 20px 0;
  font-family: 'space';
  font-style: normal;
  font-weight: 800;
  font-size: 24px;
  line-height: 28.8px;
  color: #542400;
  margin-bottom: 10px;
  display: block;
  text-decoration: none;
}

.fwpl-item.facet_time {
  font-family: 'ibm';
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 19px;
  color: #542400;
  margin-top: 5px;
  padding: 0 20px;
}

.fwpl-item.facet_time::before {
  background-image: url('assets/images/clock.svg');
  background-size: 14px;
  background-repeat: no-repeat;
  display: inline-block;
  width: 14px;
  height: 14px;
  content: "";
  margin-right: 5px;
  vertical-align: initial;
}

.fwpl-item.facet_excerpt {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 21px;
  color: #542400;
  margin-top: 20px;
  padding: 0 15px 0 20px;
}

.fwpl-item.facet_excerpt.is-empty {
  display: none;
}

.fwpl-item.facet_link {
  padding-bottom: 20px;
  /* bottom: 30px; */
  /* position: absolute; */
}

.fwpl-item.facet_link a button, .fwpl-item.facet_link form button, .facet_link_container .facet_link {
  font-family: 'Roboto';
  font-weight: 700;
  font-size: 16px;
  line-height: 21px;
  margin-top: 21px;
  color: #E95119;
  background-color: transparent;
  text-decoration: none;
}

.fwpl-item.facet_link a button::after, .fwpl-item.facet_link form button::after, .facet_link_container .facet_link::after {
  background-image: url('assets/images/arrow-more.svg');
  background-size: 30px 16px;
  background-repeat: no-repeat;
  display: inline-block;
  width: 30px;
  height: 16px;
  content: "";
  margin-left: 10px;
  vertical-align: middle;
}

.fwpl-result:hover .fwpl-item.facet_link a button::after, .fwpl-result:hover .fwpl-item.facet_link form button::after, .fwpl-result:hover .facet_link_container .facet_link::after{
  background-image: url('assets/images/arrow-long.svg');
  background-repeat: no-repeat;
  background-size: 50px 16px;
  width: 51px;
  height: 16px;
}

.listing_container .blog_media_item_left::after,
.listing_container .blog_media_item_right a::after {
  display: none !important;
}

.fwpl-result .facet_link_container {
  margin-left: 20px;
}

.fwpl-layout, .fwpl-row, .blog_media_item {
  display: grid;
  height: 100%;
  grid-template-columns: 260px auto;
  gap: 25px;
  padding-bottom: 50px;
}

.blog_media_item_left {
  background-color: lightgray;
  width: 99%;
  height: 128px;
}

.blog_media_item_left img {
  position: relative;
  overflow: hidden;
  height: 128px;
  width: 100%;
  object-fit: cover;
}

.blog_media_item_right {
  position: relative;
}

.blog_media_item_right h2 a {
  font-size: 20px !important;
  text-align: left !important;
  text-transform: none !important;
  line-height: 26px !important;
  color: #333333 !important;
  font-family: 'Montserrat-SemiBold' !important;
  font-weight: normal !important;
  display: block;
  margin-bottom: 25px;
}


.blog_media_date {
  position: absolute;
  bottom: 0px;
  text-align: right;
  right: 0;
  font-size: 14px;
  font-family: 'Montserrat-Light';
  color: rgba(51,51,51,.6);
  display: table-row-group;
}

.fwpl-col {
  position: relative;
}

.fwpl-result .facet_link_container {
  margin-left: 20px;
  position: absolute;
  bottom: -40px;
}

.fwpl-result:hover .facet_image .item_date {
  display: none;
}


.facetwp-facet.facetwp-facet-bevorstehende_events.facetwp-type-future_past select {
  min-width: 285px;
}

.facetwp-input-wrap input {
  height: 14px;
  background-size: 16px;
  background-position: right 12px center;
  min-height: 46px;
  padding-left: 19px;
  font-family: 'Roboto';
  font-weight: 500;
  font-size: 16px;
  line-height: 19px;
  color: #888585;
  background-color: #fff;
  border: none;
  border-radius: 8px;
}

.facetwp-icon {
  opacity: 1;
}

.facetwp-icon::before {
  display: inline-block;
  content: '';
  width: 30px;
  height: 100%;
  background: url('assets/images/search.svg') no-repeat !important;
  background-position: 1px 50% !important;
  background-size: 16px !important;
}

.fwpl-item.facet_date {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 19px;
  color: #542400;
  margin-top: 10px;
  display: inline-block;
  padding: 0 20px;
}

.fwpl-item.facet_date::before {
  background-image: url('assets/images/Calendar.svg');
  background-size: 20px;
  display: inline-block;
  width: 18.25px;
  height: 20.83px;
  content: "";
  margin-right: 3px;
  vertical-align: middle;
  background-repeat: no-repeat;
}

.fwpl-result .related_cat {
  font-family: 'Roboto';
  padding: 4px 15px 4px 7px;
  font-size: 16px;
  font-weight: 400;
  line-height: 18.75px;
  display: inline-block;
  background-color: #ffffff;
  color: #e95119;
  position: absolute;
  margin-left: 20px;
  margin-top: 200px;
  border-radius: 8px;
  opacity: 0.8;
}

.fwpl-result .related_cat img {
  margin-right: 5px;
}

.facetwp-facet.facetwp-facet-post_standort.facetwp-type-dropdown select {
  min-width: 227px;
}

.facetwp-icon {
  opacity: 1 !important;
}

.face_list_content .facetwp-template {
  max-width: 860px;
  padding: 0 7px;
  margin: auto;
  grid-row-gap: 25px;
  grid-column-gap: 8px;
  display: grid;
}

.facetwp-counter {
  display: none;
}

.facetwp_related_news_alignfull_container {
  padding: 80px 0;
}


.facetwp_related_news_container {
  max-width: 1090px;
  margin: auto;
  padding: 0 15px;
}

.facetwp_related_news_main_headline {
  font-family: 'space';
  font-style: normal;
  font-weight: 600;
  font-size: 60px;
  line-height: 76.56px;
  color: #000;
  margin-bottom: 5px;
  text-align: center;

}

.facetwp_related_news_main_introtext {
  font-family: 'ibm';
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  max-width: 602px;
  margin: 0 auto 50px;
  color: #000;
  font-weight: 400;
}

.facetwp_related_news_area {
  display: grid;
  grid-template-columns: 32.5% 32.5% 32.5%;
  grid-column-gap: 8px;
}

.facetwp_related_news {
  background-color: #fff;
  box-shadow: 0px 8px 14px rgba(0, 0, 0, 0.1);
  padding: 15px;
  padding-bottom: 45px;
  min-height: 455px;
  position: relative;
}

.facetwp_related_news a {
  text-decoration: none;
}

.facetwp_related_news .facetwp_teaser_image {
  height: 175px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #F4F4F4;
  margin-bottom: 20px;
}

.facetwp_related_news_headline_container {
  display: block;
}

.facetwp_related_news_headline {
  font-family: 'ibm';
  font-style: normal;
  font-weight: 600;
  font-size: 18px;
  line-height: 26px;
  text-align: left;
  color: #000;
  margin-bottom: 10px;
}

.facetwp_related_news_excerpt {
  font-family: 'ibm';
  font-style: normal;
  font-weight: 400;
  font-size: 15px;
  line-height: 22px;
  color: #000;
}


.facetwp_related_news_meta {
  margin: 10px 0 20px;
  display: block;
  font-family: 'ibm';
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 19px;
  text-align: left;
  color: #000;
  position: absolute;
  bottom: 0;
}

.facetwp_related_news.events .facetwp_related_news_meta {
  position: relative;
  margin-bottom: 0;
}

.facetwp_related_news_meta p {
  margin-bottom: 0;
}

.facetwp_related_news_meta p a {
  font-family: 'ibm';
  color: #005141;
  font-weight: 600;
  font-size: 16px;
  line-height: 19px;
}

.facetwp_related_news:hover .facetwp_related_news_headline_container {
  opacity: 0.8;
}

.facetwp_related_news_project_item_link {
  font-family: 'space';
  font-weight: 700;
  font-size: 16px;
  line-height: 21px;
  margin-top: 21px;
  color: #E95119;
}

.facetwp_project_item_events_date {
  font-family: 'space';
  font-weight: 600;
  font-size: 25px;
  line-height: 37.5px;
  text-align: center;
  color: #005141;
}

.facetwp_related_news_more_link {
  margin-top: 66px;
  display: block;
  text-align: center;
  color: #000;
  font-size: 16px;
  line-height: 24px;
  text-decoration: underline;
  font-family: 'space';
  font-weight: 500;
}

@media only screen and (max-width: 850px) {
  .listing_container.one .main_content {
    margin-top: 5px;
  }

  .face_list_content.alignfull {
    padding: 0 20px;
  }

  .listing_headline {
    font-size: 35px;
    line-height: 44.66px;
    margin-bottom: 10px;
  }

  .listing_introtext {
    font-size: 15px;
    line-height: 22.5px;
    margin-bottom: 30px;
  }

  .facetwp-facet {
    margin: 40px auto;
  }
}

@media only screen and (max-width: 750px) {
  .face_list_content.alignfull {
    padding: 0 15px;
  }

  .face_list_content .facetwp-template {
    grid-template-columns: 100%;
    grid-row-gap: 16px;
    padding: 0;
  }

  .facetwp_related_news.events {
    min-height: auto;
  }

  .facetwp_related_news.news {
    min-height: auto;
    padding-bottom: 60px;
  }
}

@media only screen and (max-width: 650px) {
  .fwpl-row.blog_post_item, .blog_media_item {
    grid-template-columns: 100%;
    gap: 15px;
    padding-bottom: 35px;
  }

  .fwpl-item.blog_post_image, .blog_media_item_left {
    width: 100%;
    height: 100%;
    background-color: transparent;
  }

  .blog_post_image img, .blog_media_item_left img {
    height: 100%;
    width: 100%;
  }

  .blog_media_item_right h2 a {
    font-size: 18px !important;
    line-height: 24px !important;
    margin-bottom: 5px;
  }

  .fwpl-item.blog_post_date {
    position: relative;
    bottom: 0;
  }

  .blog_media_date {
    position: relative;
    float: right;
    margin-right: 5px;
  }

  .listing_container {
    padding: 0;
  }

  .facetwp-facet.facetwp-type-dropdown {
    margin: 5px auto;
  }

  .face_result_count .facetwp-facet-ergebnisse, .face_result_count .facetwp-facet-results {
    margin: 20px 0;
    font-size: 24px;
  }
}

@media only screen and (max-width: 420px) {
  .facetwp-facet {
    grid-template-columns: 100%;
  }
}
