.error {
	border:2px solid red;
	border-radius:5px;
	padding:1em;
	color:red;
	font-weight:bold;
	margin-bottom:1em;
}
.msg {
	border:2px solid green;
	border-radius:5px;
	padding:1em;
	color:green;
	font-weight:bold;
	margin-bottom:1em;
}
.missing {
	border:2px solid red !important;
}

input[type="checkbox"].missing, input[type="checkbox"].error {
	border: 4px solid red!important;
}

.SHOPmenue {
	float:right;
}
.countCartItems {
	position:relative;
	width:2em;
	height:2em;
	border-radius:1em;
	padding-top:0.5em;
	text-align:center;
	display:inline-block;
	margin-left:5px;
	background-color:#f78200;
}
/* Sonstiges*/

h1.mb0 {
	margin-bottom: 0;
}

.nowrap {
	white-space: nowrap;
}

.relative {
	position: relative;
}

.hideAnimated, .hideAnimated div, .hideAnimated input[type="text"], .hideAnimated p, .hideAnimated i, tr.hideAnimated, tr.hideAnimated td {
	/*
	opacity: 0!important;
    height: 0px !important;
    margin: 0px !important;
    padding: 0px !important;
	display: block;
	*/
	display:none;
}

.floatleft {
	float: left;
}
.floatright {
	float: right;
}

.alignStart {
	align-items: start;
}

.fs1_3em {
	font-size: 1.3em;
}

.flexcontainer {
    display: flex;
    flex-wrap: wrap;
}

.zurueck {
    display: inline-block;
    border: 1px solid #000;
    padding: 2px 22px 5px 18px;
}

.zurueck.absolute {
    left: 3%;
}

.linkoptik {
	text-decoration: underline;
	cursor: pointer;
}


/* mehr lesen*/

	#produktbeschreibung p {
	margin-bottom: 2.6em;
	}


	.mehrlesen {
	margin-bottom: 1.3em;
	position: relative;
	}
	
	.mehrlesen p {
    overflow: hidden;
    max-height: 5.2em;
	}

	.link {
    position: absolute;
    top: 100%;
	cursor: pointer;
	text-decoration: underline;
	}

	.link::before {
	content: "> mehr lesen";
	}

	.link.linktext::before {
		content: "< weniger lesen";
	}

	.mehrlesen .link {
	margin-top: 5.6em;
	top: auto;
	}



	/* hide ... if we have text, which is less than or equal to max lines */


	.mehrlesen p::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 6.2em;
    background: #fff;
    margin-top: 1.8em;
    left: 0;
}


/* Formulare (Registrierung, Anmeldung, ...) */

.shopcontent form.LabelNebenInput label {
	/* in shop_responsive.css
    width: 180px;
    display: inline-block;
	*/
    font-size: 1.2em;
    line-height: 2.3em;
}

.shopcontent form.LabelNebenInput button, .shopcontent form.LabelNebenInput input[type="button"] {
	/* shop_responsive.css
	margin-left: 180px;
	margin-top: 30px;
	min-width: 150px;
	cursor: pointer;
	*/
}

.shopcontent form.LabelNebenInput input[type="checkbox"] {
    margin-top: 14px;
}

.shopcontent form.LabelNebenInput input[type="password"], 
.shopcontent form.LabelNebenInput input[type="text"],
.shopcontent select {
	/* shop_responsive.css
	width: calc(100% - 180px); 
	max-width: 400px;
	*/
}


input[type="checkbox"] + label.datenschutzcheckbox p::before, input[type="checkbox"]:checked + label.datenschutzcheckbox p::before {
    width: 22px;
    height: 22px;	
	font-size: 1.4em;
	cursor: pointer;
}

.datenschutzcheckbox {
    width: 100% !important;
    max-width: 400px;
    margin-top: 16px;
    font-size: 1em !important;
    margin-bottom: 0px !important;
}


input[type="checkbox"].leeresP + label {
    margin-bottom: 0;
}

input[type="checkbox"].leeresP + label p {
    margin: 0 !important;
    padding: 0 !important;
    width: 26px;
    height: 26px;
}

input[type="checkbox"].leeresP + label p::before {
    margin-left: 0;
}


.pflichtfeldhinweis {
    position: absolute;
}


/* Layout */
#systemBC {
	display:none;
}
#customBC {
/*	display:none; */ /* werden im Backend gebraucht */
}
/*
.bc > div.item:first-child {
	display: none;
}

.bc > div.item:nth-child(2)::before {
	display: none;
}
*/
.bc > div.item:nth-child(2){
	padding-left: 0;
}

.sidemenue {
    background-color: #ededed;
    padding: 12px;
}

.sidemenue ul li {
    list-style: none;
    margin: 0;
    min-width: 150px;
    cursor: pointer;
    line-height: 1.4em;
    max-width: 150px;
    hyphens: none;
}

