@media print {

    /*
    |--------------------------------------------------------------------------
    | HIDE UI ELEMENTS
    |--------------------------------------------------------------------------
    */

    .main-header,
    .main-sidebar,
    .main-footer,
    .content-header .btn,
    .dataTables_length,
    .dataTables_filter,
    .dataTables_paginate,
    .dataTables_info {

        display: none !important;
    }

    /*
    |--------------------------------------------------------------------------
    | BODY
    |--------------------------------------------------------------------------
    */

    body {

        background: #ffffff !important;

        font-size: 12px;
    }

    /*
    |--------------------------------------------------------------------------
    | CONTENT WRAPPER
    |--------------------------------------------------------------------------
    */

    .content-wrapper {

        margin-left: 0 !important;

        padding: 0 !important;

        background: #ffffff !important;
    }

    /*
    |--------------------------------------------------------------------------
    | CARDS
    |--------------------------------------------------------------------------
    */

    .card {

        border: none !important;

        box-shadow: none !important;

        margin-bottom: 0 !important;
    }

    .card-body {

        padding: 0 !important;
    }

    /*
    |--------------------------------------------------------------------------
    | TABLES
    |--------------------------------------------------------------------------
    */

    table {

        width: 100% !important;

        border-collapse: collapse !important;
    }

    table th,
    table td {

        border: 1px solid #000 !important;

        padding: 8px !important;

        font-size: 12px !important;
    }

    /*
    |--------------------------------------------------------------------------
    | BADGES
    |--------------------------------------------------------------------------
    */

    .badge {

        border: 1px solid #000 !important;

        color: #000 !important;

        background: transparent !important;
    }

    /*
    |--------------------------------------------------------------------------
    | IMAGES
    |--------------------------------------------------------------------------
    */

    img {

        max-width: 100% !important;
    }

    /*
    |--------------------------------------------------------------------------
    | PAGE BREAK
    |--------------------------------------------------------------------------
    */

    .page-break {

        page-break-after: always;
    }

    /*
    |--------------------------------------------------------------------------
    | AVOID BREAK INSIDE
    |--------------------------------------------------------------------------
    */

    table,
    tr,
    td,
    th {

        page-break-inside: avoid !important;
    }
}