/*!
Theme Name: buchtypo
Theme URI: http://underscores.me/
Author: Uwe Ahlgrimm
Author URI: https://www.uwe-ahlgrimm.de/
Description: Description
Version: 1.1.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: buchtypo
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

buchtypo is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
# Fonts
--------------------------------------------------------------*/
@font-face {
	font-family: 'Calibre-Light';
	font-style: normal;
	src: url('fonts/Calibre-Light.eot'); /* IE9 Compat Modes */
	src: local('Calibre-Light'),
	url('fonts/Calibre-Light.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
	url('fonts/Calibre-Light.woff2') format('woff2'), /* Super Modern Browsers */
	url('fonts/Calibre-Light.woff') format('woff'); /* Modern Browsers */
}
@font-face {
	font-family: 'Calibre-LightItalic';
	font-style: italic;
	src: url('fonts/Calibre-LightItalic.eot'); /* IE9 Compat Modes */
	src: local('Calibre-LightItalic'),
	url('fonts/Calibre-LightItalic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
	url('fonts/Calibre-LightItalic.woff2') format('woff2'), /* Super Modern Browsers */
	url('fonts/Calibre-LightItalic.woff') format('woff'); /* Modern Browsers */
}
@font-face {
	font-family: 'Calibre-Regular';
	font-style: normal;
	src: url('fonts/Calibre-Regular.eot'); /* IE9 Compat Modes */
	src: local('Calibre-Regular'),
	url('fonts/Calibre-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
	url('fonts/Calibre-Regular.woff2') format('woff2'), /* Super Modern Browsers */
	url('fonts/Calibre-Regular.woff') format('woff'); /* Modern Browsers */
}
/*--------------------------------------------------------------
# Variable
--------------------------------------------------------------*/
/* 	header 			#fbf3ef oder #f0d7cf (original)
	rote linien 	#fd3b4e
	schrift			#6c6364
*/
:root {
	--rot: #c51a1b;
	--bkgr: #fbf3ef;
	--nav: #888888;
	--schwarz: rgb(69,65,50);
	--grau: rgb(209,200,196);
	--linie-grau: rgb(108,99,100);

	/*--gross: 1.8em;*/ /* 20pt = 26px = 1.6em */
	--gross: 28.8px; /* 20pt = 26px = 1.6em */
	--normal: 1.6em; /* 20pt = 26px = 1.6em */
	--klein: 17px; /* 12pt = 16px = 1em */

	--zgross: 29px; /* 22pt = 29px = 1.8em */
	--zklein: 20px; /* 14pt = 20px = 1.25em */

	--spacing: 0.7px;
}

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	/*line-height: 1.15;*/
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	color:#000;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: var(--klein);
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: var(--klein);
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
/*.has-large-font-size {
	font-size: var(--gross) !important;
}*/
body,
button,
input,
select,
optgroup,
textarea {
	color: var(--schwarz);
	font-family: 'Calibre-Light', -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
	font-size: 16px;
	font-size: 1rem;
	line-height: var(--zklein);
	font-weight: normal;
	letter-spacing:var(--spacing);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Calibre-Regular', -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
	clear: both;
	font-weight: 300;
	margin:0;
	/*font-size: 1.5em;*/
	font-size: var(--gross);
	line-height: var(--zgross);
}

p {
	margin: 0 0 1em 0;
}
p.related-title {
	margin:0;
}

dfn,
cite,
em,
i {
	font-style: italic;
	font-family: 'Calibre-LightItalic', -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1em 0em;
	padding:0 0 0 1.5em;
}

ul {
	list-style: none;
}
ul li {
	position: relative;
}
.entry-content ul li:before {
	content: "− ";
	position: absolute;
	left: -1em;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}
.gallery figure {
	margin: 0 3% 3% 0;
}
.gallery figure:nth-child(2) {
	margin: 0 0 3% 0;
}
table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: var(--schwarz);
	text-decoration: none;
	/*border-bottom: 1px solid var(--schwarz);*/
}

a:visited {
	color: var(--schwarz);
}

a:hover,
a:focus,
a:active {
	color: var(--rot);
	/*border-bottom: 1px solid var(--rot);*/
}

a:focus {
	outline: none;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/
.site-header {
	background-color: #ffffff;
	/*padding: 25px 0 25px 35px;*/
	padding: 23px 35px 19px 35px;
	width:100%;
	/*height:84px;*/
	/*height:72px;*/
	position: fixed;
	top:0;
	z-index: 1000;
	transition: top 0.5s ease-out;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.site-icon {
	display: none;
}
@media screen and (min-width: 850px) {
	.scroll-down .site-header {
		top:-100px;
	}
	.scroll-up .site-header {
		top:0;
	}
	.site-icon {
		width:40px;
		height:auto;
		/*float:right;*/
		/*margin: 20px 35px 0 0;*/
		margin: 0;
		display: block;
	}
	.site-icon .icon:hover {
		filter: grayscale(100%) opacity(50%);
	}
}
.site-header p {
	margin:0;
}
.logo-mobile {
	display:none;
	/*line-height: 1.1em;*/
	/*padding: 0;*/
	/*font-family: 'Calibre-Regular', -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;*/
	width:40px;
	height:40px;
	/*margin: -8px 0 0 0;*/
}
/*.logo-mobile a {
	color:var(--rot);
}*/
.main-navigation {
	/*float:left;*/
	/*margin: 25px 0 0 35px;*/
	padding:0;
}

@media only screen and (-webkit-min-device-pixel-ratio : 1.5),
only screen and (min-device-pixel-ratio : 1.5) {
	/*.main-navigation {
		margin: 3px 0 0 0;
	}
	.main-navigation.toggled a {
		padding: 0.7em 20px 0.3em 20px !important;
	}*/
}
.home .site-main,
.kontakt .site-main,
.page-id-2155 .site-main {
	margin: 72px 35px 100px 35px;
}
.site-main {
	margin: 160px 35px 70px 35px;
}
.archive .site-main {
	margin: 59px 35px 70px 5px;
	max-width:none;
}
.single .site-main,
.archive .site-main {
	max-width:none;
	width: calc(100% - 5px);
}
.single .site-main {
	width:calc(100% - 40px);
}
#inhalt {
	max-width: 1024px !important;
}
.schmal {
	max-width:1024px;
	font-size: var(--normal);
	line-height: var(--zgross);
	clear: both;
}
.site-footer strong,
.schmal strong,
.schmal b {
	font-family: 'Calibre-Regular', -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
	font-weight: normal;
}
.schmal em,
.schmal i {
	font-family: 'Calibre-LightItalic', -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
	font-style: normal;
	color: var(--rot);
	font-weight: normal;
}
.entry-header,
.page-header span {
	display:none;
}
.page-header  {
	padding: 0 0 10px 40px
}
/* Template Informationen */
#portrait img {
	width: 100% !important;
	height:auto;
	max-width: none !important;
}
#linke-spalte,
#rechte-spalte {
	font-size: var(--normal);
	line-height: var(--zgross);
}
#datenschutz {
	font-size: var(--klein);
	line-height: var(--zklein);
}

