/* vollkorn-regular - latin */
@font-face {
  font-family: 'Vollkorn';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/vollkorn-v9-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('Vollkorn Regular'), local('Vollkorn-Regular'),
       url('fonts/vollkorn-v9-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/vollkorn-v9-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/vollkorn-v9-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('fonts/vollkorn-v9-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/vollkorn-v9-latin-regular.svg#Vollkorn') format('svg'); /* Legacy iOS */
}

/* vollkorn-700 - latin */
@font-face {
  font-family: 'Vollkorn';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/vollkorn-v9-latin-700.eot'); /* IE9 Compat Modes */
  src: local('Vollkorn Bold'), local('Vollkorn-Bold'),
       url('fonts/vollkorn-v9-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/vollkorn-v9-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/vollkorn-v9-latin-700.woff') format('woff'), /* Modern Browsers */
       url('fonts/vollkorn-v9-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/vollkorn-v9-latin-700.svg#Vollkorn') format('svg'); /* Legacy iOS */
}

/* open-sans-regular - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/open-sans-v16-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('Open Sans Regular'), local('OpenSans-Regular'),
       url('fonts/open-sans-v16-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/open-sans-v16-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/open-sans-v16-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('fonts/open-sans-v16-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/open-sans-v16-latin-regular.svg#OpenSans') format('svg'); /* Legacy iOS */
}

/* open-sans-700 - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/open-sans-v16-latin-700.eot'); /* IE9 Compat Modes */
  src: local('Open Sans Bold'), local('OpenSans-Bold'),
       url('fonts/open-sans-v16-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/open-sans-v16-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/open-sans-v16-latin-700.woff') format('woff'), /* Modern Browsers */
       url('fonts/open-sans-v16-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/open-sans-v16-latin-700.svg#OpenSans') format('svg'); /* Legacy iOS */
}


/*

Theme Name: Sch&uuml;tzenverein Kirchspiel Mark (Neu)
Theme URI: https://kmbmedia.de
Description: Ein individuelles WordPress Theme (Kopie: Startseite als Beitragsliste, breiteres Raster)
Version: 1.1
Author: KMB Media Werbeagentur
Author URI: https://kmbmedia.de

*/

/* Farben 
blau #1b4eae
hellgrau #d9dadb
mittelgrau #707173
dunkelgrau #3e3d3b
*/

/* CORE */
body {
font-family: 'Open Sans', sans-serif;
color: #1b4eae; 
font-size: 1em;
line-height: 140%;
}

/*
html { 
background: url(img/bg.jpg) no-repeat center center fixed; 
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
*/

