@media print {
  header, .header2, nav, .sidebar, .pageBorder, .hide-on-print, #gardenPlanner th:nth-of-type(1), #gardenPlanner td:nth-of-type(1), #gardenPlanner th:nth-of-type(n+14),  #gardenPlanner td:nth-of-type(n+14) {
    display: none !important;
  }

  body{
    width: 100%;
    overflow: visible
  }

  .tableContainer {
    max-height: none;
    width: 100%;
    overflow: visible
  }

  .content {
    margin-top: 0;
    height: 100%;
    width: 100%;
    overflow: visible
  }

  #gardenPlanner tr {
    /* Standard property */
    print-color-adjust: exact;
    /* Vendor-prefixed property for Chrome, Safari, Opera */
    -webkit-print-color-adjust: exact;
  }
  
/*
  #gardenPlanner td {
    border: none !important;
    color: black !important;
  }
*/
    /* If the modal is open, hide everything else for printing */

    body.modal-open > *:not(#myModal) {
        display: none !important; /* Show content on print */
    }

    #myModal .close {
        display: none;
    }

    #myModal a {
        color: black;
    }
}