@import url('https://fonts.googleapis.com/css?family=Barlow:400,600,700');

body {
	background-color: #f2f2f2;
	padding: 0;
	margin: 0; 
	overflow-y: scroll;
	line-height: 1.5;
}
body, input, textarea, select, button {
	font-family: Barlow, sans-serif;
	font-size: 1.1em;
}
@media print {
	body {
		background-color: #fff;
	}
}
body.pdf_class {
	background-color: #fff;
}
#rahmen {
	width: 90%;
	box-sizing: border-box;
	padding: 2em;
	max-width: 1500px;
	margin: 0 auto 5em;
	background-color: #fff;
	box-shadow: 0 0 2em rgba(0,0,0,0.5);
}
@media print {
	#rahmen {
		width: 100%;
		box-shadow: none;
		margin: 0;
	}
}
.pdf_class #rahmen {
	width: auto;
	box-shadow: none;
	margin: 0;
	padding: 0 5mm;
}

#kopf {
	height: 6em;
	padding: 2em;
	margin: -2em -2em 2em -2em;
	background-color: #a9245a;
	color: #fff;
	position: relative;
}
@media print {
	.noprint {
		display: none!important;
	}
}

a {
	color: #000;	
}

.nopdf {
	display: none!important;
}

#loginform {
	max-width: 400px;
	padding: 2em;
	background-color: #e3e3e3;
	margin: 4em auto 4em;
}
#loginform input {
	margin: 0 0 1em;
	width: 100%;
	text-align: center;
}
#loginform button {
	text-align: center;
}
.loginfehler {
	margin-bottom: 1em;
	background-color: #D02B69;
	color: #fff;
	padding: 1em;
	text-align: center;
}
#neuespasswort {
	float: right;
	font-size: 0.7em;
}
#neuespasswort button {
	width: auto;
	text-align: center;
    cursor: pointer;
    transition: all 300ms;
}
#neuespasswort button:hover {
	background-color: #444!important;
}
#neuespasswort input {
	text-align: center
}

#regprozent, #artprozent {
	display: inline-block;
	padding: 0 0.5em;
	background-color: #e3e3e3;
	border-radius: 2em;
	width: 3em;
	text-align: right;
	margin-left: 2em;
}

#printkopf {
	display: none;
	background-color: #fff;
	border-bottom: 5mm solid #e3e3e3;
	font-size: 10pt;
	padding: 2em;
	margin-bottom: 4em;
}
.pdf_class #printkopf {
	display: block;
	font-size: 9pt;
}
#printkopf_logo {
	width: 40%;
	float: left;
}
@media print {
	#printkopf_logo {
		width: 35%;
	}
}
#printkopf_logo img {
	height: 2cm;
}
.pdf_class #printkopf_logo img {
	margin-left: 8mm;
}
#printkopf_adresse {
	width: 35%;
	float: left;
}
@media print {
	#printkopf_adresse {
		width: 40%;
	}
}
#printkopf_tel {
	width: 25%;
	float: left;
}
@media print {
	#printkopf_tel {
		width: 25%;
	}
}
@media print {
	#printkopf {
		display: block;
	}
}
.spalte {
	width: 4em;
	display: inline-block;
}
.pdf_class .spalte {
	width: auto;
	display: inline;
}

#logo {
	width: 50%;
	height: 100%;
	float: left;
}
#logo img {
	height: 100%;
}
#auswahl {
	float: right;
	width: 50%;
	padding-top: 1em;
}
select, input {
	line-height: 3em;
	height: 3em;
	padding: 0 0;
	font-size: 1em;
	box-sizing: border-box;
	max-width: 100%;
}
input#suche {
	padding: 0 2em;
	margin-right: 0.5em;
	width: 15em;
	float: left;
	transition: all 300ms;
	outline: none;
	background-image: url(https://twobyone.ch/_media_icons/material-design-icons-1.0.0/action/svg/ic_search_24px.svg);
	background-size: 1.5em;
	background-repeat: no-repeat;
	background-position: 97% 50%;
	border: none;
}
input#suche:active, input#suche:focus, input#suche.voll {
	width: 20em;
}
input[type=file] {
	height: 1.5em;
	line-height: 1.5em;
}
select.artikelwahl {
	padding: 0 2em;
	width: 15em;
	float: left;
	transition: all 300ms;
	outline: none;
	border: none;
}
button.transparent {
	width: 3em;
	height: 3em;
	line-height: 3em;
	padding: 0;
	text-align: center;
	background: none;
	color: #999;
	cursor: pointer;
}
button.vorschau {
	float: right;
	width: auto;
}
#filter {
	background-color: #ddd;
	padding: 1em;
	margin-bottom: 3em;
	box-sizing: border-box;
}
.shop #filter {
	width: calc(100% - 270px);
	float: left;
}


