/*
		18.08.2016 07:07 Tim			Tabs Mass/Standard eingeabaut, offcanvasfilter zu filter umgebaut
		10.09.2019		 Jannick		Artikel Alle Box nun display: flex imd float entfernt
		30.03.2020       Tim			Ueberschrift h1 in kleinem Layout (<= 1024px Breite) angepasst
		10.08.2020		Swen			Regel für Grid-Layout eingebaut (Listing)
		15.07.2022		David S.		Merge für neue Plissee Listing
		23.05.2023		David D.		.fancybox-img-in-bounds eingebaut, damit Bilder in Fancyboxen nicht über den Rand hinausgehen
*/

.fancybox-img-in-bounds {
	max-height: 80vh;
	max-width: 100%;
}

.ueberschrift, .artikel_alle .mainRight > h1 {
		margin-top: 0;
		padding-bottom: 25px;
		line-height:0.8em;
		padding-top:0;
}

#erweiterteInfos { display: none; }

.text_before a:link {
		color: #de8903;   /* altes orange: FFE900 -- ist aber sehr grell, deshalb jetzt etwas dunkler */
}

.text_before a:visited {
		color: #815000;
}

a img {
		border: 0;
}

.auswahl_standard_mass span.label {
		line-height:36px;
}
input[type=number] {
		/* z.B. das Mengenfeld */
		-moz-appearance: textfield;		/* Beim Firefox-Browser 41 sehen die Spin-Buttons nicht schoen aus */
}


.msg_notfound {
		color: #888888;
		font-style: italic;
		margin: 40px;
		text-align: center;
}

.msg_notfound_icon {		/* z.B. die Meldung mit dem Icon */
		color: #888888;
		font-style: italic;
		margin-left: 40px;
		margin-right: 40px;
		margin-top: 100px;
		margin-bottom: 40px;
		text-align: left;
		line-height: 2em;
		margin-left: 5em;
}
		.msg_notfound_icon img {
				float: left;
				margin-right: 1em;
		}

.link_weitere {
		text-align: center;
		margin-right: 1em;
		margin-top: 2em;
		margin-bottom: 2em;
}






/* mass_listing */



.artikel_alle {
		margin-top: 21px;
}


#listing_sortierleiste{
		display: flex;
		justify-content: end;
}
		#listing_sortierleiste #sortierung_umschalter_leiste {
				margin: 1em 0;	
				display: flex;
				align-items: flex-end;
		}
			#listing_sortierleiste #standard_sortier_feld {
					border: 1px solid #E7EBEE;
					background-color: transparent;
					padding: 0.9em 2em;		
					height: auto;
			}

.artikel_alle .listing {
		margin-bottom: 3em;		/* Abstand zum Trenner-Banner */
		display: flex;
		flex-wrap: wrap;
		margin-right: -1.9%;		/* der Abstand der einzelnen Plissee-Boxen braucht ganz aussen links und rechts nicht erneut auftauchen */
}


.listing .listing_box {
				text-align: center;
				border: 1px solid #e6e6e6;
				position: relative;
				padding-bottom: 1.5em;
				border-radius: 15px;

		}


		.listing_box {
				margin: 0;
		}
		.listing_box2 {
				flex: 1 1 220px;
		}
		.listing_box1 {
				flex: 1 1 150px;
		}

			.listing .nooverflow {
					overflow: hidden;		/* fuer das Ribbon "Wabe XL" */
					display: block;
					position: relative;		/* nur mit dieser Angabe wirkt "overfow: hidde" */
			}

				.listing .listing_box a{
						text-decoration: none;
						color: #444444;
				}


		.listing_box_button_mobile {
				display: none;
		}
		.buttons_listing_box_desktop {
				display: flex;
				justify-content: space-between;
				width: 90%;
				margin: auto;
				gap: 6px;
		}
		.listing_box1 .buttons_listing_box_desktop {
				flex-direction: column;
		}
				.listing  .listing_box_button{
						padding: 0.5em; 
						border: 1px solid #0b3b5a;
						text-transform: uppercase;
						border-radius: 4px;
						font-weight: 600;
						font-size: 0.9em;
						flex-basis: 47.5%;
						justify-content: center;
						box-sizing: border-box;
				}
						.listing .listing_box_button.listing_box_button_primaer{
								color: white;
								background-color: #0b3b5a;
						}
						.listing  .listing_box_button.listing_box_button_sekundaer{
								color: #0b3b5a;
						}

						.listing .listing_box1 .listing_box_button.listing_box_button_primaer {
								margin-bottom: 0.5em;
						}



