* {
	font-family: "Lato";
}

.main {
	max-width: var(--mw-container);
}

.heading {
	flex: 1;
	flex-basis: 100%;
}

.heading > * {
	width: 100%;
	max-width: var(--mw-container);
	margin-left: auto;
	margin-right: auto;
}

.heading > *:last-child {
	margin-bottom: 112px;
}

.project__wrapper {
	position: relative;
	flex: 1;
	flex-basis: 100%;
}

.filter_section {
	margin: 10px 0 0 10px;
	width: 100%;
	float: left;
}

#filter {
	margin-left: 0;
	margin-top: 0;
}

.projects {
	max-width: var(--mw-container);
	margin: 0 auto 1em;
}

.projectCounter {
	display: flex;
}

.searchQueryContainer {
	margin-right: auto;
}

.searchQueryContainer > i {
	font-weight: 800;
}

.top_projektanzahl {
	margin-left: auto;
}

#inhalt {
	/* width: calc(75% - 2px); */
	/* margin-left: 25%; */
	height: auto;
}

.columns_fieldset {
	padding: 0;
	border: none;
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
	width: 100%;
}

#deselect {
	background-color: #CA1720;
	color: #fff;
	border-radius: var(--b-radius);
	font-weight: bold;
	padding-left: 15px;
}

.top_line {
	border: 1px solid #F4F4F4;
	margin: 16px 0;
}

#top {
	width: calc(100% - 30px);
	padding: 15px;
	height: 18px;
}

.top_titel,
.top_sortieren {
	font-weight: bold;
}

.top_sortieren {
	margin-left: 50px;
}

#projekte {
	width: 100%;
	display: grid;
	grid-template-columns: repeat(auto-fill,minmax(0,300px));
	gap: 20px;
	justify-content: space-between;
}

.projekt_einzeln {
	box-shadow: var(--shadow);
	border-radius: var(--b-radius);
	position: relative;
	overflow: hidden;
	transition: box-shadow .2s;
	cursor: pointer;
	display: flex;
	flex-direction: column;
}

.projekt_einzeln:hover {
	box-shadow: var(--shadow-dark);
}

.project--expired:not(.project--draft) .project__expired, .project--draft .project__draft {
	display: flex;
}

.project--expired:not(.project--draft) .projekt_bild, .project--draft .projekt_bild {
	background-color: #fff;
}


.project--expired:not(.project--draft) .projekt_bild img, .project--draft .projekt_bild img {
	opacity: .3;
}

.project__banner {
	position: relative;
	display: block;
}

.project__expired, .project__draft {
	position: absolute;
	top: 0;
	height: 100%;
	width: 100%;
	display: none;
	flex-direction: column;
	place-content: center;
	align-items: center;
}

.projekt_einzeln.hide {
	display: none;
}

.projekt_bild {
	width: 100%;
	aspect-ratio: 3 / 2;
}

.projekt_bild img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border-radius: var(--b-radius-image);
}

.projekt_titel {
	padding: 8px 16px 8px;
	margin: 0;
}

.link_card.innerContent {
	display: flex;
	flex-direction: column;
}

.pitch__remainingDays {
	/*
	//TODO Warning:(17, 16) Unit of measure 'px' is redundant
	 */
	margin: 8px 16px 0;
	color: var(--c-signal-valid) !important;
}

.pitch__remainingDays--red {
    color: var(--c-primary) !important;
}

.projekte_text {
	margin: 10px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	display: none;
}

.projekt_tags {
	margin: auto 16px 16px;
	overflow: hidden;
	position: relative;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	color: transparent;
}

.projekt_tag {
	display: inline-block;
	margin-right: 5px;
	overflow: hidden;
}

.projekt_tag a {
	color: var(--c-grey);
}

#projekt_tagicon {
	margin-top: 3px;
    margin-left: 7px;
    width: 10px;
	float: left;
}

.projekt_erstellen {
	color: white;
	background-color: var(--c-secondary);
	border: 2px solid var(--c-secondary);
	border-radius: var(--b-radius-button);
	font-weight: bold;
	margin-left: 20px;
	margin-top: 3px;
	display: inline-block;
	padding: 10px;
	font-family: "Lato";
}

.no__projects {
	display: none;
}

.content {
	padding: 0 18px;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.2s ease-out;
}

#sucheinstellung {
	border-bottom: 1px solid #F4F4F4;
	width: 300px;
	position: absolute;
	top: 0;
	left: 0;
	overflow-y: auto;
	overflow-x: hidden;
	max-height: 100%;
}

.filter__toggleButton {
	display: none;
	justify-content: center;
	align-items: center;
	gap: 8px;
}

.filter__toggleButton:hover {
	cursor: pointer;
}



.collapsible {
	color: black;
	cursor: pointer;
	background: white;
	border: none;
	text-align: left;
	outline: none;
}

.link_card {
	text-decoration: none;
}

.link_card:hover {
	text-decoration: none;
}

.light-theme a,
.light-theme span {
	border-radius: var(--b-radius) !important;
	background: #ffffff !important;
}

.light-theme a:hover,
.light-theme li:not(.disabled):not(.active) span:hover {
	color: white !important;
	background: black !important;
}

.projekt_bewerben_button, .projekt_draft_button {
	position: absolute;
	z-index: 1;
}

.projekt_draft_button {
	right: 0;
	background-color: var(--c-secondary);
    border-radius: 0 var(--b-radius) 0 var(--b-radius);
    color: var(--c-white);
	border-color: var(--c-secondary);
	cursor: default;
}

