/*
Theme Name: RBS Wave
Description: Custom Theme by SAHARA (Avada Child Theme)
Author: SAHARA Werbeagentur / ThemeFusion
Author URI: https://sahara.de
Template: Avada
Version: 1.0.0
Text Domain: Avada
*/


/* GENERAL */
.auto-word-break {
	hyphens: auto;
	text-wrap: balance;
}
.fusion-post-content .fusion-text > p:last-child, .post-content .fusion-text > p:last-child {
	margin-bottom: 0px;
}
.fusion-title.fusion-title-scroll_reveal.awb-title__scroll-reveal--slide_up > .fusion-title-heading > p {
	display: block !important;
	margin-bottom: 0.3em !important;
}
.fusion-image-element > .fusion-imageframe,
.fusion-image-element > .fusion-imageframe > img {
	width: 100%;
}
.fusion-title-heading > p {
	margin-top: 0px;
}
.fusion-scroll-section-nav ul li a:before {
	display: none !important;
}
.fusion-scroll-section-nav ul li a {
	opacity: 1;
}
.fusion-scroll-section-nav ul li a .fusion-scroll-section-link-bullet {
	background-color: var(--awb-color2);
	height: 11px;
	width: 11px;
}
.fusion-scroll-section-nav ul li a.active .fusion-scroll-section-link-bullet {
	background-color: var(--awb-color7);
}
.text-with-button-on-line > p {
	width: fit-content;
	display: inline-block;
	padding-right: 1em;
}
.text-with-arrow > p:after, .text-with-arrow > h1:after, .text-with-arrow > h2:after, .text-with-arrow > h3:after, .text-with-arrow > h4:after, .text-with-arrow > h5:after, .text-with-arrow > h6:after {
	content: "\e905";
	font-family: "rbs-icons";
	display: inline;
	padding-left: 0.6em;
	font-size: 0.6em;
	color: var(--awb-color7);
}
.container-background-left-minus-5-percent {
	background-position: -5% center !important;
}

/* MAIN NAVIGATION AND MENUS */
#container-main-navigation {
	transition: background-color calc(300 * 1ms) cubic-bezier(.42, .01, .58, 1);
}
#container-main-navigation.navigation-opened {
	background-color: var(--awb-color2);
}
#menu-engineering-menue.awb-submenu__main-ul_column {
	flex-direction: row;
}
#menu-engineering-menue.awb-submenu__main-ul_column > li.menu-item {
	width: 25%;
	padding-right: 3vw;
}
.nav-submenu > ul.fusion-menu > li.menu-item > a.awb-submenu__main-a {
	margin-bottom: 0.8em;
}
.container-mega-menu {
	height: calc(100svh - 150px) !important;
	overflow-y: scroll !important;
}
.fusion-sticky-transition .container-mega-menu {
	height: calc(100svh - 70px) !important;
}



/* AVADA SLIDER */
.fusion-slider-container .slide-content-container.slide-content-left {
	bottom: 150px;
    top: auto;
    transform: none;
	transition: opacity 1s ease;
	display: block !important;
	opacity: 0;
	transition: opacity .6s ease;
}
.fusion-slider-container .slide-content-container.slide-content-left:after {
	content: "\e904";
	font-family: "rbs-icons";
	font-size: calc(var(--awb-custom_typography_1-font-size) * 9.5);
	color: var(--awb-color7);
	display: block;
	position: absolute;
	right: -2.4%;
	bottom: 50%;
	transform: translateY(50%);
	z-index: -1;
}
.fusion-slider-container li.flex-active-slide .slide-content-container.slide-content-left {
	opacity: 1;
}
.fusion-slider-container .slide-content-container.slide-content-left > .slide-content {
	margin-top: 0px !important;
}
.fusion-slider-container .slide-content-container.slide-content-left > .slide-content > .heading {
	max-width: 65%;
}
.fusion-slider-container .slide-content-container.slide-content-left > .slide-content > .heading .fusion-title-heading {
	font-size: var(--awb-custom_typography_1-font-size) !important;
	line-height: var(--awb-custom_typography_1-line-height) !important;
	font-weight: 600 !important;
}
.fusion-slider-container .flex-control-nav.flex-control-paging li a {
	background: var(--awb-color2) !important;
}
.fusion-slider-container .flex-control-nav.flex-control-paging li a.flex-active {
	background-color: var(--awb-color7) !important;
}

