/**
Theme Name: TIEFENBACHER GROUP Child-Theme
Author: jut-so GmbH
Author URI: https://jut-so.de
Description: TIEFENBACHER GROUP Custom Child Theme basierend auf dem Hello Elementor Theme. 
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jut-so-child-theme
Template: hello-elementor
*/

/* variable.css and layout.css included via functions.php */

/* Default headline margins
 * Note: Pay attention to widget spacing. 
 * When using heading widget, margin-bottom is set to 0
 * then the spacing is controlled by the widget spacing
  .elementor-widget.elementor-widget.elementor-widget-heading .elementor-widget-container 
 */

body {
	-webkit-font-smoothing: antialiased;
	/* requested by design for retina displays */
	font-synthesis:none;
}
/* iOs horizontal scroll fix */
html,body {
	overflow-x:hidden;
}

h1, h2, h3, h4, h5, h6,
.elementor-widget-container h1,
.elementor-widget-container h2,
.elementor-widget-container h3,
.elementor-widget-container h4,
.elementor-widget-container h5,
.elementor-widget-container h6 {
	margin: .5em 0 .5em 0;
}

/* Utility classes for headlines */
.h1,
.h1 .elementor-heading-title,
[class*="elementor-kit-"] .h1 {
    font-family: var(--h1-font-family);
	color: var(--h1-default-color);
	font-size: var(--h1-font-size);
	line-height: var(--h1-line-height);
	font-weight: var(--h1-font-weight);
}

.h2,
.h2 .elementor-heading-title,
[class*="elementor-kit-"] .h2 {
    font-family: var(--h2-font-family);
	color: var(--h2-default-color);
	font-size: var(--h2-font-size);
	line-height: var(--h2-line-height);
	font-weight: var(--h2-font-weight);
}

.h3,
.h3 .elementor-heading-title,
[class*="elementor-kit-"] .h3 {
    font-family: var(--h3-font-family);
	color: var(--h3-default-color);
	font-size: var(--h3-font-size);
	line-height: var(--h3-line-height);
	font-weight: var(--h3-font-weight);
}

.h4,
.h4 .elementor-heading-title,
[class*="elementor-kit-"] .h4 {
    font-family: var(--h4-font-family);
	color: var(--h4-default-color);
	font-size: var(--h4-font-size);
	line-height: var(--h4-line-height);
	font-weight: var(--h4-font-weight);
}

::-moz-selection {
    background: #C7DFF0;
    color: #000
}

::selection {
    background: #C7DFF0;
    color: #000
}

.elementor-widget-text-editor p a,
.elementor-widget-text-editor li a {
	text-decoration:underline !important;
	color: var(--primary) !important;
}

/* Secondary button */
.secondary-button .elementor-button {
	color: var(--light-green);
    background-color: transparent;
    border-style: solid;
    border-color: var(--light-green);
}

/* General classes */
.br-8 {
	border-radius: 8px !important;
}
.sec-section-bg {
	background-color: var(--secondary) !important;
}
@media (max-width:767px) {
	.responsive-video-container::before {
		content:"";
		height:100%;
		width:100%;
		position:absolute;
		left:0;
		top:0;
		z-index:1;
		background: linear-gradient(180deg, rgba(0, 118, 203, 0) 82.85%, rgba(33, 39, 43, 0.2) 100%) !important;
	}
	.header-card:not(.keep-bg) {
		background-color:unset !important;
	}
}

img {
	border-radius:8px !important;
}

