@import '/global//styles/subsite.css';

header
{
	background-image:url('../images/bg-header.jpg');
	overflow: auto;
}

main
{
	color: #565656;
}

.title
{
	text-align: center;
}

.title img
{
	margin: 30px 0 20px 0;
}

.heading
{
	margin-bottom: 60px;
}

h1
{
	font-size: 4em;
	text-transform: uppercase;
}

h2
{
	font-size: 1.8em;
	font-weight: 100;
	text-transform: uppercase;
	margin: 0 0 1em 0;
}

h3
{
	font-weight: bold;
	font-size: 2em;
}

h4
{
	font-weight: bold;
	color: #666666;
	font-size: 1.3em;
	margin: 20px 0 10px 0;
}


.content.pricelist
{
	margin-top: 20px;
}

.content.pricelist .options
{
	width: 50%;
}

.result
{
	width: 40%;
	position: absolute;
	top: 0;
	right: 20px;
	height: 100%;
	overflow: visible;
}

#calculation
{
/*  Not supported by everything except Apple's WebKit. Replaced by single JS implementation.
	position: -webkit-sticky;
	position: -moz-sticky;
	position: -ms-sticky;
	position: -o-sticky;
	position: sticky;
 */

	position: absolute;
	width: 100%;
	margin-top: 20px;
}

#calculation .price
{
	float: right;
	font-weight: 500;
}

#calculation .positions
{
	padding: 10px;
	background-color: #fff7d5;
	color: #8b4a25;
	margin-bottom: 5px;
}

#calculation .total
{
	padding: 10px;
	background-color: #ffbc1f;
	color: #8b4a25;
	font-size: 2em;
	overflow: auto;
}

#calculation .total label
{
	font-weight: 100;
}

.pricelist .item
{
	height: auto;
	clear: both;
	margin-bottom: 60px;
}

.moreinfos
{
	display: block;
	color: white;
	background-color: #51b4e5;
	padding: 5px 10px 5px 30px;
	position: relative;
}

.moreinfos .icon
{
	position: absolute;
	top: 8px;
	left: 10px;
	display: block;
	width: 16px;
	height: 16px;
	background: transparent url("../images/arrow.svg") no-repeat left center;
	background-size: 100% 100%;
}

@media (max-width: 600px) 
{
	body
	{
		font-size: 0.8em;
	}

	h1
	{
		font-size: 2.6em;
	}

	.title img
	{
		margin: 60px 0 20px 0;
	}

	.content.pricelist
	{
		margin-bottom: 120px;
	}

	.content.pricelist .options
	{
		width: 100%;
	}

	.result
	{
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		top: auto;
		height: 60px;
		width: auto;
		background-color: grey;
		margin: 0;
		padding: 0;
		z-index: 1000;
	}
	
	#calculation
	{
		margin: 0;
	}

	#calculation .positions,
	#calculation .currency
	{
		display: none;
	}

	#calculation .total
	{
		height: 60px;
		margin: 0;
		overflow: hidden;
	}
}

.options ul
{
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.options ul li
{
	padding: 10px;
	margin: 5px 0;
	background-color: white;
	transition: background-color 0.3s;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	overflow: auto;
}

.options ul li:hover
{
	background-color: #f6f6f6;
	transition: none;
}

.options input
{
	float: left;
}

.options label
{
	display: block;
	font-size: 2em;
}

.options ul li .explanation
{
	display: block;
	font-size: 0.5em;
}

input[type="checkbox"],
input[type="radio"] 
{
	height: 40px;
	width: 40px;
	-webkit-appearance: none;
	-khtml-appearance: none;
    -moz-appearance: none;
	background-color: white;
	box-shadow: inset 0px 0px 6px rgba(0,0,0,0.2);
	background-size: 80% 80%;
	background-position: center center;
	background-repeat: no-repeat;
}

input[type="radio"] 
{
	border-radius: 20px;
	background-size: 60%;
}

input[type="checkbox"]:checked,
input[type="radio"]:checked
{
	background-image: url("../images/checkmark.svg");
}

input[type="checkbox"]+label,
input[type="radio"]+label
{
	margin-left:60px;
}

input[type="text"] 
{
	box-sizing: border-box;
	height: 40px;
	width: 100px;
	-webkit-appearance: none;
	-khtml-appearance: none;
    -moz-appearance: none;
    appearance: none;
	background-color: white;
	box-shadow: inset 0px 0px 6px rgba(0,0,0,0.2);
	border-width: 0;
	padding: 10px;
	font-size: 1em;
	margin-right: 20px;
}

input[type="text"]+label
{
	margin-left:120px;
}

.options span.price
{
	font-size: 0.5em;
	font-weight: bold;
	padding-left: 5px;
	background-color: #ffc02a;
	color: white;
	padding: 2px 6px;
	border-radius: 4px;
	white-space: nowrap;
	vertical-align: middle;	
}

.options span.price.screens
{
	background-image: url("../images/icon-screens.svg");
	background-position: 3px center;
	background-size: 16px 16px;
	background-repeat: no-repeat;
	padding-left: 24px;
}

#calculation .faqbutton a
{
	margin-top: 15px;
	display: block;
}

#calculation .positions ul
{
	display: table;
	margin: 0;
	padding: 0;
	width: 100%;
}

#calculation .positions ul li
{
	display: table-row;
}

#calculation .positions ul li>span
{
	display: table-cell;
}

#calculation .positions ul li .title
{
	text-align: left;
}

#calculation .positions ul li .cost
{
	padding-left: 10px;
	width: 100px;
	white-space: nowrap;
	text-align: right;
	font-weight: bold;
}

#calculation .positions ul li .subtotal
{
	padding-left: 20px;
	width: 60px;
	font-weight: bold;
	text-align: right;
	white-space: nowrap;
	display: none;
}

#calculation .currency
{
	margin: 10px 0 0 0;
	text-align: right;
}

@media only print
{
	header img
	{
		display: none;
	}

	.content.pricelist .options
	{
		width: auto;
		float: none;
	}

	.content.pricelist .result
	{
		float: none;
		height: auto;
		position: static !important;
	}

	#calculation
	{
		float: none;
		height: auto;
		position: static !important;
		margin-bottom: 60px;
	}
}

.tseparator
{
	white-space: nowrap;
	opacity: 0.2;
}