/*
 Theme Name:   Hello Elementor Child
 Description:  Hello Elementor Child
 Author:       fourplex
 Author URI:   https://fourplex.de
 Template:     hello-elementor
 Version:      1.0
 Text Domain:  hello-elementor-child
*/

.elementor-video {
	max-height: 100vh !important;
}

video.elementor-video {
	object-fit: contain !important;
}

/*---------------Swiper Startseite---------------*/
#header-swiper-container {
	height: 100vh;
	overflow: hidden;
}

.swiper-slide {
	display: flex;
	align-items: center;
	justify-content: center;
}

.swiper-slide video {
	object-fit: cover;
	object-position: bottom;
}
  
.header-video {
	height: 100%;
	width: auto;
	margin-left: auto;
	margin-right: auto;
}

#header-pagination {
    width: max-content;
    padding: 1rem 40px;
    bottom: 0;
    right: auto;
    left: 94%;
    background-color: #E4322E;
    color: white;
}

@media (max-width: 1200px) {
	
.header-video {
   height: auto;
   	width: 100%;
}
	
#header-pagination {
	position: static !important;
}
	
#header-pagination .swiper-pagination-bullet {
	background-color: white !important;
}
	
#header-swiper-container {
	height: unset;
}
}

#service-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
	gap: 30px;
}

.service-box {
	background: #C01511;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 1rem;
	min-height: 250px;
	text-align: center;
	padding: 1rem;
	transition: background .3s ease-in-out;
}

/* .service-box:hover {
	background: #CB0B07 !important;
} */

.service-box img {
	max-width: 50px !important;
}

.service-box h1 {
	color: white;
	font-size: 20px;
}

#form-field-field_eade3a8 {
	resize: none;
}


.elementor-column-gap-default>.elementor-column>.elementor-element-populated, .elementor-column-gap-default>.elementor-row>.elementor-column>.elementor-element-populated {
	padding: 40px !important;
}

#mobile-video .elementor-widget-wrap.elementor-element-populated{
	padding: 0 !important;
}

*:focus {
	outline:none !important;
}

