/**
 * Compact shopping cart
 */

.shoppingCartCompact {
    position: relative;
    padding: 0.82rem 0.6rem;
}

.header__main .shoppingCartCompact {
    padding: 0.66rem 0.6em;
}

@media screen and (min-width: 1024px) {
    .header__main .shoppingCartCompact {
        padding: 0.66rem 0.1em;
    }
}

@media screen and (min-width: 1280px) {
    .shoppingCartCompact {
        position: relative;
        padding: 0.86rem 0.8rem;
    }

    .header__main .shoppingCartCompact {
        padding: .72rem 0.6em;
    }
}

.header__top .shoppingCartCompact {
    background: #e2ecf3;
}

.header .shoppingCartCompact:hover {
    background-color: #d6e2ec;
}

.shoppingCartCompact__title {
    position: absolute;
    left: -999em;
}

.header__main .shoppingCartCompact__price {
    position: absolute;
    left: -999em;
}

@media screen and (max-width: 1023px) {
    .header__top .shoppingCartCompact__price {
        position: absolute;
        left: -999em;
    }
}

.shoppingCartCompact__icon {
    position: relative;
    font-size: 1.5rem;
    color: inherit;
}

.shoppingCartCompact__icon:before {
    margin-right: .4rem;
}

.shoppingCartCompact__numberOfArticles {
    position: absolute;
    top: -3px;
    right: 0;
    width: 1.6em;
    height: 1.6em;
    border-radius: 50%;
    font-size: 0.4em;
    line-height: 1.6em;
    text-align: center;
    color: #fff;
    background: #e53539;
}

.shoppingCartCompact__link {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: left;
    text-indent: -999em;
}

.header .shoppingCartCompact__link:hover {
    background: none;
}

.header--fixed .shoppingCartCompact__icon {
    font-size: 1.2rem;
}

@media (min-width: 1024px) {
    .header--fixed .shoppingCartCompact__icon {
        font-size: 1.5rem;
    }
}

/**
 * Form column container
 */

.form-column-container .form-column {
    display: block;
    margin-bottom: 1em;
    padding: 1em;
    background-color: #e2ecf3;
}

@media (min-width: 768px) {
    .form-column-container .form-column {
        display: table-cell;
    }

    .form-column-container .form-column.first {
        border-right: 1em solid #fff;
    }

    .form-column-container .form-column.last {
        border-left: 1em solid #fff;
    }
}

#cc_login .proFormText,
#cc_login input[type='text'] {
    width: 100%;
}



/**
 * input fields
 */

#shopping-cart-buttons_next {
    float: right;
    margin-right: 0;
}

#shopping-cart-buttons_previous {
    border: 0;
    box-shadow: none;
}

#shopping-cart-buttons_previous span.inner-button {
    padding-left: 15px;
    padding-right: 0;
    background-position: 0 -1012px;
}

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

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

.shopping-cart-meta-actions {
    position: relative;
    display: block;
    margin: 0 0 12px;
    list-style: none;
    border-radius: 6px;
    background-color: #fff;
}

.shopping-cart-meta-actions li {
    display: inline-block;
    border-right: 2px solid #e0d8d6;
}

.shopping-cart-meta-actions li:last-child {
    position: absolute;
    top: 0;
    right: 0;
    border-right-width: 0;
}

.shopping-cart-meta-actions a {
    font-size: .85em;
    font-weight: 600;
}

.shopping-cart-meta-actions a {
    display: block;
    padding: 10px;
}

.quotation-sales a {
    padding: 16px 10px !important;
    background-color: transparent !important;
}

.shopping-cart-meta-actions a:before,
.quotation-sales a:before {
    margin-right: .5em;
    font-weight: normal;
    font-family: "akb";
}

.shopping-cart-meta-actions a[href*="pdfcatalogus/pdf"]:before {
    content: "\e815";
}

.shopping-cart-meta-actions a[onclick*="pdfcatalogus/mail"]:before {
    content: "\e800";
}

.shopping-cart-meta-actions a[href*="/bestellen"]:before {
    content: "\e811";
}

.quotation-sales a:before {
    content: "\e816";
}

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

