@font-face {
    font-family: Vazirmatn;
    font-style: normal;
    font-weight: bold;
    src: url('../fonts/vazir/Vazirmatn[wght].woff2') format('woff2'),
        url('../fonts/vazir/Vazirmatn[wght].ttf') format('truetype');
    font-display: swap;
}
@font-face {
    font-family: Vazirmatn;
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/vazir/Vazirmatn[wght].woff2') format('woff2'),
        url('../fonts/vazir/Vazirmatn[wght].ttf') format('truetype');
    ;
    font-display: swap;
}
@font-face {
    font-family: Vazirmatn;
    font-style: normal;
    font-weight: normal;
    src: url('../fonts/vazir/Vazirmatn[wght].woff2') format('woff2'),
        url('../fonts/vazir/Vazirmatn[wght].ttf') format('truetype');
    ;
    font-display: swap;
}

.ltr
{
    direction: ltr;
}
.farsi_digits {
    font-feature-settings: "ss01";
}

html,
body {
    background: #E9EEF1;
    font-size: 13px;
    font-family: Vazirmatn, sans-serif;
    color: #646464;
}

select optgroup,
select option
{
    font-family: Vazirmatn, sans-serif;
}
.invoice-wrapper {
    padding: 50px 0;
}
.invoice {
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    -o-border-radius: 4px;
    -ms-border-radius: 4px;
    background: #fff;
    padding: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05) , 0 50px 30px 10px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05) , 0 50px 30px 10px rgba(0, 0, 0, 0.05);
    -webkit-box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05) , 0 50px 30px 10px rgba(0, 0, 0, 0.05);
    -o-box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05) , 0 50px 30px 10px rgba(0, 0, 0, 0.05);
    -ms-box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05) , 0 50px 30px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: relative;
}
.invoice-header {
    padding: 15px;
    background: #03A9F4;
    color: #fff;
    text-align: center;
}
.invoice-header h1 {
    font-size: 16px;
}
.invoice-body {
    padding: 15px;
    overflow: auto;
    height: auto;
}
.invoice-heading {
    width: 100%;
    border-collapse: collapse;
}
.invoice-heading .logo {
    width: 64px;
    height: 64px;
    background: #e8eced;
    border-radius: 64px;
    -moz-border-radius: 64px;
    -webkit-border-radius: 64px;
    -o-border-radius: 64px;
    -ms-border-radius: 64px;
    padding: 8px;
    display: inline-block;
    vertical-align: top;
    margin-left: 16px;
}
.invoice-heading .heading-text {
    display: inline-block;
    height: auto;
}
.invoice-heading h2 {
    line-height: 1.5em;
    color: #000;
    display: inline-block;

    font-size: 2em;
    letter-spacing: -1px;
}
.invoice-heading h3 {
    line-height: 1em;
    display: inline-block;
    font-size: 16px;
    font-weight: lighter;
}
.invoice .invoice-table {
    margin: 15px 0;
}
.invoice-table thead small {
    color: #03A9F4;
}
.invoice-table th.t,
.invoice-table td.t {
    border-right: 2px #ced4da solid;
}
.invoice-table th.n,
.invoice-table td.n {
    padding: 0;
    text-align: center;
    width: 1.5em;
    font-size: 14px;
    min-width: 1em;
    font-weight: bold;
    vertical-align: middle;
}
.invoice-table td,
.invoice-table th {
    /*  white-space: nowrap;*/
}
.invoice-table td.n.l {
    width: auto;
    text-align: left;
    padding: 0 8px;
}
.invoice-table tfoot th {
    /*  border-top: 2px #ced4da solid !important;*/
}
.p-h1
{
    font-family: Vazirmatn, sans-serif;
}
.table-borderless tbody+tbody, .table-borderless td, .table-borderless th, .table-borderless thead th {
    border: 0;
}

table.invoice-info-table
{
    float: right;
}

table.invoice-info-table td
{
    padding: 5px 5px 5px 5px;
}

@media screen and (max-width: 1000px)
{

}

.invoice-table-front .td-title,
.invoice-details-title
{
    display: none;
}

@media screen and (max-width: 600px)
{
    table.invoice-info-table
    {
        float: right;
    }

    .invoice-table-front
    {
        border: none;

    }
    .invoice-table-front thead
    {
        display: none;
    }
    .invoice-table-front .td-title
    {
        display: contents !important;

    }

    .invoice-table-front td {
        text-align: right !important;
    }

    .invoice-table-front td,
    .invoice-table-front th
    {
        width: 100%;
        display: block;
        padding: .35rem;
        border:  none;

    }

    .invoice-table-front tr
    {
        display: block;
        border:  1px solid #dee2e6;
        margin-top: 5px;
        border-radius: 10px;
    }

    .invoice-table-front th.tf-total
    {
        text-align: center !important;
    }

    .invoice-details-title{
        display: block;
        text-align: center;
    }
}

