/**
 * Defaults
 */

/**
 * .shopping-cart-compact
 */

.shopping-cart-compact {
	position: relative;
	cursor: pointer;
}

.shopping-cart-compact a:before {
    margin: auto auto 6px;
    font-size: 28px;
}

.shopping-cart-compact a {
	text-align: center;
	text-decoration: none;
}

.shopping-cart-compact h3 {
	position: absolute;
	top: -999em;
	left: -999em;
}

.mw-scs-number-of-articles {
	display: block;
	position: absolute;
	bottom: 2.7em;
	left: 8px;
	height: 1.4em;
	right: 0;
	width: 1.4em;
	border-radius: 1em;
	text-align: center;
	vertical-align: middle;
	line-height: 1.4em;
	font-size: 13px;
	color: #fff;
	background-color: #46baec;
	transition: transform .2s ease-out;
	margin: 0 auto auto;
}

.--isGuest .mw-scs-number-of-articles {
    display: none;
}

.icon-bag-wide .mw-scs-number-of-articles {
	width: 30px;
}

.shopping-cart-compact .total-price {
	display: block;
}

@media screen and (max-width: 890px) {
	.mw-scs-number-of-articles {
		bottom: 12px;
	}

	.shopping-cart-compact .total-price {
		text-indent: -999em;
		position: absolute;
	}
}

.shopping-cart-compact:hover .total-price {
	left: -80px;
	opacity: 1;
}

/**
 * CSS related to products popup
 */

.shopping-cart-compact .c-productsPopup {
    margin-top: -999em;
    opacity: 0;
    transition: opacity 0.3s ease 1s, margin-top 0s 1.3s;
}

.shopping-cart-compact--peekInto .c-productsPopup {
    opacity: 1;
    margin-top: 0;
    transition: opacity 0.3s ease, margin-top 0s;
}

a img {
	border: 0;
}

.price .regular {
	text-decoration: line-through;
    opacity: 0.4;
}

/**
 * input fields
 */

.webshopShoppingCart .proFormText,
.webshopShoppingCart select,
.webshopShoppingCart textarea,
.webshopShoppingCart input,
.webshopShoppingCart .product-quantity {
	padding: 10px 7px;
	line-height: 1em;
}

/* Buttons */

a.button-delete {
	position: relative;
	display: block;
	height: 26px;
	width: 22px;
    margin-right: 0.5em;
	float: left;
	text-indent: -999em;
}

a.button-delete:before {
	position: absolute;
	right: 0;
	top: 0;
	color: #888;
	text-indent: 0;
	text-decoration: none;
}

.webshop-shopping-cart button,
#content #recalculatePrice {
	padding: .3em 1em;
	border: 1px solid #ddd;
	font-size: 18px;
	color: #888;
	background-color: #f9f9f9;
	transition: background-color .2s ease-out;
}

#shopping-cart-buttons_previous {
	background-color: #fff;
}

#shopping-cart-buttons_next {
	margin-right: 0;
	color: #fff;
	background: #eb539e;
}

.webshop-shopping-cart button:hover {
	opacity: .8;
}

#shopping-cart-buttons_next:hover .inner-button {
	color: #fff;
}

/*
	The shopping cart
	--------------------------------------------------
*/

.webshopShoppingCart,
.webshop-shopping-cart {
	position: relative;
}

#s-page-products legend {
	padding-top: 10px;
	font-family: "Open Sans", sans-serif;
	font-size: 18px;
	font-weight: bold;
	color: #61ade2;
}

table.shoppingcart {
	width: 100%;
	background-color: #fff;
}

.shoppingcart:not(.first) thead {
    display: none;
}

table.shoppingcart td,
table.shoppingcart th {
	padding: 20px 10px;
	vertical-align: middle;
	font-weight: 300;
}

table.shoppingcart small {
    display: inline-block;
    line-height: 1.2;
}

table.shoppingcart thead th {
	background-color: #f9f9f9;
}

/* Caption */

