/*
 Theme Name:     Divi Child-Theme
 Theme URI:      http://www.elegantthemes.com
 Description:    Divi Child-Theme
 Author:         Divi.world
 Author URI:     https://divi.world
 Template:       Divi
 Version:        1.0.0
*/

h1, h3, h4, h5, #full-width-container .et_pb_column:first-child p { font-family: 'PT Serif', serif; }

body, h2, h6, input.text, input.title, input[type="email"], input[type="password"], input[type="tel"], input[type="text"], select, textarea, #full-width-container .et_pb_column:first-child .et_pb_button  { font-family: 'Open Sans', sans-serif;}


h2, h3, body,
body p,
.technik h4,
a:hover { color: #444 !important; }

h1, h4, h5, h6, a,
.et_pb_button,
.et_pb_section .et_pb_button:hover,
#aktuelles-single .et_pb_button:hover,
#top-menu .current_page_item>a, 
#top-menu .current-menu-ancestor>a, 
#top-menu a:hover, .current-menu-item a,
#full-width-container a:hover, 
.full-width-grey a:hover, 
.more-link:hover,
#top-menu .sub-menu a { color: #002f6f !important; }

#menu-footermenue li a,
#et_mobile_nav_menu .current_page_item>a, 
#top-menu li a,
#main-footer *,
#kontakt-container *,
#ql-container h4,
#aktuelles-container *,
#team-container h3,
#ra-container .et_pb_blurb_container *,
#full-width-container *,
.full-width-grey .et_pb_column:last-child *,
.full-width-grey .et_pb_button,
.full-width-grey .et_pb_button:hover,
#full-width-container .et_pb_button,
#full-width-container .et_pb_button:hover,
#ql-container .et_pb_button,
#aktuelles-container .et_pb_button,
#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,
span.mobile_menu_bar:before,
.et_header_style_centered .mobile_nav .select_page,
.wpcf7 button,
.wpcf7 input[type="button"],
.wpcf7 input[type="submit"],
.wpcf7 button:hover,
.wpcf7 input[type="button"]:hover,
.wpcf7 input[type="submit"]:hover { color: #fff !important; }

#kontakt-container a:hover,
#menu-footermenue .current_page_item>a,
#menu-footermenue a:hover {text-decoration: underline !important;}


.center-text .et_pb_module, .center-text .et_pb_blurb_container, .nav li ul, .centered-text *, #team-container .et_pb_module_header{ text-align: center !important; }

body, body p, .technik h4 {
	font-size: 17px !important;
	line-height: 21px !important;
	letter-spacing: 0.2px !important;
}
h1{ font-size: 45px !important; line-height: 50px; }
h2{ font-size: 30px !important; line-height: 34px; }
h3{ font-size: 20px !important; line-height: 24px; }
h4{ font-size: 32px !important; line-height: 36px; }
#ql-container h4{ font-size: 38px !important; line-height: 42px; text-decoration: underline;}
h5{ font-size: 20px !important; line-height: 24px; }

h1, h2, h3, h4, h5 {letter-spacing: 0.5px;}
#full-width-container .et_pb_column:first-child p { font-size: 26px !important; line-height: 32px !important; }

h1, h3, h4, h5, a, .bold, strong, 
.wpcf7 button, .wpcf7 input[type="button"], 
.wpcf7 input[type="reset"], 
.wpcf7 input[type="submit"], 
#full-width-container .et_pb_column:first-child p, .published, #aktuelles-single .date { font-weight: 700 !important; }

#top-menu a, #menu-footermenue li a { font-weight: 400 !important; }

a,
svg,
input,
#main-header,
.logo_container,
.logo_container a,
#logo,
.et_pb_blurb_container,
.et_pb_main_blurb_image,
.et_pb_blurb_content,
#top-menu a::before,
.logo_container,
.mobile_menu_bar.mobile_menu_bar_toggle{ -webkit-transition: all .5s; transition: all .5s; }

.datenschutz h2, .datenschutz h3 { padding-top: 15px;}


/* ---HEADER--- */
#main-header {background-color: #fff !important; }
#main-header .container {max-width: 100% !important; width: 100%; }
#main-header.et-fixed-header { 
	height: 70px; 
	background-color: rgba(255,255,255,1) !important;
}
.et_header_style_centered #logo { max-height: 75% !important; }
.et_header_style_centered #main-header .logo_container { height: 75px;}
.et_header_style_centered header#main-header.et-fixed-header .logo_container { height: 50px; }

#header-img {padding-top: 125px !important;}
#header-img .et_pb_slide { height: 28vw;}

#header-img #scroll-down-button{
	position: absolute;
    bottom: 0;
    left: 50%;
    margin-left: -30px;

}

