﻿

.basket-container {
    text-align: center;
}

.basket-parent {
    /*  display: flex;
    flex-direction: column;
    align-items: center;*/
    text-align: -webkit-center;
}

.basket-container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    text-align: start !important
}

.subtotal-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-bottom: 1rem;
}

    .subtotal-container div {
        display: flex;
        flex-direction: row;
        gap: 20px;
        justify-content: center;
        padding: 0 25px;
        flex-wrap: wrap;
        align-items: baseline;
    }

.chkout-bar {
    max-height: 40px;
    margin: 15px;
}

.checkout-btn {
    color: #fff;
    background: #376778;
    padding: 5px 15px;
    border: none;
    border-radius: 10px;
    font-size: 1.2rem;
    text-decoration: none;
    transition: 0.25s;
}

    .checkout-btn:hover {
        color: #fff;
        background: #f17e3b;
        transform: scale(1.05)
    }



.bp-addr-container {
    display: none;
    color: #fff;
    background: #376778;
    padding: 15px;
    border-radius: 10px;
    gap: 10px;
    align-items: center;
    box-shadow: 0px 0px 8px 0 rgb(0 0 0 / 20%);
    justify-content: center;
    flex-wrap: wrap;
}

.page-container {
    text-align: -webkit-center;
    /* display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;*/
}

.checkout-container {
    text-align: start;
    margin: 10px;
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
}

#existing-address {
    display: none;
    flex-wrap: wrap;
    flex-direction: column;
    background: white;
    border-radius: 10px;
    color: #808080;
    font-size: 1.2rem;
    box-shadow: 0px 0px 8px 0 rgb(0 0 0 / 20%);
    justify-content: space-between;
}

    #existing-address h4 {
        padding: 25px 10px 0px 10px;
    }

    #existing-address div {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: space-between;
    }

        #existing-address div span {
            padding: 10px;
            min-width: 250px;
        }


#checkout-form {
    display: flex;
    flex-direction: column;
    max-width: 700px;
    gap: 15px;
    width: 100%;
}

.addr-container {
    display: none;
    background: white;
    flex-direction: column;
    max-width: 700px;
    border-radius: 15px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    gap: 15px;
    transition: 0.5s;
}

.addr-head {
    display: flex;
    flex-direction: row;
    padding: 15px;
    color: #fff;
    background: #376778;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    justify-content: space-between;
}

.addr-head-hide {
    border-radius: 10px;
}

.addr-flex {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px 25px 25px 25px;
}


.addr-input {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.addr-state {
    display: none;
}

.addr-input i {
    color: #fff;
    border: 2px solid black;
    border-right: none;
    background: #f17e3b;
    outline: none;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    text-align-last: center;
    padding-top: 10px;
    font-size: 16px;
    width: 38px;
    height: 38px;
}

.addr-input label {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    border: 2px solid #343a40;
    background: white;
    border-radius: 5px;
    padding: 5px 10px;
    height: 38px;
    margin: 5px 0;
    cursor: pointer;
    width: 288px;
    justify-content: space-between;
}

.addr-input input:not(input[type=checkbox]),
.addr-input select,
.addr-input .select2 {
    border: 2px solid #343a40;
    background: white;
    outline: none;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    padding: 5px;
    height: 38px;
    width: 250px;
}

.select2 span {
    border: none !important;
}



.totals-container {
    width: 500px;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 0px 8px 0 rgb(0 0 0 / 20%);
    color: #343a40;
    height: fit-content;
}

    .totals-container h2 {
        color: #fff;
        background: #376778;
        padding: 20px;
        margin-top: 0px;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
    }

.totals {
    padding: 20px;
    font-size: 1.5rem;
    display: flex;
    flex-direction: column;
}

.cost-group {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
}


.radio-container {
    padding: 10px 0;
}

.radio-lbl {
    display: flex;
    flex-direction: row;
    gap: 10px;
    padding: 10px;
    align-items: center;
    border-radius: 10px;
    border: 2px solid #343a40;
    margin: 10px 0px;
    cursor: pointer;
}

.radio-selected {
    color: #fff;
    background: #376778;
}

.payment-button {
    background: #376778;
    color: white;
    border-radius: 10px;
    border: none;
    outline: none;
    padding: 5px 15px;
    padding: 10px 0;
    transition: 0.25s;
}

    .payment-button:hover {
        color: white;
        background: #f17e3b;
    }

    .payment-button:disabled {
        color: white;
        background: #dcdcdc;
    }


.notice {
    font-size: 0.8rem;
    padding: 0;
    margin: 0;
}


.checkout-disabled {
    cursor: not-allowed !important;
    opacity: 0.5 !important;
}

    .checkout-disabled:hover {
        cursor: not-allowed !important;
        opacity: 0.5 !important;
        transform: unset !important;
        background: #fadb8b !important;
        color: #343a40 !important;
    }

.ex-add-grp {
    display: flex;
    flex-direction: row !important;
}


/*Basket DD*/

.dd {
    position: relative;
    display: inline-block;
}

.dd-show {
    display: block !important;
    flex-direction: column;
}

.basket-dd {
    max-width: 450px;
    width: 400px;
    left: -350px;
    display: none;
    position: absolute;
    background-color: white;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 10px;
    gap: 10px;
}

@media all and (max-width:767px) {
    .basket-dd {
        position: fixed;
        /*  left: 50%;
        margin-left: -50%;*/
        left: 50%;
        margin-left: -50%;
        max-width: 95vw
    }
}

.basket-header {
    display: flex;
    flex-direction: row;
    justify-content:space-between;
}

.basket-dd-count {
    padding: 15px;
    gap: 15px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

#dd-item-container {
    max-height: 400px;
    overflow-y: auto;
}

.basket-dd-item {
    display: flex;
    flex-direction: row;
    padding: 5px 15px;
    background: white;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

    .basket-dd-item:hover {
        background: #e0e0e0
    }

.basket-dd-title {
}

.basket-dd-col {
    display: flex;
    flex-direction: column;
}

.basket-dd-row {
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: space-between;
}

.basket-small-text {
    font-size: .80rem;
    color: #808080
}

.basket-dd-sku {
}

.basket-dd-upc {
}

.basket-dd-qty {
}

.basket-dd-line {
}

.dd-subtotal {
    padding: 5px 15px 20px 25px;
}

.basket-dd-x {
    border: none;
    background: none;
}

.view-basket {
    color: #fff;
    background: #376778;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 5px 15px;
    border-radius: 10px;
    margin: 10px;
    text-align: center;
    border: none;
}

    .view-basket:hover {
        background: #f17e3b;
        color: #fff
    }

.b-itm-rem {
    background: #ff6b6b;
    color: white;
    border-radius: 5px;
    border: none;
    display: flex;
    flex-direction: row;
    height: 25px;
    width: 15px;
    justify-content: center;
    align-items: center;
    transition: 0.15s
}

    .b-itm-rem:hover {
        background: #ff3232;
        transform: scale(1.05)
    }

.dtr-data {
    white-space: break-spaces
}
