﻿
.bnazanin {
    font-family: 'B Nazanin' !important;
}

.print-page {
    height: 27.6cm;
    /*page-break-after:always;*/
}

    .print-page > fieldset > div {
        page-break-inside: avoid;
    }

input[type="checkbox"] {
    vertical-align: middle;
}

.logo {
    height: 121px !important;
    width: 211px !important;
    margin-top: 2px;
}

.enfont {
    font-family: Calibri !important;
}

.block {
    display: block;
}

.center {
    text-align: center;
}

fieldset {
    border: 0;
    border-top: 1px solid maroon;
}

    fieldset:last-of-type {
        margin-bottom: 0px;
    }

legend {
    color: maroon;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    unicode-bidi: plaintext;
}

.font-12-bold {
    font-size: 12px !important;
    font-weight: bold !important;
}

.font-13-bold {
    font-size: 13px !important;
    font-weight: bold !important;
}

.Notice-Print body {
    margin: 0px;
    padding: 0px;
    font-size: 11px;
}

.Road-Print > form {
    border: 1px solid white;
}

    .Road-Print > form > div:not(.hints-part) {
        /*border-bottom: 1px solid #3c3737;*/
    }

    .Road-Print > form > div:not(.aspNetHidden):not(.header-part) {
        padding: 7px 10px;
    }

.fileInfo-part {
    padding: 6px 60px;
}

.Road-Print .toolbar {
    background-color: lightgray;
}

.Road-Print .header-part {
    height: 138px;
}

    .Road-Print .header-part > div {
        width: 33.33%;
    }

        .Road-Print .header-part > div.info .field-value {
            /*font-weight: bold;*/
            font-size: 13px;
        }

    .Road-Print .header-part > .title {
        text-align: center;
        padding-top: 27px;
        font-weight: bold;
    }

        .Road-Print .header-part > .title > .company-name {
            font-size: 21px;
            padding: 3px 0px;
        }

        .Road-Print .header-part > .title > .paper-header {
            font-size: 21px;
            padding: 7px 0px;
        }


    .Road-Print .header-part > .info {
        margin-top: 14px;
    }

.Road-Print .fileInfo-part {
    clear: both;
}

    .Road-Print .fileInfo-part .info-box {
        vertical-align: top;
        border: 1px solid #7d7979;
        margin: 7px 3px;
    }

    .Road-Print .fileInfo-part.withSaleItem .info-box {
        padding: 0px 10px;
    }

        .Road-Print .fileInfo-part.withSaleItem .info-box.foot {
            padding: 3px 10px;
        }

    .Road-Print .fileInfo-part.noSaleItem .info-box {
        padding: 14px 10px;
    }

/*.Road-Print .fileInfo-part.noSaleItem.noTerms .info-box {
        padding: 20px 25px;
    }*/




.info-box.inline-box {
    display: inline-block;
    width: 49%;
}

.header-Box{
    font-size:16px;
    text-align:right;
}

/*.Road-Print .fileInfo-part.noSaleItem.noTerms .info-box .field-title {
    padding: 14px 14px;
}*/

.Road-Print .fileInfo-part.withSaleItem .info-box .field-title {
    padding: 2px 6px;
}

.Road-Print .fileInfo-part.withSaleItem .info-box .field-value {
    font-size: 10.5px;
}

.Road-Print .fileInfo-part.noSaleItem .info-box .field-value {
    font-size: 11px;
    font-weight: bolder;
}

/*.Road-Print .fileInfo-part.noSaleItem.noTerms .info-box .field-value {
    font-size: 14px;
    font-weight: bolder;
}*/


.Road-Print .fileInfo-part .info-box > div {
    padding: 6px 3px;
}

    .Road-Print .fileInfo-part .info-box > div:not(:last-child) {
        border-bottom: 1px dashed #928b8b;
    }


.Road-Print .fileInfo-part.withSaleItem .info-box > div {
    padding: 0px !important;
}

