/*
Theme Name:   Bookcase Child
Theme URI:    https://www.hunde-in-not-pfarrkirchen-ev.de
Description:  Child-Theme für Hunde in Not Pfarrkirchen e. V. auf Basis von Bookcase 1.56
Author:       elements webdesign
Template:     bookcase
Version:      1.0.1
Text Domain:  bookcase-child
*/

/*
 * Ladereihenfolge im Frontend: css/light.css (fest in header.php), Plugin-CSS,
 * Parent style.css, dieses Stylesheet, danach das dynamische Theme-CSS
 * (index.php?ag_custom_var=css). Gesteuert in functions.php.
 *
 * Abschnitt 1 stammt aus Theme-Optionen > Custom CSS (Option of_custom_css),
 * Abschnitt 2 aus dem Plugin Simple Custom CSS (Option sccss_settings).
 * Beide Quellen wurden am 2026-10-15 hierher übernommen und auf dev geleert.
 */

/* ---------- 0. Schrift lokal (Zusatzpunkt 2026-10-15) ---------- */
/* Open Sans Regular, Lizenz SIL OFL 1.1 (fonts/OFL.txt). Ersetzt den Google-Webfont-Loader
   aus dem Parent-header.php. Das Theme lud nur Schnitt 400, fett/kursiv synthetisiert der Browser. */
@font-face {
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('fonts/open-sans-latin-400.woff2') format('woff2');
}

/* ---------- 1. Ehemals Theme-Optionen > Custom CSS ---------- */

.subsection { width: 900px; }
.description { margin-bottom: 5px; }
.logo { margin: 0 0 15px; }
.logonav { padding: 40px 20px 30px; width: 210px; }
.sidebar { padding-left: 15px; width: 157px; padding-right: 5px; }
.item .icons,
.blogfooter ul { display: none; }
#footer { display: none; }
.sf-vertical,
.sf-vertical li { width: 200px; }
.pagename { background: #E30613; width: 712px; }
body { background-color: #F4E7BC; line-height: 1.4; }
.sf-menu a:hover { color: #E30613; }
.sf-menu a { font-weight: bold; }

.menu-spenden a,
.menu-spenden a:visited,
.menu-spenden a:hover { color: #E30613; }

/* Seite "Impressionen vom Gnadenhof" */
/* .page-id-706 .subsection { display: none; }  entfernt 2026-10-20: versteckte den Inhalt, als WP-Supersized die Vollbild-Show zeigte; jetzt Core-Galerie sichtbar */
.page-id-706 ul li { margin-left: 0; }

.sf-menu,
.sf-menu * { font-size: 14px; }

/* Formularfelder (Original-Selektor beibehalten, gilt seitenweit außer dem ersten Teil) */
.page-id-274 input[type=text],
input[type=email],
select,
textarea,
checkbox,
wpcf7-list-item-label {
	font-size: 15px;
	width: 90%;
	padding: 10px;
	margin: 0 0 20px 0;
	background: #fff;
	color: #555;
}

/* ---------- 2. Ehemals Plugin Simple Custom CSS ---------- */

/* Seite "Downloads" */
.page-id-2510 .sdm_download_description {
	width: inherit;
	white-space: pre-wrap;
}
.page-id-2510 .h3 {
	margin: 0;
	padding: 0;
	font-size: 18px;
	font-weight: bold;
	line-height: 24px;
}

/* cforms2-Formulare, entfällt nach Umstellung auf CF7 (Pos. 2.4) */
.cform { width: 500px; }
.cform label {
	margin: 0;
	display: inline;
	font-size: 15px !important;
}
