/*----------------------FARBEN--------------------------*/
body                                  { background:rgb(255,255,255); }
div.links,h6                          { background:rgb(255,255,255); }
div,td                                { background:rgb(255,255,255); }
h1,h2,h3,h4,h5,hr                     { background:rgb(255,255,255); }
p.lila                                { background:rgb(255,0,255); }
div.lila                              { background:rgb(255,200,255); }
h1,a:visited,a:active,span.bunt,tt    { color:rgb(190,44,36); }
a:link                                { color:rgb(190,44,36); }
h6                                    { color:rgb(190,44,36); }
span.part                             { color:rgb(190,44,36); }
span.red_margin                       { color:rgb(190,44,36); }
span.klausur                          { color: rgb(0,147,221); }
p.lila                                { color:rgb(255,255,255); }
h3:before,h4:before                   { color:rgb(190,44,36); }
div.red_margin                        { border-color:rgb(190,44,36); }
div.klausur                           { border-color:rgb(0,147,221); }
div.lila                              { border-color:rgb(255,0,255); }
/*----------------------SCHRIFTEN-----------------------*/
p,tr,td,th,ul,ol,dl,dt,h6             { font-family:Helvetica Condensed,
                                        Arial Narrow,Arial Unicode MS,
                                        sans-serif; }
h1,h2,h3,h4,h5,span.klausur,
span.red_margin,span.part,p.lila      { font-family:Helvetica,Arial,
                                        Arial Unicode MS,sans-serif; }
tt,pre                                { font-face: Courier-New, Courier; font-size:9pt; }
/*----------------------SCHRIFTGROESSEN-----------------*/
h3:before                             { font-size:48pt; }
h4:before                             { font-size:18pt; }
h1                                    { font-size:24pt; }
h2,span.part                          { font-size:18pt; }
h3,p.lila                             { font-size:16pt; }
h4                                    { font-size:14pt; }
h5,span.klausur,span.red_margin       { font-size:11pt; }
h6                                    { font-size:11pt; }
p,ul,ol,table,tr,td,th,dl,dt,var      { font-size:11pt }
/*--------------------AUSZEICHNUNG----------------------*/
h1,h2,h3,h4,h5,h6,
a:link,a:visited,a:active,
span.klausur,span.red_margin,
p.lila,span.part,p.aufreisser         { font-weight:bold; }
th                                    { font-weight:normal; }
span.sc                               { font-variant:small-caps; }
span.italic_expanded                  { font-style:italic; }
/* sub                                   { font-size:0.8em; } */
/* sup                                   { font-size:0.8em; } */
span.overline                         { text-decoration:overline; }
/*----------------AUSRICHTUNG und RÄNDER----------------*/
h5                                    { margin-top:0.5cm; margin-bottom:0.2cm; }
h4                                    { margin-top:1.2cm; margin-bottom:0.6cm; }
h3                                    { margin-top:2.4cm; margin-bottom:0.6cm; }
span.klausur                          { margin-top:0.5cm; margin-bottom:0.2cm; }
h1                                    { padding-left:2mm; padding-right:2mm;
                                        padding-top:2mm;padding-bottom:2mm;
                                        vertical-align:middle; }
h3,h4,h5,span.klausur,
span.red_margin,h6,p,td,ul,ol,dl,dt,
p.lila                                { padding-left:2mm; padding-right:2mm;
                                        padding-top:0.5mm;padding-bottom:0.5mm; }
td.dense                              { padding-left:1mm; padding-right:1mm;
                                        padding-top:0.5mm;padding-bottom:0.5mm; }
p.caption                             { padding-left:16mm;padding-right:16mm; }
td                                    { vertical-align:top; }
table,th,td                           { border-collapse:collapse;
                                        margin:2mm;
                                        border-top-style:solid;
                                        border-bottom-style:solid;
                                        border-left-style:none;
                                        border-right-style:none; }
th                                    { border-width:0.5pt; }
table                                 { border-width:0.5pt;
                                        margin-left:1cm; }
