﻿/* Receipt Discount Summary */
.invoice .text-bold.bg-white.primary-font-size {
    background: transparent !important;
}
table#tblDiscountSummary td {
    text-align: left !important;
}
@media (max-width: 768px) {
    .invoice .flex-container, .invtoolbar .flex-container {
        justify-content: flex-start !important;
    }
    .invoice .booking-details {
        justify-content: center !important;
        flex-direction: column !important;
    }
}
table#tblDiscountSummary th {
    text-align: right !important;
}
/*******************/
@media (max-width: 400px){
    #invoice, #pnlreceipt {
        padding: 10px 5px !important;
    }
}
@media (max-width: 992px) {
    #invoice, #pnlreceipt {
        width: unset !important;
    }
}
.invoice td.grand-total {
    font-size: 18px;
}
.invoice .advance-amount {
    border-top: 1px dashed #999;
}
body {
}
.outer-container {
    display: flex;
    line-height: 15px;
}
.inner-container {
    text-align: left;
}
.customer-details-container {
    text-align: left !important;
}
.invoice .non-resp-imag {
    width: 300px !important;
}
.amount-breakdown td {
    font-weight: 500 !important;
    font-size: 14px !important;
}
.separator {
    border-bottom: 1px dashed #999;
}
p.secondary-font-size, h4.secondary-font-size {
    font-size: 14px !important;
    font-weight: 500 !important;
}
.primary-font-size {
    font-size: 16px !important;
    font-weight: 800 !important;
}
#invoice, #pnlreceipt {
    padding: 15px;
    background: #fff;
    width: 1000px;
    font-family: inherit;
    background-image: url(/image/paper.jpg);
    box-shadow: 1px 1px 10px #aaa;
}
tbody.amount-breakdown {
    border-bottom: 1px dashed #999;
}
@font-face {
    font-family: "SpecialElite";
    src: url("/Content/fonts/RobotoMono.ttf");
}
.invoice, h4.receipt-heading {
    font-family: "SpecialElite", sans-serif !important;
    font-weight: 600 !important;
}
.invoice {
    position: relative;
    background-color: transparent;
    min-height: 480px;
    padding: 5px;
    font-size: 15px;
}
.secondary-font-size, .secondary-font-size label {
    font-size: 14px !important;
    font-weight: 500 !important;
}
td.secondary-font-size, tr.secondary-font-size {
    font-size: 14px;
    font-weight: 500;
}
.transaction-details {
    margin-bottom: 15px !important;
}
h2.to.secondary-font-size, .email.secondary-font-size {
    font-size: 14px;
    font-weight: 500;
}

@media(max-width: 767px) {
    #invoice, #pnlreceipt {
        width: unset;
    }

    div#pnlreceiptlinks > .flex-container {
        justify-content: center;
    }
}

.invoice .flex-container, .invtoolbar .flex-container {
    /* We first create a flex layout context */
    display: flex;
    /* Then we define the flow direction 
                and if we allow the items to wrap 
            * Remember this is the same as:
            * flex-direction: row;
            * flex-wrap: wrap;
            */
    flex-flow: row wrap;
    /* Then we define how is distributed the remaining space */
    justify-content: space-between;
    padding: 0;
    margin: 0;
    list-style: none;
    padding: 0 15px;
}

.invoice .flex-item, .invtoolbar .flex-item {
    /*padding: 15px;*/
    /*margin-top: 10px;*/
    line-height: 30px;
    font-weight: bold;
    text-align: center;
}


.invoice .flex-item-left {
    line-height: 30px;
    font-weight: bold;
    text-align: left;
}



#invoice, #pnlreceipt {
    padding: 15px;
    background: #fff;
    width: 1000px;
    font-family: inherit;
    background-image: url(/image/paper.jpg);
    box-shadow: 1px 1px 10px #aaa;
    margin-left: auto;
    margin-right: auto;
}

.invoice header {
    padding: 10px 15px;
    margin-bottom: 20px;
    border-bottom: 1px dashed #999;
}

    .invoice header img {
        /*padding: 10px 15px;*/
        margin: 0 auto;
    }

