/* checkout fixes 01-2023 */
.xomnis {
    margin-bottom: 126px;
}
.xomnis .card-block-header {
    border-bottom: none;
    padding-bottom: 21px;
}
.xomnis .card-block-header h1.kassa {
    color: black;
    font-size: 2em;
    padding-top: 37px;
}
.xomnis .cart-grid-body .cart-overview .cart-item {
    border-bottom: none;
    padding-bottom: 22px;
}
.xomnis .product-line-info.product-price.h5 {
    margin-bottom: 0;
}
.xomnis .product-image.media-middle {
    height: 56px;
}
.xomnis .product-image.media-middle img {
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
}
.xomnis .product-line-info .label {
    color: black;
    line-height: 1em;
}
.xomnis .product-line-info.product-price.h5 {
    font-weight: 400;
    color: black !important;
    line-height: 1em;
    padding-top: 8px;
}
.xomnis .antal-pris .pris span.product-price {
    font-size: 16px;
    color: black !important;
    line-height: 1em;
}

/* remove from cart icon */
.remove-from-cart-icon {
    display: block;
    height: 16px;
    width: 16px;
    background-image: url("../img/icons/ion_trash-bin-sharp.svg");
    background-repeat: no-repeat;
}
.xomnis .cart-item .remove-from-cart {
    opacity: 0.25;
}
.xomnis .cart-item .remove-from-cart:hover {
    opacity: 1;
}
.xomnis .cart-item .remove-from-cart:hover .remove-from-cart-icon {
    background-image: url("../img/icons/ion_trash-bin-sharp-red.svg");
}

/* spinner of product quantity in cart */
.xomnis .cart-line-product-quantity-wrap .bootstrap-touchspin {
    width: 100px;
    height: 30px;
    margin-right: 22px;
    position: relative;
}
.xomnis .cart-line-product-quantity-wrap .input-group-btn-vertical {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100px;
    height: 30px;
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
}
.xomnis .cart-line-product-quantity-wrap .bootstrap-touchspin input.form-control {
    height: 30px;
    width: 40px;
    font-size: 16px;
    color: black;
    border: none;
    border-top: 1px solid #20271E;
    border-bottom: 1px solid #20271E;
    position: absolute;
    z-index: 2;
    top: 0;
    left: 30px;
    padding-left: 4px;
    padding-right: 4px;
}
.xomnis .cart-line-product-quantity-wrap .bootstrap-touchspin .btn-touchspin {
    margin: 0;
    width: 30px;
    height: 30px;
    background-color: transparent;
    color: #20271E;
    border: 1px solid #20271E;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    padding: 0;
}
.xomnis .cart-line-product-quantity-wrap .bootstrap-touchspin .btn-touchspin.bootstrap-touchspin-up {
    border-radius: 0 6px 6px 0;
    border-left: none;
    border-left-color: #20271E;
}

.xomnis .cart-line-product-quantity-wrap .bootstrap-touchspin .btn-touchspin.bootstrap-touchspin-down {
    border-radius: 6px 0 0 6px;
    border-right: none;
    border-right-color: #20271E;
}
.xomnis .cart-line-product-quantity-wrap .bootstrap-touchspin .btn-touchspin .material-icons {
    position: static;
}
.xomnis .cart-line-product-quantity-wrap .bootstrap-touchspin .btn-touchspin .material-icons.touchspin-up:after {
    content: "\e145"
}
.xomnis .cart-line-product-quantity-wrap .bootstrap-touchspin .btn-touchspin .material-icons.touchspin-down:after {
    content: "\e15b"
}
.bootstrap-touchspin .btn-touchspin:hover {
    background: #20271E !important;
    color: white !important;
    border: 1px solid #20271E !important;
}

