﻿/**
File: AMW.css

This file including HTML, CSS and PHP code written by Michael Weingartner
michael@weingartner.ch

Stylsheet für ganze Website ohne Fotos 
**/

/** Font für alle Browser, ACHTUNG, Reihenfolge entscheidend !! **/
@font-face {  
  font-family: Rotis;  
  src: url("fonts/rotis.eot");  /* EOT for IE */
} 

@font-face {
  font-family: Rotis;
  src: url("fonts/rotis.ttf");  /* TTF for IE */
}


*:focus {
    outline: none;
}

/** RESPONSIVE BASICS **/
*, *::before, *::after {
	box-sizing: border-box;
}

img {
	max-width: 100%;
	height: auto;
}


.Text {
	font-family: Rotis;
	font-size: 13pt;
	color: #000000;
}
.TextGrau {
	font-family: Rotis;
	font-size: 13pt;
	color: #666666;
}
.TextFett {
	font-family: Rotis;
	font-size: 13pt;
	color: #000000;
	font-weight: bold;	
}
.TextRotFett {
	font-family: Rotis;
	font-size: 13pt;
	color: #FF0000;
	font-weight: bold;	
}
.TextClaim {
	font-family: Rotis;
	font-size: 14pt;
	font-weight: bold;	
}

.TopFotoText {
  margin-top: 20px;
  font-family: Rotis;
  font-size: 13pt;
  color: #000000;
}


.Seitenlink {
	font-family: Rotis;
	font-size: 12pt;
	font-weight:bold;
	color: #FFFFFF;
}


html, body {
	height: 100%;
}

body {
	margin: 0px;
	padding: 0px;
	font-family: Rotis;
	font-size: 12pt;
	color:#000000;
	background: #CCCCCC;
}

h1, h2, h3 {
	margin: 0;
	padding: 0;
	font-weight: 300;
}

h2 {
	padding: 0px 0px 20px 0px;
	font-size: 2em;
}

strong {
}

a {
	color: #0000FF;
}

a:hover {
	text-decoration: none;
	
}


hr {
	display: none;
}

.picshadow {
  margin: 15px;
  margin-left: 20px;
  margin-right: 25px;
  -moz-box-shadow: 3px 3px 4px #000;
  -webkit-box-shadow: 3px 3px 4px #000;
  box-shadow: 3px 3px 4px #000;
  /* For IE 8 */
  -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#000000')";
  /* For IE 5.5 - 7 */
  filter: progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#000000');
}

.psL {
  margin-left: 0px;
}

.psR  {
  margin-left: 20px;
}

/** WRAPPER */

#wrapper {
	overflow: hidden;
	width: 100%;
	max-width: 1300px;
	margin: 50px auto;
	background: #EDEDDA;
	box-shadow: 0px 0px 10px 5px rgba(0,0,0,.2);
}

.container {
	width: 100%;
	max-width: 1300px;
	margin: 0px auto;
}

.clearfix {
	clear: both;
}

/** HEADER */

#amwheader {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  min-height: 120px;
  color:#FFFFFF;
  background: url(images/BackgroundHeader.jpg);
  background-size: cover;
  }

/* Logo */

#logo
{
	width: 200px;
	flex-shrink: 0;
	padding-top: 20px;
	padding-right: 0px;
	padding-bottom: 20px;
	padding-left: 30px;
	text-align: center;
}

#LogoText {
	font-family: Rotis;
	font-size: 13pt;
	color: #FFFFFF;
}

/* Instagram */
#instagram
{
	float: left;
	width: 125px;
	height: 135px;
	clear: left;
	z-index: 2;

: 0px;
	padding-right: 20px;
}

#parker
{
	float: right;
	width: 125px;
	height: 200px;
	z-index: 2;
	padding-right: 40px;
}

/* Menu */

