/* (Die ursprünglich vorangestellten individuellen Projektlisten-Styles wurden
   zur besseren Übersicht in den Abschnitt "Custom Components: Project Filter" am Ende verschoben.) */
/*!
Theme Name: maxbaechli
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 4.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: maxbaechli
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.

maxbaechli 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
	 ========================================================================== */
* {
	box-sizing: border-box;
}
/**
 * 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%;
	height: 100%;
}

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

/**
 * Remove the margin in all browsers.
 */
body {
	/* margin: 0px 5px 0px 5px; */
	margin: 0;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

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


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

/* 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-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: 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: var(--site-background);
}

/* Header horizontaler Außenabstand */
header {
	margin: 0 10px;
	position: sticky;
	top: 0;
	z-index: 1000;
	background: var(--site-background);
}

/* header {
	background: var(--color-background);
} */

footer {
	background: none;
	margin-top: auto;
	margin-left: 10px;
	margin-bottom: 5px;
  	width: 100%;
  	height: 20px;
	font-family: var(--font-family-info);
	font-size: 14px;
	color: var(--color-basic-grey);
}

main {
	background: white;
}

aside {
	background: white;
}

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



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

.post,
.page {
	margin: 0 0 1.5em;
}

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

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

/**---HEADER---------------------------------------------*/

/**---NAV---*/

.nav {
	padding: 10px 5px 5px 5px; /* oben/unten 5px, links/rechts 10px wie .grid */
	/* margin: 5px 5px 0px 5px; */
	/* background: var(--color-background); */
}

/*calculate width*/
.nav ul {  
	/**User input values to calculate widht of nav-element*/
	--grid-layout-gap: 10px;
	--grid-item--min-width: 100px;
	/* Separater vertikaler Abstand zwischen Zeilen */
	--grid-vertical-gap: 0px;

	/**Calculated values.*/
	--gap-count: calc(var(--columns) - 1);
	--total-gap-width: calc(var(--gap-count) * var(--grid-layout-gap));
	--grid-item--max-width: calc((100% - var(--total-gap-width)) / var(--columns));
		 
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(max(var(--grid-item--min-width), var(--grid-item--max-width)), 1fr));
	/* Unterschiedliche Abstände horizontal vs. vertikal */
	column-gap: var(--grid-layout-gap);
	row-gap: var(--grid-vertical-gap);
	 
	/*add styling*/
	list-style: none;
	margin: 0;
	padding: 0px;
}

/*general*/
.nav ul li {
	white-space: nowrap; /* Prevent text from wrapping */
	overflow: hidden; /* Hide overflowing content */
	text-overflow: clip;
	font-family: var(--font-family-info);
	font-weight: var(--font-weight-info);
	font-size: var(--font-size-info);
	line-height: 40px;
}

.nav ul li:nth-child(2) {
		display: none;
	}

.site-title a{
	color: var(--color-blue);
	text-decoration: none;
}

.info {
	color: var(--color-blue);
	text-decoration: none;
}

.info a {
	text-decoration: none;
}

/* Header-Nav Ausrichtung per IDs */
/* site-title bleibt immer linksbündig */
.nav ul li.site-title {
	text-align: left;
	/* Überschreibe Standard-Clippen für Titel: darf überlappen */
	overflow: visible;
	white-space: nowrap;
	text-overflow: clip;
	position: relative;
	z-index: 2;
}
/* Standard: 2info, 3info, 4info linksbündig */
.nav ul li#2info,
.nav ul li#3info,
.nav ul li#4info { text-align: left; }
/* Standard: 5info rechtsbündig */
.nav ul li#5info { text-align: right; }

/**---FILTER-TYPE---*/

/* general */
.head-filter-cont {
	grid-column: span 4;
	gap: var(--grid-layout-gap);
	width: 100%;
  }
  
.head-filter-cont .head-filter-cont-butt {
	/* border: 2px solid green; */
	display: flex;
	gap: var(--grid-layout-gap);
}

.head-filter-cont .button-group {
	/* border: solid 2px red; */
	display: flex;
	gap: var(--grid-layout-gap);
	
}

.head-filter-cont .type-filter {
	/* width: 80%; */
	width: calc((100%/4)*3);
}

