
  @import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300..800&family=Quicksand:wght@300..700&display=swap');

  * {
    box-sizing: border-box;
  }

  html {
    padding: 0;
  }
  
  #page-header, #page-logo {
    display: none;
  }

  #head {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: 308px 1fr;
    column-gap: 32px;
    background-color: #58246a;
    color: #ffffff; 
    z-index: 24;
  } 
  
  #logo {
    height: 84px;
    margin: 4px 32px;
  }
  
  h1 {
    margin: 0;
    font-family: 'Quicksand', sans-serif;
    /* font-weight: normal; */
    font-size: 36px;
    line-height: 96px;
  }
  
  h2 {
    font-family: 'Quicksand', sans-serif;
    color: #58246a;
    /* font-weight: normal; */
  }
  
  section > :not(table.vak) {
    width: 800px;
  }
  
  body {
    margin: 0;
    margin-left: 320px;
    padding: 96px 20px 300px;
    font-family: 'Open sans', sans-serif;
    font-size: 13px;
    line-height: 22px;
    background-color: #ffffff;
    overflow-y: scroll;
  }
  
  .menu {
    padding: 0;
    list-style: none;
  }
  
  .menu a {
    line-height: 32px;
    text-decoration: none;
    color: #ef881f;
    transition: .5s linear color;
  }
  
  .menu a:hover {
    color: #58246a;
  }
  
  #toc {
    position: fixed;
    top: 136px;
    left: 28px;
    max-height: calc(100vh - 180px);
    overflow-y: auto;
    width: 280px;
    padding: 0;
    list-style: none;
    background-color: #ffffff;
    border: 1px solid #a5a5a5;
  }
  
  #toc[data-title]::before {
    content: attr(data-title);
    display: block;
    font-weight: bold;
    padding: 3px 8px;
    border-bottom: 1px solid #a5a5a5;
  }
    
  #toc .tab {
    position: relative;
    padding: 3px 8px;
    display: block;
    width: 100%;
    height: 100%;
    font-size: 12px;
    text-decoration: none;
    color: #606060;
  }
  
  #toc .tab:hover {
    color: #007fff;
    background-color: #f6f6f6;
  }
  
  #toc .tab.active-tab {
    color: #007fff;
    background-color: #f6f6f6;
    border-right: 8px solid #007fff;
  }
  
  #toc .tab.level-2 {
      padding-left: 36px;
  }
  
  section > p:last-child {
    margin-bottom: 0;
  }
  
  section:not(.kalender-section) {
    padding: 36px 0 0;
    page-break-inside: avoid;
  }
  
  section.kalender-section,
  section.vak-section {
    padding: 0;
  }
  
  table {
    border-collapse: collapse;
  }
  
  td:not(.vak-naam) {
    padding: 4px 8px;
    vertical-align: top;
    border: 1px solid #606060;
    width: 80px;
    font-size: 12px;
    line-height: 20px;
    white-space: pre-wrap;
  }
  
  thead td:not(.vak-naam) {
    background-color: #e0e0e0;
    font-weight: bold;
  }
  
  td.vak-naam {
    padding: 36px 0 0;
  }
  
  td.toets-moment {
    hyphens: auto;
  }
  
  td.toets-omschrijving {
    width: 320px;
  }
  
  td.toets-hulpmiddelen {
    width: 200px;
  }
  
  td.mutatie {
    position: relative;
    background-color: #fff3cd;
    padding-right: 20px;
    background-image: url('mutatie.svg');
    background-repeat: no-repeat;
    background-size: 16px;
    background-position: right 4px top 6px;
  }  
  
  td.mutatie:hover:after {
    display: inline-block;
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translate(-50%, 0);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 10px solid #ffffff;
    content: '';
    font-size: 0;
    line-height: 0;
    width: 0;
  }

  td.mutatie:hover:before {
    display: inline-block;
    padding: 3px 8px;
    position: absolute;
    top: -32px;
    left: 50%;
    transform: translate(-50%, 0);
    line-height: 20px;
    content: attr(data-tooltip);
    white-space: nowrap;
    width: fit-content;
    border-radius: 5px;
    background-color: #ffffff;
    box-shadow: 2px 2px 4px 0px rgba(0, 0, 0, .2);
  }
  
  td.kalender-bijzonderheden {
    width: 120px;  
  }
  
  td.kalender-toesten {
    width: auto;
  }
  
  td.kalender-vakantie {
    text-align: center;
  }
  
  tr.kalender-toetsweek {
    background-color: #cfe2f3;
  }
  tr.kalender-bufferweek {
    background-color: #f4cccc;
  }
  tr.kalender-vakantieweek {
    background-color: #e0e0e0;
  }

  span.kalender-vak {
    white-space: nowrap;    
  }
  
  p.NB, p.afwijkend {
    position: relative;
    padding-left: 40px;
    white-space: pre-wrap;
  }
  
  p.NB::before, p.afwijkend::before  {
    position: absolute;
    left: 12px;
  }
  
  span.afwijkend {
    position: relative;
  }
  span.afwijkend::before {
    position: absolute;
  }
  
  p.NB::before {
    left: 6px;
    content: 'NB';
  }
  
  .afwijkend::before { 
    display: inline-block;
    margin-top: -4px;
    font-size: .9em;
    content: attr(data-index) ')';
  }
    
  @media print {
    #toc, #logo {
      display: none;
    }
    body {
      margin: 0 auto;
      padding: 0;
      -webkit-print-color-adjust: exact !important;
      print-color-adjust: exact !important;
    }
    #page-header {
      position: fixed;
      top: 0;
      display: block;
    }
    #head {
      position: relative;
      background: none;
      color: #58246a;
      display: block;
      margin: 32px 0 -44px;
    }
    h1 {
      font-size: 26px;
    }
    #page-logo {
      position: absolute;
      top: 2mm;
      right: 0;
      display: block;
      width: 50mm;
    }
    section:not(.kalender-section) {
      page-break-inside: avoid;
    }
    tr {
      page-break-inside: avoid;
    }
    section.vak-section {
      page: wide;
    }
  }
  
  
  @page {
    size: a4 portrait;
    margin: 12mm 15mm 15mm 15mm;
  }
  
  @page wide {
    size: a4 landscape;
  }
  
  @page :first {
    margin-right: 8mm;
  }
  