#menu
{
	font-family: Rotis;
	font-size: 14pt;
	font-weight: bold;
	flex: 1 1 auto;
	min-width: 0;
	padding-top: 20px;
	padding-right: 25px;
	padding-bottom: 0px;
	padding-left: 0px;
}

#menu ul
{
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	margin: 0;
	padding: 0px 0px 0px 0px;
	list-style: none;
	line-height: normal;
}

#menu li
{
	/* flex item, no float needed */
}

#menu a
{
	display: block;
	white-space: nowrap;
	margin-left: 1px;
	padding: 7px 0px 7px 30px;
	letter-spacing: 1px;
	text-decoration: none;
	text-align: center;
	font-size: 14pt;
	color: #FFFFFF;
}

/* Burger-Menü-Toggle: nur per CSS, keine JavaScript nötig */
.menu-toggle {
	display: none;
}

.menu-icon {
	display: none;
	cursor: pointer;
	flex: 0 0 auto;
	font-size: 30px;
	line-height: 1;
	color: #FFFFFF;
	padding: 5px 20px;
	margin-left: auto;
	user-select: none;
}

.menu-icon::before {
	content: "\2630"; /* ☰ */
}

.menu-toggle:checked ~ .menu-icon::before {
	content: "\2715"; /* ✕ */
}

#menu a:hover
{
	text-decoration: none;
	border-radius: 5px;
	color: #FCF53C;
}

#menu li a.active
{
  color: #AAA;
}

/** PAGE */

#page {
	overflow: hidden;
	width: 100%;
	padding: 30px;
	background: #EDEDDA;
	color: #000000;
	z-index: 1;

}

#page h2 {
}

/** CONTENT */

#content {
	float: none;
	width: 100%;
	min-height: 600px;
	font-family: Rotis;
	font-size: 13pt;
	color: #000000;}


	
#tabbed_content {
	float: none;
	width: 100%;
	min-height: 600px;
	font-family: Rotis;
	font-size: 13pt;
	color: #000000;
	border: 1px solid #660033;
	padding: 5px 30px 5px 30px;
	position: relative;
	}


/* Footer */

#footer {
  overflow: hidden;
  min-height: 80px;
  padding: 10px 15px;
  background: url(images/BackgroundHeader.jpg);
  background-size: cover;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
}


#footer p {
    
    line-height: 1.3;
	text-align: center;
	color: #FFFFFF;
}



/* List Style 1 */

ul.style1 {
	margin: 0px;
	padding: 0px;
	list-style: none;
}

ul.style1 li {
	padding: 10px 0px 15px 0px;
	border-top: 1px solid #E6E7DC;
}

ul.style1 a {
	text-decoration: none;
	color: #545454;
}

ul.style1 a:hover {
	text-decoration: underline;
}

ul.style1 .first {
	padding-top: 0px;
	border-top: none;
}


/* List style 2 */

ul.style2 {
	margin: 0px;
	padding: 0px;
	list-style: none;
}

ul.style2 li {
	padding: 25px 0px 15px 0px;
	border-top: 1px solid #DDDDDD;
}

ul.style2 .first {
	padding-top: 0px;
	border-top: none;
}

ul.style2 h3 {
	padding: 0px 0px 10px 0px;
}

ul.style2 h3 a {
	color: #4F4F4F;
}

ul.style2 a {
	text-decoration: none;
	color: #919191;
}

ul.style2 a:hover {
	text-decoration: underline;
}


ol#toc {
    display: flex;
    flex-wrap: wrap;
    height: auto;
    list-style: none;
    margin: 0;
    padding: 0;
	width: 100%;
}

ol#toc a {
    background: url(images/tabs.gif);
    color: #000;
    display: block;
    height: 2em;
    padding-left: 10px;
	font-size: 13pt;
    text-decoration: none;
}

ol#toc a:hover {
    background-position: 0 -120px;
}

ol#toc a:hover span {
    background-position: 100% -120px;
}

ol#toc li {
    margin: 0 0 0 0;
}