/* Main menu styles */
/* Base styles for all menu icons */
[class*="menu-item-"] a.elementor-sub-item {
	display: grid;
	grid-template-columns: 12px 1fr;
	gap: 8px;
	align-items: center;
}
[class*="menu-item-"] .elementor-sub-item::before {
	justify-self: center;
	content: "";
	display: inline-block;
	width: 11px;
	height: 12px;
	margin-top:1px;
	vertical-align: middle;
	/* Hexagon shape using 12-sided polygon for smooth animation */
	clip-path: polygon(47.5% 0.7%, 48.3% 0.3%, 49.1% 0.1%, 50.0% 0.0%, 50.9% 0.1%, 51.7% 0.3%, 52.5% 0.7%, 91.5% 23.2%, 92.2% 23.7%, 92.8% 24.3%, 93.3% 25.0%, 93.7% 25.8%, 93.9% 26.6%, 94.0% 27.5%, 94.0% 72.5%, 93.9% 73.4%, 93.7% 74.2%, 93.3% 75.0%, 92.8% 75.7%, 92.2% 76.3%, 91.5% 76.8%, 52.5% 99.3%, 51.7% 99.7%, 50.9% 99.9%, 50.0% 100.0%, 49.1% 99.9%, 48.3% 99.7%, 47.5% 99.3%, 8.5% 76.8%, 7.8% 76.3%, 7.2% 75.7%, 6.7% 75.0%, 6.3% 74.2%, 6.1% 73.4%, 6.0% 72.5%, 6.0% 27.5%, 6.1% 26.6%, 6.3% 25.8%, 6.7% 25.0%, 7.2% 24.3%, 7.8% 23.7%, 8.5% 23.2%);
	transition: all 0.3s ease;
	will-change: clip-path width;
}
@media(max-width:767px) {
	[class*="menu-item-"] .elementor-sub-item::before {
		margin-top:-1px;
	}
}

/* Hover effect - morph to circle (using same 12-sided polygon) */
[class*="menu-item-"] .elementor-sub-item:hover::before {
	clip-path: polygon(37.1% 1.7%, 44.4% 0.3%, 51.9% 0.0%, 59.3% 0.9%, 66.5% 2.8%, 73.4% 5.8%, 79.7% 9.8%, 85.4% 14.6%, 90.2% 20.3%, 94.2% 26.6%, 97.2% 33.5%, 99.1% 40.7%, 100.0% 48.1%, 99.7% 55.6%, 98.3% 62.9%, 95.8% 70.0%, 92.3% 76.6%, 87.9% 82.6%, 82.6% 87.9%, 76.6% 92.3%, 70.0% 95.8%, 62.9% 98.3%, 55.6% 99.7%, 48.1% 100.0%, 40.7% 99.1%, 33.5% 97.2%, 26.6% 94.2%, 20.3% 90.2%, 14.6% 85.4%, 9.8% 79.7%, 5.8% 73.4%, 2.8% 66.5%, 0.9% 59.3%, 0.0% 51.9%, 0.3% 44.4%, 1.7% 37.1%, 4.2% 30.0%, 7.7% 23.4%, 12.1% 17.4%, 17.4% 12.1%, 23.4% 7.7%, 30.0% 4.2%);
	width:12px;
}

/* Specific colors for each menu item */
.menu-item-raw-material .elementor-sub-item::before {
	background-color: #00ABFF;
}

.menu-item-r-and-d .elementor-sub-item::before {
	background-color: #8E57F7;
}

.menu-item-manufacturing .elementor-sub-item::before {
	background-color: #33CC99;
}

.menu-item-medical-device .elementor-sub-item::before {
	background-color: #00A6CB;
}

.menu-item-market-entry .elementor-sub-item::before {
	background-color: #00BFC4;
}

.bu-dropdown-menu-item {
	min-width: 171px;
}

/* Testimonials Carousel */
.TB-testimonial-carousel .elementor-testimonial__name {
	font-weight: 400;
}
.TB-testimonial-carousel .elementor-testimonial__cite {
	flex-direction: row !important;
}
.TB-testimonial-carousel .elementor-testimonial__text {
	text-align: left !important;
}
.TB-testimonial-carousel .elementor-testimonial__image img {
	height:auto !important;
	z-index:1;
	position:absolute;
	right:0px;
	top:30px;
	width:275px !important;
	height:200px !important;
	object-fit:cover;
	object-position:center;
	border-radius:8px !important;
}
.TB-testimonial-carousel .elementor-testimonial__image {
	position:relative;
	overflow:visible;
}
.TB-testimonial-carousel .elementor-testimonial__image:before {
	content:"";
	background-image:url("https://tiefenbachergroup.com/wp-content/uploads/testimonial-image-pseudo.svg");
	background-size:contain;
	background-repeat:no-repeat;
	background-position:center;
	display:inline-block;
	width:340px;
	height:300px;
	top:-20px;
	left:-80px;
	z-index:0;
}
@media (max-width:767px) {
	.TB-testimonial-carousel .elementor-testimonial {
		flex-direction: column-reverse;
	}
	.TB-testimonial-carousel {
		padding: 0 0px 32px 0px !important;
	}
	.TB-testimonial-carousel .elementor-testimonial__text {
		text-align:center !important;
	}
	.TB-testimonial-carousel .elementor-testimonial__cite {
		justify-content:center;
	}
}