/* COUNTER BOXES */
.fusion-counters-box .fusion-counter-box .display-counter {
	font-size: var(--awb-custom_typography_2-font-size);
	font-weight: 600;
}
.fusion-counters-box .fusion-counter-box .counter-box-content {
	font-size: var(--awb-typography4-font-size);
	margin-top: 10px;
}
.fusion-counters-box .fusion-counter-box .content-box-counter {
	font-size: inherit;
}

/* CAROUSEL POST CARDS */
.fusion-post-cards.awb-carousel.awb-swiper {
	overflow: visible;
}
.fusion-post-cards.awb-carousel.awb-swiper .awb-swiper-button.awb-swiper-button-prev i.icon-rbs-pfeil:before {
	transform: rotate(180deg);
	display: block;
}
.fusion-post-cards.awb-carousel.awb-swiper .swiper-button-container {
	position: absolute;
	max-width: 1360px;
	width: 100%;
	top: -105px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
    flex-direction: row;
	justify-content: flex-end;
}
.fusion-post-cards.awb-carousel.awb-swiper .swiper-button-container > .awb-swiper-button.awb-swiper-button-prev {
	position: relative;
	margin-right: 10px;
}
.fusion-post-cards.awb-carousel.awb-swiper .swiper-button-container > .awb-swiper-button.awb-swiper-button-next {
	position: relative;
	margin-left: 10px;
}


/* POST CARDS */
.post-card-leistungen > .fusion-column-wrapper > .post-card-leistungen-title > .fusion-title-heading,
.post-card-aktuelles > .fusion-column-wrapper > .post-card-aktuelles-title > .fusion-title-heading {
    transition: color .3s ease;
}
.post-card-leistungen:hover > .fusion-column-wrapper > .post-card-leistungen-title > .fusion-title-heading {
    color: var(--awb-color2) !important;
}
.post-card-aktuelles:hover > .fusion-column-wrapper > .post-card-aktuelles-title > .fusion-title-heading {
    color: var(--awb-color7) !important;
}
.post-card-aktuelles-image-background:after {
	content: "";
	height: 100%;
	width: 100%;
	border-radius: 15px;
	position: absolute;
	top: 0px;
	left: 0px;
	background: linear-gradient(180deg,rgba(0, 0, 0, 0.8) 0%, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0) 100%);
	pointer-events: none;
	transition: transform .3s ease;
}
.post-card-aktuelles-image-background:hover:after {
	transform: scale(1.02);
}
.post-card-aktuelles > .fusion-column-wrapper > .fusion-builder-row {
	height: 100%;
	flex-flow: column nowrap;
}
.post-card-aktuelles > .fusion-column-wrapper > .fusion-builder-row > .post-card-aktuelles-img-column {
	margin-top: auto !important;
	padding-top: 2em !important;
}
.post-card-aktuelles > .fusion-column-wrapper > .fusion-builder-row > .post-card-full-background-image {
	position: absolute !important;
	top: -10% !important;
	left: -11% !important;
	height: 120% !important;
	width: 122% !important;
}
.post-card-aktuelles > .fusion-column-wrapper > .fusion-builder-row > .post-card-full-background-image:after {
	content: "";
	height: 100%;
	width: 100%;
	border-radius: 15px;
	position: absolute;
	top: 0px;
	left: 0px;
	background: linear-gradient(180deg,rgba(0, 0, 0, 0.8) 0%, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0) 100%);
	pointer-events: none;
	transition: transform .3s ease;
	z-index: 3;
}
.post-card-aktuelles > .fusion-column-wrapper > .fusion-builder-row > .post-card-full-background-image > .fusion-column-wrapper {
	margin-left: 0px !important;
	margin-right: 0px !important;
}

/* FOOTER */
.fusion-social-networks .fusion-social-network-icon.icon-rbs-facebook:before {
	display: block;
	transform: scale(0.9);
}
#menu-footer-menue li.menu-item {
	margin-right: 2.25em;
	margin-bottom: 0.75em;
}

