/*
Theme Name:Child Theme for Divi
Theme URI: http://wordpress-style.net
Description: Child Theme For Divi
Author: Eduard Ungureanu
Author URI: http://wordpress-style.net
Template: Divi
Version: 1.0
*/

/* Start your custom CSS bellow this comment
============================================ */

h1 {
    font-size: 23px;
    border-bottom: 2px solid #35573c;
    text-transform: uppercase;   
	margin-bottom: 20px;
}

h2 {
    font-size: 20px;
    margin-top: 30px;    
	margin-bottom: 10px;
}

.et_pb_blog_grid .et_audio_content, .et_pb_blog_grid .et_main_video_container, .et_pb_blog_grid .et_pb_post .et_pb_slider, .et_pb_image_container {
    margin: inherit;
}

.header-kogtg {
	    border-top: 4px solid #35573c;
}

.entry-content tr td, body.et-pb-preview #main-content .container tr td {
    padding: 6px 0px;
}

/***************************
Farbanpassungen für Bereiche - Blau (#006fba) - Rot (#cb1111)
***************************/
.header-ogbodensee {
	    border-top: 4px solid #006fba;
}
.header-ogfrauenfeld {
	    border-top: 4px solid #cb1111;
}
.parent-pageid-18 h1, .page-id-18 h1 {
	 border-bottom: 2px solid #006fba;
}
.parent-pageid-20 h1, .page-id-20 h1 {
	 border-bottom: 2px solid #cb1111;
}
.parent-pageid-18 .widgettitle, .page-id-18 .widgettitle {
	background-color: #006fba;
}
.parent-pageid-20 .widgettitle, .page-id-20 .widgettitle {
	background-color: #cb1111;
}
.parent-pageid-18 .more-link, .page-id-18 .more-link {
    background-color: #006fba;
}
.parent-pageid-20 .more-link, .page-id-20 .more-link {
    background-color: #cb1111;
}
.parent-pageid-18 #top-menu li.current-menu-ancestor>a, .parent-pageid-18 #top-menu li.current-menu-item>a, .parent-pageid-18 .et_color_scheme_red #top-menu li.current-menu-ancestor>a, .parent-pageid-18 .et_color_scheme_red #top-menu li.current-menu-item>a, .parent-pageid-18 .et_color_scheme_pink #top-menu li.current-menu-ancestor>a, .parent-pageid-18 .et_color_scheme_pink #top-menu li.current-menu-item>a, .parent-pageid-18 .et_color_scheme_orange #top-menu li.current-menu-ancestor>a, .parent-pageid-18 .et_color_scheme_orange #top-menu li.current-menu-item>a, .parent-pageid-18 .et_color_scheme_green #top-menu li.current-menu-ancestor>a, .parent-pageid-18 .et_color_scheme_green #top-menu li.current-menu-item>a {
    color: #006fba !important;
}
.page-id-18 #top-menu li.current-menu-ancestor>a, .page-id-18 #top-menu li.current-menu-item>a, .page-id-18 .et_color_scheme_red #top-menu li.current-menu-ancestor>a, .page-id-18 .et_color_scheme_red #top-menu li.current-menu-item>a, .page-id-18 .et_color_scheme_pink #top-menu li.current-menu-ancestor>a, page-id-18 .et_color_scheme_pink #top-menu li.current-menu-item>a, .page-id-18 .et_color_scheme_orange #top-menu li.current-menu-ancestor>a, .page-id-18 .et_color_scheme_orange #top-menu li.current-menu-item>a, .page-id-18 .et_color_scheme_green #top-menu li.current-menu-ancestor>a, .page-id-18 .et_color_scheme_green #top-menu li.current-menu-item>a {
    color: #006fba !important;
}
.parent-pageid-20 #top-menu li.current-menu-ancestor>a, .parent-pageid-20 #top-menu li.current-menu-item>a, .parent-pageid-20 .et_color_scheme_red #top-menu li.current-menu-ancestor>a, .parent-pageid-20 .et_color_scheme_red #top-menu li.current-menu-item>a, .parent-pageid-20 .et_color_scheme_pink #top-menu li.current-menu-ancestor>a, .parent-pageid-20 .et_color_scheme_pink #top-menu li.current-menu-item>a, .parent-pageid-20 .et_color_scheme_orange #top-menu li.current-menu-ancestor>a, .parent-pageid-20 .et_color_scheme_orange #top-menu li.current-menu-item>a, .parent-pageid-20 .et_color_scheme_green #top-menu li.current-menu-ancestor>a, .parent-pageid-20 .et_color_scheme_green #top-menu li.current-menu-item>a {
    color: #cb1111 !important;
}
.parent-pageid-20 #top-menu li.current-menu-ancestor>a, .page-id-20 #top-menu li.current-menu-item>a, .page-id-20 .et_color_scheme_red #top-menu li.current-menu-ancestor>a, .page-id-20 .et_color_scheme_red #top-menu li.current-menu-item>a, .page-id-20 .et_color_scheme_pink #top-menu li.current-menu-ancestor>a, .page-id-20 .et_color_scheme_pink #top-menu li.current-menu-item>a, .page-id-20 .et_color_scheme_orange #top-menu li.current-menu-ancestor>a, .page-id-20 .et_color_scheme_orange #top-menu li.current-menu-item>a, .page-id-20 .et_color_scheme_green #top-menu li.current-menu-ancestor>a, .page-id-20 .et_color_scheme_green #top-menu li.current-menu-item>a {
    color: #cb1111 !important;
}
/***************************
Startseite
***************************/

