/*!
Theme Name: Hamburger Gruene Bauten
Theme URI: https: //stadtkreation.de/
Author: Stadtkreation
Author URI: https: //stadtkreation.de/
Description: Wordpress Theme for Hamburger Gruene Bauten by Stadtkreation.
Version: 0.3.74
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: hamburger-gruene-bauten */

/* root */

:root {
	--text-color: rgb(0, 0, 0);
	--text-color-negative: rgb(255, 255, 255);
	--primary-color: #003063;
	--secondary-color: #e30613;
	--link-hover-color: rgb(61, 121, 185):
}

:html {
	font-size: 100%;
	font-weight: 400;
	line-height: normal;
}

/* fonts */

@font-face {
	font-family: 'HamburgSans';
	src: url('fonts/HamburgSans-Regular.woff2');
}

@font-face {
	font-family: 'HamburgSans';
	src: url('fonts/HamburgSans-Bold.woff2');
	font-weight: bold;
}

@font-face {
	font-family: 'HamburgSans';
	src: url('fonts/HamburgSans-Italic.woff2');
	font-style: italic;
}

/* general */		 


* {
	margin: 0;
	padding: 0;
}

body {
	min-height: calc(100vh + 1px);
	min-width: 320px;
	text-align: center;
	background: var(--primary-color);
	color: var(--text-color);
}

a img {
	border: none;
}

a {
	text-decoration: underline;
	color: var(--primary-color);
}

a:hover,
a:active,
a:focus {
	color: var(--link-hover-color);
	text-decoration: underline;
}

p, ul, ol, table, figcaption {
	padding-bottom: 1em;
}

h1 , h2, h3, h4, h5, h6, h7, h8, h9 {
	font-family: 'HamburgSans';
	font-weight: bold;
	padding-bottom: 1em;
	padding-top: .5em;
	font-size: 16px;
	line-height: 1.4em;
	color: var(--text-color);
}

h1 {
	font-size:1.5rem;
	font-weight:500;
	line-height:2rem;
	margin-bottom:2.25rem
}

@media (min-width: 100rem) {
	h1 {
		margin-bottom:3.375rem
	}
}

@media(min-width: 64rem) {
	h1 {
		font-size:2rem;
		font-weight:600;
		line-height:2.875rem
	}
}

@media(min-width: 100rem) {
	h1 {
		font-size:3rem;
		line-height:4rem
	}
}

h2 {
	font-size: 135%;
}

h3 {
	font-size: 125%;
}

h4 {
	font-size: 112.5%;
}

h5 {
	font-size: 105%;
}

@media screen and (max-width: 767px) {
	h2 {
		font-size: 115%;
	}

	h3 {
		font-size: 111%;
	}

	h4 {
		font-size: 107.5%;
	}

	h5 {
		font-size: 102.5%;
	}
}

input, button, textarea, select, option {
	font-family: 'HamburgSans';
	border-radius: 0;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
textarea,
select {
	width: 100%;
	box-sizing: border-box;
	padding: 5px;
	background: #f0f0f0;
	font-size: 18px;
	border: none;
}

textarea {
	height: 300px;
}

textarea.small {
	height: 100px;
}

label, .group-label {
	font-weight: bold;
}

label span, .group-label span {
	font-weight: normal;
}

button, input[type="submit"], .button {
	border: none;
	background: var(--secondary-color);;
	color: white;
	font-weight: bold;
	font-size: 18px;
	letter-spacing: .02em;
	padding: 5px 30px;
	cursor: pointer;
	transition: all .2s;
}

button:not(.deactivated):hover, input[type="submit"]:not(.deactivated):not([disabled]):hover, .button:hover, .button:active, .button:focus {
	background: #007194;
	transform: scale(1.05,1.05);
	color: white;
	text-decoration: none;
}

button.deactivated, input[type="submit"].deactivated, input[type="submit"][disabled] {
	cursor:not-allowed;
	background: #cccccc;
}

input:not([type="submit"]).deactivated, textarea.deactivated, select.deactivated, option.deactivated {
	color: #999999;
}


/* page */

#page {
	font-family: 'HamburgSans';
	color: var(--text-color);
	font-size: 1rem;
	line-height: 1.5rem
}

@media(min-width: 64rem) {
	#page {
		font-size: 1.125rem;
		line-height: 1.875rem
	}
}

/* network activity overlay */