ol#toc li.current a {
    background-position: 0 -60px;
    color: #fff;
    font-weight: bold;
}

ol#toc li.current span {
    background-position: 100% -60px;
}

ol#toc span {
    background: url(images/tabs.gif) 100% 0;
    display: block;
    line-height: 2em;
    padding-right: 10px;
}

#WeinPicture
{
	float: left;
	height: auto;
	width: 110px;
	padding-top: 30px;
	padding-left: 30px;
}

#WeinPictureGold
{
	float: left;
	height: auto;
	width: 110px;
	padding-top: 10px;
	padding-left: 15px;
	padding-right: 15px;
}

#WeinPictureTB
{
	float: left;
	height: auto;
	width: 320px;
	padding-top: 30px;
	padding-left: 30px;
}

#WeinBeschreibung
{
	margin-right: 270px;
	float: left;
	width: 550px;
	padding-top: 15px;
	height: auto;
}

#WeinBeschreibungTB
{
	margin-right: 270px;
	float: left;
	width: 380px;
	padding-top: 15px;
	height: auto;
}

#WeinPreis
{
	float: left;
	width: 580px;
	height: 40px;
	padding-top: 5px;
}

#WeinAnzahl
{
	float: left;
	width: 60px;
	height: 40px;
	padding-top: 10px;
}
#WeinWK
{
	float: left;
	width: auto;
	height: 40px;
	padding-top: 8px;
}
#WeinAbstand {
	height: 30px;
	width: 1000px;
	float: left;
}

.inputField 
{
	BORDER-RIGHT: #7f7f7f 1px solid;
	BORDER-TOP: #7f7f7f 1px solid;
	BORDER-LEFT: #7f7f7f 1px solid;
	BORDER-BOTTOM: #7f7f7f 1px solid;
	FONT-SIZE: 15px;
	WIDTH: 200px;
	font-family: Rotis;
}  

.inputField:focus {
  box-shadow: 0 0 5px #7f7f7f;
  border: 1px solid #993366;
}

.inputFieldAnzahl
{
    text-align: right;	
	BORDER-RIGHT: #7f7f7f 1px solid;
	BORDER-TOP: #7f7f7f 1px solid;
	BORDER-LEFT: #7f7f7f 1px solid;
	BORDER-BOTTOM: #7f7f7f 1px solid;
	FONT-SIZE: 15px;
	WIDTH: 25px;
	font-family: Rotis;
	padding-right: 5px;
}  

.inputFieldAnzahl:focus {
  box-shadow: 0 0 5px #7f7f7f;
  border: 1px solid #993366;
}


.inputFieldPLZ
{
	BORDER-RIGHT: #7f7f7f 1px solid;
	BORDER-TOP: #7f7f7f 1px solid;
	BORDER-LEFT: #7f7f7f 1px solid;
	BORDER-BOTTOM: #7f7f7f 1px solid;
	FONT-SIZE: 15px;
	WIDTH: 30px;
	font-family: Rotis;
}  

.inputFieldPLZ:focus {
  box-shadow: 0 0 5px #7f7f7f;
  border: 1px solid #993366;
}
.inputFieldOrt
{
	BORDER-RIGHT: #7f7f7f 1px solid;
	BORDER-TOP: #7f7f7f 1px solid;
	BORDER-LEFT: #7f7f7f 1px solid;
	BORDER-BOTTOM: #7f7f7f 1px solid;
	FONT-SIZE: 15px;
	WIDTH: 160px;
	font-family: Rotis;
}  

.inputFieldOrt:focus {
  box-shadow: 0 0 5px #7f7f7f;
  border: 1px solid #993366;
}

.inputFieldDatum
{
	BORDER-RIGHT: #7f7f7f 1px solid;
	BORDER-TOP: #7f7f7f 1px solid;
	BORDER-LEFT: #7f7f7f 1px solid;
	BORDER-BOTTOM: #7f7f7f 1px solid;
	FONT-SIZE: 15px;
	WIDTH: 100px;
	font-family: Rotis;
}  

