/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */

/*** General ***/

@import url('satoshi.css');
@import url('noto_sans.css');

div, p {
	font-family: 'Noto Sans Regular', sans-serif;
	font-size: 1.1rem;
	line-height: 1.7rem;
}

ul li {
	font-family: 'Satoshi-Regular', sans-serif;
	font-size: 1.1rem;
	line-height: 1.7rem;
}

h1, h2, h3, h4, h5 {
	font-family: 'Satoshi-Bold', sans-serif;
}

h1 {
	font-size: 3rem;
	line-height: 3.7rem;
	
	color: #cd2d19 !important;
}

h1::before {
	content: '';
	display: inline-block;
	width: 20px;
	height: 2rem;
	margin-right: 20px;
	background-color: #cd2d19;
}

h2 {
	font-size: 2.1rem;
	line-height: 3.7rem;
	
	color: #cd2d19 !important;
}

h2::before {
	content: '';
	display: inline-block;
	width: 20px;
	height: 1.6rem;
	margin-right: 20px;
	background-color: #cd2d19;
}

h3 {
	font-size: 1.9rem;
	line-height: 2.7rem;
}

h3::before {
	content: '';
	display: inline-block;
	width: 20px;
	height: 1.4rem;
	margin-right: 20px;
	background-color: #000;
}

/** Reset editor styling to default **/

/* Editor Headings */

.et-fb-form__toggle-title>h3 {
	font-family: 'Open Sans', Helvetica, Roboto, Arial, sans-serif;
	font-weight: 400;
    text-transform: none;
    font-size: 20px!important;
    font-style: normal;
    line-height: 1em;
    text-decoration: none;
    letter-spacing: 0;
}

.et-fb-form__toggle-title>h3::before {
	content: '';
	display: none;
}

/* Editor List Styles */

.et-fb-settings-options ul li {
	font-family: 'Open Sans', Helvetica, Roboto, Arial, sans-serif;
    font-size: 13px;
    line-height: 26px !important;
    font-weight: 600;
}

/* Editor Lines Of Code */

.CodeMirror-lines div {
	font-family: 'Open Sans', Helvetica, Roboto, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 150% !important;
    font-weight: 700 !important;
}

h4 {
	font-size: 1.7rem;
	line-height: 2.7rem;
}

h5 {
	font-size: 1.3rem;
	line-height: 2rem;
}



/*
.et_pb_section h1, .et_pb_section h2, .et_pb_section h3 {
	display: inline-block;
	padding: 20px;
	font-family: 'Monoton', sans-serif;
	background-color: #ca3d24;
	color: #fff !important;
	line-height: 1.8rem;
	
}
*/

/*** Header ***/

/** Navigation **/

/* No drop shadow for top menu header */

#main-header {
	box-shadow: none;
	-webkit-box-shadow: none;
}


/* Spread out nav bar */

#et-top-navigation {
	width: 100%;
}

#top-menu-nav {
	width: 100%;
}

#top-menu {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	gap: 20px;
	width: 100%;
}

#top-menu a {
	font-family: 'Satoshi-Medium', sans-serif;
	font-size: 1.2rem;
	line-height: 2rem;
}

#top-menu li.current-menu-item>a {
	color: #cd2d19;
}

/* Hover Effect */

.et_header_style_left #et-top-navigation nav>ul>li>a::after {
	content: '';
	display: block;
	width: 0;
	margin-top: 5px;
	height: 3px;
	background-color: transparent;
	
	transition: width .2s linear;
}

.et_header_style_left #et-top-navigation nav>ul>li>a:hover::after {
    width: 100%;
	background-color: #cd2d19;
	opacity: 100%;
}


/*** Content ***/


/* Flip boxes */

#ev-flipbox-estrich .dtq-flipbox-back-card {
	background-image: linear-gradient(0deg, rgba(255,255,255,0.9242529775582108) 12%, rgba(255,255,255,0.8038047982865021) 25%, rgba(255,255,255,0.27999527447697825) 78%), url('https://mkbau.eventus-entwicklung.com/wp-content/uploads/2024/01/AdobeStock_503672478_Preview.jpeg');
	background-position: center;
}

#ev-flipbox-putz .dtq-flipbox-back-card {
	background-image: linear-gradient(0deg, rgba(255,255,255,0.9242529775582108) 12%, rgba(255,255,255,0.8038047982865021) 25%, rgba(255,255,255,0.27999527447697825) 78%), url('https://mkbau.eventus-entwicklung.com/wp-content/uploads/2024/01/AdobeStock_223382603_Preview.jpeg');
	background-position: center;
} 