table.shoppingcart caption {
	margin: 0;
	padding: 10px 15px;
	text-align: left;
	color: #fff;
	font-size: 15px;
	font-weight: 300;
	background-color: #61ade2;
}

.shoppingcart .sub-total-price {
	float: right;
	font-size: 12px;
}

.sub-total-price .price {
	display: inline-block;
	font-weight: 200;
	font-size: 1.3em;
	color: #fff;
}

form .product-price {
	display: inline-block;
	width: auto;
	font-size: 15px;
	font-weight: 200;
	color: #fff;
}

/* Table headers */

table.shoppingcart th {
	font-size: 11px;
	font-weight: 600;
}

table.shoppingcart th.description {
	width: 270px;
}

table.shoppingcart th.buttons {
	width: 40px;
	font-size: 1px; /* Prevent unnecessary space of indented text */
	text-indent: -999em;
	color: #f9f9f9;
}

/* Rows */

table.shoppingcart tr {
	border-bottom: 1px solid #dcdcdc;
}

table.shoppingcart tr.first td,
table.shoppingcart tr.totals td {
	border-top: 0;
}

/* shopping cart product image */

table.shoppingcart .sc-product-image {
	padding: 0;
}

.shoppingcart .sc-product-image img {
	max-width: 60px;
}

/* Product description */

td.product-description span {
	display: block;
	color: #444;
}

/* Product amount */

.webshopShoppingCart input.product-quantity,
input.product-quantity {
	width: 60px;
	padding: 0 4px;
	font-weight: 300;
	text-align: center;
	color: #61ade2;
}

.ie8 .webshopShoppingCart input.product-quantity,
.ie8 input.product-quantity,
.ie9 .webshopShoppingCart input.product-quantity,
.ie9 input.product-quantity {
	padding-top: 0;
	padding-bottom: 0;
}

table.shoppingcart .number-of-products,
table.shoppingcart .sc-times,
table.shoppingcart .sc-is {
	padding-left: 0;
	padding-right: 0;
	text-align: center;
}

.ie8 .webshopShoppingCart .number-of-products input,
.ie9 .webshopShoppingCart .number-of-products input {
	padding-top: 4px;
	padding-bottom: 4px;
}

/** hide category subtotal */

tfoot .total-price-category {
	display: none;
}

/* Total price */

tr.totals td.price {
	color: #61ade2;
	font-weight: 600;
}

table.shoppingcart tr.total-price td,
table.shoppingcart tr.total-price th {
	padding-top: 20px;
	font-size: 12px;
	border-top: 1px solid #D5D5CB;
}

table.shoppingcart tr.total-price td {
	font-size: 18px;
	font-weight: 700;
}

/**
 * Total price summary
 */

.total-price-category th,
.total-price-category td {
	font-size: 16px;
}

table.shoppingcart tfoot tr:nth-child(2n + 1) td {
	background-color: #f9f9f9;
}

.shoppingcart.last tfoot tr {
    border: none;
}

/**
 * General terms and conditions
 */

#s-general-tob {
    position: relative;
    margin-bottom: 1.5em;
    padding: 3.5rem 1rem 1rem;
    background-color: #f0f5fa;
}

#s-general-tob legend {
    position: absolute;
    top: 1rem;
    padding-bottom: 0;
}

/**
 * FAKE Update shoppingcart button (added by JavaScript)
 */

.updateShoppingcartButton {
    padding: .5em 1em;
    border-radius: 3px;
    font-size: .7em;
    font-weight: 300;
    cursor: pointer;
    color: #005f84;
    background-color: #f0f5fa;
}

.updateShoppingcartButton:hover {
    color: #0092c1;
}

/**
 * gift-coupon
 */

tr.totals.total-price-vat td:first-child {
	padding-top: 2px;
	padding-bottom: 2px;
	margin: 0;
}

#gift-coupon {
	overflow: visible;
}

#gift-coupon label {
	width: 8em;
    padding: 0;
}

#gift-coupon div.fieldinput.formpanel {
	display: flex;
	align-items: center;
}