h1, h2, h3, h4, h5, h6, p, span {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

footer a,
header a{
	color: white !important;
}

footer a:hover,
header a:hover{
	color: #E4322E;
}

.elementor-sticky--effects{ 
	background-color: white !important;
    background-image: none !important;
 } 
.elementor-sticky--effects .elementor-element.elementor-element-06d3259 .elementor-nav-menu--main .elementor-item{ 
	color: black !important;
 } 


.headline{
   	background-image: linear-gradient(#E4322E, #E4322E),
                    linear-gradient(#E4322E, #E4322E),
                    linear-gradient(#E4322E, #E4322E),
                    linear-gradient(#E4322E, #E4322E);
	background-repeat: no-repeat;
	background-size: 8px 60px, 60px 8px, 8px 60px, 60px 8px, calc(100% - 8px) calc(100% - 8px);
	background-position: left bottom, left bottom, right top, right top, 4px 4px;

}   
.headline1{
   	background-image: linear-gradient(#E4322E, #E4322E),
                    linear-gradient(#E4322E, #E4322E),
                    linear-gradient(#E4322E, #E4322E),
                    linear-gradient(#E4322E, #E4322E);
	background-repeat: no-repeat;
	background-size: 8px 60px, 60px 8px, 8px 60px, 60px 8px, calc(100% - 8px) calc(100% - 8px);
	background-position: left top, left top, right bottom, right bottom, 4px 4px;

}   


.border_margin .elementor-container .elementor-column .elementor-widget-wrap.elementor-element-populated{
	margin-top: -40px;
    height: 100%;
    margin-left: -40px;
    width: 100%;
}

.border_margin{
	margin-left: 40px;
	margin-top: 40px;
}

#kws{
	color: #4D7616 !important;
    font-family: var(--e-global-typography-secondary-font-family ), Sans-serif;
    font-size: var(--e-global-typography-secondary-font-size );
    font-weight: var(--e-global-typography-secondary-font-weight );
    text-transform: var(--e-global-typography-secondary-text-transform );
    line-height: var(--e-global-typography-secondary-line-height );
}

#referenz #text{
	visibility: hidden;
}

#referenz:hover #text{
	visibility: visible;
}

#referenz{
	min-height:350px;
}

.elementor-widget-testimonial-carousel .swiper-slide {
    padding: 0 !important;
}



.elementor-nav-menu--dropdown.elementor-nav-menu__container {
	position: fixed;
    left: 0px;
    z-index: -1;
    height: 100vh !important;
    width: 100vw !important;
	margin-top: 0 !important;
	padding: 4.5rem 2rem;
}

.elementor-nav-menu li * {
	color: #E4322E !important;
	font-size: 1.5rem !important;
	font-weight: bold !important;
}

.elementor-sub-item.elementor-item-anchor {
	font-weight: 400 !important;
    font-size: 1rem !important;
}


@media screen and (max-width: 767px) {
	.elementor-990 .elementor-element.elementor-element-a9c5f5c {
		top: 49vh !important;
	}

}

/*
.elementor-widget-testimonial-carousel.elementor-pagination-type-bullets .swiper-container{
	padding: 0 !important;
	margin: 0 !important;
}
.elementor-widget-testimonial-carousel .swiper-slide {
    padding: 0 !important;
	margin: 0 !important;
}
.elementor-widget-reviews .elementor-main-swiper, .elementor-widget-testimonial-carousel .elementor-main-swiper {
  width: 100% !important;  
}

.swiper-container-horizontal>.swiper-pagination-bullets, .swiper-pagination-custom, .swiper-pagination-fraction {
    bottom: 0px !important;
}


.elementor-element .elementor-widget-container{
	font-style: normal;
}

.elementor-element .elementor-widget-container .elementor-heading-title{
	text-transform: none;
}*/



/*FORM*/
/*
form{
	text-align: center;
}

.field__input{ 
    --uiFieldPlaceholderColor: var(--fieldPlaceholderColor, #e2e2e2);
    border-radius: 0px !important;
    background-color: transparent;
    border: 1px solid #444;
  
    -webkit-appearance: none;
    -moz-appearance: none;
  
    font-family: inherit;
    font-size: inherit;
  }
  

  
  =====
  CORE STYLES
  =====
  
  .field{
    --uiFieldBorderWidth: var(--fieldBorderWidth, 2px);
    --uiFieldPaddingRight: var(--fieldPaddingRight, 1rem);
    --uiFieldPaddingLeft: var(--fieldPaddingLeft, 1rem);   
    --uiFieldBorderColorActive: var(--fieldBorderColorActive, black);
  
    display: var(--fieldDisplay, inline-flex);
    position: relative;
    font-size: var(--fieldFontSize, 1rem);
      width: 100%;
      margin: 10px 0 10px 0;
  }
  
  .field__input{
      z-index:1;
    box-sizing: border-box;
    width: var(--fieldWidth, 100%);
    height: var(--fieldHeight, 3rem);
    padding: var(--fieldPaddingTop, 1.25rem) var(--uiFieldPaddingRight) var(--fieldPaddingBottom, .5rem) var(--uiFieldPaddingLeft);
    
  }
  
  .field__input:hover{
      border: 1px solid black;
  }
        
  .field__input:focus{
      outline: none;
      border: 1px solid black;
  }

  .field__input:focus .field__label-wrap{
    color: black !important;
    }
  
  .field__input::-webkit-input-placeholder{
    opacity: 0;
    transition: opacity .2s ease-out;
  }
  
  .field__input::-moz-placeholder{
    opacity: 0;
    transition: opacity .2s ease-out;
  }
  
  .field__input:focus::-webkit-input-placeholder{
    opacity: 1;
    transition-delay: .2s;
  }
  
  .field__input:focus::-moz-placeholder{
    opacity: 1;
    transition-delay: .2s;
  }
  
  
  
  .field__input:focus ~ .field__label-wrap::after{
    opacity: 1;
  }
  
  .field__label{
    color:#444;
      background-color: white;
      padding: 0 5px 0 5px;
      z-index:0;
    position: absolute;
    left: var(--uiFieldPaddingLeft);
    top: calc(50% - .5em);
  
    line-height: 1;
    font-size: var(--fieldHintFontSize, inherit);
  
    transition: top .2s cubic-bezier(0.9, -0.15, 0.1, 1.15), opacity .2s ease-out, font-size .2s ease-out, color .2s ease-out;
  }

.field__label.textarea {
	top: calc(20% - .5em);
}
  
  .field__input:focus ~ .field__label-wrap .field__label,
  .field__input:not(:placeholder-shown) ~ .field__label-wrap .field__label{
    --fieldHintFontSize: var(--fieldHintFontSizeFocused, .75rem);
  
      top: -0.25rem;
      z-index: 1;
      color:black;
  }

.field__input:not(:placeholder-shown):valid {
	border: 1px solid green;
}
.field__input:not(:placeholder-shown):invalid {
	border: 1px solid #E4322E;
}
*/