#ev-flipbox-wdvs .dtq-flipbox-back-card {
	background-image: linear-gradient(0deg, rgba(255,255,255,0.9242529775582108) 12%, rgba(255,255,255,0.8038047982865021) 25%, rgba(255,255,255,0.27999527447697825) 78%), url('https://mkbau.eventus-entwicklung.com/wp-content/uploads/2024/01/AdobeStock_445730058_Preview.jpeg');
	background-position: center;
} 


/** Forms **/

.wpcf7-not-valid-tip {
	color: #fff !important;
	text-transform: uppercase;
}

.frm_contact p {
	line-height: 1rem;
}

/* First Name */
.frm_contact>div>div>form>p:nth-of-type(1) {
	float: left;
	width: 48%;
	margin-right: 4%;
}

/* Surname */
.frm_contact p:nth-of-type(2) {
	float: left;
	width: 48%;
}

/* E-Mail */
.frm_contact p:nth-of-type(3) {
	clear: both;
}

/* Privacy Agreement */
.frm_contact p:nth-of-type(6)+div>p {
	float: left;
}

.frm_contact p:nth-of-type(6)+div .last {
	margin-left: 0;
}

.frm_contact input {
	font-family: "Noto Sans Regular", sans-serif;
}

.frm_contact input[type="text"], .frm_contact input[type="email"], .frm_contact textarea {
	-webkit-appearance: none;
    background-color: #eee;
    width: 100%;
    border-width: 0;
    border-radius: 0;
    color: #999;
    font-size: 14px;
    padding: 16px;
}

.frm_contact input[type="file"] {
	width: 48%;
	background-color: transparent !important;
	color: #fff;
}

.frm_contact input[type="file"]::after {
    content: "";
	color: #fff !important;
}

/* Form "Zustimmung Datenschutzerklärung" */
.frm_contact input[type=checkbox] {
	width: 24px;
	height: 24px;
	vertical-align: middle;
	margin-right: 10px;
}

.frm_contact input[type=checkbox]+span {
	color: #fff;
	font-size: .9rem;
	line-height: 1.1rem;
}

/*
.frm_contact input[type=checkbox]::after {
	content: 'Ich stimme den Danteschutzbestimmungen zu.';
	color: #fff;
}
*/
.frm_btn {
	float: right;
	width: unset !important;
	font-family: "Noto Sans Regular", sans-serif;
	font-size: 1.1rem !important;
	line-height: 1.7rem !important;
    font-weight: 500;
    padding: 0.3em 1em;
    background-size: cover;
    background-position: 50%;
    background-repeat: no-repeat;
    border: 2px solid;
    border-radius: 3px;
	
	color: #212121!important;
    border-color: RGBA(255,255,255,0);
    background-color: rgba(255,255,255,0.62);
}

.frm_btn:hover {
	color: #fff!important;
    background-image: initial;
    background-color: rgba(0,0,0,0.62);
	border-color: RGBA(255,255,255,0);
}

.frm_btn:hover::after {
	opacity: 1;
    margin-left: 0;
	font-family: ETmodules!important;
	speak: none;
    font-style: normal;
    font-weight: 400;
	font-feature-settings: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
	text-shadow: 0 0;
    direction: ltr;
}

.frm_btn::after {
	content: "\35";
	position: absolute;
}

/*** Footer ***/

.et_pb_widget {
	float: none;
}

.et_pb_gutters3.et_pb_footer_columns3 .footer-widget .fwidget {
	margin-bottom: 1em !important;
}



#main-footer h5 {
	font-family: 'Satoshi-Bold', sans-serif;
	font-size: 1.1rem !important;
	line-height: 1.7rem !important;
}

#main-footer p, #main-footer a, #main-footer li>a {
	font-family: 'Noto Sans Regular', sans-serif;
	font-size: .9rem !important;
	line-height: 1.5rem !important;
}

#footer-widgets .footer-widget li {
	font-family: 'Noto Sans Regular', sans-serif;
	padding-left: 0;
	margin-bottom: 0;
	font-size: .9rem !important;
	line-height: 1.5rem !important;
}

#footer-widgets .footer-widget li::before {
	display: none;
}