/* BTN Solutions - Main Stylesheet */

.text-bold {
  font-weight: 700;
}

.swiper-pagination {
  display: none !important;
}

/* Beitragstitel ausblenden */
.entry-title {
  display: none !important;
}

/* Hover-Effekt für SVGs im Karussell */

.carusell-pfeile svg:hover *{
  fill: #07504C; 
  stroke: #B7DDD2;
  transition: fill 0.3s ease;
}
/* Pfeil-Buttons (Magazin-seite)*/
.custom_magazin .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #07504C;
  border-radius: 50%;
  font-size: 16px;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  color: #fff;
}

.custom_magazin .page-numbers:hover,
.custom_magazin .page-numbers.current {
  background-color: #FEFEFE;
  color: #07504C;
}

.custom_magazin .page-numbers.prev,
.custom_magazin .page-numbers.next {
  font-size: 0;
}

.custom_magazin .page-numbers.prev::before,
.custom_magazin .page-numbers.next::before {
  content: "";
  width: 13px;
  height: 13px;
  background-size: contain;
  background-repeat: no-repeat;
  display: inline-block;
}

.custom_magazin .page-numbers.prev::before {
  background-image: url('/wp-content/themes/btn-solutions-child/assets/image/left.svg');
}

.custom_magazin .page-numbers.next::before {
  background-image: url('/wp-content/themes/btn-solutions-child/assets/image/right.svg');
}

/* Video */
.video-container .elementor-custom-embed-image-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(19, 19, 19, .6);
  pointer-events: none;
}

.video-container .elementor-custom-embed-image-overlay .elementor-custom-embed-play {
  z-index: 100;
}

.video-container {
  position: relative;
}

.video-container iframe,
.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* 2-zeiliger Text */
.custom_magazin .elementor-widget-theme-post-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Topic design */
.topic .elementor-post-info__terms-list-item {
  background-color: #07504C;
  padding: 10px 20px;
  border-radius: 100px;
}

/* HEADER - SEARCH BOX*/
#search,
#search-close {
  width: 38px;
  height: 38px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

#search-close {
  display: none;
}

#searchbox {
  transition: all 320ms cubic-bezier(0.18, 0.88, 0.32, 1.27);
  top: 100px;
  transform-origin: top center;
  opacity: 0;
  height: 0;
  overflow: hidden;
  visibility: hidden;
  width: calc(100% - 40px);
  max-width: 1280px;
  left: 50%;
  transform: translateX(-50%) translateY(5px) scaleY(0.5);
}

#searchbox.visible {
  opacity: 1;
  visibility: visible;
  height: auto;
  overflow: visible;
  padding: 25px 20px 25px 20px !important;
  transform: translateX(-50%) translateY(10px) scaleY(1);
}

/* search field problem in mobile (graue background problem )*/
.mobile-suche input[type="search"],
.mobile-suche input[type="text"],
.mobile-suche .elementor-search-form__input {
    -webkit-appearance: none;
    appearance: none;
    background-color: #ffffff !important;
}



/* Pfeil-Buttons Tablet & Mobile */
@media (max-width: 1024px) {
  .custom_magazin .page-numbers {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .custom_magazin .page-numbers.prev::before,
  .custom_magazin .page-numbers.next::before {
    width: 10px;
    height: 10px;
  }

  .topic .elementor-post-info__terms-list-item {
    padding: 6px 10px;
  }

  .video-container {
    padding-top: 25%;
  }

}


@media (max-width: 767px) {

  .elementor-swiper-button {
    display: none !important;
  }

  .swiper-pagination {
    display: block !important;
  }


  .swiper-pagination-bullet {
    background-color: #07504C !important;
    opacity: 1 !important;
  }


  .swiper-pagination-bullet-active {
    background-color: #B8DED4 !important;
  }

  .custom_magazin .page-numbers {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .custom_magazin .page-numbers.prev::before,
  .custom_magazin .page-numbers.next::before {
    width: 8px;
    height: 8px;
  }
}