#network-activity-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background: rgba(255,255,255,.7);
	z-index: 100000;
}

#network-activity-overlay:after {
	display: block;
	content: "Ihr Wettbewerbsbeitrag wird generiert";
	position: fixed;
	top: 40vh;
	left: 0;
	width: 100%;
	height: 20vh;
	text-align: center;
	font-weight: bold;
	background-image: url(img/status.gif);
	background-position: bottom center;
	background-repeat: no-repeat;
}

#network-activity-overlay.save:after {
	content: "Ihr Wettbewerbsbeitrag wird zwischengespeichert";
}
	

/* site header */

header.site-header {
	background: white;
	position: relative;
}

header.site-header .inner {
	max-width: 980px;
	text-align: left;
	margin: auto;
	padding: 20px;
}

header.site-header .site-branding {
	float: right;
	padding-right: 20px;
	padding-top: 20px;
	max-height: 50px;
}

header.site-header .site-branding img {
	max-height: 50px;
	max-width: 30vw;
	width: auto;
	height: auto;
}

header.site-header .top-logo {
	margin-top: 20px;
	max-width: 40vw;
	padding-left: 20px;
	padding-bottom: 20px;
}

@media screen and (max-width: 767px) {
	header.site-header .top-logo {
		margin-top: 0;
	}
}

header.site-header .top-logo img {
	max-height: 90px;
	height: auto;
	width: auto;
}

@media screen and (max-width: 767px) {
	header.site-header .top-logo {
		padding-left: 0;
	}
	
	header.site-header .site-branding {
		padding-right: 0;
		padding-top: 0;
	}
}

/* top navigation */

.top-navigation-box {
	text-align: right;
	padding-right: 20px;
}

@media (max-width: 767px) {
	.top-navigation-box {
		padding-right: 0;
	}
}

nav.top-navigation,
nav.top-navigation div,
nav.top-navigation ul {
	display: inline-block;
}

nav.top-navigation li {
	list-style: none;
	display: inline-block;
	margin-left: 10px;
}

nav.top-navigation a {
	color: #999999;
	font-size: 90%;
}

nav.top-navigation li.current_page_item a {
	font-weight: bold;
}

@media screen and (max-width: 767px) {
	nav.top-navigation	{
		padding-right: 0;
	}
}

/* main navigation */

nav.main-navigation li {
	list-style: none;
	display: inline-block;
	text-transform: uppercase;
	margin-right: 25px;
	margin-left: 20px;
	position: relative;
}

nav.main-navigation > div > ul > li: last-child {
	margin-right: 0;
}

nav.main-navigation li a {
	font-size: 110%;
	letter-spacing: .05em;
	color: var(--primary-color);
}

nav.main-navigation li.current_page_item > a {
	font-weight: bold;
}

nav.main-navigation li a:hover,
nav.main-navigation li a:active,
nav.main-navigation li a:focus {
	text-decoration: none;
	color: var(--secondary-color);;
}

nav.main-navigation li.backlink a {
	background: var(--primary-color);
	color: white;
	display: inline-block;
	padding: 2px 6px;
}

nav.main-navigation li.backlink a:hover,
nav.main-navigation li.backlink a:focus,
nav.main-navigation li.backlink a:active {
	background: var(--secondary-color);;
}

@media (min-width: 768px) {
	nav.main-navigation li ul {
		display: none;
	}

	nav.main-navigation li:hover > ul,
	nav.main-navigation li:focus-within > ul {
		display: block;
		position: absolute;
		left: -.5em;
		top: 1.5em;
		max-width: 280px;
		min-width: 200px;
		background: #e9e9e9;
		padding: 0;
		margin: 0;
	}
}

nav.main-navigation li > ul > li {
	padding: .5em;
	margin: 0;
}

nav.main-navigation li > ul > li > a {
	font-size: 95%;
}

