/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.1.6
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Paragraph Margin Bottom Fix */

.elementor-widget-text-editor p:last-child{ 
	margin-bottom:0px;
} 

a {
	color: unset;
}

.date-day {
  font-weight: bold; 
  color: #3D312E;
	font-size:40px;
	font-family:"Inter";
	line-height:0;
}
.date-month {
  font-weight: bold; 
  color: #3D312E;
	font-size:15px;
	font-family:"Inter"; 
}

/* Landing Page CSS */

.blurred-image,
.blurred-image .elementor-widget-container {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  z-index: -1;
  margin-bottom: 0 !important;
}

.blurred-image img {
  object-fit: cover;
  object-position: center center;
  width: 100%;
  height: 100%;
  filter: blur(4px);
  transform: scale(1.1);
}

.hero-1,
.hero-2,
.hero-3,
.hero-4 {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
}

.hero-1 {
  background-image: url("https://lebenserfolg.ch/wp-content/uploads/2024/09/Test-1.webp");
}

.hero-2 {
  background-image: url("https://lebenserfolg.ch/wp-content/uploads/2024/09/Test-2.webp");
}

.hero-3 {
  background-image: url("https://lebenserfolg.ch/wp-content/uploads/2024/09/Test-3.webp");
}

.hero-4 {
  background-image: url("https://lebenserfolg.ch/wp-content/uploads/2024/09/Test-4.webp");
}

.hero-inner::before {
    right: -100%;
    border-left: 0px solid #fff;
    left: auto;
    top: auto;
    content: "";
    background-color: transparent;
    background-image: linear-gradient(180deg, transparent 0%, #222222 100%);
    height: 30%;
    position: absolute;
    width: 100%;
    bottom: -30px;
    z-index: 1;
    border-top: 0;
    border-bottom: 0;
    border-left: 30px solid #fff;
}

.hero-inner::after {
    left: -100%;
    border-left: 0px solid #fff;
    right: auto;
    top: auto;
    content: "";
    background-color: transparent;
    background-image: linear-gradient(180deg, transparent 0%, #222222 100%);
    height: 30%;
    position: absolute;
    width: 100%;
    bottom: -30px;
    z-index: 1;
    border-top: 0;
    border-bottom: 0;
    border-right: 30px solid #fff;
}

.custom-slider-nav {
    counter-reset: slide-counter;
}

.custom-slider-nav .elementor-heading-title::before {
    counter-increment: slide-counter;
    content: counter(slide-counter);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: transparent;
    height: 40px;
    width: 40px;
    border-radius: 100%;
    margin-right: 8px;
    border: 2px solid #fff;
}

.active .elementor-heading-title::before {
    color: #978D8B !important;
    background: #fff !important;
}

.custom-slider-nav {
  cursor: pointer;
}

/* Horizontal Accordion CSS */

.column {
  transition: width 0.5s;
  overflow: hidden;
  height: 500px;
  cursor: pointer;
}

.h-accordion .elementor-icon-wrapper {
    display: flex;
}

.column:not(.expanded):nth-child(1):after {
  content: "";
  background: rgba(151,141,139,0.9);
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  z-index: 0;
}

.column:not(.expanded):nth-child(2):after {
  content: "";
  background: rgba(136,127,125,0.9);
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  z-index: 0;
}

.column:not(.expanded):nth-child(3):after {
  content: "";
  background: rgba(121,113,111,0.9);
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  z-index: 0;
}

.elementor-icon-wrapper {
  transition: transform 0.5s;
}

.expanded .elementor-icon-wrapper {
  transform: rotate(45deg);
}

.expanded:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  z-index: 0;
}

.expanded:nth-child(1):after {
  background: rgba(151,141,139, 0.4);
}

.expanded:nth-child(2):after {
  background: rgba(136,127,125, 0.4);
}

.expanded:nth-child(3):after {
  background: rgba(121,113,111, 0.4);
}

.inner-element {
  opacity: 0;
  transition: opacity 0s;
  z-index: 2;
}

.inner-element.active {
  opacity: 1;
  transition: opacity 0.5s 0.4s;
}

.hide-element {
  opacity: 1;
  transition: opacity 0;
  z-index: 2;
}

.hide-element.active {
  opacity: 0;
  transition: opacity 0;
}

#menu-2-1472b76 li a{
	display:inline-block;
	text-align:center !important;
	width:100%;
	text-align:center;
}
.elementor-nav-menu .sub-arrow {
    line-height: 1;
    padding: 0px;
    display:inline-block !important;
    margin-top:-10px !important;
}
.elementor-nav-menu .sub-arrow .e-font-icon-svg path {
	fill:white;
}

.elementor-element-131d282 .elementor-custom-embed-image-overlay {
	background-position:top center !important;
}

/*Animation on hover*/
.elementor-element-b4e9907:hover .elementor-element-892819f .elementor-widget-container, .elementor-element-88f5ef2:hover .elementor-element-5123a4f .elementor-widget-container, .elementor-element-6fe4941:hover .elementor-element-b322b1d .elementor-widget-container {
	background-color:#FFFFFF00 !important;
}

/*Download Button*/
.download-form button {
	margin-top:30px;
}

/*Videos from homepage*/
.elementor-widget-video .elementor-custom-embed-image-overlay img {
    display: block;
    width: 100%;
    -o-object-fit: cover;
    object-fit: contain !important;
    -o-object-position: center center;
	object-position: center center; 
}

@media screen and (min-width: 768px) {
  .expanded {
    width: 150% !important;
  }
}

@media screen and (max-width: 1024px) {
    .hero-inner::before {
        border-left: 20px solid #fff;
    }
    .hero-inner::after {
        border-right: 20px solid #fff;
    }
}

@media (max-width: 767px) {
  .hero-inner::before {
    display: none;
  }
  
  .hero-inner::after {
    left: auto;
    border-right: 0 solid #fff;
	bottom: 0;
  }
	
  .column {
    transition: height 0.5s;
    height: 100px;
  }

  .expanded {
    height: 500px !important;
  }
}

@media only screen and (max-width:520px) {
  .date-day {
    font-weight: bold; 
    color: #3D312E;
    font-size:25px;
    font-family:"Inter";
    line-height:0;
  }
  
  .date-month {
    font-weight: bold; 
    color: #3D312E;
	font-size:12px;
	font-family:"Inter"; 
  }
}