﻿body {
}

.invoice {
    display: flex;
    flex-direction: row;
    align-items: center;
    min-height: 125px;
}

    .invoice:nth-child(odd) {
        background-color: #f2f2f2;
    }

    .invoice:nth-child(even) {
    }

    .invoice:hover {
        background-color: #ebebeb;
    }

a.showItems {
    float: left;
    position: absolute;
}

.loading {
    display: flex;
    align-items: center;
    justify-content: center;
}

div.col-3.top,
div.col-5.top,
div.col-1.top,
div.col-2.top,
div.col-6.top {
    font-weight: bold;
}

.cost {
    float: right;
    text-align: right;
}

.tax{
    text-align: right;
}

li.lineItem {
    list-style-type: none;
}

.invoiceHeadings {
    font-weight: 500;
}

.invoice .nameAndButtons {
    align-items: center;
    display: flex;
    padding-left: 20px;
    font-weight: 500;
}

div.invoice div.col-3.quantity, div.invoice div.col-3.cost{
    display: block;
}
label button {
    margin-top: 10px
}

.submitButton {
    float: right;
}

/*div.footer {
    font-weight: bold;npm
    float: right;
}*/

button {
    margin-bottom: 15px;
}

.invoiceLabel {
    font-weight: normal;
}

li.lineItem span.col-2.right {
    text-align: right;
}

ul.invoiceLineItems {
    padding: 0;
}

.summary-container {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 1rem;

    .saveAllForLater {
        flex: 0 0 auto;
    }

    .coupon-summary {
        margin-left: auto;
    }

.summary {
        min-width: 300px;

        .label {
            font-weight: 500;
    text-align: right;
}

        .submitButton {
            width: auto;
            display: block;
            margin-top: 1rem;
            margin-left: auto;
        }
    }
}

.totalLabels{
    font-weight: 500;
    text-align: left;
}

.totalCost {
    display: grid;
    grid-template-columns: max-content max-content;
    justify-content: end;
    column-gap: 12px;
    white-space: nowrap;
  }
  
  .totalLabel {
    font-weight: 500;
    min-width: 80px; 
    text-align: right;
  }
  
  .totalValue {
    text-align: right;
  }