/**
 * Theme Name:     Hello Elementor Child
 * Author:         Elementor Team
 * Template:       hello-elementor
 * Text Domain:	   hello-elementor-child
 * Description:    Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
 */

/* Listen */

ul:not([class]), 
ul.acf-repeater-list {
  list-style: none;
  padding-left: 0;
}

ul:not([class]) li,
ul.acf-repeater-list li{
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
}

ul:not([class]) li::before,
ul.acf-repeater-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  background-color: var( --e-global-color-accent );
  position: absolute;
  left: 0;
  top: 0.6em;
}

/* Tabellen */

table.project-table {
	border-collapse: collapse; 
	width: 100%;
}

@media (max-width: 767px) {
    .table-responsive-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .table-responsive-wrapper table.project-table {
        min-width: 600px;
    }
}

table.project-table thead th {
	text-align: left;
	border-top-width: 0!important;
}

.elementor-element table.project-table tbody>tr:nth-child(odd)>td,
.elementor-element table.project-table tbody>tr:nth-child(odd)>th {
  background-color: transparent;
}
.elementor-element table.project-table tbody tr:hover>td,
.elementor-element table.project-table tbody tr:hover>th {
  background-color: transparent;
}

.text-nowrap {
	line-break: nowrap;
}

/* Buttons */

.elementor-button {
	clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 18px),
    calc(100% - 18px) 100%,
    0 100%
  );
}

.elementor-element > .elementor-button > .elementor-button-content-wrapper .elementor-button-text {
	position: relative;
	display: flex;
}

.elementor-element > .elementor-button > .elementor-button-content-wrapper .elementor-button-text::after {
	position: absolute;
	height: 1px;
	background-color: #fff;
	content: "";
	bottom: -2px;
	left: 0;
	width: 0;
	transition: width .2s ease;
}

.elementor-element > .elementor-button:hover > .elementor-button-content-wrapper .elementor-button-text::after {
	width: 100%;
}


.elementor-element.subheadline {
	display: flex;
	gap: 0.5rem;
}

.elementor-element.subheadline::before {
	display: inline-block;
	content: "";
	height: 12px;
	width: 12px;
	margin-top: 6px;
	flex-shrink: 0;
	background-color: var( --e-global-color-accent );
}

.elementor-element.card-img {
	aspect-ratio: 448 / 240;
	overflow: hidden;
	position: relative;
}

.elementor-element.card-img .elementor-widget-image img {
	width: 100%;
	height: 100%;
	max-width: 100%;
	object-fit: cover;
	object-position: center center;
	transition: transform 0.5s ease;
}

.elementor-element.card-link {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.elementor-element.card-link::after {
	display: inline-block;
	content: "";
	height: 24px;
	width: 24px;
	transition: transform 0.5s ease;
	background: center center no-repeat;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none'%3E%3Cg class='frame-container-wrapper'%3E%3Cg class='frame-container-blur'%3E%3Cg class='frame-container-shadows'%3E%3Cg class='fills'%3E%3Crect width='24' height='24' class='frame-background' rx='0' ry='0'/%3E%3C/g%3E%3Cg class='frame-children' style='fill:%23000'%3E%3Cpath d='M2 13v-2h16.172l-3.95-3.95 1.414-1.414L22 12.001l-6.364 6.363-1.414-1.414 3.95-3.95z' class='fills' style='fill:%23e02b2b;fill-opacity:1'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

a.card:hover .card-link::after {
	transform: translatex(10px);
} 

a.card:hover .card-img .elementor-widget-image img {
	transform: scale(110%);
} 

.elementor-icon-wrapper {
	line-height: 1;
}

.elementor-element.image-card {
	overflow: hidden;
}

.elementor-element.image-card .card-hover-overlay {
	transition: height .2s ease;
	height: 0%;
}

.elementor-element.image-card:hover .card-hover-overlay {
	height: 100%;
}

.elementor-element.img-card-big {
	position: relative;
}

.elementor-element.img-card-big .img-card-slide {
	position: absolute;
	top: 100%;
	height: 100%;
	background-color: transparent; /* WICHTIG */
	transition: 
		top .35s cubic-bezier(.4,0,.2,1),
		background-color .5s ease .35s;
}


.elementor-element.img-card-big .img-card-slide .card-title {
	transform: translateY(-100%);
	transition: transform .35s cubic-bezier(.4,0,.2,1);
	transition-delay: .05s;
}


.elementor-element.img-card-big:hover .img-card-slide {
	top: 0;
	background-color: var( --e-global-color-accent );
		transition: 
		top .35s cubic-bezier(.4,0,.2,1),
		background-color .3s ease;
}

.elementor-element.img-card-big:hover .img-card-slide .card-title {
	transform: translateY(0);
	transition-delay: 0s;
}

.elementor-element.img-card-big .img-card-slide .elementor-icon {
	transition: transform .3s ease;
}

.elementor-element.img-card-big:hover .img-card-slide .elementor-icon {
	transform: rotate(-45deg);
}

/* Slider Navigation 

.swiper .swiper-pagination .swiper-pagination-bullet,
.e-widget-swiper .swiper-pagination .swiper-pagination-bullet {
	border-radius: 0;
	opacity: 1;
	width: 40px!important;
}

.swiper .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active ,
.e-widget-swiper .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
	background-color: var( --e-global-color-accent );
}

*/

/* Main Menu Dropdown */

.sub-menu.elementor-nav-menu--dropdown {
	min-width: 100%!important;
	padding-top: .5rem!important;
	padding-bottom: .5rem!important;
}

/* Page Content */

.page-content img,
.page-content ul {
	margin: 2.5rem 0;
}

.elementor-widget-theme-post-content h2:not(:first-child),
.elementor-widget-theme-post-content h3:not(:first-child),
.elementor-widget-text-editor h2:not(:first-child),
.elementor-widget-text-editor h3:not(:first-child) {
	margin-top: 2.5rem;
}

.elementor a:not([class]) {
	text-decoration: underline;
}

.elementor a:not([class]):hover {
	text-decoration: none;
}

.elementor b, .elementor strong {
  font-weight: 600;
}

/* Header Title */

.titlebox .elementor-element.subheadline::before {
	background-color: #fff;
}

@media (min-width: 768px) {
	.elementor-element.header:before {
		background-color: transparent!important;
	}
	
	.titlebox {
		clip-path: polygon(
		0 0,
		100% 0,
		100% calc(100% - 32px),
		calc(100% - 32px) 100%,
		0 100%
	  );
	}
}

@media (max-width: 767px) {
	.elementor-element.titlebox {
		background-color: transparent!important;
	}
}
