/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

a.btn {
    background-color: #c12a35;
    color: #fff!important;
    padding: 10px 20px;
    display: inline-block;
    font-weight: 600;
}
a.btn:hover {
	background-color: #033357;
}

.heading-bg {
	background-color: #033357;
    color: #a1d5f0;
    padding: 0px 5px 5px 5px;
    display: inline-block;
}
.post-content h2 {
	margin-bottom: 20px;
}
.current-menu-item a span {
    border-bottom: 2px solid #033357;
    padding-bottom: 5px;
    margin-top: 5px;
}
.fusion-body .fusion-main-menu .current-menu-item>a {
   border-color:transparent!important;
}
form input[type="submit"].wpcf7-form-control.wpcf7-submit {
	background-color: #033357;
	border-radius: 0;
	border: none;
	color: #fff;
	box-shadow: none;
}
span.negativ {
	background-color: #002851;
    padding: 2px 15px;
    color: #fff;
    font-style: initial;
    text-transform: uppercase;
    font-weight: 900;
}
/* Hoverboxen Startseite */
.start-hover-wrapper {
    max-width: 100%;
    min-height: 300px;
    position: relative;
    overflow: hidden;
    font-size: 1.1em;
    background-size: cover;
	background-position: center;
	margin: 5px;
	display: block;
}
.start-hover-heading {
	position: absolute;
    z-index: 99;
	bottom: 0;
	width:100%;
    padding: 10px;
	line-height: 1.3em;
    background-color: #002851;
    color: #fff!important;
	cursor: pointer;
	font-weight: 600;
}
.start-hover-text {
	position: absolute;
    z-index: 9;
	height: 0px;
    bottom: 0;
    font-size: 1em;
	font-style: italic;
    padding: 15px;
	overflow: hidden;
    background-color: #002851c4;
    color: #fff;
	transition: all 0.3s ease-in;
}

html.no-touch .start-hover-wrapper:hover .start-hover-text {
	padding: 20px;
	height: calc(100%);
	transition: all 0.5s ease-out;
}

.start-hover-text-box .start-hover-text a {
	color: #fff!important;
    font-weight: 600;
	text-decoration-style: solid;
    text-decoration-color: #aedefc;
    text-decoration-line: underline;
	margin-top: 10px;
    display: block;
}

.start-hover-text-box .start-hover-text a i {
	color: #aedefc;
}
#elektro-start.start-hover-wrapper {
	background-image:url(/wp-content/uploads/elektro_500.jpg);
}
#heizung-start.start-hover-wrapper {
	background-image:url(/wp-content/uploads/heizung_500.jpg);
}
#sanitaer-start.start-hover-wrapper {
	background-image:url(/wp-content/uploads/sanitaer_500.jpg);
}
#smart-start.start-hover-wrapper {
	background-image:url(/wp-content/uploads/smart_home_500.jpg);
}
#service-start.start-hover-wrapper {
	background-image:url(/wp-content/uploads/service_500.jpg);
}
#wir-start.start-hover-wrapper {
	background-image:url(/wp-content/uploads/gruppenbild_startseite_NEU-1.jpg);
}

/* Overall Superheld before Footer */
.twentyfourseven-wrapper {
    position: absolute;
    margin-top: -216px;
    right: 0;
    text-align: right;
	z-index: 999;
}

/* CTA */
.cta-wrapper {
	padding: 30px 20px 15px 20px;
	margin-top: 100px;
    margin-bottom: 25px;
    box-shadow: 0px 10px 16px #ababab;
	/*background-image: linear-gradient(180deg, #b4e2fa 0%,#80bfde 100%);*/
}
.cta-wrapper div {
	z-index: 99;
}
.cta-wrapper p {
	margin-bottom: 14px;
}
.cta-wrapper .cta-first {
	font-family: "Open Sans";
	font-weight: 500;
	font-size: 25px;
    line-height: 20px;
	color: #002851;
}
span.cta-small {
    font-size: 14px;
}
.cta-wrapper .cta-second {
	font-family: "Open Sans";
	font-weight: 900;
	font-size: 40px;
    line-height: 28px;
	color: #002851;
}
.cta-wrapper img {
	position: absolute;
    left: 50%;
    transform: translateX(-29%) scaleX(-1);
    z-index: 0;
    max-width: 300px;
	bottom: 25px;
}
.mobile-cta {
	display: none;
}
.mobile-cta .cta-inner {
	width: 50%;
    float: left;
    border: 2px solid #c12a35;
    color: #c12a35;
    padding: 10px 20px;
    margin-right: 5px;
}

