/*!
Theme Name: MK_AuthorityTheme_Grid 
Theme URI: https://martinkreitl.com
Author: Martin Kreitl
Author URI: https://martinkreitl.com
Description: A Authority Theme
Version: 1.0.0
Text Domain: mk_authoritytheme_grid
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/*--------------------------------------------------------------
# VARIABLES
--------------------------------------------------------------*/

:root {
	--border-radius: .5rem;
	--transition: all 0.25s ease-in-out;
	--basic-shadow: 0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.24);
}

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

html {
	line-height: 1.3; 
	-webkit-text-size-adjust: 100%; 
	font-size: calc(17px + (21 - 17) * ((100vw - 300px) / (2560 - 300)));
}

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

/**
 * Remove the margin in all browsers.
 */

body {
	margin: 0;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
	font-size: calc(25px + (45 - 25) * ((100vw - 300px) / (2560 - 300)));
	margin: 0.67em 0;
}

h2 {
	font-size: calc(20px + (40 - 20) * ((100vw - 300px) / (2560 - 300)));
	margin: 0.67em 0;
}

h3 {
	font-size: calc(18px + (30 - 18) * ((100vw - 300px) / (2560 - 300)));
	margin: 0.67em 0;
}

h3 {
	font-size: calc(16px + (28 - 16) * ((100vw - 300px) / (2560 - 300)));
	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; /* 1 */
	height: 0; /* 1 */
	overflow: visible; /* 2 */
}

/**
 * 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; /* 1 */
	font-size: 1em; /* 2 */
}

/* 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; /* 1 */
	text-decoration: underline; /* 2 */
	text-decoration: underline dotted; /* 2 */
}

/**
 * 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: monospace, monospace; /* 1 */
	font-size: 1em; /* 2 */
}

/**
 * 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; /* 1 */
	margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
	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; /* 1 */
	color: inherit; /* 2 */
	display: table; /* 1 */
	max-width: 100%; /* 1 */
	padding: 0; /* 3 */
	white-space: normal; /* 1 */
}

/**
 * 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; /* 1 */
	padding: 0; /* 2 */
}

/**
 * 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; /* 1 */
	outline-offset: -2px; /* 2 */
}

/**
 * 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; /* 1 */
	font: inherit; /* 2 */
}

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

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: Helvetica, Arial, sans-serif;
	line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
	clear: both;
	margin: 0 0 1rem 0;
	line-height: 1.3;
}

p {
	 -webkit-hyphens: auto;
	 -webkit-hyphenate-limit-before: 3;
	 -webkit-hyphenate-limit-after: 3;
	 -webkit-hyphenate-limit-chars: 6 3 3;
	 -webkit-hyphenate-limit-lines: 2;
	 -webkit-hyphenate-limit-last: always;
	 -webkit-hyphenate-limit-zone: 8%;
	 -moz-hyphens: auto;
	 -moz-hyphenate-limit-chars: 6 3 3;
	 -moz-hyphenate-limit-lines: 2;
	 -moz-hyphenate-limit-last: always;
	 -moz-hyphenate-limit-zone: 8%;
	 -ms-hyphens: auto;
	 -ms-hyphenate-limit-chars: 6 3 3;
	 -ms-hyphenate-limit-lines: 2;
	 -ms-hyphenate-limit-last: always;
	 -ms-hyphenate-limit-zone: 8%;
	 hyphens: auto;
	 hyphenate-limit-chars: 6 3 3;
	 hyphenate-limit-lines: 2;
	 hyphenate-limit-last: always;
	 hyphenate-limit-zone: 8%;
	
	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: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;

}

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

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

figcaption {
	font-size: calc(8px + (12 - 8) * ((100vw - 300px) / (2560 - 300)));

}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after {
	/* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background: #fff;
	/* Fallback for when there is no custom background color defined. */
}

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

ul, ol {
	padding-left: 1.5rem;
	margin: 0 0 1.5em 0em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

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

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto;
	/* Make sure images are scaled correctly. */
	max-width: 100%;
	/* Adhere to container width. */
}

figure {
	margin: 1em 0;
	/* Extra wide images within figure tags don't overflow the content area. */
}

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

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border-radius: var(--border-radius);
    background-color: #333;
    padding: .75rem 2rem;
    margin: .3em 0;
    font-size: calc(18px + (22 - 18) * ((100vw - 300px) / (2560 - 300)));
    font-weight: bold;
    border: 0;
	color: white;	
	transition: var(--transition);
	box-shadow: var(--basic-shadow);
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	transform: scale(.95);
}

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 {
	transform: scale(.95);
}

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 {
	font-size: calc(18px + (22 - 18) * ((100vw - 300px) / (2560 - 300)));
	border: 0;
    border-radius: var(--border-radius);
    padding: .3em;
    margin: 0.3em 0em;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

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;
	box-shadow: 0 3px 5px rgba(0, 0, 0, 0.25), 0 3px 5px rgba(0, 0, 0, 0.22);
	outline: 0;
}

