/*
 Theme Name:   Kunze Media Basis - Divi Child
 Description:  Kunze Media Basis - Divi Child
 Author:       Kunze Medien AG
 Author URI:   https://www.kunze-medien.de
 Template:     Divi
 Version:      1.0.1
 License:      GNU General Public License v2 or later
*/
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;700;900&display=swap');
/* Datenschutzhinweis bei */
div.standard-kontaktformular [data-id="datenschutzhinweis"] .et_pb_contact_field_options_wrapper .et_pb_contact_field_options_title { display: none; }
    

/* FONTS */
h1, h2, h3, h4, h5, body, p, input.text, input.title, input, select, textarea { font-family: 'Archivo', sans-serif; }

body, body p, input.text, input.title, input, select, textarea, #ql-container h3, #main-footer h4, #kontakt-container h4, .uc-embedding-wrapper h3 {
	font-size: 17px !important;
	line-height: 21px !important;
	letter-spacing: 0.3px !important;
}
#top menu li a, #kontakt-banner *{ font-size: 15px !important; line-height: 19px !important; }
.uc-embedding-wrapper .description-text { font-size: 14px !important; line-height: 18px !important; }
h1 { font-size: 36px !important; line-height: 40px !important; }
h2 { font-size: 23px !important; line-height: 27px !important; }
h3 { font-size: 24px !important; line-height: 28px !important; }
h4, #ql-container .et_pb_row:first-child h3 { font-size: 27px !important; line-height: 31px !important; }
h5 { font-size: 25px !important; line-height: 29px !important; }

.uc-embedding-wrapper h3 { margin: 0; }

h3, h4, h5, strong, a, .et_pb_button, input[type="submit"], .post-meta, #kontakt-banner * { font-weight: 700; }

h1, #top-menu li a, h3, h4, .entry-title a{ font-weight: 900; }

h1, h2, h3, h4, h5, body p, #datenschutz div { padding-bottom: 12px !important; }
p:last-of-type, #maps-container p, h1:last-child, h2:last-child, h3:last-child, h4:last-child, h5:last-child, 
.et_pb_blurb_description ul:last-child, .et_pb_text_inner ul:last-child { padding-bottom: 0 !important; }


/* COLOURS */
body, p, a:hover,
h2, 
#kontakt-container h4, 
#kontakt-container a, 
#text-img-container h3,
input.text, input.title, input[type="email"], input, select, textarea,
#header-img p,
#mobile_menu li a,
#top-menu li a,
#top-menu li.current_page_item>a,
#top-menu li.current-menu-parent>a { color: #3a3a3a !important; }

