/*
Theme Name: mutterbrett.net
Theme URI: https://georg-sieber.de
Version: 1.1
Description: Individuelles WordPress-Design für das Mutterbrett.
Author: Georg Sieber
Author URI: https://georg-sieber.de
*/


@font-face {
	font-family: "Lato";
	font-weight: 200;
	font-style: normal;
	src: url("font/Lato-Light.ttf");
}
@font-face {
	font-family: "Lato";
	font-weight: 200;
	font-style: italic;
	src: url("font/Lato-LightItalic.ttf");
}
@font-face {
	font-family: "Lato";
	font-weight: 500;
	font-style: normal;
	src: url("font/Lato-Regular.ttf");
}
@font-face {
	font-family: "Lato";
	font-weight: 500;
	font-style: italic;
	src: url("font/Lato-Italic.ttf");
}
@font-face {
	font-family: "Lato";
	font-weight: 800;
	font-style: normal;
	src: url("font/Lato-Bold.ttf");
}
@font-face {
	font-family: "Lato";
	font-weight: 800;
	font-style: italic;
	src: url("font/Lato-BoldItalic.ttf");
}
@font-face {
	font-family: "Lato";
	font-weight: 900;
	font-style: normal;
	src: url("font/Lato-Black.ttf");
}
@font-face {
	font-family: "Lato";
	font-weight: 900;
	font-style: italic;
	src: url("font/Lato-BlackItalic.ttf");
}
@font-face {
	font-family: "ZillaSlab";
	font-weight: 800;
	src: url("font/ZillaSlabHighlight-Bold.ttf");
}
@font-face {
	font-family: "ZillaSlab";
	font-weight: 500;
	src: url("font/ZillaSlabHighlight-Regular.ttf");
}


html, body {
	height: 100%;
	margin: 0px; padding: 0px;
	font-family: 'Lato', sans-serif;
	font-size: 18px;
	color: #333;
	background-color: rgba(253,253,253,1);
}
body {
	height: 100%;
	overflow-y: scroll;
	overflow-x: auto;
}

h1 {
	font-weight: 300;
	font-size: 30px;
	line-height: 42px;
	margin: 0px 0px 23px 0px;
	padding: 45px 0px 0px 0px;
}
h2 {
	font-weight: 300;
	font-size: 26px;
	line-height: 36px;
	margin: 0px 0px 19px 0px;
	padding: 36px 0px 0px 0px;
}
h3 {
	font-weight: 300;
	font-size: 22px;
	line-height: 30px;
	margin: 0px 0px 16px 0px;
	padding: 33px 0px 0px 0px;
}
h4 {
	font-weight: 800;
	font-size: 18px;
	line-height: 25px;
	margin: 0px 0px 13px 0px;
	padding: 27px 0px 0px 0px;
}
h5 {
	font-weight: 800;
	font-size: 13px;
	line-height: 42px;
	margin: 0px 0px 10px 0px;
	padding: 20px 0px 0px 0px;
}

a {
	color: #0079D8;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}
a:hover, a:focus {
	text-decoration-style: dashed;
}

.gallery {
	text-align: center;
}
.gallery img, .gallery video {
	box-shadow: 0px 0px 8px rgba(0,0,0,0.4);
	border: 1px solid white;
	width: 500px;
	max-width: 100%;
}
.gallery.small img {
	width: 250px;
	max-width: 100%;
}

img {
	max-width: 100%;
}
.border {
	border: 1px solid white;
	box-shadow: 0px 0px 3px rgba(0,0,0,0.7);
	border-radius: 2px;
}
.block {
	display: block;
}
.hint {
	font-size: 90%;
	color: gray;
}

#pageheader {
	position: relative;
	background-color: rgb(248,248,248);
	border-bottom: 1px solid rgb(200,200,200);
}
#pageheader > div {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 0px;
	gap: 10px;
}
#menutitle h1 {
	font-family: 'ZillaSlab';
	font-weight: bold;
	text-decoration: none;
	padding: 0px;
	margin: 0px;
	vertical-align: middle;
}

#pageheader > div, .maincontent {
	width: 95%;
	margin: auto;
	max-width: 800px;
}
#menu {
	font-weight: bold;
}
#menu > a {
	display: inline-block;
	padding: 8px 18px 9px 18px;
	/*margin: 0px 5px;*/
	font-size: 16px;
	font-weight: 900;
	text-decoration: none;
	vertical-align: top;
}
#menu > a.imglink {
	padding-top: 6px;
	padding-bottom: 6px;
}
#menu > a.imglink img {
	height: 25px;
	vertical-align: middle;
}
#menu > a:active {
	opacity: 0.6;
}

ul.menu li {
	list-style-type: none;
	display: inline-block;
}


