/*
Theme Name:     Kleo Child
Theme URI:
Description:    Child theme for Kleo
Author:         SeventhQueen
Author URI:     http://seventhqueen.com
Template:       kleo
Tags:  one-column, two-columns, right-sidebar, fluid-layout, custom-menu, featured-images, post-formats, sticky-post, translation-ready
License: GNU General Public License
License URI: license.txt
*/

.logo img,
.footer-logo {
	width: 100%;
	height: auto;
	aspect-ratio: 15 / 7;
	max-width: 160px !important;
}

.kleo-main-header .nav > li.active > a {
	color: #e6224f;
}

.kleo-main-header .ajax_s.form-control:focus {
	color: #fff;
}

@media (max-width: 992px) {
	#header {
		position: fixed;
    	z-index: 99999;
    	width: 100%;
		top: 0;
	}

	 body.logged-in.admin-bar #header {
        top: 32px;
    }

	#main{
		margin-top: 80px;
	}

	#footer .col-md-4:not(:last-child) {
		margin-bottom: 50px;
	}


}

#footer .template-page {
	padding-bottom: 0;
}

.footer-logo {
	display: block;
	margin-left: -9px;
}

#main .template-page {
	margin-top: -10px;
	padding-top: 0;
}

/* Event */
.single-event {
	color: #191e3c;
}

.single-event .event-content {
	padding-top: 40px;
}

.single-event .section-intro {
	margin-bottom: 40px;
}

.single-event .section-details {
	margin-bottom: 60px;
}

.single-event .hard-facts {
	padding: 14px;
	border-radius: 7px;
	background-color: #f0f8fb;
}

.single-event .hard-facts h4 {
	font-weight: bold;
	margin: 0 0 2rem;
}

.single-event .hard-facts label {
	color: #e62b4f;
	font-weight: bold;
	display: block;
	margin-bottom: 2px;
}

.single-event .hard-facts p {
	margin-top: 0;
}

.single-event .hard-facts p:last-of-type {
	margin-bottom: 2.5rem;
}

.single-event .form-section {
	background-color: #f0f8fb;
	padding: 60px 0;
}

.single-event .bg-red {
	background-color: #e62b4f;
	color: white;
	text-align: center;
	padding: 50px 0;
}

.single-event .bg-red h2 {
	margin: 0;
}

.single-event .bg-red .elementor-button {
	padding: 12px 24px;
	border: 2px solid #fff;
	background-color: #fff;
	border-radius: 7px;
	color: #e62b4f;
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	transition: all 0.3s ease-in-out 0s;
}

.single-event .bg-red .elementor-button:hover {
	background-color: #e62b4f;
	color: #fff;
}

.single-event .elementor-button.btn-signup {
	margin-top: auto;
	margin-bottom: 0px;
	background-color: #e62b4f;
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	color: #ffffff;
	border-style: solid;
	border-width: 2px 2px 2px 2px;
	border-color: #e62b4f;
	border-radius: 7px 7px 7px 7px;
	text-align: center;
	transition: all 0.3s ease-in-out 0s;
}

.single-event .elementor-button.btn-signup:hover,
.scf-events__item .elementor-button:hover {
	color: #e62b4f;
	background-color: #fff;
}

.elementor-button.btn-signup,
.single-event .bg-red .elementor-button {
	font-size: 14px;
	padding: 8px 10px;
}

@media (min-width: 768px) {
	.elementor-button.btn-signup,
	.single-event .bg-red .elementor-button {
		font-size: 16px;
		padding: 10px 18px;
	}
}

@media (min-width: 1440px) {
	.elementor-button.btn-signup,
	.single-event .bg-red .elementor-button {
		padding: 12px 20px;
	}
}

.single-event .bg-red .link-button {
	margin-top: 30px;
}

/**
 * SCF Events Shortcode
 */

.single-event .scf-events {
	padding: 20px 0;
}

.scf-events__list {
	display: grid;
	list-style: none;
	gap: 2rem;
	padding: 0;
	grid-template-columns: repeat(1, 1fr);
}