select {
	font-size: calc(20px + (25 - 20) * ((100vw - 300px) / (2560 - 300)));
	border: 0;
    border-radius: var(--border-radius);
    padding: 1em;
    margin: 0.5em 0em;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
	background-color: white;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Main Navigation
--------------------------------------------------------------*/
.site-header {
	width: 100%;
	height: 3.5rem;
	padding: 0 5vw 0 5vw;
    box-shadow: 0 4px 9px 0 rgba(67, 65, 79, 0.1);

    display: flex;
	align-items: center;
	justify-content: space-between;
	position: fixed;
	top: 0;
	z-index: 10;

	background-color: black;

	font-size: calc(15px + (25 - 15) * ((100vw - 300px) / (2560 - 300)));
}

#primary-menu .menu-item a,
div.site-title a {
	color: white;
	text-decoration: none;
}

#primary-menu .menu-item a:hover {
	transition: ease-out .1s;
	box-shadow: inset 0 -0.125rem white;
}

div.site-title a {
	font-size: calc(30px + (60 - 30) * ((100vw - 300px) / (2560 - 300)));
}

.site-branding {
	display: flex;
	align-items: center;
	height: 3.5rem;
}

#site-logo a img {
	height: 3rem;
    width: auto;
}

#bar-wrapper {
	flex: auto;
    margin: 0 0.5rem;
}

#toggle, .toggle-btn {
	display: none;
}

/*--------------------------------------------------------------
# Secondary Navigation
--------------------------------------------------------------*/

.secondary-menu {
	width: 100%;
	padding: 0 5vw 0 5vw;
	position: relative;
	top: 3.5rem;
	z-index: 1;
	background-color: black;
	font-size: calc(12px + (25 - 12) * ((100vw - 300px) / (2560 - 300)));
}


#secondary-menu {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

#secondary-menu .menu-item a {
	text-decoration: none;
	font-weight: normal;
	display: block;
}

#secondary-menu li {
	line-height: 2rem;
	width: 100%;
    text-align: center;
}

#secondary-menu .menu-item a:hover, 
.current-menu-item a {
	transition: ease-out .1s;
	color: black;
	background-color: #333;
}

.current-menu-item a {
	font-weight: bold !important;
	text-decoration: none;
}

.secondary-navigation ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}

#secondary-toggle, .toggle-btn {
	display: none;
}


/*--------------------------------------------------------------
## Search Overlay
--------------------------------------------------------------*/

/* Search Overlay */

#search-overlay {
	opacity: 0;
	visibility: hidden;
	z-index: 10;
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	background: white;
	display: grid;
	grid-template-columns: 1fr; 
	grid-template-rows: 5rem 1fr 1fr; 
	grid-template-areas: 
		"."  
		"."
		"."; 
	text-align: center;
	align-items: center;
	left: 0;
}

.popular-searches {
	vertical-align: middle;
	padding-bottom: 4em;
}

.popular-search-wrapper {
}

#search-menu {
	display: grid; 
	grid-template-columns: 1fr 1fr 1fr; 
	grid-template-rows: 1fr 1fr; 
	gap: 1rem 0px;
	list-style: none;
	padding-left: 0;
}

#search-menu li {
	position: relative;
	margin-top: 4rem;
}

.popular-search-wrapper a {
	text-align: center;
	list-style: none;
}

#search-overlay .search-form {
	text-align: center;
}

#search-overlay-btn {
	margin:  auto 5rem auto auto;
}

#search-overlay-btn #bar-wrapper .bar {
	width: 30px;
	height: 2px;
	margin: 7px auto;
	background-color: #222;
	transition: all 0.1s ease-in-out;
}

#search-overlay-btn #bar-wrapper .bar:nth-child(1) {
-webkit-transform: translateY(5px) rotate(45deg);
		transform: translateY(5px) rotate(45deg);
}
#search-overlay-btn #bar-wrapper .bar:nth-child(2) {
-webkit-transform: translateY(-4px) rotate(-45deg);
		transform: translateY(-4px) rotate(-45deg);
}

#search-overlay-toggle:checked ~ #search-overlay {
	opacity: 1;
	visibility: visible;
}

#search-overlay-form .search-field {
	padding: 1rem;
	width: 50vw;
}

#search-overlay-form .search-submit {
	padding: 1rem 2rem;
	background-color: black;
	color: white;
}

/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: black;
	font-weight: bold;
	text-decoration: underline;
}

a:visited {
	color: black;
}

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

a:focus {
	outline: thin dotted;
}

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

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
	
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	left: 100%;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.mega-menu-entry {
	padding: 0 1.5rem 0 1.5rem;
}

.mega-menu-entry:hover {
	background-color: #333;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

.main-navigation ul {
	display: flex;
}

.site-main .comment-navigation, .site-main
.posts-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.site-main .post-navigation {
	margin-top: 1.5rem;
}

/*--- MEGA MENU----*/

#site-menu {
	line-height: 3.5rem;
}

