/*
Theme Name: Infine Child
Template:   infine
Theme URI: https://1.envato.market/infine-wp
Description: Life and Business Coach WordPress Theme
Author: Awaiken
Author URI: https://awaikenthemes.com/
Version: 1.0.0
Text Domain: infine-child
*/

/* custom styles  */
.number-percentage
{
	display: none !important;
}
.company-landingpage-btn {
	position: absolute !important;
	z-index: 10;
	margin-top: 20px;
	margin-right: 20px;
}

.elementor-widget-video .elementor-wrapper iframe, .elementor-widget-video .elementor-wrapper video {
	width: 100% !important;
	height: auto !important;
	margin-bottom: -100px !important;
}

.contact-form-note {
	font-size: 0.8em;
	font-style: italic;
}

.copyright p {
	font-size: 0.8em !important;
}

.post-tags,
.post-social-sharing {
	display: none !important;
}

.post-single-meta ul li:nth-child(2) {
	display: none !important;
}

.ata-site-logo-img {
	max-height: 40px;
}

/* password page */
/* Versteckt den Footer */
.is-password-protected {}
.is-password-protected .ekit-template-content-header,
.is-password-protected .ekit-template-content-footer,
.is-password-protected .wpml-ls-statics-footer {
	display: none !important;
}

/* password form */
.custom-pw-container {
	margin: 150px auto;
	display: block;
	width: 500px;
	max-width: 90%;
	text-align: center;
	padding: 50px;
	border: 1px solid;
	border-radius: 25px;
	background: #042A2D;
}
.custom-pw-container .pw-logo-wrapper {
	padding: 50px;
}
.custom-pw-container .pw-logo-wrapper img {
	max-height: 60px;
	width: auto;
}
.custom-pw-container h2 {
	font-weight: 700;
	background-image: linear-gradient(267.43deg, var(--e-global-color-accent) 4.95%, var(--e-global-color-accentsecondary) 97.92%);
	background-clip: text;
	-webkit-text-fill-color: transparent
}
.custom-pw-container input {
	margin: 30px 0;
}
.custom-pw-container button {
	padding: 12px 24px;
	color: #ffffff;
	background: linear-gradient(267.43deg, rgb(54, 203, 137) 4.95%, rgb(78, 176, 216) 97.92%);
	border: none;
	border-radius: 25px;
	font-family: var(--font-family);
	font-weight: bold;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.3s ease;
	display: inline-block;
	text-align: center;
	text-decoration: none;
}
.custom-pw-container button:hover {
	background: linear-gradient(267.43deg, rgb(78, 176, 216) 97.92%, rgb(54, 203, 137) 4.95%);
}

/* wp carousel */
#sp-wp-carousel-free-id-14606 img {
	border-radius: 25px;
}

#sp-wp-carousel-free-id-14606 .wpcp-carousel-content-wrapper {
	height: auto;
}
#sp-wp-carousel-free-id-14606 .swiper-slide-active {
	width: 700px !important;
}
#sp-wp-carousel-free-id-14606 .swiper-slide-prev {
	margin-left: -150px !important;
}


/* Verkleinert die seitlichen Bilder */
selector .swiper-slide:not(.swiper-slide-active) {
    transform: scale(0.7);
    opacity: 0.5; /* Macht die äußeren Bilder zusätzlich leicht transparent */
    transition: 0.3s;
}

/* Das aktive (mittlere) Bild bleibt groß */
selector .swiper-slide-active {
    transform: scale(1);
    z-index: 2;
}
.fokus-karussell {
	overflow: hidden;
}
/* 1. Die äußeren Bilder verkleinern und ausgrauen */
.fokus-karussell .swiper-slide {
    transform: scale(0.8); /* Kleiner machen */
    opacity: 0.4;         /* Blasser machen */
    transition: all 0.5s ease;
}

/* 2. Nur das mittlere Bild (aktive Slide) hervorheben */
/* Hinweis: Bei 3 gezeigten Slides ist die aktive meist die in der Mitte */
.fokus-karussell .swiper-slide-active + .swiper-slide {
    transform: scale(1); /* Größer machen */
    opacity: 1;           /* Volle Sichtbarkeit */
    z-index: 10;
}

/* Korrektur für den Versatz: Falls das falsche Bild vergrößert wird, 
muss man je nach Elementor-Version .swiper-slide-active direkt ansprechen */
.fokus-karussell .swiper-slide-active {
    /* Je nach Swiper-Version ist das linke oder mittlere 'active' */
    margin-left: -15%;
}
.elementor-image-carousel-wrapper {
	width: 140%;
}

@media (max-width: 767px) {
	#sp-wp-carousel-free-id-14606 .swiper-slide-active {
		width: 100% !important;
	}
	#sp-wp-carousel-free-id-14606 .swiper-slide-prev {
		margin-left: 0 !important;
	}

	.ekit-wid-con svg {
		width: auto !important;
		color: #fff !important;
		fill: #ffffff !important;
	}
	.ekit-menu-icon.ekit-svg-icon path {
	    fill: #ffffff !important;
	}

	/* Entfernt den roten Hintergrund, falls gewünscht */
	.ekit-menu-icon.ekit-svg-icon {
	    background: transparent !important;
	}
}

/* for mobile */
/*@media (max-width: 767px) {*/
@media (max-width: 1024px) {
    selector .swiper-slide:not(.swiper-slide-active), .fokus-karussell .swiper-slide {
    	transform: scale(1);
    }
    .fokus-karussell .swiper-slide,
    .elementor-image-carousel-wrapper img {
    	opacity: 1;
    }
    .fokus-karussell .swiper-slide-active {
    	margin-left: 0;
    }
    .elementor-image-carousel-wrapper {
		width: 100%;
	}
	.ekit-wid-con svg {
		width: auto !important;
		color: #fff !important;
		fill: #ffffff !important;
	}
	.ekit-menu-icon.ekit-svg-icon path {
	    fill: #ffffff !important;
	}

	/* Entfernt den roten Hintergrund, falls gewünscht */
	.ekit-menu-icon.ekit-svg-icon {
	    background: transparent !important;
	}
}

@media (max-width: 1200px) {
	#sp-wp-carousel-free-id-14606 .swiper-slide-active {
		width: 100% !important;
	}
	#sp-wp-carousel-free-id-14606 .swiper-slide-prev {
		margin-left: 0 !important;
	}
}