/*
Theme Name:		 ColorMag St. Birgid (2027)
Description:	 Neues Layout der Website St. Birgid (Briefkopf, Taubenblau, Schrift Hind). Child-Theme von ColorMag, eigenständige Kopie von ColorMag St. Birgid (2024).
Author:			 Thomas Hucke
Template:		 colormag
Version:		 2.0.0
Text Domain:	 colormagstbirgid-neu
*/


/*
    Add your custom styles here
*/

@import "style-bxslider.css";
@import "style-bluewall.css";

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

@font-face {
  font-family: "Open Sans";
  src: url("./fonts/OpenSans-SemiBold.eot"); /* IE9 Compat Modes */
  src: url("./fonts/OpenSans-SemiBold.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
    url("./fonts/OpenSans-SemiBold.otf") format("opentype"), /* Open Type Font */
    url("./fonts/OpenSans-SemiBold.svg") format("svg"), /* Legacy iOS */
    url("./fonts/OpenSans-SemiBold.ttf") format("truetype"), /* Safari, Android, iOS */
    url("./fonts/OpenSans-SemiBold.woff") format("woff"), /* Modern Browsers */
    url("./fonts/OpenSans-SemiBold.woff2") format("woff2"); /* Modern Browsers */
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Open Sans";
  src: url("./fonts/OpenSans-Light.eot"); /* IE9 Compat Modes */
  src: url("./fonts/OpenSans-Light.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
    url("./fonts/OpenSans-Light.otf") format("opentype"), /* Open Type Font */
    url("./fonts/OpenSans-Light.svg") format("svg"), /* Legacy iOS */
    url("./fonts/OpenSans-Light.ttf") format("truetype"), /* Safari, Android, iOS */
    url("./fonts/OpenSans-Light.woff") format("woff"), /* Modern Browsers */
    url("./fonts/OpenSans-Light.woff2") format("woff2"); /* Modern Browsers */
  font-weight: 300;
  font-style: normal;
}

body, button, input, select, textarea, p, h1, h2, h3, h4, h5, h6, a, ul, li, ol, span, div { font-family: 'Open Sans', Frutiger, Calibri, Tahoma, Arial, Verdana, Sans Serif; }


  /* ////////// */
 /* Kopfzeile  */
/* ////////// */

/* Header */
#cm-header-1 .cm-row { margin: 0px; padding: 0px; }
#header-right-sidebar { margin:30px 0px 30px 0px !important; }
#cm-header-1 .cm-header-col-1 { flex-basis: 70%; width: 726px; }

#cm-header-text-nav-wrap { padding: 15px 0px 15px 0px; }
#cm-header-right-section { display:block; height:106px; }
#cm-header-right-sidebar { margin: 30px 0px 0px 0px; }

/* Navigation */
#cm-primary-nav { background-color: #65899c; border:0px; }
#cm-primary-nav .cm-container { margin:0px; padding:0px; width:100%; max-width:1200px; }
#cm-primary-nav .cm-home-icon { margin: 0px 0px 0px 10px; }
#cm-primary-nav .cm-home-icon svg { font-size:24px; }
.cm-primary-nav .sub-menu, .cm-primary-nav .children { background-color: #77a2b8; }

.search-wrap { width:100%; padding:0px; margin:0px; }
.search-wrap .s { margin:-2px 0px 0px 0px; padding:0px; }
.search-wrap input { width:250px; }
.search-wrap button { margin:2px 0px 0px 0px; padding:7px;}

/* Spenden-Button */
li#menu-item-24001, li#menu-item-24001 a { background-color: #FC9F26; float: right; border-bottom: 1px solid #FC9F26; } 

#cm-content { padding-top: 20px; }
#block-2 { display:none; }

  /* /////////// */
 /* Startseite  */
/* /////////// */

.cm-featured-category-slider { margin-bottom:50px; }
/* Slider immer gleich groß (Format der ColorMag-Bildgröße 800x445): breitere Bilder links/rechts,
   höhere Bilder oben/unten beschneiden. Sonst wechselt die Höhe mit jedem Bild. */
.cm-featured-category-slider .cm-single-slide img.wp-post-image { display:block; width:100%; height:auto; aspect-ratio: 800 / 445; object-fit:cover; object-position:center; margin:0; }

/* Headlines Sektionen */
.widget-title { border-bottom-color: #65899c; display: flex; justify-content: space-between; border-bottom: 2px solid #207daf; margin-bottom: 15px; }
.widget-title h3 { font-size: 16px; font-weight: 600; line-height: 1.8; font-weight: normal; }
.widget-title span { background-color: #65899c; color: #fff; font-size: 16px; font-weight: 600; line-height: 1.8; margin-bottom: 0; padding: 4px 12px 2px; border-radius: 2px 2px 0 0; letter-spacing: 0.01em; }
.widget-title a { font-size: 16px; font-weight: 600; line-height: 1.8; font-weight: normal; }


/* Hauptpost: Aufmacher */
.cm-entry-header-meta { display:none; }
.cm-below-entry-meta { display:none; }

#sticky-posts-5 .entry-content { background-color:#f8f8f8; padding: 10px; }
.cm-featured-category-slider .cm-slide-content .cm-entry-title { font-size: 2.0em; font-weight:bold; }
.cm-featured-category-slider .cm-slide-content p.abstract { font-size:1.0em; line-height:1.4em; color:#fff; padding: 0px 50px 0px 0px; margin:10px 0px 0px 0px; }
.cm-featured-category-slider .cm-slide-content .cm-entry-title a { color: #fff; padding:0px; margin:0px; }
.cm-featured-category-slider .cm-slide-content .cm-entry-title a:hover { text-decoration:none; color:#77a2b8; }
.cm-featured-category-slider .cm-slide-content .cm-entry-title a.more-link { color: #fff; background-color:transparent; } 
.cm-featured-category-slider .cm-slide-content .cm-entry-title a.more-link:hover { color: #fff; background-color:transparent; text-decoration:underline }
.cm-featured-category-slider .cm-slide-content .cm-entry-title a.more-link span { color: #fff; font-size:1.0em; }
.cm-featured-category-slider .cm-slide-content { background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.9))); background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.9));}

	
/* Podcast und Videos */
#sticky-posts-16 .entry-content { background-color:#f8f8f8; padding: 10px 10px 0px 10px; display:block; overflow:hidden; } 
#sticky-posts-16 .entry-content p b, #podcasts.entry-content p { margin:0px; line-height:1.6em; }
#sticky-posts-16 .entry-content p b, #podcasts.entry-content p b { line-height:1.6em; } /*  */
/* .plyr__controls { margin:0px; padding:0px 0px 0px 0px; } */
.plyr__control { display:block; margin:0px; }
.plyr__controls { margin:5px 0px 5px 0px; padding:10px 0px 10px 0px; background-color:#eee; }
.plyr__controls button.plyr__control:hover svg { color:#fff; }
#podcasts article { display:block; overflow:hidden; background-color:#f8f8f8; padding: 10px 10px 0px 10px; -webkit-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1); box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1); margin:0px 0px 30px 0px; } 
#podcasts .entry-content { display:block; }
#sticky-posts-16 iframe, #podcasts iframe { width:800px; height:442px; margin:5px 0px 10px 0px;	border:1px solid #ccc; margin: 5px 0px 5px 0px; }
#sticky-posts-16 article a.godi,   #podcasts article a.godi   { background-image:url("img/hausgottesdienst-icon.png"); background-size:auto 100%; background-position:0px 0px; background-repeat:no-repeat; width:50%; margin:5px 0px 15px 0px; padding:0px 0px 0px 60px; float:left;  display:block; overflow:hidden; font-size:0.85em; line-height:1.2em; }
#sticky-posts-16 article a.family, #podcasts article a.family { background-image:url("img/familien-icon.png");         background-size:auto 100%; background-position:0px 0px; background-repeat:no-repeat; width:50%; margin:5px 0px 15px 0px; padding:0px 0px 0px 60px; float:right; display:block; overflow:hidden; font-size:0.85em; line-height:1.2em; }

/* Beiträge */
.article-content { background-color:#f8f8f8; padding: 0px 10px; }
.etry-title, .below-entry-title,.entry-content { padding: 0px; }
.widget_featured_posts img { margin-bottom:0px; }
#colormag_featured_posts_widget-7 .above-entry-meta { display:none; }
#colormag_featured_posts_widget-7 .below-entry-meta .byline { display:none; }
#colormag_featured_posts_widget-7 .below-entry-meta .comments { display:none; }
#colormag_featured_posts_widget-7 .below-entry-meta .posted-on time::before { content: " veröffentlicht am "; }
#colormag_featured_posts_widget-7  { margin: 0px 0px 10px 0px; }
#colormag_featured_posts_widget-7 .single-article { background-color:#f8f8f8; }

/* Kurzmitteilungen */
#category-posts-4 { display:block; overflow:hidden; background-color:#f8f8f8; margin:0px 0px 30px 0px; box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1); padding:10px; }
#category-posts-4 ul.category-posts-internal li { float:left; margin: 0px 10px 0px 0px; display: inline;}
#category-posts-4 ul.category-posts-internal li a .cat-post-title::after { content: " +++ "; }

/* Sticky Posts */
#sticky-posts-17 article { padding:0px; }
#sticky-posts-17 .post { background-color:#f8f8f8; margin: 0px 0px 30px 0px; }
#sticky-posts-17 .entry-content { background-color:#f8f8f8; padding: 10px 10px 10px 10px; margin:0px; }
#sticky-posts-17 .entry-content p { margin:0px; }
#sticky-posts-17 .entry-content h3 { margin-bottom:5px; }
#sticky-posts-17 .entry-image { width:390px; float:left; margin: 0px 20px 0px 0px; }

section.widget h3.widget-title a.more { display:block; float:right; text-align:right; padding:6px 12px; color:#333; }
section.widget h3.widget-title a.more:hover { color: #65899c; }

/* Anzeige Beitrag einzeln / Allgemeines */
#primary .article-content .above-entry-meta { display:none; }
#primary .article-content .below-entry-meta .byline { display:none; }
#primary .article-content .below-entry-meta .comments { display:none; }
#content .entry-content blockquote { background:#aaa; }
#content .entry-content td { border: 0px; vertical-align:top; border-bottom: 1px solid #ccc; }
#content .post img { margin-bottom: 5px;}
h2 { font-size:1.6em; font-weight:normal; }
h3 { font-size:1.4em; font-weight:normal; }
h4 { font-size:1.2em; font-weight:normal; }
h5 { font-size:1.0em; font-weight:normal; }
h5 { font-size:0.9em; font-weight:bold; }
h6 { font-size:0.8em; font-weight:bold; }
.entry-content li { line-height: 1.6em; font-size:15px; margin: 0px 0px 10px 0px; }
.entry-content ol { counter-reset: item; list-style-type: none; padding:0px; } 
.entry-content ol > li { counter-increment: item; display:block; padding:0px; }
.entry-content ol > li:before { content: counter(item,lower-alpha) ") "; }
.featured-image { margin-bottom: 0px; }
figure.wp-caption { border:0px; }
figure.wp-caption figcaption { text-align:left; margin:0px; padding:0px; font-size:0.85em; }
a.pdf { background-image:url("img/pdf-icon.png"); background-size:auto 100%; background-position:0px 0px; background-repeat:no-repeat; width:50%; margin:5px 0px 15px 0px; padding:0px 0px 0px 60px; float:none;  display:block; overflow:hidden; font-size:0.85em; line-height:1.2em; }

/* Box für wichtige Mitteilungen (Startseite, Spendenseite) */
div.alert { background-color: #65899c; padding: 10px 20px 0px 20px; margin:0px 0px 20px 0px; display:block; overflow:hidden;  } /* background-image: url('/wp-content/uploads/2022/02/urkaine.jpg'); background-size: cover; */
div.alert h3 { color: #ffffff; font-size:1.3em; font-weight:bold; text-shadow: 1px 1px #000000; }
div.alert p { color:#ffffff; font-size:1.0em; font-weight:normal; text-align: justify; } /* text-shadow: 1px 1px #000000;  */
div.alert p a { color:#ffffff; border-bottom: 1px dotted #fff; }
div.alert p a:hover { color:#ffffff; border-bottom: 1px solid #fff; } 

@media only screen and (min-device-width : 375px) and (max-device-width : 812px) and (-webkit-device-pixel-ratio : 3) { 
	.cm-featured-category-slider .slide-content .entry-title { font-size: 1.8em; font-weight:bold; }
	div.alert { background-color: #65899c; padding: 20px; margin:0px 0px 20px 0px; display:block; overflow:hidden; }
	div.alert h3 { color: #ffffff; font-size:1.2em; font-weight:bold; }
	div.alert p { color:#ffffff; font-size:0.9em; font-weight:normal; text-align: justify; }
 }

  /* //////////// */
 /* Seitenleiste */
/* //////////// */

#secondary { width: 305px; }
#text-22 hr, #text-25 hr, #text-39 hr { margin: 7px 0px 7px 0px; }
#text-22 p, #text-25 p, #text-39 p { margin: 0px; padding: 4px 0px 0px 0px; } 
#text-22 a, #text-25 a, #text-39 a { font-size: 1.2em; }
#text-22 a img, #text-25 a img, #text-39 a img { width:30px; height:30px; margin:0px 10px 0px 0px; }

/* Grayscaled Button */
#text-3 img.button, #text-22 img.button, #text-23 img.button, #text-25 img.button, #text-39 img.button {
	filter: gray; /* IE */ 
	-webkit-filter: grayscale(1) opacity(.5); /* Old WebKit */
	-webkit-filter: grayscale(100%) opacity(.5); /* New WebKit */ 
	filter: url(grayscale.svg#desaturate) opacity(.5); /* older Firefox */
	filter: grayscale(100%) opacity(.5); /* Current draft standard */
}

/* Disable grayscale on hover */
#text-3 a:hover img.button, #text-22 a:hover img.button, #text-23 a:hover img.button, #text-25 a:hover img.button, #text-39 a:hover img.button {
	-webkit-filter: grayscale(0) opacity(1);
	filter: none;
}

/* Kurzmitteilungen Pastoraltream 
#secondary .widget p > small  { display: none; } */ /* Temprär Warnhinweis auf Pro-Version ausblenden */

/* Newsletter */
#mailpoet_form_6 .mailpoet_paragraph  { display:block; float:left; width: 255px; }
#mailpoet_form_6 .mailpoet_paragraph.last { display:block; width: 45px; margin: 0px 0px 0px 5px; }
#mailpoet_form_6 form.mailpoet_form { padding: 0px !important; }
#mailpoet_form_6 input[type='submit'] { background-color:#aaa; height:32px; padding:0px !important; }
#mailpoet_form_6 p.mailpoet_validate_success { width: 100%; text-align:left; }

/* Jobs */
.sjb-company-wrapper-details-list { padding:0px 10px !important; }
.sjb-without-logo { height:100%; vertical-align:middle; }
.job-title { font-size: 1.5em; color:#b91643; font-weight:bold; }
.job-without-company { vertical-align:middle; height:100%; padding: 15px 0px; }
.job-date { display:none; }
.sjb-job-type-location-date { border:0px !important; padding-top:0px !important; }
.article-content { background-color:#ffffff; }
.sjb-page { padding:0px; }
.sjb-detail { margin:0px !important; }
.sjb-company-wrapper-details { display:none; }

/* Beitragsseiten: kein Blättern zum vorherigen/nächsten Beitrag am unteren Rand (beide Layouts).
   Nur .single – auf Übersichten ist .default-wp-page die Seitennummerierung. */
.single ul.default-wp-page { display: none; }

/* Termine aus dem Kalender ([stb_kalender], inc/kalender-shortcode.php): nach Monat und Tag gruppiert */
.stb-kal { margin: 0 0 24px; }
.stb-kal__monat { margin: 0 0 28px; }
.stb-kal__monatstitel { margin: 0 0 8px !important; padding: 0 0 8px; border-bottom: 3px solid #466f8f; font-size: 24px; font-weight: 600; color: #3a5f7c; }
.stb-kal__tag { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid #e1e5e8; }
.stb-kal__datum { display: flex; flex-direction: column; align-items: center; justify-content: center; align-self: start; padding: 6px 0 4px; border-radius: 4px; background: #eef3f6; color: #3a5f7c; line-height: 1.1; }
.stb-kal__datum span { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.stb-kal__datum b { font-size: 24px; font-weight: 700; }
.stb-kal__tagestitel { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.stb-kal__eintraege ul { list-style: none; margin: 0 !important; padding: 0 !important; }
.stb-kal__termin { display: grid; grid-template-columns: 96px minmax(0, 1fr) minmax(0, 15em); gap: 4px 16px; align-items: baseline; margin: 0 !important; padding: 4px 0; line-height: 1.4; }
.stb-kal__termin::before { content: none !important; }
.stb-kal__zeit { font-weight: 600; color: #b01d57; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stb-kal__titel { font-weight: 600; }
.stb-kal__ort { color: #5a6870; font-size: .92em; }
.stb-kal__ort::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 7px; border-radius: 50%; background: #6e6e6e; vertical-align: 1px; }
.stb-kal__ort--aur::before { background: #1e9606; }
.stb-kal__ort--bie::before { background: #c50000; }
.stb-kal__ort--del::before { background: #8e0696; }
.stb-kal__ort--erb::before { background: #01a76e; }
.stb-kal__ort--nor::before { background: #043ba0; }
.stb-kal__ort--son::before { background: #e27000; }
.stb-kal__termin--entfaellt :is(.stb-kal__zeit, .stb-kal__titel) { text-decoration: line-through; color: #8a949b; }
.stb-kal__termin--entfaellt .stb-kal__titel::after { content: " (entfällt)"; display: inline-block; text-decoration: none; font-weight: 400; }
.stb-kal__hinweis { padding: 12px 16px; background: #f8f8f8; border-left: 4px solid #466f8f; }
.stb-kal__quelle { margin: 8px 0 0; font-size: .92em; color: #5a6870; }
@media (max-width: 640px) {
	.stb-kal__tag { grid-template-columns: 48px minmax(0, 1fr); gap: 12px; }
	.stb-kal__termin { grid-template-columns: 1fr; gap: 0; padding: 6px 0; }
	.stb-kal__termin + .stb-kal__termin { border-top: 1px dashed #e1e5e8; }
}

/* Pastoralteam (Vorlage vorlagen/pastoralteam.html): Personen als Karten mit Foto, Name, E-Mail */
.stb-team-intro { margin: 0 0 20px; }
.stb-team { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; margin: 0 0 24px; }
.stb-team--drei { grid-template-columns: repeat(3, minmax(0, 1fr)); } /* z. B. sechs Personen: 3 + 3 */
@media (max-width: 520px) { .stb-team--drei { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stb-team-person { display: flex; flex-direction: column; background: #f8f8f8; border-radius: 3px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.stb-team-person img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: center top; margin: 0 !important; float: none !important; }
.stb-team-text { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; line-height: 1.35; }
.stb-team-rolle { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #6e6e6e; hyphens: auto; -webkit-hyphens: auto; }
.stb-team-text strong { font-size: 17px; font-weight: 600; hyphens: manual; }
.stb-team-foto { display: block; width: 100%; aspect-ratio: 154 / 198; background-repeat: no-repeat; background-color: #e9e9e9; }
.stb-team-info { font-size: 14px; color: #6e6e6e; }
.stb-team-text a { font-size: 14px; overflow-wrap: anywhere; text-decoration: none; }
.stb-team-text a:hover { text-decoration: underline; }
.stb-team-hinweis { padding: 12px 16px; background: #f8f8f8; border-left: 4px solid #65899c; }
.stb-team p:empty, .stb-team br { display: none; }

  /* ////// */
 /* Footer */
/* ////// */
#cm-footer .cm-footer-cols { background-color: #4e6978; }
#cm-footer .cm-footer-bar.cm-footer-bar-style-1 { display:none; }
.tg-first-footer-widget .textwidget p { color:#dcf3ff; }
#colophon .widget ul li { padding:0px; margin:0px; border:0px; float:left; }
.share i.fa { padding: 0px 15px 0px 0px; color: #eee; }
.cli-tab-footer .wt-cli-privacy-accept-btn { background-color: #b91643; }
