#por-container {
    box-sizing: border-box;
    width: 816px;
    min-height: 1056px;
    margin: 0 auto;
    padding: 30px 20px 10px 20px;
    background: #e9e9e945;
    color: #000000;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    line-height: 1.28;
    letter-spacing: 0;
}

#por-container * {
    box-sizing: border-box;
}

#por-container .por-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 34px;
}

#por-container .por-header-logo {
    width: 205px;
}

#por-container #por-header-logo-image {
    display: block;
    width: 200px;
    height: auto;
    max-width: none;
}

#por-container .por-header-title {
    margin-top: -2px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    text-align: right;
}

#por-container #por-content {
    margin: 0;
    padding: 0;
}

#por-container .top-info {
    margin-bottom: 42px;
}

#por-container .address-order-section,
#por-container .vendor-shipto-address-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

#por-container .address-block,
#por-container .vendor-address-block {
    width: 270px;
}

#por-container .shipto-address-block {
    width: 270px;
}

#por-container .address-title {
    margin-bottom: 8px;
    font-weight: 700;
}

#por-container .address-text {
    line-height: 1.35;
}
#por-container .order-details-list {
    width: 260px;
    margin-top: -4px;
}

#por-container .order-details-row {
    display: grid;
    grid-template-columns: 135px 125px;
    padding-bottom: 3px;
    color: #000000;
    font-size: 12px;
    line-height: 1.28;
}

#por-container .order-details-label {
    padding-right: 5px;
    text-align: right;
}

#por-container .order-details-value {
    text-align: right;
}


#por-container .vendor-shipto-address-info {
    margin-bottom: 35px;
}
 /*------------------------------*/
#por-container .items-table {
    display: table;
    width: 100%;
    min-width: unset;
    height: auto;
    border: 1px solid #000000;
    border-collapse: collapse;
    table-layout: fixed;
}

#por-container .items-table colgroup {
    display: table-column-group;
}

#por-container .items-table .item-col {
    width: 192px;
}

#por-container .items-table .description-col {
    width: 203px;
}

#por-container .items-table .qty-col {
    width: 51px;
}

#por-container .items-table .rate-col {
    width: 78px;
}

#por-container .items-table .amount-col {
    width: 90px;
}

#por-container .items-table .tax-col {
    width: 62px;
}

#por-container .items-table thead {
    display: table-header-group;
    background: transparent;
    vertical-align: middle;
}

#por-container .items-table .por-table-header {
    display: table-cell;
    height: 28px;
    padding: 6px 5px;
    border: 1px solid #000000;
    background: #e6e6e6;
    box-shadow: none;
    color: #000000;
    font-size: 12px;
    font-weight: bold !important;
    line-height: 1.28;
    text-align: center;
    vertical-align: middle;
    white-space: normal;
    position: static;
    top: auto;
    z-index: auto;
}

#por-container .items-table .por-table-data {
    display: table-cell;
    padding: 5px 7px;
    border: 1px solid #000000;
    background: transparent;
    color: #000000;
    font-size: 12px;
    line-height: 1.28;
    vertical-align: top;
    white-space: normal;
}

/*#por-container .items-table .line-item-row {*/
/*    height: 248px;*/
/*}*/

/*#por-container .tax {*/
/*    text-align: left;*/
/*}*/

/*#por-container .description-text {*/
/*    line-height: 1.35;*/
/*}*/

/*#por-container .summary-row {*/
/*    height: 62px;*/
/*}*/

#por-container .summary-row .por-table-data {
    vertical-align: top;
}


#por-container .total-row {
    height: 62px;
}

#por-container .total-row .por-table-data {
    vertical-align: top;
}
/* ------------------------------*/
#por-container .items-grid {
    display: grid;
    grid-template-columns: 28% 30% 7% 11% 14% 10%;
    width: 100%;
    max-width: 100%;
    border-top: 1px solid #000000;
    border-left: 1px solid #000000;
    background: #ffffff;
}

#por-container .items-table {
    table-layout: auto;
}

#por-container .items-table tbody {
    display: table-row-group;
}

#por-container .items-table tr {
    display: table-row;
    height: auto;
}
#por-container .items-table td {
    display: table-cell;
    height: auto;
}


#por-container .items-table .line-item-row .por-table-data {
    padding-top: 4px;
    display: table-cell;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    vertical-align: top;
    height: auto;
}

#por-container .items-grid-cell {
    box-sizing: border-box;
    min-width: 0;
    border-right: 1px solid #000000;
    border-bottom: 1px solid #000000;
    color: #000000;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    line-height: 1.35;
    overflow-wrap: break-word;
    word-break: normal;
    white-space: normal;
}

#por-container .por-table-header {
    min-height: 28px;
    padding: 5px 6px;
    background: #e6e6e6;
    font-weight: bold !important;
    line-height: 1.25;
    text-align: center;
    align-content: center;
}

#por-container .por-table-data {
    padding: 5px 7px;
    background: #ffffff;
    vertical-align: top;
}

#por-container .line-item-row .items-grid-cell {
    min-height: 245px;
}

#por-container .item-cell {
    grid-column: 1;
}

#por-container .description-cell {
    grid-column: 2;
}

#por-container .qty-cell {
    grid-column: 3;
}

#por-container .rate-cell {
    grid-column: 4;
}

#por-container .amount-cell {
    grid-column: 5;
}

#por-container .tax-cell {
    grid-column: 6;
}

#por-container .qty-cell,
#por-container .rate-cell,
#por-container .amount-cell {
    text-align: right;
    white-space: nowrap;
}

#por-container .tax-cell {
    text-align: left;
    white-space: nowrap;
}

#por-container .description-title {
    margin-bottom: 18px;
}

#por-container .description-text {
    line-height: 1.35;
    overflow-wrap: break-word;
    white-space: normal;
}

#por-container .summary-row .items-grid-cell {
    min-height: 62px;
}

#por-container .tax-summary-cell {
    grid-column: 1 / span 3;
}

#por-container .subtotal-cell {
    grid-column: 4 / span 3;
}

#por-container .tax-summary {
    padding: 0 8px 0 6px;
}

#por-container .tax-summary-title {
    margin-bottom: 2px;
    font-weight: 700;
}

#por-container .tax-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 120px;
    column-gap: 10px;
    line-height: 1.25;
}

#por-container .subtotal-box,
#por-container .total-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 50px;
    padding: 11px 2px 0 6px;
    font-size: 14px;
}

#por-container .subtotal-box strong,
#por-container .total-box strong {
    font-size: 16px;
}

#por-container .total-row .items-grid-cell {
    min-height: 62px;
}

#por-container .total-empty-cell {
    grid-column: 1 / span 3;
}

#por-container .total-cell {
    grid-column: 4 / span 3;
}

#por-container .num {
    text-align: right;
    white-space: nowrap;
}

#por-container .tax {
    text-align: left;
    white-space: nowrap;
}
#por-container .notes {
    margin-top: 8px;
    padding: 0 4px;
    font-size: 12px;
    line-height: 1.35;
}

#por-container .notes strong {
    font-weight: 400;
}

#por-container .notes p {
    margin: 3px 0 8px 0;
}

#por-container .footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 12px;
    padding: 0 4px;
    background: transparent;
    color: #000000;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.28;
}

#por-container .footer > div {
    white-space: nowrap;
}

#por-container .footer-center {
    margin-left: 12px;
    margin-right: 12px;
    text-align: center;
}

#por-container .footer-right {
    text-align: right;
}