@media print {
	body {
		/*font-family: Arial, Helvetica, sans-serif;*/
	}
	#kopf, #suche, #filter, #logo {
		display: none;
		height: 0;
		overflow: hidden;
	}
}



#artikel_gross_bild {
	width: 20%;
	float: left;
	box-sizing: border-box;
	text-align: center;
}
#artikel_gross_bild img {
	max-width: 100%;
	max-height: 80vh;
}
#flaschengeist {
	transform-origin: 50% 98%;
	transform: scale(0.86);
	opacity: 0;
	filter: blur(0.5em);
	transition: all 700ms ease-out;
}
#flaschengeist.tadaa {
	transform: scale(1);
	filter: blur(0);
	opacity: 1;
}
.pdf_class #flaschengeist {
	transform: scale(1);
	filter: blur(0);
	opacity: 1;
}
#artikel_gross_text {
	width: 80%;
	float: right;
	box-sizing: border-box;
	text-align: left;
}
#artikel_cart {
	display: none;
}

.shop #inhalt {
	width: calc(100% - 270px);
	float: left;
}
.shop #artikel_gross_bild {
	width: 30%;
}
.shop #artikel_gross_text {
	width: 70%;
}
.shop #artikel_cart {
	display: block;
	width: 230px;
	float: right;
	margin-top: 4.5em;
	text-align: center;
	background-color: #a9245a;
	box-sizing: border-box;
	padding: 1.5em;
	color: #fff;
}
#artikel_cart input {
	text-align: center;
	margin-bottom: 0.5em;
	margin-top: 0.5em;
	line-height: 2.5em;
	height: auto;
	padding: 0;
	font-size: 1.2em;
	outline: none;
}
#artikel_cart button {
	height: auto;
	line-height: 1.5;
	padding: 0.5em;
	background-color: rgba(255,255,255,0.3);
	transition: all 200ms ease-in-out;
	cursor: pointer;
	outline: none;
}
#artikel_cart button img {
	width: 1.5em;
	margin-top: 0.5em;
}
#artikel_cart button:hover {
	background-color: rgba(255,255,255,0.4);
}
#artikel_cart button:active {
	background-color: rgba(255,255,255,0.5);
	transform: scale(0.98);
	transition-duration: 20ms;
}
button.graybutton {
	background-color: #ddd;
	color: #000;
	font-size: 0.8em;
	width: auto;
}
button.neutralbutton {
	background-color: #ddd;
	color: #000;
	width: auto;
}
button.neutralbutton:hover {
	background-color: #ccc;
}
button.r {
	float: right;
}

.shop #artikel_cart.mini {
	width: auto;
	float: none;
	margin: 0 -1em -1em;
	padding: 1em;
	display: flex;
}
.shop #artikel_cart.mini input {
	width: 50%;
	height: 2em;
	line-height: 2em;
	margin: 0;
	padding: 0;
	border: none;
	font-size: 1.3em;
}
.shop #artikel_cart.mini button {
	width: 50%;
	height: 2em;
	line-height: 2em;
	margin: 0;
	padding: 0;
	border: none;
	font-size: 1.3em;
}

.shop #artikel_cart.mini button img {
	width: auto;
	height: 1.2em;
}


.shop_button {
	background-color: #a9245a;
	color: #fff;
	cursor: pointer;
	transition: all 200ms ease-in-out;
}
.shop_button:hover {
	background-color: #c9447a;
}
.shop_button img {
	height: 1.4em;
	vertical-align: middle;
	margin-top: -0.2em;
	margin-right: 0.5em;
}