.sidemenue ul li a {
	text-decoration: none;
	display: block;
}

.subContent .sidemenue ul li ul li::before {
	content: '';
	margin-left: 10px;

}

.sidemenue ul li.aktiv, .sidemenue ul li.aktiv a {
    font-weight: bold;
	color: #f7a800;
}

.sidemenue ul li ul.show {
	display: block;
}

.sidemenue.user ul li {
    border-bottom: 1px solid #000;
    padding-bottom: 5px;
    margin-bottom: 5px;
}

.sidemenue.user ul li:last-child {
    border-bottom: none;
}

caption h2 {
	text-align: left;
	margin-bottom: 0;
}

.copy {
	max-width: 500px;
}

.desk_zweispaltig {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.desk_zweispaltig input {
	width: 100%;
}

/* Flexibles mehrspaltiges Layout*/

.spaltencontainer {
	display: flex;
	flex-wrap: wrap;
}

.sp_1_of_2 img,  .sp_1_of_3 img, .sp_1_of_4 img, .sp_1_of_5 img {
	width: 100%;
}

.teasercontainer {
	position: relative;
}

.teasercontainer img {
	position: absolute;
	bottom: 0;
}



main.shopcontent {
	/* in shop_responsive.css */
	/*
    width: calc(85% - 175px);
    float: right;
    margin-right: 10%;
	margin-top: 45px;
	*/
}

main.shopcontent.mt0 {
	margin-top: 0;
}

main.shopcontent select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
	width: 100%;
    margin: 0px 0px 8px 0px;
    border: 1px solid #000;
    padding: 5px;
    border-radius: 0;
    background-image: url(/images/icons/select.png);
    background-size: 15px 15px;
    background-repeat: no-repeat;
    background-position: calc(100% - 10px);
    font-size: 1em;
}

button, input[type="button"], input[type="submit"] {
    border: 0;
    padding: 8px 20px;
    font-size: 1.3em;
    color: #fff;
    text-align: center;
	background-image: linear-gradient(to bottom,#f7a600 0%, #f78200 100%);
	background-color: #f7a500;
	font-weight: 400;
	cursor: pointer;
}

button.save, input[type="button"].save, input[type="submit"].save, button.ok, input[type="button"].ok, input[type="submit"].ok  {
	margin-right: 2%;
}

button.abbr,  input[type="button"].abbr {
	background-color: #868889;
	background-image: none;
	color: #fff;
}


button.grauerBTN, input[type="button"].grauerBTN {
    background-color: #c2c2c2;
	background-image: none;
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 7px;
    margin-top: 0;
}

button.kleiner, input[type="button"].kleiner {
	font-size: 1em;
}

button.deaktiv {
	cursor: not-allowed;
}

main.shopcontent button.zahlungspflichtig {
    min-width: 250px;
}

main.shopcontent a, .beTabellen a {
	text-decoration: underline;
/* 	margin-left: 15px; */
}

/*
main.shopcontent a:before, .beTabellen a:before {
	content:'>';
	position: absolute;
	margin-left: -15px;
}
*/


main.shopcontent a.noLinkstyle {
	text-decoration: none;
}

main.shopcontent table.bestellung input[type="checkbox"] + label p::before, .interne_bearbeitung input[type="checkbox"] + label p::before, .interne_bearbeitung input[type="checkbox"]:checked + label p::before {
    width: 22px;
    height: 22px;
	border-radius: 6px;
    cursor: pointer;
}


main.shopcontent table.bestellung input[type="checkbox"]:checked + label p::before, .interne_bearbeitung input[type="checkbox"]:checked + label p::before {
	font-size: 1.4em;
	padding-bottom: 3px;
	padding-left: 3px;
	text-shadow: 2px 2px 0px white, 2px -2px 00px white, -2px 2px 0px white, -2px -2px 0px white;
}

main.shopcontent table.bestellung thead {
    text-align: left;
    border-bottom: 1px solid #868889;
}

main.shopcontent table.bestellung thead th {
    padding-bottom: 5px;
    padding-right: 20px;
    padding-top: 45px;
	text-align: left;
	font-size: 15px;
}


main.shopcontent table.bestellung thead th.right {
	text-align: right;
}

main.shopcontent table.bestellung thead th.center {
	text-align: center;
}

main.shopcontent table.bestellung thead:first-child th {
    padding-top: 15px;
}

main.shopcontent table.bestellung p {
	margin-bottom: 0;
}


main.shopcontent td {
    padding: 20px 20px 0px 0px;
	vertical-align: top;
}

main.shopcontent table.vorkasseDaten td {
    padding: 5px 11px 0px 0px;
}

main.shopcontent tbody tr:last-child td {
   padding-bottom: 20px;
}


main.shopcontent .far, main.shopcontent .fas {
	font-size: 1.4em;
}

main.shopcontent table.bestellung button {
	width: 100%;
	margin-top: 15px;
}

main.shopcontent table.bestellung button.auto.nomargin {
	width: auto;
	margin-top: 0px;
}

main.shopcontent table.bestellung .produktbild {
	width: 145px;
}

main.shopcontent table.bestellung .produktbild img {
	width: 100%;
}



.preis {
    white-space: nowrap;
	font-weight: 600;	
}

.preisgross .preis, .produktname {
    font-size: 1.3em;
	font-weight: 600;
}

.hervorhebung {
    color: #f7a800;
}


.produktname a {
	margin-left: 0px!important;
}

.produktname a::before {
    content: ''!Important;
}

.lieferzeitLink {
    margin: 8px 0;
    display: inline-block;
}

.anzahl {
    font-size: 1.3em;
	min-width: 85px;
}

main.shopcontent table.bestellung tfoot {
    border-top: 1px solid #868889;
}

table.bestellung .preis {
    text-align: right;
}

table.bestellung .left.preis {
    text-align: left;
}



table.bestellung.kosten {
    max-width: 250px;
}

.borderbottom {
    border-bottom: 1px solid #000;
    padding-bottom: 5px !important;
}

input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
	font-size: 1em;
	box-sizing: border-box;
}

