@import url("/templates/tp_verein/css/eleganticons.css");

/* =========================================================
   HEADER / LOGO
   ========================================================= */

#c8logo {
	position: absolute;
	z-index: 9;
	width: calc(100vw - 80px);
	margin: 0 40px;
}

.astroid-logo-text {
	margin-top: 60px;
}

.site-tagline {
	margin-top: 0;
	text-shadow: none;
}

.logo-wrapper {
	display: none !important;
}

.astroid-nav-wraper {
	padding: 20px 0 !important;
}

.astroid-header-section .astroid-header-sticky {
	padding: 0;
}

.astroid-header-section .astroid-header-sticky .astroid-header {
	padding-top: 0;
	padding-bottom: 0;
}

#top {
	height: 0;
}


/* =========================================================
   MOBILE MENU / STICKY HEADER
   ========================================================= */

.header-mobilemenu-trigger {
	position: absolute;
	top: 15px;
	left: 30px;
}

.burger-menu-button .inner,
.burger-menu-button .inner::before,
.burger-menu-button .inner::after {
	height: 2px;
}

.astroid-mobilemenu {
	width: 300px;
}

#astroid-sticky-header.sticky-loaded .header-mobilemenu-trigger {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	padding: 15px 30px;
	text-align: left;
	background: rgba(255, 255, 255, 0.4);
	box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.08);
	backdrop-filter: blur(15px);
	-webkit-animation-name: slideInDown;
	animation-name: slideInDown;
}


/* =========================================================
   SLIDESHOW
   ========================================================= */

#uk-slideshow-1 {
	min-height: 30vh;
}

.c8home #uk-slideshow-1 {
	min-height: 50vh;
}

#uk-slideshow-1::before,
#uk-slideshow-2::before,
#uk-slideshow-3::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
	background-color: rgba(255, 255, 255, 0.25);
	background-position: center center;
	background-repeat: repeat;
}

.uk-slidenav {
	z-index: 99 !important;
}


/* =========================================================
   ALLGEMEIN
   ========================================================= */

b,
strong {
	font-weight: 500;
}

hr {
	margin: 40px 0;
	color: rgba(35, 40, 69, 0.3);
}

a {
	text-decoration: none !important;
}

.astroid-component-area a:not(.btn, .uk-position-cover),
.uk-modal-dialog a:not(.uk-slidenav) {
	font-weight: 500;
}

.c8submenu li.current a span.nav-title::after {
	display: none !important;
}


/* =========================================================
   SIDEBAR BOXEN
   ========================================================= */

