/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.2.0
Text Domain:  Avada
*/
/* Avada Image Carousel - Feste Höhe mit automatischer Breitenanpassung */

.swiper-wrapper{
padding: 0 !important;}

/* Container auf 700px Höhe fixieren */
.fusion-image-carousel .awb-carousel {
    height: 500px !important;
}

.fusion-image-carousel{
margin: 0 !important;
}

.fusion-image-carousel .swiper-wrapper {
    height: 500px !important;
}

/* Slides nehmen automatisch die Breite an, die sie brauchen */
.fusion-image-carousel .swiper-slide {
    height: 500px !important;
    width: auto !important; /* WICHTIG: Auto-Breite statt fester Breite */
    flex-shrink: 0;
}

/* Bildcontainer auf volle Höhe */
.fusion-image-carousel .fusion-carousel-item-wrapper,
.fusion-image-carousel .fusion-image-wrapper {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Bilder nehmen volle Höhe, Breite passt sich automatisch an */
.fusion-image-carousel .fusion-image-wrapper img {
    height: 500px !important;
    width: auto !important;
    max-width: none !important;
    object-fit: contain; /* Wichtig: contain statt cover, damit nichts abgeschnitten wird */
}

/* Navigation Buttons anpassen */
.fusion-image-carousel .awb-swiper-button {
    z-index: 100;
}

/* Responsive: Mobile Geräte */
@media (max-width: 768px) {
    .fusion-image-carousel .awb-carousel,
    .fusion-image-carousel .swiper-wrapper,
    .fusion-image-carousel .swiper-slide {
        height: 500px !important;
    }
    
    .fusion-image-carousel .fusion-image-wrapper img {
        height: 500px !important;
    }
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .fusion-image-carousel .awb-carousel,
    .fusion-image-carousel .swiper-wrapper,
    .fusion-image-carousel .swiper-slide {
        height: 60vh !important;
        min-height: 400px !important;
    }
}

@media (max-width: 480px) {
    .fusion-image-carousel .awb-carousel,
    .fusion-image-carousel .swiper-wrapper,
    .fusion-image-carousel .swiper-slide {
        height: 50vh !important;
        min-height: 350px !important;
    }
}

h1.entry-title.fusion-post-title.fusion-responsive-typography-calculated {
    display: none;
}

.recent-posts-content p.meta{
	color: #debb8c;
}

.h1s .title-heading-left, .h1s .title-heading-center , .h1s .title-heading-right, .h1s h2, .h1s h3, .h1s h4, .h1s h5, .h1s span {
	font-family: var(--h1_typography-font-family)!important;
    font-weight: var(--h1_typography-font-weight)!important;
    line-height: var(--h1_typography-line-height)!important;
    letter-spacing: var(--h1_typography-letter-spacing)!important;
    text-transform: var(--h1_typography-text-transform)!important;
    font-style: var(--h1_typography-font-style,normal)!important;
	font-size: var(--h1_typography-font-size)!important;
}

.h2s .title-heading-left, .h2s .title-heading-center, .h2s .title-heading-right, .h2s h1, .h2s h3, .h2s h4, .h2s h5, .h2s span{
	font-family: var(--h2_typography-font-family)!important;
    font-weight: var(--h2_typography-font-weight)!important;
    line-height: var(--h2_typography-line-height)!important;
    letter-spacing: var(--h2_typography-letter-spacing)!important;
    text-transform: var(--h2_typography-text-transform)!important;
    font-style: var(--h2_typography-font-style,normal)!important;
	font-size: var(--h2_typography-font-size)!important;
}

.h3s .title-heading-left, .h3s .title-heading-center, .h3s .title-heading-right, .h3s h1, .h3s h2, .h3s h4, .h3s h5, .h3s span{
	font-family: var(--h3_typography-font-family)!important;
    font-weight: var(--h3_typography-font-weight)!important;
    line-height: var(--h3_typography-line-height)!important;
    letter-spacing: var(--h3_typography-letter-spacing)!important;
    text-transform: var(--h3_typography-text-transform)!important;
    font-style: var(--h3_typography-font-style,normal)!important;
	font-size: var(--h3_typography-font-size)!important;
}
.h4s .title-heading-left, .h4s .title-heading-center, .h4s .title-heading-right{
	font-family: var(--h4_typography-font-family)!important;
    font-weight: var(--h4_typography-font-weight)!important;
    line-height: var(--h4_typography-line-height)!important;
    letter-spacing: var(--h4_typography-letter-spacing)!important;
    text-transform: var(--h4_typography-text-transform)!important;
    font-style: var(--h4_typography-font-style,normal)!important;
	font-size: var(--h4_typography-font-size)!important;
}

/* use basic heading styles for seo */

.h1s, .h1s h2, .h1s h3, .h1s h4, .h1s h5, .h1s span{
	font-family: var(--h1_typography-font-family)!important;
    font-weight: var(--h1_typography-font-weight)!important;
    line-height: var(--h1_typography-line-height)!important;
    letter-spacing: var(--h1_typography-letter-spacing)!important;
    text-transform: var(--h1_typography-text-transform)!important;
    font-style: var(--h1_typography-font-style,normal)!important;
	font-size: var(--h1_typography-font-size)!important;
	color: var(--h1_typography-font-color)!important;
}


.h2s, .h2s h1, .h2s h3, .h2s h4, .h2s h5{
	font-family: var(--h2_typography-font-family)!important;
    font-weight: var(--h2_typography-font-weight)!important;
    line-height: var(--h2_typography-line-height)!important;
    letter-spacing: var(--h2_typography-letter-spacing)!important;
    text-transform: var(--h2_typography-text-transform)!important;
    font-style: var(--h2_typography-font-style,normal)!important;
	font-size: var(--h2_typography-font-size)!important;
	color: var(--h2_typography-font-color)!important;
}
.h3s, .h3s h1, .h3s h2, .h3s h4, .h3s h5 {
	font-family: var(--h3_typography-font-family)!important;
    font-weight: var(--h3_typography-font-weight)!important;
    line-height: var(--h3_typography-line-height)!important;
    letter-spacing: var(--h3_typography-letter-spacing)!important;
    text-transform: var(--h3_typography-text-transform)!important;
    font-style: var(--h3_typography-font-style,normal)!important;
	font-size: var(--h3_typography-font-size)!important;
}

.h4s, .h4s h1, .h4s h2, .h4s h3, .h4s h5{
	font-family: var(--h4_typography-font-family)!important;
    font-weight: var(--h4_typography-font-weight)!important;
    line-height: var(--h4_typography-line-height)!important;
    letter-spacing: var(--h4_typography-letter-spacing)!important;
    text-transform: var(--h4_typography-text-transform)!important;
    font-style: var(--h4_typography-font-style,normal)!important;
	font-size: var(--h4_typography-font-size)!important;

}

.h6s, .h6s h1, .h6s h2, .h6s h3, .h6s h5{
	font-family: var(--h6_typography-font-family)!important;
    font-weight: var(--h6_typography-font-weight)!important;
    line-height: var(--h6_typography-line-height)!important;
    letter-spacing: var(--h6_typography-letter-spacing)!important;
    text-transform: var(--h6_typography-text-transform)!important;
    font-style: var(--h6_typography-font-style,normal)!important;
	font-size: var(--h6_typography-font-size)!important;

}

.ps, .ps h2, .ps h3, .ps h4, .ps h5, .ps span{
	font-family: var(--awb-text-font-family)!important;
    font-weight: var(--awb-text-font-weight)!important;
    line-height: var(--awb-text-line-height)!important;
    letter-spacing: var(--awb-text-letter-spacing)!important;
    text-transform: var(--awb-text-transform)!important;
    font-style: var(--awb-text-font-style,normal)!important;
	font-size: var(--awb-text--font-size)!important;
	color: var(--awb-text-font-color)!important;
}



.cookie-icon{
	cursor: pointer;
}

.cookie-link {
	background-color: #DEBB8C !important;
	color: #fff !important;
	border-radius: 16px;
	padding: 5px 10px;
	box-shadow: 0px 3px 15px 6px #00000029;

}


a#rcb-sc-link-change, a#rcb-sc-link-history, a#rcb-sc-link-revoke {
		color: #fff !important;
}


