
/*
		28.07.2023		Swen		Regeln für "warenkorb_fenster" eingebaut
*/
.artikel_alle .ajax_lade {
	visibility: hidden;
	position: absolute;
	top: -30px;
	right: 10px;
}
.artikel_alle {
	margin: 1em 0;
	display: flex;
	gap: 3em;
}
.artikel_alle .mainRight {
	width: calc(100% - 250px);
}
.xListing {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(225px, 1fr));
	gap: 2.75em 2em;
	margin-bottom: 1em;
}
.listingBox, .listingBox * {
	padding: 0;
	margin: 0;
	background-color: transparent;
	box-sizing: border-box;
}
.listingBox {
	display: flex;
	flex-direction: column;
	max-width: 250px;
	min-width: 180px;
	width: 100%;
	text-align: center;
	margin: auto;
	border: 1px solid #D8D8D8;
	font-weight: 400;
	box-shadow: rgba(0, 0, 0, 0.0) 5px 10px 10px, rgba(0, 0, 0, 0.0) -5px 10px 10px;
	transition: box-shadow 0.25s;
}
.listingBox:hover {
	box-shadow: rgba(0, 0, 0, 0.1) 5px 10px 10px, rgba(0, 0, 0, 0.1) -5px 10px 10px;
}
.listingBox > a {
	text-decoration: none;
	color: var(--primary-brand);
}
.listingBox .herstellerLogo object {
	width: 40px;
	height: 40px;
	transform: translate(-50%,-50%);
	position: absolute;
	padding: 5px;
	background: #fff;
}
.listingBox .artikelBez {
	line-height: 1.5em;
	height: 60px;
	overflow: hidden;
	padding: 1.2em 1em 0.5em 1em;
	color: #0E0E0F;
	line-height: 1.2rem;
	min-height: 6.5em;
}

.kategorie_26 .listingBox .artikelBez,
.kategorie_32 .listingBox .artikelBez,
.kategorie_34 .listingBox .artikelBez {
	min-height: 5em;
}

.listingBox .artikelBez strong {
	font-weight: 400;
}
.listingBox .artikelBez span {
	display: block;
	color: #6E6E6E;
	font-size: 0.875em;;
}
.listingBox .artikelBild {
	display: flex;
	width: 100%;
	overflow: hidden;
	position: relative;
}
.listingBox .artikelBild img {
	max-width: 100%;
	margin: auto;
}

.kategorie_5 .listingBox .artikelBild img,
.kategorie_8 .listingBox .artikelBild img {
	max-height: 320px;
}

.listingBox .zumArtikel {
	padding: 10px;
}
.listingBox .zumArtikel small.gp {
	display: block;
}
.listingBox .zumArtikel > span {
	font-size: 0.875em;
}
.listingBox .zumArtikel > span > span {
	font-size: 1rem;
}
.listingBox .zumArtikel b {
	font-weight: 700;
}
.notfound {
	display: none;
}


#fenster_warenkorb, #fenster_warenkorb * {
	box-sizing: border-box;
}
#fenster_warenkorb {
	padding: 1rem 1rem 0 1rem;
	font-size: 1rem;
	position: fixed;
	top: 100%;
	border: 1px solid #000;
	background: #fff;
	width: 50%;
	max-width: 650px;
	min-width: 320px;
	left: 50%;
	transform: translate(-50%, 0%);
	max-height: calc(100% - 2rem);
	overflow: auto;
	z-index: 1500;
	transition: top 0.25s;
	display: flex;
	flex-flow: row wrap;
	gap: 1rem;
}
#fenster_warenkorb.display {
	top: 1rem;
}
#fenster_warenkorb #fenster_warenkorb_texte {
	margin-bottom: 0.5rem;
}
#fenster_warenkorb.display #warenkorb_box_titel {
	margin-bottom: 1rem;
}