@media screen and (max-width: 767px) {
	nav.main-navigation {
		text-align: center;
	}
	
	nav.main-navigation.toggled {
		text-align: right;
	}
	
	nav.main-navigation > div {
		text-align: left;
	}
	
	nav.main-navigation .menu-toggle {
		border: none;
		background: none;
		text-transform: uppercase;
		font-weight: bold;
		font-size: 14px;
		letter-spacing: .05em;
		line-height: 30px;
		cursor: pointer;
		color: var(--primary-color);
		padding: 0;
		margin-bottom: 20px;
		transition: none;
	}
	
	nav.main-navigation .menu-toggle:hover {
		color: var(--secondary-color);;
		transform: none;
	}

	nav.main-navigation .menu-toggle:after {
		font-family: 'dashicons';
		content: '\f333';
		font-size: 28px;
		line-height: 30px;
		margin-left: 10px;
		display: inline-block;
		vertical-align: middle;
	}
	
	nav.main-navigation > div {
		display: none;
	}
	
	nav.main-navigation.toggled > div {
		display: block;
	}
	
	nav.main-navigation.toggled .menu-toggle {
		font-size: 0;
	}
	
	nav.main-navigation.toggled .menu-toggle:after {
		margin-left: 0;
		content: '\f158';
	}
	
	nav.main-navigation li {
		display: block;
		margin-right: 0;
		margin-bottom: 10px;
	}

	nav.main-navigation li.topnavi a {
		color: #999999;
	}
}

/* header image */

#header-image {
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	background-color: #f0f0f0;
}

#header-image:after {
	display: block;
	padding-top: 10%;
	content: " ";
}

body.home #header-image:after {
	padding-top: 40%;
}

/* bug */

.bug {
	bottom: -.84375rem;
	height: 1.6875rem;
	left: -7.8125rem;
	position: absolute;
	width: auto;
	z-index: 2
}

@media (min-width: 48rem) {
	.bug {
		bottom:-.8125rem;
		height:1.625rem;
		left:-7.6875rem
	}
}
@media (min-width: 64rem) {
	.bug {
		bottom:-1.25rem;
		height:2.5rem;
		left:-11.75rem
	}
}
	

/* content */

#content {
	background: white;
}

#main {
	display: block;
	max-width: 980px;
	text-align: left;
	margin: auto;
	padding: 20px 20px 50px;
}

#content .intro {
	font-size: 120%;
	line-height: 1.4em;
}

#content header.entry-header {
	padding: 10px 20px;
	margin-bottom: 50px;
}

.flag-wrapper {
	margin-top: -20px;
	margin-bottom: 20px;
	display: block;
	font-family: 'HamburgSans',sans-serif;
	text-transform: none;
	padding: 0 20px;
}

@media screen and (max-width: 767px) {
	.flag-wrapper {
		padding: 0 10px;
	}
}

.flag-wrapper .flag.prize.type-anerkennung {
	font-size: 100% !important;
}

.flag-wrapper .flag-cat {
	display: inline-block;
	margin-bottom: .25em;
}

.flag-wrapper .flag {
	border: 1px solid #445e6c;
	display: inline-block;
	margin-bottom: .25em;
	margin-right: .25em;
	background: none;
}

#content header.entry-header.cat h1	{
	color: white;
	padding-bottom: 0;
}

@media screen and (max-width: 767px) {
	#content header.entry-header {
		padding: 0;
		margin-bottom: 20px;
	}
}

#primary .entry-content {
	hyphens: auto;
	margin-bottom: 20px;
}

@media screen and (min-width: 768px) {
	#primary .entry-content {
		padding-left: 20px;
		padding-right: 20px;
	}
}

#content .kurzintro {
	font-weight: bold;
}

#content .entry-images .gallery {
	display: flex;
	flex-wrap: wrap;
}

#content .entry-images figure {
	margin: 0 30px 30px 0;
	line-height: 1.1em;
}

/*#content .entry-images .gallery-icon {
	max-height: 200px !important;
}

#content .entry-images img {
	height: 200px !important;
	width: auto !important;
}*/

#content .entry-images a {
	text-decoration: none;
	color: #445e6c;
}

#content .entry-images figcaption {
	font-size: 85%;
}

#content .hpg-beteiligte-1 p,
#content .hpg-beteiligte-2 p,
#content .hpg-beteiligte-3 p,
#content .hpg-beteiligte-4 p,
#content .hpg-beteiligte-5 p,
#content .hpg-beteiligte-6 p {
	font-weight: bold;
	padding-bottom: 0;
	margin-bottom: 0;
}

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

#content ul,
#content ol {
	margin-left: 25px;
}

#content ul {
	list-style: square;
}

#content article .post-thumbnail {
	margin-bottom: 2em;
	padding: 0 20px;
}

@media screen and (max-width: 767px) {
	#content article .post-thumbnail {
		padding: 0 10px;
	}
}