/*.Road-Print .fileInfo-part.noSaleItem.noTerms .info-box > div {
    padding: 0px 14px;
}*/
.Road-Print .saleItem-part > table {
    width: 100%;
    border: 1px solid #b1b0b0;
    border-spacing: initial;
}

    .Road-Print .saleItem-part > table > thead {
        background-color: #ddd;
    }

        .Road-Print .saleItem-part > table > thead > tr > th {
            border-left: 1px solid #b1b0b0;
            border-bottom: 1px solid #b1b0b0;
            border-top: 1px solid #b1b0b0;
            padding: 8px 6px;
            font-weight: bold;
            font-size: 14px;
        }

    .Road-Print .saleItem-part > table > tbody > tr > td, .Road-Print .saleItem-part > table > tfoot > tr > td {
        border-bottom: 1px solid #b1b0b0;
        padding: 6px 6px;
        font-size: 14px !important;
        border-left: 1px solid #b1b0b0;
    }

    .Road-Print .saleItem-part > table > tfoot > tr:last-child > td {
        border-bottom: 1px solid #b1b0b0 !important;
    }

.ContainerList-part > table {
    width: 100%;
    border-spacing: initial;
    border: 1px solid #b1b0b0;
}

    .ContainerList-part > table > thead {
        background-color: #ddd;
    }

        .ContainerList-part > table > thead > tr > th {
            border-left: 1px solid #b1b0b0;
            border-bottom: 1px solid #b1b0b0;
            border-top: 1px solid #b1b0b0;
            padding: 1px 2px;
            font-weight: bold;
            font-size: 14px;
        }

    .ContainerList-part > table > tbody > tr > td{
        border-bottom: 1px solid #b1b0b0;
        padding: 1px 2px;
        font-size: 14px !important;
        border-left: 1px solid #b1b0b0;
    }

.Road-Print .terms-part * {
    background-color: white;
    font-family: Tahoma;
    line-height: 30px;
    font-size: 16px;
    text-align: justify;
    margin: 0px;
    padding: 0px;
    font-weight: normal;
}

.saleItem-part .ContainerList-part > table {
    margin-top: 11px;
    margin-bottom: 10px;
}

.Road-Print .hints-part > textarea {
    width: 99%;
    display: block;
    margin: auto;
    border: 3px solid #84a8b7;
    font-family: Tahoma;
    font-size: 16px;
}



.info .field-title {
    width: 97px;
}

.info .field-width-r {
    width: 59px !important;
}

.headerr .field-width-r {
    width: 59px !important;
}

.fileInfo-part > .info-box .field-title {
    width: 130px;
}

.field-title {
    font-weight: normal;
    display: inline-block;
    font-size: 12px;
}

.sign-part {
    font-weight: bold;
}


.address-part {
    border: 1px solid maroon;
    font-size: 19px;
    background-color: #efeded;
}

.foot {
    text-align: center !important;
}

    .foot div {
        display: inline-block;
        text-align: center;
        width: 19%;
        padding: 0px !important;
        border: 1px solid #bab8b8;
        border-bottom: 1px solid #bab8b8 !important;
        vertical-align: top;
    }

    .foot .field-value {
        background-color: #fcf9f9;
        display: block;
        padding: 9px 0px 3px 0px;
        font-size: 14px;
        font-weight: bolder;
        height: 19px;
        margin-left: 0px !important;
        margin-right: 0px !important;
    }

    .foot .field-title {
        width: 100% !important;
        background-color: #f5e7e7 !important;
        display: block;
        padding: 1px 0px !important;
        border-bottom: 1px solid #ccc;
    }



div.Rotate {
    left: -95px;
    position: absolute;
    background-color: transparent;
    z-index: 100000;
    width: 200px;
    height: 10px;
    -ms-transform: rotate(-90deg); /* IE 9 */
    -webkit-transform: rotate(-90deg); /* Chrome, Safari, Opera */
    transform: rotate(-90deg);
    font-size: 8px;
    font-weight: bolder;
    top: 23cm;
}

