.invoice {
    position: relative
}

.invoice-wrap {
    padding: 1.25rem;
    border: 1px solid #dbdfea;
    border-radius: 4px;
    background: #fff
}

.invoice-action {
    position: absolute;
    right: 1.25rem;
    top: 1.25rem
}

.invoice-brand {
    padding-bottom: 1.5rem
}

.invoice-brand img {
    max-height: 60px
}

.invoice-bills {
    font-size: 12px
}

.invoice-bills .table {
    min-width: 580px
}

.invoice-bills .table th {
    color: #2263b3;
    font-size: 12px;
    text-transform: uppercase;
    border-top: 0
}

.invoice-bills .table th:last-child,
.invoice-bills .table td:last-child {
    text-align: right
}

.invoice-bills .table tfoot {
    border-top: 1px solid #dbdfea
}

.invoice-bills .table tfoot td {
    border-top: 0;
    white-space: nowrap;
    padding-top: .25rem;
    padding-bottom: .25rem
}

.invoice-bills .table tfoot tr:last-child td:not(:first-child),
.invoice-bills .table tfoot tr:first-child td:not(:first-child) {
    font-weight: 500;
    padding-top: 1.25rem;
    padding-bottom: .25rem
}

.invoice-bills .table tfoot tr:last-child td:not(:first-child) {
    border-top: 1px solid #dbdfea;
    padding-top: .25rem;
    padding-bottom: .25rem
}

.invoice-head {
    padding-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    flex-direction: column
}

.invoice-desc {
    width: 210px;
    padding-top: 1.5rem
}

.invoice-desc .title {
    text-transform: uppercase;
    color: #2263b3
}

.invoice-desc ul li {
    padding: .25rem 0
}

.invoice-desc ul span {
    font-size: 13px;
    font-weight: 500;
    color: #526484
}

.invoice-desc ul span:first-child {
    min-width: 90px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8094ae
}

.invoice-desc ul span:last-child {
    padding-left: 0.75rem
}

.invoice-contact .title {
    margin-bottom: 1rem
}

.invoice-contact ul li {
    padding: .5rem 0;
    line-height: 1.3
}

.invoice-contact ul li:first-child {
    padding-top: 0
}

.invoice-contact ul li:last-child {
    padding-bottom: 0
}

.invoice-contact ul .icon {
    line-height: 1.3;
    font-size: 1.1em;
    display: inline-block;
    vertical-align: top;
    margin-top: -2px;
    color: #2263b3;
    margin-right: .5rem
}

.invoice-contact ul .icon+span {
    display: inline-block;
    vertical-align: top;
    color: #8094ae
}

.invoice-print {
    max-width: 940px;
    margin: 2rem auto
}

.invoice-print .invoice-wrap {
    padding: 0;
    border: none !important
}

@media (min-width: 768px) {
    .invoice-wrap {
        padding: 3rem
    }
    .invoice-head {
        flex-direction: row
    }
    .invoice-desc {
        padding-top: 0
    }
    .invoice-bills {
        font-size: .875rem
    }
}