/* ---MENU--- */
#top-menu .menu-item-has-children > a:first-child::after{position: relative;}
.et_header_style_centered #main-header div#et-top-navigation {z-index: -2}
#top-menu a::before{
    position: absolute;
    content: " ";
    width: 100%;
    height: calc(100% - 2px);
    background-color: rgba(255, 255, 255, 0);
    left: 0;
    bottom: 1px;
	z-index: -1;
}
#top-menu .current_page_item>a::before, #et_mobile_nav_menu .current_page_item>a::before, #top-menu .current-menu-ancestor>a::before, #top-menu a:hover::before, .current-menu-item a::before { background-color: rgba(255, 255, 255, 1);}

#top-menu li a { 
	height: 50px !important; 
	line-height: 50px !important; 
	display: inline-block !important; 
	font-size: 17px !important;
}
#top-menu li, #menu-footermenue li { padding: 0px !important; }
#top-menu li a, #menu-footermenue li a { padding: 0px 15px !important; }

/* 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 {
    height: 50px !important;
	line-height: 50px !important;
    float: left;
    width: 100%;
}
.nav li ul { 
	border-color: #002f6f !important; 
    width: 320px;
    left: 50%;
    margin-left: -160px;
	padding: 0;
}
#top-menu-nav > ul > li > a:hover {opacity: 1;}
#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, 
#et_mobile_nav_menu .sub-menu .current_page_item>a, 
#et_mobile_nav_menu .current_page_item>a { background-color: #002f6f; }

/* Mobile Menu */
.et_mobile_menu { border-top: 3px solid #002f6f; }

/* Footer-Menu */
#et-footer-nav { 
	height: auto; 
	padding: 0px !important;
}
#menu-footermenue .current_page_item>a, #menu-footermenue a:hover{ 
	position: relative;
	background-color: transparent;
}

/* ---CONTENT--- */
#page-container {margin-top: 0 !important;}
#main-footer { padding-bottom: 50px;}
#main-footer-inner, .et_pb_row, .container, #main-footer .container{ 
	max-width: 1290px !important; 
	margin: auto;
	width: 90%;
}
#page-container { padding-top: 0px !important; }
.centered-text { max-width: 980px !important;}
#main-content { background: #fff !important; }
.et_pb_section { background: transparent !important; }
.et_pb_section_0 { padding-top: 160px !important;}
.abstand-unten.et_pb_section, .abstand-unten .et_pb_row {padding-bottom: 0;}

/* ---- MAIN ---- */

#footer-bottom { display: none;}