.inputFieldDatum:focus {
  box-shadow: 0 0 5px #7f7f7f;
  border: 1px solid #993366;
}
input.Anzahl { width: 24px; text-align: right }

#AGBContainer
{
float: left;
}


.AGB
{
	font-family: Rotis;
	font-size: 13pt;
	display:block;
	position: absolute;
	bottom: -18px;
	right: -1px;	
	width:256px;
	border:1px solid #640032;
	color:#000000;
	text-align: left;
	padding: 8px;
	background-color: #FFFFFF;
	height: 195px;
}

.AGB span
{
   position: relative;
   top: 5px;
}

#WKContainer
{
float: left;
height: 2em;
}

.WK
{
position:relative;
z-index:1;
}

.WK span
{
	font-family: Rotis;
	font-size: 13pt;
	display:block;
	position:absolute;
	top: 20px;
	left:0em;
	width:256px;
	border:1px solid #640032;
	color:#000000;
	text-align: left;
	padding: 5px;
	background-color: #FFFFFF;
}


.WK .TitelAnz, .TitelPre {
  font-size: 1.2em; 
  font-weight: bold;
  color:#4F0000;
  text-align : right;
}

.WK .TitelArt {
  font-size: 1.2em; 
  font-weight: bold;
  color:#4F0000;
  padding-left: 20px;
}


.WK td.DataArt {
  font-weight: normal;
  padding-left: 20px;
}

.WK td.DataAnz, td.DataPre {
  font-weight: normal;
  text-align: right;
}

input.ButtonAdd {
width: 175px;
height: 33px;
background-image:url("images/WKAdd.gif");
}

input.ButtonAdd:hover {
background-image:url("images/WKAddH.gif");
width: 175px;
height: 33px;
} 

input.ButtonKaufen {
width: 100px;
height: 33px;
background-image:url("images/Kaufen.gif");
}

input.ButtonKaufen:hover {
background-image:url("images/KaufenH.gif");
width: 100px;
height: 33px;
} 

input.ButtonWeiter {
width: 100px;
height: 33px;
background-image:url("images/Weiter.gif");
}

input.ButtonWeiter:hover {
background-image:url("images/WeiterH.gif");
width: 100px;
height: 33px;
} 

input.ButtonZurueck {
width: 100px;
height: 33px;
background-image:url("images/Zurueck.gif");
}

input.ButtonZurueck:hover {
background-image:url("images/ZurueckH.gif");
width: 100px;
height: 33px;
} 

input.ButtonAnmelden {
width: 100px;
height: 33px;
background-image:url("images/Anmelden.gif");
}

input.ButtonAnmelden:hover {
background-image:url("images/AnmeldenH.gif");
width: 100px;
height: 33px;
} 

input.ButtonAenderungenSpeichern {
width: 165px;
height: 33px;
background-image:url("images/AenderungenSpeichern.gif");
}

input.ButtonAenderungenSpeichern:hover {
background-image:url("images/AenderungenSpeichernH.gif");
width: 165px;
height: 33px;
} 

input.ButtonAbbrechen {
width: 88px;
height: 33px;
background-image:url("images/Abbrechen.gif");
}

input.ButtonAbbrechen:hover {
background-image:url("images/AbbrechenH.gif");
width: 88px;
height: 33px;
} 
input.ButtonSpeichern {
width: 88px;
height: 33px;
background-image:url("images/Speichern.gif");
}

input.ButtonSpeichern:hover {
background-image:url("images/SpeichernH.gif");
width: 88px;
height: 33px;
} 

input.ButtonPWAendern {
width: 165px;
height: 33px;
background-image:url("images/PasswortAendern.gif");
}

input.ButtonPWAendern:hover {
background-image:url("images/PasswortAendernH.gif");
width: 165px;
height: 33px;
} 