.head-filter-cont .text-filter {
	/* width: 20%; */
	width: calc(100%/4);
}

.nav ul li button {
	text-decoration: none;
	font-family: var(--font-family-button);
	font-weight: var(--font-weight-button);
	font-size: var(--font-size-button);
	width: 100%;
	height: 38px;
	border-radius: 19px;
	line-height: 15px;
	text-align: center;
	border: solid 1px;
	cursor: pointer;
	padding: 0;
	
}

.nav .showAllButton {
	text-decoration: none;
	font-family: var(--font-family-showAll);
	font-weight: var(--font-weight-showAll);
	font-size: var(--font-size-showAll);
}

/*types*/
/*show-all*/
.showAllButton {
    background-color: var(--color-site-background);
    color: var(--color-blue);
}

.showAllButton:hover,
.showAllButton.is-checked:hover {
    color: white;
    background: var(--color-blue);
    border-color: var(--color-blue);
}

.showAllButton.is-checked {
    color: white;
    background: var(--color-blue);
    border-color: var(--color-blue);
}

/*drawing*/
.nav button[data-filter=".drawing"] {
    background: none;
    border-color: var(--color-drawing);
    color: var(--color-drawing);
}

.nav button[data-filter=".drawing"]:hover,
.nav button[data-filter=".drawing"].is-checked:hover {
    color: white;
    background-color: var(--color-drawing);
    border-color: var(--color-drawing);
}

.nav button[data-filter=".drawing"].is-checked {
    color: white;
    background: var(--color-drawing);
    border-color: var(--color-drawing);
}


/*image*/
.nav button[data-filter=".image"] {
    background: none;
    border-color: var(--color-image);
    color: var(--color-image);
}

.nav button[data-filter=".image"]:hover,
.nav button[data-filter=".image"].is-checked:hover {
    color: white;
    background: var(--color-image);
    border-color: var(--color-image);
}

.nav button[data-filter=".image"].is-checked {
    color: white;
    background: var(--color-image);
    border-color: var(--color-image);
}



/*text*/
.noTextButton {
	color: var(--color-text);
	background: none;
	border-color: var(--color-text);
}
.noTextButton:hover{
	color: white;
	background: var(--color-text);
	border-color: var(--color-text);
}
.noTextButton.is-checked {
	background-color: var(--color-text);
  	color: white;
}
@media (hover: none) {
	.noTextButton:hover:not(.is-checked) {
		color: var(--color-text);
		background: none;
		border-color: var(--color-text);
	}
}
/**---MAIN---------------------------------------------*/

#jobs.grid {
	position: relative;
	box-sizing: border-box;
	width: calc(100% - 20px); /* effektive Content-Breite um 20px reduziert */
	margin-left: 10px;
	margin-right: 10px; /* Außenabstand statt Padding → Prozentbreiten greifen stabil */
	opacity: 0;
	transition: opacity 0.2s ease-in;
	}

#jobs.grid.isotope-ready {
	opacity: 1;
}

/* clear fix */
.grid:after {
	content: '';
	display: block;
	clear: both;
	}

/* sizing */
.width1,
.grid-sizer {
	box-sizing: border-box;
	width: calc(100%/var(--columns));
	/* width: var(--Width); -> using the calculated width */
	}

.width2 {
	width: calc(2*(100%/var(--columns)));
	}

/* styling */
.card {
	padding: 5px;
	background: transparent;
	}

.element-item {
	box-sizing: border-box; 
	float: left;
	padding: 5px 5px 5px 5px; /* horizontal und vertikal jeweils 5px → Gap insgesamt 10px */
	}

.card-content-wrapper {
	height: 100%;
	/* border: solid 1px lightgrey; */
	position: relative; /* für absolut positioniertes p */
	}

/* Klick-Hinweis: gesamter Kartenbereich soll wie ein Link wirken */
.card-content-wrapper,
.card-content-wrapper a,
.card-content-wrapper a:visited {
    cursor: pointer;
}

.card-content-wrapper a{
	margin: 0px;
	text-decoration: none;
	}