#linke-spalte h2,
#linke-spalte h3,
#rechte-spalte h2,
#rechte-spalte h3,
#datenschutz h2,
#datenschutz h3 {
	font-size: var(--klein) !important;
	line-height: var(--zgross);
	color: var(--rot);
}
#linke-spalte a,
#rechte-spalte a,
#datenschutz a {
	color: var(--schwarz);
}
#linke-spalte a:hover,
#rechte-spalte a:hover,
#datenschutz a  a:hover  {
	color: var(--rot) !important;
}
.page-id-2155 h2 a {
	color:var(--rot);
}
.page-id-2155 h2 a:hover {
	color:var(--schwarz);
}
/* Portfolio */
.tb-brick__content {
	position: relative;
}
#infolayer {
	position: absolute;
	top:0;
	left:1px;
	right:1px;
	bottom: 1px;
	width:calc(100% - 2px);
	height:calc(100% - 1px);
	color: var(--schwarz);
	z-index: 99;
	background-color: #fff;
}
#close {
	position: absolute;
	top:14px;
	right: 14px;
	width: 35px;
	height:35px;
	cursor: pointer;
	font-size: 50px;
	text-align: center;
	padding: 5px;
	line-height: 0.2em;
}
#informationen {
	color: var(--schwarz);
	margin-left: 40px;
}
/*#thumbnail {
	cursor: pointer;
}*/
.versteckt {
	/*display: none !important;*/
	visibility: hidden;
	opacity: 0;
	transition: visibility 0s 0.3s, opacity 0.3s linear;
}
.sichtbar {
	/*display: block !important;*/
	visibility: visible;
	opacity: 1;
	transition: opacity 0.3s linear;
}
/*#infolayer:hover  {
	display: block;
}*/
.titel,
.kategorie,
.infos {
	font-size: var(--gross);
	line-height: var(--zgross);
}
.jahr {
	font-size: var(--klein);
	line-height: var(--zgross);
}
.archive .titel,
.archive .kategorie,
.archive .jahr,
.archive .infos {
	line-height: 27px;
}
.jahr {
	/*margin-bottom: 24px !important;*/
}
.kategorie {
	color: var(--schwarz);
}
.archive .kategorie {
	color: var(--schwarz);
	font-size: var(--klein);
	margin-top: 0.75em;

}
.tb-grid-column {
	position: relative;
}
/*#link a {
	position: absolute;
	top:0;
	left:0;
	height: 100%;
	width:100%;
	z-index: 10000;
}*/
#link:hover .thumb {
	filter: opacity(50%);
	-webkit-filter: opacity(30%);
	-moz-filter: opacity(30%);
	transition: all ease-in-out 0.5s;
}
#link:hover #thumbnail {
	background-color: #fff;
}
/*.archive .kategorie:hover {
	color: var(--rot);
}*/

