/*!
Theme Name: agentur-erhart
Theme URI: https://ze-one.de
Author: Stephan Ramsteiner
Author URI: https://ze-one.de
Description: Description
Version: 1.1.5
Tested up to: 5.4
Requires PHP: 5.6
License: Siehe AGB
License URI: LICENSE
Text Domain: agentur-erhart
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.

agentur-erhart 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/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# 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 {
	font-weight: bolder;
}

/**
 * 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: "iskra", sans-serif;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	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%;
	line-height: 1.15;
	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
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: "iskra", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

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: "iskra", sans-serif;
}

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 1.5em 3em;
}

ul {
	list-style: disc;
}

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;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #222221;
	text-decoration: none;
}

a:visited {
	color: #222221;
	text-decoration: none;
}

a:hover,
a:focus,
a:active {
	color: #222221;
	text-decoration: none;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
	text-decoration: none;
}

/* 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
--------------------------------------------------------------*/

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



.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%;
}

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

.post,
.page {
	margin: 0;
}

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

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 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: 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;
}

.clear {
	clear: both;
}

/*header*/
#red-headline, #red-footer {
	height: 35px;
	background-color: #e30513;
	color: #fff;
	text-align: center;
	font-weight: bold;
	font-size: 15px;
	padding-top: 5px;
	z-index: 10;
}

#header-image-holder {
	width: 1150px;
	margin: 0 auto 0 auto;
}

.header-images {
	float: left;
	margin-top: 15px;
	margin-bottom: 15px;
}

.header-images:first-child > IMG:last-child {
	margin-left: 170px;
}

div.header-images:last-child {
	height: 157px;
	margin-left: 80px;
	display: flex;
  	flex-direction: column;
}

div.header-images:last-child DIV {
	margin-top: auto;
	margin-bottom: 10px;
	text-align: right;
}

div.header-images:last-child DIV SPAN i {
	padding-right: 7px;
}

div.header-images:last-child DIV SPAN:first-child {
	color: #e30513;
	font-weight: 900;
	font-size: 22px;
}

div.header-images:last-child DIV SPAN:last-child {
	color: #222221;
	font-weight: 900;
	font-size: 22px;
}

#header-image-txt {
	padding-top: 190px;
	text-align: center;
	z-index: 99999;
	font-weight: 900;
}

#header-image-txt h5 {
	font-size: 55px;
	margin: 0;
	padding: 0;
	line-height: 67px;
	
	 text-shadow: 0.0px 10.0px 0.02px #fff, 9.8px 2.1px 0.02px #fff, 4.2px -9.1px 0.02px #fff, -8.0px -6.0px 0.02px #fff, -7.6px 6.5px 0.02px #fff, 4.8px 8.8px 0.02px #fff, 9.6px -2.8px 0.02px #fff, -0.7px -10.0px 0.02px #fff, -9.9px -1.5px 0.02px #fff, -3.5px 9.4px 0.02px #fff, 8.4px 5.4px 0.02px #fff, 7.1px -7.0px 0.02px #fff, -5.4px -8.4px 0.02px #fff, -9.4px 3.5px 0.02px #fff, 1.4px 9.9px 0.02px #fff, 10.0px 0.8px 0.02px #fff, 2.9px -9.6px 0.02px #fff, -8.7px -4.8px 0.02px #fff, -6.6px 7.5px 0.02px #fff, 5.9px 8.0px 0.02px #fff, 9.1px -4.1px 0.02px #fff, -2.1px -9.8px 0.02px #fff, -10.0px -0.1px 0.02px #fff, -2.2px 9.8px 0.02px #fff, 9.1px 4.2px 0.02px #fff, 6.1px -8.0px 0.02px #fff, -6.5px -7.6px 0.02px #fff, -8.8px 4.7px 0.02px #fff, 2.7px 9.6px 0.02px #fff, 10.0px -0.6px 0.02px #fff, 1.5px -9.9px 0.02px #fff, -9.3px -3.6px 0.02px #fff, -5.5px 8.4px 0.02px #fff, 7.0px 7.2px 0.02px #fff, 8.5px -5.3px 0.02px #fff, -3.4px -9.4px 0.02px #fff, -9.9px 1.3px 0.02px #fff, -0.8px 10.0px 0.02px #fff, 9.6px 2.9px 0.02px #fff, 4.9px -8.7px 0.02px #fff, -7.5px -6.7px 0.02px #fff, -8.1px 5.9px 0.02px #fff, 4.0px 9.2px 0.02px #fff, 9.8px -2.0px 0.02px #fff, 0.2px -10.0px 0.02px #fff, -9.7px -2.3px 0.02px #fff, -4.3px 9.0px 0.02px #fff, 7.9px 6.1px 0.02px #fff
	
	/*text-shadow: 2px 0 10px #fff, -2px 0 10px #fff, 0 2px 10px #fff, 0 -2px 10px #fff,
               1px 1px 10px #fff, -1px -1px 10px #fff, 1px -1px 10px #fff, -1px 1px 10px #fff;*/
}