h1, h3, h4, h5, a, em,
.et_pb_button,
.et_pb_button:hover,
.more-link,
#kontakt-container a:hover,
input[type="submit"],
.mobile_menu_bar::before { color: #4b517a !important; }

#kontakt-banner *,
#main-footer *,
.trenner-container *,
#menu-footermenue a:hover,
#menu-footermenue .current_page_item>a,
#mobile_menu .current-menu-item a,
#mobile_menu a:hover,
#aktuelles-container .post-meta,
.more-link:hover,
#aktuelles-all-container .post-meta,
input[type="submit"]:hover,
#text-img-container .et_pb_row:nth-child(even) .et_pb_column:first-child * { color: #fff !important; }


#main-footer a:hover, 
#main-footer a:hover span,
#main-footer .current-menu-item a,
#main-footer .current-menu-item,
#main-footer li:hover,
#kontakt-banner a:hover,
#kontakt-banner a:hover span { color: #fff80c !important; }


/* TRANSITIONS */
a, 
a span,
a img,
.menu li,
.et_pb_blurb,
.logo_container a,
.logo_container a::after,
.mobile_menu_bar.mobile_menu_bar_toggle,
input[type="submit"] { -webkit-transition: all 0.4s ease-in-out; transition: all 0.4s ease-in-out; }


/* HEADER */
#top-header, #main-header { position: fixed !important; }


/* NAVIGATION */
.mobile_menu_bar.mobile_menu_bar_toggle { padding: 38px 0 !important; }
.et-fixed-header .mobile_menu_bar.mobile_menu_bar_toggle { padding: 28px 0 !important; }
.et_mobile_menu { border-top: 3px solid #4b517a; }

#top-menu li { font-size: 15px; line-height: 19px; }
#top-menu-nav > ul li a:hover, .nav ul li a:hover { opacity: 1; }
#et-top-navigation { padding: 0 !important; }
#top-menu-nav > ul > li a { padding: 40px 15px !important; }
#top-menu-nav > ul > li { padding: 0; }
.et-fixed-header #top-menu-nav > ul > li a { padding: 20px 15px !important; }

#top-menu .menu-item-has-children > a:first-child::after { position: relative; line-height: 15px; }

/* Submenu */
#top-menu li li, 
#top-menu li li a, 
.et-fixed-header #top-menu li li, 
.et-fixed-header #top-menu li li a {
    float: left;
    width: 100%;
}
.nav li ul { 
	border-top: 5px solid #2e2382;
    width: 340px;
	padding: 10px;
}
#top-menu li li { padding: 0; }
#top-menu li li a, .et-fixed-header #top-menu li li a { padding: 10px !important; }

#top-menu ul .current_page_item>a::before, 
#top-menu ul .current-menu-ancestor>a::before, 
#top-menu ul li a:hover::before,
#et_mobile_nav_menu ul .current_page_item>a::before { display: none; }

#top-menu .sub-menu .current_page_item>a, 
#top-menu .sub-menu .current-menu-ancestor>a, 
#top-menu .sub-menu .current-menu-item a,
#top-menu .sub-menu a:hover, 
#kontakt-logo-container .et_pb_image_wrap img,
#et_mobile_nav_menu .sub-menu .current_page_item>a, 
#et_mobile_nav_menu .current_page_item>a { background-color: #bdd7f2; }


/* GENERAL */
#top-menu-nav > ul > li > a:hover, .bottom-nav a:hover, #et-info-email:hover, .et_mobile_menu li a:hover, .nav ul li a:hover, .et_pb_menu__menu > nav > ul > li a:hover { opacity: 1 !important; }
.et_pb_bg_layout_dark .et_pb_slide_description { text-shadow: 0 1px 3px rgba(0, 0, 0, 0) !important; }
#et-footer-nav { background-color: rgba(255, 255, 255, 0) !important; }
.et_pb_image .et_pb_image_wrap, .et_pb_image .et_pb_image_wrap img { width: 100% !important; }
.et_pb_module ul li { padding-bottom: 5px; }
.et_pb_module ul li:last-child { padding-bottom: 0; }
.et_pb_blurb_content { max-width: 100% !important; }
#main-content .container::before { width: 0 !important; }

.et_pb_section:not(.et_pb_fullwidth_section) { padding: 50px 0 !important; }
.et_pb_row { padding: 50px 0 !important; }

.et_pb_row, .container { width: 90% !important; }

.center-text *, .centered-text *, #aktuelles-container .post-meta, #aktuelles-all-container .post-meta { text-align: center !important; }
.centered-text .et_pb_row, .centered-text.et_pb_row { max-width: 860px; margin: 0 auto; }

.abstand-unten.et_pb_section, .abstand-unten .et_pb_row:last-child, .abstand-unten.et_pb_row { padding-bottom: 0 !important; }

.entry-content ul, #main-footer ul {list-style-type: square; list-style-type: disclosure-closed; }
.entry-content ul ul { list-style-type: square; }

.et_pb_equal_columns .et_pb_module {
    display: -webkit-flex !important;
    display: -ms-flexbox !important;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    height: 100%; 
}

#kontakt-banner,
.more-link:hover,
.et_pb_button:hover, 
input[type="submit"]:hover, 
#main-footer,
.et_mobile_menu li a:hover, 
.et_mobile_menu li.current_page_item a,
#aktuelles-container .post-meta,
#aktuelles-all-container .post-meta,
#text-img-container .et_pb_row:nth-child(even) .et_pb_column:first-child { background-color: #4b517a !important; }

.et_pb_button, 
input[type="submit"], 
.more-link,
#kontakt-container,
#text-img-container .et_pb_row:nth-child(odd) .et_pb_column:last-child,
#top-menu a:hover,
#top-menu .current-menu-item a,
#top-menu .current-menu-parent > a,
#top-menu .sub-menu li a:hover,
#top-menu .sub-menu li.current_page_item a,
#sidebar,
#ql-container .et_pb_main_blurb_image { background-color: #fff80c !important; }

.et_pb_slide, 
#partner-container, 
#ql-container .et_pb_blurb_container,
#aktuelles-all-container .et_pb_post,
#aktuelles-container { background-color: #e7e7e7 !important; }

.et_pb_menu_0.et_pb_menu, #mobile_menu li.menu-item-has-children>a:hover { background-color: transparent !important; }


/* Button */
.et_pb_button, .et_pb_button:hover, .wpcf7 input[type="submit"], .more-link, .more-link:hover {
	border: 0px solid #fff !important;
	border-radius: 0;
	font-size: 17px;
	line-height: 21px !important;
    padding: 14px 40px !important;
}
.more-link { display: inline-block !important; margin-top: 20px; }
.more-link::first-letter { text-transform: capitalize; }

.et_pb_button::after { display: none; }

/* HEADER IMG */
#header-img .et_pb_slide_description { padding: 17vw 0; }
	
span.logo_helper { display: inline; }
#logo { max-height: 170%; }
.et-fixed-header #logo { max-height: 90%; }
.logo_container a {
    position: relative;
    display: block;
	width: 300px;
	margin-top: 5px;
}
.et-fixed-header .logo_container a { width: 200px; }
.logo_container a::after {
    position: absolute;
    width: calc(100% + 40px);
    height: 100%;
    left: -18px;
    bottom: -20px;
    z-index: -1;
    content: "";
    background-repeat: no-repeat;
	background-size: contain;
    background-image: url(img/hde-elo-tec-elektrofachbetrieb-obermotzing-dreieck-weiss.png);
    background-position: bottom;
}
.et-fixed-header .logo_container a::after {
    left: -16px;
    bottom: -10px;

}


/* QUICKLINKS */
#ql-container .et_pb_main_blurb_image {
    float: left;
    width: 70px;
    height: 70px;
    padding: 15px;
	margin-bottom: 0;
}
#ql-container .et_pb_blurb_content {
    display: -webkit-flex !important;
    display: -ms-flexbox !important;
    display: flex !important;
}
#ql-container .et_pb_blurb_container {
    width: calc(100% - 90px);
    float: left;
    display: -webkit-flex !important;
    display: -ms-flexbox !important;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
	padding-left: 15px;
	position: relative;
}
#ql-container .et_pb_blurb_container::after{
	position: absolute;
	top: 0;
	right: -20px;
	width: 20px;
	height: 100%;
	content: "";
	background-size: contain;
	background-repeat: no-repeat;
	background-image: url(img/hde-elo-tec-elektrofachbetrieb-obermotzing-dreieck-grau.png);
	background-position: left;
}