#s-page-products {
    margin: 0;
    padding: 1em 0;
    border: 0;
}

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

/**
 * Shopping cart table
 */

/* Hide stuff that we're not gonna use to simplify the overview */
table.shoppingcart thead,
table.shoppingcart caption,
table.shoppingcart .total-price-category {
    display: none;
}

table.shoppingcart {
    table-layout: fixed;
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

table.shoppingcart.first thead {
    display: table-header-group;
}

table.shoppingcart td,
table.shoppingcart th {
    padding: 15px 10px;
    text-align: left;
    border-bottom: 1px solid #f2f2f2;
    vertical-align: middle;
}

table.shoppingcart th {
    font-weight: 600;
    background-color: #f8fafb;
}

table.shoppingcart .totals td {
    border-bottom: 0;
}

/**
 * Columns
 */

.product-description-title {
    display: block;
    font-weight: bold;
    color: #2a336a;
}

table.shoppingcart .link-to-product:hover .product-description-title {
    text-decoration: underline;
}

.product-description-delivery,
.product-description-deliveryMethod {
    display: block;
    font-size: 0.8em;
    color: #757575;
}

.product-description-deliveryMethod {
    font-weight: bold;
}

input.product-quantity {
    box-sizing: border-box;
    width: 2.5em;
    padding: 4px 2px;
    line-height: 19px;
    font-size: .95em;
    font-weight: 700;
    text-align: center;
}

table.shoppingcart .product-image {
    display: block;
    width: 80px;
}

table.shoppingcart .image {
    width: 100px;
}

table.shoppingcart .link-to-product {
    display: block;
    text-decoration: none;
}

table.shoppingcart .image-description,
table.shoppingcart .product-description {
    width: auto;
}

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

table.shoppingcart .price-per-piece,
table.shoppingcart .price-product-total {
    width: 125px;
}

table.shoppingcart .buttons {
    width: 50px;
    text-align: right;
}

/* Buttons */
.webshop-shopping-cart a.button-delete {
    position: relative;
    width: 35px;
    margin: 0;
    padding: 0.4em 0.6em;
    border: none;
    color: #e5353a;
    text-align: left;
    text-indent: -999em;
    background-color: transparent;
    box-shadow: none;
}

.webshop-shopping-cart a.button-delete::after {
    content: '\d7';
    position: absolute;
    left: 10px;
    font-size: 1.8em;
    line-height: 0.75;
    text-indent: 0;
}

/* Total price */
table.shoppingcart .totals .price {
    color: #09a90c;
    font-weight: 700;
}

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

table.shoppingcart .webshop-coupon-question a {
    font-size: 14px;
    font-weight: normal;
    line-height: 2.5;
}

/**
 * Gift-coupon
 */

tr.totals.total-price-vat td:first-child {
    padding-top: 2px;
    padding-bottom: 2px;
    background-color: #fff;
    margin: 0;
    border-color: #fff !important;
    border-bottom: 0;
    border-collapse: collapse;
}

#gift-coupon {
    padding-bottom: 0;
    margin-bottom: 0;
    overflow: visible;
}

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

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

#gift-coupon .w-medium {
    width: 10em;
    padding-top: 7px;
    padding-bottom: 7px;
}

#gift-coupon button {
    margin-top: 0;
    margin-bottom: 0;
    border: 1px solid #166ba7;
    line-height: 19px;
    vertical-align: top;
    color: #fff;
    background-color: #1f7cbd;
    box-shadow: 0 4px 0 0 #1c6ca5;
}

#clear-shopping-cart {
    padding-left: 0;
    border: 0;
    text-decoration: underline;
    color: initial;
    background-color: transparent;
    box-shadow: none;
}

