﻿/*********************************   new invoice **************************************/
.invoice-sec .invoice-number,
.invoice-sec .status,
.invoice-sec .dating,
.invoice-sec .payble {
    margin: 0 0 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .invoice-sec .invoice-number span:first-child,
    .invoice-sec .payble span:first-child,
    .invoice-sec .status span:first-child,
    .invoice-sec .dating span:first-child {
        min-width: 75px;
        display: inline-flex;
    }

    .invoice-sec .payble span,
    .invoice-sec .invoice-number span,
    .invoice-sec .status span,
    .invoice-sec .dating span,
    .in-name span,
    .in-phone span,
    .in-address span,
    .ItemSingleprd {
        font-size: 16px;
        color: #475569;
        font-weight: 500;
        line-height: 2;
        margin: 0;
    }

    .invoice-sec .dating:last-child {
    }

.t-red {
    color: #fc4f4f !important;
}

.t-blue {
    color: #4262ff !important;
}

.f-700 {
    font-weight: 700 !important;
}

.s-red,
.s-yellow,
.s-green {
    padding: 4px 8px;
    border-radius: 5px;
    margin-right: 2px;
}

.s-red {
    color: #fc4f4f !important;
    background: #ffeaea !important;
}

.s-yellow {
    color: #ffd02f !important;
    background: #fff8e2 !important;
}

.s-green {
    color: #6e9240 !important;
    background: #edf2e8 !important;
}

.d-flx {
    display: flex;
    flex-wrap: wrap;
}

.flx-100 {
    flex: 0 0 100%;
    max-width: 100%;
}

.flx-50 {
    flex: 0 0 50%;
    max-width: 50%;
}

.j-between {
    justify-content: space-between;
}

.j-center {
    justify-content: center;
}

.border-3, .ItemSingleprd {
    border-bottom: 1px solid #eef1f5;
}

.border-1 {
    border-top: 1px dashed #eef1f5;
}

.py-15, .in-box {
    padding: 15px 0;
}

.in-box {
    display: flex;
    flex-wrap: wrap;
}

.py-30 {
    padding: 30px 0;
}

.px-15 {
    padding: 0 15px;
}

.in-title {
    background: #f4f6f8;
    padding: 10px;
    border-radius: 5px;
}

    .in-title h2 {
        font-size: 18px;
        font-weight: 700;
        color: #262626;
        text-align: center;
        margin: 0;
    }

.in-name span:first-child,
.in-phone span:first-child,
.in-address span:first-child {
    color: #000;
    margin-left: 9px;
}

.div_Basket {
    width: 100%;
    border-left: 1px solid #eef1f5;
    align-items: center;
    background-color: transparent;
    border-radius: 0;
    font-size: 18px !important;
    display: flex;
    flex: 0 0 30%;
    max-width: 30%;
    margin: 0;
    margin-left: auto;
}

.Text_Basket {
    margin: 0px;
    font-size: 14px !important;
    font-weight: bolder !important;
}

    .Text_Basket, .Text_Basket a {
        color: #475569;
    }

.in-address {
    padding-top: 10px;
}

.in-phone,
.in-name {
    padding-bottom: 10px;
}

.pay-btn {
    padding: 10px;
    border: 2px solid #eef1f5;
    border-radius: 5px;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    min-width: 20%;
    transition: .3s;
    background: transparent;
    outline: none;
    box-shadow: none;
    position: relative;
    cursor: pointer;
    margin: 0 4px;
}

    .pay-btn svg {
        width: 20px;
        height: 20px;
        fill: #3dd28d;
        margin-left: 6px;
    }

    .pay-btn:hover {
        background: #3dd28d;
        border-color: #3dd28d;
        color: #fff;
    }

    .pay-btn:nth-child(2) svg {
        fill: #2c4aff;
    }

    .pay-btn:nth-child(2):hover {
        background: #2c4aff;
        border-color: #2c4aff;
    }

    .pay-btn:nth-child(3) svg {
        fill: #ffd02f;
    }

    .pay-btn:nth-child(3):hover {
        background: #ffd02f;
        border-color: #ffd02f;
    }

    .pay-btn:hover svg {
        fill: currentColor;
    }

.in-wallet {
    position: absolute;
    top: 46px;
    bottom: auto;
    background: #fff;
    display: block;
    right: -2px;
    left: -2px;
    padding: 10px;
    border: 2px solid #eef1f5;
    border-radius: 5px;
    transition: .3s all ease-in;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-80px);
    z-index: 10;
}

.pay-btn:hover .in-wallet {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ItemSingleprd {
    border-bottom: 1px dashed #eef1f5;
    justify-content: space-between;
    flex-direction: column;
    flex: 0 0 15%;
    max-width: 15%;
    padding: 0;
    border: 0;
}

    .Customer_DetailBox:last-child, .ItemSingleprd:last-child {
        border: 0;
    }

.chooseAddressBtn svg {
    fill: #fc4f4f;
}

#TotalPrice {
    color: #3dd28d;
}