#content article .post-thumbnail img {
	max-width: 100%;
	max-height: 30vw;
	height: auto;
	width: auto;
}

@media screen and (max-width: 767px) {
	#content article .post-thumbnail img {
		max-height: 60vw;
	}
}

/* reposnsive video */

.responsive-video {
	position: relative;
	padding-bottom: 56.25%;
	display: block;
}

.responsive-video iframe {
	position: absolute;
	height: 100%;
	width: 100%;
	border: none;
}

/* special content elements */

p.notice {
	padding: 5px 8px;
	border: 1px solid #445e6c;
	background: #f0f0f0;
}

p.notice.error {
	border: 1px solid red;
	background: rgba(255,0,0,.2);
	color: red;
}

/* ankerliste */

#content .ankerliste ul {
	margin-left: 0;
}

#content .ankerliste li {
	display: inline-block;
	margin-right: 6px;
	margin-bottom: 5px;
	list-style: none;
	padding-bottom: 5px;
}

#content .ankerliste li a {
	display: inline-block;
	padding: 3px 5px;
	background: #006d68;
	text-decoration: none;
	font-weight: bold;
	color: white;
}

#content .ankerliste li a:hover,
#content .ankerliste li a:focus {
	color: white;
	background: #63ac79;
}

/* post teasers */

.post-teaser-list {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -10px 20px -10px;
	width: calc(100% + 20px);
	padding: 20px 0;
}

.post-teaser-list.flat {
	padding: 10px 0 0;
	margin-bottom: 0;
}

.post-teaser-list.float {
	display: block;
	clear: both;
}

.post-teaser {
	width: calc(33.33% - 20px);
	padding: 10px;
	box-sizing: border-box;
	margin: 10px;
	transition: all .2s;
	position: relative;
}

.post-teaser-list.columns-4 .post-teaser {
	width: calc(25% - 20px);
}

.post-teaser-list.float .post-teaser {
	display: block;
	float: left;
	margin-right: 30px;
	margin-bottom: 20px;
	width: 260px;
	margin-top: 5px;
}

@media screen and (max-width: 767px) {
	.post-teaser-list.float .post-teaser {
		float: none;
		margin-right: 0;
	}
}

.post-teaser-list:not(.nolink) .post-teaser:not(.inactive):hover,
.post-teaser-list:not(.nolink) .post-teaser:not(.inactive):focus-within {
	transform: scale(1.05);
}

.post-teaser.inactive {
	opacity: .2;
}

.post-teaser.shadow {
	text-shadow: 0 0 6px black;
}

.post-teaser .category {
	color: white;
	text-shadow: none;
	margin: 0 -10px;
	width: calc(100% + 20px);
	padding: 5px 10px;
	box-sizing: border-box;
}

.post-teaser .category.cat-01-gebaut {
	background: #c6d200;
}

.post-teaser .category.cat-02-gepflegt,
.post-teaser .category.cat-allgemein {
	background: #004376;
}

.post-teaser .category.cat-03-genutzt {
	background: #63ac79;
}

.post-teaser .category.cat-04-gemanagt {
	background: #5ba2c2;
}

.post-teaser h3 {
	font-family: 'HamburgSans';
	text-align: left;
	font-size: 110%;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: white;
	position: absolute;
	top: 0;
	left: 0;
	padding: 10px;
	width: 100%;
	box-sizing: border-box;
}

.post-teaser.dark h3 {
	color: var(--primary-color);
}

.post-teaser-list.text-bottom .post-teaser h3 {
	top: auto;
	bottom: 3px;
}

.post-teaser-list.text-bottom-center .post-teaser h3 {
	top: auto;
	bottom: 3px;
	text-align: center;
}

.post-teaser a {
	text-decoration: none;
	color: white;
}

.post-teaser.dark a {
	color: var(--primary-color);
}


.post-teaser .box-link {
	width: 100%;
	height: 100%;
	display: block;
	position: absolute;
	left: 0;
	top: 0;
}

.post-teaser a.readmore {
	font-weight: bold;
}

.post-teaser .teaser-image {
	display: block;
	background-color: #f0f0f0;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	margin: -10px 0 0 -10px;
	width: calc(100% + 20px);
}

.post-teaser .teaser-image:after {
	content: " ";
	padding-top: 60%;
	display: block;
}

.post-teaser .teaser-text {
	hyphens: auto;
}

.post-teaser .teaser-text h3 {
	hyphens: none;
}

