/*
Theme Name: Hoffmann Theme
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 */
body {
	max-width: 2560px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

.hundred-percent-height.fusion-fullwidth {
	height: 100vh !important;
	height: 100svh !important;
	min-height: fit-content !important;
	max-height: 1600px !important;
}

.col-width-auto, .col-width-auto > .fusion-column-wrapper {
	max-width: fit-content;
}

.col-width-auto .fusion-button {
	white-space: nowrap;
}

ul:not(.slides) {
	padding-left: 16px;
	margin-top: 30px;
}

ul:not(.slides) li {
	padding-left: 16px;
	margin-bottom: 30px;
}

li::marker {
	color: var(--awb-color6);
}

.fusion-menu-description, a, a:after, a:before {
	transition-timing-function: ease !important;
}

.line-break {
	display: block;
}

.icon-mobile-phone {
	width: 50px !important;
	height: 50px !important;
}

.icon-mobile-phone:before {
	display: block;
	margin-top: 4px;
}

/* POST CARDS */
.fusion-post-cards .fusion-imageframe a.fusion-no-lightbox:after {
	content: "\e61d";
	font-family: awb-icons;
	font-size: 60px;
	color: var(--awb-color2);
	background-color: var(--awb-color6);
	padding: 10px;
	border-radius: 100px;
	position: absolute;
	left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
	opacity: 0;
	transition: opacity .2s ease;
}

.fusion-post-cards .fusion-imageframe a.fusion-no-lightbox:hover:after {
	opacity: 1;
}

.fusion-post-cards.post-card-desktop-small .fusion-imageframe a.fusion-no-lightbox:after {
	font-size: 30px;
}

.fusion-post-cards .fusion-text,
.fusion-post-cards .fusion-title {
	hyphens: auto;
}

/* TABS */
.fusion-tabs.horizontal-tabs.clean .nav-tabs li {
	padding-left: 5px;
	padding-right: 5px;
}

.fusion-tabs.horizontal-tabs.clean .tab-content {
	text-align: center;
	color: var(--awb-color2);
	font-size: var(--awb-typography4-font-size);
	font-weight: var(--awb-typography4-font-weight);
	line-height: var(--awb-typography4-line-height);
}

/* ACCORDEON / TOGGLES */
.fusion-accordian .panel-title a .fa-fusion-box {
	border-radius: 100px;
}

.fusion-accordian .panel-heading .panel-title .fusion-toggle-heading {
	margin-left: 30px;
}

.fusion-accordian .fusion-panel .panel-body {
	padding: 50px 0 50px 70px;
}

.fusion-accordian .fusion-panel .panel-body p {
	font-size: var(--awb-typography4-font-size);
	font-weight: var(--awb-typography4-font-weight);
	line-height: var(--awb-typography4-line-height);
	margin-bottom: 60px;
}

/* SLIDER */
.fusion-slider-container .flexslider .flex-control-paging li a {
	background-color: var(--awb-color2);
}
.fusion-slider-container .flexslider .flex-control-paging li a.flex-active {
	background-color: var(--awb-color6);
}
.fusion-slider-container .fusion-title-heading {
	font-size: var(--awb-typography2-font-size) !important;
	line-height: var(--awb-typography2-line-height) !important;
}
.fusion-slider-container .flex-control-paging li a {
	width: 8px;
	height: 8px;
}
.fusion-body .flex-control-nav li,
.fusion-slider-container .flex-control-paging li {
	margin: 0 8px !important;
}
.slider-qualifikationen.fusion-slider-container {
	height: 100% !important;
	max-height: 100% !important;
	display: flex !important;
	align-items: center !important;
}
.slider-qualifikationen.fusion-slider-container .tfs-slider.flexslider {
	height: 100% !important;
}
.slider-qualifikationen.fusion-slider-container .tfs-slider.flexslider ul.slides {
	position: relative;
    top: 50%;
    transform: translateY(-50%);
}
.slider-qualifikationen.fusion-slider-container .tfs-slider .flex-control-nav {
	bottom: -15px !important;
}


/* TESTIMONIALS */
.fusion-testimonials.clean {
	max-width: 1100px;
}

.fusion-testimonials.clean.max-width-940px {
	max-width: 940px;
}

.fusion-testimonials.clean .reviews {
	min-height: max-content !important;
}

.fusion-testimonials.clean .review blockquote .awb-quote {
	text-align: start;
	padding: 0px 0px 10px 0px;
}

.fusion-testimonials.clean .review .author {
	text-align: start;
}

.fusion-testimonials.clean .testimonial-pagination {
	justify-content: start;
	margin-top: 70px;
}

.fusion-testimonials.clean .testimonial-pagination a {
	width: 8px;
	height: 8px;
	margin: 0 8px;
}

.fusion-testimonials.clean .testimonial-pagination a,
.fusion-testimonials.clean .testimonial-pagination a:hover {
	background-color: var(--awb-color7);
	border-width: 0px;
}

.fusion-testimonials.clean .testimonial-pagination a.activeSlide {
	background-color: var(--awb-color6);
}

/* FOOTER */
.footer-item:not(:last-child) {
	margin-right: 25px;
}

@media (max-width: 1550px) {
	.fusion-tabs .nav-tabs li .fusion-tab-heading {
		font-size: calc(var(--awb-typography3-font-size) * 0.7) !important;
	}
	.fusion-tabs.clean .nav-tabs li .tab-link {
		padding: 14px 50px !important;
	}
}

@media (max-width: 1280px) {
	:root {
		/* ÜBERSCHRIFT XL 80 */
		--awb-typography1-font-size: calc(80px * 0.85) !important;
		--awb-typography1-line-height: 1.2em !important;
		
		/* ÜBERSCHRIFT L 50 */
		--awb-typography2-font-size: calc(50px * 0.9) !important;
		--awb-typography2-line-height: 1.2em !important;
		
		/* ÜBERSCHRIFT M 30 */
		--awb-typography3-font-size: calc(30px * 0.9) !important;
		--awb-typography3-line-height: 1.4em !important;
		
		/* ÜBERSCHRIFT S 30 */
		--awb-typography4-font-size: calc(30px * 0.9) !important;
		--awb-typography4-line-height: 1.4em !important;
		
		/* TEXT FETT 21 */
		--awb-typography5-font-size: 21px !important;
		--awb-typography5-line-height: 1.4em !important;
		
		/* TEXT 21 */
		--awb-custom_typography_1-font-size: 21px !important;
		--awb-custom_typography_1-line-height: 1.4em !important;
		
		/* TEXT BUTTON 18 */
		--awb-custom_typography_2-font-size: 18px !important;
		--awb-custom_typography_2-line-height: 1.4em !important;
		
		/* TEXT KLEIN 15 */
		--awb-custom_typography_3-font-size: 15px !important;
		--awb-custom_typography_3-line-height: 1.4em !important;

	}
}

@media (max-width: 1160px) {
	.fusion-slider-container .fusion-title-heading {
		font-size: calc(var(--awb-typography2-font-size) * 0.8) !important;
		line-height: calc(var(--awb-typography2-line-height) * 0.95) !important;
	}
}

@media (max-width: 1000px) {
	:root {
		/* ÜBERSCHRIFT XL 80 */
		--awb-typography1-font-size: calc(80px * 0.75) !important;
		--awb-typography1-line-height: 1.2em !important;
		
		/* ÜBERSCHRIFT L 50 */
		--awb-typography2-font-size: calc(50px * 0.8) !important;
		--awb-typography2-line-height: 1.2em !important;
		
		/* ÜBERSCHRIFT M 30 */
		--awb-typography3-font-size: calc(30px * 0.8) !important;
		--awb-typography3-line-height: 1.4em !important;
		
		/* ÜBERSCHRIFT S 30 */
		--awb-typography4-font-size: calc(30px * 0.8) !important;
		--awb-typography4-line-height: 1.4em !important;
		
		/* TEXT FETT 21 */
		--awb-typography5-font-size: calc(21px * 0.95) !important;
		--awb-typography5-line-height: 1.4em !important;
		
		/* TEXT 21 */
		--awb-custom_typography_1-font-size: calc(21px * 0.95) !important;
		--awb-custom_typography_1-line-height: 1.4em !important;
		
		/* TEXT BUTTON 18 */
		--awb-custom_typography_2-font-size: 18px !important;
		--awb-custom_typography_2-line-height: 1.4em !important;
		
		/* TEXT KLEIN 15 */
		--awb-custom_typography_3-font-size: 15px !important;
		--awb-custom_typography_3-line-height: 1.4em !important;
	}
	.fusion-post-cards .fusion-imageframe a.fusion-no-lightbox:after,
	.fusion-post-cards.post-card-desktop-small .fusion-imageframe a.fusion-no-lightbox:after {
		font-size: 50px;
	}
	.fusion-post-cards.post-card-tablet-small .fusion-imageframe a.fusion-no-lightbox:after {
		font-size: 30px;
	}
	.fusion-slider-container .tfs-slider .flex-control-nav {
		bottom: 0px !important;
	}
	.fusion-tabs.clean:not(.mobile-mode-carousel) .nav:not(.fusion-mobile-tab-nav) {
		display: block !important;
	}
	.fusion-tabs.clean .fusion-mobile-tab-nav {
		display: none !important;
	}
	.fusion-tabs.clean:not(.mobile-mode-carousel) .nav:not(.fusion-mobile-tab-nav) .nav-tabs {
		display: block;
		max-width: 600px;
		margin-left: auto;
		margin-right: auto;
	}
	.fusion-tabs.clean:not(.mobile-mode-carousel) .nav:not(.fusion-mobile-tab-nav) .nav-tabs li {
		display: inline-block;
		width: 50%;
		margin-bottom: 10px;
	}
	.fusion-tabs.clean:not(.mobile-mode-carousel) .tab-content {
		margin-top: 20px !important;
	}
}

@media (max-width: 800px) {
	:root {
		/* ÜBERSCHRIFT XL 80 */
		--awb-typography1-font-size: calc(80px * 0.65) !important;
		--awb-typography1-line-height: 1.2em !important;
		
		/* ÜBERSCHRIFT L 50 */
		--awb-typography2-font-size: calc(50px * 0.7) !important;
		--awb-typography2-line-height: 1.2em !important;
		
		/* ÜBERSCHRIFT M 30 */
		--awb-typography3-font-size: calc(30px * 0.8) !important;
		--awb-typography3-line-height: 1.4em !important;
		
		/* ÜBERSCHRIFT S 30 */
		--awb-typography4-font-size: calc(30px * 0.8) !important;
		--awb-typography4-line-height: 1.4em !important;
		
		/* TEXT FETT 21 */
		--awb-typography5-font-size: calc(21px * 0.9) !important;
		--awb-typography5-line-height: 1.4em !important;
		
		/* TEXT 21 */
		--awb-custom_typography_1-font-size: calc(21px * 0.9) !important;
		--awb-custom_typography_1-line-height: 1.4em !important;
		
		/* TEXT BUTTON 18 */
		--awb-custom_typography_2-font-size: calc(18px * 0.8) !important;
		--awb-custom_typography_2-line-height: 1.4em !important;
		
		/* TEXT KLEIN 15 */
		--awb-custom_typography_3-font-size: 15px !important;
		--awb-custom_typography_3-line-height: 1.4em !important;
	}
	.footer-item:not(:last-child) {
		display: block;
		margin-right: 0px;
		margin-bottom: 7px;
	}
}

@media (max-width: 690px) {
	:root {
		/* ÜBERSCHRIFT XL 80 */
		--awb-typography1-font-size: calc(80px * 0.55) !important;
		--awb-typography1-line-height: 1.2em !important;
		
		/* ÜBERSCHRIFT L 50 */
		--awb-typography2-font-size: calc(50px * 0.65) !important;
		--awb-typography2-line-height: 1.2em !important;
		
		/* ÜBERSCHRIFT M 30 */
		--awb-typography3-font-size: calc(30px * 0.8) !important;
		--awb-typography3-line-height: 1.4em !important;
		
		/* ÜBERSCHRIFT S 30 */
		--awb-typography4-font-size: calc(30px * 0.8) !important;
		--awb-typography4-line-height: 1.4em !important;
		
		/* TEXT FETT 21 */
		--awb-typography5-font-size: calc(21px * 0.9) !important;
		--awb-typography5-line-height: 1.4em !important;
		
		/* TEXT 21 */
		--awb-custom_typography_1-font-size: calc(21px * 0.9) !important;
		--awb-custom_typography_1-line-height: 1.4em !important;
		
		/* TEXT BUTTON 18 */
		--awb-custom_typography_2-font-size: calc(18px * 0.8) !important;
		--awb-custom_typography_2-line-height: 1.4em !important;
		
		/* TEXT KLEIN 15 */
		--awb-custom_typography_3-font-size: 15px !important;
		--awb-custom_typography_3-line-height: 1.4em !important;
	}
}


@media (max-width: 640px) { 
	/*
	.col-width-auto, .col-width-auto > .fusion-column-wrapper {
		max-width: initial;
	}
	*/
	.fusion-accordian .fusion-panel {
		padding-top: 7px !important;
		padding-bottom: 7px !important;
	}
	.fusion-accordian .fusion-panel .panel-body {
		padding-top: 25px;
		padding-bottom: 25px;
	}
	.fusion-accordian .fusion-panel .panel-body p {
		margin-bottom: 45px;
	}
	.fusion-tabs .tab-content .tab-pane {
		padding-top: 30px !important;
		padding-bottom: 30px !important;
	}
	.fusion-body .fusion-button.button-flat.fusion-button-default-size {
		padding-left: 20px;
		padding-right: 20px;
	}
	.col-width-auto .fusion-button {
		white-space: normal;
	}
	.col-width-auto > .fusion-column-wrapper > .sm-text-align-center,
	.col-width-auto > .fusion-column-wrapper > .sm-text-align-center > .fusion-button,
	.col-mobile-same-height > .fusion-column-wrapper > div,
	.col-mobile-same-height > .fusion-column-wrapper > div > .fusion-button {
		height: 100%;
	}
	.col-mobile-bottom {
		align-self: end !important;
	}
	.post-card-referenz-text.fusion-text {
		margin-right: 0px;
	}
	.fusion-post-cards .fusion-imageframe a.fusion-no-lightbox:after,
	.fusion-post-cards.post-card-desktop-small .fusion-imageframe a.fusion-no-lightbox:after,
	.fusion-post-cards.post-card-tablet-small .fusion-imageframe a.fusion-no-lightbox:after {
		font-size: 40px;
	}
	.fusion-post-cards.post-card-mobile-small .fusion-imageframe a.fusion-no-lightbox:after {
		font-size: 20px;
	}
}

@media (max-width: 540px) { 
	:root {
		/* ÜBERSCHRIFT XL 80 */
		--awb-typography1-font-size: calc(80px * 0.45) !important;
		--awb-typography1-line-height: 1.2em !important;
		
		/* ÜBERSCHRIFT L 50 */
		--awb-typography2-font-size: calc(50px * 0.6) !important;
		--awb-typography2-line-height: 1.2em !important;
		
		/* ÜBERSCHRIFT M 30 */
		--awb-typography3-font-size: calc(30px * 0.7) !important;
		--awb-typography3-line-height: 1.4em !important;
		
		/* ÜBERSCHRIFT S 30 */
		--awb-typography4-font-size: calc(30px * 0.7) !important;
		--awb-typography4-line-height: 1.4em !important;
		
		/* TEXT FETT 21 */
		--awb-typography5-font-size: calc(21px * 0.88) !important;
		--awb-typography5-line-height: 1.4em !important;
		
		/* TEXT 21 */
		--awb-custom_typography_1-font-size: calc(21px * 0.88) !important;
		--awb-custom_typography_1-line-height: 1.4em !important;
		
		/* TEXT BUTTON 18 */
		--awb-custom_typography_2-font-size: calc(18px * 0.8) !important;
		--awb-custom_typography_2-line-height: 1.4em !important;
		
		/* TEXT KLEIN 15 */
		--awb-custom_typography_3-font-size: 15px !important;
		--awb-custom_typography_3-line-height: 1.4em !important;
	}
	.fusion-slider-container .fusion-title-heading {
		font-size: calc(var(--awb-typography2-font-size) * 0.95) !important;
		line-height: calc(var(--awb-typography2-line-height) * 0.98) !important;
	}
}

@media (max-width: 440px) { 
	:root {
		/* ÜBERSCHRIFT XL 80 */
		--awb-typography1-font-size: calc(80px * 0.4) !important;
		--awb-typography1-line-height: 1.2em !important;
		
		/* ÜBERSCHRIFT L 50 */
		--awb-typography2-font-size: calc(50px * 0.55) !important;
		--awb-typography2-line-height: 1.2em !important;
		
		/* ÜBERSCHRIFT M 30 */
		--awb-typography3-font-size: calc(30px * 0.65) !important;
		--awb-typography3-line-height: 1.4em !important;
		
		/* ÜBERSCHRIFT S 30 */
		--awb-typography4-font-size: calc(30px * 0.65) !important;
		--awb-typography4-line-height: 1.4em !important;
		
		/* TEXT FETT 21 */
		--awb-typography5-font-size: calc(21px * 0.75) !important;
		--awb-typography5-line-height: 1.4em !important;
		
		/* TEXT 21 */
		--awb-custom_typography_1-font-size: calc(21px * 0.8) !important;
		--awb-custom_typography_1-line-height: 1.4em !important;
		
		/* TEXT BUTTON 18 */
		--awb-custom_typography_2-font-size: calc(18px * 0.7) !important;
		--awb-custom_typography_2-line-height: calc(1.4em * 0.9) !important;
		
		/* TEXT KLEIN 15 */
		--awb-custom_typography_3-font-size: 15px !important;
		--awb-custom_typography_3-line-height: 1.4em !important;
	}
}	

@media (max-width: 390px) { 
	:root {
		/* ÜBERSCHRIFT XL 80 */
		--awb-typography1-font-size: calc(80px * 0.35) !important;
		--awb-typography1-line-height: 1.2em !important;
		
		/* ÜBERSCHRIFT L 50 */
		--awb-typography2-font-size: calc(50px * 0.55) !important;
		--awb-typography2-line-height: 1.2em !important;
		
		/* ÜBERSCHRIFT M 30 */
		--awb-typography3-font-size: calc(30px * 0.65) !important;
		--awb-typography3-line-height: 1.4em !important;
		
		/* ÜBERSCHRIFT S 30 */
		--awb-typography4-font-size: calc(30px * 0.65) !important;
		--awb-typography4-line-height: 1.4em !important;
		
		/* TEXT FETT 21 */
		--awb-typography5-font-size: calc(21px * 0.75) !important;
		--awb-typography5-line-height: 1.4em !important;
		
		/* TEXT 21 */
		--awb-custom_typography_1-font-size: calc(21px * 0.8) !important;
		--awb-custom_typography_1-line-height: 1.4em !important;
		
		/* TEXT BUTTON 18 */
		--awb-custom_typography_2-font-size: calc(18px * 0.6) !important;
		--awb-custom_typography_2-line-height: calc(1.4em * 0.85) !important;
		
		/* TEXT KLEIN 15 */
		--awb-custom_typography_3-font-size: 15px !important;
		--awb-custom_typography_3-line-height: 1.4em !important;
	}
	.fusion-tabs .nav-tabs li .fusion-tab-heading {
		font-size: calc(var(--awb-typography3-font-size) * 0.6) !important;
	}
}	