/* alpinquartett.ch - base stylesheet */
/* 11-2017 Kurt Schmidheiny */

/* devices with limited screen size */
@media screen and (max-width: 510px) {  

	body {
		max-width: none;
		min-width: 250px;
		padding: 0;
		font-size: 15px; 
		line-height: 1.5;
	}

	h1 {
		height: auto;
		padding: 5px 5px 10px 5px;
		background-color: rgb(235,79,104);
		background-image: none;
		background-repeat: repeat;
		color: #ffffff;
		font-size: 20px;
		font-weight: normal;
		text-align: center;
		white-space: nowrap;
		line-height: 1;
	}

	h1 a:link, h1 a:visited, h1 a:hover, h1 a:active {
		color: #ffffff;
		line-height: 1;
	}

	#kleber {
		display: none;
	}

	#navbutton {
		display: block;
		float: right;
		position: relative; 
		left: 0px; 
		top: 0px;
	}

	#navbutton div {
		z-index: 10;
		position: absolute; 
		right: 10px; 
		bottom: 7px;
		cursor: pointer;
		display: block;
		height: 22px;
		width: 22px;
		padding: 2px;
		background-color: rgb(235,79,104);
	}

	#navbutton div div {
		display: block;
		position: static; 
		background-color: #ffffff;
		border: 1px solid #ffffff;
		border-radius: 1px;
		height: 1px;
		width: 20px;
		padding: 0 0 0 0;
		margin: 3px 0 0 0;
	}

	#language {
		display: none;
		float: none;
		position: static; 
		height: 45px;
		padding: 5px 5px 0 0;
		margin: 0 0 0 0;
		border-width: 0 0 1px 0;
		border-style: solid;
		border-color: #ffffff;
		background-color: rgb(235,79,104);
		line-height: 15px;
		font-weight: bold;
	}

	#language ul {
		display: inline;
		position: static;
	}

	#language li {
		display: inline;
		float: left;
		width: 50px;
		text-align: center;
		line-height: 15px;
		padding: 10px 5px 15px 5px;
		margin: 0 5px 0 5px;
		border-radius: 20px;
		border-color: #ffffff;
	}

	#language a:link, #language a:visited, #language a:hover {
		color: #ffffff;
	}

	#language li.active {
		color: rgb(235,79,104);
		background-color: #ffffff;
	}

	#language li.active a:link, #language li.active a:visited, #language li.active a:hover {
		color: rgb(235,79,104);
	}

	#social {
		display: none;
		float: none;
		position: static; 
		height: 40px;
		padding: 5px 5px 0 0;
		margin: 0 0 0 0;
		border-width: 0 0 1px 0;
		border-style: solid;
		border-color: #ffffff;
		background-color: rgb(235,79,104);
		line-height: 15px;
	}

	#social ul {
		display: inline;
		position: static;
	}

	#social li {
		display: inline;
		float: left;
		height: 25px;
		width: 25px;
		padding: 0;
		margin: 4px 5px 11px 5px;
		background-color: #ffffff;
		color: rgb(235,79,104);
		border-radius: 6px;
		border-width: 1px;
		border-style: solid;
		border-color: #ffffff;
		text-align: center;
	}

	#social li a:link, #language li a:visited, #language li a:hover {
		color: rgb(235,79,104);
 		vertical-align: -6px;
		font-size: 20px;
	}

	#menu {
		display: none;
	}

	#menu ul {
		display: inline;
		list-style-type: none;
		line-height: 1;
		padding: 0 0 0 0;
		margin: 0 0 0 0;
		border-style: none;
	}

	#menu li {
		display: list-item;
		padding: 15px 0 15px 5px;
		margin: 0 0 0 0;
		border-width: 0 0 1px 0;
		border-style: solid;
		border-color: #ffffff;
		background-color: rgb(235,79,104);
	}

	#menu li.active {
		padding: 15px 0 15px 5px;
		border-color: rgb(235,79,104);
		background-color: #ffffff;
	}

	#menu li a {
		display: block;
		width: 100%;
		height: 100%;
	}

	#menu li.language {
		float: none;
	}

	#menu ul.submenu {
		position: static; 
		display: inline;
		list-style-type: none;
	}

	#menu ul.inactive {
		display: none;
	}
	
	#menu li.submenu {
		display: list-item;
		padding: 15px 0 0 0;
		margin: 15px 0 0 15px;
		border-width: 1px 0 0 0;
		border-style: solid;
		border-color: rgb(235,79,104);
		background-color: #ffffff;
	}

	#menu a.submenu {
		display: block;
		width: 100%;
		height: 100%;
		color: rgb(235,79,104);
	}

	#content {
		min-height: 0px;
		margin: 0;
		padding: 10px 5px 0 5px;
	}

	#content-noinfo {
		padding: 10px 5px 0 5px;
	}

	#infolist {
		float: none;
		width: auto; 
		margin: 0;
		padding: 5px 5px 5px 5px;
	}

	#infolist img {
		width: 100%; 
	}

	#footer {
		margin: 0 0 5px 0;
		padding: 0 5px 0 5px;
	}

	#footer li {
		font-size: 0.8em; 
	}

	select, input, textarea{
		font-size: 100%; 
	}

	input.item_number {
		width: 30px;
	}

	input.item_name {
		width: 180px;
	}

	input.item_price {
		width: 50px;
	}

	input.item_amount {
		width: 50px;
	}

	img.wegweiser {
		width: 49%;
	}


}