/*
		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
		21.10.2019		 Heinrich		Code formatiert
										Responsive Fehler für Rollos behoben
		09.09.2020		Swen			Regel für Grid-Layout eingebaut (Listing)
*/

.ueberschrift, .artikel_alle .mainRight > h1 {
	margin-top: 0;	
	padding-bottom: 25px;
	line-height:0.8em;
	padding-top:0;
}

.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;
}

.artikel_alle .listing {
	/* ersetzt margin-right: 0; bei ".artikel_alle .listing a:nth-child(4n)" */
	/* margin-right: -3.1%; */

	margin-bottom: 3em;		/* Abstand zum Trenner-Banner */
	font-size: 0.95em;
	display: flex;
	flex-wrap: wrap;
}

.listing a {
	color: #444444;
	vertical-align: bottom;
	text-align: center;
	margin-bottom: 1.4em;
	padding: 10px;
	/*margin-right: 1.9em;*/
	text-decoration: none;
	display: inline-block;
	border: 1px solid #e6e6e6;
	position: relative;
	box-sizing: border-box;			/*  fuer die width Angabe (z.B. width: 100%) bei schmaleren Layouts (media Queries) */
}

.listing_box2 {
	/*width: 17.88%;*/
	padding-left: 2px;
	padding-right: 2px;
	flex: 1 1 210px;
	max-width: 280px;
}

.listing_box1 {
	/*width: 15%;
	width: 124px;*/
	flex: 1 1 150px;
	max-width: 180px; 
}

div[class^=gruppiert_] {
	width: 100%;
	display: grid;
	grid-gap: 1.4em;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	margin-bottom: 2em;
}
div[class^=gruppiert_] .versandzeit {
	grid-column: 1 / -1;
}

div[class^=gruppiert_5] {
	grid-template-columns: repeat(8, minmax(0, 1fr));
}

.versandzeit {
	margin-top: 0;
	margin-bottom: 1em;
	font-size: 1rem;
	flex: 1 0 100%;
	align-items: center;
	display: flex;
	flex: 1 0 100%;
}
		.versandzeit_flex_icon {
				flex: 1 1 0;
		}
		.versandzeit_flex_text {
				flex: 10 1 0;
		}

		.versandzeit img {
			vertical-align: middle;
			margin-right: 1ex;
			max-height: 50px;
		}

.listing {

}

.listing_box_icon {
	position: absolute;
	top: -10px;
	width: 20px;
	z-index: 0;
	left: calc(50% - 10px);
}

/*
.listing_box_haken, .listing_box_haken_active {
	position: absolute;
	top: -9px;
	right: 4px;
}
.listing_box_haken_active {
	display: none;
}
.noTouch .listing a:hover .listing_box_haken_active {
	display: block;
}

.listing_box_icon, .listing_box_icon_active {
	position: absolute;
	top: -10px;
	display: inline-block;
	width: 20px;
	z-index: 0;
}
.listing_box_icon_active {
	display: none;
}

.noTouch .listing a:hover .listing_box_icon_active {
	display: block;
}
*/

.listing_box_bez {
	display: block;
	margin-bottom: 5px;
	margin-top: 15px;
	min-height: 4.5em;
}

.listing_box_bez + span {
	display: block;
	width: 100%;
}

.listing_box_bez + span img {
	width: 16px;
	margin-right: 1px;
}

.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_imggroup {		/* momentan nur Plissee */
	display: block;
	/* width: 250px; */
	margin-left: auto;
	margin-right: auto;

	z-index: 1;		/* damit das Bild 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_imggroup > * {
/*	display: block;
	float: left;*/
	margin-left: 0.8% !important;
	margin-top: 0.8% !important;
}

.listing_box_imggroup_clear {
	width: 0;
	height: 0;
	float: none;
	clear: both;
}

.listing_box_imggroup > img {		/* die Icons */
	width: 6%;								
}

.listing_box_img {
	display: block;
	margin-top: 1em;
	margin-left: auto;
	margin-right: auto;
	overflow: hidden;		/* fuer versehentlich zu grosse Bilder */
	float: left;
}

.listing_box1 .listing_box_img {
	width: 100%;
}

.listing_box2 .listing_box_img {
	width: 49%;
}

.listing_box_img img {
	width: 100%;
}

.reg {
	vertical-align : super;
	font-size: 90%;
}

.listing_box_ersetzt {
	display: block;
}

.listing_box_iconsbelow {
	display: block;
	clear: both;
	margin-top: 2px;
}

.listing_box_iconsbelow img {
	margin-left: 1px;
	margin-right: 1px;
}

.listing_box_pg {
	display: block;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
}

.listing_box_pg span {
	font-weight: 600;
}

.listing_box_pg span {
	font-weight: 600;
}

.noTouch .listing a[class*=listing_box] {
	transition: box-shadow 0.2s;
}

.noTouch .listing a[class*=listing_box]:hover {
	box-shadow: 2px 3px 3px #e5e5e5, 2px 3px 3px #e5e5e5;
}

.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-right: 1%;*/
	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 Einstellungen
 *
 *		Ich versuche mit 4 Media angaben hinzukommen
 *
 *		> 	1260 	ist standard
 *		<= 	1260
 *		<= 	1024
 *		<=	786
 *		<=	480
 *
 *********************************************/
@media (max-width: 1260px) {
	.artikel_alle .listing_box2 {
			/*width:22.5%;*/
	}
	div[class^=gruppiert_] {
		grid-template-columns: repeat(6, minmax(0, 1fr));
		margin-bottom: 2em;
	}
	div[class^=gruppiert_1], div[class^=gruppiert_2], div[class^=gruppiert_3] {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
	.artikel_alle .mainRight {
		width: 78.3%;
	}
	
	.listing a {
		margin-right: 1.9%;
	}
}


@media (max-width: 1024px) {
	.artikel_alle .mainRight {
		margin-left: 0;
	}
	
	.artikel_alle {
		flex-direction:column;
	}
	
	div[class^=gruppiert_] {
		grid-template-columns: repeat(6, minmax(0, 1fr));
		margin-bottom: 2em;
	}
	div[class^=gruppiert_1], div[class^=gruppiert_2], div[class^=gruppiert_3] {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 1024px) {
	.artikel_alle .mainRight { width: 100%; float:none;}
	.artikel_alle { margin-top:0;}
/*		.artikel_alle .listing_box2 { width: 30.8%; }*/
/*	.artikel_alle .listing_box2 { width: 30.9%; }*/
	.ueberschrift, .artikel_alle .mainRight > h1 { line-height:1.2em; }
}

@media (max-width: 768px) { 
	div[class^=gruppiert_] {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		margin-bottom: 2em;
	}
	div[class^=gruppiert_1], div[class^=gruppiert_2], div[class^=gruppiert_3] {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 480px) { 
	/*.artikel_alle .listing_box2 { width: 47.5%; }*/
	.design_big_preview, .sensuna_bildinfo {
			text-align: left;
	}
	div[class^=gruppiert_] {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		margin-bottom: 2em;
	}
	div[class^=gruppiert_1], div[class^=gruppiert_2], div[class^=gruppiert_3] {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.listing a {
		margin: auto;
	}
}

