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

.webshop-shopping-cart form,
.webshop-product-search form {
    max-width: none;
}

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

/**
 * Shopping cart table
 */

#s-page-products legend {
    padding-top: 1em;
    font-weight: bold;
    font-size: 1em;
    color: #000;
}

/* 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: 10px 10px;
    text-align: left;
    border-bottom: 1px solid #f2f2f2;
    vertical-align: middle;
}

table.shoppingcart th {
    font-size: 0.85em;
    color: #000;
}

table.shoppingcart th.buttons {
    font-size: 1px;
    color: #f1f1f1;
}

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

table.shoppingcart a {
    display: block;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/**
 * Columns
 */

input.product-quantity {
    box-sizing: border-box;
    width: 4em;
    height: 39px;
    margin-right: 0.2em;
    padding: 4px 2px;
    line-height: 19px;
    font-size: .95em;
    text-align: center;
}

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

table.shoppingcart .regular {
    display: inline-block;
    opacity: .6;
    text-decoration: line-through;
}

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

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

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

table.shoppingcart .sc-ve,
table.shoppingcart .number-of-products {
    width: 70px;
}

table.shoppingcart .sc-price-per-piece {
    width: 125px;
}

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

/* Buttons */
.webshop-shopping-cart a.button-delete {
    position: relative;
    display: inline-block;
    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 {
    position: absolute;
    left: 10px;
    content: '\d7';
    font-size: 1.4em;
    line-height: 0.75;
    text-indent: 0;
}

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

/* Total price */
table.shoppingcart .totals .price {
    color: #000;
}

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

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

/**
 * Gift-coupon
 */

.total-price-vat {
    font-size: 13px;
}

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

#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: 14em;
    height: 36px;
    padding-top: 7px;
    padding-bottom: 7px;
}

#gift-coupon button {
    margin: 0 0 0 0.5em;
    border: 1px solid #a6361f;
    color: #000;
    background-color: transparent;
}

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

#clear-shopping-cart {
    text-transform: none;
}

div.clear-shopping-cart,
div.FormElementPageButtons {
    float: left;
    display: inline-block;
    width: auto;
    clear: none;
}

div.FormElementPageButtons {
    float: right;
}

.webshop-back-to-shop {
    position: absolute;
    top: 196px;
    right: 0;
    font-size: 0.9em;
}

@media (max-width: 650px) {
    table.shoppingcart.first thead {
        display: none;
    }

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

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

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

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

    table.shoppingcart .totals .totalprice,
    table.shoppingcart .sc-priceTotals {
        display: inline-block;
    }

    table.shoppingcart .totals .totalprice {
        width: 12em !important;
    }

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

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

.form-column-container .form-column {
    display: block;
    margin-bottom: 1em;
}

/* form breadcrumbs */
form.has-pages ul.form-bc {
    display: block;
    margin: 0 0 1em 0;
    padding: 0 1em;
    list-style: none;
    overflow: hidden;
    background: #f2f2f2;
}

form.has-pages ul.form-bc li {
    display: list-item;
    font-size: 0.9em;
    color: #000;
    line-height: 1;
    list-style-type: decimal;
    list-style-position: inside;
}

form.has-pages ul.form-bc li.current-page {
    font-weight: bold;
    color: #a6361f;
}

form.has-pages ul.form-bc li span {
    display: inline-block;
    padding: 10px 15px 9px 5px;
}

@media (min-width: 768px) {
    .webshop-back-to-shop {
        top: 65px;
    }

    .form-column-container .form-column {
        display: inline-block;
    }

    .form-column-container .form-column.first {
        width: 50%;
        margin-right: 2em;
    }

    .form-column-container .form-column.last {
        width: calc(50% - 2em);
    }

    form.has-pages ul.form-bc li {
        float: left;
        margin-right: 1em;
    }

    form.has-pages ul.form-bc li:last-child {
        margin-right: 0;
    }
}

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

/**
 * .webshop compact shopping cart
 */

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

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

.shopping-cart-compact a {
    display: block;
    height: inherit;
    padding: 0 .7em .4em .3em;
    font-size: 0.9rem;
    text-decoration: none;
}

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

.shopping-cart-compact .icon-cart {
    display: inline-block;
    line-height: 50px;
    font-size: 1.7em;
    color: #5b5951;
}

.shopping-cart-compact .icon-cart:after {
    content:'\1f6d2';
    font-size: .8em;
}

.shopping-cart-compact .mw-scs-number-of-articles {
    position: absolute;
    top: 5px;
    right: 6px;
    display: inline-block;
    min-width: 18px;
    height: 18px;
    margin-left: -15px;
    padding: 0 4px;
    border-radius: 2em;
    font: normal 14px/18px monospace;
    font-weight: 500;
    text-align: center;
    color: #fff;
    background-color: #a6361f;
}