#header-image-txt h5:first-child {
	color: #e30513;
}

#header-image-txt h5:last-child {
	color: #222221;
}

#menu {
	height: 80px;
	background-color: #ebebeb;
}

#site-navigation {
	width: 1150px;
	height: 80px;
	margin: 0 auto 0 auto;
}

.menu-main-container UL {
	display: flex;
	width: 900px;
	height: 80px;
	
	margin: 0 auto 0 auto;
	
	align-items: center;
    justify-content: space-between;
	list-style-type: none;
}

.menu-main-container UL LI A {
	display: block;
	text-transform: uppercase;
	color: #222221;
	font-size: 22px;
	font-weight: 900;
	letter-spacing: 0px;
	text-decoration: none;
}

#header-image {
	height: 580px;
}

/*page*/
#page {
	/*margin-top: 50px;*/
}

#primary {	
	width: 1150px;
	margin: 50px auto 0 auto;
	hyphens: auto;
	font-size: 18px;
	line-height: 28px;
}

#col1 {
	width: 20%;
	float: left;
}

#col2 {
	width: 80%;
	float: left;
	padding: 0 50px 0 50px;
}

article {
	margin-bottom: 40px !important;
}

article h1 {
	margin: 0;
	padding: 0;
	font-weight: 900;
	color: #e30513;
}

/*lightboxes container*/
#lightboxes-container {
	height: 917px;
	padding-top: 25px;
}

#lightboxes-inner {
	width: 1150px;
	margin: 0 auto 0 auto;
}

#lightboxes-inner .lightbox-tile {
	position: relative;
	width: 230px;
	height: 230px;
	background-color: rgba(34, 34, 33, 0.7);	
	float: left;
	
	margin: 30px;
}

#lightboxes-inner .lightbox-tile:hover {
	width: 230px;
	height: 230px;
	background-color: rgba(227, 5, 19, 1);	
	float: left;
	
	margin: 30px;
	
	webkit-transition: background-color 500ms linear;
    -ms-transition: background-color 500ms linear;
    transition: background-color 500ms linear;
	
	cursor: pointer;
}

#lightboxes-inner a:first-child .lightbox-tile, #lightboxes-inner a:nth-child(5) .lightbox-tile, #lightboxes-inner a:nth-child(9) .lightbox-tile {
	margin-left: 0px;
}

#lightboxes-inner a:nth-child(4) .lightbox-tile, #lightboxes-inner a:nth-child(8) .lightbox-tile, #lightboxes-inner a:nth-child(12) .lightbox-tile {
	margin-right: 0px;
}

#lightboxes-inner a:nth-child(even) .lightbox-tile {
	border-radius: 0 15px 15px 15px;
}

#lightboxes-inner a:nth-child(odd) .lightbox-tile {
	border-radius: 15px 0 15px 15px;
}

#lightboxes-inner a:last-child .lightbox-tile {
	background-color: rgba(227, 5, 19, 1);
}


.lb-icon {
	width: 80px;
	position: absolute;
	top: 40px;
	left: 0;
	right: 0;
	margin: auto;
	text-align: center;
}

.lb-txt {
	width: 160px;
	position: absolute;
	bottom: 40px;
	left: 0;
	right: 0;
	margin: auto;
	text-align: center;	
}

.lb-txt p {
	margin: 0;
	padding: 0;
	
	color: #fff;
	font-size: 22px;
	font-weight: bold;
	
	line-height: 28px;
}


#lightboxes-inner a:nth-child(2) .lightbox-tile .lb-txt {
	width: 120px;
}


#red-band {
	margin-top: -22px;
	height: 120px;
	background-image: url("images/red-band.jpg");
}

#red-band p {
	height: 120px;
	display: flex;
  	align-items: center;
  	justify-content: center;
	
	text-align: center;
	
	color: #fff;
	font-size: 22px;
	font-weight: bold;
	
	line-height: 28px;
}

#impressionen-inner {
	width: 1150px;
	margin: 0 auto 0 auto;
}

#impressionen-inner h4 {
	margin: 25px 0;
	text-align: center;
	font-size: 36px;
	color: #000;
}


#colophon {
	height: 334px;
	border-top: solid #ececec 16px;
}

