/*
IranYekanX fonts are considered a proprietary software. To gain information about the laws 
regarding the use of these fonts, please visit www.fontiran.com
---------------------------------------------------------------------
This set of fonts are used in this project under the license: W416D5ZS
---------------------------------------------------------------------
*/

@font-face {
    font-family: 'IRANYekanXVF';
    src: url('../fonts/yekan/IRANYekanXVF.woff') format('woff-variations'),
    /* will be the standard and works in Safari now */
    url('../fonts/yekan/IRANYekanXVF.woff') format('woff');
    /* for the other supporting browsers */
    font-weight: 100 1000;
    font-display: fallback;

}

.ltr
{
    direction: ltr;
}
.farsi_digits {
    -moz-font-feature-settings: "ss02";
    -webkit-font-feature-settings: "ss02";
    font-feature-settings: "ss02"
}
.main-logo
{
    max-width: 256px;
    max-height: 256px;
}
html,
body {
    background: #E9EEF1;
    font-size: 13px;
    font-family: IRANYekanXVF, sans-serif;
    color: #646464;
}

select optgroup,
select option
{
    font-family: IRANYekanXVF, sans-serif;
}
.invoice-wrapper {
    padding: 50px 0;
}
.text-left
{
    text-align: left !important;
}
.text-right
{
    text-align: right !important;
}

.text-center
{
    text-align: center !important;
}
.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: 300;
}
.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: IRANYekanXVF, 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;
}
table.invoice-table-front th,
table.invoice-table-front td
{
    padding: 4px !important;
}

@media screen and (min-width: 600px)
{

    .invoice-table-front .w-30
    {
        width: 30%;
    }

    .invoice-table-front .w-20
    {
        width: 20%;
    }
    .invoice-table-front .w-15
    {
        width: 15%;
    }
    .invoice-table-front .w-10
    {
        width: 10%;
    }
    .invoice-table-front .w-5
    {
        width: 5%;
    }
}

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

.inv-footer-tbl th
{
    text-align: center;
}
@media screen and (max-width: 600px)
{
    .inv-footer-tbl th
    {
        text-align: right;
    }
    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;
    }
}