/*------------------------RTL Setting*/

.Notice-Print body.h-rtl {
    font-family: 'B Nazanin';
}

    .Notice-Print body.h-rtl .saleItem-part .ContainerList-part > table {
        text-align: right;
        border-right: 1px solid #b1b0b0;
    }

    .Notice-Print body.h-rtl .header-part > div {
        float: right;
    }

    .Notice-Print body.h-rtl .header-part > .logo {
        text-align: left;
        float: left !important;
    }

        .Notice-Print body.h-rtl .header-part > .logo > img {
            width: 191px;
        }

    .Notice-Print body.h-rtl .sign-part {
        text-align: left;
    }

    .Notice-Print body.h-rtl .fileInfo-part .info-box .field-value {
        margin-right: 8px;
    }

    .Notice-Print body.h-rtl .info > div {
        margin-right: 16px;
        margin-bottom: 4px;
    }

    .Notice-Print body.h-rtl .fileInfo-part .info-box {
        text-align: right;
    }

/*    .Notice-Print body.h-rtl legend {
        margin: 0 45%;
    }
*/
    .Notice-Print body.h-rtl .field-title {
        font-size: 13px;
    }

/*------------------------LTR Setting*/

.Notice-Print body.h-ltr {
    font-family: 'Calibri';
}

    .Notice-Print body.h-ltr .saleItem-part .ContainerList-part > table {
        text-align: left;
        border-left: 1px solid #b1b0b0;
    }


    .Notice-Print body.h-ltr .header-part > div {
        float: left;
        vertical-align: middle;
    }

    .Notice-Print body.h-ltr .header-part > .logo {
        text-align: right;
        float: right !important;
    }

    .Notice-Print body.h-ltr .sign-part {
        text-align: right;
    }

    .Notice-Print body.h-ltr .fileInfo-part .info-box .field-value {
        margin-left: 8px;
    }

    .Notice-Print body.h-ltr .info > div:not(:last-child) {
        margin-bottom: 6px;
    }

    .Notice-Print body.h-ltr .info > div {
        margin-left: 16px;
    }

    .Notice-Print body.h-ltr .fileInfo-part .info-box {
        text-align: left;
    }


/*    .Notice-Print body.h-ltr legend {
        margin: 0 40%;
    }*/

.Road-Print .terms-part {
    padding: 0px 4px !important;
}

.Notice-Print body.h-ltr .field-title {
    font-size: 12px;
}

.address-part-R > div {
    font-size: 12px;
}

    .address-part-R > div > span {
        unicode-bidi: plaintext;
        margin-left:10px;
    }

.sign-section-R > div > h3 {
    width: 226px;
}

.sign-section-R > div > h3 {
    text-align: center;
    font-family: 'B Nazanin' !important;
}

.afterfooter-R {
    direction: ltr !important;
    font-size: 11px;
    font-weight: bold;
    width: 100%;
    height: 20px;
    padding-top: 2px;
}

hr.style-three {
    border: 0;
    border-bottom: 1px dashed #ccc;
    background: #999;
}

.dynamic-div {
    border: 2px solid;
    width: 250px;
    resize: both;
    overflow: auto;
    z-index: 1000;
}

div.divlogo > div[dir='ltr'] {
    direction: rtl !important;
}

div.divlogo > [dir='rtl'] {
    direction: rtl !important;
}

.drag-div {
    cursor: grab;
}

.dynamic-div > div.dynamic-div-header {
    height: 20px;
    background: #ccc;
    cursor: grab;
}

.sign-part-d {
    position: relative;
    left: 10px;
}

.r-rtl {
    direction: rtl !important;
}

#divTerms * {
    line-height: 18px !important;
}

.divTerms p {
    margin: 0px !important;
}

.sign-part-d {
    float: left !important;
}