/*
 * RESPONSIVE
 */
@media (max-width: 1480px) {
	.container-main-navigation {
		padding-left: 25px !important;
		padding-right: 25px !important;
	}
}

/*
 * RESPONSIVE
 */
@media (max-width: 1360px) {
	:root {
		/* Instrument Sans 16px */
		--awb-typography1-font-size: calc(16px * 1) !important;
		--awb-typography1-line-height: 1.35em !important;
	
		/* Instrument Sans 20px */
		--awb-typography2-font-size: calc(20px * 0.9) !important;
		--awb-typography2-line-height: 1.35em !important;
		
		/* Instrument Sans 24px */
		--awb-typography3-font-size: calc(24px * 0.9) !important;
		--awb-typography3-line-height: 1.35em !important;
		
		/* Instrument Sans 32px */
		--awb-typography4-font-size: calc(32px * 0.8) !important;
		--awb-typography4-line-height: 1.35em !important;
		
		/* Instrument Sans 44px */
		--awb-typography5-font-size: calc(44px * 0.8) !important;
		--awb-typography5-line-height: 1.3em !important;
		
		/* Instrument Sans 60px */
		--awb-custom_typography_1-font-size: calc(60px * 0.8) !important;
		--awb-custom_typography_1-line-height: 1.25em !important;
		
		/* Instrument Sans 200px */
		--awb-custom_typography_2-font-size: calc(200px * 0.8) !important;
		--awb-custom_typography_2-line-height: 1em !important;
	}
	.img-main-navigation-logo.fusion-imageframe {
		max-width: 280px;
	}
}
	
/*
 * RESPONSIVE
 */
@media (max-width: 1080px) {
	:root {
		/* Instrument Sans 32px */
		--awb-typography4-font-size: calc(32px * 0.75) !important;
		--awb-typography4-line-height: 1.35em !important;
		
		/* Instrument Sans 44px */
		--awb-typography5-font-size: calc(44px * 0.7) !important;
		--awb-typography5-line-height: 1.3em !important;
		
		/* Instrument Sans 60px */
		--awb-custom_typography_1-font-size: calc(60px * 0.7) !important;
		--awb-custom_typography_1-line-height: 1.25em !important;
		
		/* Instrument Sans 200px */
		--awb-custom_typography_2-font-size: calc(200px * 0.7) !important;
		--awb-custom_typography_2-line-height: 1em !important;
	}
}

/*
 * RESPONSIVE (TABLET)
 */
@media (max-width: 980px) {
	.fusion-post-cards.awb-carousel.awb-swiper .swiper-button-container {
		top: -53px;
	}
	.container-background-tablet-45-auto {
		background-size: 45% auto !important;
	}
	#menu-navigation-menue.awb-menu__main-ul {
		min-height: var(--awb-sticky-min-height);
	}
}

/*
 * RESPONSIVE
 */
@media (max-width: 960px) {
	:root {
		/* Instrument Sans 24px */
		--awb-typography3-font-size: calc(24px * 0.8) !important;
		--awb-typography3-line-height: 1.35em !important;
		
		/* Instrument Sans 60px */
		--awb-custom_typography_1-font-size: calc(60px * 0.6) !important;
		--awb-custom_typography_1-line-height: 1.25em !important;
		
		/* Instrument Sans 200px */
		--awb-custom_typography_2-font-size: calc(200px * 0.6) !important;
		--awb-custom_typography_2-line-height: 1em !important;
	}
}

/*
 * RESPONSIVE
 */
@media (max-width: 840px) {
	:root {
		/* Instrument Sans 16px */
		--awb-typography1-font-size: calc(16px * 0.9) !important;
		--awb-typography1-line-height: 1.35em !important;
		
		/* Instrument Sans 24px */
		--awb-typography3-font-size: calc(24px * 0.7) !important;
		--awb-typography3-line-height: 1.35em !important;
		
		/* Instrument Sans 32px */
		--awb-typography4-font-size: calc(32px * 0.65) !important;
		--awb-typography4-line-height: 1.35em !important;
		
		/* Instrument Sans 60px */
		--awb-custom_typography_1-font-size: calc(60px * 0.5) !important;
		--awb-custom_typography_1-line-height: 1.25em !important;
		
		/* Instrument Sans 200px */
		--awb-custom_typography_2-font-size: calc(200px * 0.5) !important;
		--awb-custom_typography_2-line-height: 1em !important;
	}
	.img-main-navigation-logo.fusion-imageframe {
		max-width: 200px;
	}
}