#et-top-navigation,
#kontakt-container .et_pb_column, 
#ra-container .et_pb_blurb_container,
#aktuelles-container .et_pb_row,
#team-container .et_pb_team_member,
.wpcf7 button,
.wpcf7 input[type="button"],
.wpcf7 input[type="reset"],
.wpcf7 input[type="submit"] { background-color: #002f6f !important; }

.grey { background-color: #e6e6e6 !important; }

.wpcf7 button:hover,
.wpcf7 input[type="button"]:hover,
.wpcf7 input[type="reset"]:hover,
.wpcf7 input[type="submit"]:hover,
#main-footer, 
#ql-container .et_pb_button, 
#full-width-container { background-color: #444 !important; }

.et_header_style_centered #main-header .logo_container { background-color: #fff;}

.full-width-grey .et_pb_column:last-child { background-color: #777;}


#full-width-container .et_pb_column:first-child .et_pb_module,
#kontakt-container .et_pb_module,
#aktuelles-container .et_pb_column,
#ra-container .et_pb_blurb_description { border: 2px solid #fff;}


/* BUTTON */
.et_pb_button, .et_pb_button:hover, .more-link, .more-link:hover{
	border-radius: 0;
	font-size: 16px;
	display: inline-block !important;
	border: 2px solid #002f6f !important;
	padding: 7px 10px !important;
}
#ql-container .et_pb_button, 
#ql-container .et_pb_button:hover, 
#full-width-container .et_pb_button, 
#full-width-container .et_pb_button:hover, 
.full-width-grey .et_pb_button, 
.full-width-grey .et_pb_button:hover, 
#aktuelles-container .et_pb_button, 
#aktuelles-container .et_pb_button:hover, 
#aktuelles-container .more-link, 
#aktuelles-container .more-link:hover {	border: 2px solid #fff !important;}

.et_pb_button:hover, .more-link:hover{ padding: 7px 1.4em 7px 10px !important; }
#ql-container .et_pb_button, #ql-container .et_pb_button:hover { 
	width: 100%; 
	height: 73px;
	display: -webkit-flex !important;
	display: -ms-flexbox !important;
	display: flex !important;
	justify-content: center;
	align-items: center;
}
#ql-container .et_pb_button::after {
	flex: 0 1 auto;
	position: relative;
}
.et_pb_button::after {
	font-size: 25px;
	line-height: 26px;
}
.more-link::first-letter { text-transform: capitalize;}
.more-link::after {
	transition: all 300ms ease 0ms;
	font-size: 25px;
	line-height: 22px;
	content: "\35";
	opacity: 0;
	position: absolute;
	margin-left: -1em;
	text-transform: none;
	-webkit-font-feature-settings: "kern" off;
	font-feature-settings: "kern" off;
	font-variant: none;
	font-style: normal;
	font-weight: 400;
	text-shadow: none;
	font-family: 'ETmodules' !important;
}
.more-link:hover::after {
	opacity: 1;
	margin-left: 0em;
}
.more-link { margin-top: 20px;}
#aktuelles-container .et_pb_post { margin-bottom: 0;}

#kontakt-container .et_pb_module, .text-box, #aktuelles-container .et_pb_column { padding: 30px;}

/* KONTAKT */
#kontakt-container.et_pb_row {
	display: flex;
}
#kontakt-container .et_pb_column{
	width: 470px;
	padding: 20px;
	margin: auto !important;
}
#ra-container .et_pb_blurb_container{
	padding: 20px;
	margin: auto !important;
	margin-top: -44px !important;
}
#kontakt-container .et_pb_main_blurb_image { margin-bottom: -30px; }

#ra-container .et_pb_blurb_description{ padding: 50px 30px 30px;}
#ra-container .et_pb_main_blurb_image { margin-bottom: 0; width: calc(100% - 100px); }
#ra-container .et_pb_blurb_content { max-width: 730px; }

/* Team-Container */
#team-container .et_pb_module_header {padding: 10px;}
#team-container .et_pb_team_member_image {margin-bottom: 0;}
	
/* QUICKLINKS */
#ql-container .et_parallax_bg::after, #full-width-container .et_pb_column:first-child .et_parallax_bg::after { 
	position: absolute;
	content: "";
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: rgba(0,0,0,0.35);
}
#full-width-container .et_pb_column:first-child .et_parallax_bg::after { background: rgba(0,0,0,0.45);}

#ql-container .et_pb_column_empty { display: none;}
#ql-button-first-row .et_pb_column {width: 22.75%; margin-right: 3%;}
#ql-button-first-row .et_pb_column:first-child { margin-left: 12.9%;}
#ql-container #ql-button-first-row {padding-bottom: 0; display: flex;}



/* ---AKTUELLES--- */
#aktuelles-container {padding: 0 !important;}
#aktuelles-container .et_pb_row {
    max-width: 980px !important;
	padding: 50px;
}
#aktuelles-container .et_parallax_bg_wrap {
	top: 50px;
	height: calc(100% - 100px);
}
#aktuelles-container h4 { position: relative; padding-bottom: 20px;}
#aktuelles-container h4::after {
	position: absolute;
	width: 150px;
	height: 2px;
	bottom: 0;
	left: 50%;
	margin-left: -75px;
	content: "";
	background-color: #fff;
}
#aktuelles-all-container .et_pb_post {
    width: calc(50% - 15px);
    border: 2px solid #002f6f;
    padding: 30px;
	margin-bottom: 30px;
	float: left;
}
#aktuelles-all-container .et_pb_post:nth-child(odd) { margin-right: 15px;}
#aktuelles-all-container .et_pb_post:nth-child(even) { margin-left: 15px;}
.published, #aktuelles-single .date { font-size: 14px; line-height: 18px; }
#widgetAnwaltde { margin: 0 auto; }

/* SINGLE */
#right-area {
    border-left: 2px solid #002f6f;
    width: calc(33.3333% - 15px);
    float: right;
    margin-left: 15px;
}
#right-area ul {
    list-style: disc;
    color: #002f6f;
	margin-left: 20px;
}
#right-area ul li { margin-bottom: 13px;}
#left-area { width: calc(66.66666% - 15px) !important; margin-right: 15px;}
#aktuelles-single { margin: 110px auto 50px auto;}
#aktuelles-single #sidebar { width: 100%;}
#aktuelles-single .entry-content .et_pb_button {margin-top: 20px;}
#aktuelles-single .date { margin-bottom: 20px; }
#aktuelles-single #left-area { padding: 0; }
#aktuelles-single #sidebar .et_pb_widget { margin-bottom: 0; }

