/*
 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
------------------------------------------------------- */

#page-container{
	background-color: #f8f8f8;
}

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

#main-content{
	background-color: #f8f8f8;
}

#et_search_icon:hover, #top-menu li.current-menu-ancestor>a, #top-menu li.current-menu-item>a, .bottom-nav li.current-menu-item>a, .comment-reply-link, .entry-summary p.price ins, .et-social-icon a:hover, .et_password_protected_form .et_submit_button, .footer-widget h4, .form-submit .et_pb_button, .mobile_menu_bar:after, .mobile_menu_bar:before, .nav-single a, .posted_in a, .woocommerce #content div.product p.price, .woocommerce #content div.product span.price, .woocommerce #content input.button, .woocommerce #content input.button.alt, .woocommerce #content input.button.alt:hover, .woocommerce #content input.button:hover, .woocommerce #respond input#submit, .woocommerce #respond input#submit.alt, .woocommerce #respond input#submit.alt:hover, .woocommerce #respond input#submit:hover, .woocommerce-page #content div.product p.price, .woocommerce-page #content div.product span.price, .woocommerce-page #content input.button, .woocommerce-page #content input.button.alt, .woocommerce-page #content input.button.alt:hover, .woocommerce-page #respond input#submit, .woocommerce-page #respond input#submit.alt, .woocommerce-page #respond input#submit.alt:hover, .woocommerce-page #respond input#submit:hover, .woocommerce-page .star-rating span:before, .woocommerce-page a.button, .woocommerce-page a.button.alt, .woocommerce-page a.button.alt:hover, .woocommerce-page a.button:hover, .woocommerce-page button.button, .woocommerce-page button.button.alt, .woocommerce-page button.button.alt.disabled, .woocommerce-page button.button.alt.disabled:hover, .woocommerce-page button.button.alt:hover, .woocommerce-page button.button:hover, .woocommerce-page div.product p.price, .woocommerce-page div.product span.price, .woocommerce-page input.button, .woocommerce-page input.button.alt, .woocommerce-page input.button.alt:hover, .woocommerce-page input.button:hover, .woocommerce .star-rating span:before, .woocommerce a.button, .woocommerce a.button.alt, .woocommerce a.button.alt:hover, .woocommerce a.button:hover, .woocommerce button.button, .woocommerce button.button.alt, .woocommerce button.button.alt.disabled, .woocommerce button.button.alt.disabled:hover, .woocommerce button.button.alt:hover, .woocommerce div.product p.price, .woocommerce div.product span.price, .woocommerce input.button, .woocommerce input.button.alt, .woocommerce input.button.alt:hover, .woocommerce input.button:hover, .wp-pagenavi a:hover, .wp-pagenavi span.current{
	color: #47962b;
}

#top-menu li li a {
	padding: 6px 10px;
}

h1.entry-title{
    color: #47962b;
    line-height: 1.3em;
}

/* Navigation */

.nav li ul{
	width: 270px;
}

#top-menu li li a{
	width: 240px;
}

.nav li li ul{
	left: 270px;
}

#main-header .nav li ul a {
    color: #ffffff !important;
}

/* Events */

table.fullcalendar td{
	text-align: center !important;
}

.eventful-pre ul li a, .eventful ul li a{
	color: #47962b !important;
}

.eventful-pre ul, .eventful ul{
	list-style: none;
	padding: 0px;
}

.eventful a{
	color: #47962b !important;
}

.em-calendar-wrapper td.eventful{
		background-color: #f6d900 ;
}

.em-calendar-wrapper td.eventful-pre{
		background-color: #4bb7cc ;
}

.em-calendar-wrapper td.eventful a, .em-calendar-wrapper td.eventful-pre a{
	color: #fff !important;
	font-weight: bold !important;
}

.widget_em_calendar td.eventful, .widget_em_calendar td.eventful-pre {
	background-color: #f6d900 ;
}

.widget_em_calendar td.eventful a, .widget_em_calendar td.eventful-pre a {
	color: #fff !important;
	font-weight: bold !important;
}

.gwd-event-entry .et_post_meta_wrapper img{
	width: 60% !important;
}

/* Search */

button.em-search-submit{
	background: #47962b !important;
	border-radius: 30px !important;
	border: none !important;
}

/* Page numbers Events */

.em-pagination span{
	margin-left: 20px;
}

a.page-numbers{
	margin-left: 20px;

}

/* Newsletter */

.newsletter{
	background-color: #f6f6f6;
	padding: 1px;
	max-width: 753px;
	margin: 0 auto;
}
.newsletter tr td, .newsletter table{
		border: 0px !important;
		font-family: "GWD Source Sans Pro";
}

.newsletter table.container, .newsletter table.body{
	background-color: #fff;
}

