/*
Suchinstanzen
-------------

.aktuell
.kommune
.kommunale-gesellschaft
.zweck
.regionale-verbaende
.uni
.forschungseinrichtung
.fh
.unternehmen
.ihk
.wirtschaftsfoerderung
.technologietransfer
.cluster

*/
/* Hilfsklasse für Mehrfachauswahl-Filterung */
.item.hidden {
    display: none !important;
}

.grayscale img {
	filter: grayscale(90%) !important;
}
.grayscale a.text-title, .grayscale .link {
	color: var(--bw-grau-3) !important;
}
.trennlinie {
	border-top:1px solid var(--bw-grau-4);
	margin:1rem 0 2rem 0 !important;
	width:100% !important;
	height:1px;
}

.controls {
   margin-bottom:30px;
}

.control {
    position: relative;
    display: inline-block;
	padding:5px 15px;
    background: #dedede;
    cursor: pointer;
    font-size: 2rem;
    transition: background 150ms;
	margin-bottom:8px;
	text-align:left;
	color:var(--bw-black)
}
.control.aktuell {
	background:var(--bw-gelb) !important;
}
.control.aktuell:hover {
	color:var(--bw-black) !important;
	background:#e6e300 !important;
}
.control:hover {
    background: #999999;
	color:#ffffff;
}

/* Styling für Filter-Buttons, zu denen keine Kacheln existieren */
button.control.no-matches, 
.control.no-matches, 
.control.aktuell.no-matches, 
.control.mixitup-control-active.no-matches {
    background-color: #e53e3e !important;
    color: #ffffff !important;
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}
.control.no-matches:hover {
    background-color: #999999 !important;
    color: #ffffff !important;
}


.aktuell.mixitup-control-active {
	color:#000000 !important;
	background:var(--bw-gelb) !important;
}

.mixitup-control-active {
    background: var(--efre);
		color:#ffffff;
}

.mixitup-control-active[data-filter]:after {
    background: transparent;
}

button.control {
	margin-right:4px;
}

.scrollbar-hidden .composedcontent-pbsbw2---allgemeines-modul::-webkit-scrollbar {
	scrollbar-width: none;
	display:none;
}

/* Container & Modern Grid Layout (Links-bündig, Responsiv)
---------------------------------------------------------------------- */

.container-g {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    width: 100%;
    box-sizing: border-box;
}

.container-g:after {
    content: none;
}

/* Grid Items
---------------------------------------------------------------------- */

.item,
.gap {
    width: 100% !important;
    height: auto;
}

.item {
    background: #fff !important;    
    margin-bottom: 0 !important;
    position: relative;
	overflow: hidden;
	border: 1px solid var(--bw-black);
	border-radius: 3px;
	padding: 6px;
    box-sizing: border-box;
}
.text a {
	padding: 0 !important;
	box-shadow: none !important;
}

/* Overlay
---------------------------------------------------------------------- */

.portfolio img {
	max-width: 100%;
	position: relative;
	top: 0;
	z-index: 5;
	filter: contrast(100%);
	transition: .3s ease-in-out;
}
.portfolio img:hover {
	filter: contrast(150%);
}

.portfolio .label {
	width: calc(100% + 12px);
	margin-left: -6px;
	margin-right: -6px;
	height: 100px;
	bottom: 0;
	padding-left: 12px;
	padding-right: 12px;
	padding-top: 6px;
	border-top: 1px solid var(--bw-grau-3);
	margin-top: 6px;
	position: relative;
}
	
.image-link {
	position: absolute;
	z-index: 9;
	top: -12px;
	left: 0;
	background: transparent;
	height: 112px;
	width: 100%;
}
.image-link img {
	opacity: 0;
}
	
.portfolio .label-text, .portfolio .label-text a {
	color: var(--bw-black);
	position: relative;
	z-index: 8;
	padding: 0;
	margin-left: 0 !important;
	text-transform: none;
	font-size: 1.4rem;
	font-weight: 500;
	display: block;
	text-align: left;
	box-shadow: none !important;
	width: 100%;
	height: 100px;
	display: table-cell;
	vertical-align: middle;
}

.portfolio .text-category {
	display: block;
	font-size: 9px;
}
	
.portfolio:hover .label {
    bottom: 0;
}
.portfolio:hover img {
    top: 0;
}  
.portfolio:hover .gallery_copyright img {
	top: 0;
}
a.text-title {
	padding: 0;
}
a.text-title:hover {
	background-color: transparent !important;
}

.portfolio .label-text a:hover {
	background-color: transparent !important;
}
.item:hover {
	border-width: 2px;
	padding: 5px;
	background-color: transparent !important;
}
 
/* Image Copyright
---------------------------------------------------------------------- */
.gallery_figure__copyright {
	top: 6px;
    left: 6px;
    margin: 0;
    position: absolute;
    z-index: 8;
    background-color: rgba(0, 0, 0, 0.15);
    width: calc(100% - 12px);
    padding-top: 0.5rem;
    padding-bottom: 0.3rem;
    line-height: 1.1rem;
}

.gallery_copyright {
	display: inline-block;
    font-size: 1rem;
    line-height: 1.4rem;
}

.gallery_copyright__text {
	color: #ffffff;
	font-size: 1.2rem;
	padding: 1rem 1rem 0 1rem;
	line-height: 1.1rem;
}
.gallery_copyright__text img {
	margin-top: -0.1rem;
}

/* Grid Breakpoints (Responsive CSS Grid)
---------------------------------------------------------------------- */

.control {
	display: block;
	width: 100%;
}

/* 1 Column (Mobile) */
@media screen and (max-width: 767px) {
	.container-g {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}
	.control {
		display: block;
		width: 100%;
	}
	.text-title img {
		width: 100%;
		height: auto;
	}
	.portfolio img {
		width:100%;
	}
	.gallery_copyright img {
		width:auto !important;
	}
}

/* 2 Columns (Tablet) */
@media screen and (min-width: 768px) {
	.container-g {
		grid-template-columns: repeat(2, 1fr);
		gap: 1rem;
	}
	.control {
		display: inline-block;
		width: auto;
	}
}

/* 3 Columns (Desktop) */
@media screen and (min-width: 1024px) {
    .container-g {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

/* 3 Columns (Large Desktop) */
@media screen and (min-width: 1600px) {
    .container-g {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
	.portfolio .label-text, .portfolio .label-text a {
		font-size: 1.8rem;
		background-color: transparent !important;
	}
}

.portfolio .link.link-inline:before {
	display: none !important;
}

/* Hilfsklasse für Mehrfachauswahl-Filterung */
.item.hidden {
    display: none !important;
}