#shopping-cart #gift-coupon div.fieldinput {
	clear: none;
}

#gift-coupon {
    display: flex;
    align-items: center;
    margin: 0;
}

#gift-coupon .w-medium {
	width: 10em;
	padding: .2em 1em;
}

#gift-coupon button {
    font-size: 14px;
	color: #fff;
    border: 1px solid #015e84;
	background-color: #015e84;
}

#gift-coupon button:hover {
    color: #015e84;
    border: 1px solid #015e84;
	background-color: transparent;
}

.webshopCouponWrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2em;
    padding: 1em;
    background-color: #f0f5fa;
}

.webshopCouponWrapper div.submit {
    margin: 0;
}

.webshop-coupon-question {
    display: none;
}

.webshopCouponWrapper .webshop-coupon-question {
    display: block;
}

.webshopCouponWrapper .webshop-coupon-question a:hover {
    text-decoration: none;
    background-color: transparent;
}

/*
	Form has pages
	--------------------------------------------------
*/

/* form with pages */

form.has-pages {
	height: 100%;
	border-width: 0;
	overflow: hidden;
}

form.has-pages fieldset {
	margin: 0;
	padding: 5px 0;
	border-width: 0;
}

/* form with pages: breadcrumbs */

form.has-pages ul.form-bc {
	height: auto;
	margin: 0 0 10px;
	border: 1px solid #dcdcdc;
	border-radius: 3px;
	background-color: #fff;
}

form.has-pages ul.form-bc li {
	border-right: 1px solid #ddd;
	background-color: #fff;
	background-image: none;
}

form.has-pages ul.form-bc li.last {
	border-right: 1px solid #dcdcdc;
}

form.has-pages ul.form-bc li.current-page {
	background-position: 100% -440px;
	background-color: #f9f9f9;
}

form.has-pages ul.form-bc li.current-page span:after {
	color: #888;
}

form.has-pages ul.form-bc li.processed-page span:after {
	color: #61ade2;
}

form.has-pages ul.form-bc li.processed-page {
	background-position: 100% -560px;
	background-color: #f9f9f9;
}

form.has-pages ul.form-bc li span,
form.has-pages ul.form-bc li.last span {
	padding: 10px 30px 10px 10px;
}

/* form with pages: processed page */

form.has-pages ul.form-bc li.processed-page span,
form.has-pages ul.form-bc li.current-page span {
	font-weight: 400;
}

form.has-pages ul.form-bc li span:after {
	color: #bbbbbb;
}

form.has-pages ul.form-bc li.processed-page span:after {
	color: #61ade2;
}

/* clear shopping-cart button */

div.clear-shopping-cart {
    display: none;
}

div.clear-shopping-cart div.fieldinput {
	margin: 0 0 0 10px;
}

a.webshop-back-to-shop {
	display: block;
	position: absolute;
	top: 7px;
	right: 20px;
	padding-left: 9px;
	font-size: 14px;
	font-weight: bold;
	color: #61ade2;
}

form.has-pages div.submit {
	margin: 0 10px 10px;
	clear: none;
}

#s-page-details-address:after {
	content: "";
	border-top: 2px solid #dcdcdc;
	position: absolute;
	bottom: 70px;
	left: 0;
	right: 0;
}

button#clear-shopping-cart {
	padding: 0;
	border-width: 0;
	line-height: 1em;
	font-size: 12px;
	font-weight: bold;
	color: #888;
	background: transparent;
}

button#clear-shopping-cart {
	text-decoration: underline;
}

#shopping-cart #s-page-details,
#shopping-cart #s-extra-fields,
#shopping-cart #s-page-details-address {
	display: inline-block;
	margin-top: 25px;
	width: 48%;
	vertical-align: top;
}

#shopping-cart div.fieldinput,
#shopping-cart div.subtitle {
	display: block;
	clear: both;
	margin-left: 0;
}

#shopping-cart div.fieldinput div.fieldinput {
	display: inline-block;
	clear: none;
}

