/*
Theme Name: Jannah Child
Theme URI: https://deine-website.de/
Description: Ein Child-Theme für Jannah
Author: Bastian Kroll
Template: jannah
Version: 1.0
*/

/* Hier kannst du eigene Styles ergänzen */

.entry-content .entry h1, .entry-content .entry h2, .entry-content .entry h3, .entry-content .entry h4, .entry-content .entry h5, .entry-content .entry h6 {
	margin: 0.5em 0;
}

/* das Wort Werbung nach rechts schieben */
.stream-title {
	text-align:right;
}

.single-caption-text {
	position:unset !important;
}

.single-featured-image {
	padding-bottom:10px;
}

.superbanner img {
	width:100%;
}

@media (min-width: 992px) {
	.main-menu .menu>li>a {
		padding: 0 7px !important;
	}
}

/* Das Logo kleiner machen als 60px */
@media (max-width: 479px) {
    #theme-header.has-normal-width-logo .logo-wrapper #logo.image-logo img {
        max-width:160px;
        max-height: 40px !important;
    }
}

/* Im Impressum ausblenden*/
.impressum .burgw-im-text-pattensen, .impressum .burgw-im-text-laatzen, .impressum .burgw-im-text-hemmingen, .impressum .burgw-im-text-sarstedt {
	display: none;
}


.burgw-highlight-wrapper li {
	text-align:center !important;
}

[id^="burgw-grid-"] {
	text-align:center !important;
}


.burgwedel_anzeige img {
	width:100%;
}

.wide-post-box .post-item.post:not(:first-child) {
    border-top: 1px solid black;
    padding-top: 10px; /* Abstand zwischen Linie und Inhalt */
}

/* Texte etwas einrücken */
.wide-post-box .posts-items li .post-details {
    padding: 15px !important; /* Erzwingt das Padding für diesen Selektor */
}

/* Newsletter bestätigung Anzeige ausbelenden */
.burgw-burgwedel-3-absatz {
	display: none;
}

/* Die Statistiken-Seite hat keine Sidebar, also kann der Main-Content 100% Breite haben: */
.full-width-content {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
}

.full-width-content .main-content  {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
}


.page-no-sidebar .main-content, 
.page-no-sidebar .content-area {
    padding: 0;
    margin: 0;
    width: 100%;
}

/* Für die Events */
.upcoming-events {
    margin: 20px 0;
    font-family: Arial, sans-serif;
}

.upcoming-events h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.upcoming-events ul {
    list-style: none;
    padding: 0;
}

.upcoming-events li {
    margin-bottom: 10px;
    font-size: 16px;
}

.upcoming-events li a {
    font-weight: bold;
    color: #0073aa;
    text-decoration: none;
}

.upcoming-events li a:hover {
    text-decoration: underline;
}

/* Die Ortsnarke */
strong {
    color: #0073aa;
    font-weight: bold;
}

/* Kategorie erforderlich*/
.category-required {
    border: 2px solid red;
    padding: 5px;
    background-color: #ffe6e6;
}

/* Überschrfifter auf der dtartseite */
.main-slider-inner .tie-slider-nav h2.thumb-title {
	font-size: 20px;
}





/* Auf mobile den Rand weglassen */
@media (max-width: 990px) {
	.stream-title {
		text-align:center;
	}
	
	.burgw-im-text-pattensen li, .burgw-im-text-laatzen li, .burgw-im-text-hemmingen li, .burgw-im-text-sarstedt li {		
		width:100% !important;
		text-align: center !important;
	}
	
	.burgw-im-text-pattensen li img, .burgw-im-text-laatzen li img, .burgw-im-text-hemmingen li img, .burgw-im-text-sarstedt li img {		
		width:100%;
	}
	
	.single .entry-content {
		padding-top: 15px !important;
	}
	
	div.the_group ul li.last+li {
		clear: none !important;
	}
	
	.burgw-im-text ul li img {
		width: 100% !important;
	}
	
	.main-content  .miscellaneous-box .mag-box-container{
		/* margin-left:10px;*/
		/* margin-right:10px; */
	}
	.miscellaneous-box .posts-items li:nth-child(2n+2) {
		padding-left:18px !important;
	}

	.medium > li {
		width: 48% !important;
		padding: 2px !important;
		min-width: unset !important;
		margin: 1px !important;
	}
	
	.medium > li.last + li {
		clear: none !important;;
	}
	
}

@media (max-width: 768px) { /* Für Geräte mit einer Breite von maximal 768px */
    .sidebar {
        display: none; /* Versteckt die Sidebar */
    }
	/* Slider auf der Startseite */
	.main-slider .slide {
		background-position: center -40px !important;
	}
}


/* Überschriften im Slider */
. main-slider-inner .boxed-slider-wrapper .thumb-title {
	font-size: 20px !important;
}

/* Bild im Slider */
.boxed-slider-wrapper .slide {
    margin: 0;
    height: 540px !important;
}

.main-content .burgw-im-text li {
	margin: 0px !important;	
}

div.the_group ul li img {
	width: 95% !important;
}

.main-slider-inner h2.thumb-title {
	font-size: 20px;
}

/* Die Unterüberschrift*/
.entry-header .entry-sub-title {
    font-size: 0.4em;
    color: #666;
    margin-bottom: 24px;
    font-style: italic;
}


.media-overlay .tie-map .tie-media-icon,.media-overlay .tie-standard .tie-media-icon {
	display: block !important;
}

.medium ul {
	width:100%;
}

.medium li {
	width: 32% !important;
	margin: 3px !important;
	aspect-ratio: auto 180 / 150;
}

.medium li img{
	width: 100%
}

.fullbanner {
	width:100%;
}
	
div.fullbanner img {
	width:100%;
}


[class*="im-text"] ul {
	width:100%;
}

[class*="im-text"] li {
	width: 32% !important;
	margin: 3px !important;
	aspect-ratio: auto 180 / 150;
}

[class*="im-text"] li.last+li {
	clear:none !important;
}

[class*="im-text"] li img {
	width:100%;
	padding: 4px;
}

[class*="-fb-"] {
	width:100%;
}
	
[class*="-fb-"] img {
	width:100%;
}


@media (max-width: 670px) { /* Für Geräte mit einer Breite von maximal 768px */

	.medium ul {
		width:100%;
	}
	
	.medium li {
		width: 48% !important;
		margin: 3px !important;
		aspect-ratio: auto 180 / 150;
	}
	
	.medium li img{
		width: 100%
	}
	
	.fullbanner {
		width:100%;
	}
		
	div.fullbanner img {
		width:100%;
	}
	
	
	[class*="im-text"] ul {
		width:100%;
	}
	
	[class*="im-text"] li {
		width: 48% !important;
		margin: 3px !important;
		aspect-ratio: auto 180 / 150;
	}
	
	[class*="im-text"] li img {
		width:100%;
	}
	
	[class*="-fb-"] {
		width:100%;
	}
		
	[class*="-fb-"] img {
		width:100%;
	}
}