.download-btn {
    font-size: 16px;
    padding: 7px 14px;
    background: #e4f0fd;
    color: #4262ff;
    border-radius: 5px;
    margin-left: 4px;
    font-weight: 700;
}

    .download-btn.d-1 {
        background: #eefbf5;
        color: #3dd28d;
    }

    .download-btn:hover {
        background: #4262ff;
        color: #e4f0fd;
    }

    .download-btn.d-1:hover {
        background: #3dd28d;
        color: #fff;
    }

.in-search {
    border-right: 1px solid #8e8f90;
    padding: 0 10px 0 0;
    margin: 0 10px 0 0;
    cursor: pointer;
    position: relative;
    display: inline-flex;
}

.in-search-box {
    position: absolute;
    top: 22px;
    bottom: auto;
    background: #fff;
    display: block;
    right: 0;
    left: 0;
    padding: 5px;
    border: 2px solid #eef1f5;
    border-radius: 5px;
    transition: .3s all ease-in;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-80px);
    z-index: 10;
    width: 100%;
    min-width: max-content;
}

.in-search:hover .in-search-box {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mw-150 {
    min-width: 150px;
}

.text_payable {
    background: #dcf7ea;
}

    .text_payable .greenColor, .text_payable #Div_Remaining {
        color: #3dd28d;
        margin: 0 6px;
    }

.TxtSinglePrd, .CountSinglePrd, .ItemSingleprd span {
    text-align: center;
    font-weight: 700;
}

.TxtSinglePrd {
    /* color: #000; */
    font-weight: 500;
}

#tb_list .in-box .ItemSingleprd, .in .in-title .ItemSingleprd {
    flex: 0 0 9%;
    max-width: 9%;
    border: 0;
}

.in-box:last-child .ItemSingleprd {
    flex-direction: row;
    max-width: 100%;
    flex: 0 0 100%;
    padding: 4px 13px;
    border-bottom: 1px dashed #eef1f5;
}

#tb_list .in-box:last-child .ItemSingleprd {
    flex-direction: column;
    padding: 0;
}

.BoxSinglePrd .TxtSinglePrd, #tb_list .in-box .TxtSinglePrd {
    display: none;
}

.in-title .ItemSingleprd .TxtSinglePrd {
    color: #262626;
}
/********************** responsive *********************/
@media(max-width: 900px) {
    .div_Basket {
        flex: 0 0 35%;
        max-width: 35%;
        margin-left: auto;
        padding-left: 5px;
    }

    .Text_Basket, .TxtSinglePrd {
        font-size: 12px !important;
        text-align: right;
    }

    .img_pro_invoice {
        width: 40px;
        height: 40px;
        margin-left: 5px;
    }

    .ItemSingleprd {
        flex: 0 0 16%;
        max-width: 16%;
        font-size: 14px;
    }
}

@media(max-width: 513px) {
    .d-flx {
        flex-direction: column;
    }

    .div_timer {
    }

    .flx-50 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .px-15 {
        padding: 0 !important;
    }

    .pay-sec .d-flx, .in-title .d-flx {
        flex-direction: row;
    }

    .pay-btn {
        min-width: fit-content;
        padding: 10px 5px;
    }

        .pay-btn.mx-3 {
            margin: 0 3px !important;
        }

    .in-wallet {
        right: 0;
        left: 0;
        padding: 10px 5px;
        margin: auto;
    }

    p, .paragraph {
        font-size: 14px;
    }

    .in-wallet .j-between {
        justify-content: center;
    }

    .bg_green {
        margin: 0 0 7px !important;
    }

    .button {
        padding: 4px 10px;
        font-size: 14px;
    }

    .My_BorderInvoice p, .Off_Code, #btn_Coupon, #btn_PayByBalance_modal {
        font-size: 14px;
    }

    .in-wallet .input-group-append {
        align-items: center;
    }
}

@media(max-width: 456px) {
    .pay-sec .d-flx {
        flex-direction: column;
    }

    .pay-btn.mx-3 {
        margin: 5px 0 !important;
    }

    .div_Basket {
        flex: 0 0 100%;
        max-width: 100%;
        justify-content: center;
        border-left: none;
        border-bottom: 1px solid #eef1f5;
        padding: 0 0 5px 0;
        margin: 0 0 5px 0;
    }

    .BoxSinglePrd {
        flex-wrap: wrap;
    }

    .ItemSingleprd {
        flex: 0 0 25%;
        max-width: 25%;
    }

        .TxtSinglePrd, .CountSinglePrd, .ItemSingleprd span {
            text-align: center;
        }
}
