/*
Theme Name: TSV Ehningen WordPress-Theme
Theme URI: https://oceanwp.org/
Description: 
Author: OceanWP | Reichmann IT-Solutions
Author URI: https://oceanwp.org/ | https://www.reichmann-it.de/
Template: oceanwp
Version: 1.1
*/

/* Parent stylesheet should be loaded from functions.php not using @import */
header#site-header {
	position: fixed !important;
	top: 0;
}
#main {
	margin-top: 70px;
}
section.elementor-top-section:first-of-type {
	margin-top: 35px;
}



.submenu ul {
	list-style: none;
	display: flex;
	align-items: center;
    flex-wrap: wrap;
	background: #2e4f8f;
	padding: 16px 0;
	margin-left: 0;
	width: 100.8%;
}
.submenu ul li a {
	padding: 20px 20px;
	color: #FFF;
	transition: .15s;
}
.submenu ul li a:hover {
	background: #FFD81F;
	color: #000;
}
.submenu ul li.menu-item-has-children a::after ~ ul {
	font-family: "Font Awesome 5 Free";
    font-weight: 900;
	content: '\f107';
	margin-left: 10px;
}
.submenu ul li ul.sub-menu {
	list-style: none;
	margin: 15px 0 0 0;
	position: absolute;
	visibility: hidden;
	opacity: 0;
	transition: .15s;
	background: #2e4f8f;
    padding: 0;
	width: fit-content;
	flex-direction: column;
    align-items: stretch;
	z-index: 10;
}
.submenu ul li ul.sub-menu li a {
	display: block;
	padding: 15px 50px 15px 30px;
}
.submenu ul li.menu-item-has-children a:hover + .sub-menu, .sub-menu:hover {
	visibility: visible !important;
	opacity: 1 !important;
}


/** Display Posts Aktuelles Startseite additions **/
.aktuelles {
	margin-bottom: 30px;
}
.aktuelles .aktuelles_wrapper .listing-item {
	overflow: hidden; 
	margin-bottom: 32px;
	width: 100%;
}
.aktuelles .aktuelles_wrapper .listing-item:not(:first-child) {
	margin-top: 20px;
}
.aktuelles .aktuelles_wrapper .listing-item .title {
	display: block;
	margin-top: 15px;
}
.aktuelles .aktuelles_wrapper .listing-item .date {
	color: #000;
}
.aktuelles .aktuelles_wrapper .listing-item .excerpt {
	display: block;
	color: #000;
}
.aktuelles .aktuelles_wrapper .listing-item .image {
	float: left;
	margin: 0 16px 0 0;
}





/** Ajax Load More additons **/
.alm-listing .alm-paging-content>li.alm-item img, .alm-listing>li.alm-item img {
	max-height: 100% !important;
	object-fit: cover !important;
}