#cart {
	display: none;
}
.shop #cart {
	position: relative;
	display: block;
	width: 230px;
	float: right;
}
.shop #cart::after {
	display: none;
	content: " ";
	position: absolute;
	z-index: -10;
	left: 0;
	top: 0;
	width: 230px;
	height: 5em;
	background-color: #fc0;
}
#cart_frame {
	border: none;
	overflow: hidden;
	width: 100%;
	height: 5em;
}
input.anzahl_update {
	width: 4em;
	padding: 0;
	height: 2.5em;
	line-height: 2.5em;
	text-align: center;
	font-size: 1em;
}
button.update {
	height: 2.5em;
	width: 2.5em;
	line-height: 2.5em;
	padding: 0;
	font-size: 1em;
	background-color: #ccc;
	transition: all 300ms;
}
button.update:hover {
	background-color: #aaa;
}
button.update img {
	height: 1em;
}
table.cart_table td {
	vertical-align: middle;
	padding: 1em 0.5em;
}
table.nodetails td {
	vertical-align: top;
	padding: 1em 0.5em;
}
table.cart_table td.r {
	text-align: right;
	width: 4em;
	white-space: nowrap;
}
table.cart_table td.c {
	width: 2em;
}
table.cart_table td a {
	color: #000;
	font-weight: bold;
	text-decoration: none;
}
table.cart_table td div.rundumeli {
	width: 5em;
	height: 5em;
	border-radius: 100%;
	background-size: auto 100%;
	background-repeat: no-repeat;
	background-position: center center;
	border: thin solid rgba(0,0,0,0.2);
	transition: all 300ms ease-in-out;
	cursor: pointer;
}
@keyframes aufab {
	0% { background-position: 50% 20%; }
	50% { background-position: 50% 80%; }
	100% { background-position: 50% 20; }
}
table.cart_table tr:hover div.rundumeli {
	/*background-size: auto 470%;
	animation: aufab 10s infinite;*/
	transform: scale(1.2);
}
table.cart_table img.delete {
	height: 1.2em;
	opacity: 0.4;
	transition: all 300ms ease-in-out;
	cursor: pointer;
}
table.cart_table img.delete:hover {
	opacity: 0.8;
}
table.pers td {
	vertical-align: middle;
	padding-right: 0;
}
table.pers td:first-of-type {
	width: 7em;
	padding-right: 1em;
	vertical-align: top;
	padding-top: 1.2em;
}
table.pers td input {
	width: 100%;
	padding: 0 0.5em;
}
table.pers td input[type=checkbox] {
    width: 1.2em;
    height: 1.2em;
	padding: 0;
}

table.pers tr.td_li {
	visibility: hidden;
}
table.pers tr.td_li.offen {
	visibility: visible;
}

.just_container {
	display: inline-block;
}
.just {
	display: flex;
	justify-content: space-between;
	width: 12em;
}

.shop50 {
	width: 47%;
	float: left;
}
.shop50:nth-of-type(even) {
	float: right;
}
input[type=checkbox] {
	width: 1.2em;
	height: 1.2em;
	padding: 0;
	margin: 0 0.5em 0 0;
	vertical-align: middle;
}



.pdf_class #artikel_gross_text {
	width: 100mm;
	margin-right: 0;
}
.tdtext div {
	max-width: 30em;
}
@media print {
	#artikel_gross_bild {
		width: 30%;
		padding: 0;
	}
	#artikel_gross_bild img {
		max-height: none;
		width: 90%;
	}
	#artikel_gross_text {
		width: 65%;
	}
}
.clear {
	clear: both;
}

h1 {
	margin: 0 0 0.5em 0;
	padding: 0 0 0.5em 0;
	font-size: 2em;
	font-weight: 700;
	border-bottom: 1px solid rgba(0,0,0,0.2);
}
@media print {
	h1 {
		border-bottom: 1px solid #999;	
	}
}
h2 {
	font-size: 1.6em;
	font-weight: 700;
	padding: 1em;
	margin: -1em -1em 1em -1em;
	background-color: none;
}