/*.infos {
	font-size: var(--klein);
	line-height: var(--zklein) !important;
	color: var(--rot);
}*/
/* Small menu. */
.menu-toggle {
	display: none;
}

/* Kunden */
/*.page-template-template-kunden .site-main {
	width:calc(100% - 80px);
}*/
.az  {
	font-size: var(--gross);
	line-height: var(--zgross);
	color: var(--schwarz);
	border-bottom: none;
}
/*.kundenNav1 {
	width:calc(484px - 50px);
}
.kundenNav1,
.kundenNav2 {
	float:left;
	margin: 0 50px 0 0;
}
.kundenNav1 h1,
.kundenNav2 h1 {
	color: var(--rot);
}
.kundenNav1 ul,
.kundenNav2 ul {
	list-style: none;
	margin:0;
	padding:0;
}
.kundenNav1 li.menu-item,
.kundenNav2 li.menu-item {
	margin: 0 0 50px 0;
}

.kundenNav1 ul li a,
.kundenNav2 ul li a {
	text-decoration: none;
	border-bottom: none;
	font-size: var(--normal);
	line-height: 1.1em;
	padding: 0;
	display: inline-block;
	color: var(--schwarz);
}
.kundenNav1 ul li a:hover,
.kundenNav2 ul li a:hover {
	color: var(--rot);
}*/
.category .wp-block-toolset-views-wpa-editor {
	float:left;
	width:calc(100% - 550px);
	border-left: 1px solid var(--schwarz) !important;
	margin-left:-1px;
}
.category .tb-field,
.tax-portfolio .tb-field {
	margin-bottom: 0 !important;
}
.tax-portfolio .tb-field.jahr {
	margin-bottom: 12px !important;
}
/*.home p,*/
.category p,
.page-template-template-kunden p,
.tax-portfolio p {
	margin:0 !important;
}
/*.tax-portfolio .tb-brick,
.home .tb-brick {
	margin-left: -1px;
}*/
/* Einzelne Projekte */
.linke-spalte {
	float:left;
	width:67%;
	margin: 0 0 55px 0;
}
.rechte-spalte {
	float:left;
	/*width:390px;*/
	width:33%;
	margin: 0 0 55px 0;
}
.related-kunden {
	margin-bottom:0.15em;
}
/*.relatedthumb {
	!*display: inline-block;*!
	float:left;
	width:175px;
	height:175px;
	!*float: left;*!
	!*border: 1px solid var(--grau);*!
	margin:0 15px 15px 0;
}
.relatedthumb img {
	width:auto;
	height:100%;
}
.relatedthumb a {
	border-bottom: 0;
}*/