/* Single Events */
.single-event h1{
	color: #47962b;
	margin-bottom: 10px;
}

.single-event h2{
	margin-top: 20px;
}

.single-event h3{
	color: #47962b;
	margin-top: 10px;
}

.single-event ol, .single-event ul{
    list-style-position: outside !important;
    line-height: 1.6em !important;
}

.single-event ol{
    margin-left: 20px;
}

.single-event .gwd-btn{
	border: 2px #47962b solid;
	padding: 10px 20px;
}

.single-event .gwd-btn:hover{
	background-color: #47962b;
	color: white;
	padding: 10px 20px;
}

.single-event img{
    margin-top: 15px;
    margin-bottom: 10px;
}

/* Veranstaltungsarchiv */

.gwd-events-table{
	border: none !important;
	margin-bottom: 50px !important;
	margin-top: 10px !important;
}

.gwd-events-table h3{
	color: #47962b!important;
	margin-top: 30px;
	font-size: 20pt;
}

.gwd-events-table .gwd-eventmeta{
	font-size: 12pt;
}

.gwd-events-table ul.event-categories{
	list-style: none !important;
	display: inline;
}

.gwd-events-table ul.event-categories li{
	display: inline;
	background-color: #47962b;
	padding: 3px 10px;
	margin-left: 5px;
	font-weight: 700;
}

.gwd-events-table ul.event-categories li a{
	color: #fff !important;
}

.gwd-events-table p{
	margin-top: 20px;
	margin-bottom: 30px;
}

.gwd-events-table tr {
	border-top: 2px solid #47962b;
}

/* Veranstaltungsliste */

.veranstaltungsankuendigung h2{
	margin-top: 20px;
}

/* Widgets */

.widgettitle{
	color: #47962b;
	font-size: 18pt;
}

#sidebar .et_pb_widget ul li{
	font-size:  80%;
    line-height: 1.5em !important;
    margin-bottom: 0px;
}

#sidebar .et_pb_widget ul li.eventdate{
    margin-bottom: 15px !important;
}

#sidebar a.widget-link{
	color: #fff;
	font-weight: bold;
	font-size: 80%;
	background-color: #47962b;
	padding: 5px 10px;
}

/* Footer Widgets */
.footer-widget #text-4 h4{
	margin-bottom: 17px;
}

.newsletter-button{
	border: 2px white solid;
	padding: 10px 20px;
}

.newsletter-button:hover{
	background-color: white;
	color: #47962b !important;
}

.footer-widget .et-social-icons{
	margin-top: 50px;
	margin-left: -20px;
}

/* WP Gallery */

.gallery-columns-3{
	margin-bottom: 35px !important;
}

.gallery-columns-3 .gallery-item{
	border:0;
	margin: 0;
}

.gallery-columns-3 .gallery-item .gallery-icon a{
	width: 96%;
	border: 0 !important;
}

.gallery-columns-3 .gallery-item .gallery-icon a img{
	border: 0 !important;
}

/* Footer Fixes Newsletter Bug */

#footer-widgets p{
font-family: 'GWD Source Sans Pro',Helvetica,Arial,Lucida,sans-serif !important;
line-height: 1.6em !important;
font-size: 19px;
}

/* Mobile Ansicht */

h1.et_pb_module_header, h1{
	-moz-hyphens: auto;
	-o-hyphens: auto;
	-webkit-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto;
}

@media all and (max-width: 980px) {
.et_pb_text_1{
	max-width: 100% !important;
}
.et_pb_pagebuilder_layout.single-post:not(.et-tb-has-body) #main-content .et_pb_with_background .et_pb_row, .et_pb_pagebuilder_layout.single.et_full_width_page:not(.et-tb-has-body) #main-content .et_pb_row{
	width: 100%;
}
.et_pb_fullwidth_header .et_pb_fullwidth_header_container.center .header-content,.et_pb_fullwidth_header .et_pb_fullwidth_header_container {
    width: 100%;
}
.et_pb_row{
	width: 90%;
}
.post-template-default #et-main-area #main-content .container{
	width: 88%;
}
}

/* Newsletter Mobile Ansicht */
@media all and (max-width: 550px) {
.newsletter table.container tr td#crMainContent, form .cr_page{
	max-width: 400px !important;
}
.newsletter table.container tr td#crMainContent img, .newsletter table.container img.left{
	max-width: 360px !important;
}
.newsletter table.row td.text{
	max-width: 310px !important;
}
}

@media all and (max-width: 450px) {
.newsletter table.container tr td#crMainContent, form .cr_page{
	max-width: 380px !important;
}
.newsletter table.container tr td#crMainContent img, .newsletter table.container img.left{
	max-width: 260px !important;
}
.newsletter table.row td.text{
	max-width: 310px !important;
}
}