#stamm {
	float: left;
	box-sizing: border-box;
	width: 30%;
	padding: 1em;
	margin: 1em 2% 0 0;
	background-color: #ddd;
}
.stammbox {
	margin: 0 -1em;
	padding: 1em;
	border-top: 1em solid #fff;
}
#bild {
	float: left;
	box-sizing: border-box;
	width: 16%;
	padding: 1em;
	margin: 1em 0 0 0;
}
#bild img {
	width: 100%;
}
#backibacki {
	position: fixed;
	z-index: -100;
	width: 300vw;
	height: 300vh;
	left: -100vw;
	top: -100vh;
	max-width: none!important;
	max-height: none!important;
	filter: blur(2em);
	opacity: 0.5;
}
#adds {
	float: left;
	box-sizing: border-box;
	width: 50%;
	padding: 1em;
	margin: 1em 0 0 2%;
	background-color: rgba(212,232,140,1.00);
}
#stamm h2, #adds h2 {
	padding: 1em;
	margin: -1em -1em 1em -1em;
}
table {
	border-collapse: collapse;
	width: 100%;
}
table.preise {
	width: auto;
}
table tr td {
	vertical-align: top;
	border-bottom: 1px solid rgba(0,0,0,0.3);
	padding: 0.5em 1em 0.5em 0;
}
.pdf_class table tr td {
	border-bottom: 0.2mm solid #000;
}
table tr td.underlined {
	border-bottom: 0.2mm solid #000;
	font-size: 2em;
	font-weight: 700;
}
table tr td.nounderlined {
	border-bottom: none;
	font-size: 1.5em;
	padding-bottom: 1em;
	font-weight: 700;
}
@media print {
	table tr td {
		border-bottom-color: #999;
	}
}
table tr:last-of-type td {
	border-bottom: none;
}
table.preise tr td {
	border-bottom: none;
	padding: 0 1em 0.7em 0;
}
table.preise td:last-of-type {
	/*text-align: right;*/
}
td.key {
	width: 5em;
}
td.val {
	font-weight: 600;
	padding-right: 0;
}
td.tdkey {
	width: 5em;
	padding: 1em 0;
}
td.tdtext {
	vertical-align: middle;
	padding: 1em 0;
}
textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 0.2em 0.5em;
	height: 6em;
}
.tree_input {
	line-height: 20px;
}
button {
	background-color: rgba(98,151,28,1.00);
	color: #fff;
	border: none;
	padding: 0 1em;
	text-align: center;
	width: 100%;
	box-sizing: border-box;
	height: 3em;
	line-height: 3em;
}


a.backbutton {
	display: inline-block;
	width: 2em;
	font-size: 1.5em;
	height: 2em;
	margin: 0 0 1em 0;
	background-color: #ddd;
	color: #000;
	opacity: 0.7;
	line-height: 2em;
	text-align: center;
	text-decoration: none;
	transition: all 400ms ease-out;
	background-image: url(SVG/back.svg);
	background-repeat: no-repeat;
	background-size: 50%;
	background-position: center center;
	background-origin: content-box;
}
a.backbutton:hover {
	opacity: 1;
}
a.backbutton.home {
	margin-right: 0.5em;
	background-image: url(SVG/home.svg);
}