.awb-off-canvas{
	height: auto !important;
}

#awb-oc-530 {
    position: fixed; /* Fixiert das Menü */
    bottom: 0; /* Am unteren Rand */
    left: 0; /* Am linken Rand */

    z-index: 999; 
}

@media screen and (min-width: 1200px) {

.gtranslate_wrapper {
    display: flex !important;
    justify-content: center !important;
	margin-top: 10px;
	}

	}
@media only screen and (max-width: 768px) {

  .fusion-image-carousel .fusion-carousel-item-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    height: 50vh !important; /* Einheitliche Höhe für alle Slides */
    box-sizing: border-box !important;
  }

  /* Caption immer oben */
  .fusion-image-carousel .awb-imageframe-caption-container {
    order: 0 !important;
    width: 100% !important;
    flex: 0 0 auto !important;
  }

  /* Bild nimmt Resthöhe */
  .fusion-image-carousel .fusion-image-wrapper {
    order: 1 !important;
    width: 100% !important;
    flex: 1 1 auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    overflow: hidden !important;
  }

  /* Bild proportional, maximal in Container */
  .fusion-image-carousel .fusion-image-wrapper img {
    max-height: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    width: auto !important;
    object-fit: contain !important;
    display: block !important;
  }
	

}

@media screen and (min-width: 1200px) {



	}






/* Slider Container auf 40vh Höhe fixieren - für alle Karussells */
[id^="sp-wp-carousel-free-id-"] {
    height: 50vh !important;
}

/* Alle Slides auf 40vh Höhe */
[id^="sp-wp-carousel-free-id-"] .swiper-slide {
    height: 50vh !important;
}

/* Single Item Container */
[id^="sp-wp-carousel-free-id-"] .wpcp-single-item {
    height: 50vh !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Link Container */
[id^="sp-wp-carousel-free-id-"] .wpcp-single-item a {
    height: 40vh !important;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Figure Container */
[id^="sp-wp-carousel-free-id-"] .wpcp-single-item figure {
    height: 50vh !important;
    width: 100%;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Bilder - füllen den gesamten Rahmen aus */
[id^="sp-wp-carousel-free-id-"] .wpcp-single-item img {
    height: 50vh !important;
    width: 100% !important;
    max-width: none !important;
    object-fit: cover;
    object-position: center;
}