#fenster_warenkorb.display #warenkorb_icon_hinzugefuegt  {
	transform: translate(-50%,-50%) scale(1);
}
#fenster_warenkorb #closer {
	position: absolute;
	top: 0;
	right: 0;
	font-weight: bold;
	background: url("/xArtikelsystem/bilder/icon_closer.svg") no-repeat 50% 50%;
	background-size: 33% auto;
	cursor: pointer;
	width: 1rem;
	height: 1rem;
	padding: 1.5em;
}
#fenster_warenkorb #fenster_warenkorb_top {
	width: 100%;
	display: grid;
	gap: 1rem;
	grid-template-columns: 10rem 1fr;
	grid-template-rows: 2.5rem 1fr auto;
	grid-template-areas:	"status status"
							"topLeft topRight"
							"boxPreis boxPreis"
							"topBtns topBtns";
}
#fenster_warenkorb #fenster_warenkorb_top.error {
	grid-template-areas:	"status status"
							"topRight topRight"
							"boxPreis boxPreis"
							"topBtns topBtns";
}
#fenster_warenkorb #warenkorb_box_status {
	grid-area: status;
	padding: 0 2em;
}
#fenster_warenkorb #fenster_warenkorb_top_left {
	grid-area: topLeft;
	position: relative;
	margin: auto;
}
#fenster_warenkorb #warenkorb_box_produktbild {
	width: 100%;
	display: block;
}
#fenster_warenkorb #warenkorb_icon_hinzugefuegt {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%) scale(0);
	transition: transform 0.1s;
	transition-delay: 0.5s;
	transition-timing-function: ease-in-out;
}
#fenster_warenkorb #fenster_warenkorb_top_right {
	grid-area: topRight;
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: 1fr auto;
	overflow: auto;
}
#fenster_warenkorb #warenkorb_box_groesse,
#fenster_warenkorb #warenkorb_box_attribute {
	font-size: small;
}
#fenster_warenkorb #warenkorb_box_preis {
	font-weight: 700;
	font-size: 1.25rem;
	text-align: right;
	line-height: 0.8em;
	grid-area: boxPreis;
}
#fenster_warenkorb #warenkorb_box_preis > small {
	font-weight: 300;
	font-size: .875rem;
}
#fenster_warenkorb #fenster_warenkorb_top_buttons {
	grid-area: topBtns;
	display: flex;
	gap: 1rem;
	flex-flow: row nowrap;
	justify-content: space-between;
}
#fenster_warenkorb #fenster_warenkorb_top_buttons > a {
	margin-bottom: 1rem;
}
#fenster_warenkorb #warenkorb_box_sonderwunsch_ueberschrift {
	margin-top: 0.5rem;
	font-weight: 400;
}
#fenster_warenkorb #warenkorb_box_sonderwunsch_ueberschrift,
#fenster_warenkorb #fenster_warenkorb_bottom_ueberschrift {
	display: none;
}
#fenster_warenkorb_bottom #fenster_warenkorb_aehnlich {
	display: flex;
	gap: 1em;
	padding: 1em 0;
	flex-wrap: wrap;
}
#fenster_warenkorb_bottom .fenster_warenkorb_bottom_ueberschrift {
	border-top: 2px solid #f2f4f4;
	padding-top: 0.5em;
	font-weight: 500;
}
#fenster_warenkorb_bottom #fenster_warenkorb_aehnlich .warenkorbAehnlichArtikel {
	display: flex;
	flex-flow: column;
	width: calc(50% - 0.6em);
	font-size: 0.875em;
}
#fenster_warenkorb_bottom #fenster_warenkorb_aehnlich img {
	width: 100%;
	max-width: 150px;
}
#fenster_warenkorb_bg {
	position: fixed;
	z-index: 1200;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.15) url('/img/loading.png') no-repeat 50% 50%;
	background-size: 5rem auto;
	opacity: 0;
	display: none;
	backdrop-filter: blur(1rem);
	transition: opacity 0.25s;
}
#fenster_warenkorb_bg.display {
	opacity: 1;
}
#fenster_warenkorb_bg.noBgImg {
	background-image: none;
}

#warenkorb_box_status {
	text-align: center;
	width: 100%;
	font-family: var(--secondaryFont);
	font-size: 1.25rem;
	font-weight: 400;
}
#fenster_warenkorb .btn4, #fenster_warenkorb_zurueck {
	background-image: url("/xArtikelsystem/bilder/icon_bag_weiss.svg");
	background-repeat: no-repeat;
	background-position: 1rem 50%;
	background-size: 1rem auto;
	padding-left: 3rem;
}
#fenster_warenkorb_zurueck {
	background-image: url("/xArtikelsystem/bilder/icon-2-forward-right.svg");
	background-size: 1.5rem auto;
	margin-bottom: 1rem;
}


@media only screen and (max-width: 1024px) {
	.artikel_alle {
		flex-direction: column;
	}
	#listing_artikel.xListing {
		grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
		grid-column-gap: 1em;
	}
	.artikel_alle .mainRight {
		width: 100%;
	}
}

@media only screen and (max-width: 500px) {
	#fenster_warenkorb {
		width: calc(100% - 2rem);
	}
	#warenkorb_box_status {
		margin-top: 0.5rem;
		font-size: 1rem;
	}
	#fenster_warenkorb_top_buttons {
		flex-flow: column;
		gap: 1rem;
		text-align: center;
	}
	#fenster_warenkorb #fenster_warenkorb_top {
		grid-template-columns: 5rem 1fr;
	}
	#fenster_warenkorb #fenster_warenkorb_top_buttons {
		flex-flow: column nowrap;
	}
	#fenster_warenkorb #warenkorb_icon_hinzugefuegt {
		top: 0;
		left: 100%;
		width: 1.7rem;
	}
	.artikel .artikel_table_main > .left, .artikel .artikel_table_main > .middle, .artikel .artikel_table_main > .right, .artikelMass .artikel_table_main > .spalte_info {
		padding: 0 1em;
	}
	.details_head_ meinungen, .meinungen {
		padding: 0 1em;
	}
	#fenster_warenkorb {
		max-height: calc(100% - 2rem - 60px);
	}
}