#footer-inner {
	position: relative;
	width: 1150px;
	height: 334px;
	margin: 0 auto;
	
	background-image: url("images/footer-smile.png");
	background-repeat: no-repeat;
	background-position: 600px 22px;
}

#logo-footer {
	margin: 25px 0 0 25px;
}

#footer-anschrift {
	position: absolute;
	top: 173px;
	left: 190px;
	color: #222221;
	font-size: 22px;
	line-height: 27px;
}

#footer-kontakt {
	position: absolute;
	top: 200px;
	left: 500px;
	color: #222221;
	font-size: 22px;
	line-height: 27px;
}

#footer-kontakt a {
	color: #222221;
	font-size: 22px;
	line-height: 27px;
}

ul#menu-footer, ul#menu-footer-2 {
	list-style: none;
}

.menu-footer-container {
	position: absolute;
	top: 50px;
	right:15px;
	
	color: #222221;
	font-size: 22px;
	font-weight: 900;
	
	text-align: right;
}

.menu-footer-2-container {
	position: absolute;
	bottom: 25px;
	right: 15px;
	
	color: #222221;
	font-size: 22px;
	font-weight: 900;
	
	text-align: right;
}


/*lightboxes*/
.featherlight-content {
	width: 1040px;
	border-radius: 15px 0px 15px 15px;
	
	background-image: url("images/lb-header.jpg") !important;
	background-repeat: no-repeat !important;
	background-position: top !important;
}

.service-heading {
	text-align: center;
}

.service-heading p {
	margin: 15px 0 0 0;
	color: #fff;
	font-size: 22px;
	font-weight: 900;
}

.featherlight-close {
	position: absolute;
	top: 35px;
	right: 35px;
}

.lb-content {
	padding: 35px 15px 35px 15px;
}

.lightboxes-hidden, .featherlight-close-icon {
	display: none;
}

/*sub pages (Impressum, Datenschutz, ...) - template page-unterseite.php*/
#subpage-header h1 {
	width: 900px;
	margin: 50px auto 0 auto;
	padding: 0;

	color: #e30513;
	font-size: 36px;
	font-weight: 900;
	line-height: 42px;
}

#primary.site-main--subpage {
	width: 900px;
	margin: 30px auto 70px auto;
}

/* red band sits directly above the footer on sub pages, no overlap needed */
.page-template-page-unterseite #red-band {
	margin-top: 0;
}

.subpage h2 {
	margin: 40px 0 10px 0;
	padding: 0;
	color: #e30513;
	font-size: 28px;
	font-weight: 900;
	line-height: 34px;
}

.subpage h2:first-child {
	margin-top: 0;
}

.subpage h3 {
	margin: 30px 0 5px 0;
	padding: 0;
	color: #222221;
	font-size: 22px;
	font-weight: 900;
	line-height: 28px;
}

.subpage p {
	margin: 0 0 1.2em 0;
}

.subpage ul,
.subpage ol {
	margin: 0 0 1.2em 1.5em;
}

.subpage a {
	color: #e30513;
	text-decoration: underline;
	word-break: break-word;
}

.subpage a:hover {
	text-decoration: none;
}

.subpage .edit-link {
	font-size: 14px;
}

/*--------------------------------------------------------------
# Responsive (desktop layout above 1200px stays untouched)
--------------------------------------------------------------*/

/* off-canvas menu: hidden controls on desktop */
.menu-toggle,
.menu-close,
.offcanvas-contact {
	display: none;
}

.menu-toggle,
.menu-close {
	border: 0;
	border-radius: 0;
	background: none;
	padding: 0;
	color: #222221;
	font-family: "iskra", sans-serif;
	font-weight: 900;
	cursor: pointer;
}

