@page {
    size: a4 portrait;
    margin-left: 1.25cm; 
    margin-right: 1.25cm; 
    margin-top: 1.25cm;
    margin-bottom: 1cm;
}


/* Seitentrennung */
h3 {
    -pdf-keep-with-next: true;
}
table {
    -pdf-keep-with-next: true;
}
p.fehlversetzung {
    -pdf-keep-with-next: true;
}
p.separator {
    -pdf-keep-with-next: false;
}


/* Schrift */
h1, th, td, h1, h2, h3, p {
    font-family: Helvetica;
}
th, td {
    font-size: 140% !important;
}
th {
    font-weight: 500 !important;
}


/* Index */
h2 {
    font-size: 300% !important;
    text-align: center;
    padding-top: 50pt;
}
p.index {
    font-size: 250% !important;
    text-align: center;
}
a {
    text-decoration: none;
    color: rgb(42, 118, 221);
}
p.time {
    text-align: center !important;
    font-size: 200%;
}


/* Überschriften Klasse und Schüler */
h1 {
    font-size: 200% !important;
    padding-left: -8pt;
}
img.icon {
    width: 18pt;
    height: 18pt;
    padding-left: 0pt;
    padding-right: 0pt;
}
h3 {
    font-size: 175% !important;
    padding-top: 0px !important;
    padding-bottom: -15px !important;
}


/* Notentabelle */
table, tr, td {
    border: 0.5px solid black;
}

th, td {
    text-align: center !important;  
    padding-left: 5px !important;
    padding-right: 5px !important;
    width: 10%;
}
th.halbjahr, td.halbjahr {
    width: 15% !important;
}
th {
    vertical-align: bottom !important;
    font-size: 160% !important;  
    border-spacing: 0px;      
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 5px !important;
    padding-bottom: 1px !important;
}
td {
    line-height: 120%;
    vertical-align: top !important;  
    border-spacing: 0px;      
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 3px !important;
    padding-bottom: 3px !important;
}
.note {
    font-size: 140% !important;    
}
.lehrer {
    font-size: 75% !important;
}
.kursart {
    font-size: 75% !important;
}
.epoche {
    font-size: 60% !important;
}
.jahrgang {
    font-size: 140% !important;    
}
.schuljahr {
    font-size: 80% !important;
}

/* Zusatzangaben */
p.fehlversetzung {
    font-size: 160%;
}
p.hinweis {
    font-size: 160%;
    padding-top: -10pt;
}
p.separator {
    padding-top: -10pt;
    padding-bottom: -10pt;
}
