/**
 * RESPONSIVE STYLE PATCHES ...
 *
 * This file is intended for testing and developing! Patches applied here
 * should be transferred into the regular style sheet documents after
 * testing has finished.
 */



/* Tablet portrait */
@media screen and (max-width: 990px) {
	.affix {
		position: fixed !important;
		-webkit-transform: translate3d(0, 0, 0);
		-o-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
	}
	.row {
		width: 100%;
		padding-left: 25px !important;
		padding-right: 25px !important;
	}

	/* HEADER */
	.container.header {
		x-background-size: contain;
	}
	#header {
		height: 160px;
		border-bottom: 7px solid rgb(86,86,85);
	}
	#logo-image {
		right: 25px;
	}
	#icons {
		top: 15px;
		right: 190px;
		width: 85px;
	}
	#icons > img {
		width: 100%;
		height: auto;
		margin-left: 0;
	}
	#logo-text {
		width: 60%;
	}
	#name {
	}
	#claim {
		font-size: 18px;
		margin-top: -5px;
	}

	/* MAIN NAV */
	a.menu-toggle {
		display: block;
	}
	#menu {
		height: auto;
	}
	#menu > ul {
		margin: 0px;
	}
	#menu > ul > li {
		float: none;
		padding: 0;
		margin-left: 0;
		margin-right: 0;
		border-bottom: none;
		margin: 0;
	}
	#menu > ul > li.active {
		border-color: rgb(194,19,15);
	}
	#menu > ul > li.active > a {
		color: rgb(194,19,15);
	}
	#menu > ul > li > a {
		padding: 12px 0 10px;
		font-size: 18px;
	}
	#menu ul.nav {
		display: none;
		margin-left: 38px !important;
	}
	#menu ul.nav.open {
		display: block;
	}
	.menu {
		position: fixed;
		width: 100%;
		z-index: 999999;
		top: 0;
		border: none;
	}
	.menu.affix {
		width: 100%;
		z-index: 999999;
		top: 0;
		x-background-color: #646465;
		background-color: rgba(86,86,85,0.9);
	}
	.dropdown-menu {
		position: static;
		float: none;
		padding: 6px 0;
		margin-left: 0px;
		margin-bottom: 10px;
		width: auto;
		font-size: 15px;
		border: none;
	}
	ul.dropdown-menu > li {
		float: left;
	}
	ul.dropdown-menu > li.overview {
		float: none;
	}
	ul.dropdown-menu > li > a {
		padding: 4px 10px;
	}

	/* FOOTER */
	.nav-footer {
		right: 25px;
	}
	#footer .language-switch li {
		margin-left: 20px;
	}
	
	/* CONTENT */
	.textbox {
		width: auto !important;
		margin: 0 25px !important;
		float: none !important;
	}
	
	/* MACHINES */
	/* index */
	#machines .machine {
		height: auto;
		margin: 50px 0;
	}
	#machines .machine > a {
		margin: 0;
	}
	#machines .machine img {
		width: 100%;
		height: auto;
	}
	#machines .machine > .label {
		position: static;
		width: 100%;
	}
	#machines .machine > .label > a {
		margin: 0px auto;
	}
	/* machine */
	.row.machine {
		background-image: url(../img/kringel.png);
		background-repeat: no-repeat;
		background-position: 25px 30px;
	}
	.machine .textbox {
		padding: 20px 0 30px;
		background-color: transparent;
	}
	.machine .textbox {
		padding: 20px 0 30px;
		background-color: transparent;
	}
	.machine .desc {
		width: auto;
		float: none;
	}
	.machine .visual {
		width: auto;
		height: auto;
		margin: 0 auto;
		background-image: none;
	}
	.machine .visual img {
		margin: 0 auto;
	}
	.machine .details {
		position: static;
		left: auto;
		top: auto;
		width: auto;
		margin-bottom: 30px;
	}
	
	/* SHOP */
	.shop .infobox {
		float: none;
		box-sizing: content-box;
		width: 100%;
		padding: 10px 25px;
		min-height: 0px;
		margin-left: -25px;
		margin-right: -25px;
	}
	.infobox .info-panel {
		float: left;
		width: 60%;
		margin-bottom: 0px;
		position: relative;
	}
	.infobox .info-panel.info-customer {
		float: right;
		width: 35%;
	}
	.info-cart .form.checkout {
		position: absolute;
		top: 10px;
		right: 0;
	}
}