#ql-container .et_pb_blurb:hover { filter: contrast(115%); }


/* Trenner-Container */
.trenner-container::after {
	position: absolute;
	width: 50%;
	height: 100%;
	top: 0;
	left: 0;
	content: "";
	background: rgba(46,49,74,0.9)
}

.trenner-container .et_pb_column {
    margin-right: 0;
	padding-right: 30px;
	width: 50%; 
}


/* Text Img Container */
#text-img-container .et_pb_column { margin-right: 0; }
#text-img-container .et_pb_row:nth-child(2n+1) .et_pb_column:last-child { margin-left: -65px; }
#text-img-container .et_pb_row:nth-child(even) .et_pb_column:first-child { margin-right: -65px; }
#text-img-container .et_pb_row:nth-child(odd) .et_pb_column:last-child,
#text-img-container .et_pb_row:nth-child(even) .et_pb_column:first-child {
	width: calc(50% + 50px);
    padding: 50px;
	z-index: 9;
	margin-top: 100px;
}
#text-img-container .et_pb_row:nth-child(odd) .et_pb_column:last-child::after, #text-img-container .et_pb_row:nth-child(even) .et_pb_column:first-child::after{
	position: absolute;
	top: 0;
	width: 200px;
	height: 100%;
	content: "";
	background-size: contain;
	background-repeat: no-repeat;
}
#text-img-container .et_pb_row:nth-child(odd) .et_pb_column:last-child::after {
	left: -200px;
	background-image: url(img/hde-elo-tec-elektrofachbetrieb-obermotzing-dreieck-gelb.png);
	background-position: right;
}
#text-img-container .et_pb_row:nth-child(even) .et_pb_column:first-child::after {
	right: -200px;
	background-image: url(img/hde-elo-tec-elektrofachbetrieb-obermotzing-dreieck-lila.png);
	background-position: left;
}

/* Partner */
#partner-container a:hover img { 
	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
}


/* AKTUELLES */
#aktuelles-container .et_pb_post:nth-child(odd), #aktuelles-all-container .et_pb_post:nth-child(odd) { margin-right: 30px; }
#aktuelles-container .et_pb_post, #aktuelles-all-container .et_pb_post {
    margin-bottom: 30px;
    width: calc(50% - 15px);
    padding-left: 110px;
}
#aktuelles-all-container .et_pb_post { padding: 30px 30px 30px 140px; }
#aktuelles-container .et_pb_ajax_pagination_container, #aktuelles-all-container .et_pb_ajax_pagination_container{
    margin: 0 -15px -30px !important;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