input[type="text"], input[type="password"] {
    border: none;
    border-bottom: 1px solid #000;
	background-color: rgba(0,0,0,0);
	border-radius: 0;
}

textarea {
	border: 1px solid #000;
	border-radius: 0;
	background-color: #fff;
	min-height: 3.9em;
}

input[type="text"].nurAnsicht, input[type="password"].nurAnsicht {
    border-bottom: none;
    cursor: default;
}



input[type="checkbox"] + label p::before, input[type="radio"] + label p::before {
    content: ' ';
    position: absolute;
    background-color: #fff;
	border: 2px solid #000;
}

input[type="checkbox"] + label p::before{
	width: 16px;
    height: 16px;
    margin-left: -30px;
    border-radius: 5px;
}

input[type="checkbox"] {
    position: absolute;
    width: 26px;
    height: 26px;
    margin-left: -2px;
    margin-top: -2px;
    border-radius: 5px;
}

input[type="checkbox"] + label {
    display: block;
    margin-bottom: 15px;
}

input[type="checkbox"] + label p{
	margin-left: 30px
}


input[type="checkbox"]:checked + label p::before {
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	content: '\f00c';
	background-repeat: no-repeat;
	text-shadow: 1px 1px 0px white, 1px -1px 00px white, -1px 1px 0px white, -1px -1px 0px white;
	font-size: 1em;
	padding-left: 3px;
	width: 16px;
	height: 16px;
	line-height: 0.7em;
}

input[type="checkbox"]:disabled, 
input[type="radio"]:disabled, 
input[type="radio"]:disabled + label {
	color:lightgray;
	cursor:not-allowed;
}
input[type="radio"] {
    width: 14px;
    height: 14px;
    position: absolute;
    margin: 2px 2px;
    border-radius: 14px;
}

input[type="radio"] + label {
    margin-bottom: 10px;
    display: block;
}

input[type="radio"] + label p {
	margin-left: 20px
}

input[type="radio"] + label p::before {
    width: 14px;
    height: 14px;
    margin-left: -18px;
    border-radius: 10px;
	margin-top: 2px;
}

input[type="checkbox"]:disabled + label p::before,
input[type="radio"]:disabled + label p::before {
	color:lightgray;
	border:1px solid lightgray;
	cursor:not-allowed;
}
input[type="radio"]:checked + label p::before {
    background-color: #fff;
    border: 7px double #000;
    box-sizing: border-box;
}


/* Produkte*/


.produkt .bild img {
	width: 100%;
	position: absolute;
	top: 0;
}

.produkt .bild {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 15px;
}

.produkt .bild:before{
	content: "";
	display: block;
	padding-top: 67%;
}

.lieferzeit {
	color: #4b934b;
}


#formProdukt p {
    margin-bottom: 0;
}

.EditControls {
	margin-top:5px;
}
#thumbnails {
	height:calc(100% / 5);
	margin-top:5px;
}
#thumbnails > div {
	width:20% !important;
	height:calc(100% / 4 * 3);
	float:left;
	margin-left:5px;
	margin-right:5px;
	background-size:contain;
	background-repeat:no-repeat;
	background-position:center;
	background-color:#ededed;
}
#TitelbildWrapper {
	width:100%;
}
#TitelbildWrapper > #BildVorschau {
	width:100%;
	padding-bottom:calc(1 / (4 / 2.68) * 100%);
	background-size:contain;
	background-repeat:no-repeat;
	background-position:center;
	background-color:#ededed;
}