.post-teaser .teaser-text h3 span {
	font-weight: normal;
}


@media screen and (max-width: 979px) {
	.post-teaser,
	.post-teaser-list.columns-4 .post-teaser {
		width: calc(50% - 30px);
	}
}

@media screen and (max-width: 639px) {
	.post-teaser-list {
		margin: 0 0 15px 0;
		width: 100%;
	}
	.post-teaser,
	.post-teaser-list.columns-4 .post-teaser {
		width: 100%;
		margin: 0 0 20px 0;
	}
}

/* hpg-karte */

.hpg-karte {
	position: relative;
	height: 600px;
	margin-bottom: 20px;
}

#content .leaflet-container {
	font-family: 'HamburgSans';
}

@media screen and (max-width: 767px) {
	.hpg-karte {
		height: 400px;
	}
}

.leaflet-container .white-layer {
	width: 2000px;
	height: 2000px;
	background: white;
}

.hpg-karte path.leaflet-interactive {
	cursor: default;
}

.hpg-karte .leaflet-popup-content-wrapper {
	border-radius: 0;
	max-width: 280px;
}

.hpg-karte .leaflet-popup-content {
	width: 220px;
	padding-top: 1.5em;
}

.hpg-karte .leaflet-popup-content img {
	width: auto !important;
	height: auto !important;
	max-width: 100%;
	max-height: 220px;
}

.hpg-karte .leaflet-popup-content h2 {
	color: white;
	padding: 5px 8px;
	background: var(--primary-color);
	margin: 0 0 .3em;
	hyphens: none;
	font-size: 120%;
}

.hpg-karte .leaflet-popup-content p {
	margin: 0;
	padding-bottom: .5em;
}

.hpg-karte .leaflet-popup-content p: last-child {
	padding-bottom: 0;
}

#content .hpg-karte .hpg-karte-layer-switcher {
	position: absolute;
	bottom: 10px;
	left: 120px;
	width: calc(100% - 90px);
	z-index: 100000;
	margin: 0;
	padding: 0;
}

.hpg-karte .hpg-karte-layer-switcher li {
	display: inline;
	margin-right: 5px;
	margin-bottom: 5px;
}

.hpg-karte .hpg-karte-layer-switcher li.spacer {
	margin-left: 10px;
}

.hpg-karte .hpg-karte-layer-switcher a {
	display: inline-block;
	padding: 1px 5px;
	color: white;
	background: #808080;
	opacity: .5;
	text-decoration: none;
	text-transform: uppercase;
	font-weight: bold;
}

.hpg-karte .hpg-karte-layer-switcher a.special-button {
	font-weight: normal;
}

.hpg-karte .hpg-karte-layer-switcher a.activated {
	opacity: 1;
}

@media screen and (max-width: 767px) {
	#content .hpg-karte .hpg-karte-layer-switcher {
		bottom: 60px;
		left: 10px;
		width: auto;
	}
	.hpg-karte .hpg-karte-layer-switcher li {
		display: block;
		list-style: none;
	}
	.hpg-karte .hpg-karte-layer-switcher li.spacer {
		margin-left: 0;
		margin-top: 15px;
	}
}

#content .hpg-karte .cat-allgemein {
	background: #004376;
}

#content .hpg-karte .cat-01-bauliche-massnahme {
	background: #c6d200;
}

#content .hpg-karte .cat-02-aktion-programm {
	background: #004376;
}

#content .hpg-karte .prize-text {
	margin-bottom: -3px;
	padding: 5px 8px 0 8px;
	color: white;
	text-transform: uppercase;
	hyphens: none;
}

#content .hpg-karte .prize-text:before {
	font-family: dashicons;
	display: inline-block;
	margin-right: 5px;
	content: "\f155";
	font-size: 120%;
}

#content .hpg-karte .prize-text.type-anerkennung:before {
	font-size: 70%;
	content: "\f154";
}

#content .hpg-karte .prize-text.type-sonderpreis:before {
	font-size: 70%;
	content: "\f154";
}

/* hpg-teilnahmeformular */

.hpg-teilnahmeformular:after {
	display: block;
	content: " ";
	clear: both;
}

.hpg-teilnahmeformular-seite,
.hpg-teilnahmeformular-speicherseite {
	display: none;
}

