/**
 * @author:	Geert Romijn geertATprocurios.nl
* @UI:  webshopApp standard
 * @module: mod_webshop2
 * @about: 	webshop-shopping-cart.css - Layout of the webshop shoppingcart (checkout process)
 */

/**
 * Defaults
 */

main:has(.webshop-shopping-cart) {
    padding-top: 0;
}

/*.price .regular {*/
    /*text-decoration: line-through;*/
/*}*/
.s-price .regular {
    text-decoration: line-through;
    font-weight: normal;
}

.s-price .action {
    color: #3f8bb8;
}

/*.shoppingcart .scr {*/
    /*text-indent: -999em;*/
/*}*/

/** Table caption */
.shoppingcart caption {
    display: none;
}

/** Shopping cart buttons */

a.webshop-back-to-shop {
    text-decoration: none;
}

.shoppingcart .button-delete {
    display: block;
    background: transparent;
    color: #3f8bb8;
    padding: 12px 0 0 2em;
    border-radius: 0;
    font-size: 0;
}

.shoppingcart .button-delete::after {
    content:'Verwijder';
    padding-left: 1.5em;
    font-size: 18px;
    background: url(../img/trash-alt.svg) no-repeat 0 50%;
    background-size: 1em;
}

/**
 * .webshop-shopping-cart
 */

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

#s-page-products legend {
    display: none;
}

/** Shopping cart table settings */
.shoppingcart {
    width: 100%;
    /** Rule for IE8, Fx, Opera & Safari - border-collapse: collapse; introduces unexpected border behavior (missing borders) */
    /** Rule for IE7 and below - border-collapse: separate; introduces gaps between borders */
    font-weight: 600;
}

.shoppingcart thead {
    /* background: #ffffff; */
}

.shoppingcart tbody tr {
    /* background: #fff; */
}

.shoppingcart tfoot {
    display: none;
}

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

table.shoppingcart.last tfoot {
    display: table-footer-group;
}

table.shoppingcart.last tfoot tr {
    border: 0;
}

/*@media screen and (max-width: 767px) {*/
    /*.shoppingcart thead {*/
        /*display: none;*/
    /*}*/
    /**/
    /*.shoppingcart td,*/
    /*.shoppingcart th {*/
        /*display: block;*/
    /*}*/
/*}*/

/*@media screen and (min-width: 768px) {*/
    .shoppingcart td,
    .shoppingcart th {
        padding: 24px 16px 24px 0 !important;
    }

    .shoppingcart th {
        padding: 0 10px;
    }

    table.first th, table.last th {
        padding: 8px 10px;
    }

    /** Table rows */
    .s-row-buttons {
        width: 30px;
    }

    .s-row-image {
        width: 176px;
    }

    .s-row-description {
        width: 380px;
    }

    .s-row-unit {
        width: 74px;
    }

    .s-row-quantity {
        width: 100px;
    }

    .s-row-price {
        width: 100px;
    }

    .s-row-total {
        width: 100px;
    }
/*}*/

/** Table cells */
.shoppingcart tr td {
    border-top: 1px solid #d5d5cb;
    vertical-align: top;
}

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

.shoppingcart .image-container {
    display: inline-block;
    width: 176px;
    height: 101px;
    overflow: hidden;
}

.product-image-container:hover {
    cursor: url(../img/enlarge.cur), url(../img/enlarge.png), pointer;
}

.shoppingcart_tdTitle {
    line-height: 1.076;
    color: inherit;
}

.shoppingcart .s-quantity input {
    width: 3.5em;
    padding: .3em 0;
    border-color: #333;
    text-align: center;
    font-size: 1.111em;
}



/** Product description */
td.product-description span {
    display: block;
    color: #585858;
}

div.productDescription__promotionTitle {
    font-weight: bold;
}

span.productDescription__productTitle {
    font-size: 90%;
}

/** Total price */

.shoppingcart .totals .totals-column {
    border-bottom: 1px solid #d5d5d5;
}