.versandzeit {
		flex: 1 0 100%;
		display: flex;

		margin-top: 0;
		margin-bottom: 2.5em;
		font-size: 1rem;
		flex: 1 0 100%;
		align-items: center;
}
		.versandzeit > img {
				vertical-align: middle;
				margin-right: 1ex;
				height: 27px;
		}

		.versandzeit_text_before{
				font-weight: 700;
		}
		.versandzeit_flex_icon {
				flex: 0 1 30px;
				text-align: center;
				margin: 0 1em;
				display: flex;
				align-items: center;
		}
				.versandzeit_flex_icon img{
						width: 30px;
				}
		.versandzeit_flex_text {
				flex: 10 1 0;
		}


				.versandzeit_auskunft {
						font-weight: bold;
				}
		.listing_box_haken, .listing_box_haken_active {
						position: absolute;
						top: -9px;
						right: 4px;
				}
				.listing_box_haken_active {
						display: none;
				}
				.listing a:hover .listing_box_haken_active {
						display: block;
				}

				.listing_box_icon {
						position: absolute;
						left: 50%;
						width: 2em;
						z-index: 0;
						background-color: white;
						padding: 0 1em;
						top: 0;
				}
				

		.noTouch .listing a:hover .listing_box_haken_active {
				display: block;
		}



				.listing_box2 .listing_box_icon {
						/* top: -8px;  auf Grund, dass das Bild 100% und damit unterschiedlich gross ist, muss die Verschiebung ebenfalls relativ sein */
						transform: translate(-50%,-50%);
				}
				.listing_box1 .listing_box_icon {
						/* top: -8px;  auf Grund, dass das Bild 100% und damit unterschiedlich gross ist, muss die Verschiebung ebenfalls relativ sein */
						transform: translate(-50%,-50%);
				}

				.listing_box_bez {
						display: block;
						margin-bottom: 5px;
						margin-top: 15px;
						min-height: 4.5em;
						font-weight: 600;
						padding: 1em 3em 0 3em;
				}
				.listing_box_ersetzt_bez {
						display: block;
						font-style: italic;
						z-index: 1;		/* damit der Text ueber dem Logo liegt (irgendwie hat das (wohl durch position absolute bei dem anderen Element) nicht mehr geklappt) */
						position: relative;	/* damit der z-index Wirkung zeigt */
				}

				.listing_box .listing_box_imggroup {
						display: flex;
						gap: 0.8%;
						width: 90%;
						margin-left: auto;
						margin-right: auto;
				}
				.listing_box2 .listing_box_info, .listing_box1 .listing_box_info {
					display: block;
					clear: both;
					margin: 1.5em auto;
				}
				.listing_box1 .listing_box_info > img, .listing_box2 .listing_box_info > img {
					margin: 0 0.1em;
					width: calc(15% - 0.2em);
					max-width: 2em;
				}
				
				.listing_box1 .listing_box_imggroup {
						width: 86%;
				}
						.listing_box_imggroup > * {
								margin-top: 0.8% !important;
						}
						.listing_box_imggroup > img {		/* die Icons */
						width: 15px;
						margin: 1px;
						}

						.listing_box_imggroup_clear {
								width: 0;
								height: 0;
								float: none;
								clear: both;
						}



						.listing_box_img {
								flex: 1 1 112px;
								margin-top: 1em;
								overflow: hidden;		/* fuer versehentlich zu grosse Bilder */
								display: block;
								margin-left: auto;
								margin-right: auto;
						}
								.listing_box_img img {
										width: 100%;
										max-width: 120px;
										display: block;		/* um im mobilen Layout den unteren Platz unter der Baseline verschwinden zu lassen */
										margin: auto;
								}

				  .listing_box_plus
				, .listing_box_logo
				, .listing_box_meinung
				, .listing_box_bezmobile
				{
						display: none;		/* nur im mobilen Layout verwendet */
				}

				.listing_box_info {
						vertical-align: top;
				}

				.listing_box .listing_box_icons {
						display: flex;
						gap: 0.25em;
						width: 100%;
						justify-content: center;
						margin-top: 1em;
				}
						.listing_box .listing_box_icons img {
								width: 1.7em;
						}

				.reg {
						vertical-align : super;
						font-size: 90%;
				}
				.listing_box_ersetzt {
						display: block;
						font-style: italic;
						margin-top: 5px;
				}

				.listing_box_ribbon, .kennzeichnungSmartframe {
						position: absolute;
						display: inline-block;
						top: 1rem;
						left: -1.8rem;
						background-color: #357dbc;
						color: #ffffff;
						transform: rotate(315deg);
						padding-top: 0.2rem;
						padding-bottom: 0.2rem;
						padding-left: 2rem;
						padding-right: 2rem;
						font-size: 0.8rem;
						font-weight: 600;
				}

				.kennzeichnungSmartframe{
					background-color: #c00d0d;
					padding-left: 1.5rem;
					padding-right: 2.5rem;
				}

				.listing_box_konfi {
						display: none;
						position: absolute;
						bottom: 0;
						left: -1px;
						width: 100%;
						z-index: 2;		/* wenn ich fuer die Bilder einen z-index definiere, dann muss ich das hier auch machen und die Box ganz oben drauf legen */
				}
				.noTouch .listing a:hover .listing_box_konfi {
						display: block;
				}
				.listing_box_konfi > span {
						display: block;
						color: #ffffff;
						background-color: #444444;
						padding: 10px;
						font-weight: bold;
						margin: 5px;
						border-top: 5px solid #ffffff;
						position: relative;
						background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAFCAYAAACXU8ZrAAAAL0lEQVQI12P88ePHfwYCgJGBgYEBn0IODg5GRhgHm0IODg5GuEnYFMIUYAXYTAQAw5YT07b+ZT8AAAAASUVORK5CYII=');
						background-repeat: no-repeat;
						background-position: center top;
				}