/* tablet and below */
@media only screen and (max-width: 1199px) {
	html, body {
		overflow-x: hidden;
	}
	
	/* red top line */
	#red-headline {
		height: auto;
		padding: 7px 15px;
		font-size: 13px;
		line-height: 18px;
	}
	
	/* header: logo left, contact right, one row */
	#header-image-holder {
		width: auto;
		padding: 0 20px;
		display: flex;
		align-items: center;
		justify-content: space-between;
	}
	
	.header-images {
		float: none;
		margin: 12px 0;
	}
	
	.header-images:first-child {
		display: flex;
		align-items: center;
	}
	
	.header-images:first-child > a img {
		max-height: 90px;
		width: auto;
	}
	
	.header-images:first-child > IMG:last-child {
		max-height: 90px;
		width: auto;
		margin-left: 40px;
	}
	
	div.header-images:last-child {
		height: auto;
		margin-left: 20px;
	}
	
	div.header-images:last-child DIV {
		margin: 0;
	}
	
	div.header-images:last-child DIV SPAN:first-child,
	div.header-images:last-child DIV SPAN:last-child {
		font-size: 17px;
	}
	
	/* hero */
	#header-image {
		height: 420px;
	}
	
	#header-image-txt {
		padding: 140px 20px 0 20px;
	}
	
	#header-image-txt h5 {
		font-size: 40px;
		line-height: 48px;
	}
	
	/* menu bar */
	#site-navigation {
		width: auto;
		padding: 0 20px;
	}
	
	.menu-main-container UL {
		width: auto;
		padding: 0 20px;
	}
	
	/* content */
	#primary {
		width: auto;
		margin: 30px 20px 0 20px;
	}
	
	#col2 {
		padding: 0 0 0 30px;
	}
	
	#subpage-header h1 {
		width: auto;
		margin: 30px 20px 0 20px;
		font-size: 30px;
		line-height: 36px;
	}
	
	#primary.site-main--subpage {
		width: auto;
		margin: 20px 20px 50px 20px;
	}
	
	/* Erlebnisfinder tiles: 3 per row */
	#lightboxes-container {
		height: auto;
		padding: 25px 0;
	}
	
	#lightboxes-inner {
		width: auto;
		padding: 0 20px;
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 20px;
	}
	
	#lightboxes-inner a {
		display: block;
		width: calc(33.333% - 14px);
		max-width: 230px;
	}
	
	/* icon + label as one centered group instead of absolute top/bottom positions */
	#lightboxes-inner a:nth-child(n) .lightbox-tile,
	#lightboxes-inner a:nth-child(n) .lightbox-tile:hover {
		width: 100%;
		height: auto;
		aspect-ratio: 1 / 1;
		float: none;
		margin: 0;
		padding: 12px;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 16px;
	}
	
	.lb-icon {
		position: static;
		width: 28%;
		max-width: 64px;
		margin: 0;
	}
	
	.lb-icon img {
		width: 100%;
	}
	
	#lightboxes-inner a:nth-child(n) .lightbox-tile .lb-txt {
		position: static;
		width: 100%;
		margin: 0;
	}
	
	.lb-txt p {
		font-size: 18px;
		line-height: 23px;
	}
	
	/* red band */
	#red-band {
		margin-top: 0;
		height: auto;
	}
	
	#red-band p {
		height: auto;
		margin: 0;
		padding: 22px 20px;
		font-size: 18px;
		line-height: 25px;
	}
	
	/* Impressionen */
	#impressionen-inner {
		width: auto;
		padding: 0 20px;
	}
	
	#impressionen-inner h4 {
		font-size: 28px;
	}
	
	/* footer: stacked instead of absolute positions */
	#colophon {
		height: auto;
	}
	
	#footer-inner {
		width: auto;
		height: auto;
		padding: 25px 20px;
		background-position: right 20px bottom 20px;
		background-size: 190px auto;
	}
	
	#logo-footer {
		display: block;
		margin: 0 0 20px 0;
		max-width: 260px;
	}
	
	#footer-anschrift,
	#footer-kontakt {
		position: static;
		font-size: 18px;
		line-height: 25px;
	}
	
	#footer-kontakt a {
		font-size: 18px;
		line-height: 25px;
	}
	
	.menu-footer-container,
	.menu-footer-2-container {
		position: static;
		margin-top: 15px;
		text-align: left;
		font-size: 18px;
	}
	
	ul#menu-footer, ul#menu-footer-2 {
		margin: 0;
	}
	
	#red-footer {
		height: auto;
		padding: 8px 15px;
	}
	
	/* lightboxes */
	.featherlight .featherlight-content {
		width: auto;
		max-width: 96vw;
		padding: 0;
		border-bottom: 0;
		background-image: none !important;
	}
	
	.lb-header {
		background-color: #e30513;
		border-radius: 15px 0 0 0;
		padding: 18px 60px 18px 20px;
	}
	
	.service-heading p {
		margin-top: 8px;
		font-size: 20px;
		line-height: 26px;
	}
	
	.featherlight-close {
		top: 15px;
		right: 15px;
	}
	
	.lb-content {
		padding: 25px 20px;
	}
}