.has-mega-menu{
	position:static;
}

.has-mega-menu .sub-menu, .has-mega-menu .sub-menu li .sub-menu, .has-mega-menu .sub-menu li .sub-menu li .sub-menu, .mega-menu-row .sub-menu {
	display: none;
}

.has-mega-menu:hover .sub-menu {
	width: 100%;
	display: grid;
    left: 0;
	background-color: #666;
}

#primary-menu .has-mega-menu:hover .sub-menu li a, #primary-menu .has-mega-menu:hover .sub-menu li .sub-menu li a, #primary-menu .has-mega-menu:hover .sub-menu li .sub-menu li {
	width: 100%;
}

#primary-menu .has-mega-menu:hover .sub-menu li .sub-menu li {
	margin: 0;
	padding: 0;
}

.has-mega-menu:hover .mega-menu-row  {
	width: 15%;
	background-color: #444;
	margin: 0;
	padding-left: 0;
}

#primary-menu .has-mega-menu:hover .sub-menu li .sub-menu {
	
}

.has-mega-menu:hover .mega-menu-row:hover, .has-mega-menu:hover .mega-menu-row:hover .sub-menu .mega-menu-column .sub-menu li:hover a {
	background-color: #333;
}

.has-mega-menu:hover .mega-menu-row:hover a {
	box-shadow: none !important;
}

#primary-menu .has-mega-menu:hover .sub-menu li a {
	text-align: center;
}

.has-mega-menu .mega-menu-row:hover .sub-menu {
	display: grid;
	width: 85%;
	grid-template-columns: 1fr 1fr 1fr 1fr;   
    left: 15%;
	box-shadow: none;
}


.has-mega-menu .mega-menu-row:hover .sub-menu .mega-menu-column .sub-menu {
	margin-top: 3.6rem;
    display: grid;
    left: 0;
    grid-template-rows: repeat(auto-fit,minmax(21%, 1fr));
    text-align: center;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
	width: 25%;
	box-shadow: none;
}

.has-mega-menu .mega-menu-row:hover .sub-menu .mega-menu-column .sub-menu li a {
	font-weight: normal;
}

.has-mega-menu .mega-menu-row:hover .sub-menu .mega-menu-column:nth-child(1) .sub-menu {
	left: 0;
}

.has-mega-menu .mega-menu-row:hover .sub-menu .mega-menu-column:nth-child(2) .sub-menu{
	left: 25%;
}

.has-mega-menu .mega-menu-row:hover .sub-menu .mega-menu-column:nth-child(3) .sub-menu {
	left: 50%;
}

.has-mega-menu .mega-menu-row:hover .sub-menu .mega-menu-column:nth-child(4) .sub-menu  {
	left: 75%;
}

.mega-menu-row .sub-menu .mega-menu-column {

}

.mega-menu-column {
	margin: 0;
    padding: 0;
	text-align: center;
}

.mega-menu-invisible a {
	opacity: 0;
    cursor: default;
}

.mega-menu-invisible:hover {
	background-color: #666 !important;
}

.mega-menu-item-invisble a {
	opacity: 0;
    cursor: default;
}

/* .mega-menu-item-invisble:hover {
	background-color: #FFC772 !important;
} */

.mega-menu-column .sub-menu {

}

/*--------------------------------------------------------------
## Search
--------------------------------------------------------------*/

#search-btn  {
	/* padding-right: 2em;
	position: relative; */
	height: 3.5rem;
    padding: 0 1.5rem 0 3rem;
	display: flex;
    align-items: center;
	font-weight: bold;
	cursor: pointer;
}

#search-btn:hover {
	background-color: #ffad2f;
}

#search-btn:before {
    content: '';
    background: url('data:image/svg+xml,<%3Fxml version="1.0" encoding="utf-8"%3F><svg version="1.1" id="Ebene_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 34 34" style="enable-background:new 0 0 34 34;" xml:space="preserve"><style type="text/css">.st0{fill:none;stroke:%23000000;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:8;}</style><g><path class="st0" d="M3,18.8c2.6,6.1,9.7,9,15.8,6.4s9-9.7,6.4-15.8l0,0c-2.6-6.1-9.7-9-15.8-6.4S0.4,12.7,3,18.8z"/><path class="st0" d="M22.6,22.6L32,32"/></g></svg>');
	background-size: cover;
    position: absolute;
    width: 25px;
    height: 25px;
	margin: 0 -1.8rem;
}

.tertiary-menu {
	display: none;
}

/*--------------------------------------------------------------
# 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; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

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

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

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	/* content: ""; */
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	padding: 1rem 2rem 1rem 2rem;
	border-radius: var(--border-radius);
    box-shadow: 0 4px 9px 0 rgba(67, 65, 79, 0.1);
	margin: 0 0 3rem 0;
}

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