td                                    { border-width:0pt; }
table.noborder                        { border-width:0pt; }
table.textbook                        { border-width:0pt;margin-left:0cm; }
div.image                             { border-style:none;text-align:center;clear:both; }
div.klausur,div.red_margin,div.lila   { border-style:solid; border-width:1.5pt; }
p.equation                            { padding-left:1cm; }
/*----------------Abstaende und Umbruch----------------*/
p,li,ul                               { line-height:14pt; }
p,ul                                  { margin-top:6pt;margin-bottom:6pt; }
p.lila                                { margin-top:0pt;margin-bottom:6pt; }
li                                    { margin-top:3pt;margin-bottom:3pt; }
div.image                             { margin-top:18pt;margin-bottom:12pt; }
h3                                    { page-break-before:always }
/*------------Automatische Kapitelnummern-------------*/
h2.reset                              { counter-reset:level_3; }
h3                                    { counter-reset:level_4 exp; }
h3:before                             { content:counter(level_3) "  " ;
                                        counter-increment:level_3; }
h4:before            { content:counter(level_3) "." counter(level_4) " ";
                                        counter-increment:level_4; }
/*--------------------horizontale Brueche-------------*/
.bruch
                                      { border-collapse:collapse;
                                        border-style:none;
                                        vertical-align:middle;
                                        white-space:nowrap;
                                        text-align:center; }
td.zaehler                            { border-color:black;
                                        border-bottom-style:solid;
                                        border-bottom-width:0.5pt;
                                        padding-bottom:1mm;
                                        vertical-align:middle;
                                        text-align:center; }
/*------------Einstellungen fuer Druck--------------------*/
@page                                 { margin-top:2.5cm;margin-bottom:2cm;
                                        margin-left:2.5cm;margin-right:6cm;
                                        padding-top:8mm;padding-left:0mm;
                                        padding-right:0mm;
                                        font-weight:bold;font-size:14pt;
                                        font-family:Helvetica,Arial,sans-serif;
                                        color:rgb(180,180,180); }
h3                                    { string-set: chapter-title content() }
@page                                 { @top-right {content:counter(page) }}
@page :first                          { @top-right {content:none} }
/* @page                        @top-left {content:string(chapter-title) } } */
/* @page             { border-top-style:solid;border-top-width:0.5pt; } */
@page breit                           { margin-right:2cm;}
div.breit                             { page:breit; }
div.exp                               { border-color:rgb(192,237,211);
                                        border-left-style:solid;
                                        border-left-width:18pt;}
p                                     { text-align:justify; }
h3,h4,h5                              { page-break-after:avoid; }
div.image,table                       { page-break-inside:avoid; }
img                                   { max-width:100%; height:auto; }
/*--------------------image sizes-----------------------*/
.w1                                   { width:1cm ; }
.w2                                   { width:2cm ; }
.w3                                   { width:3cm ; }
.w4                                   { width:4cm ; }
.w5                                   { width:5cm ; }
.w6                                   { width:6cm ; }
.w7                                   { width:7cm ; }
.w8                                   { width:8cm ; }
.w9                                   { width:9cm ; }
.w10                                  { width:10cm ; }
.w11                                  { width:11cm ; }
.w12                                  { width:12cm ; }
.w13                                  { width:13cm ; }
.w14                                  { width:14cm ; }
.w15                                  { width:15cm ; }
.w16                                  { width:16cm ; }
.w17                                  { width:17cm ; }
.w18                                  { width:18cm ; }
.w19                                  { width:19cm ; }
.w20                                  { width:20cm ; }
.h1                                   { height:1cm ; }
.h2                                   { height:2cm ; }
.h3                                   { height:3cm ; }
.h4                                   { height:4cm ; }
.h5                                   { height:5cm ; }
.h6                                   { height:6cm ; }
.h7                                   { height:7cm ; }
.h8                                   { height:8cm ; }
.h9                                   { height:9cm ; }
.h10                                  { height:10cm ; }
.h11                                  { height:11cm ; }
.h12                                  { height:12cm ; }
.h13                                  { height:13cm ; }
.h14                                  { height:14cm ; }
.h15                                  { height:15cm ; }
.h16                                  { height:16cm ; }
.h17                                  { height:17cm ; }
.h18                                  { height:18cm ; }
.h19                                  { height:19cm ; }
.h20                                  { height:20cm ; }
.h21                                  { height:21cm ; }
.h22                                  { height:22cm ; }
.h23                                  { height:23cm ; }
.h24                                  { height:24cm ; }
.h25                                  { height:25cm ; }
.h26                                  { height:26cm ; }
.h27                                  { height:27cm ; }
.h28                                  { height:28cm ; }
.h29                                  { height:29cm ; }
.h30                                  { height:30cm ; }