div[class^=gruppiert_] {
	width: 100%;
	display: grid;
	grid-gap: 3em 1.4em;
	grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
	margin-bottom: 10em;
}

div[class^=gruppiert_] .versandzeit {
	grid-column: 1 / -1;
}

		.listing_box_icon {
				position: absolute;
				top: 0;
				width: 2em;
				z-index: 0;
				left: 50%;
		}

		.listing_box_bez + span {
				display: block;
				width: 100%;
		}

				.listing_box1 .listing_box_img {
						display: block;
						width: 100%;
				}
				.listing_box1 .listing_box_img img {
						max-width: 112px;
						margin: auto;
						display: block;
				}
				.listing_box2 .listing_box_img {
						width: 49%;
				}
		.listing_box_iconsbelow {
				display: block;
				clear: both;
				margin-top: 2px;
		}
				.listing_box_iconsbelow img {
						margin-left: 1px;
						margin-right: 1px;
				}

		.listing_box_pg span {
				font-weight: 600;
		}



.artikel_alle .auswahl_eingrenzen label input[type=checkbox], .artikel_alle .auswahl_eingrenzen span input[type=checkbox] {

		display: none!important;
}



.musterungbox, .lichtbox, .eignungbox { color:#de8903;}


/* Einschraenkung der Eigenschaften */

		.hover_underline, .hover_underline_active {
				font-size: 10px;
				color: #888888;
				margin-left: 4px;
		}

				.hover_underline:hover {
						text-decoration: underline;
				}

		.hover_underline_active {
				color: #de8904;
		}


				.ajax_lade {
						visibility: hidden;
						position: absolute;
						top: 45px;
						right: 10px;
				}


/* .artikel_alle */


.artikel_alle .mainRight {
		width: 81.3%;
		margin-bottom: 2em;
		display: flex;
		flex-direction: column;
}

.design .oben_flex_wrapper .zusatz, .artikel .artikel_table_main .right, .artikelMass .artikel_table_main > .spalte_info, .artikel .artikel_table_main .artikelBottom {
		min-width: 0;
		max-width: none;
}

.artikel_alle {
	display:flex;
}

.artikel_alle .mainRight {
		margin-left: 2%;

}



@media (max-width: 1260px) {
		.artikel_alle .mainRight {
				width: 78.3%;
		}

		#markenauswahl .marke_wrapper{
				flex-basis: 40%;
		}

}

@media (max-width: 1024px) {
		.artikel_alle .mainRight { width: 100%; float:none;}
		.artikel_alle { margin-top:0;}
		.ueberschrift, .artikel_alle .mainRight > h1 {
				line-height:1.2em;
				padding-bottom: 0;
				margin-top: 1em;
		}
		.artikel_alle .mainRight {
			margin-left: 0;
		}

		.artikel_alle {
			flex-direction:column;
		}

		#markenauswahl .marke_wrapper{
			flex-basis: 100%;
		}		
}