#s-page-details-address label.field {
	display: block;
}

#s-page-details-address div.field > label {
	margin-bottom: 14px;
	font-size: 15px;
	font-weight: bold;
	color: #61ade2;
}

#s-page-confirm-products label,
#s-page-confirm-your-details label,
#s-page-confirm-address  label {
	font-weight: 300;
}

#shopping-cart #s-page-details .w-medium,
#shopping-cart #s-extra-fields .w-medium {
	width: 80%;
}

#shopping-cart #s-page-details legend,
#shopping-cart #s-page-details-address legend,
#shopping-cart legend {
	margin-bottom: 0;
	font-size: 18px;
	font-weight: 400;
	color: #61ade2;
}

#shopping-cart legend {
	padding-bottom: 16px;
}

#shopping-cart #s-page-details legend {
	margin-bottom: 20px;
}

#shopping-cart #s-page-details legend {
	padding-bottom: 20px;
}

#s-page-details-address legend {
	padding-bottom: 0;
}

/**
 * paymentMethod
 */

#paymentMethod li {
	position: relative;
	display: inline-block;
	width: 30%;
	margin-right: 20px;
	border-radius: 3px;
	border: 2px solid #dcdcdc;
	background-color: #f9f9f9;
}

#paymentMethod li:nth-child(3n + 3) {
	margin-right: 0;
}

#paymentMethod li input {
	margin: 20px 10px 20px 20px;
}

#paymentMethod li label {
	display: block;
	padding: 20px 20px 20px 0;
	font-size: 15px;
	font-weight: bold;
	color: #61ade2;
	cursor: pointer;
}

.payment-description {
	display: block;
	padding: 20px;
	min-height: 290px;
	line-height: 1.6em;
	background-color: #fff;
}

.payment-description .method-ideal,
.payment-description .method-paypal {
	position: absolute;
	top: 20px;
	right: 15px;
}

.payment-description .method-ideal {
	top: 12px;
}