.invoice .company-details {
    text-align: right
}

    .invoice .company-details .name {
        margin-top: 0;
        margin-bottom: 0
    }

.invoice .contacts {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.invoice .invoice-to {
    text-align: left;
    padding: 0 30px 16px;
    line-height: normal;
}

    .invoice .invoice-to .to {
        margin-top: 0 !important;
        margin-bottom: 0
    }

.invoice .invoice-details {
    text-align: right;
    display: flex;
    flex-direction: column;
}

    .invoice .invoice-details .invoice-id {
        margin-top: 0;
        color: #3989c6
    }

.invoice main {
    padding-bottom: 50px
}

    .invoice main .thanks {
        margin-top: -100px;
        font-size: 2em;
        margin-bottom: 50px
    }

    .invoice main .notices {
        background: transparent;
        padding-left: 6px;
        border: 1px dashed #999;
        margin: 20px;
        color: #333333b3;
    }

        .invoice main .notices .notice {
            font-size: 1.2em
        }

.invoice table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    background: transparent !important;
    margin-bottom: 20px;
}

    .invoice table td, .invoice table th {
        padding: 4px;
        background: transparent;
        /*border: 1px solid #fff*/
    }

    .invoice table th {
        white-space: nowrap;
        font-weight: 400;
    }

    .invoice table td h3 {
        margin: 0;
        font-weight: 400;
        color: #3989c6;
        font-size: 0.80em
    }

    .invoice table .qty, .invoice table .total, .invoice table .unit {
        text-align: right;
    }

    .invoice table .no {
        color: #5e5b68;
        font-size: 1em;
        text-align: left;
        width: 5%;
    }

    /*.invoice table .unit {
            background: #ddd
        }*/

    .invoice table .total {
        background-color: transparent;
        color: #000;
    }

    /*.invoice table tbody tr:last-child td {
            border: none
        }*/

    .invoice table tfoot td {
        background: 0 0;
        border-bottom: none;
        white-space: nowrap;
        text-align: right;
        padding: 10px 20px;
        font-size: 1em;
        border-top: 1px solid #aaa
    }

    .invoice table tfoot tr:first-child td {
        border-top: none
    }

    .invoice table tfoot tr:last-child td {
        color: #3989c6;
        font-size: 1.2em;
        border-top: 1px solid #3989c6
    }

    .invoice table tfoot tr td:first-child {
        border: none
    }

.invoice footer {
    width: 100%;
    text-align: center;
    color: #777;
    border-top: 1px solid #aaa;
    padding: 8px 0
}

.invoice .tfooter, .invoice .tfooter td {
    text-align: right;
    line-height:1.2;
}

@media print {
    .invoice {
        font-size: 11px !important;
        /*overflow: hidden !important*/
    }

        .invoice footer {
            position: absolute;
            bottom: 10px;
            page-break-after: always
        }

        .invoice > div:last-child {
            page-break-before: always
        }
}

.receipt-container {
    background: white;
}
div#pnlreceiptlinks a.green_link {
    font-size: 18px;
    color: #000;
    text-decoration: underline !important;
    font-weight: 600;
    background: transparent;
}
.invoice .amount-breakdown tr td:nth-child(2) {
    text-wrap: auto;
}

.flex-row-style {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 40px;
}

.flex-col-style {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    font-weight: 500;
}

.details-title {
    font-weight: 600;
    text-align: center;
    font-size: 18px;
}

.receipt-col-info {
    display: flex;
    flex-direction: row; 
    /*justify-content: space-between;*/
}
.receipt-col-info > span:first-child {
    font-weight: 700;
}
.flex-col-right .receipt-col-info, .flex-col-right .details-title {
    justify-content: flex-end;
    text-align: right;
}
@media (max-width: 992px) {
    .flex-row-style .flex-col-style {
        padding-top: 10px;
    }

    .flex-row-style {
        gap: 16px;
    }
    .flex-col-right .receipt-col-info, .flex-col-right .details-title {
        justify-content: flex-start;
        text-align: left;
    }
}