@media (max-width: 640px) {
	.fusion-slider-container .tfs-slider.flexslider.main-flex {
		height: 100svh !important;
	}
}

/*
 * RESPONSIVE (MOBILE)
 */
@media (max-width: 620px) {
	:root {
		/* Instrument Sans 24px */
		--awb-typography3-font-size: calc(24px * 0.8) !important;
		--awb-typography3-line-height: 1.35em !important;
	}
	.container-background-mobile-0 {
		background-size: 0 !important;
	}
	.fusion-slider-container .slide-content-container.slide-content-left:after {
		font-size: calc(var(--awb-custom_typography_1-font-size) * 6.5);
		bottom: 70%;
	}
}

/*
 * RESPONSIVE
 */
@media (max-width: 540px) {
	:root {
		/* Instrument Sans 32px */
		--awb-typography4-font-size: calc(32px * 0.6) !important;
		--awb-typography4-line-height: 1.35em !important;
	}
	.fusion-post-cards.awb-carousel.awb-swiper .swiper-button-container > .awb-swiper-button.awb-swiper-button-prev {
		margin-right: 0px;
	}
	.post-card-leistungen .post-card-leistungen-title .fusion-title-heading {
		font-size: 0.9em !important;
	}
	.fusion-slider-container .slide-content-container.slide-content-left > .slide-content > .heading {
		max-width: 100%;
	}
	.fusion-slider-container .slide-content-container.slide-content-left:after {
		font-size: calc(var(--awb-custom_typography_1-font-size) * 6.5);
		bottom: auto;
		transform: none;
		top: -35%;
	}
	.fusion-slider-container .slide-content-container.slide-content-left {
		bottom: 0px;
		padding-top: 40px;
		padding-bottom: 70px;
		background: var(--awb-color2);
	}
	.fusion-slider-container .background.background-image {
		max-height: 70svh;
	}
	.fusion-slider-container ul.slides > li {
		height: 100svh;
	}
	.fusion-slider-container .slide-content-container.slide-content-left .fusion-title-sc-wrapper .fusion-title .fusion-title-heading {
		color: var(--awb-color6) !important;
		font-size: calc(var(--awb-custom_typography_1-font-size) * 0.85) !important;
	}
	.fusion-slider-container .flex-control-nav.flex-control-paging {
		z-index: 9999;
		bottom: 10px !important;
	}
	.fusion-slider-container .fusion-button {
		padding: 0.5em 1.3em !important;
	}
}

/*
 * RESPONSIVE
 */
@media (max-width: 460px) {
	#menu-footer-menue {
		flex-direction: column !important;
	}
	#menu-footer-menue li.menu-item {
		margin-bottom: 1em !important;
	}
	#menu-footer-menue li.menu-item:last-child {
		margin-bottom: 0px !important;
	}
	#menu-footer-menue .awb-menu__main-a,
	#menu-footer-menue .awb-menu__main-a .menu-text {
		justify-content: flex-start !important;
		text-align: left !important;
	}
}

/*
 * RESPONSIVE
 */
@media (max-width: 380px) {
	:root {
		/* Instrument Sans 24px */
		--awb-typography3-font-size: calc(24px * 0.7) !important;
		--awb-typography3-line-height: 1.35em !important;
		
		/* Instrument Sans 60px */
		--awb-custom_typography_1-font-size: calc(60px * 0.4) !important;
		--awb-custom_typography_1-line-height: 1.25em !important;
		
		/* Instrument Sans 200px */
		--awb-custom_typography_2-font-size: calc(200px * 0.4) !important;
		--awb-custom_typography_2-line-height: 1em !important;
	}