@media screen and (max-width: 760px) {
    /**
	 * Shopping cart
	 */

    table.shoppingcart.first thead {
        display: none;
    }

    table.shoppingcart,
    table.shoppingcart tbody,
    table.shoppingcart tfoot {
        display: block;
    }

    table.shoppingcart td {
        display: block;
        width: auto !important;
        padding: 5px 0;
        border-bottom: 0;
    }

    table.shoppingcart tr {
        position: relative;
        display: block;
        padding: 20px 0;
        border-top: 1px solid #f2f2f2;
    }

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

    table.shoppingcart .product-image {
        width: 160px;
    }

    table.shoppingcart .buttons {
        position: absolute;
        top: 15px;
        right: 0;
        padding: 0;
    }

    table.shoppingcart .total-price td:nth-child(2),
    table.shoppingcart .total-price td:nth-child(3){
        display: inline-block;
    }

    table.shoppingcart .total-price td:nth-child(2) {
        width: 7.3em !important;
    }

    #clear-shopping-cart {
        margin: 0.5em 0;
    }
}


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

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

form.has-pages fieldset {
    margin-bottom: 2em;
    padding: 1em 2em;
    border: 1px solid #ccc;
}

/* form with pages: breadcrumbs */
form.has-pages ul.form-bc {
    height: auto;
    margin: 0 0 10px;
    border: 2px solid #fff;
    border-radius: 3px;
    background-color: #fff;
}

form.has-pages ul.form-bc li {
    padding-right: 20px;
    background: #fff url(../img/bg-webshop-sprite.png) no-repeat 100% -500px;
}

form.has-pages ul.form-bc li.last {
    padding-right: 5px;
    border-right: 2px solid #fff;
    background-image: none;
}

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

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

form.has-pages ul.form-bc li span,
form.has-pages ul.form-bc li.last span {
    padding: 10px 30px 10px 10px;
    height: 32px;
    line-height: 32px;
    color: #2d4668;
    background: transparent url(../img/bg-webshop-sprite.png) no-repeat 100% -340px;
}

/* 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 {
    color: #2d4668;
    background: transparent url(../img/bg-webshop-sprite.png) no-repeat 100% -380px;
}

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

/* clear shopping-cart button */
div.clear-shopping-cart {
    float: left;
    clear: none;
    width: auto;
}

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

a.webshop-back-to-shop {
    display: block;
    position: absolute;
    top: 15px;
    right: 0;
}

form.has-pages div.submit {
    clear: none;
}

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

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

#shopping-cart div.fieldinput {
    display: block;
    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: #29336b;
}

#s-page-confirm-products {
    border: 0;
    padding: 0;
}

#s-page-confirm-products,
#s-page-confirm-your-details,
#s-page-confirm-address {
    font-weight: 600;
    color: #29336b;
}

#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 {
    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: bold;
    color: #29336b;
}

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

/**
 * Shop selector
 */

#orderDealer-inner {
    padding: 0;
}

#orderDealer-inner .active {
    margin: 5px 0 20px;
    padding: 12px 15px;
    font-size: 0.9em;
    background-color: #e2ecf3;
}

/*
	Order history
	--------------------------------------------------
*/
div.webshop-order-history table.itemlist {
    width: 100%;
}

div.webshop-order-history table.webshop-order-lines th {
    white-space: nowrap;
}

div.webshop-order-history table.itemlist td.webshop-order-line-quantity,
div.webshop-order-history table.itemlist td.webshop-order-product-quantity {
    text-align: center;
}

div.webshop-order-history table.itemlist td.webshop-order-line-price,
div.webshop-order-history table.itemlist td.webshop-order-total-price {
    text-align: right;
    white-space: nowrap;
}

div.webshop-order-history table.itemlist td.webshop-order-total-price {
    padding-right: 10px;
}


/* 'Herbereken' button in soppingcart form */
.has-js #vipPriceForm {
    position: relative;
    top: -53px;
    float: left;
}

.has-js #vipPriceForm div.fieldinput {
    margin-left: 0;
}

/**
 * .webshop compact shopping cart
 */

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

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

.shopping-cart-compact-text {
    display: none;
}

.mw-scs-number-of-articles {
    display: inline-block;
    min-width: 24px;
    height: 24px;
    margin-left: 2px;
    border-radius: 50%;
    font: normal 16px/24px monospace;
    text-align: center;
    color: #444;
    background-color: #ffdc48;
}

.shopping-cart-compact .total-price {
    color: #09a90c;
    font-weight: bold;
}

