 @font-face {
    font-family: "Nazanin";
    src: url(data:font/ttf;base64,[encoded data, 82144 characters]) format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    direction: rtl;
    margin: 0;
    padding: 0;
    font-family: 'Nazanin';
    font-size: 11px;
    color: #000000;
}

.page {
    margin: 0;
    padding: 0;
    width: 210mm;
    height: 297mm;
    overflow: hidden;
}

.adjustmentcontent {
    position: relative;
    top: 0;
    left: 0;
    height: 100%;
}

    .adjustmentcontent[orientation="landscape"] {
        height: 210mm;
        width: 277mm;
        top: 0;
        left: 0;
        padding: 0 10mm;
        -ms-transform: rotate(90deg);
        -webkit-transform: rotate(90deg);
        transform: rotate(90deg);
        -ms-transform-origin: 149mm 149mm;
        -webkit-transform-origin: 149mm 149mm;
        -o-transform-origin: 149mm 149mm;
        transform-origin: 149mm 149mm;
    }

    .adjustmentcontent[orientation="portrait"] {
        margin: 0;
        padding: 0 10mm;
    }

.adjustment-header {
    position: relative;
    height: 31mm;
}

.adjustment-title {
    position: relative;
    top: 0;
    text-align: center;
    padding: 2px 0 0;
}

.adjustment-header-row {
    margin: 2px 0 8px;
    padding:0 2px 0;
    position: relative;
    font-size: 13px;
    text-align: right;
}

.adjustmentcontent[orientation="landscape"] .adjustment-table {
    height: 170mm;
}

.adjustmentcontent[orientation="portrait"] .adjustment-table {
    height: 255mm;
}

.adjustment-table {
    position: relative;
    display: block;
    overflow: hidden;
    width: 100%;
}

    .adjustment-table table {
        font-size: 12px;
        width: 100%;
        position: relative;
        display: table;
        border: 1px solid #000000;
        border-collapse: collapse;
    }

thead {
    display: table-header-group;
}

tfoot {
    display: table-row-group;
}

tr {
    page-break-inside: avoid;
    height: 10mm;
}

.adjustment-table table th, .adjustment-table table td {
    border: 1px solid #000000;
    padding: 2px 2px;
}

.adjustment-table table th {
    background-color: #a9a9a9;
    font-weight: bold;
}

.adjustment-pageNumber {
    position: absolute;
    bottom: 5mm;
    text-align: center;
    width: 100%;
}