/*
Theme Name:  Renovatio Child
Theme URI:   https://themeforest.net/user/pixelwars/portfolio
Description: Make your modifications to [Renovatio Theme] in this child theme.
Author:      Pixelwars
Author URI:  https://themeforest.net/user/pixelwars
Version:     1.1.1
Template:    renovatio
Tags:        portfolio
Text Domain: renovatio-child
*/


/* =Theme customization starts here
-------------------------------------------------------------- */




.site-title img {
    height: 78px;
}
.site-title img {
  image-rendering: auto;
}


@media screen and (min-width: 768px) {
  .widget-area .widget {
    margin: 0 0 2em 0;
	  font-size: 15px;
  }
}


.footer-widgets h3 {
	color: #fff;
}
.widget-area a:not(.button) {
  color:  #fff;
}

.footer-widgets .elementor-widget-icon-list .elementor-icon-list-item > .elementor-icon-list-text {
	color: #fff;
}

.footer-widgets  .elementor-widget.elementor-widget-icon-list .elementor-icon-list-icon  svg {
	fill: #FFFFFF;
	margin: var(--e-icon-list-icon-margin,0 calc(var(--e-icon-list-icon-size, 1em) * .25) 0 0);
  width: var(--e-icon-list-icon-size,1em);
  height: var(--e-icon-list-icon-size,1em);
}
.footer-widgets ul.elementor-icon-list-items.elementor-inline-items {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
}

#bdt-slideshow-2  .bdt-ps-slide-img {
  background-position: right 20% center !important;
}



.fm-bar {
  transform: translateY(-110%);
}

@media (max-width: 991px) {
	
	.is-header-small .site-branding {
  		left: 0px !important;
	}
	.is-header-small .site-navigation .layout-medium {
	  min-height: 50px !important;
	}
	.menu-toggle {
	position: absolute !important;
  right: 0px;
  height: 50px;
}

	.fm-bar {
	  transform: translateY(200%);
	}
    
    
    
    #bdt-slideshow-2 .bdt-prime-slider-wrapper {
      margin-top: auto;
      margin-bottom: 7vw;
    }
    #bdt-slideshow-2 .bdt-slider-excerpt {
      margin: 0px 20px 0;
    }
    
    
    
    
    
}
@media (max-width: 767px) {
  #bdt-slideshow-2 .bdt-main-title {
    margin-bottom: 10px !important;
  }
}


/* SEO-Fix: Lighthouse "Links koennen nicht gecrawlt werden" - Menue-/Such-Toggle im Header hatten kein href.
   Serverseitiger String-Replace auf echte, im DOM vorhandene Ankerziele. Kein Eingriff in bestehende Klassen/JS. */
add_action( 'template_redirect', function () {
	ob_start( function ( $html ) {
		$html = str_replace(
			'<a class="menu-toggle"> <span class="lines"></span> </a>',
			'<a class="menu-toggle" href="#menu-renovatio-menu" aria-label="Menue oeffnen"> <span class="lines"></span> </a>',
			$html
		);
		$html = str_replace(
			'<a class="search-toggle toggle-link"></a>',
			'<a class="search-toggle toggle-link" href="#search-field" aria-label="Suche oeffnen"></a>',
			$html
		);
		return $html;
	} );
} );