.hpg-teilnahmeformular.no-paging .hpg-teilnahmeformular-seite,
.hpg-teilnahmeformular.no-paging .hpg-teilnahmeformular-speicherseite {
	display: block !important;
}

.hpg-teilnahmeformular-zurueck {
	float: left;
	margin-right: 20px;
}

.hpg-teilnahmeformular-weiter,
.hpg-teilnahmeformular-absenden {
	text-align: right;
}

.hpg-teilnahmeformular-aktueller-schritt {
	text-align: center;
}

.hpg-teilnahmeformular-aktueller-schritt span {
	font-weight: bold;
}

.hpg-teilnahmeformular-feld {
	display: block;
	padding-bottom: 1em;
}

.hpg-teilnahmeformular-feld.jahre {
	display: flex;
	flex-wrap: wrap;
}

.hpg-teilnahmeformular-feld.jahre .group-label {
	width: calc(40% - 10px);
	margin-right: 20px;
}

.hpg-teilnahmeformular-feld.jahre label {
	width: calc(30% - 15px);
	margin-right: 20px;
}

.hpg-teilnahmeformular-feld.jahre label: last-child {
	margin-right: 0;
}

@media screen and (max-width: 639px) {
	.hpg-teilnahmeformular-feld.jahre {
		display: block;
	}
	.hpg-teilnahmeformular-feld.jahre .group-label,
	.hpg-teilnahmeformular-feld.jahre label {
		width: auto;
		margin-right: 0;
	}
}

.hpg-teilnahmeformular-character-counter.out-of-range {
	color: red;
}

.hpg-teilnahmeformular-character-counter.no-length {
	display: none;
}

.hpg-teilnahmeformular .form-preview-image {
	max-width: 200px !important;
	height: auto;
}

.hpg-teilnahmeformular .overview-button {
	clear: both;
}

.hpg-teilnahmeformular .data-overview-hide {
	display: none;
}

/* entries list */

.hpg-entries-list .entry {
	background: #f0f0f0;
	padding: 10px;
	margin-bottom: 20px;
	display: flex;
	position: relative;
	border: 1px solid #004376;
}

.hpg-entries-list .entry.exclusion {
	border: 1px solid red;
	background: #fff0f0;
}

.hpg-entries-list .entry.cat-allgemein {
	border: 1px solid #004376;
}

.hpg-entries-list .entry.nominated,
.hpg-entries-list .entry.prizes {
	border: 1px solid #808080;
}

.hpg-entries-list .entry.cat-allgemein.preis,
.hpg-entries-list .entry.cat-01-gebaut.nominated,
.hpg-entries-list .entry.cat-01-gebaut.prizes {
	border: 1px solid #c6d200;
}

.hpg-entries-list .entry.cat-allgemein.nominated,
.hpg-entries-list .entry.cat-02-gepflegt.nominated,
.hpg-entries-list .entry.cat-02-gepflegt.prizes {
	border: 1px solid #004376;
}

.hpg-entries-list .entry.cat-allgemein.nominated,
.hpg-entries-list .entry.cat-03-genutzt.nominated,
.hpg-entries-list .entry.cat-03-genutzt.prizes {
	border: 1px solid #63ac79;
}

.hpg-entries-list .entry.cat-allgemein.anerkennung,
.hpg-entries-list .entry.cat-04-gemanagt.nominated,
.hpg-entries-list .entry.cat-04-gemanagt.prizes {
	border: 1px solid #5ba2c2;
}

.hpg-entries-list .entry-text .category {
	color: #fff;
	font-weight: 600;
	padding: 2px 5px;
	margin-right: 8px;
}

.hpg-entries-list .entry-text .cat-01-bauliche-massnahme {
	background-color: #c6d200;
}

.hpg-entries-list .entry-text .cat-02-aktion-programm {
	background-color: #004376;
}

.hpg-entries-list .entry .flag {
	position: absolute;
	top: 0;
	left: 0;
	padding: 5px;
	color: white;
	font-weight: bold;
	text-transform: uppercase;
}

.hpg-entries-list .entry .flag.nominated-flag {
	font-size: 80%;
}

.flag.prize {
	padding: 8px;
	font-size: 120%;
}

.flag.prize.type-anerkennung,
.flag.prize.type-sonderpreis {
	font-size: 80%;
	letter-spacing: .025em;
	line-height: 1.4em;
}

.flag.prize:before {
	font-family: dashicons;
	display: inline-block;
	margin-right: 10px;
	content: "\f155";
}

