﻿details.timesheet {
  border-top: solid 2px black;
  border-bottom: solid 2px black;
  margin: 1rem 0;
  padding: .25rem 0;
}

.timesheet > summary {
  margin: .25rem 0;
}

  .timesheet > summary > div {
    display: inline-grid;
    gap: 0;
    grid-template-columns: 1fr auto;
    grid-template-rows: repeat(3, 1fr);
    justify-items: center;
    width: calc(100% - 32px);
  }

.timesheet h3 {
  grid-row: span 3;
  justify-self: start;
  margin: 1rem 0;
}

.timesheet table {
  table-layout: fixed;
  border-collapse: collapse;
  width: 100%;
  margin-top: 1rem;
}

.timesheet thead {
  border-top: dotted 1px black;
  border-bottom: dotted 1px black;
}

.timesheet th[scope=row] {
  font-weight: normal;
  text-align: left;
}

.timesheet td {
  text-align: center;
}

.lvl1 {
  font-style: italic;
}

.lvl2 {
  text-transform: uppercase;
  padding-left: 1rem;
}

.lvl3 {
  padding-left: 2rem;
}

@media print {
  #print-zone {
    font-size: smaller;
  }

  .timesheet > summary > div {
    width: calc(100% - 1rem);
  }

  details > summary {
    list-style: none;
  }

    details > summary::-webkit-details-marker {
      display: none;
    }

  details, details > summary {
    display: block !important;
  }

  [data-html2canvas-ignore=true] {
    display: none !important;
  }

  .MuiPaper-elevation4 {
    box-shadow: none !important;
  }
  .MuiContainer-root {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .MuiPaper-elevation4 {
    background-color: none !important;
  }
}
