﻿
@font-face {
    font-family: "Nazanin";
    src: url("../font/BNazanin.eot?") format("eot"),url("../font/BNazanin.woff") format("woff"),url("../font/BNazanin.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@page {
    size: A5;
    margin: 0;
}

body {
    font-family: 'Nazanin';
    direction: rtl;
    margin: 0 auto;
    height: 148.5mm;
    width: 210mm;
}

.div-body {
    border: 1px solid #000;
    height: 500px;
    margin: 10px;
}

@media print {
    html,
    body {
        height: 99%;
        page-break-after: avoid;
        page-break-before: avoid;
    }
}

h5 {
    text-align: center;
    line-height: 5px;
}

.header-text {
    margin-right: 39%;
    margin-top: 15px;
    line-height: 20px;
    font-size: 18px;
}

.factor-date {
    float: left;
    font-size: 12px;
}

.factor-owner {
    height: 30px;
    border-bottom: 1px solid #000;
    border-top: 1px solid #000;
}

    .factor-owner label {
        font-size: 15px;
        padding-right: 15px;
    }

    .factor-owner span {
        font-size: 14px;
    }

.service-date {
    font-size: 13px;
    text-align: center;
}

    .service-date label {
        border-top: 1px solid #000;
        border-left: 1px solid #000;
        border-right: 1px solid #000;
        padding: 0 5px 0 5px;
    }

th {
    text-align: center;
    font-size: 14px;
}

table {
    border-collapse: collapse;
    width: 100.30%;
    border: 1px solid #d7d7d7;
    margin-top: 15px;
    margin-right: -1px;
}

th,
td {
    border: 1px solid black;
    border-collapse: collapse;
}

thead {
    border: 1px solid #d7d7d7;
}

tr {
    border: 1px solid #d7d7d7;
}

td {
    text-align: center;
}

.title-th {
    width: 450px;
}

.title-td {
    text-align: right;
}

.description {
    height: 75px;
    border-bottom: 1px solid #000;
    border-left: 1px solid #000;
    display: inline-block;
    width: 64%;
}

h6 {
    border-top: 1px solid #000;
}

.total-price {
    border-bottom: 1px solid;
    display: inline-block;
    height: 75px;
    float: left;
    width: 36%;
    margin-right: -1px;
}

    .total-price div {
        border-top: 1px solid #000;
    }

    .total-price label {
        font-size: 13px;
        padding-right:4px;
    }

    .total-price span {
       float:left;
    }