.nav-links {
	display: grid;
    grid-template-columns: 1fr 1fr;
	grid-column-gap: 1rem;
}
.nav-previous, .nav-next {
	padding: 1rem 2rem 1rem 2rem;
	border-radius: .3rem;
	box-shadow: 0 4px 9px 0 rgba(67, 65, 79, 0.1);
	transition: all ease-in-out .3s;
	
}

.nav-next {
	margin: .3rem 0;
	text-align: right;
}

.nav-previous {
	margin: .3rem 0;
}

.textwidget {
	line-height: 2;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
.site-content {
	width: 100%;
	display: flex;
	justify-content: center;
	padding: 0 5vw 0 5vw;
	margin: 5.5rem 0 2rem 0;
}

.content-area {
	min-width: 40vw;
	max-width: 70ch;

}
.widget-area, .widget {
	min-width: 20vw;
	max-width: 45ch;
	margin-left: 2rem;
}

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

.post-thumbnail img {
	height: 25rem;
	object-fit: cover;
	object-position: center;
}

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

.page-title-archive {
	text-align: center;
}

.page-articles {
	display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: .5rem;
	grid-row-gap: .5rem;
	margin: 0 0 1.5rem 0;
}

.page-articles .post {
	margin: 1rem 1rem 1rem 1rem;
	padding: 1rem 1rem 1.5rem 1rem;
	transition: all ease-in-out .3s;
}

.entry-title-index {
	margin: 0;
}

.page-articles .post:hover {
	border-radius: .5rem;
	box-shadow: 0 4px 9px 0 rgba(67, 65, 79, 0.2);
	transform: scale(1.025);
}

/*--------------------------------------------------------------
## Entry
--------------------------------------------------------------*/

.entry-thumbnail {
	text-align: center;
}

.entry-thumbnail a img, .entry-thumbnail img {
	margin: 0 0 .5rem 0;
	object-fit: contain;
	object-position: center;
}

.entry-thumbnail-index a img, .entry-thumbnail-index img {
	height: 10rem;
}

.entry-thumbnail a:hover {
	color: none;
}

.entry-content-index a {
	text-decoration: none;
}

.entry-date, .entry-breadcrumb {
	font-size: calc(12px + (18 - 12)*((100vw - 300px)/(2560 - 300)));
}


/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	/* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# 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 embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

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

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
## ICONS
--------------------------------------------------------------*/

.home-icon:before {
	background: url('data:image/svg+xml,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" stroke-width="2" height="48" width="48"><path d="M22.868 8.947 12 .747l-10.878 8.2a1.177 1.177 0 0 0-.377.8v12.522a.981.981 0 0 0 .978.978h6.522V18a3.75 3.75 0 0 1 7.5 0v5.25h6.521a.982.982 0 0 0 .979-.978V9.747a1.181 1.181 0 0 0-.377-.8Z" fill="none" stroke="%23000000" stroke-linecap="round" stroke-linejoin="round"></path></svg>');
	background-size: cover;
	margin-top: -20px;
	margin-left: -13px;
}

.abfall-icon:before {
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" stroke-width="2" height="48" width="48"><defs></defs><path d="M11.6 14.08 11 8.533h12.25l-1.485 13.824a1 1 0 0 1-.994.893h-3.152" fill="none" stroke="%23000000" stroke-linecap="round" stroke-linejoin="round"></path><path fill="none" stroke="%23000000" stroke-linecap="round" stroke-linejoin="round" d="M14.075 8.533 17.319 4 22 5.133l-.541 3.4"></path><path fill="none" stroke="%23000000" stroke-linecap="round" stroke-linejoin="round" d="m3.328 1.644 1.342.448L5.117.75"></path><path fill="none" stroke="%23000000" stroke-linecap="round" stroke-linejoin="round" d="m9.062 3.376.722 1.216L11 3.869"></path><path fill="none" stroke="%23000000" stroke-linecap="round" stroke-linejoin="round" d="m.75 8.055.963 1.037L2.75 8.13"></path><path d="M13.328 21.209c0 2.5-2.462 2-5.5 2s-5.5.5-5.5-2a5.269 5.269 0 0 1 5.5-5 5.268 5.268 0 0 1 5.5 5Z" fill="none" stroke="%23000000" stroke-linecap="round" stroke-linejoin="round"></path><path fill="none" stroke="%23000000" stroke-linecap="round" stroke-linejoin="round" d="m6.436 16.371-2.108-3.162 4.5-1-.502 4.02"></path></svg>');
	background-size: cover;
	margin-top: -20px;
	margin-left: -13px;
}

.beutel-icon:before {
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" stroke-width="2" height="48" width="48"><g><g><path d="M19.77 18.24c0 3.68-3.76 4.52-7.84 4.52S5 21.92 5 18.24 7.24 9.3 12.38 9.3s7.39 5.27 7.39 8.94Z" fill="none" stroke="%23000000" stroke-linecap="round" stroke-linejoin="round"></path><path d="M11.17 9.4 10 5.21h5.2l-1.3 4.26" fill="none" stroke="%23000000" stroke-linecap="round" stroke-linejoin="round"></path><path fill="none" stroke="%23000000" stroke-linecap="round" stroke-linejoin="round" d="m7.96 7.56 3.21 1.84-.47 3.23"></path></g><path d="M2.29 6.3a1.71 1.71 0 0 0 .09 2.31 1.7 1.7 0 0 1 0 2.41l-.09.1" fill="none" stroke="%23000000" stroke-linecap="round" stroke-linejoin="round"></path><path d="M5.94 1.24A1.26 1.26 0 0 0 6 2.94a1.26 1.26 0 0 1 0 1.78l-.07.08" fill="none" stroke="%23000000" stroke-linecap="round" stroke-linejoin="round"></path><path d="M18.68 1.24a1.25 1.25 0 0 0 .07 1.7 1.26 1.26 0 0 1 0 1.78l-.07.08" fill="none" stroke="%23000000" stroke-linecap="round" stroke-linejoin="round"></path><path d="M21.52 7a1.7 1.7 0 0 0 .1 2.31 1.71 1.71 0 0 1 0 2.41l-.1.11" fill="none" stroke="%23000000" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>');
	background-size: cover;
	margin-top: -20px;
	margin-left: -15px;
}

.tonne-icon:before {
	background: url('data:image/svg+xml,<%3Fxml version="1.0" encoding="utf-8"%3F><svg version="1.2" baseProfile="tiny" id="Ebene_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 48 48" overflow="visible" xml:space="preserve"><path fill="none" stroke="%23000000" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="8" d="M36.1,44.8H11.9c-1.9,0-3.5-1.5-3.5-3.5c0,0,0,0,0,0V10.2h31.2v31.2C39.6,43.2,38,44.8,36.1,44.8L36.1,44.8z"/><path fill="none" stroke="%23000000" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="8" d="M18.8,34.4V20.5"/><path fill="none" stroke="%23000000" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="8" d="M29.2,34.4V20.5"/><path fill="none" stroke="%23000000" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="8" d="M1.5,10.2h45"/><path fill="none" stroke="%23000000" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="8" d="M29.2,3.2H18.8c-1.9,0-3.5,1.5-3.5,3.5c0,0,0,0,0,0v3.5h17.3V6.7C32.7,4.8,31.1,3.2,29.2,3.2L29.2,3.2z"/></svg>');
	background-size: cover;
	margin-top: -20px;
	margin-left: -13px;
}

.search-icon:before {
	background: url('data:image/svg+xml,<%3Fxml version="1.0" encoding="utf-8"%3F><svg version="1.1" id="Ebene_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 34 34" style="enable-background:new 0 0 34 34;" xml:space="preserve"><style type="text/css">.st0{fill:none;stroke:%23000000;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:8;}</style><g><path class="st0" d="M3,18.8c2.6,6.1,9.7,9,15.8,6.4s9-9.7,6.4-15.8l0,0c-2.6-6.1-9.7-9-15.8-6.4S0.4,12.7,3,18.8z"/><path class="st0" d="M22.6,22.6L32,32"/></g></svg>');
	background-size: cover;
	margin-top: -20px;
	margin-left: -13px;
}

.glas-icon:before {
	background: url('data:image/svg+xml,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" stroke-width="1.5" height="48" width="48"><path d="M13.811 9.311 11.25 6.75V1.5a.75.75 0 0 0-.75-.75H9a.75.75 0 0 0-.75.75v5.25L5.689 9.311a1.5 1.5 0 0 0-.439 1.06V21.75a1.5 1.5 0 0 0 1.5 1.5h3.75" fill="none" stroke="%23000000" stroke-linecap="round" stroke-linejoin="round"></path><path d="M8.25 4.5h3" fill="none" stroke="%23000000" stroke-linecap="round" stroke-linejoin="round"></path><path d="M18.75 15.682a3 3 0 1 1-6 0V12h6Z" fill="none" stroke="%23000000" stroke-linecap="round" stroke-linejoin="round"></path><path d="M15.75 18.75v4.5" fill="none" stroke="%23000000" stroke-linecap="round" stroke-linejoin="round"></path><path d="M18 23.25h-4.5" fill="none" stroke="%23000000" stroke-linecap="round" stroke-linejoin="round"></path></svg>');
	background-size: cover;
}

.dose-icon:before {
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" height="48" width="48"><path stroke="%23000000" stroke-linecap="round" stroke-linejoin="round" d="M6.75 6.75h10.5"></path><path stroke="%23000000" stroke-linecap="round" stroke-linejoin="round" d="m10.5 6.75-2.25-3"></path><path stroke="%23000000" d="M11.625 1.5a.375.375 0 0 1 0-.75"></path><path stroke="%23000000" d="M11.625 1.5a.375.375 0 0 0 0-.75"></path><path stroke="%23000000" d="M16.125 2.25a.375.375 0 0 1 0-.75"></path><path stroke="%23000000" d="M16.125 2.25a.375.375 0 0 0 0-.75"></path><g><path stroke="%23000000" d="M13.875 4.5a.375.375 0 0 1 0-.75"></path><path stroke="%23000000" d="M13.875 4.5a.375.375 0 0 0 0-.75"></path></g><path stroke="%23000000" stroke-linecap="round" stroke-linejoin="round" d="m9 6.75-2.671 3.339a1.5 1.5 0 0 0-.329.937v9.52c0 .296.088.586.252.832l.8 1.2a1.5 1.5 0 0 0 1.248.672h7.4a1.5 1.5 0 0 0 1.248-.668l.8-1.2a1.5 1.5 0 0 0 .252-.836v-9.52a1.5 1.5 0 0 0-.329-.937L15 6.75"></path></svg>');
	background-size: cover;
}

.holz-icon:before {
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" stroke-width="1.5" height="48" width="48"><defs></defs><title>wood-material-1</title><path fill="none" stroke="%23000000" stroke-linecap="round" stroke-linejoin="round" d="M2.024 4.5h19.905s1 0 1 1v13s0 1-1 1H2.024s-1 0-1-1v-13s0-1 1-1"></path><path d="M1.024 9.935c3.056-.155 5.946-1.481 8.99-1.811 4.354-.473 8.63 1.106 12.915 2" fill="none" stroke="%23000000" stroke-linecap="round" stroke-linejoin="round"></path><path d="M6.976 12.5c.531-.158 1.067-.3 1.611-.4a15.882 15.882 0 0 1 2.471-.278" fill="none" stroke="%23000000" stroke-linecap="round" stroke-linejoin="round"></path><path d="M15.31 11.286c.752.09 1.5.218 2.253.368" fill="none" stroke="%23000000" stroke-linecap="round" stroke-linejoin="round"></path><path d="M1.071 14.848a44.48 44.48 0 0 0 5.657 1.269c2.372.258 6.04-.385 8.779-.991a12.751 12.751 0 0 1 7.469.6h0" fill="none" stroke="%23000000" stroke-linecap="round" stroke-linejoin="round"></path></svg>');
	background-size: cover;
}

.home-icon:before, .abfall-icon:before, .beutel-icon:before,
.tonne-icon:before, .search-icon:before, .glas-icon:before,
.holz-icon:before, .dose-icon:before {
	z-index: 2;
	content: '';
	position: absolute;
	width: 25px;
	height: 25px;
	left: 50%;
	top: 50%;
	pointer-events: none;
}

.search-overlay-position:before {
	margin-top: -3rem;
	margin-left: -15px;
}

/*--------------------------------------------------------------
## TABLES
--------------------------------------------------------------*/

table {
	margin: 0;
	padding: 0;
	width: 100%;
	table-layout: fixed;
	overflow: hidden;
	display:block;
  }
  
  table caption {
	font-size: 1.5em;
	margin: .5em 0 .75em;
  }
  
  table tr {
	background-color: #f8f8f8;
	border: 1px solid #ddd;
	padding: .35em;
  }
  
  table th,
  table td {
	padding: .625em;
	text-align: center;
  }
  
  table th {
	font-size: .85em;
	letter-spacing: .1em;
	text-transform: uppercase;
  }  


/*--------------------------------------------------------------
## GRID
--------------------------------------------------------------*/

#front-page-primary-grid {
	width: 100%;
}