.shoppingcart .total-price .totals-column {
    font-size: 1.444em;
    border-bottom: 2px solid;
}

tr.total-price th span {
    display: block;
    font-size: 9px;
}

.total-price th,
.total-price td {
    font-size: 16px;
    vertical-align: top;
}

/**
 * 	Gift coupons
 */

#gift-coupon,
.webshop-coupon-question {
    position: relative;
    font-size: 1em;
    overflow: visible;
}

.webshop-coupon-question a {
    font-size: 12px;
}

#formfielderror_gift-coupon {
    position: absolute;
    top: -15px;
    margin-left: 0;
    font-size: 11px;
}

#formfielderror_gift-coupon strong {
    font-weight: normal;
}

form#shopping-cart #gift-coupon {
    float: left;
}

#gift-coupon label {
    float: none;
    font-size: 12px;
    font-weight: bold;
}

#gift-coupon .fieldinput {
    margin-left: 0;
}

#gift-coupon span.formpanelelement {
    margin-right: 0;
}

form#shopping-cart #coupon_code {
    width: auto;
    padding: 4px 6px 5px;
    font: normal 12px/24px Verdana, Geneva, Helvetica, sans-serif;
    -webkit-border-radius: 2px 0 0 2px;
    -moz-border-radius: 2px 0 0 2px;
    border-radius: 2px 0 0 2px;
}

#activate-coupon {
    height: 29px;
    font: bold 12px/21px Helvetica,Arial,sans-serif;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/**
 * Layout of form which contains the shopping cart checkout process
 */

form#shopping-cart .w-medium {
    width: 30em; /** Same as .fea-group */
    font: normal 12px/14px Verdana, Arial, Helvetica, sans-serif;
}


button#shopping-cart-buttons_previous {
    float: left;
    color: #e98634;
    background-color: transparent;
}

#shopping-cart-buttons_next::after {
    content: '\003E';
    margin-left: .5em;
    font-family: 'ncvicons';
}

/** Form buttons */
div.clear-shopping-cart {
    background: transparent;
    border-top: 0;
    float: left;
    width: auto;
    padding-left: 10px;
}

.clear-shopping-cart .fieldinput {
    margin-left: 0;
}

div#content div.submit {
    clear: none;
    margin: 0 10px;
}

div.submit div.fieldinput {
    margin-left: 0;
}

.webshop-back-to-shop {
    position: relative;
    display: inline-block;
    margin-bottom: .8em;
    padding: .3em 1em;
    border: 1px solid;
    border-radius: 2em;
    font-weight: bold;
    font-size: 1.111em;
    cursor: pointer;
}

.webshop-shopping-cart .FormElementPageButtons {
    float: right;
}

#clear-shopping-cart {
    display: none;
    color: #333;
}

#clear-shopping-cart:hover {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

/**
 * Login/register
 */
@media screen and (min-width: 768px) {
    .webshop-shopping-cart .form-column {
        width: 50%;
    }
}



.webshop-shopping-cart #s_login input {
    width: 100%;
}

/**
 * Payment section
 */

#s-page-payment-methods .proFormRadio {
    margin-right: 1em;
    margin-top: .1em;
}

.payment-title {
    color: #000;
}

.payment-description {
    clear: left;
}

/**
 * Layout fix for small screens
 */

@media screen and (max-width: 767px) {
    .webshop-shopping-cart {
        max-width: 100vw;
        margin-left: -32px;
        margin-right: -32px;
        overflow: auto;
        background-image: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0)),
        linear-gradient(to left, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0)),
        linear-gradient(to right, rgba(0, 0, 0, .1), rgba(0, 0, 0, 0)),
        linear-gradient(to left, rgba(0, 0, 0, .1), rgba(0, 0, 0, 0));
        background-position: 0 0, 100% 0, 0 0, 100% 0;
        background-repeat: no-repeat;
        background-color: #fff;
        background-size: 4em 100%, 4em 100%, 1em 100%, 1em 100%;
        background-attachment: local, local, scroll, scroll; /** Opera doesn't support this in the shorthand */
    }
}