/* estimated delivery */
.xomnis .varukorg-flex .levdate .estimated_delivery_date {
    margin-top: 10px;
}
.estimated_delivery_date_icon .icon-wrapper {
    margin: 0 !important;
    width: auto;
    height: auto;
    display: block;
}
.estimated_delivery_date_icon .icon {
    display: block;
    height: 13px;
    width: 18px;
    background-image: url("../img/icons/truck-fill.svg");
    background-repeat: no-repeat;
    margin-right: 9px;
}
.estimated_delivery_date_icon .icon::before {
    content: ''
}
.estimated_delivery_date_content .tooltip_keyword:after {
    content: '';
    padding: 0;
}
.estimated_delivery_date_content .tooltip_keyword {
    font-weight: normal;
}
.estimated_delivery_date {
    color: black;
}
.xomnis .varukorg-flex .estimated_delivery_date .estimated_delivery_date_wrapper {
    align-items: center;
    padding-bottom: 0;
}
.xomnis .varukorg-flex .estimated_delivery_date .show-products-delivery {
    color: #20271E;
    text-decoration: underline;
    cursor: pointer;
    padding-top: 4px;
}
.xomnis .varukorg-flex .estimated_delivery_date .show-products-delivery:hover {
    color: #cdaf6e;
}
.xomnis .varukorg-flex .estimated_delivery_date .estimated_delivery_date_extra_content {
    color: black;
    font-size: 16px;
    padding-top: 4px;
}
.xomnis .varukorg-flex .levdate {
    padding-left: 0;
    margin-left: 15px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(32, 39, 30, 0.25);
    margin-bottom: 32px;
}

/* delivery method */
.xomnis .varukorg-flex .leverans .card {
    margin-bottom: 0 !important;
}
.xomnis .row.dynamic-content#dynamic_changes {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 15px;
    padding-right: 15px;
}
.xomnis .row.dynamic-content#dynamic_changes .leverans{
    margin-left: 0;
    margin-right: -15px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(32, 39, 30, 0.25);
    display: flex;
    margin-bottom: 32px;
}
.xomnis .row.dynamic-content#dynamic_changes .leverans, .xomnis .row.dynamic-content#dynamic_changes .leverans p, .xomnis .row.dynamic-content#dynamic_changes .leverans label {
    color: black;
}
.xomnis .varukorg-flex .leverans .card #pwc-delivery-options.pwc-delivery-options {
    padding-left: 0;
}
.xomnis .varukorg-flex .leverans #pwc-delivery-options.pwc-delivery-options li {
    margin-left: 0;
    width: 100%;
    background-color: #fff;
    border: 1px solid rgba(32, 39, 30, 0.25);
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    padding: 16px !important;
    padding-right: 18px !important;
    margin-bottom: 16px;
}
.xomnis .varukorg-flex .leverans #pwc-delivery-options.pwc-delivery-options li.selected {
    border: 1px solid rgba(32, 39, 30, 1);
}
.xomnis .leverans .pwc-delivery-options .card-block {
    padding: 0;
}
.xomnis .leverans .pwc-delivery-options .card-block .frakt {
    padding: 0;
    font-size: 32px;
    color: black;
    margin-bottom: 32px;
}
.xomnis .row .pwc-delivery-options .align-items-center {
    padding-left: 0;
}
.pwc-delivery-options .tooltip_keyword:after {
    content: '';
    padding: 0;
}
.pwc-delivery-options .tooltip_keyword {
    font-weight: normal;
}
.pwc-delivery-options .d-block {
    margin-bottom: 0;
}
.pwc-delivery-options p.d-block {
    margin-bottom: 8px;
}
.xomnis .row .pwc-delivery-options .align-items-center.justify-content-between {
    justify-content: space-between;
}
.pwc .xomnis .leverans>.col-12 {
    padding-left: 15px;
    padding-right: 15px;
}