.grid {
	display: grid;
	grid-column-gap: 1rem;
	grid-row-gap: 0px;
	margin: 0 0 3rem 0;
}

.template-2-2fr-1fr {
	grid-template-columns: 2fr 1fr;
	grid-template-rows: 1fr;
}

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

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

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

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

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

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


/* Teaser */

.teaser {
	border: 2px #999 solid;
	background-color: #eee;
	border-radius: var(--border-radius);
	text-align: center;
	padding: 1rem 0;
}

.teaser-title {
	margin: .5rem 0 .25rem 0;
}

.teaser-description {
	margin: .25rem 0 1rem 0;
}

.teaser button {
	width: 75%;
}

/* Category Teaser */

.category-teaser {
	border-radius: var(--border-radius);

	text-align: center;
	padding: 1rem 0;
	margin: 1rem .5rem;
	transition: var(--transition);
}

.category-teaser:hover {
    box-shadow: 0 4px 9px 0 rgba(67, 65, 79, 0.2);
    transform: scale(1.025);
}

.category-teaser:nth-child(1),
.category-teaser:nth-child(4) {
	margin-left: 0;
}

.category-teaser:nth-child(3),
.category-teaser:nth-child(6) {
	margin-right: 0;
}

.category-title {
	margin: .5rem 0 .25rem 0;
}

