﻿@media print{
    a {
        text-decoration: none;
    }

     a[href]:after {
    content: none;
  }
  abbr[title]:after {
    content: none;
  }

  .container-fluid{
      padding-left:0px;
      padding-right: 0px;
  }

    body{
        padding-top:0px;
        margin-bottom:0px;
        line-height:normal;
        font-size:10px;
        background-color: white;
    }

    .k-header{
        padding-top:0px;
        padding-bottom:0px;
    }

    .k-grid td{
        padding-top:0px;
        padding-bottom:0px;
    }

    .form-group{
        margin-bottom:0;
    }

    .no-print{
        display:none;
    }
    .print-area{
        display:none;
    }
    .print-header
    {
        display:inline-block !important;
        height: 60px;
    }
    .mobile-nav{
        display:none;
    }
    .footer{
        display:none;
    }

    body {
        font-size: .9rem
    }
    body[data-sidelayout=detached] .left-side-menu {
        background: none !important;
        min-width: 100%;
        max-width: 100%;
        box-shadow: none;
        padding-top: 0px !important;
    }

    body[data-sidelayout=detached] .leftbar-user {
        padding: 10px;
    }
    .left-menu-wrapper{ 
        display: inline-block !important;
    } 

    .left-side-menu left-side-menu-detached .leftbar-user-name{
        display:block !important;
        text-align:left;
    }
    .leftbar-user-name-sm{
        display:none !important;
    }

    .left-side-menu, .page-title-box {
        display: block;
    }

    .page-title-container {
        background: none;
        margin-bottom: 0px;
    }
    .page-title-container > div {
        background: none;
    }
    .page-title-box .page-title {
        color: black;
    }

    .card {
        box-shadow: none;
    }
    .btn {
        display: none;
    }
}


 .k-pdf-export .k-grid {
     font-family: "DejaVu Sans", "Arial", sans-serif;
 }

 /* Hide the Grid header and pager during export */
 .k-pdf-export .k-grid-toolbar,
 .k-pdf-export .k-pager-wrap
 {
     display: none;
 }

 /* Page Template for the exported PDF */
 .page-template {
     font-family: "DejaVu Sans", "Arial", sans-serif;
     position: absolute;
     width: 100%;
     height: 100%;
     top: 0;
     left: 0;
 }

 .k-pdf-export th.k-header{
     white-space: normal !important;
 }

 .k-pdf-export .k-grid-filter {
     display: none;
 }

 .k-pdf-export .k-grid-header th.k-with-icon .k-link {
     margin-right: 0;
 }

 .k-pdf-export .k-grid-header th.k-header > .k-link {
     padding-right: 0;
 }

 .page-template .body {
     margin-bottom: 20px;    
 }

 .page-template .header {
     position: absolute;
     top: 30px;
     left: 30px;
     right: 30px;
     border-bottom: 1px solid #888;
     color: #888;
 }

 .page-template .footer {
     position: absolute;
     bottom: 20px;
     left: 30px;
     right: 30px;
     border-top: 1px solid #888;
     text-align: center;
     color: #888;
 }

 .page-template .watermark {
     font-weight: bold;
     font-size: 450%;
     text-align: center;
     margin-top: 30%;
     color: #aaaaaa;
     opacity: 0.1;
     transform: rotate(-35deg) scale(1.7, 1.5);
 }

 .page-template .milk-grid-alert-danger,   .page-template .milk-grid-alert-warning{
     margin: 0;
     padding: 0;
     background-color: aqua;
 }