/* overall summary */
.xomnis .varukorg-flex .summary-flex {
    margin-top: 0;
    margin-left: 15px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(32, 39, 30, 0.25);
    margin-bottom: 32px;
}
.xomnis .varukorg-flex .summary-flex .card-block {
    padding: 0;
}
.xomnis .varukorg-flex .summary-flex .card-block .sum {
    padding: 0;
    font-size: 32px;
    margin-bottom: 32px;
    color: black;
}
.xomnis .varukorg-flex .summary-flex .cart-summary {
    margin-bottom: 0;
}
.xomnis .varukorg-flex .summary-flex .cart-summary .cart-summary-line {
    display: flex;
    margin-bottom: 8px;
}
.xomnis .varukorg-flex .summary-flex .cart-summary .cart-summary-line .label, .xomnis .varukorg-flex .summary-flex .cart-summary .cart-summary-line .value {
    color: #20271E;
    display: block;
    line-height: 18px;
}
.xomnis .varukorg-flex .summary-flex .cart-summary .cart-summary-line .label {
    width: 55%;
    text-align: left;
}
.xomnis .varukorg-flex .summary-flex .cart-summary .cart-summary-line .value {
    width: 45%;
}
.xomnis .varukorg-flex .summary-flex .cart-summary .cart-summary-totals {
    margin-top: 24px;
    margin-bottom: 24px;
}
.xomnis .varukorg-flex .summary-flex .cart-summary .cart-summary-line.cart-total, .xomnis .varukorg-flex .summary-flex .cart-summary .cart-summary-line.cart-total .label {
    font-weight: bold;
}
.xomnis .varukorg-flex .summary-flex .cart-summary .block-promo .promo-code-button {
    margin-bottom: 0;
    padding-left: 0;
    text-decoration: underline;
    font-size: 16px;
}
.xomnis .varukorg-flex .summary-flex .cart-summary .block-promo .promo-code {
    padding: 0;
    background: transparent;
    margin-left: 0;
}
.xomnis .varukorg-flex .summary-flex .cart-summary .block-promo .promo-code .cancel-promo {
    padding-left: 3px;
}
.xomnis .varukorg-flex .summary-flex .cart-summary .block-promo .promo-code .cancel-promo:hover {
    color: #cdaf6e;
}
.xomnis .varukorg-flex .summary-flex .cart-summary .block-promo .promo-code form {
    display: flex;
    align-items: center;
}
.xomnis .varukorg-flex .summary-flex .cart-summary .block-promo .promo-code .promo-input {
    border: 1px solid #20271E;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    width: 40%;
    margin-right: 10px;
    height: 38px;
    padding-left: 7px;
    padding-right: 7px;
}
.xomnis .varukorg-flex .summary-flex .cart-summary .block-promo .promo-code .btn-primary {
    height: 38px;
    margin-top: 0;
}

/* force reload */
.xomnis .force-reload {
    margin-left: -15px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(32, 39, 30, 0.25);
    margin-bottom: 32px;
}
.xomnis .force-reload .card-block {
    padding: 0;
}
.xomnis .force-reload .force-reload-h {
    margin-bottom: 32px;
    font-size: 32px;
    color: black;
}
.xomnis .force-reload .alert {
    margin: 0;
}

/* betala / payment */
.xomnis .checkouttotal {
    margin-right: -15px;
    margin-left: -15px;
}
.xomnis .checkouttotal .payment-header {
    margin-bottom: 32px;
    font-size: 32px;
    color: black;
    font-weight: bold;
}
.payment-row-flex {
    margin-left: -8px;
    margin-right: -8px;
    display: flex;
    align-items: stretch;
    margin-bottom: 32px;
}
.payment-option-col {
    box-sizing: border-box;
    width: 50%;
    padding-left: 8px;
    padding-right: 8px;
}
.payment-option {
    display: flex;
    align-items: center;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    border: 1px solid rgba(32, 39, 30, 0.25);
    padding: 16px;
    justify-content: space-between;
}
.payment-option.selected {
    border: 1px solid rgba(32, 39, 30, 1);
}
.payment-option-radio {
    display: flex;
    align-items: center;
}
.payment-option-header, .payment-option-img-wrap {
    display: block;
}
.payment-option-header {
    margin-bottom: 20px;
    color: black;
}
.pwc .xomnis .checkouttotal .col-12 {
    padding-left: 15px;
    padding-right: 15px;
}

