/*
 Theme Name:     Divi Child Theme
 Theme URI:      http://www.elegantthemes.com
 Description:    Child Theme for Divi Theme by Elegant Themes
 Author:         Divi.world
 Author URI:     http://divi.world
 Template:       Divi
 Version:        1.0.0
*/
 
/* =Ab hier kannst du deine CSS-Anpassungen eintragen
------------------------------------------------------- */

/* Customs */
@media (min-width: 981px) {
	.et_pb_row.right-8 { padding-right: 8%; }
	.et_pb_row.left-16 { padding-left: 13%; }
	
	.et_pb_row { display: flex !important; }
}


@media (min-width: 1900px) { .et_pb_module.seit-1960 { margin-right: 0 !important; } }

h2, h3, h4 ,h5 { letter-spacing: 0 !important; }

#page-container { overflow-x: hidden; }
.fullwidth-img img,
.fullwidth-img .et_pb_image_wrap { max-width: none; width: 100%; }
.custom-ul ul,
.custom-ul ul li {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
.custom-ul ul li {
	line-height: 1.6em;
	padding-left: 10px;
	position: relative;
	margin-bottom: 3px;
}
.custom-ul ul li:before {
	position: absolute;
	left: 0;
	top: 0;
	content: '·';
}
.right-line > div { position: relative; padding-right: 0; }
.right-line > div:after { 
	position: absolute;
	right: -15px;
	top: .7em;
	height: 1px; 
	background: #113984;
	width: 100vw;
	transform: translateX(100%);
	content: '';
}

.et_pb_gallery .et-pb-slider-arrows { display: none !important; }
.et_pb_gallery .et-pb-controllers {
	position: relative;
	bottom: 0;
	padding: 20px 0 0 0;
    display: inline-block !important;
}
.et_pb_bg_layout_light .et-pb-controllers a { background-color: #9C8F81;}
.et_pb_bg_layout_light .et-pb-controllers a.et-pb-active-control { background-color: #113984;}

.footer-link .et_pb_text_inner { position: relative; padding-left: 40px; }
.footer-link.show-arrow .et_pb_text_inner:before {
	position: absolute;
	left: 0;
	top: 50%;
	content: '';
	width: 24px;
	height: 24px;
	background: url('/wp-content/uploads/2022/03/wiening-pfeil.svg') no-repeat center center;
	background-size: contain;
	display: block;
    transform: translateY(-50%);
    transition: all .3s ease-in-out;	
}
.footer-link.show-arrow:hover .et_pb_text_inner:before { left: 8px; }
strong { font-weight: normal !important; font-family: 'Orkney Bold',Helvetica,Arial,Lucida,sans-serif; }

/* Header */
@media ( min-width: 477px ) {
	.wiening-header > .et_pb_row,
	.footer-section > .et_pb_row { border-bottom-width: 0 !important; border-top-width: 0 !important; }
}
.wiening-header .et_pb_column_4_4,
.wiening-header .et_pb_column_4_4 .et_pb_code_inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}
.wiening-header .et_pb_column_4_4 > div { margin-bottom: 0 !important; }
.wiening-header .et_pb_column_4_4 > div:first-child {
	flex: 1;
}
.wiening-header .et_pb_column_4_4 .et_pb_code_inner span.header-short-line,
.wiening-header .et_pb_column_4_4 .et_pb_code_inner span.header-long-line { width: 60px; height: 1px; background-color: #9C8F81; margin: 0 15px; }
.wiening-header .et_pb_column_4_4 .et_pb_code_inner span.header-long-line { flex: 1; }

.wiening-header a,
.footer-section a { color: #9C8F81; font-family: 'Orkney Regular',Helvetica,Arial,Lucida,sans-serif !important; font-size: 14px; text-transform: uppercase; letter-spacing: 3px;}
.wiening-header a:hover,
.footer-section a:hover { color: #113984; }

/* Home */
@media (max-width: 1420px) {
	.et_pb_column > .et_pb_module.header-headline-box { font-size: 85px !important; line-height: 1.2em !important; }
}
@media (max-width: 1150px) {
	.et_pb_column > .et_pb_module.header-headline-box { font-size: 60px !important; }
}
@media (max-width: 700px) {
	.et_pb_column > .et_pb_module.header-headline-box { font-size: 40px !important; }
}
@media (max-width: 500px) {
	.et_pb_column > .et_pb_module.header-headline-box { font-size: 28px !important; }
}

body.home .et_pb_row_0 h1 { padding-bottom: 0; }

.leistungsspektrum h2 { letter-spacing: 0 !important; }

/* Kontakt Zeile */
@media (min-width: 981px) and (max-width: 1070px) {
	.kontakt-zeile {
		flex-direction: column-reverse;
	}
	.kontakt-zeile > div {
		width: 100% !important;
		margin-right: 0 !important;
	}
	.kontakt-zeile > div:first-child { margin-bottom: 60px; }
	.kontakt-zeile > div:last-child .et_pb_image { max-width: none !important; }
	.kontakt-zeile .et_pb_module.et_pb_image { margin-bottom: 50px !important; }
}

/* Erecht */
.erecht-section h1 { font-size: 60px; }
.erecht-section h1,
.erecht-section h2,
.erecht-section h3,
.erecht-section h4 { letter-spacing: 0 !important; }

/* Footer */
.footer-section .et_pb_column_4_4,
.footer-section .et_pb_column_4_4 .et_pb_code_inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}
.footer-section.fixed .et_pb_column_4_4 .et_pb_code_inner { justify-content: flex-end; }
.footer-section .et_pb_column_4_4 > div { margin-bottom: 0 !important; }
.footer-section .et_pb_column_4_4 > div:first-child {
	flex: 1;
}
.footer-section .et_pb_column_4_4 .et_pb_code_inner span.footer-short-line,
.footer-section .et_pb_column_4_4 .et_pb_code_inner span.footer-long-line { width: 60px; height: 1px; background-color: #9C8F81; margin: 0 15px; }
.footer-section .et_pb_column_4_4 .et_pb_code_inner span.footer-long-line { flex: 1; margin-right: 0; }
.footer-section.fixed .et_pb_column_4_4 .et_pb_code_inner span.footer-short-line { margin-left: 0; }

@media ( max-width: 767px ) {
	.right-line > div { padding-right: 0; max-width: 80%;}
	.right-line > div:after {
		display: block;
		width: 100%;
		transform: translateX(100%);
		right: -21px;
	}
	.footer-link.show-arrow .et_pb_text_inner:before { display: none; }
	.footer-link .et_pb_text_inner { padding-left: 0; }
	.footer-link.show-arrow .et_pb_text_inner:before { left: 0; top: 50%; height: 16px; }
	.seit-1960 img { max-width: 180px; }
	.custom-ul ul li { margin-bottom: 3px; }
	.header-short-line, .footer-short-line { width: 30px !important; }
}

@media (max-width: 476px) {
	.wiening-header a, .footer-section a { font-size: 11px; }
	.header-short-line, .footer-short-line { width: 15px !important; }
	.header-short-line, .footer-short-line,
	.header-long-line, .footer-long-line { margin-right: 5px !important; margin-left: 5px !important; }
	.footer-link.show-arrow:hover .et_pb_text_inner:before { left: 0; }
	
	header .et_pb_code_inner > span:not(.text),
	footer .footer-short-line, footer .footer-long-line { display: none; }
	header .et_pb_code_inner > span.text { line-height: 1em; }
	.wiening-header .et_pb_column_4_4 .et_pb_code_inner,
	.footer-section .et_pb_column_4_4 .et_pb_code_inner { flex-direction: column; align-items: flex-start; position: relative; top: 5px; }
	.seit-1960 img { max-width: 158px; }
}

@media (max-width: 375px) {
	.et_pb_column > .et_pb_module.header-headline-box,
	h2, body:not(.home) h1 { font-size: 24px !important; }
}