.TB-testimonial-carousel .swiper-pagination-bullet:not(.swiper-pagination-bullet-active):hover {
	background:#A4A4A4 !important;
}

.cat-tag .elementor-icon-list-item {
    border: 1px solid var(--primary);
    border-radius:8px;
    padding: 5px 8px 3px;
}

.cat-tag.white-bg .elementor-icon-list-item {
	background-color: var(--accent);
}

.blog-content h2,
.blog-content h3,
.blog-content h4 {
	margin-top: 5rem !important;
	margin-bottom: 2rem !important;
}

.blog-content h2:first-child,
.blog-content h3:first-child,
.blog-content h4:first-child {
	margin-top: 0 !important;
}

.blog-content h2:last-child,
.blog-content h3:last-child,
.blog-content h4:last-child {
	margin-bottom: 0 !important;
}

.nav-container {
	padding: 0px 16px 88px 16px;
	margin-top: calc(-175px / 2);
}
@media (max-width:1024px) {
	.nav-container {
		margin-top: calc(-140px / 2);
	}
}
@media (max-width:840px) {
	.nav-container {
		padding: 0px 0px 0px 0px;
	}
}
@media (max-width:767px) {
	.nav-container {
		margin-top: calc(-100px / 2);
	}
}

.get-in-touch-section .elementor-motion-effects-container .elementor-motion-effects-layer {
    transform-origin:center right !important;
}

.hexagon-section .e-con-inner {
	position:relative !important;
}

.elementor-custom-embed-image-overlay {
	display: flex;
	align-items: center;
	justify-content: center;
}

.elementor-widget-text-editor ul {
	list-style-image: url('https://tiefenbachergroup.com/wp-content/uploads/li-bulletpoint.svg');
	padding-left:22px;
}
.elementor-widget-text-editor ul li {
	padding-left:8px;
}

.anchor-navigation li.active a{
	color: var(--primary) !important;
}
@media(max-width:767px) {
	.anchor-navigation {
		width: max-content;
		overflow-x: scroll;
	}
	.anchor-navigation ul {
		flex-wrap: nowrap;
		width: max-content;
	}
}
.icon-zoom-hover svg {
	transition: transform 0.3s ease;
}
.icon-zoom-hover:hover svg {
	transform: scale(1.2);
}
.tab-widget button,
.tab-widget button:focus,
.tab-widget button:hover {
	border-radius:0 !important;
}
.show-more-widget .e-n-accordion details {
	flex-direction:column-reverse !important;
}
.show-more-widget .e-n-accordion-item[open]>.e-n-accordion-item-title {
	margin-block-start: var(--n-accordion-item-title-distance-from-content);
	margin-block-end: 0px !important;
}
.tab-widget .e-n-tab-title-text {
	flex-direction: column;
	gap:12px;
}
.tab-widget .e-n-tab-title-text span {
	font-size:20px;
	line-height:26px;
}
.tab-widget .e-n-tabs-heading {
	border-bottom:1px solid #A4A4A4;
}
@media(max-width:767px) {
	.tab-widget .e-n-tab-title {
		min-width:200px;
		max-width:200px;
	}
}

.elementor-wrapper video.elementor-video,
.elementor-background-video-container video.elementor-background-video-hosted {
	background:transparent!important;	
}
.header-container .e-con-inner .elementor-background-video-container video.elementor-background-video-hosted {
	height:100%!important;
}