.category-description {
	margin: .25rem 0 1rem 0;
}

.category-teaser button {
	width: 90%;
}

.category-teaser img {
	width: 90%;
}

/* Image Teaser */

.image-teaser {

}

.front-post-thumbnail a img, .front-post-thumbnail-icon {
	aspect-ratio: calc(16/7);
}

/* Banner Teaser */

.banner-teaser {
	border-radius: var(--border-radius);
	background-color: #999;
	vertical-align: middle;
	grid-template-columns: 1fr 1fr 1fr;
	grid-template-rows: 1fr;
	width: 60vw;
	margin: 3rem auto;
	padding: 1rem 2rem;
	align-items: center;
}

.banner-teaser button {
	width: 100%;
}

.teaser img {
	height: 150px;
}

.image-teaser img {
	width: 1200px;
	aspect-ratio: calc(16/7);
}

.banner-teaser img {
	height: 100px;
}

/*--------------------------------------------------------------
## FOOTER
--------------------------------------------------------------*/

.category-footer-headline {
	margin: 0;
	padding: 2rem 0 0 0;
	text-align: center;
}

.category-footer {
	grid-column-gap: 7rem;
	grid-row-gap: .75rem;
	background-color: #999;
	padding: 2rem 5vw 2rem 5vw;
	font-size: calc(12px + (15 - 12) * ((100vw - 300px) / (2560 - 300)));
}

