@media screen and (min-width: 769px) {
  .mobile {
    display: none !important;
  }

  .parallax {
    height: 100vh;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: top 50px center;
    background-size: cover;
  }
}

@media screen and (max-width: 768px) {
  .desktop {
    display: none !important;
  }

  .parallax {
    height: 300px;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: center center;
    background-size: cover;
  }
}

.page_ad_slideshow {
  height: 390px;
  width: 100%;
}

.myfade {
  animation-name: MyFade !important;
  animation-duration: 1.5s;
}

@keyframes MyFade {
  0% {
    opacity: 0;
  }

  25% {
    opacity: 0.25;
  }

  50% {
    opacity: 0.5;
  }

  75% {
    opacity: 0.75;
  }

  100% {
    opacity: 1;
  }
}

/* Sociale Ikoner */
#sociale_ikoner_wrapper {
  text-align: center;
  font-weight: 500;
  font-size: 18px;
}

.sociale_ikoner_container {
  display: flex;
  justify-content: center;
  column-gap: 12px;
}

.sociale_ikoner_image {
  width: 100%;
  max-width: 35px;
  height: 35px;
  margin: 0.444rem;
  opacity: 0.8;
}

.sociale_ikoner_image:hover {
  width: 100%;
  max-width: 35px;
  height: 35px;
  opacity: 1;
  border: 1px #fff solid;
}

/* MAP */
.map-header-container {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: flex-start;
  align-content: stretch;
}

.map-header-items:nth-child(1) {
  display: block;
  flex-grow: 0;
  flex-shrink: 1;
  flex-basis: auto;
  align-self: auto;
  order: 0;
}

.map-header-items:nth-child(2) {
  display: block;
  flex-grow: 0;
  flex-shrink: 1;
  flex-basis: auto;
  align-self: auto;
  order: 0;
}

/* POST CAROUSEL */
@media screen and (max-width: 768px) {
  .post_carosel_content_box {
    width: 100%;
  }

  .post_carosel_container:nth-child(1) {
    flex-grow: 3 !important;
    width: 100% !important;
    overflow: scroll;
    margin-top: 30px;
  }

  .post_carosel_container:nth-child(2) {
    flex-grow: 1 !important;
    width: 100% !important;
    overflow: scroll;
    margin-top: 0px;
  }
}

@media screen and (min-width: 769px) and (max-width: 1365px) {
  .post_carosel_content_box {
    width: 75%;
  }

  .post_carosel_container:nth-child(1) {
    flex-grow: 3 !important;
    width: 65% !important;
    max-height: 400px;
    overflow: hidden;
  }

  .post_carosel_container:nth-child(2) {
    flex-grow: 1 !important;
    width: 25% !important;
    max-height: 400px;
    overflow: scroll;
    border-left: 1px #000 solid;
  }
}

@media screen and (min-width: 1366px) {
  .post_carosel_content_box {
    width: 75%;
  }

  .post_carosel_container:nth-child(1) {
    flex-grow: 3 !important;
    width: 65% !important;
    max-height: 600px;
    overflow: hidden;
  }

  .post_carosel_container:nth-child(2) {
    flex-grow: 1 !important;
    width: 25% !important;
    max-height: 600px;
    overflow: scroll;
    border-left: 1px #000 solid;
  }
}

.post_carosel_container {
  height: 100vh;
  margin-top: 30px;
}

.post_carosel_container:nth-child(2)::-webkit-scrollbar {
  display: none;
}

.post_carosel_content {
  background-color: rgba(255, 255, 255, 1);
  margin: auto;
}

.post_carosel_content_array:hover,
.post_carosel_content_box:hover {
  background-color: rgba(248, 248, 248, 1);
  margin: auto;
}

.post_carosel_content_header {
  background-color: #34ab7b;
  color: #fff;
}

.post_carosel_content_header h2 {
  padding: 0 !important;
}

.post_carousel_excerpt p {
  font-weight: 600 !important;
  color: #000;
}

.post_carosel_content_array {
  overflow: hidden;
}

.post_carosel_content_array p {
  color: #333;
}

.post_carosel_content_array:hover {
  background-color: #f8f8f8 !important;
  color: #333 !important;
}

.carousel-item a:hover {
  color: #333 !important;
}

.carousel-item a img {
  width: 100% !important;
}

/* MAILER */
#kontakt_form_wrapper{
  background-color: #fff;
  text-transform: initial;
}

#sib_signup_form_1{
  background-color: #fff;
  text-transform: initial;
}


.sib-FIRSTNAME-area, .sib-LASTNAME-area, .sib-email-area{
  padding-bottom: 6px!important;
  padding-top: 6px!important;
  width: 100%!important;
  margin:0!important;
}

.gap {
  gap: 24px;
}

/* DIVI OVERRIDES */

/* TOP MENU */
.et_pb_menu--without-logo .et_pb_menu__menu>nav>ul>li>a {
  font-size: 90% !important;
  line-height: 1.2rem !important;
}

/* PRIMARY MENU */
.et_pb_menu--with-logo .et_pb_menu__menu>nav>ul>li>a {
  font-size: 1rem !important;
}

.et_pb_menu_1_tb_header.et_pb_menu .nav li ul.sub-menu a,
.et_pb_menu_1_tb_header.et_pb_menu .et_mobile_menu a {
  font-size: 90% !important;
  line-height: 1.2rem !important;
  margin: 5px 0;
}

/* UNIQUE COLUMN 16 & 18 */
.et_pb_column_16,
.et_pb_column_18 {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* FONT CORRECTIONS */
.et_pb_blog_2 .et_pb_post .entry-title a,
.et_pb_blog_2 .not-found-title {
  font-size: 1rem !important;
  line-height: 1.4rem !important;
}

.et_pb_text_2 {
  font-weight: normal !important;
}

/* SPINNER */
.custom-filter-loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  display: none;
}

.custom-filter-loader {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10000;
  display: none;
}

/* Use Bootstrap spinner classes for the spinner */
.spinner-border {
  width: 3rem;
  height: 3rem;
}

/* General styles for the overlay */
#newsletter-popup {
  position: fixed;
  bottom: -50px;
  right: 0px;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  /* Add this line */
}

/* Styles for the popup content */
.newsletter_popup {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  width: 80%;
  max-width: 500px;
  text-align: center;
}

/* If you want to add a close button */
.close-button {
  position: absolute;
  top: 10px;
  right: 105px;
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  color: #666;
  cursor: pointer;
}