@media (min-width: 501px) {
		.listing_box_pg {
				position: absolute;
				bottom: 0;
				left: 50%;
				transform: translate(-50%, 50%);
				background-color: white;
				padding: 0 0.5em;
				font-weight: 600;
		}	
}
/* Mobile Layout */
@media (max-width: 500px) {

		.artikel_alle .mainRight .call_filter_mobile {
				order: 1;
		}
		.artikel_alle .mainRight .blockListing {
				order: 2;
		}
	
		.artikel_alle .mainRight h1 {
				order: 3;
				padding: 0;
		}
		  .artikel_alle .mainRight #text_before
		, .artikel_alle .mainRight .text_before
		{
				order: 4;
		}
		.artikel_alle .mainRight #text_after {
				order: 5;
		}

		.listing_box .nooverflow {
				display: flex;
				flex-wrap: wrap;
				align-items: center;
				flex: 1 1 230px;
				padding-left: 0;
				padding-right: 0;
		}

		.listing .listing_box2 {
				display: flex;
				flex-wrap: wrap;
				align-items: center;
				flex: 1 1 230px;
				padding-left: 0;
				padding-right: 0;
				padding-bottom: 0;
				overflow: hidden;
		}
				.listing .listing_box_link{
						display: flex;
						flex-wrap: wrap;
						align-items: center;
						padding: 0 1em;
				}
				.listing_box .listing_box_plus {
						display: block;
						position: absolute;
						top: calc(50% - 15px);		/* Mitte, - halbe Bildbeite */
						left: calc(50% - 15px);
						z-index: 1;		/* weil die anderen Elemente auch einen z-index haben */
						background-color: #ffffff;
						border-radius: 50%;
						width: 30px;
						height: 30px;
						opacity: 0.4;
				}
				.listing_box .listing_box_logo {
						display: block;
						position: absolute;
						top: 0;
						left: 0;
						width: 20px;
						z-index: 1;		/* weil die anderen Elemente auch einen z-index haben */
				}

				.listing_box .listing_box_icon		/* Ueberschrifts-Logo */
				{
						display: none;
				}
				.listing_box .listing_box_ersetzt {
						position: absolute;
						right: 0;
						top: -25px;
						font-style: inherit;		/* italic wieder rausnehmen */
						font-size: 14px;
				}
				.listing_box .listing_box_bez {
						display: none;
				}
				.listing_box .listing_box_imggroup {
						flex: 1 0 0;
						display: flex;
						position: relative;	/* fuer das absolut positionierte + auf den Bildern */
						gap: 0;
				}
						.listing_box_imggroup > * {
								display: block;
								float: none;
								margin-left: 0 !important;
								margin-top: 0 !important;
						}
						.listing_box_img {
								display: inline;
								margin-top: 0;
						}
				.listing_box .listing_box_info {
						flex: 1 0 0;
				}
						.listing_box .listing_box_bezmobile {
								display: block;
								margin-bottom: 1em;
								font-size: 14px;
								padding-left: 5%;
								padding-right: 5%;
						}
						.listing_box .listing_box_icons {
								width: auto;		/* vom desktop-layout ueberschreiben */
								display: block;
						}
								.listing_box .listing_box_icons img {
										width: auto;
										margin-left: 0.3em;
										margin-right: 0.3em;
										height: 22px;
								}
						.listing_box .listing_box_meinung {
								display: flex;
								align-items: center;
								justify-content: center;
								margin-bottom: 1em;
						}
								.listing_box .listing_box_meinung_durchschnitt {
										color: #f7c801;
										font-weight: bold;
								}
								.listing_box .listing_box_meinung img {
										width: 20px;
										margin-left: 0.5em;
										margin-right: 0.5em;
								}
								.listing_box .listing_box_meinung_anzahl {
								}

			.listing_box .listing_box_bottom {
					flex: 0 0 100%;
					display: flex;
					align-items: center;
					padding-top: 13px;
					padding-bottom: 13px;
					border-top: 1px solid #d8dcdf;
			}
					.listing_box .listing_box_button_mobile {
							display: block;
							flex: 1 1 auto;
							background-image: url(/i/stoffuebersicht/icon_konfigurator.svg);
							background-repeat: no-repeat;
							background-size: 22px 22px;
							background-position: 90% center;
							background-color: #f2f3f5;
							border-radius: 2em;
							padding-left: 0;
							padding-top: 1em;
							padding-bottom: 1em;
							padding-right: 22px;		/* diese Zahl soll der Groesse des Icons (Zahnrad-Symbol) entsprechen */
							margin-left: 1em;
							margin-right: 1em;
					}
					.listing_box .listing_box_button{
							display: none;
					}
					.listing_box1 .listing_box_pg, .listing_box2 .listing_box_pg {
							display: block;
							flex: 1 1 auto;
							color: #1762a9;
							font-weight: bold;
							font-size: 130%;
					}
		#markenauswahl .marke_wrapper {
				margin-left: 0;
				margin-right: 0;
		}

}
/* Ende Mobile Layout */

