/*
Theme Name: Enfold Child
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating wil be much easier then.
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/

/*Add your own styles here:*/

/* Anpassung damit LayerSlider Scroll Scene funktionieren */
html.responsive,
.responsive body {
  overflow-x: unset;
}

.avia-layerslider {
  height: auto !important;
}

/* Anpassungen am Enfold Theme */
#top .social_bookmarks li.avia-svg-icon svg:first-child {
  height: 0.8em;
  margin-top: 2px;
}
.container_wrap {
  border-top-width: 0;
}

#top .widget_nav_menu li {
  font-size: 17px;
}

/*.headline-shadow {
  text-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
}*/

.avia-image-container-inner,
.avia-image-container-inner img,
#top div .avia-gallery img,
.avia_image,
.avia-slideshow li img {
  border-radius: 40px;
  border-width: 0;
}

#top .avia_textblock a {
  text-decoration: underline;
}

.mfp-close-btn-in .mfp-close {
  color: #fff !important;
}

.header_color .header_bg {
  background-color: rgba(0,0,0,0.75);
}

#top .avia-button.avia-button-fullwidth .avia_button_background {
  bottom: 0px;
}

#top .avia-button .avia_button_background {
  bottom: -3px;
}

.avia-button .avia_button_icon.avia_button_icon_right {
  top: 0.2em;
}

#socket {
  font-size: 15px;
}

.togglecontainer .toggle_content.hasCustomColor {
  background-color: #3a3a3a;
}

.av-fields-with-error {
  background-color: #e3000f;
}

.avia-slider-testimonials .avia-testimonial-meta .avia-testimonial-image {
  width: 70px;
  height: 70px;
}

.av-fold-button-container {
  background-color: transparent !important;
  border: solid 2px !important;
  font-size: 1em !important;
}

.av-fold-button-container:hover {
  background-color: var(--enfold-main-color-secondary) !important;
}

/*.avia-bg-style-fixed,
#top .main_color.avia-bg-style-fixed,
.avia_mobile .avia-bg-style-fixed.dd-bg-animation.avia-full-stretch {
	background-attachment: fixed !important;
}

.avia_mobile #top .avia-bg-style-fixed.dd-bg-animation.av-parallax-section,
.avia_mobile #top .av-parallax-section.avia-bg-style-fixed {
  transform: none;
}*/

.team-member-name {
  font-size: 1.35em;
}

.avia-slider-testimonials .avia-testimonial-meta {
  font-size: 0.8em;
}

.avia-slider-testimonials .avia-testimonial-name {
  font-size: 1em;
}

.special_amp {
	font-family: inherit;
	font-style: inherit;
	font-size: inherit;
	line-height: inherit;
	font-weight: inherit;
}

.main_color .special_amp {
  color: inherit;
}

.avia-button.avia-size-large {
  font-size: 1em;
}

#top .av-caption-style-overlay .av-masonry-entry .av-masonry-entry-title {
  font-size: 1.2em;
}

.av-masonry-entry .av-masonry-entry-title + .av-masonry-entry-content {
  font-size: 0.8em;
}

/* spezielle d&d Klassen */
.dd-ref-content p {
  font-size: 0.8em;
  margin-top: 0.5em;
}

.dd-iframe-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}

.dd-responsive-iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

.dd-image-no-radius img {
  border-radius: 0 !important;
}

.dd-no-roundedge img {
  border-radius: 0;
}

.dd-page-title {
  text-align: center;
}

.dd-page-title p {
  font-size: .7em;
  border: solid 1px;
  border-radius: 100px;
  padding: 15px 25px;
  display: inline;
}

.dd-textblock-round {
  border-radius: 30px;
}

.flex_cell.avia-builder-el-no-sibling:has(.dd-no-padding) {
  padding: 0;
}

.dd-verybig-headline h1 {
  font-size: 8vw;
  font-size: clamp(60px, 8vw, 180px);
}

.dd-kontaktlink:hover {
  color:rgba(0, 0, 0, 0.5) !important;
}