.single-event .event-thema .chip {
	font-size: 1.125rem;
	background-color: #f0f8fb;
	color: #5a5a5a;
	border-radius: 7px;
	padding: 0.5rem 1rem;
	margin-right: 0.4rem;
	white-space: nowrap;
	line-height: 3.25rem;
}

@media (min-width: 576px) {
	.scf-events__list {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 992px) {
	.scf-events__list {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (min-width: 1440px) {
	.scf-events__list {
		grid-template-columns: repeat(4, 1fr);
	}
}

.scf-events__meta {
	margin-bottom: 1.5rem;
	font-size: 1.3rem;
}

.scf-events__item {
	background: #fff;
	color: var(--e-global-color-primary);
	width: 100%;
	min-height: 300px;
	border-radius: 7px;
}

.scf-events__item .scf-events__image {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

.scf-events__content {
	padding: 2rem;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	text-align: left;
}

.scf-events__item .scf-events__thema {
	margin-bottom: 1.5rem;
}

.scf-events__item .scf-events__title {
	display: block;
	color: #191e3c;
	margin-bottom: 1.5rem;
}

.scf-events__item p {
	color: #191e3c;
	margin-top: 0;
	margin-bottom: 0.5rem;
}

.scf-events__item p .icon {
	margin-right: 0.25rem;
}

.scf-events__title {
	font-weight: bold;
}

.scf-events__item a:hover {
	color: rgba(0, 0, 0, 0.7);
}

.events__btn-group {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	gap: 1.5rem;
}

/* Filter-Buttons */
.scf-events__filter {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 20px;
	justify-content: center;
}

.scf-events__filter-btn {
	padding: 8px 20px;
	border: 2px solid #e62b4f;
	background: #fff;
	cursor: pointer;
	font-size: 14px;
	border-radius: 4px;
	transition: all 0.2s ease;
}

.scf-events__filter-btn:hover {
	border-color: #666;
}

.scf-events__filter-btn.is-active {
	background: var(--e-global-color-primary, #333);
	color: #fff;
	border-color: var(--e-global-color-primary, #333);
}

/* Filter Dropdown */
.scf-events__filter-select {
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	height: 44px;
	padding: 10px 16px;
	font-size: 16px;
	font-weight: 600;
	border: 2px solid var(--e-global-color-primary) !important;
	color: var(--e-global-color-primary) !important;
	border-radius: 7px;

	cursor: pointer;
	min-width: 200px;
	display: block;
	background-color: white !important;
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") !important;
	background-size: 20px 15px !important;
	background-repeat: no-repeat, repeat !important;
	background-position: right 0.75rem center !important;
}

/* .scf-events__filter-select::after {
	content: "\25BC";
	color: var(--e-global-color-primary) !important;
} */

.scf-events__filter-select:focus {
	outline: none;
	border-color: #e62b4f;
}

.scf-events__empty {
	text-align: center;
	padding: 40px 20px;
	color: var(--e-global-color-primary) !important;
	font-size: 16px;
	font-weight: 600;
}

.scf-events__thema {
	font-weight: bold;
	font-size: 1.1rem;
	line-height: 1.4;
	color: var(--e-global-color-text, #e62b4f) !important;
}

/* KONTAKTFORMULAR */

.wpcf7 .form-bg {
	background-color: white;
	padding: 32px;
	box-shadow: 0 1px 6px #00000017;
}

.wpcf7 .form-flex {
	gap: 0 20px;
	display: flex;
	flex-wrap: wrap;
	width: 100%;
}

.form-flex > * {
	flex: 1;
	min-width: 0;
}

@media (max-width: 768px) {
	.form-flex {
		flex-direction: column;
	}

	.form-flex > div {
		flex: none;
		width: 100%;
	}
}

.wpcf7 label {
	color: #251f54;
	font-size: 15px;
	width: 100%;
}

.wpcf7 label .req {
	color: red;
}

.wpcf7 label.form-element-half {
	width: 50%;
}

.wpcf7 form input[type="text"],
.wpcf7 form input[type="email"],
.wpcf7 form input[type="tel"],
.wpcf7 form input[type="number"],
.wpcf7 form textarea {
	width: 100%;
	color: #000;
	padding-inline: calc(0.25rem * 4);
	padding-block: calc(0.25rem * 3);
	background-color: #f2f7fc;
	outline: 2px solid #0000;
	transition:
		outline-color 0.15s,
		background-color 0.15s;
	border: none;
	margin-top: 4px;
}

.wpcf7 form input[type="text"]:focus,
.wpcf7 form input[type="email"]:focus,
.wpcf7 form input[type="tel"]:focus,
.wpcf7 form input[type="number"]:focus,
.wpcf7 form textarea:focus,
.wpcf7 form select:focus {
	outline: 1px solid #408fe5;
	background-color: #e5effa;
}

.wpcf7 form select {
	width: 100%;
	color: #000;
	height: 48px;
	padding-inline: calc(0.25rem * 4);
	padding-block: calc(0.25rem * 3);
	margin-top: 4px;
	margin-bottom: 10px;
	background-color: #f2f7fc;
	outline: 2px solid #0000;
	transition:
		outline-color 0.15s,
		background-color 0.15s;
	border: none;
	border-radius: 0px;
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2300000075' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") !important;
	background-size: 18px 12px !important;
	background-repeat: no-repeat, repeat !important;
	background-position: right 1.25rem center !important;
}

.wpcf7 form p.text-small {
	font-size: 10pt;
	line-height: 14pt;
	color: #989898;
}

.wpcf7 form input[type="submit"] {
	padding: 12px 20px;
	border: 2px solid #e62b4f;
	background: #e62b4f;
	text-transform: none;
	color: white;
	cursor: pointer;
	font-size: 16px;
	border-radius: 7px;
	transition: all 0.2s ease;
}

.wpcf7 form input[type="submit"]:hover {
	background-color: white;
	color: #e62b4f;
	border-color: #e62b4f;
	border-width: 2px;
}

.wpcf7 .wpcf7-list-item {
	margin-left: 0;
}

.wpcf7 .wpcf7-submit.disabled,
.wpcf7 .wpcf7-submit:disabled {
	opacity: 0.5;
}

/* SIMPLE FAVORITE BUTTON */
body .simplefavorite-button {
	background-color: #ffffff !important;
	color: #e62b4f !important;
	border: 2px solid #e62b4f !important;
	padding: 5px 10px !important;
	border-radius: 7px !important;
	font-weight: 700 !important;
	display: inline-flex !important;
	align-items: center;
	gap: 6px;
	cursor: pointer;
	transition: all 0.25s ease-in-out;
}

.favorite-heart-icon {
	background-color: #e62b4f;
	color: #ffffff;
	width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	margin-left: -4px;
	font-size: 11px;
}

body .simplefavorite-button.active {
	background-color: #e62b4f !important;
	color: #ffffff !important;
	opacity: 1 !important;
}

body .simplefavorite-button:hover {
	opacity: 0.7 !important;
}

body .simplefavorite-button.active .favorite-heart-icon {
	background-color: #ffffff;
	color: #e62b4f;
}

body .simplefavorite-button .favorite-button-text {
	line-height: 1;
	font-size: 14px;
}

.teaser-favorite-wrapper .favorite-button-text {
	font-size: 0 !important;
	line-height: 0 !important;
	display: block !important;
}

.teaser-favorite-wrapper .simplefavorite-button-count {
	font-size: 14px !important;
	display: block !important;
	font-weight: bold;
}

@media (min-width: 768px) {
	body .simplefavorite-button {
		padding: 6px 14px !important;
	}

	.teaser-favorite-wrapper .favorite-heart-icon {
		font-size: 12px;
		width: 24px;
		height: 24px;
		margin-left: -6px;
	}
}

@media (min-width: 1440px) {
	body .simplefavorite-button {
		padding: 6px 14px !important;
		gap: 6px;
	}

	.teaser-favorite-wrapper .favorite-heart-icon {
		font-size: 14px;
		width: 28px;
		height: 28px;
		margin-left: -8px;
	}
}
