/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/*
    Created on : Apr 23, 2016, 7:19:26 AM
    Author     : PATIPAT
*/

@page{
    margin-left: 5mm;
    margin-right: 5mm;
    margin-top: 5mm;
    margin-bottom: 5mm;
}
@media print {
    body {
        padding: 0;
    }
    .company-info {
        /* font-size: 0.8em; */
    }
    .print-sheet {
        /* font-size: 1em; */
        /*max-height: 1000px;*/
    }
    .signature {
        /* font-size: 0.8em; */
    }
    .wrap > .container {
        padding: 0;
    }
    .wrap > .container-fluid {
        padding: 0;
    }
    #yii-debug-toolbar {
        display: none !important;
    }

    /*    .page-header {
            padding: 0 !important;
            display: none;
        }*/

    .page-content {
        /* padding: 0 !important; */
        margin-top: -110px;
    }

    /* .em-08 {
        font-size: 0.8em;
    } */
    .em-08-lc {
        font-size: 10px;
    }

    .account-summary {
        font-weight: 900;
        font-size: 1.1em;
    }
}

.print-page-footer {
    position: relative;
    bottom: 0;
    width: 100%;
    text-align: center;
}

.print-sheet {
    position: relative;
}

.print-sheet .print-sheet-header {
    /*text-align: center;*/
}

.print-sheet .print-sheet-header .header-logo {
    position: absolute;
}
.print-sheet .print-sheet-header .header-title {
    text-align: center;
    /*margin-left: 90px;*/
}

.print-sheet-title {
    text-align: center;
}

.print-sheet-info {
    text-align: right;
    position: absolute;
    right: 0;
    top: 0;
    width: 240px;
}

.print-sheet table.info-block {
    width: 100%;
    border-spacing: 5px;
    border-collapse: separate;
}

/*table.info-block {
    width: 100%;
    border-spacing: 5px;
    border-collapse: separate;
}*/

.print-sheet table td {
    border-radius: 5px;
}

.print-sheet table .info-title {
    width:1%;
    white-space: nowrap;
    padding-right: 10px;
}

.print-sheet-info table .info-title {
    min-width: 130px;
}

.print-sheet table .info-value {
    /*border-bottom: 1px solid #efefef !important;*/
}

.print-sheet table.item-table {
    width: 100%;
}

.print-sheet table.item-table thead tr th {
    border: 1px solid black;
    text-align: center;
    padding-left: 3px;
    padding-right: 3px;
}
.print-sheet table.item-table tbody tr td {
    border-left : 1px solid black;
    padding-left: 3px;
    padding-right: 3px;
}

.print-sheet table.item-table tbody tr td:last-child {
    border-right : 1px solid black;
}
.print-sheet table.item-table tbody tr:last-child td {
    border-bottom : 1px solid black;
}
td.border {
    border: 1px solid black !important;
}
td.border-top {
    border-top: 1px solid black !important;
}
td.border-bottom {
    border-bottom: 1px solid black !important;
}
td.border-left {
    border-left: 1px solid black !important;
}
td.border-right {
    border-right: 1px solid black !important;
}

td.border-bottom-white {
    border-bottom: 1px solid white !important;
}

.stamp {
    display: inline-block;
    width: 18%;
    height: 40px;
    border: 1px solid black;
}

.width-1p {
    width: 1%;
}

table td {
    line-height: 1.4em;
}

.width-30 {
    width: 30px;
}

.width-50 {
    width: 50px;
}

.width-100 {
    width: 100px;
}

.width-200 {
    width: 200px;
}