﻿.h-print {
    padding: 17px;
}

/*.form-printType{
    padding:17px;
}

table.printType {
    width: 100%;
margin: auto;
}


 table.printType > tbody > tr:nth-child(odd)
 {
     background-color:#ccc;
 }

    table.printType > thead > tr > th {
        text-align:center !important;
       
        font-weight: bold;
        border: 1px solid #6f6c6c;
        padding:4px 8px 8px 8px;
    }

    table.printType > thead > tr > th:first-child {
        width:20px;
    }


    table.printType > tbody > tr > td {
        text-align:center !important;
        border: 1px solid #6f6c6c;
        padding:3px 8px 5px 8px;
    }*/




#lblCompanyName, #lblCustomerName , #lbltitle{
    font-weight: bold;
    font-size: 16px;
}
.TotalRow {
    border-style: none !important;
    background: white !important;
}

.newform.h-print > .form-body .tbl-header {
    text-align: center;
    background-color: #E4EFF6;
    padding: 5px 0px;
    margin: 0px;
    font-weight: bold;
}

.newform.h-print > .form-body .summery > div > div > label {
    /*background-color: #DDE6ED !important;*/
    font-weight: bold !important;
}


@page {
    /*size: A4;*/
    width: 210mm;
    height: 297mm;
    /*    margin: 0;
    padding: 0;
    margin: 2cm;*/
}
/* All margins set to 2cm */