.flag.prize.type-anerkennung:before {
	font-size: 90%;
	content: "\f154";
}

.flag.prize.type-sonderpreis:before {
	font-size: 90%;
	content: "\f154";
}

.cat-allgemein .flag {
	background: #004376;
}

.flag {
	background: #808080;
	max-width: 220px;
	hyphens: none;
}

.cat-allgemein .prize-flag,
.cat-01-gebaut .flag {
	background: #c6d200;
}

.cat-02-gepflegt .flag {
	background: #004376;
}


.cat-allgemein .nominated-flag,
.cat-03-genutzt .flag {
	background: #63ac79;
}

.cat-allgemein .prize-flag.type-anerkennung,
.cat-04-gemanagt .flag {
	background: #5ba2c2;
}

.exclusion-flag {
	background: red;
}

.exclusion-reason {
	color: red;
	font-weight: bold;
	font-style: italic;
}

#content .hpg-entries-list .entry p {
	padding-bottom: 5px;
}

#content .hpg-entries-list .entry h3 {
	padding: 0 0 5px 0;
	margin: 0;
}

.hpg-entries-list .entry .entry-image {
	width: 220px;
}

.hpg-entries-list .entry .entry-image img {
	max-width: 100%;
	height: auto;
}

.hpg-entries-list .entry .entry-text {
	width: calc(100% - 240px);
	margin-left: 20px;
}

.hpg-entries-list .entry .cat {
	color: white;
	font-weight: bold;
	font-size: 90%;

}

.hpg-entries-list .entry .cat span {
	display: inline-block;
	padding: 2px 4px;
}

.hpg-entries-list .entry .cat span.original-cat {
	padding-left: 10px;
	color: #445e6c;
	font-weight: bold;
	font-style: italic;
}

@media screen and (max-width: 599px) {
	.hpg-entries-list .entry {
		display: block;
	}
	.hpg-entries-list .entry-image {
		margin-bottom: 10px;
		width: auto;
	}
	.hpg-entries-list .entry .entry-text {
		width: auto;
		margin: 0;
	}
}

/* blocks gallery */

.blocks-gallery-item {
	flex-grow: 0 !important;
}

.blocks-gallery-item figcaption {
	box-sizing: border-box;
}

.wp-block-gallery .blocks-gallery-item {
		width: calc(20% - 16px) !important;
		margin-right: 16px !important;
}

@media screen and (max-width: 767px) {
	.wp-block-gallery .blocks-gallery-item {
		width: calc(33.33% - 16px) !important;
		margin-right: 16px !important;
	}
}

@media screen and (max-width: 599px) {
	.wp-block-gallery .blocks-gallery-item {
		width: calc(50% - 16px) !important;
		margin-right: 16px !important;
	}
}

@media screen and (max-width: 419px) {
	.wp-block-gallery .blocks-gallery-item {
		width: 100% !important;
		margin-right: 0 !important;
	}
}

.blocks-gallery-grid {
	width: 100% !important;
}

/* ticker */

.ticker {
	padding-bottom: 30px;
}

.ticker-inner {
	border-top: 2px solid var(--primary-color);
	border-bottom: 2px solid var(--primary-color);
	text-transform: uppercase;
	color: var(--primary-color);
	font-size: 21px;
	font-weight: bold;
	line-height: 40px;
	letter-spacing: .05em;
}

/* vorjury & jury */

nav.vorjury-navigation,
nav.jury-navigation {
	margin-top: -30px;
	padding: 0 14px;
}

@media (max-width: 767px) {
	nav.vorjury-navigation,
	nav.jury-navigation	{
		margin-top: -10px;
		margin-left: -6px;
		width: calc(100% + 12px);
		padding: 0;
	}
}

#content nav.vorjury-navigation ul,
#content nav.jury-navigation ul {
	margin-left: 0;
}

nav.vorjury-navigation li,
nav.jury-navigation li {
	display: inline-block;
	padding: 0 6px;
	margin-bottom: 10px;
}

nav.vorjury-navigation li a,
nav.jury-navigation li a {
	text-decoration: none;
	display: inline-block;
	padding: 5px 8px;
	color: white;
	background: rgba(0,108,103,.5);
	font-weight: bold;
	transition: background ease-in .3s;
}