input.ButtonHome {
width: 81px;
height: 33px;
background-image:url("images/Home.gif");
}

input.ButtonHome:hover {
background-image:url("images/HomeH.gif");
width: 81px;
height: 33px;
} 


input.WKAdd {
width: 175px;
height: 33px;
background-image:url("images/WKAdd.gif");
}

input.WKAdd:hover {
width: 175px;
height: 33px;
background-image:url("images/WKAddH.gif");
}


img.WKVoll {
width: 121px;
height: 33px;
background-image:url("images/WKVoll.gif");
}

img.WKVoll:hover {
width: 121px;
height: 33px;
background-image:url("images/WKVollH.gif");
}


/* ============================================
   RESPONSIVE / MEDIA QUERIES
   ============================================ */

/* Tablet und kleiner: Aussenabstand des Wrappers reduzieren */
@media (max-width: 1350px) {
	#wrapper {
		margin: 20px auto;
	}
}

/* Mobile Navigation: ab hier Burger-Menü statt horizontaler Liste */
@media (max-width: 1024px) {

	#amwheader {
		flex-wrap: wrap;
		min-height: auto;
		padding: 10px 0;
	}

	#logo {
		width: auto;
		flex: 1 1 auto;
		padding: 10px 15px;
		text-align: left;
	}

	.menu-icon {
		display: flex;
	}

	#menu {
		flex-basis: 100%;
		padding: 0;
		order: 3;
		/* Standardmässig eingeklappt */
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.25s ease;
	}

	#menu ul {
		flex-direction: column;
		align-items: stretch;
	}

	#menu a {
		padding: 12px 20px;
		text-align: left;
		border-top: 1px solid rgba(255,255,255,0.2);
	}

	/* Checkbox-Hack: Menü aufklappen, wenn Burger-Icon angeklickt wird */
	.menu-toggle:checked ~ #menu {
		max-height: 500px;
	}

	#page {
		padding: 20px 15px;
	}

	#tabbed_content,
	#content {
		padding: 5px 10px;
	}
}

/* Kleine Screens: Schriftgrössen etwas reduzieren, damit nichts überläuft */
@media (max-width: 600px) {
	.Text, .TextGrau, .TextFett, .TextRotFett, #content, #tabbed_content {
		font-size: 11pt;
	}

	.TextClaim {
		font-size: 12pt;
	}

	#menu, #menu a {
		font-size: 12pt;
	}

	#footer p {
		font-size: 9pt;
	}
}

/* Alte, mit festen Pixelbreiten gebaute Layout-Tabellen (z.B. wir.php, presse.php,
   passione.php) in eine gestapelte, mobilfreundliche Darstellung umwandeln.
   Betrifft nur Inhalts-Tabellen der Website, NICHT die Warenkorb-Tabellen (die
   liegen innerhalb von #WKContainer / .WK und werden hier bewusst ausgenommen). */
@media (max-width: 700px) {
	#tabbed_content table:not(.WK),
	#content table:not(.WK) {
		width: 100% !important;
	}

	#tabbed_content table:not(.WK) tr,
	#content table:not(.WK) tr,
	#tabbed_content table:not(.WK) td,
	#content table:not(.WK) td,
	#tabbed_content table:not(.WK) th,
	#content table:not(.WK) th {
		display: block;
		width: 100% !important;
	}
}

/* Bilder, die im Fliesstext eingebettet sind (z.B. presse.php: mehrere
   Presse-Cover + Links hintereinander im selben Absatz), auf Mobile
   sauber untereinander stapeln statt mitten im Text mitschwimmen zu lassen. */
@media (max-width: 700px) {
	#tabbed_content p img.picshadow,
	#content p img.picshadow {
		display: block;
		float: none;
		margin: 15px auto;
	}

	#tabbed_content p a,
	#content p a {
		display: inline-block;
		margin-bottom: 10px;
	}
}