#aktuelles-container .post-meta, #aktuelles-all-container .post-meta {
	display: -webkit-flex !important;
	display: -ms-flexbox !important;
	display: flex !important;
	flex-direction: column;
	justify-content: center;
	position: absolute;
	width: 80px;
	height: 80px;
	left: 0;
	top: 0;
	padding: 10px !important;
	margin-bottom: 0;
}
#aktuelles-all-container .post-meta { left: 30px; top: 30px; }


/* SINGLE */
.single #sidebar {
    width: calc(33.3333% - 15px) !important;
    float: right;
    margin-left: 15px;
	padding: 30px !important;
}
.single #left-area {
	width: calc(66.66666% - 15px) !important; 
	margin-right: 15px;
	padding-right: 0 !important;
	padding-bottom: 0;
}
.single #main-content .container { padding: 100px 0 !important; }
#sidebar { padding: 30px; }
.single .et_pb_post {
    margin-bottom: 0;
    padding-bottom: 0;
}
#sidebar .et_pb_widget:last-child { margin-bottom: 0; }

/* Kontakt */
#kontakt-banner { padding: 0 !important; }
#kontakt-banner .et_pb_row { padding: 12px 0 !important; }
#kontakt-banner a { white-space: nowrap; }
#kontakt-banner.kontakt-banner-mobil { display: none; }

#kontakt-container { padding: 30px; }

/* ---FORM--- */
input.text, input.title, input[type="email"], input[type="password"], input[type="tel"], input[type="text"], select, textarea {
	letter-spacing: 1px;
	height: 35px;
	line-height: 35px !important;
	width: 100%;
	padding: 0 15px;
    background-color: #fff;
    border: 1px solid #e7e7e7;
    color: #555;
	font-size: 16px;
}
.wpcf7 input[type="submit"] { padding: 0.3em 1em; line-height: 1.7em; height: auto; }

input.text:focus, input.title:focus, input[type="text"]:focus, select:focus, input[type="tel"]:focus, textarea:focus, input.wpcf7-email:focus { border-color: #4b517a; }
.wpcf7-form-control.wpcf7-textarea { 
	min-height: 100px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.wpcf7 .ajax-loader { position: absolute !important; left: 0; }

span.wpcf7-list-item { margin: 0 5px 0 0 !important; }
#datcheck {
	text-align: left !important;
	font-size: 14px !important;
	line-height: 15px !important;
	padding: 10px 15px;
	margin-bottom: 15px;
	position: relative;
	border: 1px solid #e7e7e7;
}
#datcheck input { float: left; width: auto; }
.wpcf7-not-valid-tip { margin-top: 7px;}
#datcheck .wpcf7-not-valid-tip {
	display: inline-block;
	top: -4px !important;
	position: relative;
}
.your-datenschutz { position: relative; top: 3px;}
.kontaktform-left {
	float: left;
	width: 50%;
	padding: 0 5px 0 0;
}
.kontaktform-right {
	float: right;
	width: 50%;
	padding: 0 0 0 5px;
}
.kontakt-senden { margin-top: 15px; }
.kontaktformular { margin-bottom: 10px; }


/* FOOTER */
#footer-bottom { padding: 0 !important; }
#footer-widgets { padding: 100px 0 50px; }
#main-footer #footer-widgets .footer-widget { margin-bottom: 50px !important; }
#main-footer #footer-widgets .et_pb_widget { margin-bottom: 20px !important; }
#main-footer #footer-widgets .et_pb_widget:last-child { margin-bottom: 0 !important; }
#main-footer #footer-widgets .footer-widget li { line-height: 22px; }
#footer-widgets .footer-widget li::before { display: none; }
#footer-widgets .footer-widget li { padding-left: 0; }
#footer-widgets .footer-widget ul { padding-left: 20px; }
#main-footer .widget_media_image {
    width: 110px;
    margin-right: 20px;
}