a.pdfbutton {
	display: block;
	float: right;
	width: 2em;
	font-size: 1.5em;
	height: 2em;
	margin: 0 0 1em 0;
	background-color: #ddd;
	color: #000;
	opacity: 0.7;
	line-height: 2em;
	text-align: center;
	text-decoration: none;
	transition: all 400ms ease-out;
	background-image: url(//twobyone.ch/_media_icons/material-design-icons-1.0.0/file/svg/ic_file_download_24px.svg);
	background-repeat: no-repeat;
	background-size: 50%;
	background-position: center center;
	background-origin: content-box;
}
a.pdfbutton:hover {
	opacity: 1;
}

a.printbutton {
	display: block;
	float: right;
	width: 2em;
	font-size: 1.5em;
	height: 2em;
	margin: 0 1em 1em 0;
	background-color: #ddd;
	color: #000;
	opacity: 0.7;
	line-height: 2em;
	text-align: center;
	text-decoration: none;
	transition: all 400ms ease-out;
	background-image: url(//twobyone.ch/_media_icons/material-design-icons-1.0.0/action/svg/ic_print_24px.svg);
	background-repeat: no-repeat;
	background-size: 50%;
	background-position: center center;
	background-origin: content-box;
}
a.printbutton:hover {
	opacity: 1;
}

.icon {
	width: 3em;
	height: 3em;
	display: inline-block;
	vertical-align: bottom;
	margin: auto;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
}
.icon img {
	display: none;
}




/*.pdf_class .icon {
	background-color: #fff;
	background-image: none;
}
.pdf_class .icon img {
	display: block;
	width: 12mm;
}*/
.public .icon {
	background-color: #fff;
	background-image: none!important;
}
.public .icon img {
	display: block;
	width: 12mm;
}




.icon.klein {
	width: 1.5em;
	height: 1.5em;
}
.anbau {
	background-image: url(SVG/anbau.svg);
}
.trauben {
	background-image: url(SVG/trauben.svg);
}
.passt {
	background-image: url(SVG/karte.svg);
}
.aromatik {
	background-image: url(SVG/nase.svg);
}
.alk {
	background-image: url(SVG/alkohol.svg);
}
.money {
	background-image: url(SVG/money.svg);
}
.claim {
	background-image: url(SVG/flaschen_stehend.svg);
}



div.jahrgang {
	display: inline-block;
	padding-left: 1em;
	margin-left: 1em;
	font-weight: 300;
}
span.jahrgang {
	font-weight: 300;
}
@media print {
	div.jahrgang {
		display: block;
		padding-left: 0;
		margin-left: 0;
	}
}
.kat1 {
	clear: both;
	padding-bottom: 2em;
	margin-bottom: 2em;
	border-bottom: 1px solid #ddd;
}
.kat1 h2 {
	margin-bottom: 0;
}
a.kat2 {
	text-decoration: none;
	color: #555;
	line-height: 2em;
	width: 15em;
	box-sizing: border-box;
	float: left;
	column-count: auto;
	transition: color 400ms ease-out;
}
a.kat2::before {
	content: " ";
	display: inline-block;
	float: left; 
	margin-right: 0.5em;
	height: 1.5em;
	width: 1.5em;
	opacity: 0.5;
	transition: all 400ms ease-out;
	background-image: url(SVG/trauben.svg);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
}
a.kat2:hover {
	 color: #000;
}
a.kat2:hover::before {
	opacity: 1;
}

.artikelbox_container {
	margin: 0 -1%;
}
.artikelbox {
	width: 23%;
	float: left; 
	margin: 0 1% 2em 1%;
	cursor: pointer;
	background-color: #eee;
	transition: background-color 200ms ease-out;
}
.artikelbox:nth-of-type(4n+1) {
	clear: left;
}
@media screen and (max-width: 1160px) {
	.artikelbox {
		width: 31.333%;
	}
	.artikelbox:nth-of-type(4n+1) {
		clear: inherit;
	}
	.artikelbox:nth-of-type(3n+1) {
		clear: left;
	}
}
@media screen and (max-width: 860px) {
	.artikelbox {
		width: 48%;
	}
	.artikelbox:nth-of-type(3n+1) {
		clear: inherit;
	}
	.artikelbox:nth-of-type(2n+1) {
		clear: left;
	}
}
@media screen and (max-width: 560px) {
	.artikelbox {
		width: 98%;
	}
}
.artikelbild {
	background-size: contain;
	background-color: #fff;
	background-repeat: no-repeat;
	background-position: 50% 50%;
	background-origin: content-box;
	box-shadow: 0 0 0.8em rgba(0,0,0,0.2);
	padding: 1em;
	height: 15em;
	box-sizing: border-box;
	transition: box-shadow 200ms ease-out, background-position 200ms ease-out;
}
.artikelbox:hover {
	background-color: #ddd;
}
.artikelbox:hover .artikelbild {
	box-shadow: 0 0 1.5em rgba(0,0,0,0.2);
}
.artikeltext {
	padding: 1em;
	text-align: center;
}
.artikelbezeichnung {
	font-size: 1.2em;
	font-weight: 700;
	height: 2.6em;
	line-height: 1.2em;
}
.artikeljahr {
	font-weight: 700;
	height: 2.6em;
	line-height: 1.2em;
	color: rgba(0,0,0,0.3);
}
.artikelpreis {
	
}
.artikelpreis table {
	margin: auto;
	width: auto;
}

.suchresultat {
	margin-bottom: 2em;
	height: 7em;
	cursor: pointer;
	background-color: #eee;
	transition: background-color 200ms ease-out;
	position: relative;
}
.suchresultat.editor {
	float: left;
	width: 31.33%;
	margin: 0 2% 2% 0;
}
.suchresultat.editor.inaktiv {
}
.suchresultat.editor.inaktiv::before {
	content: " ";
	z-index: 5000;
	background-color: #999;
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	background-image: url(media/stroke.png);
	background-size: 100% 100%;
	opacity: 0.3;
}
.sr_bild {
	float: left;
	width: 10%;
	box-sizing: border-box;
	height: 100%;
	padding: 0.8em;
	background-size: contain;
	background-origin: content-box;
	background-position: center center;
	box-shadow: 0 0 0.8em rgba(0,0,0,0.2);
	background-repeat: no-repeat;
	text-align: center;
	background-color: #fff;
	position: relative;
	overflow: hidden;
}
.sr_mark {
	bottom: 0;
	background-color: rgba(0,0,0,0.55);
	color: #fff;
	font-weight: bold;
	margin: -1.5em -0.8em;
	box-sizing: border-box;
	padding: 0.8em 0 0.3em;
	transform: skewY(-5deg);
	text-shadow: 0 0 0.2em rgba(0,0,0,0.5);
}
.sr_mark span {
	font-size: 0.85em;
	line-height: 1.3;
}
.sr_mark font {
	display: inline-block;
	padding: 0.3em 0.8em;
	margin-top: 0.5em;
}
.sr_mark font.font_neu {
	background-color: #d03;
}
.sr_mark font.font_akt {
	background-color: #fd0;
	color: #000;
	text-shadow: 0 0 0.2em #ff0;
}
.sr_mark font.font_aus {
	background-color: #252525;
	color: #fff;
	text-shadow: 0 0 0.2em #202;
}
.suchresultat.editor.inaktiv .sr_bild {
}
.suchresultat.editor .sr_bild {
	width: 30%;
}
.suchresultat:hover {
	background-color: #ddd;
}
.suchresultat:hover .sr_bild {
	box-shadow: 0 0 1.5em rgba(0,0,0,0.2);
}
.sr_text {
	width: 50%;
	height: 100%;
	box-sizing: border-box;
	padding: 1em;
	float: left;
	position: relative;
	overflow: hidden;
}
.suchresultat.editor .sr_text {
	width: 70%;
}
.sr_jahr {
	width: 20%;
	box-sizing: border-box;
	padding: 1em;
	float: left;
}
.sr_preise {
	width: 20%;
	box-sizing: border-box;
	padding: 1em;
	float: left;
}
.sr_bezeichnung {
	font-weight: 700;
	font-size: 1.2em;
}
.sr_claim {
	font-weight: 700;
}
.sr_kat {
	
}
.sr_artikel_id {
	font-weight: bold;
	font-size: 0.9em;
	margin-top: 0.3em;
	opacity: 0.3;
}
.gastromarkierung {
	/*font-weight: bold;
	color: #82B831;*/
}

.sortierung table {
	width: 100%;
}
.sortierung table td {
	padding: 0.5em 1em;
	border-bottom: 1px solid rgba(0,0,0,0.3);
}
.sortierung table td:nth-of-type(2n-1) {
	width: 6em;
}
.sortierung table td:nth-of-type(2n) {
	width: 3em;
}

.sortierung td.kat1 {
	background-color:rgba(240,205,219,1.00);
	border-bottom: 1em solid #fff;
}
.sortierung td.kat2 {
	background-color:rgba(212,225,167,1.00);
	border-bottom: 1em solid #fff;
}
.sortierung td.kat3 {
	background-color:rgba(191,236,235,1.00);
	border-left: 1em solid #fff;
	border-bottom: none;
}
.sortierung tr:last-child td.kat3 {
	border-bottom: 1em solid #fff;
}

#lieferkosten_edit {
	justify-content: space-between;
	width: 100%;
	display: flex;
	gap: 2em;
}
#lieferkosten_edit div {
	width: 33%;
	flex-grow: 1;
}