.et_pb_blog_grid h2 {
    margin-top: 19px;
    line-height: 22px;
    font-size: 14px;
    font-weight: 600;
	margin-bottom: 10px;
	padding-bottom: 0px;
}

.et_pb_blog_grid .et_pb_image_container {
	margin-bottom: 0px;
}

.et_pb_blog_grid .et_pb_post {
    margin-bottom: 20px;
}

.et_pb_blog_grid .et_pb_post .post-meta {
    margin-bottom: 6px;
    font-size: 12px;
    line-height: 18px;
}

.more-link, .tribe-events-back a {
    background-color: #35573c;
    text-align: center;
    border-radius: 2px;
    font-size: 14px;
    padding: 3px;
    padding-left: 20px;
    padding-right: 20px;
    color: #fff;
    display: inline-block;
    margin-top: 20px;
    width: fit-content;
}

.tribe-events-list-widget .tribe-events-list-widget-events {
    padding-left: 0px !important;
}

/***************************
Detailansicht Blog
***************************/

.single .et_post_meta_wrapper img {
	width: 200px;
    float: left;
    margin-right: 20px;
}

.single .et_pb_post h2 {
    margin-top: 0px;
}

/***************************
Dokumente
***************************/

.dokumente ul {
	border-top: 1px solid #ddd;
	padding-left: 0px;
}

.dokumente ul li {
	border-bottom: 1px solid #ddd;    
	padding-top: 5px !important;
    padding-bottom: 5px !important;    
	margin-bottom: 0px !important;    
	line-height: 18px !important;   
	list-style-type: none;
}

/***************************
Sidebar
***************************/

.et_pb_gutters3 .et_pb_column_1_4 .et_pb_widget {
	margin-bottom: 40px !important;
}

.widget_recent_entries ul, .widget_rss ul, .tribe-events-list-widget ol {
	border-top: 1px solid #ddd;
}

.widget_recent_entries ul li, .widget_rss ul li, .tribe-events-list-widget ol li {
	border-bottom: 1px solid #ddd;    
	padding-top: 5px !important;
    padding-bottom: 5px !important;    
	margin-bottom: 0px !important;    
	line-height: 18px !important;
}

.widgettitle a {
    color: white;
}

.widgettitle {
	background-color: #35573c;
    color: white;
    padding: 8px;
    margin-bottom: 15px;
    font-size: 14px !important;
    border-radius: 2px;   
	line-height: 18px;
}

/***************************
The Events Calendar
***************************/