/* Kontakt Impressum Datenschutz
--------------------------------------------- */
/*h1, h2, h3, h4 {
	font-size: var(--gross);
	line-height: var(--zgross);
}*/
.page-id-202 h2,
.page-id-2155 h2,
.kontakt h1,
.kontakt h2,
.kontakt h3,
.kontakt h4,
.kunden h1,
.kunden h2,
.kunden h3,
.kunden h4,
.impressum h1,
.impressum h2,
.impressum h3,
.impressum h4,
.datenschutz h1,
.datenschutz h2,
.datenschutz h3,
.datenschutz h4 {
	font-size: var(--gross);
	line-height: var(--zgross);
}
.page-id-202 h2,
.page-id-2155 h2 {
	margin-bottom: 0.5em;
}
.impressum .entry-content p,
.datenschutz .entry-content p,
.impressum .entry-content ul,
.datenschutz .entry-content ul {
	font-size: var(--normal);
	line-height: var(--zgross);
	color: var(--schwarz);
}

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation .menu-item-1174,
.main-navigation .menu-item-1176 {
	display: none;
}
.main-navigation {
	display: block;
}
.main-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.main-navigation li {
	float:left;
	margin-right: 1.2em;
}
.site-header {
	font-size: var(--normal);
}
.main-navigation a {
	font-family: 'Calibre-Regular', -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
	border: none !important;
	text-decoration: none;
	color: var(--nav);
	line-height: 1.1em;
	padding: 0.5em 0 0.5em 0;
}
.main-navigation a:hover,
.site-branding a:hover {
	color: var(--rot);
	border: none !important;
}
.main-navigation li.current-menu-item a,
.main-navigation li.current-menu-parent a,
.portfolio-grafik .main-navigation li.menu-item-1836 a  {
	color: var(--rot);
}

/*.main-navigation .logo a {
	color:var(--rot);
}*/
.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
}
.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}
.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}
.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}
/* Footer
--------------------------------------------- */
.site-footer {
	position: fixed;
	clear: both;
	padding: 8px 35px 10px 35px;
	width:100%;
	left:0;
	bottom:0;
	background-color: #fff;
}
.site-footer p {
	margin:0;
}
.adr {
	float:left;
}
.impr {
	float:right;
}
.adresse,
.adresse a {
	font-family: 'Calibre-Regular', -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
	font-size: var(--klein) !important;
	color: #000;
}
.adresse a:hover {
	color: var(--rot);
}
.service-nav {
	clear: both;
	margin: 100px 0 0 0;
	display:none;
}
.service .service-nav,
.kontakt .service-nav,
.impressum .service-nav,
.datenschutz .service-nav {
	display:block;
}
.service-nav .menu {
	list-style: none;
	margin: 0;
	padding:0;
}
.service-nav .menu a {
	border-bottom: none;
	padding:5px 0;
	font-size: var(--normal);
	/*display:inline-block;*/
	line-height: var(--zgross);
	color: var(--rot);
}
.service-nav .menu a:hover {
	color: var(--schwarz);
}
@media screen and (max-width: 1200px) {
	.home .service-nav,
	.kontakt .service-nav,
	.service .service-nav {
		margin: 1em 0 0 35px;
	}
}

@media screen and (max-width: 849px) {
	.home .service-nav,
	.kontakt .service-nav,
	.service .service-nav {
		margin: 1em 0 0 20px;
	}
}