/* off-canvas menu below 992px */
@media only screen and (max-width: 991px) {
	#menu {
		height: 60px;
	}
	
	#site-navigation {
		height: 60px;
		display: flex;
		align-items: center;
		justify-content: flex-end;
	}
	
	.menu-toggle {
		display: block;
		font-size: 20px;
		text-transform: uppercase;
	}
	
	.menu-toggle i {
		margin-right: 6px;
	}
	
	/* the panel */
	.menu-main-container {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		z-index: 100001;
		width: 320px;
		max-width: 85vw;
		padding: 80px 30px 30px 30px;
		overflow-y: auto;
		background-color: #fff;
		box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
		
		transform: translateX(105%);
		transition: transform 300ms ease;
	}
	
	.main-navigation.toggled .menu-main-container {
		transform: none;
	}
	
	.menu-close {
		display: block;
		position: absolute;
		top: 18px;
		right: 20px;
		width: 44px;
		height: 44px;
		font-size: 32px;
		line-height: 44px;
		text-align: center;
	}
	
	.menu-main-container UL {
		display: block;
		width: auto;
		height: auto;
		margin: 0;
		padding: 0;
	}
	
	.menu-main-container UL LI {
		margin: 0 0 22px 0;
	}
	
	.menu-main-container UL LI A {
		font-size: 24px;
	}
	
	.offcanvas-contact {
		display: block;
		margin-top: 40px;
		padding-top: 25px;
		border-top: solid #ebebeb 3px;
	}
	
	.offcanvas-contact a {
		display: block;
		margin-bottom: 12px;
		color: #222221;
		font-size: 17px;
		font-weight: 900;
	}
	
	.offcanvas-contact a:first-child {
		color: #e30513;
	}
	
	.offcanvas-contact i {
		width: 24px;
	}
	
	/* backdrop + scroll lock while the panel is open */
	body.menu-open {
		overflow: hidden;
	}
	
	body.menu-open::before {
		content: "";
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 100000;
		background-color: rgba(0, 0, 0, 0.5);
	}
}

/* phones */
@media only screen and (max-width: 767px) {
	/* header: logo only, contact moves into the off-canvas panel */
	.header-images:first-child > a img {
		max-height: 70px;
	}
	
	.header-images:first-child > IMG:last-child,
	div.header-images:last-child {
		display: none;
	}
	
	#header-image-holder {
		padding: 0 15px;
	}
	
	#site-navigation {
		padding: 0 15px;
	}
	
	/* hero */
	#header-image {
		height: 300px;
	}
	
	#header-image-txt {
		padding-top: 95px;
	}
	
	#header-image-txt h5 {
		font-size: 28px;
		line-height: 36px;
	}
	
	/* content: photo floats left, text wraps around and continues below it */
	#primary {
		margin: 25px 15px 0 15px;
		font-size: 16px;
		line-height: 25px;
	}
	
	#col1 {
		width: 42%;
		float: left;
		margin: 5px 15px 5px 0;
	}
	
	#col1 img {
		display: block;
	}
	
	#col2 {
		width: auto;
		float: none;
		padding: 0;
	}
	
	#col2 h1 {
		clear: none;
		font-size: 22px;
		line-height: 28px;
	}
	
	#col2 .entry-content {
		margin-top: 1em;
	}
	
	#subpage-header h1 {
		margin: 25px 15px 0 15px;
		font-size: 26px;
		line-height: 32px;
	}
	
	#primary.site-main--subpage {
		margin: 15px 15px 40px 15px;
	}
	
	.subpage h2 {
		font-size: 22px;
		line-height: 28px;
	}
	
	/* tiles: 2 per row */
	#lightboxes-inner {
		padding: 0 15px;
		gap: 15px;
	}
	
	#lightboxes-inner a {
		width: calc(50% - 8px);
	}
	
	#lightboxes-inner a:nth-child(n) .lightbox-tile,
	#lightboxes-inner a:nth-child(n) .lightbox-tile:hover {
		gap: 14px;
	}
	
	.lb-icon {
		width: 30%;
	}
	
	.lb-txt p {
		font-size: 17px;
		line-height: 21px;
	}
	
	#red-band p {
		font-size: 16px;
		line-height: 22px;
	}
	
	#impressionen-inner h4 {
		font-size: 24px;
	}
	
	/* footer: everything centered */
	#footer-inner {
		padding: 25px 15px;
		background-image: none;
		text-align: center;
	}
	
	#logo-footer {
		margin: 0 auto 20px auto;
	}
	
	#footer-anschrift p,
	#footer-kontakt p {
		margin-bottom: 1em;
	}
	
	.menu-footer-container,
	.menu-footer-2-container {
		text-align: center;
	}
	
	#colophon ul {
		list-style: none;
		margin: 0;
		padding: 0;
	}
	
	/* lightboxes */
	.service-heading img {
		width: 44px;
	}
	
	.service-heading p {
		font-size: 18px;
		line-height: 24px;
	}
	
	.lb-content {
		padding: 20px 15px;
		font-size: 16px;
		line-height: 24px;
	}
}