.border-bottom {
    border-bottom: 1px solid black;
}

.direction-rtl {
    direction: rtl;
}

.termsPart {
    text-align: right !important;
    direction: rtl !important;
}

.direction-ltr {
    direction: ltr;
}

.r-detail {
    position: relative;
    z-index: 100;
}

.bold {
    font-weight: bold;
}

table.thCenter > thead > tr > th, table.tdCenter > tbody > tr > td, table.tdCenter > tfoot > tr > td {
    text-align: center !important;
}

fieldset > legend {
    margin: auto !important;
    margin-top: 6px !important;
}

@media print {
    @page {
        /*size: A4 !important;*/
        width: 210mm;
        height: 297mm;
        padding: 0px !important;
        margin-top: 14px !important;
        margin-left: 14px !important;
        margin-right: 14px !important;
        margin-bottom: 5px !important;
    }

    legend {
        font-size: 13px !important;
    }
    #txtHints {
        border: none !important;
        text-align: justify !important;
    }

    .Road-Print .hints-part > textarea {
        font-family: Tahoma !important;
        font-size: 12px !important;
    }

    .Road-Print .header-part > .title > .company-name {
        font-size: 15px !important;
    }

    .Road-Print .header-part > .title > .paper-header {
        font-size: 15px !important;
    }


    .Road-Print input[type="checkbox"] {
        display: none !important;
    }


    .Road-Print .terms-part {
        padding: 0px 4px !important;
    }


        .Road-Print .terms-part * {
            background-color: white !important;
            font-family: Tahoma !important;
            line-height: 16px !important;
            font-size: 11px !important;
            text-align: justify !important;
            margin: 0px !important;
            padding: 0px !important;
            font-weight: normal !important;
        }

    .Road-Print .saleItem-part .ContainerList-part > table > thead > tr > th {
        font-size: 10px;
    }

    .Road-Print .saleItem-part .ContainerList-part > table > tbody > tr > td {
        font-size: 10px !important;
    }

    .no-print {
        display: none !important;
    }

    .toolbar {
        display: none;
    }

    .address-part {
        border-top: 1px solid maroon;
        border-bottom: 1px solid maroon;
        font-size: 12px !important;
        background-color: #fcf9f9;
        position: fixed;
        bottom: 0;
        width: 195mm !important;
    }

    .sign-part {
        position: fixed;
        bottom: 41px;
    }

    .sign-part-d {
        text-align: left;
        float: left !important;
    }

    .Notice-Print body.h-ltr .sign-part {
        right: 32px;
    }

    .Notice-Print body.h-rtl .sign-part {
        left: 32px;
    }

    .dynamic-div {
        border: none !important;
    }

    html.Road, body.Road-Print {
        width: 201mm;
        height: 280mm;
        margin: 0px auto;
    }

    input#PONo {
        border: none;
    }

/*    .Road body.h-ltr legend, .Road body.h-rtl legend {
        margin: -1px 34% !important;
    }*/

    fieldset > legend {
        margin: auto !important;
        margin-top: 15px !important;
    }

    .height-130 {
        height: 130px;
    }

    .height-140 {
        height: 140px;
    }
    .height-103 {
        height: 103px;
    }

  
    .page2Road {
        page-break-before: always !important;
        page-break-inside: avoid !important;
    }

    .page2AirNotice {
        page-break-before: always !important;
        page-break-inside: avoid !important;
    }

    .headerRoadNotic {
        position: fixed !important;
        width: 99%;
    }

    .headerAirNotic {
        position: fixed !important;
        width: 100%;
    }

    .margin-top-130px {
        margin-top: 130px;
    }

    .RoadNoticeBorder {
        position: fixed !important;
        border: 1px solid black !important;
        width: 99% !important;
        height: 27.6cm !important;
    }

    .AirNoticeBorder {
        position: fixed !important;
        border: 1px solid black !important;
        width: 99.89% !important;
        height: 29.8cm !important;
    }
}
