/* 
 Theme Name:   Divi Child
 Theme URI:    https://www.elegantthemes.com/
 Description:  Child Theme
 Author:       Tim Walter
 Author URI:   http://ti-wa.de
 Template:     Divi
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  divi-child-by-tiwa
*/

.image_border { padding: 5px; }
.image-border { 
	border: 1px solid #ce2727;
	padding: 5px;
}

.et_pb_text ul { margin-left: 40px; }
.et_pb_text ul li { line-height: 2.3em; }

/* ---------------------- Table---------------------- */

.entry-content table,
.entry-content tr td { border: 1px solid #ddd; }
#content-area table th, #content-area table td { padding: 0.3em 0.587em; }
#content-area table th { background-color: #ddd; }
.table-right { text-align: right; }


/* ---------------------- Navigation ---------------------- */

#main-header {
	border-bottom: 1px solid #ce2727;
}
#logo {
	max-height: 120%;
    	padding: 5px 20px 20px 0;
	margin-left: -2px;
}
#top-header #et-info {
	float: right;
}

#top-menu li.current-menu-item > a,
#top-menu li.current-menu-ancestor > a {
	color: #ce2727;
	font-weight: bold;
}

#top-menu li ul {
	width: 280px;
	padding: 10px 5px 15px 5px;
}
#top-menu .sub-menu li a {
	text-transform: capitalize;
	width: 280px;
    	padding: 5px;
    	font-size: 15px;
}

/* ---------------------- Startseite ---------------------- */
#hero_headline { padding-left: 0; }
#hero_headline h1 {
	font-size: 35px;
	font-weight: 600;
    	line-height: 32px;
	text-shadow: 0px 2px 3px #000;
}
#hero_headline h2 {
	font-size: 28px;
	font-weight: 400;
    	line-height: 40px;
    	text-shadow: 0px 2px 3px #000;
}

#newsbox {
	border-top: 1px solid #fff;
	background-size: initial;
	background-repeat: initial;
}
#newsbox h3 { font-weight: bold; }
#newsbox p {
	line-height: 1.5em;
        font-size: 1.0em;
}
#newsbox .image_border:hover {
	background-color: #ce2727;
}

#unternehmen h1 {
	font-size: 50px;
}
#unternehmen p {
	font-size: 1.2em;
        line-height: 1.7em;
}

#map h1 {
	font-size: 50px;
	text-align: center;
}

/* ---------------------- Leistungen ---------------------- */

#post-110 ul { margin-left: 30px; }
#post-110 ul li { font-size: 1.2em; line-height: 2em; }

.leistungen-headline h1 {
	font-size: 35px;
	font-weight: 600;
    	line-height: 32px;
    	text-shadow: 0px 2px 3px #000;
}
.leistungen-headline h2 {
	font-size: 28px;
	font-weight: 400;
    	line-height: 40px;
    	text-shadow: 0px 2px 3px #000;
	margin-top: 0;
}
#post-234 .et_pb_gallery_item {
	margin-right: 5px !important;
    	width: 19%;
}
#post-234 .et_pb_column_4_4 .et_pb_grid_item:nth-child(4n+1) {
	clear: none;
}

/* ---------------------- Footer ---------------------- */

ul#menu-footer { text-align: center; font-size: 14px; }
#footer-info { text-align: center !important; }
#footer-widgets h4.title { font-weight: 500; }
@media only screen and (min-width: 981px) {
	#footer-widgets h4.title { font-size: 20px; }
}
#footer-widgets .footer-widget ul { margin-left: 20px; }
#footer-widgets .footer-widget li a { font-size: 15px; }
#et-footer-nav .company {
	text-align: center;
	padding-top: 15px;
	padding-bottom: 20px;
}
#et-footer-nav .company p { font-size: 14px; padding-bottom: 0; }
.footer-image-dakks {
	text-align: center;
	width: 100%;
}
.footer-image-dakks img { width: 30%; }
div.clear { clear: both; }

/* ---------------------- Zertifikate ---------------------- */

#post-103 .et_pb_main_blurb_image { display: none; }
#post-103 .et_pb_blurb_container { padding-left: 0; }

.zertifikat-icon, .zertifikat-text { float: left; }
.zertifikat-text h3 {
	font-weight: 600;
}

/* ---------------------- Sidebar ---------------------- */

#sidebar-support {
	margin-left: 10%;
    	padding-left: 10%;
    	border-left: 1px dashed #ccc;
}
#sidebar-support h4 { text-transform: uppercase; }
#sidebar-support h5 { font-weight: 600; margin: 0; padding: 0; }
#sidebar-support p.position {
	font-size: 0.9em;
	color: #999;
}

/* ---------------------- Media-Queries ---------------------- */

/* Responsive Styles Smartphone Only */
	@media all and (max-width: 767px) {
		#top-header #et-info { float: none; margin-bottom: 5px; }
		#hero_headline { padding-left: 0 !important; }
		#hero_headline h1 { font-size: 26px; text-align: center; }
		#hero_headline h2 { font-size: 20px; line-height: 27px; text-align: center; }
		#hero_headline .et_pb_button { width: 100%; text-align: center; background: #ce2727 !important; color: #fff !important; }
		#newsbox h3 { font-size: 20px; }
		#newsbox p { font-size: 0.9em; }
		#unternehmen h1 { font-size: 40px; }
		#unternehmen p { text-align: justify !important; }
		#unternehmen .et_pb_button { width: 100%; text-align: center; }
		#map h1 { font-size: 40px; }
		#et-footer-nav .footer-image-dakks img { width: 100%; }
	}
/* Responsive Styles Smartphone to Tablet */
	@media all and (max-width: 980px) {
		#sidebar-support { margin-left: 0; padding-left: 0; border-left: 0; border-top: 1px dashed #ccc; margin-top: 20px; padding-top: 50px; }
		.et_header_style_left .logo_container { width: 243px; }
	}

/* Responsive Styles Tablet Only */
	@media all and (min-width: 768px) and (max-width: 980px) {
	}

/* Responsive Styles Desktop Only */
	@media all and (min-width: 981px) {

	}