.c8whitebox {
	margin-bottom: 30px;
	padding: 20px !important;
	background-color: #fff;
	border: 1px solid #dee2e6;
	box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.c8box {
	margin-bottom: 30px;
	padding: 20px;
}

.left-position p {
	margin-bottom: 0;
}

.left-position .fab {
	font-size: 32px;
}

.left-position a .fab {
	color: #232845;
}

.left-position a:hover .fab {
	color: #ff2640;
}


/* =========================================================
   SIGE / BILDERGALERIE
   ========================================================= */

.c8bildergalerie .mod-articles-items li:not(:last-child) {
	margin-bottom: 10px;
	border-bottom: none;
}

.c8bildergalerie .mod-articles-items .mod-articles-item h5.mod-articles-title {
	margin-bottom: 0.25rem;
	font-size: 1rem;
	font-weight: 300;
}

.pswp__caption {
	display: none;
}

.sige_masonry .sige_thumb_masonry img {
	height: inherit;
}


/* =========================================================
   JOOMLA ARTICLES / BLOG
   ========================================================= */

.com-content-category-blog__item .item-image {
	position: relative;
	z-index: 2;
}

.article-info {
	margin: 0 0 15px;
}

.article-info > dd {
	padding-left: 0;
}

.blog-items > .blog-item:not(:last-child) {
	margin-bottom: 40px;
	padding-bottom: 40px;
	border-bottom: 1px solid rgba(35, 40, 69, 0.3);
}

.blog-items > .blog-item:last-child {
	margin-bottom: 60px;
}

.com-content-category-blog__item.blog-item::after {
	content: "";
	display: block;
	clear: both;
}

.view-category .float-start.item-image {
	aspect-ratio: 5 / 4;
	overflow: hidden;
}

.view-category .float-start.item-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.astroid-device-sm .float-start.item-image img {
	max-width: 300px;
	padding-right: 20px;
}
.astroid-device-md .float-start.item-image img {
    max-width: 380px;
    padding-right: 20px;
}
.astroid-device-lg .float-start.item-image img {
    max-width: 400px;
    padding-right: 30px;
}
.astroid-device-xl .float-start.item-image img {
    max-width: 420px;
    padding-right: 30px;
}

/*
.float-start.item-image img {
	max-width: 100%;
	padding-right: 0;
}
*/

.blog .item-image {
	margin-bottom: 0;
	padding-bottom: 20px;
}


/* =========================================================
   CUSTOM FIELDS
   ========================================================= */

.article-custom-fields-blog .icon::before,
.article-custom-fields .icon::before {
	padding: 0;
	font-size: 20px;
	color: #232845;
}

.article-custom-fields-blog .icon,
.article-custom-fields .icon {
	padding: 0 20px 0 10px;
	font-size: 20px;
	color: rgba(205, 23, 25, 1);
}

.article-custom-fields-blog {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	clear: none;
}

.article-custom-date,
.article-custom-time,
.article-custom-venue {
	display: flex;
	align-items: center;
}

.article-custom-fields-blog [class^="icon_"] {
	margin-right: 8px;
	line-height: 1;
}


/* =========================================================
   UIKIT
   ========================================================= */

.uk-link,
a {
	color: #ff2640;
}

.uk-link-toggle:hover .uk-link,
.uk-link:hover,
a:hover {
	color: #ff2640;
}

.uk-form-label {
	color: #232845;
	font-family: "Lato", Arial, Helvetica, sans-serif;
	font-size: 1.1rem;
	font-weight: 300;
	line-height: 1.7em;
}

.uk-card figure {
	margin-bottom: 0;
}

.uk-subnav {
	margin-bottom: 2.2rem;
}

.uk-subnav > * > :first-child {
	color: #232845;
	font-size: 14px;
	font-weight: 500;
	opacity: 0.5;
	border-bottom: 2px solid transparent;
}

.uk-subnav > * > a:hover,
.uk-subnav > .uk-active > a {
	color: #232845;
	opacity: 1;
	border-bottom: 2px solid #ff2640;
}

.uk-button-primary {
	color: #fff;
	background-color: #ff2640;
	border: 1px solid transparent;
	font-family: "Montserrat", Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.uk-button-primary:hover {
	color: #fff;
	background-color: #cd2034;
}

.uk-overlay-primary {
  background: rgba(35,40,69, 0.9) !important;
}
.uk-lightbox, .pswp__bg {
  background: rgba(35,40,69,.95) !important;
}
 .pswp__bg {
  opacity: 0.95 !important;
}

/* =========================================================
   VORSTAND
   ========================================================= */

.c8card {
	color: #232845;
	background-color: #fff;
	border: 1px solid rgba(0, 0, 0, 0.125);
	border-radius: 0.35rem;
	box-shadow: none;
}

.c8vorstand-foto {
	position: relative;
	z-index: 1;
	min-height: 300px;
	border-radius: 0.35rem;
}

.c8vorstand-foto img {
	position: absolute;
	top: 0;
	left: 0;
	width: 200px !important;
	object-fit: cover;
	object-position: center top;
}

.c8card .uk-card-default .uk-card-title,
.c8card .position {
	color: #232845;
}

.c8card h4,
.c8card p.position {
	margin-bottom: 0;
}


/* =========================================================
   AGENDA
   ========================================================= */

.view-category.c8agenda #ac-1530100662663 {
	display: none;
}

.view-category.c8agenda #ac-1528971561366 {
	width: 100%;
}

.nobosscalendar--model2 .nb-calendar__header {
	min-height: 0;
}

.nobosscalendar--model2 .nb-calendar__header .nb-header-actions--left,
.nobosscalendar--model2 .nb-calendar__header .nb-header-actions--right,
.nb-swipe-indicator {
	display: none;
}


/* =========================================================
   AGENDA MODUL
   ========================================================= */

.mod-articles-items li {
	padding: 0;
}

.mod-articles-items li:not(:last-child) {
	margin-bottom: 20px;
	padding: 0;
	border-bottom: 1px solid #ccc;
}

.menu-module li a,
.mod-articles-items .mod-articles-item h5.mod-articles-title {
	margin-bottom: 0.2rem;
	font-family: "Montserrat", Arial, Helvetica, sans-serif;
	font-size: 1.1rem;
}

.menu-module li a,
a.mod-articles-link {
	color: #232845;
	font-weight: 400;
}