a:link		{ color: #1b4eae; text-decoration: underline; }

/*
a:link		{ color: #381A09; text-decoration: none;
-webkit-transition: color 0.2s ease-in-out;
-moz-transition: color 0.2s ease-in-out;
-ms-transition: color 0.2s ease-in-out;
-o-transition: color 0.2s ease-in-out;
transition: color 0.2s ease-in-out;
}
*/

a:visited	{ color: #1b4eae; text-decoration: underline; }
a:hover		{ color: #1b4eae; text-decoration: none; }
a:active	{ color: #1b4eae; }

.download a:link	{ color: #1b4eae; text-decoration: underline; }
.download a:visited	{ color: #1b4eae; text-decoration: underline; }
.download a:hover	{ color: #1b4eae; text-decoration: none; }
.download a:active	{ color: #1b4eae; }

#footer a:link		{ color: #fff; text-decoration: none; }
#footer a:visited	{ color: #fff; text-decoration: none; }
#footer a:hover		{ color: #fff; text-decoration: underline; }
#footer a:active	{ color: #fff; }

h2 a:link		{ color: #fff; text-decoration: underline; }
h2 a:visited	{ color: #fff; text-decoration: none; }
h2 a:hover		{ color: #fff; text-decoration: none; }
h2 a:active	{ color: #fff; }

.ngg-album-compact a:link		{ color: #fff; text-decoration: underline; }
.ngg-album-compact a:visited	{ color: #fff; text-decoration: none; }
.ngg-album-compact a:hover		{ color: #fff; text-decoration: none; }
.ngg-album-compact a:active	{ color: #fff; }

a.post-edit-link { font-size: 0.8em; color: white; font-weight: normal; padding: 0px 20px; background: #01DF01; border-radius: 2px; position: fixed; bottom: 30px; right: 30px; opacity: .4; transition: opacity .3s ease; }
a.post-edit-link:hover { opacity: 1; }

a#vc_load-inline-editor { font-size: 0.8em; color: white; font-weight: normal; padding: 2px 20px; background: #01DF01; border-radius: 2px; position: fixed; bottom: 60px; right: 30px; opacity: .2; transition: opacity .3s ease, left .3s ease; } 
a#vc_load-inline-editor:hover { opacity: 1; }

p { margin: 10px 0 10px 0; }

.small { font-size: 0.8em; }

img { border: 0;}

.alignleft	{ padding-right: 10px; float: left; }
.alignright { padding-left: 10px; float: right; }
.aligncenter, img.aligncenter { clear: both; display: block; margin-left: auto; margin-right: auto; }

.left	{ text-align: left; }
.right	{ text-align: right; }

.clear { clear: both; }

.white { color: #fff; }
.center { text-align: center; }

strong { font-weight: bold; }

h1 { font-family: 'Vollkorn', sans-serif; font-size: 1.9em; color: #1b4eae; font-weight: normal; line-height: 140%; }
h2 { font-family: 'Vollkorn', sans-serif; font-size: 1.9em; color: #1b4eae; font-weight: normal; line-height: 140%; }
h3 { font-family: 'Vollkorn', sans-serif; font-size: 1.2em; color: #fff; font-weight: normal; line-height: 110%; }

.white h2 { font-size: 2em; color: #fff; font-weight: normal; line-height: 140%; }

#sidebar {color: #3E3D3B;}
#sidebar h2 { font-size: 1.6em; color: #fff; font-weight: 700; line-height: 140%; padding-bottom: 5px; }
#sidebar h3 { font-size: 1.2em; color: #1b4eae; font-weight: normal; line-height: 140%; margin-bottom: -10px;}

.dev { background: url('img/bg_dev.png'); }

.small { font-size: 0.9em; }

.show-for-small { display: none; }
.hide-for-small { display: inline; }

.elastic { position: relative; padding-bottom: 25%; padding-top: 15px; height: 0; overflow: hidden; }
.elastic iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

.kmb_logo { padding: 10px 0px 10px 0px; }
img.kmb_logo { width: 175px; }

.noselect {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}

::-moz-selection { color: #fff; background: #1b4eae; }
::selection { color: #fff; background: #1b4eae; }

#footer ::-moz-selection { color: #1b4eae; background: #fff; }
#footer ::selection { color: #1b4eae; background: #fff; }


/* LAYOUT */

#header { margin-bottom: -20px; }

#sidebar { }

#content { /* min-height: calc(100vh - 535px); */ }

#footer { margin-top: -20px; margin-bottom: -20px; }


/* INTERIOR */

/* .breadcrumbs { margin-bottom: -20px; font-size: 1em; font-weight: 400; } */

.menu-footer-container { }
ul#menu-footer { }
ul#menu-footer li { list-style: none; }
ul#menu-footer li a { color: #fff; }
ul#menu-footer li a:hover { color: #4898d7; }
ul#menu-footer li.current_page_item > a { color: #4898d7; }

.liste ul { padding-top: 0px; }
.liste ul li { list-style: none; padding-left: 27px; text-indent: -27px; }
.liste ul li::before { content: "\e900"; font-family: 'icomoon'; margin-right: 10px; font-size: 7px; }

.liste ol { padding-top: 0px; padding-left: 27px}


.top_box { margin-top: -35px; background-color: #707173; padding: 20px}
.right_box { margin-left: -30px;background-color: #707173; padding: 20px}

.vs_box { margin-top: -35px; margin-right: 8px; height: 100px;}
.vs_box_m { margin-top: -35px; margin-right: 8px; height: 100px;}

.bg_footer { background-color: #1b4eae;}
.bg_sidebar_1 { background-color: #d9dadb; padding: 20px;}
.bg_sidebar_2 { background-color: #707173; padding: 20px 20px 15px 20px; margin-top: -35px;}
.bg_sidebar_3 { background-color: #1b4eae; margin-top: -35px; padding: 20px 20px 0 20px;}
.bg_sidebar_4 { background-color: #1b4eae; margin-top: -80px;}

.head_line { font-size: 2.5em; background-color: #1b4eae; padding: 40px 20px; color: #fff; }
.info {padding: 21px 0; font-size: 1.1em;}
.download {margin: 0; float: right;}

.wpb-js-composer .vc_tta-color-grey.vc_tta-style-flat .vc_tta-panel .vc_tta-panel-heading { background-color: #1b4eae !important; }

.wpb-js-composer .vc_tta-color-grey.vc_tta-style-flat .vc_tta-panel .vc_tta-panel-heading:focus, .wpb-js-composer .vc_tta-color-grey.vc_tta-style-flat .vc_tta-panel .vc_tta-panel-heading:hover { background-color: #d9dadb !important; }

.wpb-js-composer .vc_tta-color-grey.vc_tta-style-flat .vc_tta-panel .vc_tta-panel-title > a { color: #fff !important;}

.wpb-js-composer .vc_tta.vc_general .vc_tta-panel-title > a:focus, .wpb-js-composer .vc_tta.vc_general .vc_tta-panel-title > a:hover { color: #3E3D3B !important; }

.vc_btn3.vc_btn3-color-white, .vc_btn3.vc_btn3-color-white.vc_btn3-style-flat { color: #fff !important; background-color: #1b4eae !important; width: 260px; }

.vc_btn3.vc_btn3-color-white.vc_btn3-style-flat:focus, .vc_btn3.vc_btn3-color-white.vc_btn3-style-flat:hover, .vc_btn3.vc_btn3-color-white:focus, .vc_btn3.vc_btn3-color-white:hover { color: #3E3D3B !important; background-color: #d9dadb !important; }

.wpb-js-composer .vc_tta-color-grey.vc_tta-style-flat .vc_active .vc_tta-panel-heading .vc_tta-controls-icon::after, .wpb-js-composer .vc_tta-color-grey.vc_tta-style-flat .vc_active .vc_tta-panel-heading .vc_tta-controls-icon::before { border-color: #fff !important; }

.wpb-js-composer .vc_tta-color-grey.vc_tta-style-flat .vc_tta-controls-icon::after, .wpb-js-composer .vc_tta-color-grey.vc_tta-style-flat .vc_tta-controls-icon::before { border-color: #fff !important; }

.logo img { border: 0; padding-top: 15px;}

.ngg-albumoverview.default-view .ngg-album-compact h4 .ngg-album-desc { font-size: 1.2em !important; background: #707173 !important; padding: 20px 20px 10px 20px !important; margin-top: -22px !important;}


.ui-widget { font-family: 'Open Sans', sans-serif !important; font-size: 1em !important;}
.ui-widget-header { border: 1px solid #d9dadb !important; background: #1b4eae !important; }

.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight { background: none !important; color: #1b4eae !important; font-weight: 700;}

.ui-widget-content { color: #3e3d3b !important; border: 1px solid #d9dada !important; }

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #707173 !important; background: #d9dadb !important; color: #3e3d3b !important; }

.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #1b4eae !important; background: #1b4eae !important; color: #fff!important;}

.ui-state-hover, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-hover { border: 1px solid #707173 !important; background: #707173 !important; color: #fff!important; }

.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: 'Open Sans', sans-serif !important; }

.wpfc-calendar-search .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #1b4eae !important; background: #1b4eae !important; color: #fff !important; }

.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #d9dadb !important; background: #d9dadb !important; color: #3e3d3b !important;}

/* .mpc-countdown__section h4 { font-weight: 300 !important; } */

.bg_grau {color:#3e3d3b !important;}
.bg_grau h3 {color: #3e3d3b !important; }

.buttonizer-button a .text { background-color: #d9dadb !important; color: #3e3d3b !important; }

.sl-wrapper .sl-image .sl-caption {display: none !important;}

.ngg-galleryoverview.default-view .ngg-gallery-thumbnail-box { float: left !important; }
.ngg-albumoverview.default-view { text-align: left !important; }


/* HEADER: blaue Leiste ueber die volle Breite (Logo + Schriftzug), darunter graue Menuezeile von Rand zu Rand.
   Links bündig mit den Beiträgen, rechts bündig mit der Sidebar. */
#header .header-bar {
	--header-blue: #1b4eae;
	--menu-bg: #707173;      /* Farbe der Menuezeile */
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	grid-template-areas: "logo widget" "menu menu";
	background: var(--header-blue);
	margin-top: 20px;
}
#header .header-bar > .column4,
#header .header-bar > .column8 { float: none; width: auto; margin: 0; }
#header .header-nav { display: contents; }   /* Widget und Menue werden direkt Teil des Grids */

#header .header-logo { grid-area: logo; display: flex; align-items: center; padding: 8px 0 8px 24px; }
/* Logo ist blau auf transparent: auf dem blauen Balken als weisse Silhouette darstellen. Fuer das farbige Logo die filter-Zeile entfernen. */
#header .header-logo .logo img { display: block; width: auto; max-height: 64px; padding: 0; filter: brightness(0) invert(1); }

#header .header-widget { grid-area: widget; align-self: center; min-width: 0; padding: 8px 24px; color: #fff; }
/* Widget-Inhalt (Schriftzug, Shop-Link) erzwungen kompakt, falls anderes CSS Hoehe/Abstaende setzt */
#header .header-widget,
#header .header-widget * { min-height: 0 !important; margin-top: 0 !important; margin-bottom: 0 !important; }
#header .header-widget > *,
#header .header-widget > * > * { padding-top: 0 !important; padding-bottom: 0 !important; height: auto !important; line-height: 1.3 !important; }
#header .header-widget img { max-height: 40px !important; width: auto !important; height: auto !important; display: inline-block; vertical-align: middle; }

/* Link "Shop des Stadtverbands": ganz rechts in der grauen Menuezeile, unabhaengig von der alten Positionierung */
#header .header-bar { position: relative; }
#header .header-widget a[href*="hamm-horrido"],
#header .header-menu a[href*="hamm-horrido"] {
	position: absolute !important; top: auto !important; bottom: 9px !important; right: 24px !important; left: auto !important;
	float: none !important; display: inline-block !important; visibility: visible !important; opacity: 1 !important;
	margin: 0 !important; padding: 4px 12px !important; width: auto !important; height: auto !important;
	color: #fff !important; background: transparent; border: 1px solid currentColor; text-decoration: none !important;
	font-size: .85em; line-height: 1.3 !important; z-index: 5;
}
#header .header-widget a[href*="hamm-horrido"]:hover { background: rgba(0, 0, 0, .12); }
@media only screen and (max-width: 959px) {
	#header .header-widget a[href*="hamm-horrido"],
	#header .header-menu a[href*="hamm-horrido"] { position: static !important; margin-top: 8px !important; }
}

#header .header-menu { grid-area: menu; background: var(--menu-bg); margin: 0; padding: 0; }
#header .header-menu > div,
#header .header-menu > nav,
#header .header-menu > ul { width: 100%; max-width: none; margin: 0; box-sizing: border-box; }

@media only screen and (max-width: 767px) {
	#header .header-bar { grid-template-columns: minmax(0, 1fr); grid-template-areas: "logo" "widget" "menu"; }
	#header .header-logo { justify-content: center; padding: 10px 16px 0; }
	#header .header-widget { padding: 8px 16px 10px; }
}


/* KOPFBILD (ohne WPBakery): volle Breite, 200px hoch */
.site-hero { height: 200px; background: #707173 center 25% / cover no-repeat; }
/* Das Bild fuellt die volle Breite; je breiter das Fenster, desto mehr wird oben weniger und unten mehr abgeschnitten (Position: 25 % von oben, 0 % = ganz oben, 50 % = Mitte) */
@media only screen and (max-width: 767px) { .site-hero { height: 120px; } }

/* SIDEBAR (ohne WPBakery): die Boxen liegen lueckenlos untereinander */
#sidebar .sb-box { padding: 20px; color: #3e3d3b; }
#sidebar .sb-box h2 { margin: 0 0 10px; }
#sidebar .sb-box p { margin: 0 0 4px; }

#sidebar .sb-termine,
#sidebar .sb-persons,
#sidebar .sb-widget { background: #d9dadb; }
#sidebar .sb-termine h2,
#sidebar .sb-persons h2,
#sidebar .sb-widget h2 { font-size: 1.9em; font-weight: normal; color: #1b4eae; line-height: 140%; padding: 0; }
#sidebar .sb-termine h3,
#sidebar .sb-persons h3,
#sidebar .sb-widget h3,
#sidebar .sb-widget h4,
#sidebar .sb-widget h5,
#sidebar .sb-widget h6,
#sidebar .sb-widget .wp-block-heading:not(h2) { font-size: 1.15em; color: #1b4eae; margin: 16px 0 2px; line-height: 130%; }
#sidebar .sb-widget h2 + h3, #sidebar .sb-widget h2 + .textwidget > h3:first-child { margin-top: 6px; }
/* Text-Widgets: kompakte Abstände, auch bei Absätzen, Listen und leeren Zeilen */
#sidebar .sb-widget h3 *, #sidebar .sb-widget h4 *, #sidebar .sb-widget h5 *, #sidebar .sb-widget h6 *, #sidebar .sb-widget h2 * { color: inherit !important; font-family: inherit !important; font-size: inherit !important; font-weight: inherit; }
#sidebar .sb-widget p { margin: 0 0 4px !important; padding: 0; }
#sidebar .sb-widget h3, #sidebar .sb-widget h4, #sidebar .sb-widget h5, #sidebar .sb-widget h6 { padding: 0 !important; }
#sidebar .sb-widget p:empty { display: none; }
#sidebar .sb-widget ul, #sidebar .sb-widget ol { margin: 0 0 6px; padding-left: 18px; }
#sidebar .sb-widget li { margin: 0 0 2px; }
#sidebar .sb-widget .textwidget > :last-child, #sidebar .sb-widget > :last-child { margin-bottom: 0; }
#sidebar .sb-termine h3:first-of-type { margin-top: 6px; }
#sidebar .sb-termine .sb-termin { margin: 0 0 4px; }
#sidebar .sb-termine__more { margin-top: 18px !important; }

#sidebar .sb-member { background: #707173; padding-bottom: 15px; }
#sidebar .sb-member h2 { font-size: 1.6em; font-weight: 700; line-height: 140%; padding: 0 0 5px; }
#sidebar .sb-member h2 a:link,
#sidebar .sb-member h2 a:visited { color: #fff; text-decoration: none; }
#sidebar .sb-member h2 a:hover { color: #fff; text-decoration: underline; }

#sidebar .sb-countdown { background: #1b4eae; color: #fff; }
#sidebar .sb-countdown h2 { font-size: 1.6em; font-weight: 700; line-height: 140%; color: #fff; padding: 0; }
.sb-countdown__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; text-align: center; margin-top: 12px; }
.sb-countdown__grid .num { display: block; font-family: 'Vollkorn', serif; font-size: 1.7em; line-height: 1.2; font-variant-numeric: tabular-nums; }
.sb-countdown__grid .lbl { display: block; font-size: 0.75em; }

#sidebar .sb-search { display: block; background: #707173; color: #fff; padding-bottom: 20px; }
#sidebar .sb-search label { display: block; margin-bottom: 6px; }
#sidebar .sb-search input[type="search"] { box-sizing: border-box; width: 100%; padding: 8px 10px; border: 0; font: inherit; color: #3e3d3b; }
#sidebar .sb-search button { margin-top: 8px; padding: 6px 18px; border: 0; background: #1b4eae; color: #fff; font: inherit; cursor: pointer; }
#sidebar .sb-search button:hover { background: #d9dadb; color: #3e3d3b; }

/* FOOTER (ohne WPBakery): blauer Balken ueber die volle Breite */
.site-footer { margin-top: 40px; background: #1b4eae; color: #fff; padding: 30px 0 20px; }
.site-footer__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding: 0 10px; }
.site-footer p { margin: 0 0 14px; }
.site-footer a:link, .site-footer a:visited { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__logo img { max-width: 100%; height: auto; }
@media only screen and (max-width: 959px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media only screen and (max-width: 767px) { .site-footer__grid { grid-template-columns: minmax(0, 1fr); } }


/* NEWS / BEITRAGSLISTE (Startseite, Archive, Einzelbeitrag) */

/* Abstand zum Kopfbild */
.news-content { padding-top: 30px; }

.archive-title { margin: 0 0 24px; }

.news-item { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 28px; padding: 28px 0; border-bottom: 1px solid #d9dadb; color: #3e3d3b; }
.news-item.has-img { grid-template-columns: 300px minmax(0, 1fr); }
.news-list .news-item:first-child { padding-top: 0; }
.news-list .news-item:last-child { border-bottom: 0; }

.news-item__img { display: block; align-self: start; background: #d9dadb; overflow: hidden; }
.news-item__img img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s ease; }
.news-item__img:hover img { transform: scale(1.03); }
/* Platzhalter fuer Beitraege ohne Bild: weisses Logo auf Blau */
.news-item__img img.news-item__ph { box-sizing: border-box; padding: 38px; object-fit: contain; background: #1b4eae; }
/* Pro Beitrag waehlbar (Meta-Box "Bild in der Uebersicht"): Ausschnitt oben/unten bzw. Bild ganz anzeigen */
.news-item__img.pos-top img { object-position: center top; }
.news-item__img.pos-bottom img { object-position: center bottom; }
.news-item__img.is-contain img { object-fit: contain; }   /* gleicher Rahmen (4:3) wie alle Karten, Bild komplett eingepasst, Raender in Grau */
.news-item__img.is-contain:hover img { transform: none; }

.news-item__meta { font-size: 0.85em; color: #707173; }
.news-item__meta time { margin-right: 6px; }
.news-item__meta a.news-item__cat:link,
.news-item__meta a.news-item__cat:visited { display: inline-block; margin-right: 6px; padding: 1px 8px; background: #d9dadb; color: #3e3d3b; text-decoration: none; }
.news-item__meta a.news-item__cat:hover { background: #707173; color: #fff; }
.news-item__badge { display: inline-block; margin-right: 8px; padding: 1px 8px; background: #1b4eae; color: #fff; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 0.9em; }

.news-item h2 { font-size: 1.6em; margin: 4px 0 8px; }
.news-item h2 a:link,
.news-item h2 a:visited { color: #1b4eae; text-decoration: none; }
.news-item h2 a:hover { color: #1b4eae; text-decoration: underline; }

.news-item__text p:first-child { margin-top: 0; }
.news-item__text img { max-width: 100%; height: auto; }

.news-item__more { margin: 14px 0 0; }
.news-item__more a:link,
.news-item__more a:visited { display: inline-block; padding: 6px 18px; background: #1b4eae; color: #fff; text-decoration: none; transition: background .2s ease, color .2s ease; }
.news-item__more a:hover { background: #d9dadb; color: #3e3d3b; }

/* "Beitrag oben halten" = wichtige Meldung, optisch abgesetzt */
.news-item.sticky { padding: 24px; margin-bottom: 20px; background: #eef2fa; border-left: 6px solid #1b4eae; border-bottom: 0; }
.news-list .news-item.sticky:first-child { padding-top: 24px; }

/* Floats (rechts-/linksbuendige Bilder) im Beitragstext: Ueberschriften beginnen immer unterhalb,
   und der Beitrag schliesst seine Floats ein. Zusaetzlich: <div class="clear"></div> erzwingt einen Umbruch. */
.news-single,
.news-item__text { display: flow-root; }
.news-single h2, .news-single h3, .news-single h4, .news-single h5, .news-single h6,
.news-single hr, .news-single .clear,
.news-item__text h2, .news-item__text h3, .news-item__text h4 { clear: both; }
.news-single .alignleft, .news-single img.alignleft { float: left; margin: 4px 20px 12px 0; padding: 0; }
.news-single .alignright, .news-single img.alignright { float: right; margin: 4px 0 12px 20px; padding: 0; }
.news-single .aligncenter { margin-bottom: 12px; }
@media only screen and (max-width: 767px) {
	.news-single .alignleft, .news-single .alignright { float: none; display: block; margin: 0 auto 12px; }
}

/* Zwischenueberschriften im Beitragstext: blau statt weiss (die globale h3-Regel gilt fuer farbige Kaesten) */
.news-single h2, .news-single h3, .news-single h4,
.news-item__text h2, .news-item__text h3, .news-item__text h4 { color: #1b4eae; font-family: 'Vollkorn', serif; font-weight: normal; line-height: 130%; margin: 28px 0 8px; }
.news-single h2 { font-size: 1.6em; }
.news-single h3 { font-size: 1.35em; }
.news-single h4 { font-size: 1.15em; }
.news-single h2 a:link, .news-single h2 a:visited { color: #1b4eae; }

.news-single h1 { margin: 6px 0 16px; }
.news-single img { max-width: 100%; height: auto; }
.news-back { margin-top: 30px; }

.pagination .page-numbers { display: inline-block; margin: 0 4px 4px 0; padding: 8px 14px; background: #d9dadb; color: #3e3d3b; text-decoration: none; }
.pagination a.page-numbers:hover { background: #707173; color: #fff; }
.pagination .page-numbers.current { background: #1b4eae; color: #fff; }
.pagination .screen-reader-text { position: absolute; left: -9999px; }

@media only screen and (max-width: 1160px) { .news-item.has-img { grid-template-columns: 240px minmax(0, 1fr); } }
@media only screen and (max-width: 959px) { .news-item.has-img { grid-template-columns: minmax(0, 1fr); gap: 14px 0; } }


/* ICONS */
@font-face {
  font-family: 'icomoon';
  src:  url('fonts/icomoon.eot?fsnpo9');
  src:  url('fonts/icomoon.eot?fsnpo9#iefix') format('embedded-opentype'),
    url('fonts/icomoon.ttf?fsnpo9') format('truetype'),
    url('fonts/icomoon.woff?fsnpo9') format('woff'),
    url('fonts/icomoon.svg?fsnpo9#icomoon') format('svg');
  font-weight: normal;
  font-style: normal; }

[class^="icon-"], [class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  
margin-right: 5px;
color: #1b4eae;
}

.icon-liste:before {
  content: "\e900";
}
.icon-mail:before {
  content: "\e905";
}
.icon-Ort:before {
  content: "\e903";
}
.icon-Telefon:before {
  content: "\e908";
}
.icon-fax:before {
  content: "\e904";
}


/*
* WP-Paginate - WordPress Pagination Function
* Revision: $Id: wp-paginate.css 286636 2010-09-08 00:11:23Z emartin24 $
* Copyright (c) 2010 Eric Martin http://www.ericmmartin.com/projects/wp-paginate/
*/
.pages { padding-top: 30px; margin-bottom: 50px; }
.wp-paginate {padding:0; margin:0;}
.wp-paginate li {display:inline; list-style:none; margin-left: 0 !important; }
.wp-paginate a {background:#ccc; border:0px solid #ccc; color:#fff; margin-right:4px; padding:10px 10px; text-align:center; text-decoration:none;}
.wp-paginate a:hover, .wp-paginate a:active {background:#006727; color:#fff;}
.wp-paginate .title {color:#555; margin-right:4px;}
.wp-paginate .gap {color:#999; margin-right:4px;}
.wp-paginate .current {color:#fff; background:#006727; border:0px solid #ccc; margin-right:4px; padding:10px 10px;}
.wp-paginate .page {}
.wp-paginate .prev, .wp-paginate .next {}

/* style overrides for comments pagination */
.wp-paginate-comments {}
.wp-paginate-comments li {}
.wp-paginate-comments a {}
.wp-paginate-comments a:hover, .wp-paginate-comments a:active {}
.wp-paginate-comments .title {}
.wp-paginate-comments .gap {}
.wp-paginate-comments .current {}
.wp-paginate-comments .page {}
.wp-paginate-comments .prev, .wp-paginate-comments .next {}


/* KONTAKT */
.wpcf7-text { width: 80%; height: 35px; background: transparent; }
.wpcf7-textarea { width: 80%; height: 150px; background: transparent; }

.wpcf7-submit {
width: auto;
height: auto;
background: none repeat scroll 0% 0% #BA9C00;
color: #FFF;
border: 2px solid #BA9C00;
font-size: 1em;
padding: 15px 40px;
margin: 0px 0px 0px;
align-content: center;
transition: all 0.2s ease-out;
cursor: pointer;
float: right;
margin-right: calc(20% - 44px);
}

.wpcf7-submit:hover { opacity: 0.8; }

select.wpcf7-form-control {
width: calc(80% + 43px);
height: 49px;
border: 2px solid gray;
border-radius: 0;
-webkit-appearance: none;
-moz-appearance: none;
-ms-appearance: none;
-o-appearance: none;
appearance: none;
padding: 5px 70px 5px 20px !important;
margin-right: -50px !important;
text-indent : 0.01px;
text-overflow : '';
}

select.wpcf7-form-control::-ms-expand { display: none; }

span.wpcf7-not-valid-tip {
font-weight: 700;
margin: -24px 22px;
padding: 0px;
position: absolute;
top: 20px;
right: -6px;
}

div.wpcf7-response-output {
margin: 48px 0px 0px 0px !important;
padding: 5px 20px !important;
width: 80%;
}

.wpcf7-textarea, .wpcf7-text, select.wpcf7-form-control { 
border: 2px solid #e6e6e6; 
color: #999999;
border-radius: 0px;
font-family: 'Source Sans Pro', sans-serif;
font-size: 1em; 
font-weight: 400;
padding: 5px 20px; 
margin: 0px 0px 20px;
background: none repeat scroll 0% 0% transparent;
transition: all 0.2s ease-out 0s;
outline: none;
} 

.wpcf7-textarea:hover, .wpcf7-text:hover, select.wpcf7-form-control:hover, .wpcf7-textarea:focus, .wpcf7-text:focus, select.wpcf7-form-control:focus { border: 2px solid #BA9C00; color: #000; } 

span.wpcf7-list-item { display: block; }


/* MEDIA */
@media only screen and (min-width: 960px) and (max-width: 1199px) { }

@media only screen and (min-width: 720px) and (max-width: 959px) { }

@media only screen and (max-width: 719px) {

.hide-for-small { display: none; }
.wpcf7-text, .wpcf7-textarea { width: 90%; }
.show-for-small { display: block; }
.container12 { padding-left: 10px; padding-right: 10px; }

.head_line { font-size: 1.6em; line-height: 140%; }
/* .logo img { display: none;} */
.info { font-size: 0.9em; }
.download { display: none;}

.logo { text-align: center; }

.info { text-align: center; padding: 0 0 20px 0; }
.info b.date { display: block; }

}

/* Block-Widgets: jeder Block (Überschrift, Absatz ...) ist im Editor ein eigenes Widget.
   Aufeinanderfolgende Block-Widgets werden hier zu EINER Box zusammengezogen. */
#sidebar .sb-widget.widget_block { padding-top: 0; padding-bottom: 0; }
#sidebar .sb-widget:not(.widget_block) + .widget_block,
#sidebar > .widget_block:first-child { padding-top: 20px; }
#sidebar .widget_block:last-child,
#sidebar .widget_block:has(+ :not(.widget_block)) { padding-bottom: 20px; }
#sidebar .sb-widget.widget_block:has(> ol:empty:only-child),
#sidebar .sb-widget.widget_block:has(> ul:empty:only-child),
#sidebar .sb-widget.widget_block:has(> p:empty:only-child) { display: none; }
#sidebar .sb-widget.widget_block > h2:first-child { margin-top: 0; }
#sidebar .sb-widget.widget_block > h3:first-child, #sidebar .sb-widget.widget_block > h4:first-child { margin-top: 14px; }
#sidebar .sb-widget.widget_block + .widget_block > h3:first-child { margin-top: 14px; }
/* Innenabstände nicht nach aussen durchschlagen lassen (sonst weisse Streifen zwischen den Block-Widgets) */
#sidebar .sb-widget { display: flow-root; }

/* INFOBLOECKE zwischen den Beitraegen */
.info-box { margin: 0 0 30px; padding: 22px 26px; border-left: 8px solid; }
.info-box h2 { margin: 0 0 10px; font-size: 1.5em; line-height: 130%; }
.info-box p { margin: 0 0 10px; }
.info-box__text > :last-child { margin-bottom: 0; }
.info-box--blue { background: #1b4eae; border-color: #0f3380; color: #fff; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.info-box--blue h2 { color: #fff; margin: 0; flex: 1 1 320px; }
.info-box--blue .info-box__text { flex: 1 1 100%; }
.info-box--blue .info-box__btn { margin: 0; }
.info-box--blue .info-box__btn a { display: inline-block; background: #fff; color: #1b4eae; font-weight: 700; padding: 10px 22px; text-decoration: none; }
.info-box--blue .info-box__btn a:hover { background: #d9dadb; }
.info-box--blue a { color: #fff; }
.info-box--warn { background: #fff4d6; border-color: #e9a100; color: #3e3d3b; }
.info-box--warn h2 { color: #8a5a00; }
.info-box--grey { background: #d9dadb; border-color: #707173; color: #3e3d3b; }
.info-box--grey .info-box__btn a, .info-box--warn .info-box__btn a { display: inline-block; background: #1b4eae; color: #fff; padding: 10px 22px; text-decoration: none; }