/* COOKIE */
.button {
	background: #002f6f !important;
	border: 0px !important;
	color: #fff !important;
	border-radius: 0px !important;
}
.button:not(#cn-accept-cookie):not(#cn-more-info) { margin-top: 40px !important; }
.cn-button.wp-default { text-shadow: 0 0px 0 #FFF; }

/* 404 */
#main-content .container.fehlerseite { padding: 50px 0 !important; }
#main-content .container::before{display: none;}


/* ---FORM--- */
#contact-form {
	max-width: 700px;
	margin-left: auto !important;
	margin-right: auto !important;
	text-align: center;
	margin-top: 80px;
}
input.text, input.title, input[type="email"], input[type="password"], input[type="tel"], input[type="text"], select, textarea, .wpcf7 button, html .wpcf7 input[type="button"], .wpcf7 input[type="reset"], .wpcf7 input[type="submit"] {
	letter-spacing: 1px;
	height: 35px;
	line-height: 35px;
	width: 100%;
	padding: 0 15px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    color: #555;
	font-size: 16px;
}
input.text:focus, input.title:focus, input[type="text"]:focus, select:focus, textarea:focus, input.wpcf7-email:focus { border-color: #444; }
.wpcf7-form-control.wpcf7-textarea { min-height: 100px; }
.ajax-loader {
	width: auto !important;
	position: absolute;
	top: 0;
}
span.wpcf7-list-item { margin: 0 5px 0 0 !important; }
#datcheck {
	border-radius: 3px;
	text-align: left !important;
	font-size: 14px !important;
	line-height: 15px !important;
	padding: 10px 15px;
	margin-bottom: 15px;
	position: relative;
	border: 1px solid #e0e0e0;
}
#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;}



#full-width-container, .full-width-grey { padding: 0 !important; } 
#full-width-container .et_pb_row, .full-width-grey .et_pb_row{
	padding: 0; 
	max-width: none !important;
    width: 100%;
} 
#full-width-container  .et_pb_module, .full-width-grey .et_pb_column:last-child .et_pb_module {min-width: 100%;}
#full-width-container .et_pb_row, .full-width-grey .et_pb_row {
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
	overflow: hidden;
	position: relative;
}
#full-width-container .et_pb_column, .full-width-grey .et_pb_column { 
	width: 50% !important; 
	margin-right: 0 !important;
    float: left;
    overflow: hidden;
	position: relative;
}
#full-width-container .et_pb_column:first-child { padding: 50px; }
#full-width-container .et_pb_column:first-child .et_pb_module { 
	display: -webkit-flex !important;
	display: -ms-flexbox !important;
	display: flex !important;
	flex-direction: column;
	justify-content: center;
	height: 100%;
	text-align: center;
	padding: 20px;
}
.full-width-grey .et_pb_column:first-child { padding: 100px 100px 100px calc((100vw - 1290px) / 2); }
#full-width-container .et_pb_column:last-child, .full-width-grey .et_pb_column:last-child { padding: 100px calc((100vw - 1290px) / 2) 100px 100px; }

#full-width-container .et_pb_image{
	height: 100% !important;
	position: absolute;
}

/* For all Browsers */
#full-width-container .et_pb_image_wrap {
	display: block;
	height: 100%;
	position: relative;
}
#full-width-container .et_pb_image_wrap img {
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
	width: 100%;
}
/* Firefox */
@-moz-document url-prefix() {
	#full-width-container .et_pb_image_wrap {
		display: inline-flex;
		height: 100%;
	}
	#full-width-container .et_pb_image_wrap img {
		position: relative;
		object-fit: cover;
	}
}


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