.menu-module li a:hover,
.menu-module li.active a,
a.mod-articles-link:hover,
a.mod-articles-link.active {
	color: #ff2640;
}

.menu-module li.active a,
a.mod-articles-link.active {
	font-weight: 500;
}


/* =========================================================
   EVENTS / ANLÄSSE
   ========================================================= */

/* Standard: Bild oberhalb von Titel und Anlassdaten */
.event-header-grid {
	display: block;
}

.event-header-grid.no-image {
	display: block !important;
}

.event-header-image {
	margin-bottom: 25px;
}

.event-header-content {
	min-width: 0;
}

.event-image {
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.event-image a {
	display: block;
	width: 100%;
	height: 100%;
	cursor: zoom-in;
}

.event-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 0.3s ease;
}

.event-image a:hover img {
	transform: scale(1.03);
}


/* MD: Bild links, Titel und Anlassdaten rechts */
.astroid-device-md .event-header-grid {
	display: grid;
	grid-template-columns: 2fr 3fr;
	gap: 30px;
	align-items: center;
}

.astroid-device-md .event-header-image {
	margin-bottom: 0;
}

.astroid-device-md .event-image {
	aspect-ratio: 4 / 3;
}


/* LG: wegen linker Subnavigation wieder untereinander */
.astroid-device-lg .event-header-grid {
	display: block;
}

.astroid-device-lg .event-header-image {
	margin-bottom: 25px;
}

.astroid-device-lg .event-image {
	aspect-ratio: 16 / 9;
}


/* XL: wieder Bild links, Inhalt rechts */
.astroid-device-xl .event-header-grid {
	display: grid;
	grid-template-columns: 2fr 3fr;
	gap: 40px;
	align-items: center;
}

.astroid-device-xl .event-header-image {
	margin-bottom: 0;
}

.astroid-device-xl .event-image {
	aspect-ratio: 4 / 3;
}


/* =========================================================
   FOOTER
   ========================================================= */

.c8footerlogo {
	color: #ff2640 !important;
	font-family: "Montserrat", Arial, Helvetica, sans-serif;
	font-weight: 700;
}

.c8footertagline {
	font-size: 1rem;
	line-height: 2rem;
}

.astroid-footer-section {
	text-align: center;
}

.c8dist {
	display: none;
	margin: 0 6px;
}

.c8webdesign {
	display: block;
	white-space: nowrap;
}

.astroid-footer-section .nav {
	display: inline;
}

.astroid-footer-section .nav-item,
.astroid-footer-section .nav-link {
	padding: 0 !important;
}


/* =========================================================
   BREAKPOINTS
   ========================================================= */

/*
   xs:    0
   sm:  576px
   md:  768px
   lg:  992px
   xl: 1200px
  xxl: 1400px
*/

@media screen and (min-width: 576px) {

	.astroid-header .min-w-30.d-lg-none {
		display: block;
	}

	.astroid-logo-text {
		margin-top: 70px;
	}

	.site-tagline {
		margin-top: 10px;
	}

	.astroid-footer-section {
		text-align: left;
	}

	.c8footertagline {
		font-size: 1.1rem;
	}

	.c8dist,
	.c8webdesign {
		display: inline;
	}

	.astroid-footer-section .nav {
		display: flex;
	}

	.astroid-footer-section .nav-item {
		padding: 2px 0 !important;
	}

	.astroid-footer-section .nav-link {
		padding: 0 20px 0 0 !important;
	}
}


@media screen and (min-width: 768px) {

	#top {
		height: initial;
	}

	.nobosscalendar--model2 .nb-calendar__header {
		min-height: 45px;
	}

	.astroid-logo-text {
		margin-top: 80px;
	}

	.site-tagline {
		margin-top: 20px;
	}

	.article-custom-fields-blog .icon::before,
	.article-custom-fields .icon::before {
		padding: 0 5px;
	}

	.article-custom-fields-blog .icon,
	.article-custom-fields .icon {
		padding: 0 20px 0 15px;
	}
}


@media screen and (min-width: 992px) {

	.header-mobilemenu-trigger {
		position: relative;
		top: initial;
	}

	.event-image {
		min-width: 390px;
	}
}


@media screen and (min-width: 1200px) {

	.uk-card-body.c8card {
		padding: 20px;
	}

	.c8vorstand-foto {
		min-height: 400px;
	}

	.c8vorstand-foto img {
		width: 100% !important;
		height: 100% !important;
	}
}