.footer-sidebar {
	grid-column-gap: 7rem;
	padding: 2rem 5vw 2rem 5vw;
}

/* .footer-sidebar p {
	font-size: calc(12px + (18 - 12) * ((100vw - 300px) / (2560 - 300)));
} */

.footer-sidebar .widget {
	box-shadow: none;
	padding: 0;
	margin: 0;
	box-shadow: none;
	border-radius: 0;
}

#footer-sidebar-1 .widget {
	max-width: 80ch;
}

.site-footer {
	background-color: black;
	padding: 0 0 .5rem 0;
}

.site-info {
	text-align: center;
}

/*--------------------------------------------------------------
## MEDIA QUERIES
--------------------------------------------------------------*/

@media all and (max-width: 1690px) { 
	
} 

@media all and (max-width: 1280px) { 
	.mega-menu-entry {
		padding: 0 1.25rem 0 1.25rem;
	}
}

@media all and (max-width: 1024px) {
	.main-navigation {
	background-color: #FFE8C5;
    position: fixed;
    top: 3.5rem;
    left: 0;
    width: 100%;
    height: calc(100vh - 3.5rem);
    opacity: 0;
    visibility: hidden;
	transition: all 0.1 ease-in-out;
	z-index: 2;
	overflow: scroll;
	-webkit-overflow-scrolling: touch;
	}

	.main-navigation ul {
		display: inline-grid;
		width: 100%;
		text-align: center;
		position: absolute;
		grid-template-columns: 1fr;
		grid-template-rows: 1fr;
		transition: all 0.1s ease-in-out;
		-webkit-transform: translateX(-50%);
		transform: translateX(-50%);
	}

	.main-navigation ul li {
		padding: 0;
	}

	#primary-menu .menu-item a:hover {
		box-shadow: none !important;
	}

	.main-navigation ul li a {
		text-decoration: none;
		text-align: center;
		color: #fff;
		font-weight: bold;
		transition: all 0.1s ease-in-out;
	}

	#site-menu {
		text-align: center;
		font-size: x-large;
		font-weight: bold;
		color: white;
	}

	.toggle-btn {
		display: inline-flex;
		position: relative;
		z-index: 10;
		cursor: pointer;
		align-items: center;
	}

	#primary-toggle-btn {
		top: 0.3rem;
	}

	#secondary-toggle-btn {
		height: 2.5rem;
	}

	.toggle-btn .bar {
	width: 30px;
	height: 2px;
	margin: 7px auto;
	background-color: white;
	transition: all 0.1s ease-in-out;
	}

	.toggle-btn .bar:nth-child(2) {
	width: 20px;
	}
	
	#primary-toggle:checked ~ nav {
	opacity: 1;
	visibility: visible;
	}

	#secondary-toggle:checked ~ nav {
	opacity: 1;
	visibility: visible;
	display: block;
	padding: 0 0 0.5rem 0;
	}

	/* #toggle:checked ~ nav ul {
	top: 0;
	} */

	#primary-toggle:checked ~ nav ul li,
	#secondary-toggle:checked ~ nav ul li {
	-webkit-transform: translateY(0px);
			transform: translateY(0px);
	opacity: 1;
	/* line-height: 3; */
	}

	#secondary-toggle:checked ~ nav ul li {
		line-height: 3;
		width: 100%;
	}

	#primary-toggle:checked + label.toggle-btn .bar,
	#secondary-toggle:checked + label.toggle-btn .bar {
		background-color: white;
	}
	#primary-toggle:checked + label.toggle-btn .bar:nth-child(2),
	#secondary-toggle:checked + label.toggle-btn .bar:nth-child(2) {
		-webkit-transform: translateX(50px);
				transform: translateX(50px);
		opacity: 0;
	}
	#primary-toggle:checked + label.toggle-btn .bar:nth-child(1),
	#secondary-toggle:checked + label.toggle-btn .bar:nth-child(1) {
	-webkit-transform: translateY(10px) rotate(45deg);
			transform: translateY(10px) rotate(45deg);
	}
	#primary-toggle:checked + label.toggle-btn .bar:nth-child(3),
	#secondary-toggle:checked + label.toggle-btn .bar:nth-child(3) {
	-webkit-transform: translateY(-8px) rotate(-45deg);
			transform: translateY(-8px) rotate(-45deg);
	}
	
	#primary-toggle:checked + label.toggle-btn #site-menu-text,
	#secondary-toggle:checked + label.toggle-btn #site-menu-text {
	color: white;
	}
	
	.toggle-btn:hover {
		transition: all 0.1s ease-in-out;
	}

	/* Secondary Menu */

	#secondary-menu {
		flex-direction: column;
		justify-content: center;
	}

	.secondary-navigation {
		opacity: 0;
		visibility: hidden;
		display: none;
	}

	.secondary-menu {
		width: 100%;
		text-align: center;
	}

	/* Footer */

	#menu-footer-menue {
		flex-direction: column;
		justify-content: center;
	}

	.page-articles {
		grid-template-columns: 1fr 1fr;
	}
	.nav-links {
        grid-template-columns: 1fr;
    }

	.has-mega-menu:hover .mega-menu-row {
		width: 90%;
    	margin: 0 auto 1rem;
		line-height: 2.5 !important;
	}

	.has-mega-menu:hover .sub-menu {
		display: contents;
	}

	.has-mega-menu .mega-menu-row:hover .sub-menu {
		display: contents;
		width: 100%;
		left: 0;

	}

	.has-mega-menu .mega-menu-row:hover .sub-menu .mega-menu-column .sub-menu {
		display: contents;
		width: 100%;
		left: 0;

	}

	#primary-menu .has-mega-menu:hover .sub-menu li .sub-menu li {
		font-size: smaller;
	}

	.has-mega-menu:hover .mega-menu-row:hover {
		background-color: #666;
	}

	.has-mega-menu .mega-menu-row:hover .sub-menu .mega-menu-column > a {
		pointer-events: none;
	}

	.mega-menu-invisible, .mega-menu-item-invisble {
		display: none;
	}

	#search-btn {
		display: none;
	}

	.page-articles, .footer-sidebar {
		grid-template-columns: 1fr;
	}

	.site-content {
		flex-direction: column;
	}

	.widget-area, .widget { 
		margin-left: 0;
		max-width: 90vw;
	}

	#search-overlay {
		grid-template-rows: 2fr 1fr 4rem;
	}

	#search-overlay-btn {
		grid-area: 3;
		margin: auto 1rem auto auto;
	}

	#search-overlay-form {
		grid-area: 2;
	}

	/* Tertiary Navigation (Mobile only) */

	.tertiary-menu {
		display: block;
		position: fixed;
		z-index: 2;
		bottom: 0;
		left: 0;
		width: 100%;
		text-align: center;
		font-size: calc(10px + (25 - 10) * ((100vw - 300px) / (2560 - 300)));
		background-color: rgba(255,154,0,1);
	}

	.tertiary-navigation {
		display: grid;
		grid-template-columns: 80vw 20vw;
		grid-template-rows: 1fr;
		height: 4rem;
		align-items: end;
	}

	#tertiary-menu {
		display: grid;
		grid-template-columns: 20vw 20vw 20vw 20vw;
		grid-template-rows: 1fr;
		padding-left: 0;
		margin: 0;
		list-style: none;
		height: 4rem;
		align-items: end;
	}

	.tertiary-search {
	}

	#tertiary-menu li, .tertiary-search {
		width: 100%;
		height: 100%;
		display: block;
		position: relative;
	}

	#tertiary-menu li a, .tertiary-search div  {
		width: 100%;
		height: 100%;
		display: block;
		position: relative;
		cursor: pointer;
		padding: 2.2rem 0 .1rem 0;
	}

	.template-2-1fr {
		grid-template-columns: 1fr;
		grid-template-rows: 1fr;
	}

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

	.banner-teaser {
		width: 100%;
		grid-template-columns: 1fr;
		grid-template-rows: 1fr;
	}

	#footer-sidebar-2 {
		margin-top: 2rem;
	}
	

}
@media all and (max-width: 736px) { 
	#search-menu {
		grid-template-columns: 1fr 1fr; 
		grid-template-rows: 1fr 1fr 1fr; 
	}

	.template-4-1fr {
		grid-template-columns: 1fr;
		grid-template-rows: 1fr;
	}
}

@media all and (max-width: 480px) { 
	
}