/* ---RESPONSIVE--- */
@media only screen and (max-width: 1500px) {
	.full-width-grey .et_pb_column:first-child { padding: 50px 50px 50px calc((100vw - 90%) / 2); }
	#full-width-container .et_pb_column:last-child, .full-width-grey .et_pb_column:last-child { padding: 50px calc((100vw - 90%) / 2) 50px 50px; }
}
@media only screen and (max-width: 1200px) {
	#ql-button-first-row .et_pb_column {width: 31.3333%; margin-right: 3%;}
	#ql-button-first-row .et_pb_column:first-child { margin-left: 0;}
}
@media only screen and (max-width: 980px) {
	.et_header_style_centered .et_mobile_menu { top: 33px;}
	#header-img { padding-top: 110px !important;}
	span.logo_helper {display: inline; }
	.et_header_style_centered #logo { width: 300px;}
	.et_header_style_centered .et-fixed-header #logo { width: 200px;}
	#main-header{ height: 120px;}
	#main-header.et-fixed-header { height: 100px;}
	#main-header .container { max-width: 90% !important; width: 90%;}
	.et_header_style_centered #main-header { padding: 10px 0; }
	.et_header_style_centered #et_mobile_nav_menu { margin-top: 10px;}
	.et_header_style_centered .et-fixed-header #et_mobile_nav_menu { margin-top: 0px;}
	.et_fixed_nav #main-header, .et_fixed_nav #top-header { position: fixed !important; }
	.et_fixed_nav #main-header, .et_non_fixed_nav.et_transparent_nav #main-header { -webkit-transition: all .5s; -moz-transition: all .5s;transition: all .5s;}
	.et_pb_row { width: 90%;}
	#ra-container {padding-bottom: 0;}
	#ql-container .et_pb_button, #ql-container .et_pb_button:hover { height: auto; }
	#ql-container #ql-button-first-row { display: block; padding-top: 0;}
	#ql-container .et_pb_column {width: 100% !important; margin-bottom: 30px !important; margin-right: 0 !important;}
	#ql-container #ql-button-first-row .et_pb_column:last-child { margin-bottom: 0 !important;}
	#team-container .et_pb_team_member_image { max-width: 500px; }
	#full-width-container .et_pb_column, .full-width-grey .et_pb_column{ padding: 50px 5% !important;}
	#full-width-container .et_pb_column, .full-width-grey .et_pb_column { width: 100% !important;}
	#full-width-container .et_pb_row:nth-child(2n) {
		-webkit-flex-wrap: wrap-reverse;
		-ms-flex-wrap: wrap-reverse;
		flex-wrap: wrap-reverse;
	}
	#full-width-container .et_pb_column:first-child {min-height: 300px; margin-bottom: 0;}
	#right-area {
		border-left: 0px solid #8cb71d;
		width: 100%;
		float: left;
		margin-left: 0;
	}
	#full-width-container .et_pb_column.et_pb_column_empty {display: block; }
	#left-area {width: 100% !important; margin-right: 0;}
}
@media only screen and (max-width: 800px) {
	#main-header { background-color: rgba(255,255,255,1) !important;}
	.et_pb_section_0 { padding-top: 110px !important;}
	#aktuelles-all-container .et_pb_post { width: 100%;}
	#aktuelles-all-container .et_pb_post:nth-child(odd) { margin-right: 0;}
	#aktuelles-all-container .et_pb_post:nth-child(even) { margin-left: 0;}
}
@media only screen and (max-width: 650px) {
	.et_pb_fullwidth_header .et_pb_fullwidth_header_scroll a .et-pb-icon {

    font-size: 2.5em;

}
	h1, h4, #ql-container h4 {font-size: 30px !important; line-height: 34px !important; }
	h2{font-size: 22px !important; line-height: 26px !important; }
	#menu-footermenue li, #menu-footermenue li a {
		font-size: 16px !important;
		width: 100%;
	}
	#menu-footermenue li a { padding: 0 !important;}
	#footer-widgets .footer-widget:nth-child(n) {margin-bottom: 30px !important;}
	#ra-container .et_pb_main_blurb_image { width: calc(100% - 20px);}
	#ra-container .et_pb_blurb_description { padding: 40px 20px 20px;}
	#aktuelles-container .et_pb_row, #kontakt-container .et_pb_module, .text-box, #aktuelles-container .et_pb_column { padding: 20px;}
}
@media only screen and (max-width: 505px) {
	.et_header_style_centered #logo { width: 250px;}
	#main-footer {padding-bottom: 70px;}
}
@media only screen and (max-width: 390px) {
	#main-footer {padding-bottom: 100px;}
	h1, h2 {
		-moz-hyphens: auto;
		-o-hyphens: auto;
		-webkit-hyphens: auto;
		-ms-hyphens: auto;
		hyphens: auto;
	}
}
@media only screen and (max-height: 900px) {
	#mobile_menu {height: calc(100vh - 90px); overflow: scroll;}
}