@media (min-width: 1000px) {
    .site-quicklinks .mw-scs-number-of-articles {
        position: absolute;
        top: -5px;
        right: -10px;
    }

    .site-quicklinks .shopping-cart-compact a {
        display: block;
    }
}

/** IE versions that don't support media queries */
.ie7 .mw-scs-number-of-articles,
.ie8 .mw-scs-number-of-articles {
    position: absolute;
    top: -5px;
    right: -5px;
}

.ie7 .shopping-cart-compact a,
.ie8 .shopping-cart-compact a {
    padding-left: 30px;
    background-position: 13px 0;
}

/**
 * paymentMethod
 */

#paymentMethod {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-flow: wrap;
}

#paymentMethod li {
    position: relative;
    display: inline-block;
    width: 100% !important;
    margin-right: 20px;
    margin-bottom: 20px;
    border: 2px solid #dcdcdc;
    border-radius: 3px;
    vertical-align: top;
    background-color: #fff;
}

@media screen and (min-width: 480px) and (max-width: 839px) {
    #paymentMethod li {
        width: calc(50% - 20px) !important;
    }

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

@media screen and (min-width: 840px) {
    #paymentMethod li {
        width: calc(25% - 15px) !important;
        margin-right: 20px;
    }

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

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

#paymentMethod li label {
    display: block;
    margin: 0;
    padding: 20px 20px 20px 45px;
    font-size: 15px;
    font-weight: bold;
    line-height: 1;
    color: #2a336b;
    background-color: #f8fafb;
    cursor: pointer;
}

.payment-description {
    display: block;
    padding: 15px 20px;
    line-height: 1.6em;
    text-align: center;
    background-color: #fff;
}

.payment-description p {
    margin-bottom: 0;
    font-size: 0.7em;
    line-height: 1.3;
    color: #888;
}

.payment-description p + p {
    margin-top: 0.5em;
}

@media screen and (max-width: 600px) {
    .payment-description img {
        width: 60px;
    }
}

/**
 * order-history
 */

.order-history caption a {
    display: block;
    padding-left: 35px;
    font-size: 14px;
    font-weight: 300;
    text-decoration: none;
    color: #2a346c;
    background: transparent url(../img/bg-webshop-sprite.png) no-repeat 0 -717px;
}

.order-history.active caption a {
    background-position: 0 -767px;
}

.reference-id {
    font-weight: 400;
}

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

table.order-history tfoot {
    display: table-footer-group;
}

.order-history .shipping-address td {
    padding: 20px 30px;
}

.order-history .shipping-address h3 {
    margin: 0 0 10px;
}

.order-history .order-date {
    padding-left: 30px;
}

.order-history {
    font-weight: 300;
}

.order-history .order-number,
.order-history .order-date span {
    font-weight: 600;
}

table.order-history td {
    vertical-align: middle;
}

table.order-history td.price {
    font-weight: bold;
    color: #09a90c;
}

/**
 * visibility
 */

table.order-history thead,
table.order-history tbody,
table.order-history tfoot {
    display: none;
}

table.order-history.active thead {
    display: table-header-group;
}

table.order-history.active tbody {
    display: table-row-group;
}

table.order-history.active tfoot {
    display: table-footer-group;
}

@media screen and (max-width: 568px) {
    /**
	 * shopping cart meta actions
	 */

    .shopping-cart-meta-actions {
        display: block;
        margin-bottom: 20px;
    }

    .shopping-cart-meta-actions li {
        display: block;
        float: none;
        border-right-width: 0;
    }

    .shopping-cart-meta-actions li:last-child {
        position: static;
        top: 0;
    }

    li.quotation-sales a {
        display: block;
    }

    /**
	 * 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;
        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;
        font-size: 13px;
        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;
    }

    /**
	 * form elements
	 */

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

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

    a.webshop-back-to-shop {
        position: relative;
        margin-bottom: 2em;
    }

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

/*
 * Notice in shopping cart when WR (reserveren) & WB (bestellen) products are combined
*/

.deliverableProductNotice {
    font-weight: bold;
    color: #ff0000;
}

.deliverableProductNotice p {
    margin: 0;
}

@media screen and (min-width: 768px) {
    .deliverableProductNotice {
        padding: 10px;
    }
}