/* up to iPhone 5 landscape */
@media screen and (max-width: 570px) {
	.row {
		padding-left: 15px !important;
		padding-right: 15px !important;
	}

	/* HEADER */
	#header {
		padding-top: 55px;
		height: 130px;
	}
	#logo-image {
		right: 15px;
	}
	#logo-text {
		width: auto;
	}

	/* MAIN NAV */
	.menu {
		position: fixed;
		z-index: 999999;
		top: 0;
		border: none;
	}

	/* FOOTER */
	.container.footer {
		height: auto;
	}
	#footer {
		padding: 15px 0;
	}
	.address, .language-switch {
		float: none;
		width: auto;
		margin-bottom: 10px;
		font-size: 12px;
		line-height: 1.2;
	}
	.nav-footer {
		right: 15px;
		top: 15px;
		bottom: auto;
		font-size: 12px;
		line-height: 1.2;
	}
	#footer .nav-footer a {
		font-size: inherit;
	}
	#footer .language-switch {
		margin: 10px 0 0;
	}
	#footer .language-switch ul.nav {
		text-align: center;
	}
	#footer .language-switch li {
		display: inline-block;
		float: none;
		margin: 0 10px;
	}

	/* CONTENT */
	.textbox {
		margin: 0 !important;
	}
	.default .textbox img {
		max-width: 100% !important;
		height: inherit;
	}
	.container.home {
		min-height: 300px !important;
	}
	#main {
		min-height: 300px !important;
	}
	.home .ornament {
		width: 100%;
		height: auto;
		margin: 20px auto;
	}
	.home .ornament > img {
		width: 90%;
		max-width: 400px;
	}

	/* MACHINES */
	/* index */
	#machines .machine {
		width: 50%;
		margin: 30px 0;
	}
	.contact-image {
		float: none;
		margin-bottom: 10px;
	}
	.experience .textbox {
		margin-left: -15px !important;
		margin-right: -15px !important;
		padding-left: 15px;
		padding-right: 15px;
	}

	/* SHOP */
	.shop .infobox {
		padding: 10px 15px;
		margin-left: -15px;
		margin-right: -15px;
	}
	.infobox .info-panel {
		float: none;
		width: auto;
	}
	.infobox .info-panel.info-customer {
		float: none;
		width: auto;
	}
	.info-cart .form.checkout {
		top: 0;
	}
	.shop .machines {
		margin: 0 -5px;
	}
	.shop .machine {
		margin: 0 5px 10px;
	}

	/* TABLES */
	table.list,
	table.list thead,
	table.list tbody,
	table.list tfoot,
	table.list tr,
	table.list td {
		display: block;
		border: none;
	}
	/* clearfix table rows */
	table.list tr:before,
	table.list tr:after {
		display: table;
		content: " ";
	}
	table.list tr:after {
		clear: both;
	}
	table.list thead {
		display: none;
	}
	table.list tbody {
		border-top: 1px solid rgb(119,119,122);
	}
	table.list tbody tr,
	table.list tfoot tr {
		padding: 5px 0;
		border-bottom: 1px solid rgb(119,119,122);
		position: relative;
		width: 100%;
	}
	table.list tbody tr {
		cursor: pointer;
	}
	table.list td {
		padding: 0;
		width: 50%;
	}
	table.list .artnum {
		font-weight: bold;
	}

	/* parts table */
	table.parts .art-desc {
		width: 88%;
	}
	table.parts .art-price,
	table.parts .art-tocart {
		position: absolute;
		top: 5px;
	}
	table.parts .art-price {
		width: 20%;
		right: 12%;
		text-align: right;
	}
	table.parts .art-tocart {
		width: 12%;
		right: 0;
		text-align: right;
	}

	/* cart table */
	table.cart .art-desc {
		width: 100%;
		margin-bottom: 5px;
	}
	table.cart .art-price-single,
	table.cart .art-qty,
	table.cart .art-price-total {
		float: left;
		height: 2.2em;
	}
	table.cart .art-price-single,
	table.cart .art-price-total {
		padding-top: 6px;
	}
	table.cart .art-price-single {
		width: 40%;
	}
	table.cart .art-qty {
		width: 35%;
		text-align: right;
	}
	table.cart .art-qty:before {
		content: "× ";
	}
	table.cart .art-price-total {
		width: 25%;
	}

	table.cart tfoot .label {
		float: left;
		width: 75%;
	}
	table.cart tfoot .value {
		float: right;
		width: 25%;
	}
	
	/* cart summary */
	table.summary .art-price-single,
	table.summary .art-qty,
	table.summary .art-price-total {
		height: auto;
		padding: 0;
	}
	table.summary .art-qty {
		width: 12%
	}
	table.summary .art-price-single {
		width: 63%
	}
}



@media screen and (min-width: 480px) and (max-width: 640px) {
	/* HEADER */
	#header {
		padding-top: 55px;
		height: 130px;
	}
	#logo-image img {
		width: 100px;
		height: auto;
	}
	#icons {
		left: auto;
		right: 145px;
		width: auto;
	}
	#icons > img {
		height: 28px;
		width: auto;
	}
	#logo-text {
		width: 75%;
	}
	#name {
		font-size: 20px;
	}
	#claim {
		font-size: 17px;
		margin-top: -7px;
	}
}



/* up to iPhone 4 landscape */
@media screen and (max-width: 479px) {
	/* HEADER */
	#logo-image img {
		width: 70px;
		height: auto;
	}
	#icons {
		display: none;
		left: 15px;
		right: auto;
		width: auto;
	}
	#icons > img {
		height: 32px;
		width: auto;
		margin-right: 10px;
	}
	#name {
		font-size: 18px;
	}
	#claim {
		font-size: 15px;
		margin-top: -7px;
	}

	/* MACHINES */
	/* index */
	#machines .machine {
		width: 100%;
		margin: 30px 0;
	}
	.home .textbox h1 {
		font-size: 20px;
		line-height: 1.5;
	}
	span.claim-1 {
		font-size: 28px;
	}

	/* FORM */
	.form-item .label,
	.form-item .control {
		float: none;
		width: 100%;
	}
}
