@import 'assistant/stylesheet.css';

html {
	font-family: 'Assistant', sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 1.25;
	color: #345;
/* 	background-color: #fff; */
	background: linear-gradient(180deg, #f0f3f6 0vh, #fff 50vh);
	background-repeat: no-repeat;
/* 	background-attachment: fixed; */
}

html, body {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
}

a {
	color: inherit;
}

b {
	font-weight: 600;
}

.l-header {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 2rem 4rem;
	background-color: #fff;
/* 	box-shadow: 0 6px 12px rgba(0,0,0,0.025); */
}

.l-body {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 4rem 20px;
}

.l-update {
	position: fixed;
	z-index: 2;
	left: 0;
	bottom: 0;
	width: 100%;
	background-color: #f0f3f6;
	transition: transform .3s;
}

.l-update.is-hidden {
	transform: translateY(100%);
}

.l-alerts {
	position: fixed;
	left: 0;
	top: 0;
	z-index: 3;
	width: 0;
	height: 0;
}

.m-alert {
	text-align: center;
	position: absolute;
	left: 0;
	top: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	box-sizing: border-box;
	width: 100vw;
	height: 100vh;
	padding: 3rem;
	background-color: rgba(45,60,75,.9);
}

.m-alert__inner {
	position: relative;
	box-sizing: border-box;
	width: 100%;
	max-width: 600px;
	padding: 2rem;
	background-color: rgb(255, 255, 255);
	border-radius: .5rem;
}

.m-alert__close {
	font-size: 1.5rem;
	font-weight: 800;
	position: absolute;
	right: 1rem;
	top: 1rem;
	display: block;
	background: transparent;
	border: 0;
	outline: 0;
	cursor: pointer;
}

.m-alert__close::before {
	content: '\00D7';
}

.l-footer {
	position: relative;
	z-index: 1;
	color: #fff;
	width: 100%;
	background-color: #345;
}

.a-button {
	font-family: 'Assistant', sans-serif;
	font-weight: 600;
	font-size: 1rem;
	line-height: 1;
	text-decoration: none;
	color: #fff;
	display: inline-block;
	background-color: #0091dd;
	padding: 1em;
	border-radius: .25rem;
	border: 0;
	outline: 0;
	cursor: pointer;
}

.a-button--large {
	font-size: 1.25rem;
}

.a-button--huge {
	font-size: 1.75rem;
	padding: .5em 1em;
}

.a-button--configurator {
	padding-left: 2.5em;
	background-image: url('../img/icon-gear.svg');
	background-repeat: no-repeat;
	background-size: auto 60%;
	background-position: .75em center;
}

.a-button.is-disabled {
	color: #b0b6bc;
	padding-left: 3em;
	background-color: #fff;
/* 	border: 1px solid #d0d6dc; */
	background-color: #f0f4f8;
	background-image: url('../img/ajax-loader.gif');
	background-repeat: no-repeat;
	background-size: auto 60%;
	background-position: 1em center;
	cursor: not-allowed;
}

.m-count-input {
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

.m-count-input__input {
	font-family: 'Assistant', sans-serif;
	font-weight: 400;
	font-size: 1.25rem;
	text-align: right;
	box-sizing: border-box;
	width: 100%;
	min-width: 4rem;
	max-width: 10rem;
	padding: .375em .5em;
	border: 1px solid #d0d6dc;
	outline: 0;
}

@keyframes poke {
  40% {
    transform: translateX(0);
  }
  45% {
    transform: translateX(-0.5em);
  }
  50% {
    transform: translateX(0);
  }
  55% {
    transform: translateX(-0.5em);
  }
  60% {
    transform: translateX(0);
  }
}

.m-count-input__hint {
	position: relative;
	font-size: .75em;
	color: #fff;
	display: inline-block;
	min-width: 7rem;
	max-width: 15rem;
	background-color: #0091dd;
	padding: .5em .75em;
	margin-right: 10px;
	border-radius: .25em;
	animation: poke 5s infinite;
}

.m-count-input__hint::after {
	content: ' ';
	display: block;
	width: .5em;
	height: .5em;
	position: absolute;
	top: 50%;
	right: 0;
	overflow: hidden;
	background-color: #0091dd;
	transform-origin: center center;
	transform: translate(50%, -55%) rotate(45deg) ;
}	

.m-count-input__hint-price {
	font-weight: 600;
}

.a-logo {
	width: 100%;
	height: 14vw;
	max-height: 4rem;
	background-image: url('../img/logo-protec-gmbh.svg');
	background-repeat: no-repeat;
	background-size: contain;
	background-position: right center;
}

.a-price {
	display: inline-block;
	min-width: 1em;
	min-height: 1em;
}

.a-price.is-loading {
	background-image: url('../img/ajax-loader.gif');
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center center;
}

.a-section {
}

.a-section + .a-section {
	margin-top: 4rem;
}

.a-text-input {
	font-family: 'Assistant', sans-serif;
	font-weight: 400;
	font-size: 1rem;
	line-height: 1;
	padding: .375em .5em;
	border: 1px solid #d0d6dc;
	outline: 0;
}

.a-text-input:focus {
	border-color: #8be;
}

.m-configuration {
	display: flex;
	flex-wrap: wrap;
}

.m-configuration__parameter-title {
	font-weight: 600;
	box-sizing: border-box;
	width: 50%;
	margin: 0;
	padding: .5rem 1rem .5rem 0;
	border-top: 1px solid #d0d6dc;
}

.m-configuration__parameter-selection {
	width: 50%;
	margin: 0;
	padding: .5rem 0;
	border-top: 1px solid #d0d6dc;
}

.m-configuration__parameter-title:nth-child(1), .m-configuration__parameter-title:nth-child(2),
.m-configuration__parameter-selection:nth-child(1), .m-configuration__parameter-selection:nth-child(2) {
	border-top: 0;
}

.m-footer {
	box-sizing: border-box;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 2rem 20px;
}

.m-footer__contact {
}

.m-footer__baseline {
	font-size: .875em;
	margin: 2rem 0 0;
	padding: 1rem 0;
	border-top: 1px solid #567;
}

.m-footer__baseline-link {
	display: block;
	color: #fff;
}

.m-form-field {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 1.25rem 0;
/* 	border-bottom: 1px solid #d0d6dc; */
}

.m-form-field--narrow {
	padding: 1rem 0;
}

.m-form-field--checkbox {
	align-items: flex-start;
}

.m-form-field:last-child {
	border-bottom-width: 0;
}

.m-form-field__label {
	font-weight: 700;
	font-size: 1rem;
	text-transform: uppercase;
	width: 50%;
}

.m-form-field__input {
	box-sizing: border-box;
	width: 50%;
}

.m-form-field__input--zip {
	width: 15%;
	margin-right: 2%;
}

.m-form-field__input--city {
	width: 33%;
}

.m-form-field__checkbox {
	margin-right: 1rem;
}

.m-form-field__checkbox-text {
	flex-shrink: 2;
	width: 100%;
	margin: 0;
}

.m-hint {
	text-align: center;
	box-sizing: border-box;
	width: 100%;
	margin: 4rem 0;
	padding: 1rem 2rem;
	background: #f0f4f8;
	border-radius: .5rem;
	border: 1px solid #c0c6cc;
}

.m-hint--success {
	color: #093;
	background-color: #cfc;
	border-color: #093;
}

.m-hint--warning {
	color: #970;
	background-color: #feb;
	border-color: #db0;
}

.m-hint--error {
	color: #900;
	background-color: #fcc;
	border-color: #900;
}

.m-hint__title {
	font-size: 1.5rem;
	font-weight: 600;
	margin: 0;
}

.m-hint__body {
	margin: 0;
}

.m-intro {
	margin-bottom: 6rem;
}

.m-intro__title {
	font-weight: 300;
	font-size: 3rem;
	line-height: 1.125;
	color: #369;
	max-width: 40rem;
	margin: 0 0 2rem;
}

.m-intro__subtitle {
	font-weight: 500;
	font-size: 2rem;
	line-height: 1.125;
	color: #369;
	max-width: 40rem;
	margin: 0 0 2rem;
}

.m-intro__directlink {
	margin: 0 0 3rem;
}

.m-intro__body {
	font-weight: 300;
	font-size: 1.25rem;
	color: #789;
	max-width: 40rem;
}

.m-intro__product {
	display: block;
	width: 80%;
	max-width: 440px;
	margin: 2rem auto;
}

.m-order-form {
}

.m-order-form.is-hidden {
	display: none;
}

.m-order-form__body {
}

.m-order-form__headline {
	font-weight: 300;
	font-size: 1.75rem;
	color: #369;
	margin: 0 0 .5rem;
}

.m-order-form__block {
}

.m-order-form__block + .m-order-form__block {
	margin-top: 2rem;
}

.m-order-form__submit {
	text-align: center;
	margin-top: 2rem;
}

.m-order-result {}

.m-order-result.is-hidden {
	display: none;
}

.m-order-result__hint {}

.m-order-result__hint.is-hidden {
	display: none;
}

.m-parameter {
}

.m-parameter + .m-parameter {
	margin-top: 5rem;
}

.m-parameter__title {
	font-weight: 600;
	font-size: 1.5rem;
	color: #369;
	margin: 0;
}

.m-parameter__body {
	margin-top: .5rem;
	border-top: 1px solid #d0d6dc;
}

.m-parameter__description {
}

.m-price {
	display: flex;
}

.m-price__label {
	font-weight: 300;
}

.m-price__value {
	font-weight: 600;
}

.m-price__unit {
	font-weight: 600;
	font-size: .75em;
}

.m-parameter__fields {}

.m-section {
}

.m-section + .m-section {
	margin-top: 4rem;
}

.m-section__title {
	font-weight: 300;
	font-size: 2.5rem;
	color: #369;
	margin: 0 0 3rem;
}

.m-section__body {
}

.m-summary {
}

.m-summary__configuration {
}

.m-summary__price {
	font-size: 1.25rem;
	margin-bottom: 3rem;
}

.m-summary__price-per-unit {
	margin-bottom: .25rem;
	padding: 1rem 2rem;
	background-color: #e0e6ec;
}

.m-summary__price-row {
	display: flex;
	align-items: center;
	padding: .5rem 0;
}

.m-summary__price-row--total {
}

.m-summary__price-row--info {
	font-size: 1rem;
}

.m-summary__price-row + .m-summary__price-row {
/* 	border-top: 1px solid #d0d6dc; */
}

.m-summary__price-row + .m-summary__price-row--total {
	margin-top: .75rem;
	padding-top: 1rem;
	border-top: 1px solid #567;
	font-weight: 600;
}

.m-summary__price-row-label, .m-summary__price-row-value {
	width: 50%;
}

.m-summary__price-row-label {
}

.m-summary__price-row-label-hint {
	font-size: 1em;
	color: #999;
}

.m-summary__price-row-value {
	text-align: right;
}

.m-update {
	font-weight: 600;
	font-size: 2rem;
	display: flex;
	box-sizing: border-box;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 1.5rem 20px 2rem;
}

.m-update__label {
	width: 50%;
}

.m-update__value {
	text-align: right;
	width: 50%;
}

.m-update__value-unit {
	font-size: .5em;
}

.g-font-size-smaller {
	font-size: .75em;
}

.g-font-size-default {
	font-size: 1rem;
}

.g-font-weight-light {
	font-weight: 300;
}

.g-font-weight-bold {
	font-weight: 600;
}

.g-font-weight-regular {
	font-weight: 400;
}

.g-font-weight-medium {
	font-weight: 500;
}

.g-is-hidden {
	display: none;
}

@media (max-width: 600px) {
	.g-not-on-phone {
		display: none;
	}
}

@media (min-width: 600px) {
	.m-footer__baseline-link {
		display: inline-block;
		margin-right: 2rem;
	}
	
	.m-intro__title {
		font-size: 4rem;
	}
	
	.m-parameter__body {
		display: flex;
		justify-content: space-between;
	}

	.m-parameter__description {
		width: 40%;
	}

	.m-parameter__fields {
		width: 50%;
	}
	
	.m-price__label, .m-price__value {
		width: 50%;
	}
	
	.m-price__value {
		text-align: right;
	}
}

@media (min-width: 800px) {
	.m-intro {
		position: relative;
		padding-top: 2rem;
	}
	
	.m-intro__title, .m-intro__body {
		position: relative;
		z-index: 2;
	}
	
	.m-intro__product {
		position: absolute;
		right: 1rem;
		top: 0;
		z-index: 1;
		width: 440px;
	}
}