.tribe-events-list-widget .tribe-events-list-widget-events {
    padding: 0 0;
}

h4.tribe-event-title {
	font-size: 14px;    
	padding-bottom: 0px;
}

.tribe-events-widget-link a {
    background-color: #999;
    text-align: center;
    border-radius: 2px;
    font-size: 14px;
    padding: 3px;
    padding-left: 20px;
    padding-right: 20px;
    color: #fff !important;
    display: inline-block;
    margin-top: 20px;
    width: 100%;
}

.tribe-list-widget {
	padding: 0px !important;
}

.single-tribe_events h1.main_title, .post-type-archive-tribe_events h1.main_title {
	display: none;
}

.tribe-events-event-meta .column, .tribe-events-event-meta .tribe-events-meta-group {
    padding: 0 0%;
}

h2.tribe-events-page-title {
    text-align: left;
}

.tribe-events-schedule, .tribe-events-schedule h2 {
	font-size: 14px;
    font-weight: normal;  
	margin-top: 10px;
}

.single-tribe_events .tribe-events-event-meta {
    background: transparent;
    border: none;
    margin: 30px 0;
}

.single-tribe_events .tribe-events-single-event-title {
    margin-top: 40px;
}

.single-tribe_events #tribe-events-header, .single-tribe_events #tribe-events-footer  {
	display: none;
}

.tribe-events-schedule {
    margin: 0px 0 0;
}

/***************************
Navigation
***************************/

#et-secondary-menu li, #top-menu li {
    word-wrap: inherit;
}

.nav li ul {
    border-top: 7px solid #2ea3f2;
}

@media all and (min-width: 981px) {}
@media all and (min-width: 361px) and (max-width: 980px) {}
@media all and (max-width: 360px) {}
@media (max-width: 767px) {

.et_pb_column_3_4 .column.size-1of3 {
    width: 100% !important;
    margin-right: 0% !important;
}
	
}
@media (max-width: 980px) {
.et_pb_section {
    padding: 0px 0;
}
.et_pb_blog_grid .et_pb_image_container img {
    min-width: inherit;
	width: 200px;
	max-width: 100%;
}
.et_pb_blog_grid .et_pb_image_container {
		text-align: center;
	}
h1 {
    font-size: 20px;
    border-bottom: 2px solid #35573c;
    text-transform: uppercase;
    margin-bottom: 20px;
    line-height: 24px;
}
}
@media (max-width: 1400px) {}
@media (max-width: 1280px) {}
@media only screen and (min-width: 1350px) {}

.et_pb_column_3_4 .et_pb_blog_grid .et_pb_salvattore_content[data-columns]::before { content: '3 .column.size-1of3' !important;
}
.et_pb_column .et_pb_blog_grid .column.size-1of2 {
margin: 0 7.5% 7.5% 0;
}
.et_pb_column_3_4 .column.size-1of3 {
width:32%;
margin-right:2%;
}    .et_pb_column_3_4 .et_pb_blog_grid .et_pb_salvattore_content[data-columns]::before { content: '3 .column.size-1of3' !important;
}
.et_pb_column .et_pb_blog_grid .column.size-1of2 {
margin: 0 7.5% 7.5% 0;
}
.et_pb_column_3_4 .column.size-1of3 {
width:32%;
margin-right:2%;
}  .et_pb_column_3_4 .et_pb_blog_grid .et_pb_salvattore_content[data-columns]::before { content: '3 .column.size-1of3' !important;
}
.et_pb_column .et_pb_blog_grid .column.size-1of2 {
margin: 0 7.5% 7.5% 0;
}
.et_pb_column_3_4 .column.size-1of3 {
width:32%;
margin-right:2%;
}    .et_pb_column_3_4 .et_pb_blog_grid .et_pb_salvattore_content[data-columns]::before { content: '3 .column.size-1of3' !important;
}
.et_pb_column .et_pb_blog_grid .column.size-1of2 {
margin: 0 7.5% 7.5% 0;
}
.et_pb_column_3_4 .column.size-1of3 {
width:32%;
margin-right:2%;
}