.maincontent, #footer {
	line-height: 1.6;
	margin-top: 50px;
}
.maincontent .header {
	padding-bottom: 2%;
}
.maincontent.single .header {
	border-bottom: 1px solid #0079D8;
}
.maincontent .header h1 {
	margin-bottom: 0px;
	padding-top: 0px;
}
.maincontent .header a {
	text-transform: uppercase;
	text-underline-offset: 4px;
}
.maincontent.single .header a {
	text-decoration: none;
}
.maincontent .header .meta {
	font-size: 80%;
	opacity: 0.6;
	margin-top: 5px;
}
.maincontent .body {
	text-align: justify;
}
.maincontent .body .gallery img {
	border-radius: 2px;
}
.maincontent .body ul {
	padding-left: 20px;
	list-style-type: square;
}


table td, table th {
	padding: 4px 6px;
}
table td:first-child, table th:first-child {
	padding: 4px 0px;
}
table th {
	text-align: left;
}
.wp-block-table.is-style-stripes tbody tr:nth-child(2n+1) {
	background-color: rgba(150,150,150,0.2) !important;
}


.quote {
	font-style: italic;
	border-left: 1px solid #0F7C9D;
	padding: 1% 4%;
}
code {
	background-color: rgba(150,150,150,0.2);
	border-radius: 4px;
	padding: 1px 4px;
}
.wp-block-code code {
	padding: 6px 8px;
	text-wrap: nowrap !important;
	display: block;
	overflow: auto !important;
	max-height: 800px;
}

figure.wp-lightbox-container img {
	cursor: pointer;
}
figcaption {
	font-size: small !important;
}
.wp-block-image figcaption {
	position: static !important;
	background: none !important;
	text-align: left !important;
	color: inherit !important;
}
.wp-block-image figcaption:before {
	content: '\2014';
	margin-right: 5px;
}
.wp-block-image:hover {
	background-color: rgba(0,121,216,0.2);
}
.alignwide {
	margin-left: -20%;
	margin-right: -20%;
}

/* override blur and text-shadow introduced with WordPress 6.7 */
.wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption)::before {
	backdrop-filter: none !important;
}
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
	text-shadow: none !important;
}

form.wpcf7-form input,
form.wpcf7-form textarea {
	width: 100%;
}
input, textarea, select, button {
	font-family: inherit;
	font-size: inherit;
	padding: 2px;
	box-sizing: border-box;
}
input[type=submit] {
	font-weight: bold;
	cursor: pointer;
}
#respond, .comment-list {
	border-top: 1px solid #0079D8;
}
.comment-form textarea {
	resize: vertical;
}
.comment-list {
	padding: 0px;
}
.comment-list, .post-meta {
	padding-top: 19px;
}
.post-meta {
	margin-top: 21px;
	margin-bottom: 21px;
}
.comment-list > *:first-child,
#respond > *:first-child {
	margin-top: 0px;
}
#respond label:not([for=wp-comment-cookies-consent]),
#respond input:not([type=checkbox]):not([type=radio]),
#respond textarea {
	display: block;
	width: 100%;
}
.comment-list > li {
	list-style-type: none;
}
.comment-list .comment-meta,
.post-meta {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: center;
}
.comment-list .comment-meta > *,
.post-meta > * {
	margin-right: 8px;
}
.comment-list .comment-meta .comment-metadata,
.post-metadata {
	font-size: 90%;
	color: gray;
}
.comment-list .comment-meta a {
	text-decoration: none;
	color: inherit;
}
.comment-list .comment-reply-link {
	font-weight: bold;
}
.comment .comment {
	border-left: 1px solid rgb(35,35,35);
	padding-left: 22px;
}


#footer {
	font-size: 90%;
	padding: 15px;
	text-align: center;
	background-color: rgb(250,250,250);
	border-top: 1px solid rgb(200,200,200) !important;
}


@media (max-width: 1050px) {
	.alignwide {
		margin-left: auto;
		margin-right: auto;
	}
}
@media (max-width: 850px) {
	.maincontent, #footer {
		margin-top: 25px;
	}
	#menutitle h1 {
		font-size: 20px;
	}
	#menutitle {
		display: block;
		text-align: center;
	}
	.maincontent .body > p:last-child {
		margin-bottom: 45px;
	}
	.textlogo-container {
		text-align: center;
	}
}
@media (max-width: 600px) {
	img, .alignright, .alignleft {
		float: none !important;
		margin-left: auto !important;
		margin-right: auto !important;
	}
}

@media (prefers-color-scheme: dark) {
	html, body {
		background-color: #0D1117;
		color: rgba(255,255,255,0.95);
	}
	#pageheader {
		background-color: #161B22;
		border-color: #30363D;
	}
	.border {
		border-color: #30363D;
	}
	#footer, .gallery > a {
		background-color: #161B22;
		border-color: #30363D !important;
	}
	div.wp-lightbox-overlay div.scrim {
		background-color: #000 !important;
	}
	div.wp-lightbox-overlay button.close-button path {
		fill: #fff;
	}
}