nav.vorjury-navigation li a:hover,
nav.vorjury-navigation li a:focus,
nav.vorjury-navigation li a:active,
nav.vorjury-navigation li.current_page_item a,
nav.jury-navigation li a:hover,
nav.jury-navigation li a:focus,
nav.jury-navigation li a:active,
nav.jury-navigation li.current_page_item a {
	background: rgb(0,108,103);
}

/* statistics blocks */

.statistics-block {
	margin-bottom: 30px;
}

.statistics-block .statistics-line {
	display: flex;
	margin-bottom: 10px;
}

@media screen and (max-width: 479px) {
	.statistics-block .statistics-line {
		flex-wrap: wrap;
	}
}

.statistics-block .label {
	width: 150px;
	padding-right: 10px;
	font-weight: bold;
}

@media screen and (max-width: 479px) {
	.statistics-block .label {
		width: 100% !important;
	}
}

.statistics-block .bar {
	width: calc(100% - 230px);
}

@media screen and (max-width: 479px) {
	.statistics-block .bar {
		width: calc(100% - 70px) !important;
	}
}

.statistics-block .bar .inner {
	text-align: right;
	background: rgb(0,108,103);
}

.statistics-block .bar .inner .count {
	padding-right: 10px;
	color: white;
	white-space: nowrap;
	font-weight: bold;
}

.statistics-block .bar .inner .count.zero {
	color: #445e6c;
}	

.statistics-block .percent {
	width: 60px;
	padding-left: 10px;
	text-align: right;
}

.statistics-block.funktionen .percent {
	display: none;
}

/* reload button */

.reload-button:before {
	display: inline-block;
	font-size: 120%;
	vertical-align: top;
	font-family: dashicons;
	content: '\f463';
	padding-right: 10px;
}

/* project dropdown */

#content .project-dropdown {
	margin: 20px 0;
	padding: 10px;
	border: 1px solid #445e6c;
}

#content .project-dropdown p {
	padding-bottom: 0;
}

#content .project-dropdown select {
	display: inline-block;
	width: auto;
	margin: 0 10px;
	font-weight: bold;
	border: 1px solid #445e6c;
}

#content .project-dropdown button {
	display: inline-block;
	margin-left: 10px;
}

/* live notizen */

.live-notizen {
	width: 100%;
	box-sizing: border-box;
	padding: 5px;
	background: #f0f0f0;
	font-size: 18px;
	border: none;
	height: 300px;
	margin-bottom: 20px;
}

/* swipe box */

#swipebox-overlay {
	background: #b0b0b0;
}

#swipebox-bottom-bar, #swipebox-top-bar {
	background: #aaaaaa;
}

/* stadtkreation-surveys */

.stadtkreation-survey-frontend-form label {
	display: block;
}

h2.survey-section-title {
	width: calc(100% + 40px);
	background: #f0f0f0;
	color: var(--primary-color);
	padding: 10px 20px;
	margin: 30px 0 30px -20px;
	box-sizing: border-box;
}

.question-box.type-text input {
	margin-bottom: 20px;
}

/* footer */

footer.site-footer {
}

footer.site-footer .inner {
	max-width: 980px;
	text-align: left;
	margin: auto;
	padding: 20px;
	color: var(--text-color-negative);
	font-size: .875rem;
	line-height: 1.5rem;
	box-sizing: border-box;
	display: flex;
	gap: 2rem;
}

footer.site-footer .inner .left,
footer.site-footer .inner .right {
	width: calc(50% - 1rem);
}

footer.site-footer .inner .right {
	text-align: right;
}

footer.site-footer .inner a {
	color: var(--text-color-negative);
}

footer.site-footer .inner .menu li {
	list-style: none;
	display: inline;
	padding-right: 1.5rem;
}

footer.site-footer .inner .right .menu li {
	padding-right: 0;
	padding-left: 1.5rem;
}

footer.site-footer .inner img {
	margin: 0 25px 15px 0;
}

footer.site-footer .widget_media_image,
footer.site-footer .wp-block-image {
	float: none !important;
	display: inline-block;
}

footer.site-footer .wp-block-image figure {
	display: inline-block;
	float: none !important;
}

/* screen reader elements */

/* Text meant only for screen readers. */
.screen-reader-text,
.site-title,
.site-description {
	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,
.site-title:focus-within {
	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;
}

@media screen and (min-width: 768px) {
	nav.main-navigation .menu-toggle {
		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;
	}

	nav.main-navigation .menu-toggle: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;
	}
}