.card-content-wrapper p{
	margin: 0px;
	position: absolute;
	bottom: 3px;
	left: 3px;
	font-size: var(--font-size-media-info);
	font-weight: var(--font-weight-media-info);
	font-family: var(--font-family-media-info);
	color: var(--color-basic-grey);
	z-index: 2; /* über dem Bild */
	pointer-events: none; /* verhindert Klick-Blockade auf Bild */
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: calc(100% - 6px); /* 100% minus left/right padding-Rand */
	}

/* Bild-Hover: vorherige Abdunkelung entfernt */

/* Hover-Effekt: Titel beim Überfahren hervorheben */
.card-content-wrapper:hover p {
    font-weight: bold; /* alternativ: 700 */
}

/* Farbvarianten für Media-Typen */
.element-item.drawing .card-content-wrapper p,
.drawing .card-content-wrapper p {
    color: var(--color-drawing) !important;
}

.element-item.image .card-content-wrapper p,
.image .card-content-wrapper p {
    color: var(--color-image) !important;
}

.element-item.text .card-content-wrapper p,
.text .card-content-wrapper p {
	color: var(--color-text) !important;
}

img {
	display: block;
}

video {
	display: block;
	width: 100%;
}

button:active,
button .is-checked {
  background-color: #28F;
}

/**---FILTER-PROJECT---*/

/* container */
.filter-project {
	width: calc(2*(100%/var(--columns)));
	position: sticky; /* bleibt beim Scrollen sichtbar */
	top: var(--filter-top, 0px); /* Abstand unter Header, via JS gesetzt */
	left: calc(100% - 2*(100%/var(--columns))); /* rechts außen: 2 Spalten breit */
	box-sizing: border-box;
	padding: 5px;
	z-index: 900;
	background: transparent; /* kein eigener Hintergrund, Unterelemente übernehmen Blur */
}

/* output (FilterValue) */
/* container */
.output {
	background: var(--color-background);
	padding: 5px;
	margin-bottom: 5px;
	display: flex; /* p und #output auf einer Linie */
	flex-wrap: wrap;
	align-items: flex-start; /* Label bleibt oben bei Mehrzeilen-Wrap */
	gap: 5px;
}
/* Filter:  */
.output p{
	display: inline;
	color: var(--color-darkgrey);
	margin: 0px;
	font-family: var(--font-family-output-description);
	font-weight: var(--font-weight-output-description);
	font-size: var(--font-size-output-description);
}
/* printed output: value */
#output {
	font-family: var(--font-family-output);
	font-weight: var(--font-weight-output);
	font-size: var(--font-size-output);
}
#output { display: inline-flex; flex-wrap: wrap; gap: 4px; }
#output .filter-box { white-space: nowrap; }

/* Projektlisten-Toggle eigene Zeile */
.filter-project .project-list-btn { display: block; width: 100%; }
.filter-project .project-list-btn .btn-project-list { display: block; width: 100%; text-align: left; }
#output .filter-box {
	background: var(--site-background);
	border-radius: 2px;
	padding: 2px 6px;
	font: inherit;
	line-height: 1.2;
}

.project-filter {
	/* padding: 5px; */
	background: var(--color-background);
}

/* Stempel-Bereich: keine zusätzlichen Innenabstände nötig, Grid regelt Außenabstand */
.filter-project.stamp {
	box-sizing: border-box;
	/* gleiches Styling wie Header */
	
}
.filter-project.stamp {
	box-sizing: border-box; /* kein eigener Hintergrund; Unterelemente übernehmen Blur */
	
}

.filter-project button {
	background:none;
    border:none;
    margin:1px 0 0 1px;;
    padding: 2px 0 0 2px;
    cursor: pointer;
	display: block;
	font-family: var(--font-family-project);
	font-style: var(--font-weight-project);
	color: var(--color-darkgrey);
}
.project-btn button:hover {
	background: var(--site-background);
	border-radius: 2px;
	width: 100%;
}
.project-btn button.is-checked {
	background: var(--site-background);
	border-radius: 2px;
	width: 100%;
	font-weight: 700;
}