/* newsletter wrap */
.xomnis .pwc-newsletter-checkbox-wrap {
    margin-top: 16px;
}
.xomnis .pwc-newsletter-checkbox-wrap .pwc-control-label {
    font-size: 16px;
    color: black;
    padding-left: 0;
    display: flex;
    align-items: center;
}
.xomnis .pwc-newsletter-checkbox-wrap .pwc-control-label:before {
    margin-right: 8px;
}

/* radio selector */
.radio-select-eg, .xomnis .pwc-newsletter-checkbox-wrap .pwc-control-label:before {
    display: block;
    height: 22px;
    width: 22px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    border: 1px solid rgba(32, 39, 30, 0.25);
    position: relative;
    top: 0;
    left: 0;
    transition: border-color 200ms;
    background-color: transparent !important;
}
.selected .radio-select-eg, .xomnis .pwc-newsletter-checkbox-wrap .pwc-control:checked + .pwc-control-label:before {
    border-color: rgba(32, 39, 30, 1);
    background-color: transparent !important;
}
.xomnis .pwc-newsletter-checkbox-wrap .pwc-control-label:after {
    background-color: transparent;
    border-radius: 0;
    height: 0;
    transition: none;
    width: 0;
    top: 0;
    left: 0;
}
.selected .radio-select-eg::after, .xomnis .pwc-newsletter-checkbox-wrap .pwc-control:checked + .pwc-control-label:after {
    content: '';
    position: absolute;
    display: block;
    height: 12px;
    width: 12px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    background-color: rgba(32, 39, 30, 1);
    left: 4px;
    top: 4px;
}
.xomnis .pwc-newsletter-checkbox-wrap .pwc-control:checked + .pwc-control-label:after {
    left: 5px;
    top: 5px;
}

/* Adaptive */
@media (max-width: 992px) {
    .xomnis .row.dynamic-content {
        width: 70%;
    }
}

@media (max-width: 768px) {
    .xomnis .row.dynamic-content {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .xomnis {
        margin-bottom: 20px;
    }
    /* headers */
    .xomnis .card-block-header h1.kassa,
    .xomnis .leverans .pwc-delivery-options .card-block .frakt,
    .xomnis .varukorg-flex .summary-flex .card-block .sum,
    .xomnis .checkouttotal .payment-header {
        font-size: 22px;
        border-bottom: none;
        font-weight: normal;
    }

    /* product list */
    .xomnis .produkt-line-right {
        padding-left: 24px;
        padding-top: 6px;
    }
    .xomnis .cart-item {
        width: 100%;
    }
    .xomnis .cart-item .produkt-line-total {
        width: 100%;
    }

    /* promo form */
    .xomnis .varukorg-flex .summary-flex .cart-summary .block-promo .promo-code .promo-input {
        width: 50%;
    }

    /* payment */
    .payment-row-flex {
        flex-wrap: wrap;
    }
    .payment-option-col {
        width: 100%;
    }
    .payment-card {
        margin-bottom: 10px;
    }

    /* width corrections */
    .xomnis .col-xs-12 {
        width: 100%;
    }
    .pwc {
        width: auto;
        margin-left: -15px;
        margin-right: -15px;
    }
    .xomnis {
        width: 100%;
        padding-right: 5px;
        padding-left: 5px;
    }
    .xomnis .varukorg-flex .levdate {
        margin-right: 15px;
        width: auto;
    }
    .xomnis .varukorg-flex .leverans .card #pwc-delivery-options.pwc-delivery-options {
        margin-left: 0;
    }
    .xomnis .row.dynamic-content#dynamic_changes .leverans {
        margin-right: 0;
    }
    .xomnis .varukorg-flex .summary-flex {
        padding-left: 0;
    }
    .xomnis .checkouttotal {
        margin-right: 0;
        margin-left: 0;
    }
}