@media print {
    .no-print-border {
        border: none !important;
    }

    .noprint-textarea {
        border: none;
    }

    /*#form {
        display: inline;
        background-image: url('../img/OfficialInvoice3.jpg')
    }*/

    @media (max-width: 500px) and (max-width: 1000px) {
        body {
            background-color: lightblue !important;
        }
    }


    @font-face {
        font-family: 'BNazanin';
        src: url('../Fonts/BNazanin.ttf') format('truetype');
    }



    body, page[size="A4"] {
        margin: 0;
        box-shadow: 0;
        padding: 0;
        font-family: 'BNazanin';
    }

    .printpayement {
        font-size: 17px !important;
    }



    .dont-print {
        display: none !important;
    }

    .form-toolbar {
        display: none !important;
    }

    #lblCompanyName ,#lblCustomerName , #lbltitle {
        font-weight: bold;
        font-size: 14px;
    }






    .newform.h-print > .form-body {
        width: 750px;
    }

        .newform.h-print > .form-body .part > div.part-body > .row > div {
            min-width: 150px;
            max-width: 400px;
        }



    .newform .part-body > .row input[type="password"],
    .newform .part-body > .row input[type="datetime"],
    .newform .part-body > .row input[type="date"] {
        min-width: 150px;
        max-width: 400px;
    }


    .newform .part-body > .row select {
        min-width: 100px;
        max-width: 150px;
    }

    .newform > .form-body .part {
        margin-bottom: 10px;
        border-bottom: 1px solid rgba(163, 140, 140, 0.50);
    }


        .newform > .form-body .part:first-child {
            margin-bottom: 10px;
            border-bottom: 1px solid rgba(163, 140, 140, 0.50);
        }

    .newform > .form-body > .part > .part-body {
        background-color: none !important;
        border: none !important;
        padding: 0px !important;
    }

    .newform > .form-body .part > div.part-body > .row > div > div {
        background-color: none !important;
        border: none !important;
        margin: 0px 1px !important;
    }
    /*---------------------------------------------------------------------------------------------------------------------------------*/
    .invoice-print > #snTitle {
        position: absolute;
        top: 10mm !important;
        right: 140mm !important;
        font-weight: bold;
        font-size: medium;
    }

    .invoice-print > #snDate {
        position: absolute;
        top: 22mm !important;
        right: 263mm !important;
        font-weight: bold;
    }

    .invoice-print > #snCstmNam {
        position: absolute;
        top: 55mm !important;
        right: 4.3cm !important;
    }

    .invoice-print > #snCstmAddress {
        position: absolute;
        top: 63mm !important;
        right: 1.6cm !important;
        font-size: 12px !important;
    }

    .invoice-print > #snCstmEconomicalCode {
        position: absolute;
        top: 56mm !important;
        right: 130mm !important;
        text-align: center;
    }

    .invoice-print > #snCstmPostalCode {
        position: absolute;
        top: 62mm !important;
        right: 130mm !important;
        text-align: center;
    }

    .invoice-print > #snCstmNationalCode {
        position: absolute;
        top: 56mm !important;
        left: 22mm !important;
        text-align: center;
    }

    .invoice-print > #snCstmTel {
        position: absolute;
        top: 62mm !important;
        left: 22mm !important;
    }

    .invoice-print > #snPrint {
        font-size: 8pt;
        position: absolute;
        top: 177mm !important;
        right: 70mm !important;
    }

    .invoice-print > #aPrint {
        text-align: center !important;
        position: relative !important;
        left: auto !important;
    }

    .invoice-print > #sntotalVat {
        position: absolute;
        top: 160mm !important;
        right: 257mm !important;
        font-weight: bold;
    }

    .invoice-print > #snconvertNumbertodigit {
        position: absolute;
        top: 163mm !important;
        right: 127mm !important;
        font-weight: bold;
    }

    .invoice-print > #snShipper {
        position: absolute;
        top: 169mm !important;
        left: 27mm !important;
        text-align: center;
    }

    .invoice-print > #snConsignee {
        position: absolute;
        top: 176mm !important;
        left: 27mm !important;
        text-align: center;
    }

    .invoice-print > #snBlNo {
        position: absolute;
        top: 185mm !important;
        left: 27mm !important;
        text-align: center;
    }

    .invoice-print > #SnOrderNo {
        position: absolute;
        top: 185mm !important;
        left: 86mm !important;
    }

    .invoice-print > #snArrivaldate {
        position: absolute;
        top: 195mm !important;
        left: 27mm !important;
    }

    .invoice-print > #snGrossWeight {
        position: absolute;
        top: 195mm !important;
        left: 87mm !important;
    }

    .invoice-print > #tblOfficialInvoice {
        width: 95% !important;
        direction: rtl !important;
        margin-top: 317px !important;
        text-align: center !important;
        font-weight: bold;
    }

    .invoice-print > #lblJobnum {
        position: absolute;
        top: 22mm !important;
        right: 190mm !important;
        font-family: 'B Nazanin' !important;
        font-size: 14px !important;
        direction: rtl !important;
        font-weight: bold;
    }

    .invoice-print > #snJobnum {
        position: absolute;
        top: 23mm !important;
        right: 208mm !important;
        font-family: Arial !important;
        font-size: 14px !important;
        display: inline-block;
        width: 140px !important;
        font-weight: bold;
    }





    .invoice-print > #tblOfficialInvoice > tbody > tr > td:first-child {
        line-height: 27px !important;
    }


    .width-style1 {
        width: 9% !important;
    }

    .width-style3 {
        width: 13% !important;
    }

    .noprint {
        display: none !important;
    }

    input[type=checkbox].InOfficialstatement {
        display: none !important;
    }

    .dynamic-div {
        border: none !important;
        padding:5px;
    }
  
    /*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/
    /*div.admiral > #SpnCompanyName {
        display: none !important;
    }

    div.admiral > #SpnCompanyAddress {
        display: none !important;
    }

    div.admiral > #SpnCompanyNationalCode {
        display: none !important;
    }

    div.admiral > #SpnCompanyRegisterCode {
        display: none !important;
    }

    div.admiral > #SpnCompanyEconomicalCode {
        display: none !important;
    }

    div.admiral > #SpnCompanyTel {
        display: none !important;
    }

    div.admiral > #SpnCompanyFax {
        display: none !important;
    }

    div.admiral > #SpnCompanyPostalCode {
        display: none !important;
    }

  

    div.admiral > #snDate {
        top: 1mm !important;
        right: 228mm !important;
    }

    div.admiral > #snCstmNam {
        top: 55mm !important;
        right: 3cm !important;
    }

    div.admiral > #snCstmAddress {
        top: 75mm !important;
        right: 6cm !important;
    }

    div.admiral > #snCstmNationalCode {
        top: 69mm !important;
        right: 22cm !important;
    }

    div.admiral > #snCstmRegisterCode {
        top: 54mm !important;
        right: 23cm !important;
    }

    div.admiral > #snCstmPostalCode {
        top: 69mm !important;
        right: 17cm !important;
    }

    div.admiral > #snCstmEconomicalCode {
        top: 55mm !important;
        right: 16cm !important;
    }

    div.admiral > #snCstmTel {
        top: 76mm !important;
        right: 25cm !important;
    }

    div.admiral > #snCstmFax {
        top: 76mm !important;
        right: 40cm !important;
    }

    div.admiral {
        font-size: 13pt !important;
    }*/
}
