/*
Theme Name: OceanWP Child Theme
Theme URI: https://oceanwp.org/
Description: OceanWP WordPress theme. Sample child theme.
Author: OceanWP
Author URI: https://oceanwp.org/
Template: oceanwp
Version: 1.0
*/

/* Parent stylesheet should be loaded from functions.php not using @import */

a:focus {
	outline: none !important;
}

.vc_row.flexbox .spalte1.wpb_column {
	order: 1;
}
.vc_row.flexbox .spalte2.wpb_column {
	order: 2;
}

.wpb_wrapper .vc_row.flexbox {
	margin-left: -15px;
	margin-right: -15px;
	display: flex;
	flex-wrap: wrap;
}

nav a.current-menu-item {
  color: #2a633b!important;
  font-weight: bold;
  border-bottom: 1px solid #2a633b;
  border-top: 1px solid #2a633b;
}

.event-tab-nav {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  list-style: none;
  padding: 0;
  flex-wrap: wrap;
}
.event-tab-nav li {
  padding: 0.5rem 1rem;
  background: #e0e0e0;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}
.event-tab-nav li.active {
  background: #2b6e3f;
  color: #fff;
}
.kleingarten-eventliste {
  list-style: none;
  padding: 0;
  margin: 0;
}
.kleingarten-eventliste li {
  padding: 1.5rem 0;
  border-bottom: 1px solid #ddd;
}
.event-title {
  font-size: 1.5rem;
  margin-bottom: 0.3rem;
  color: #2b6e3f;
}




.kleingarten-kalender {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1em;
}
.kleingarten-kalender th,
.kleingarten-kalender td {
    border: 1px solid #ccc;
    width: 14.28%;
    vertical-align: top;
    padding: 5px;
	height: 60px;
}
.kalender-tag {
    position: relative;
}
.event-preview {
    margin-top: 2px;
    padding: 1px 3px;
    background: #f0f8f0;
    cursor: pointer;
    border-radius: 3px;
    font-size: 0.9em;
}
.event-preview:hover {
    background: #e0f0e0;
}
.event-modal {
    position: absolute;
    background: #fff;
    border: 1px solid #444;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    padding: 10px;
    max-width: 220px;
    z-index: 999;
    top: 30px;
    left: 0;
}
.close-modal {
    margin-top: 8px;
    background: #ccc;
    border: none;
    padding: 4px 6px;
    cursor: pointer;
    border-radius: 3px;
}
.event-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-modal {
    background: #fff;
    padding: 2rem;
    max-width: 600px;
    width: 90%;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.event-modal .close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    background: #ccc;
    border: none;
    padding: 0.3em 0.6em;
    cursor: pointer;
    font-weight: bold;
}

.event-modal .close-modal:hover {
    background: #aaa;
}
.kalender-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.kalender-prev,
.kalender-next {
    background: #006400;
    color: white;
    border: none;
    padding: 6px 12px;
    cursor: pointer;
    border-radius: 4px;
}
.kalender-prev:hover,
.kalender-next:hover {
    background: #228B22;
}

.grid-slider-wrapper {
	position: relative;
	width: 100%;
	overflow: hidden;
}
.grid-slider-track {
	display: flex;
	transition: transform 0.4s ease;
}
.grid-slider-page {
	display: flex;
	width: 100%;
	flex: 0 0 100%;
}
.grid-slider-item {
	width: 33.3333%;
	padding: 1rem;
	box-sizing: border-box;
}
.item-box {
	background: #f1f1f1;
	padding: 1rem;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
.item-box h2 {
	font-size: 26px;
}
.item-excerpt {
	margin: 1rem 0;
}
.item-box .read-more {
	margin-top: auto;
	color: #29633B;
	text-decoration: none;
	font-weight: 600;
	/*background-color: #29633B;
	font-size: 14px;
	padding: 14px 20px;*/

}
.item-box .read-more:hover {
	text-decoration: underline;
}
.grid-slider-dots {
	text-align: center;
	margin-top: 1rem;
}
.grid-slider-dots span {
	display: inline-block;
	width: 12px;
	height: 12px;
	margin: 0 5px;
	background: #ccc;
	border-radius: 50%;
	cursor: pointer;
}
.grid-slider-dots span.active {
	background: #333;
}
@media(max-width: 768px) {
	.grid-slider-item {
		width: 100%;
		min-height: 350px;
	}
	.grid-slider-page {
		flex-direction: column;
	}
	.item-box h2 {
		font-size: 20px;
	}
	h2 {
		font-size: 40px;
	}
	#tribe-events-content h1.tribe-events-single-event-title {
		font-size: 20px;
	}
	.vc_row.flexbox .spalte1.wpb_column {
		order: 2;
	}
	.vc_row.flexbox .spalte2.wpb_column {
		order: 1;
	}
}

nav a.active {
    color: #29633B; /* deine Highlight-Farbe */
    font-weight: bold;
    border-bottom: 1px solid #29633B;
	border-top: 1px solid #29633B;
}
#site-header.vertical-header #site-navigation-wrap .dropdown-menu li > a:focus {
	outline: 0px;
}

.post-template-default #content-wrap {
	margin-top: 150px;
}

h1.tribe-events-single-event-title {
	font-size: 34px;
	padding: 0 0 20px;
	margin: 120px 0 15px;
	border-bottom: 1px solid #f1f1f1;
	line-height: 1.4;
	letter-spacing: .6px;
	font-family: Poppins;
	color: #29633b;
	font-weight: 600;
}

.tribe-events-c-events-bar {
	display: none!important;
}

.tribe-common--breakpoint-full.tribe-events .tribe-events-c-top-bar__datepicker-desktop {
	color: #29633b;
	font-family: Poppins;
}
.tribe-events-l-container .tribe-events-c-top-bar {
	margin-top: 50px!important;
}
.tribe-events-notices {
	margin-bottom: -80px!important;
}


.tribe-common .tribe-common-c-btn-border, .tribe-common a.tribe-common-c-btn-border {
	color: #29633b;
}
.single-tribe_events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button.tribe-events-c-subscribe-dropdown__button--active, .single-tribe_events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:focus, .single-tribe_events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:focus-within, .single-tribe_events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:hover, .tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button.tribe-events-c-subscribe-dropdown__button--active, .tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:focus, .tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:focus-within, .tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:hover {
	background-color: #29633b;
	color: #fff!important;
}
.tribe-common .tribe-common-c-btn-border, .tribe-common a.tribe-common-c-btn-border {
	border: 1px solid #29633b;
}

@media (min-width: 768px) {
	.tribe-events-meta-group {
		width: 300px;
	}
}

.item-box .item-date {
	display: none;
}