.projekt_draft_button:hover {
	background-color: var(--c-secondary);
	color: var(--c-white);
	border-color: var(--c-secondary);
}

.project__actions {
	display: none;
    position: relative;
}

.project__actions summary {
	position: absolute;
	right: 1em;
	top: 1em;
	background-color: #fff;
	border-radius: 50%;
	box-shadow: var(--shadow);
	z-index: 5;
	display: flex;
	cursor: pointer;
}

.project--updateMessage .project__updateMessage {
	display: inline-block;
}

.project__updateMessage {
	display: none;
	position: absolute;
	right: -4px;
	top: -4px;
	height: 10px;
	width: 10px;
	border-radius: 50%;
	background-color: var(--c-secondary);
}

.project__updateMessage--inner {
	position: relative;
	top: -16px;
	right: 6px;
}

.project--updateMessage .projekt_edit {
	background-color: var(--c-secondaryLightest);
}

.project__actions:hover .pa__svg,
.project__actions[open] .pa__svg {
    stroke: var(--c-black);
}

.project__actions:hover summary,
.project__actions[open] summary {
	box-shadow: var(--shadow-dark);
}

.project__detail-menu {
    padding: 0;
	right: 2em;
	top: 2em;
    position: absolute;
    background-color: var(--c-white);
    box-shadow: var(--shadow);
    border-radius: var(--b-radius-small);
    z-index: 1;
	margin: 0;
	overflow: hidden;
}

.pdm__entry {
    padding: 0;
	list-style: none;
}

.pdm__link {
    color: black;
    text-decoration: none;
	padding: 8px 4px 8px 16px;
  	display: block;
}

.pitch_bewerben {
	color: var(--c-white);
	/*
	//TODO Warning:(17, 16) Unit of measure 'px' is redundant
	 */
	border-radius: var(--b-radius) 0 var(--b-radius) 0;
	display: block;
}

.pitch_bewerben:hover {
	background-color: var(--c-primary);
	color: var(--c-white) !important;
	text-decoration: none !important;
}

/****FILTER*****/
.filter__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.filter__header .h4 {
	margin-bottom: 0;
}

.filter__reset {
	margin-right: 8px;
}

.filter__reset:hover {
	cursor: pointer;
}

.filter_detail {
    margin: 0 16px;
    padding: 16px 0;
}

.filter_detail:not(:last-child) {
    border-bottom: 1px solid #F7F7F7;
}

.filter_detail summary {
    display: flex;
    align-items: center;
}

.filter_detail:hover {
    cursor: default;
}

.filter_detail summary::after {
    content: "";
    border-bottom: 2px solid #000;
    border-right: 2px solid #000;
    height: 6px;
    width: 6px;
    display: inline-block;
    transform: rotate(45deg);
    margin-left: auto;
}

/* By using [open] we can define different styles when the disclosure widget is open */
.filter_detail[open] summary::after {
    content: "";
    border-bottom: 2px solid #000;
    border-right: 2px solid #000;
    height: 6px;
    width: 6px;
    display: inline-block;
    transform: rotate(-135deg);
    margin-left: auto;
}

.filter_detail summary:hover::after {
    border-color: var(--c-secondary);
	cursor: pointer;
}

.filter_detail[open] summary:hover::after {
    border-color: var(--c-secondary);
	cursor: pointer;
}

.filter_detail .form__checkbox label::before {
	width: 16px;
	height: 16px;
}

.filter_fieldset {
	border: none;
}

.filter_fieldset .filter_fieldset__legend {
	display: none;
}

.filter_field__choices, .filter_field__choices--active {
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.filter_field__choices .filter_field__choice,
.filter_field__choices--active .filter_field__choice {
	list-style: none;
	display: flex;
	align-items: center;
}

.filter_field__choices .filter_field__choice--hide,
.filter_field__choices--active .filter_field__choice--hide {
	display: none;
}

.filter_field__choices .filter_field__choice .filter_field__label,
.filter_field__choices--active .filter_field__choice .filter_field__label {
	font-size: 14px;
}

.filter_field__choices--active {
	border-bottom: 1px solid var(--c-greyLighter);
	padding-bottom: 12px;
}

.filter_field__choices--active:empty {
	display: none;
}

.filter_field__choice--placeholder {
	display: none;
}

.filter_field__more_less {
	display: block;
	margin: auto;
}

.filter_field__more_less--hide {
	display: none;
}

.filter_counter {
	color: var(--c-secondary);
	margin-left: 8px;
}

.alert_banner__link {
	display: inline-flex;
	gap: 8px;
	text-decoration: underline;
	text-decoration-style: dotted;
	margin-left: 1em;
}

@media screen and (width <= 2200px) {
	.projects {
		max-width: 1250px;
	}
}

@media screen and (width <= 1900px) {
	.projects {
		max-width: 950px;
	}
}

@media screen and (width <= 1600px) {
	.projects {
		margin-right: unset;
		max-width: calc(100% - 350px);
	}
}

@media screen and (width <= 1200px) {
	.projects {
		max-width: 100%;
	}

	.filter__toggleButton--wrapper {
		min-width: 100%;
	}

	#sucheinstellung {
		min-width: 100%;
		display: none;
		position: static;
	}

	#sucheinstellung.show-filter {
		display: block;
	}

	.filter__toggleButton {
		display: flex;
		margin-bottom: 16px;
		margin-left: auto;
	}

	.filter__toggleButton.open {
		background-color: var(--c-greyLighter);
		border-color: var(--c-greyDarker);
	}
}

@media screen and (width <= 600px) {
	.heading > *:last-child {
		margin-bottom: 48px;
	}
}