/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 10px 20px;
}
@media screen and (min-width: 600px) {
	.gallery-item {
		width: 45%;
	}
}
/*.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}
.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}


.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}*/

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}
/* Mobile
--------------------------------------------- */
@media screen and (max-width: 1200px) {
	:root {
		--gross: 1.4em;
		/*--gross: 24.4px;*/
		--normal: 1.2em; /* 20pt = 26px = 1.6em */
		--klein: 14px; /* 12pt = 16px = 1em */
	}
	:root {
		--zgross: 24px; /* 22pt = 29px = 1.8em */
		--zklein: 20px; /* 14pt = 20px = 1.25em */
	}
	/*.site-header {
		height:73px;
	}*/
	.home .site-main,
	.kontakt .site-main,
	.page-id-2155 .site-main {
		margin: 73px 0 70px 0;
	}
	.schmal {
		margin: 0 20px 0 35px;
		max-width: 710px;
	}
	.kunden .schmal {
		margin: 0;
	}

	#inhalt {
		max-width: 710px !important;
	}
	figcaption {
		margin-left: 35px;
	}
}
@media screen and (max-width: 1100px) {
	.rechte-spalte {
		float:none;
		width:100%;
		margin:50px 0 55px 0;
	}
	.linke-spalte {
		width: calc(100% - 20px);
		margin: 0 20px 55px 0;
	}
}
@media screen and (max-width: 980px) {
	.adr {
		float:none;
	}
	.impr {
		float:none;
	}

}
@media screen and (max-width: 849px) {
	.wp-block-heading {
		hyphens: auto;
		-webkit-hyphens: auto;
		-moz-hyphens: auto;
	}
	.site-header {
		padding: 15px 20px;
		top: 0 !important;
	}
	.home figure {
		margin:0;
	}
	.site-main {
		margin: 73px 0 70px 20px;
	}
	.schmal {
		margin: 0 20px;
	}
	.kunden :where(.wp-block-columns.is-layout-flex) {
		gap: 0;
	}
	.portfolio .site-main {
		max-width: none;
		width:calc(100% - 80px);
	}
	.linke-spalte {
		float: left;
		width: calc(100% - 40px);
		margin: 0 40px 55px 0;
	}
	.logo-mobile {
		display:inline-block;
	}
	.main-navigation ul {
		display: none;
	}
	.main-navigation .menu-item-1174,
	.main-navigation .menu-item-1176 {
		display: block;
	}
	.menu-toggle {
		display: block;
		height: 40px;
		width: 45px;
		z-index: 10000;
		border:none;
		margin: 0;
		background-color: transparent;
		padding: 5px 10px;
		cursor: pointer;
		position: relative;
	}
	.icon-bar {
		border-radius: 0;
		display: block;
		height: 2px;
		width: 25px;
		background-color: var(--rot);
		/*margin: 4px 0;*/
	}
	.icon-bar {
		position: absolute;
		left:10px;
		transition:transform .2s ease;
		transform-origin: center;
	}
	.icon-bar.one{ top:12px; }
	.icon-bar.two{ top:calc(50% - 1px); } /* 1px = halbe Linienstärke */
	.icon-bar.three { bottom:12px; }

	.hamburger.is-active .icon-bar.one{
		transform:translateY(7px) rotate(45deg);   /* 8px = Mitte bei 18px Höhe */
	}
	.hamburger.is-active .icon-bar.two{
		opacity:0;
	}
	.hamburger.is-active .icon-bar.three{
		transform:translateY(-7px) rotate(-45deg);
	}

	.sr-only {
		border: 0 none;
		clip: rect(0px,0px,0px,0px);
		height: 1px;
		margin: -1px;
		overflow: hidden;
		padding: 0;
		position: absolute;
		width: 1px;
	}
	.main-navigation.toggled li {
		width: 100% !important;
	}
	.main-navigation.toggled .menu {
		display: block;
		position: absolute;
		z-index: 1000;
		-moz-column-count: unset;
		-moz-column-gap: unset;
		-webkit-column-count: unset;
		-webkit-column-gap: unset;
		column-count: unset;
		column-gap: unset;
		-moz-column-fill: unset;
		column-fill: unset;
		height: auto;
		background-color: #ffffff;
		top:70px;
		padding: 0;
		right: 0;
		width: 100% !important;
	}
	.main-navigation.toggled ul li {
		border-bottom: 1px solid #000000;
		text-align: left;
	}
	.main-navigation.toggled a {
		line-height: 1em;
		display:block;
		padding: 0.5em 20px 0.5em 20px;
	}
	.main-navigation.toggled .logo {
		display:none;
	}
	.kundenNav1,
	.kundenNav2 {
		width: unset;
		margin: 0;
	}
	.site-footer {
		position: relative;
		left:auto;
		bottom:auto;
		margin: 0 20px;
		padding:8px 0 10px 0;
		width:auto;
	}
	figcaption {
		margin-left: 20px;
	}
}
@media screen and (max-width: 599px) {
	#infolayer {
		top:0;
		left:0;
		right:0;
		bottom: 0;
		width:calc(100% - 2px);
		height:calc(100% - 15px);
	}
	.site-header {
		padding: 15px 10px 15px 20px;
	}
	.archive .wpv-block-loop-item {
		border-right: 0 !important;
	}
	.impressum h1,
	.impressum h2,
	.impressum h3,
	.impressum h4,
	.datenschutz h1,
	.datenschutz h2,
	.datenschutz h3,
	.datenschutz h4 {
		line-height: var(--zgross);
	}
	.page-header  {
		padding: 0 0 5px 20px
	}
	.site-title svg {
		height: 19px !important;
		width: auto !important;
	}
	.site-branding {
		width: 120px;
	}
	/*.menu-toggle {
		right: 30px;
	}*/
	.site-main {
		margin: 73px 20px 70px 20px;
		width: calc(100% - 40px);
	}
	.home .site-main,
	.kontakt .site-main,
	.page-id-2155 .site-main {
		width: 100%;
	}
}

