@media print {


    /* Global
    --------------------------------------*/
    
    * {
        line-height: 1.25 !important;
    }
    
    html {
        width: 100%;
    }
    #page-title,
    #sidebar,
    #userbar, 
    #toolbar,
    #transactions,
    .btn,
    .actions, 
    .action,
    .hideprint {
        display: none!important
    }
    #content {
        position: relative;
        margin: 0;
        padding: 0;
        min-height: 100%;
        background: 0 0
    }
    #content .container {
        width: 100%;
        max-width: 100%;
        padding: 0;
        border: 0
    }
    body .label-default {
        color: #fff !important;
        background-color: #bbbbbb !important;
    }
    body .label-primary {
        color: #fff !important;
        background-color: #40c79f !important;
    }
    body .label-success {
        color: #fff !important;
        background-color: #5cb85c !important;
    }
    body .label-info {
        color: #fff !important;
        background-color: #5bc0de !important;
    }
    body .label-warning {
        color: #fff !important;
        background-color: #ec971f !important;
    }
    body .label-void {
        color: #fff !important;
        background-color: #c76ec7 !important;
    }
    body .label-danger {
        color: #fff !important;
        background-color: #fb4949 !important;
    }
    body .table-striped > tbody > tr {
        border-bottom: 1px solid #d5d5d5 !important;
    }
    body .blue-header {
        margin: 10px 0 20px;
        background: #40c79f !important;
    } 
    body .blue-header h2 {
        color: #ffffff !important;
    } 
        

    /* Tables
    --------------------------------------*/
    
    body .table-title {
        background:#ddd !important;
    }
    
    body .table-title * {
        line-height: 40px !important;
    }
    body table,
    body .table {
        width: 100% !important; 
    }
    
    body .table th, 
    body .table td {
        padding: 0 10px !important;
        height: 25px !important;
        border: 0 !important;
        font-size: 80% !important;
        border-bottom: 1px solid #ddd !important;
    }
    
    body .table th {
        background: #eee !important;
    }

    
    /* Estimates
    --------------------------------------*/
    
    body.estimates .paid_stamp {
        position: absolute;
        top: -100px;
        right: 0px;
    }
    
    body.estimates .container {
        margin: 0;
    }
    
    body.estimates img.est_logo {
        position: absolute;
        top: 15px;
        left: 15px;
        display: inline-block;
        width: 150px !important;
    }
    
    body.estimates .blue_header {
        margin-bottom: -20px !important;
        padding: 0 !important;
    }
    
    body.estimates .blue_header h2 { 
        font-size: 28px; 
        padding-left: 170px;
    }
    
    body.estimates .estimate_id { 
        font-size: 16px; 
        padding-left: 170px;
    }
    
    body.estimates .written_by {
        float: none !important;
        color: #ccc !important;
        padding-left: 170px;
    }
    
    body.estimates .line_qty,
    body.estimates .line_name {
        line-height: 50px !important;
        padding: 0 !important;
    }
    
    body.estimates table.line_item_table {
        padding: 0 !important;
        width: 100% !important;
    }    
    
    body.estimates table.line_item_table td {
        padding: 0 20px 0 0 !important;
        border: 0 !important;
    }    
    
    body.estimates table.line_item_table strong {
        display: inline-block; 
    }
        
    body.estimates .deposit_warning {
        background: #eee !important;
        line-height: 30px !important;
    }
        
    body.estimates .fineprint {
        max-width: 100%;
        font-size: 70% !important;
    }
    

    /* Transactions
    --------------------------------------*/
    
    body.transactions .print_logo {
        display: inline-block;
        width: 150px !important;
    }
    
    
}