/* Projekt-Label: links Beschreibung (100px), rechts Name flexibel */
.filter-project .project-label {
	display: flex;
	align-items: baseline;
	gap: 8px;
}
.filter-project .project-label .project-desc {
	width: 55px;
	flex: 0 0 55px;
	text-align: left;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.filter-project .project-list-btn {
	padding: 5px;
}
.filter-project .project-label .project-name {
	flex: 1 1 auto;
	min-width: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	text-align: left;
}

/* Toggle-Button für Projektliste optisch wie Projekt-Buttons */
.filter-project .project-list-btn .btn-project-list {
	background: none;
	border: none;
	margin: 0;
	padding: 0;
	cursor: pointer;
	display: block;
	font-family: var(--font-family-project);
	font-style: var(--font-weight-project);
	color: var(--color-basic-grey);
}
.filter-project .project-list-btn .btn-project-list:hover {
	font-family: var(--font-family-project);
	font-weight: var(--font-weight-project);
	font-style: var(--font-weight-project);
}

.project-btn {
	padding: 5px;
}


/**---@MEDIA QUERIES---------------------------------------------*/
/* Spaltenanzahl und responsive Anpassungen */

/* Standard Viewport: */
:root {
		--columns: 9;
		/* Horizontaler Innenabstand des Grids: 10px links + 10px rechts = 20px */
		--grid-horizontal-padding: 20px;
  	}

/* Viewport: 1460 x ??? */
@media screen and (max-width: 1460px) {
     :root {
        --columns: 8;
    }
	/* 2. Info ausblenden */
	.nav ul li:nth-child(3) {
		display: none;
	}
	}

/* Viewport: 1200 x ??? */
@media screen and (max-width: 1200px) {
	    :root {
        --columns: 7;
    }
	/* 2. Info ausblenden */
	.nav ul li:nth-child(6) {
		display: none;
	}
	.head-filter-cont { 
		grid-column: span 4; 
	}
	/* Project-filter stamp width auf 3 colums */
	.filter-project {
			width: calc(3*(100%/var(--columns))); left: calc(100% - 3*(100%/var(--columns))); 
	}
}

/* Viewport: 1024 x ??? */
@media screen and (max-width: 1024px) {
  	:root { 
		--columns: 4; 
	}

	.nav ul li:nth-child(4) {
		display: none!important;
	}

	.nav ul li:nth-child(3),
	.nav ul li:nth-child(6) {
		display: block;
	}
	/* Project-filter stamp width auf 3 colums */
	.filter-project {
			width: calc(2*(100%/var(--columns))); left: calc(100% - 2*(100%/var(--columns))); 
	}
	.nav ul li button {
			height: 34px;
		}
}

/* Viewport: 736px ??? */
@media screen and (max-width: 736px) {
		:root {
			--columns: 3;
		}
		li.type-filter {
			grid-column: span 3;
		}
		.nav ul {  
			margin: 0px 10px 0px 0px;
		}
		.nav ul li:nth-child(4) {
			display: none;
		}
		.nav ul li:nth-child(6) {
			display: none;
		}
		.nav ul li:nth-child(5) {
			text-align: right !important;
			grid-column: span 2;
		}
		.filter-project {
			width: calc(3*(100%/var(--columns))); left: 0; 
		}
		.nav ul li button {
			height: 30px;
		}

	/* Projektlisten-Toggle mobil */
	.project-list-btn { display: block; margin: 0; }
	.project-list-btn .btn-project-list {
		cursor: pointer;
		background: var(--color-basic-grey, #666);
		color: #fff;
		border: none;
		padding: 6px 10px;
		font: inherit;
	}
	/* Projektliste selbst ausblenden, Toggle sichtbar */
	.button-group.project-filter .project-btn { display: none; }
	.button-group.project-filter .project-btn.is-visible { display: block; }
	.button-group.project-filter .btn-close-project-list { display: block; }

	}

/*Viewport: 540 x ??? */
@media screen and (max-width: 540px) {
		.nav ul li:nth-child(3) {
		display: none;
		}
}

/*Viewport: 374 x ??? */
@media screen and (max-width: 374px) {
		.nav ul {  
			margin: 0px 10px 0px 0px;
		}
}

/* Ab 737px: Liste immer sichtbar, Toggle ausgeblendet */
@media (min-width: 737px) {
	.button-group.project-filter .project-btn { display: block; }
	.project-list-btn { display: none; }
	.button-group.project-filter .btn-close-project-list { display: none; }
}
