@font-face {
    font-family: "primary-font";
    src: url("/helper/admin/fonts/iran-yekan-300.eot");
    src: url("/helper/admin/fonts/iran-yekan-300.eot?#iefix") format("embedded-opentype"), url("/helper/admin/fonts/iran-yekan-300.woff2") format("woff2"), url("/helper/admin/fonts/iran-yekan-300.woff") format("woff"), url("/helper/admin/fonts/iran-yekan-300.ttf") format("truetype");
    font-weight: 300;
}

@font-face {
    font-family: "primary-font";
    src: url("/helper/admin/fonts/iran-yekan-400.eot");
    src: url("/helper/admin/fonts/iran-yekan-400.eot?#iefix") format("embedded-opentype"), url("/helper/admin/fonts/iran-yekan-400.woff2") format("woff2"), url("/helper/admin/fonts/iran-yekan-400.woff") format("woff"), url("/helper/admin/fonts/iran-yekan-400.ttf") format("truetype");
    font-weight: 400;
}

@font-face {
    font-family: "primary-font";
    src: url("/helper/admin/fonts/iran-yekan-500.eot");
    src: url("/helper/admin/fonts/iran-yekan-500.eot?#iefix") format("embedded-opentype"), url("/helper/admin/fonts/iran-yekan-500.woff2") format("woff2"), url("/helper/admin/fonts/iran-yekan-500.woff") format("woff"), url("/helper/admin/fonts/iran-yekan-500.ttf") format("truetype");
    font-weight: 500;
}

@font-face {
    font-family: "primary-font";
    src: url("/helper/admin/fonts/iran-yekan-700.eot");
    src: url("/helper/admin/fonts/iran-yekan-700.eot?#iefix") format("embedded-opentype"), url("/helper/admin/fonts/iran-yekan-700.woff2") format("woff2"), url("/helper/admin/fonts/iran-yekan-700.woff") format("woff"), url("/helper/admin/fonts/iran-yekan-700.ttf") format("truetype");
    font-weight: 700;
}

.font-titr {
    font-family: "primary-font";
}


.font-nazanin {
    font-family: "primary-font";
    font-size: small !important;
}

.font-shabnam{
    font-weight:800 !important;
}
@page {
    size: A4 landscape;
    margin: 0;
    margin-bottom: 0.5cm;
    margin-top: 0.5cm;
    max-width: 29.7cm;
    width: 29.7cm;
    font-family: "primary-font";
}


html, body {
        font-family: "primary-font";
    width: 100%;
    padding: 0;
    margin: 0 auto;
    max-width: 29.7cm;
    -webkit-print-color-adjust: exact;
}

body {
        font-family: "primary-font";
    padding: 0.5cm
}

* {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

table {
    width: 100%;
    table-layout: fixed;
    border-spacing: 0;
}

.header-table {
    table-layout: fixed;
    border-spacing: 0;
}

    .header-table td {
        padding: 0;
        vertical-align: top;
    }

body {
        font-family: "primary-font";
    font-size: 9px;
    direction: rtl;
}

.print-button {
    cursor: pointer;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    border-radius: 5px;
    background: none;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    position: relative;
    outline: none;
    text-align: center;
    padding: 8px 16px;
    font-size: 12px;
    font-size: .857rem;
    line-height: 1.833;
    font-weight: 700;
    background-color: #0fabc6;
    color: #fff;
    border: 1px solid #0fabc6;
}

.page {
        font-family: "primary-font";
    background: white;
    page-break-after: always;
}

.flex {
    display: flex;
}

    .flex > * {
        float: right;
    }

.flex-grow {
    flex-grow: 10000000;
}

.barcode {
    text-align: center;
    margin: 12px 0 0 0;
    height: 30px;
}

    .barcode span {
        font-size: 35pt;
        font-family: 'Libre Barcode 128';
    }

.portait {
    transform: rotate(-90deg) translate(0, 40%);
    text-align: center;
}

.header-item-wrapper {
    border: 1px solid #000;
    width: 100%;
    height: 100%;
    background: #eee;
    display: flex;
    align-content: center;
}

thead, tfoot {
    background: #eee;
}

.header-item-data {
    height: 100%;
    width: 100%;
}

.bordered {
    border: 1px solid #000;
    padding: 0.12cm;
}

.header-table table {
    width: 100%;
    vertical-align: middle;
}

.content-table {
    border-collapse: collapse;
}

    .content-table td, th {
        border: 1px solid #000;
        text-align: center;
        padding: 0.1cm;
        font-weight: normal;
    }

table.centered td {
    vertical-align: middle;
}

.serials {
    direction: ltr;
    text-align: left;
}

.title {
        font-family: "primary-font";
    text-align: right;
}

.grow {
    width: 100%;
    height: 100%;
}

.font-small {
    font-size: 8pt;
}

.font-medium {
        font-family: "primary-font";
    font-size: 10pt;
}

.font-big {
        font-family: "primary-font";
    font-size: 15pt;
}

.label {
        font-family: "primary-font";
    font-weight: 400;
    padding: 0 0 0 2px;
}



.ltr {
    direction: ltr;
    display: block;
}

@media print {
    .print-button {
        display: none;
        visibility: hidden;
    }
}

tr:nth-child(6n) {
    page-break-after: always !important;
}