/* RESPONSIVE */
@media only screen and (max-width: 1600px) {
  #header-img .et_pb_slide { height: inherit; }
}
@media only screen and (max-width: 1430px) {
	#ql-container { padding-bottom: 20px !important;}
	#ql-container .et_pb_row:last-child .et_pb_column { width: calc(50% - 15px); float: left; }
	#ql-container .et_pb_row:last-child .et_pb_column:not(:last-child) { margin-bottom: 30px; }
	#ql-container .et_pb_row:last-child .et_pb_column:nth-child(odd) { margin-right: 30px; }
	#ql-container .et_pb_row:last-child .et_pb_column:nth-child(even) { margin-right: 0; }
}
@media only screen and (max-width: 1030px) {
	#top-menu-nav { display: none; }
	#et_mobile_nav_menu { display: block; }
	.logo_container a {	width: 170px; }
	.logo_container a::after { display: none; }
}
@media only screen and (max-width: 980px) {
	h1 br { display: none;}
	.et_pb_section:not(.et_pb_fullwidth_section) { padding: 40px 0 !important; }
	.et_pb_row { padding: 40px 0 !important; }
	.abstand-unten.et_pb_section, .abstand-unten .et_pb_row:last-child { padding-bottom: 0 !important; }
	.et_header_style_left #logo { max-width: 100%; }
	.et-fixed-header .logo_container a { width: 130px; }
	.et-fixed-header .logo_container a::after { height: 0; width: 100%; }
	.trenner-container::after { width: 100%; }
	.trenner-container .et_pb_column { padding-right: 0; width: 100%; margin-bottom: 0; }
	#text-img-container .et_pb_row:nth-child(2n+1) .et_pb_column:last-child, #text-img-container .et_pb_row:nth-child(2n) .et_pb_column:first-child {
		width: 100%;
		padding: 30px;
		margin-top: 0px;
	}
	#text-img-container .et_pb_row:nth-child(2n+1) .et_pb_column:last-child { margin-left: 0px; }
	#text-img-container .et_pb_row:nth-child(2n+1) .et_pb_column:last-child::after,
	#text-img-container .et_pb_row:nth-child(2n) .et_pb_column:first-child::after { display: none; }
	#text-img-container .et_pb_row:nth-child(2n+1) .et_pb_column:first-child,
	#text-img-container .et_pb_row:nth-child(2n) .et_pb_column:first-child { margin-bottom: 0; }
	#text-img-container .et_pb_row:nth-child(2n) {
		-webkit-flex-wrap: wrap-reverse;
		-ms-flex-wrap: wrap-reverse;
		flex-wrap: wrap-reverse;
		display: flex;
	}
	#aktuelles-container .et_pb_ajax_pagination_container, #aktuelles-all-container .et_pb_ajax_pagination_container { margin: 0 0 -30px !important; } 
	#aktuelles-container .et_pb_post, #aktuelles-all-container .et_pb_post { width: 100%; margin-right: 0 !important; }
	#aktuelles-container .et_pb_post { margin-bottom: 50px; }
	#aktuelles-container .et_pb_post:last-child { margin-bottom: 30px; }
	.single #sidebar { display: none; }
	.single #left-area { width: 100% !important;  margin-right: 0; }
	#footer-widgets { padding: 80px 0 40px; }
}
@media only screen and (max-width: 767px) {
	h1 { font-size: 30px !important; line-height: 34px !important; }
	h2, h4, #ql-container .et_pb_row:first-child h3 { font-size: 21px !important; line-height: 25px !important; }
	h3 { font-size: 20px !important; line-height: 24px !important; }
	#kontakt-banner.kontakt-banner-mobil { display: block; }
	#kontakt-banner:not(.kontakt-banner-mobil) { display: none; }
	#ql-container .et_pb_row:last-child .et_pb_column { width: 100%; }
	#ql-container .et_pb_row:last-child .et_pb_column:nth-child(odd) { margin-right: 0; }
}
@media only screen and (max-width: 500px) {
	#text-img-container .et_pb_row:nth-child(2n+1) .et_pb_column:last-child, 
	#text-img-container .et_pb_row:nth-child(2n) .et_pb_column:first-child,
	#kontakt-container { padding: 30px 20px; }
	#aktuelles-container .post-meta, #aktuelles-all-container .post-meta {
		position: relative;
		width: 100px;
		height: auto;
		margin-bottom: 12px;
	}
	#aktuelles-container .et_pb_post { padding-left: 0px; }
	#aktuelles-all-container .et_pb_post { padding-left: 30px; }
	#aktuelles-all-container .post-meta { left: 0px; top: 0px; }
	h1 { font-size: 26px !important; line-height: 30px !important; }
	.logo_container a { width: 160px; }
	.kontaktform-left {
		width: 100%;
		margin-bottom: 15px;
		padding: 0px;
	}
	.kontaktform-right {
		width: 100%;
		float: left;
		padding: 0px;
	}
	h1 {
	  -moz-hyphens: auto;
	  -o-hyphens: auto;
	  -webkit-hyphens: auto;
	  -ms-hyphens: auto;
	  hyphens: auto;
	}
}
@media only screen and (max-height: 530px) {
	#mobile_menu {height: calc(100vh - 100px); overflow: scroll;}
}