@media all and (max-width: 380px) {
.newsletter table.container tr td#crMainContent, form .cr_page{
	max-width: 360px !important;
}
.newsletter table.container tr td#crMainContent img, .newsletter table.container img.left{
	max-width: 220px !important;
}
.newsletter table.row td.text{
	max-width: 310px !important;
}
}

/* Mobile Menu */

.et_mobile_menu .first-level > a {
background-color: transparent;
position: relative;
}
.et_mobile_menu .first-level > a:after {
font-family: 'ETmodules';
content: '\4c';
font-weight: normal;
position: absolute;
font-size: 16px;
top: 13px;
right: 10px;
}
.et_mobile_menu .first-level > .icon-switch:after{
content: '\4d';
}
.second-level {
display: none;
}
.reveal-items {
display: block;
}
.et_mobile_menu {
margin-top: 20px;
width: 100% !important;
margin-left: 0px!important;
}

/* Mobile Veranstaltungstabelle */

@media all and (max-width: 550px){
.gwd-events-table td{
    width: 100% !important;
    float: left;
    border-top: 0px !important;
}
}

/* Fix Update Kalender */

.em.pixelbones a{
		color: #47962b !important;
}

#sidebar .et_pb_widget .em-list-widget li{
	font-size:  80%;
    line-height: 1.5em !important;
    margin-bottom: 0px;
	list-style-type: none;
}

#sidebar .et_pb_widget .em-list-widget li.eventdate{
    margin-bottom: 15px !important;
	margin-top: -20px !important;
}

.ring a{
	background-color: #f6d900 !important;
	padding-top:0px !important;
}

/* Footer Fix */

#main-footer{
	background-color: #47962b;
}

#et-footer-nav {
    background-color: #c6c6c6;
}

#main-footer .bottom-nav, .bottom-nav a {
    font-size: 17px;
}

#main-footer .bottom-nav, .bottom-nav a, .bottom-nav li.current-menu-item a {
    color: #199331;
}

#main-footer .bottom-nav li {
    font-weight: 600;
    display: inline-block;
    font-size: 14px;
    padding-right: 22px;
}

#main-footer .bottom-nav a {
    font-weight: normal;
    font-style: normal;
    text-transform: uppercase;
    text-decoration: none;
}

body, input, textarea, select {
    font-family: 'GWD Source Sans Pro',Helvetica,Arial,Lucida,sans-serif;
}

#footer-bottom {
    background-color: #e3e3e3;
}

#footer-info {
    font-size: 17px;
}

.footer-widget li:before {
    border-color: #47962b;
}

#main-footer .footer-widget h4, #main-footer .widget_block h1, #main-footer .widget_block h2, #main-footer .widget_block h3, #main-footer .widget_block h4, #main-footer .widget_block h5, #main-footer .widget_block h6 {
    color: #ffffff;
}

@media only screen and (min-width: 981px){
#main-footer .footer-widget h4, #main-footer .widget_block h1, #main-footer .widget_block h2, #main-footer .widget_block h3, #main-footer .widget_block h4, #main-footer .widget_block h5, #main-footer .widget_block h6 {
    font-size: 30px;
	}}

/* Header Fix */

#top-menu li a, .et_search_form_container input {
    font-weight: normal;
    font-style: normal;
    text-transform: uppercase;
    text-decoration: none;
}

#top-menu li a {
    font-size: 18px;
	color: #000000;
}

#top-menu li a:hover {
	color: #47962b;
}

#main-header .nav li ul {
    background-color: #199331;
}

.nav li ul {
    border-color: #f6de00;
}

.nav li ul {
    width: 270px;
}

.veranstaltungsankuendigung a:before{
	content:'• ';
	position:relative;
}

/* Startseite neu */
@media only screen and (min-width: 700px){
.main-event-list-item{
	float: left;
	width: 33%; 
	padding-right:40px;
}
}

.arbeitsfelder .et_pb_blurb_position_top:hover{
	transform: scale(1.05);
}

/*blog image aspect ratio square 1:1*/

.blog-image-aspect-ratio .entry-featured-image-url {
  padding-top: 100%;
  display: block;
}

.blog-image-aspect-ratio .entry-featured-image-url img {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  object-fit: cover;
}

.event-image-aspect-ratio .et_pb_code_inner div{
  padding-top: 230px;
  display: block;
}

.event-image-aspect-ratio img{
  position: absolute;
  height: auto;
max-height: 200px;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  object-fit: cover;
}

/* Vertikales Zentrieren von Elementen */
.vertikal-zentrieren {
display: flex;
flex-direction: column;
justify-content: center;
}

/* Button green Startseite */
.button-green:hover{
	background-color: #49753a !important;
}