@media screen and (max-width: 860px) {
	/**
	 * shopping cart steps
	 */
	form.has-pages ul.form-bc li.processed-page,
	form.has-pages ul.form-bc li.current-page {
		background: transparent none;
	}

	form.has-pages ul.form-bc li {
		display: list-item;
		float: none;
		margin-left: 30px;
		padding-right: 0;
        border: 0;
		list-style-type: decimal;
		background: transparent none;
	}

	form.has-pages ul.form-bc li.last {
		border-right-width: 0;
	}

	form.has-pages ul.form-bc li span,
	form.has-pages ul.form-bc li.last span {
		display: inline-block;
		min-width: 90px;
		float: none;
		height: auto;
		padding: 7px 28px 7px 0;
		line-height: 1.1em;
	}

	form.has-pages ul.form-bc li span,
	form.has-pages ul.form-bc li.last span {
		background-position: 100% -351px;
	}


	form.has-pages ul.form-bc li.current-page span {
		background-position: 100% -391px;
	}

	form.has-pages ul.form-bc li.processed-page span {
		background-position: 100% -801px;
	}

	/**
	 * shopping cart
	 */
	table.shoppingcart th,
	.order-history .order-date {
		display: none;
	}

	.order-history .reference {
		margin-left: 10px;
	}

	table.shoppingcart tbody {
		border-bottom-width: 0;
	}

	table.shoppingcart tbody tr {
		position: relative;
		display: block;
		margin-bottom: 1em;
		padding-bottom: .5em;
        border-bottom: 1px solid #dcdcdc;
    }

	table.shoppingcart tbody tr:last-child {
		margin-bottom: 0;
		border-bottom-width: 0;
	}

	table.shoppingcart .sc-product-image,
	table.shoppingcart .sc-attr-nr,
	table.shoppingcart td.product-description,
	table.shoppingcart td.number-of-products,
	table.shoppingcart td.price-per-piece,
	table.shoppingcart td.price,
	table.shoppingcart td.sc-buttons,
	.shipping-address td {
		display: block;
	}

	.shoppingcart tbody tr:nth-child(2n) {
		background-color: transparent;
	}

	table.shoppingcart {
		background-color: #fff;
	}

	table.shoppingcart .sc-product-image,
	table.shoppingcart td.product-description,
	table.shoppingcart td.price-per-piece {
		background-color: #f9f9f9;
	}

	table.shoppingcart td.sc-buttons {
		padding: 0;
	}

	table.shoppingcart td.sc-buttons a.button {
		position: absolute;
		top: 10px;
		right: 10px;
		width: 30px;
		height: 30px;
		border-radius: 3px;
		background-color: #ffffff;
	}

	table.shoppingcart td.number-of-products,
	table.shoppingcart td.sc-times,
	table.shoppingcart td.packaging-unit,
	table.shoppingcart td.sc-is,
	table.shoppingcart td.sc-number-of-products {
		display: inline-block;
		text-align: left;
	}

	table.shoppingcart td.number-of-products {
		padding-left: 10px;
		padding-right: 10px;
	}

	table.shoppingcart .sc-attr-nr:before,
	table.shoppingcart td.number-of-products:before,
	table.shoppingcart td.price-per-piece:before,
	table.shoppingcart td.price:before {
		display: inline-block;
		content: attr(data-th)": ";
		font-weight: bold;
		width: 8.5em;
	}

	table.shoppingcart.last tfoot,
	table.shoppingcart.last tfoot tr {
		display: block;
		width: 100%;
	}

	table.shoppingcart.last tfoot td {
		display: block;
		float: left;
		width: 50%;
		box-sizing: border-box;
	}

	table.shoppingcart.last tfoot td:first-child {
		display: none;
	}

	table.shoppingcart.last tfoot td.price:before {
		display: none;
	}

	#gift-coupon {
		max-height: none;
	}

	/**
	 * form elements
	 */

	.webshopShoppingCart div.submit button,
	.webshopShoppingCart button,
	#content #recalculatePrice {
		line-height: 20px;
		margin-bottom: 0;
		padding: 10px 25px;
	}

	form.has-pages div.field {
		margin-left: 0;
	}

	#shopping-cart #s-page-details,
	#shopping-cart #s-extra-fields,
	#shopping-cart #s-page-details-address {
		width: 100%;
	}

	div.address-row input.address-street,
	div.address-row input.address-town {
		width: 8em;
	}

	div.address-row input.address-number {
		width: 3em;
	}

	#s-page-details-address .address-row label {
		float: none;
	}

	#s-page-details-address input.address-field {
		width: 80%;
	}

}

#cc_login {
    margin-bottom: 3em;
}

#cc_login input {
    width: 90%;
}

#login_button_panel {
    margin-top: .5em;
    text-align: left;
}

#lc_login,
#rc_nologin {
    display: block;
}

form.has-pages #cc_login fieldset div.field {
    margin-top: .5em;
}

@media (min-width: 860px) {
    #lc_login,
    #rc_nologin {
        display: inline-block;
        width: 47%;
    }

    #lc_login {
        margin-right: 5%;
    }

    .shoppingcart caption {
        display: none;
    }

    /** set fixed widths on all table columns to align them across multiple tables */
    table.shoppingcart .sc-product-image {
        width: 50px;
    }

    table.shoppingcart .sc-attr-nr {
        width: 100px;
    }

    table.shoppingcart td.product-description {
        width: 270px;
    }

    table.shoppingcart td.number-of-products {
        width: 45px;
    }

    table.shoppingcart td.sc-times {
        width: 20px;
    }

    table.shoppingcart td.packaging-unit {
        width: 100px;
    }

    table.shoppingcart td.price-per-piece {
        width: 100px;
    }

    table.shoppingcart td.price {
        width: 100px;
    }

    table.shoppingcart td.sc-buttons {
        width: 40px;
    }
}

@media (max-width: 860px) {
    #rc_nologin {
        margin-top: 1.5em;
        padding-top: 1.5em;
        border-top: 1px solid #dcdcdc;
    }
}