/*.dd-slide-text p,
.dd-slide-text h2,
.dd-slide-text h3 {
	text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}*/

.dd-slide-text p {
  font-size: 1.35em;
}

.dd-button a {
  font-size: 1em !important;
}

.dd-border-right {
  border-right: solid 1px;
}

.dd-ios-show p {
  
}

@media only screen and (max-width: 767px) {
  .dd-ios-hide {
    display: none;
  }
  .dd-border-right {
    border-right: 0px;
  }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
  @supports (-webkit-touch-callout: none) {
   /* CSS specific to iOS devices */ 
  .dd-ios-hide {
    display: none;
  }
}

@supports not (-webkit-touch-callout: none) {
   /* CSS for other than iOS devices */ 
  .dd-ios-show {
    display: none;
  } 
}
}

.dd-bg-animation {
  animation: ddbgAnimation 10s infinite;
  animation-direction: alternate;
}

@keyframes ddbgAnimation {
  0% { background-position: 20% 20%; }
  100% { background-position: 80% 80%; }
}


/* newsletter formular cr */
.footer_cr_form .cr_button,
.page_cr_form .cr_button {
	display: inline-block;
	width: auto;
	white-space: nowrap;
	/*height: 32px;*/
	margin: 5px 0;
	padding: 4px 22px;
	text-decoration: none;
	text-align: center;
	/*font-weight: bold;*/
	font-style: normal;
	font-size: 1em;
	line-height: 32px;
	cursor: pointer;
	-moz-border-radius: 4px;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	vertical-align:top;
	/* background-color: #e3000f; */
  background-color: transparent;
	color: #ffffff;
	border: #ffffff solid 1px;}

.footer_cr_form .cr_button:hover, .footer_cr_form .cr_button:focus, .footer_cr_form .cr_button-small:hover {
	background-color: #ba2a2a;
	background: #ba2a2a;
}

.footer_cr_form .submit_container {
	text-align: right
}

.footer_cr_form .cr_form-input {
	background-color: rgba(255,255,255,0.75) !important;
	border-color: #fff;
}

.footer_cr_form .cr_form-input:focus, .footer_cr_form .cr_form-input:hover {
	background-color: rgba(255,255,255,1) !important;
	border-color: #fff;
}

.footer_cr_form .clever_form_error {
	background-color: #ba2a2a;
	color: #000;
	border: 1px solid #ba2a2a !important;
	box-shadow: rgba(0,0,0,0.5) 0px 0px 8px;
}









.avia-fold-unfold-section .av-fold-unfold-container::after {
  background: linear-gradient( to bottom, rgba(255,255,255,0), rgba(255,255,255,0.1) ) !important;
}
.av-fold-button-container.avia-button.avia-size-small.avia-color-theme-color {
  background-color: var(--enfold-main-color-bg);
  border: solid 1px;
}



/* Anpassungen für die Scroll Indicator Bar */
.scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 1.5s ease;
}

.scroll-indicator.visible {
  opacity: 1;
}

.scroll-indicator.hidden {
  opacity: 0;
  pointer-events: none;
}

.mouse {
  width: 26px;
  height: 42px;
  border: 2px solid #fff;
  border-radius: 20px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 6px;
  background: #fff;
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: mouse-scroll 1.5s infinite;
}

@keyframes mouse-scroll {
  0% { opacity: 1; top: 8px; }
  100% { opacity: 0; top: 20px; }
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  animation: arrow-bounce 1.5s infinite;
  margin: 0 auto;
}

@keyframes arrow-bounce {
  0%, 100% { transform: rotate(45deg) translateY(0px) translateX(0px); }
  50% { transform: rotate(45deg) translateY(4px) translateX(4px); }
}

@media (min-width: 768px) {
  .mouse { display: block; }
  .scroll-arrow { display: none; }
}

@media (max-width: 767px) {
  .mouse { display: none; }
  .scroll-arrow { display: block; }
}
