/**
Theme Name: SmartCity Forum
Author: kaleidos:code GmbH
Author URI: https://www.kaleidsocode.de
Description: Made by kaleidos:code
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: smartcity-forum
Template: astra
*/

/* Header */
.headermenu .elementor-nav-menu .elementor-item.elementor-item-active {
    position: relative;
}
.headermenu .elementor-nav-menu .elementor-item.elementor-item-active::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--e-global-color-secondary);
    border-radius: 50%;
}
.e-off-canvas {
	backdrop-filter: blur(3px);
}
#header-logo-container {}
#header-logo {
	transition: .3s;
}
@media (min-width: 1025px) {
	.elementor-sticky--effects #header-logo-container {}
	.elementor-sticky--effects #header-logo {
		padding: 0;
		height: 100%;
		align-content: center;
		border: 0;
		border-radius: 0;
		box-shadow: none;
		img {
			width: 150px;
		}
	}
}

/* Footer */
.footer-menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
	font-weight: 600;
	font-size: 14px;
	a {
		color: var(--e-global-color-primary);
	}
	a:hover {
		color: var(--e-global-color-secondary);
	}
	@media (max-width: 600px) {
		display: flex;
		flex-direction: column;
		gap: 5px;
	}
}

/* Misc */
#page .site-content {
    flex-grow: 0;
}
.nomargin p:last-child {
	margin-bottom: 0 !important;
}
h1,h2,h3,h4,h5,h6 {
	text-wrap: balance;
	span {
		font-size: 16px;
		letter-spacing: .1em;
		text-transform: uppercase;
		line-height: 1.5em;
		display: block;
		color: #687770;
		font-weight: bold;
		margin-bottom: .5em;
	}
}
/*.quote-source span {
	text-transform: none;
	font-weight: 600;
	color: #687770;
	display: inline-block;
	border-left: 1px solid #687770;
	padding-left: 10px;
	margin-left: 2px;
	letter-spacing: 0;
}*/
.quote-source span {
	text-transform: none;
	font-weight: 600;
	/*color: #687770;*/
	display: inline-block;
	border-left: 1px solid #687770;
	padding-left: 10px;
	margin-left: 2px;
	letter-spacing: 0;
	@media (max-width: 1024px) {
		display: block;
		padding: 0;
		border: 0;
		margin: 5px 0 0 0;
	}
}
.news-loop-item-cat a:hover {
	color: var(--e-global-color-secondary) !important;
}

.sf-faq .e-n-accordion-item {
    border-radius: 20px;
	box-shadow: 0 0 0 1px #D0DBD6 inset; 
    overflow: hidden;
	background: #fff;
}

.site-content > .ast-container {
	max-width: 100% !important;
	padding: 0!important;
}

/* Events */
.ke-event-card,
.ke-registration-wrapper,
.ke-event-meta-info,
.ke-frontend-filter {
	background: #fff;
	border-radius: 20px;
	border: 1px solid #D0DBD6;
	padding: 24px 20px;
	gap: 16px;
	h3 {
		margin: 0 !important;
	}
}
.ke-event-card {
	display: flex;
	flex-direction: column;
	a {
		text-decoration: none !important;
	}
}
.ke-frontend-filter {
	padding: 20px;
	justify-content: center;
}
.ke-filter-reset {
	background: var(--e-global-color-secondary);
	color: #fff !important;
	font-weight: bold;
	border: 0;
	border-radius: 12px;
}
.ke-filter-reset:hover {
	background: var(--e-global-color-primary);
}
.ke-filter-toggle {
	background-color: transparent !important;
	color: inherit !important;
}
.ke-event-meta-info {
	font-size: 14px;
	.ke-meta-row {
		border-top: 1px solid #D0DBD6;
		margin: 0;
		padding: 10px 0;
	}
	.ke-meta-row:first-child {
		border-top: 0;
		padding-top: 0;
	}
	.ke-meta-row:last-child {
		padding-bottom: 0;
	}
	.ke-meta-value-date {
		font-weight: bold;
		font-size: 18px;
	}
}

a.ke-event-cat-link {
	font-size: 14px;
	background: var(--e-global-color-accent);
	border-radius: 100px;
	padding: 4px 10px;
	font-weight: 600;
}
a.ke-event-cat-link:hover {
	background: var(--e-global-color-primary);
	color: #fff;
}

.ke-event-card--teaser--meta {
	font-size: 16px;
	line-height: 1em;
	display: flex;
	font-weight: bold;
	.ke-meta-value-time {
		border-left: 1px solid var(--e-global-color-primary);
		padding-left: 10px;
		margin-left: 10px;
		font-weight: normal;
	}
}

.ke-registration-wrapper a {
	text-decoration: underline;
}

.ke-seat-block {
	border-color: #D0DBD6;
	border-style: solid;
	border-width: 1px 1px 0 1px;
	background: #e1ece73d;
	padding: 20px;
	@media (max-width: 600px) {
		padding: 15px;
	}
	margin: 0;
}
.ke-seat-block:first-child {
	border-radius: 12px 12px 0 0;
}
.ke-seat-block:last-child {
	border-bottom-width: 1px;
	border-radius: 0 0 12px 12px;
}
.ke-names-container {
	margin: 20px 0;
}

.ke-pagination {
	gap: 5px;
	font-size: 14px;
	line-height: 1em;
}
.ke-pagination a.page-numbers,
.ke-pagination span.page-numbers,
.elementor-pagination .page-numbers {
	background:var(--e-global-color-secondary);
	color: #fff;
	font-weight: bold;
	padding: 10px;
	border-radius: 12px;
	font-size: 14px;
	margin: 0 !important;
}
.ke-pagination a.page-numbers:hover,
.ke-pagination span.page-numbers:hover,
.page-numbers:hover,
.page-numbers.current {
	background:var(--e-global-color-primary);
	color: #fff !important;
}
.ke-pagination span.page-numbers.dots {
	background: none;
	color: inherit;
}
.ke-pagination span.current {
	background: var(--e-global-color-primary);
	text-decoration: none;
}

.ke-form-msg .ke-msg-success,
.ke-form-msg .ke-msg-error {
	border-radius: 12px;
}

/* News */
.ast-article-single figure, .ast-article-single img:not(figure img) {
	box-shadow: none;
}
.wp-element-caption {
	font-size: 14px;
}