/* FOOTER */
footer .fusion-widget-area .widget_nav_menu li {
	border-color: transparent;
    padding: 0 0 0 12px;
}

footer #partner {
	/*text-align: center;*/
}
footer #partner img {
	padding: 5px;
    margin: 0 7px 7px 7px;
    background-color: #fff;
    border-radius: 4px;
}
footer #partner img:first-child {
	margin: 0 7px 7px 0px;
}
/*footer #partner img:last-child {
	margin-top: 7px;
}*/

/* Scrollleiste */
#icon-toolbar {
    position: fixed;
    right: 0px;
    /*background-color: #c12a35;*/
    /*top: 300px;*/
    z-index: 99;
}
@media(min-width:800px) {
	#icon-toolbar {
		top: 250px;
	}
}
li.google a span {
    background-color: #dc4a38;
}
#icon-toolbar li a span:hover {
	background-color: #002851;
}
.it-list {
    padding: 0;
    margin: 0;
}
.it-list-item {
	background-color: #c12a35;
	margin-top: 1px;
}
.it-list-item span {
    font-size: 32px;
    line-height: 32px;
    padding: 10px;
    /*border-bottom: 1px solid #fff;*/
    display: block;
}
.it-list-item {
    list-style-type: none;
    text-align: center;
}

.it-list-item, .it-list-item a, .it-list-item a:hover {
    color: #fff;
}

.it-list-item a:hover span {
    background-color: #009ee3;
}

.it-list-item:last-child span {
    border-bottom: 0px solid #fff;
}
body.page .fusion-header-has-flyout-menu .fusion-flyout-menu>ul.fusion-menu>li {
    padding: calc((20px)/ 2) 0;
}
@media(max-width: 1100px) {
	#start-header {
		background-image: linear-gradient(180deg, #b4e2fa 0%,#80bfde 100%)!important;
		
	}
	h2 {
		line-height: 1.3em!important;
	}
}
@media(max-width: 800px) {
	.cta-wrapper img {
		display: none;
	}
}
@media(max-width: 768px) {
	.twentyfourseven-wrapper {
    	position: initial;
		margin-top: -27px;
	}
	.cta-wrapper {
		margin-top: 0;
	}
	.cta-wrapper .row div.klickbar {
		margin-top: 30px;
	}
	.cta-wrapper .cta-second {
		line-height: 34px;
	}
	.cta-wrapper .cta-first a {
		line-height: 28px;
		font-size: 30px;
	}
	.mobile-center,
	.mobile-center p, 
	.mobile-center h1,
	.mobile-center h2 {
		text-align: center!important;
	}
	.mobile-left,
	.mobile-left p,
	.mobile-left h1,
	.mobile-left h2 {
		text-align: left!important;
	}
	.mobile-no-top-bottom-padding {
		padding-top: 0px !important;
		padding-bottom: 0px !important;
	}
	#icon-toolbar {
		display:none;
		bottom: 0;
		transform: translateX(-25%);
		left: 50%;
	}
	.it-list-item {
		float: left;
		margin-right: 1px;
	}
	.it-list-item span {
		font-size: 26px;
		line-height: 26px;
	}
	#footer {
		padding-bottom: 52px;
	}
	.mobile-cta {
		display: flex;
    	margin-bottom: 42px;
		text-align: center;
	}
}
@media(max-width:420px) {
	.mobile-cta .cta-inner {
		padding: 6px 10px;
	}
}